192 lines
7.1 KiB
JavaScript
192 lines
7.1 KiB
JavaScript
import $b91590b2dc47de39$exports from "./ar-AE.module.js";
|
|
import $55b0693b2cf3fe91$exports from "./bg-BG.module.js";
|
|
import $6ec1ed7729e948cc$exports from "./cs-CZ.module.js";
|
|
import $5a41bb2baa6861e4$exports from "./da-DK.module.js";
|
|
import $f28bbea439e87eca$exports from "./de-DE.module.js";
|
|
import $b3eca51cb720961a$exports from "./el-GR.module.js";
|
|
import $0b39b205118db415$exports from "./en-US.module.js";
|
|
import $f467c0ee7bfb0950$exports from "./es-ES.module.js";
|
|
import $ab711d2ffb4cdf3d$exports from "./et-EE.module.js";
|
|
import $b63105d663e6f9d5$exports from "./fi-FI.module.js";
|
|
import $9d2ed7be7fcdc2a1$exports from "./fr-FR.module.js";
|
|
import $c5704294d85c7b5d$exports from "./he-IL.module.js";
|
|
import $20c975671d6bbc63$exports from "./hr-HR.module.js";
|
|
import $2569ca3917233115$exports from "./hu-HU.module.js";
|
|
import $caa152f7f8e96c85$exports from "./it-IT.module.js";
|
|
import $cbc6af0cc98fad10$exports from "./ja-JP.module.js";
|
|
import $ad9be5d332b4d607$exports from "./ko-KR.module.js";
|
|
import $659de19a00ff9617$exports from "./lt-LT.module.js";
|
|
import $173e9fb4d14fe309$exports from "./lv-LV.module.js";
|
|
import $d8e2640a066567a9$exports from "./nb-NO.module.js";
|
|
import $d71fd764236c0d12$exports from "./nl-NL.module.js";
|
|
import $f4ad3faf9f4aaec6$exports from "./pl-PL.module.js";
|
|
import $9703be9d55d8e9c2$exports from "./pt-BR.module.js";
|
|
import $7e23baec8a14f309$exports from "./pt-PT.module.js";
|
|
import $568f95594049d56e$exports from "./ro-RO.module.js";
|
|
import $625df06cecc70764$exports from "./ru-RU.module.js";
|
|
import $b5a67525f3a2f594$exports from "./sk-SK.module.js";
|
|
import $16125922964febca$exports from "./sl-SI.module.js";
|
|
import $de104bf355206bcf$exports from "./sr-SP.module.js";
|
|
import $d5ab76bcbadc9c07$exports from "./sv-SE.module.js";
|
|
import $a6a1af5968159b55$exports from "./tr-TR.module.js";
|
|
import $5204a30f0d17ffec$exports from "./uk-UA.module.js";
|
|
import $8d15e736e12d3dfd$exports from "./zh-CN.module.js";
|
|
import $f8c49dd804b75140$exports from "./zh-TW.module.js";
|
|
import {useLink as $i081u$useLink} from "@react-aria/link";
|
|
import {filterDOMProps as $i081u$filterDOMProps} from "@react-aria/utils";
|
|
import {useLocalizedStringFormatter as $i081u$useLocalizedStringFormatter} from "@react-aria/i18n";
|
|
|
|
|
|
function $parcel$interopDefault(a) {
|
|
return a && a.__esModule ? a.default : a;
|
|
}
|
|
/*
|
|
* Copyright 2020 Adobe. All rights reserved.
|
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
* governing permissions and limitations under the License.
|
|
*/ /*
|
|
* Copyright 2020 Adobe. All rights reserved.
|
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
* governing permissions and limitations under the License.
|
|
*/
|
|
function $dafd15390222438a$export$452b38fce62c9384(props, ref) {
|
|
let { isCurrent: isCurrent, isDisabled: isDisabled, "aria-current": ariaCurrent, elementType: elementType = "a", ...otherProps } = props;
|
|
let { linkProps: linkProps } = (0, $i081u$useLink)({
|
|
isDisabled: isDisabled || isCurrent,
|
|
elementType: elementType,
|
|
...otherProps
|
|
}, ref);
|
|
let isHeading = /^h[1-6]$/.test(elementType);
|
|
let itemProps = {};
|
|
if (!isHeading) itemProps = linkProps;
|
|
if (isCurrent) {
|
|
itemProps["aria-current"] = ariaCurrent || "page";
|
|
// isCurrent sets isDisabled === true for the current item,
|
|
// so we have to restore the tabIndex in order to support autoFocus.
|
|
itemProps.tabIndex = props.autoFocus ? -1 : undefined;
|
|
}
|
|
return {
|
|
itemProps: {
|
|
"aria-disabled": isDisabled,
|
|
...itemProps
|
|
}
|
|
};
|
|
}
|
|
|
|
|
|
/*
|
|
* Copyright 2020 Adobe. All rights reserved.
|
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
* governing permissions and limitations under the License.
|
|
*/
|
|
var $8229b34715874f89$exports = {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$8229b34715874f89$exports = {
|
|
"ar-AE": $b91590b2dc47de39$exports,
|
|
"bg-BG": $55b0693b2cf3fe91$exports,
|
|
"cs-CZ": $6ec1ed7729e948cc$exports,
|
|
"da-DK": $5a41bb2baa6861e4$exports,
|
|
"de-DE": $f28bbea439e87eca$exports,
|
|
"el-GR": $b3eca51cb720961a$exports,
|
|
"en-US": $0b39b205118db415$exports,
|
|
"es-ES": $f467c0ee7bfb0950$exports,
|
|
"et-EE": $ab711d2ffb4cdf3d$exports,
|
|
"fi-FI": $b63105d663e6f9d5$exports,
|
|
"fr-FR": $9d2ed7be7fcdc2a1$exports,
|
|
"he-IL": $c5704294d85c7b5d$exports,
|
|
"hr-HR": $20c975671d6bbc63$exports,
|
|
"hu-HU": $2569ca3917233115$exports,
|
|
"it-IT": $caa152f7f8e96c85$exports,
|
|
"ja-JP": $cbc6af0cc98fad10$exports,
|
|
"ko-KR": $ad9be5d332b4d607$exports,
|
|
"lt-LT": $659de19a00ff9617$exports,
|
|
"lv-LV": $173e9fb4d14fe309$exports,
|
|
"nb-NO": $d8e2640a066567a9$exports,
|
|
"nl-NL": $d71fd764236c0d12$exports,
|
|
"pl-PL": $f4ad3faf9f4aaec6$exports,
|
|
"pt-BR": $9703be9d55d8e9c2$exports,
|
|
"pt-PT": $7e23baec8a14f309$exports,
|
|
"ro-RO": $568f95594049d56e$exports,
|
|
"ru-RU": $625df06cecc70764$exports,
|
|
"sk-SK": $b5a67525f3a2f594$exports,
|
|
"sl-SI": $16125922964febca$exports,
|
|
"sr-SP": $de104bf355206bcf$exports,
|
|
"sv-SE": $d5ab76bcbadc9c07$exports,
|
|
"tr-TR": $a6a1af5968159b55$exports,
|
|
"uk-UA": $5204a30f0d17ffec$exports,
|
|
"zh-CN": $8d15e736e12d3dfd$exports,
|
|
"zh-TW": $f8c49dd804b75140$exports
|
|
};
|
|
|
|
|
|
|
|
function $848231d7a2b3998e$export$8cefe241bd876ca0(props) {
|
|
let { "aria-label": ariaLabel, ...otherProps } = props;
|
|
let strings = (0, $i081u$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($8229b34715874f89$exports))), "@react-aria/breadcrumbs");
|
|
return {
|
|
navProps: {
|
|
...(0, $i081u$filterDOMProps)(otherProps, {
|
|
labelable: true
|
|
}),
|
|
"aria-label": ariaLabel || strings.format("breadcrumbs")
|
|
}
|
|
};
|
|
}
|
|
|
|
|
|
|
|
|
|
export {$dafd15390222438a$export$452b38fce62c9384 as useBreadcrumbItem, $848231d7a2b3998e$export$8cefe241bd876ca0 as useBreadcrumbs};
|
|
//# sourceMappingURL=module.js.map
|