198 lines
7.3 KiB
JavaScript
198 lines
7.3 KiB
JavaScript
var $9f815b0e65822168$exports = require("./ar-AE.main.js");
|
|
var $340712f3db10d7a4$exports = require("./bg-BG.main.js");
|
|
var $e48681b1dc80258f$exports = require("./cs-CZ.main.js");
|
|
var $526eff8a033de63f$exports = require("./da-DK.main.js");
|
|
var $7f7267bb8a1d1662$exports = require("./de-DE.main.js");
|
|
var $0b3e72b767c9c5b3$exports = require("./el-GR.main.js");
|
|
var $8013ecad7b80bc6e$exports = require("./en-US.main.js");
|
|
var $8193bd3309f169ce$exports = require("./es-ES.main.js");
|
|
var $7f47590ede0d21d1$exports = require("./et-EE.main.js");
|
|
var $fedbf3ad45bbd615$exports = require("./fi-FI.main.js");
|
|
var $6383f908645d7728$exports = require("./fr-FR.main.js");
|
|
var $299c10c6ab4bac38$exports = require("./he-IL.main.js");
|
|
var $592de6075df6565f$exports = require("./hr-HR.main.js");
|
|
var $3254f62b1e6ffcdf$exports = require("./hu-HU.main.js");
|
|
var $af79bd6e06d0bafc$exports = require("./it-IT.main.js");
|
|
var $ed35043e56c9ef04$exports = require("./ja-JP.main.js");
|
|
var $f58ec35afca1f567$exports = require("./ko-KR.main.js");
|
|
var $3307b3bb9c99bd7d$exports = require("./lt-LT.main.js");
|
|
var $9d434ee576a846f1$exports = require("./lv-LV.main.js");
|
|
var $443fe4201b655279$exports = require("./nb-NO.main.js");
|
|
var $c71565b8a4b2e14c$exports = require("./nl-NL.main.js");
|
|
var $fd06abc31ca2d9f9$exports = require("./pl-PL.main.js");
|
|
var $edac5269f16efde1$exports = require("./pt-BR.main.js");
|
|
var $3e3bf6af9d6c8c74$exports = require("./pt-PT.main.js");
|
|
var $9d34b5bd98d02fb7$exports = require("./ro-RO.main.js");
|
|
var $e7e947d72b4d0249$exports = require("./ru-RU.main.js");
|
|
var $d609946db34cbe1a$exports = require("./sk-SK.main.js");
|
|
var $c1ca8f5a39bf35b7$exports = require("./sl-SI.main.js");
|
|
var $67542feabb08cdf6$exports = require("./sr-SP.main.js");
|
|
var $aa3bbc636c202880$exports = require("./sv-SE.main.js");
|
|
var $c1fa2374ad960a0b$exports = require("./tr-TR.main.js");
|
|
var $b6a913e54307774b$exports = require("./uk-UA.main.js");
|
|
var $d246de3cea90219f$exports = require("./zh-CN.main.js");
|
|
var $de04860896c81313$exports = require("./zh-TW.main.js");
|
|
var $ceFFG$reactarialink = require("@react-aria/link");
|
|
var $ceFFG$reactariautils = require("@react-aria/utils");
|
|
var $ceFFG$reactariai18n = require("@react-aria/i18n");
|
|
|
|
|
|
function $parcel$export(e, n, v, s) {
|
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
}
|
|
|
|
function $parcel$interopDefault(a) {
|
|
return a && a.__esModule ? a.default : a;
|
|
}
|
|
|
|
$parcel$export(module.exports, "useBreadcrumbItem", () => $a993edba0f043554$export$452b38fce62c9384);
|
|
$parcel$export(module.exports, "useBreadcrumbs", () => $2b6c6844f922ad13$export$8cefe241bd876ca0);
|
|
/*
|
|
* 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 $a993edba0f043554$export$452b38fce62c9384(props, ref) {
|
|
let { isCurrent: isCurrent, isDisabled: isDisabled, "aria-current": ariaCurrent, elementType: elementType = "a", ...otherProps } = props;
|
|
let { linkProps: linkProps } = (0, $ceFFG$reactarialink.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 $907e591fa8a9456d$exports = {};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$907e591fa8a9456d$exports = {
|
|
"ar-AE": $9f815b0e65822168$exports,
|
|
"bg-BG": $340712f3db10d7a4$exports,
|
|
"cs-CZ": $e48681b1dc80258f$exports,
|
|
"da-DK": $526eff8a033de63f$exports,
|
|
"de-DE": $7f7267bb8a1d1662$exports,
|
|
"el-GR": $0b3e72b767c9c5b3$exports,
|
|
"en-US": $8013ecad7b80bc6e$exports,
|
|
"es-ES": $8193bd3309f169ce$exports,
|
|
"et-EE": $7f47590ede0d21d1$exports,
|
|
"fi-FI": $fedbf3ad45bbd615$exports,
|
|
"fr-FR": $6383f908645d7728$exports,
|
|
"he-IL": $299c10c6ab4bac38$exports,
|
|
"hr-HR": $592de6075df6565f$exports,
|
|
"hu-HU": $3254f62b1e6ffcdf$exports,
|
|
"it-IT": $af79bd6e06d0bafc$exports,
|
|
"ja-JP": $ed35043e56c9ef04$exports,
|
|
"ko-KR": $f58ec35afca1f567$exports,
|
|
"lt-LT": $3307b3bb9c99bd7d$exports,
|
|
"lv-LV": $9d434ee576a846f1$exports,
|
|
"nb-NO": $443fe4201b655279$exports,
|
|
"nl-NL": $c71565b8a4b2e14c$exports,
|
|
"pl-PL": $fd06abc31ca2d9f9$exports,
|
|
"pt-BR": $edac5269f16efde1$exports,
|
|
"pt-PT": $3e3bf6af9d6c8c74$exports,
|
|
"ro-RO": $9d34b5bd98d02fb7$exports,
|
|
"ru-RU": $e7e947d72b4d0249$exports,
|
|
"sk-SK": $d609946db34cbe1a$exports,
|
|
"sl-SI": $c1ca8f5a39bf35b7$exports,
|
|
"sr-SP": $67542feabb08cdf6$exports,
|
|
"sv-SE": $aa3bbc636c202880$exports,
|
|
"tr-TR": $c1fa2374ad960a0b$exports,
|
|
"uk-UA": $b6a913e54307774b$exports,
|
|
"zh-CN": $d246de3cea90219f$exports,
|
|
"zh-TW": $de04860896c81313$exports
|
|
};
|
|
|
|
|
|
|
|
function $2b6c6844f922ad13$export$8cefe241bd876ca0(props) {
|
|
let { "aria-label": ariaLabel, ...otherProps } = props;
|
|
let strings = (0, $ceFFG$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($907e591fa8a9456d$exports))), "@react-aria/breadcrumbs");
|
|
return {
|
|
navProps: {
|
|
...(0, $ceFFG$reactariautils.filterDOMProps)(otherProps, {
|
|
labelable: true
|
|
}),
|
|
"aria-label": ariaLabel || strings.format("breadcrumbs")
|
|
}
|
|
};
|
|
}
|
|
|
|
|
|
|
|
|
|
//# sourceMappingURL=main.js.map
|