@carbon/ibmdotcom-web-components 2.15.0 → 2.16.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +291 -9
- package/dist/dotcom-shell.js +2 -2
- package/dist/dotcom-shell.min.js +2 -2
- package/dist/ibmdotcom-web-components-dotcom-shell.js +2 -2
- package/dist/ibmdotcom-web-components-dotcom-shell.min.js +2 -2
- package/dist/{index-fd263a6c.js → index-6ab416ae.js} +6 -6
- package/dist/{index-8ac13d28.js → index-6f798488.js} +21 -10
- package/dist/{left-nav-menu-76323b8e.js → left-nav-menu-40ebffa9.js} +2 -2
- package/dist/{left-nav-menu-02760d33.js → left-nav-menu-629e7752.js} +2 -2
- package/dist/{left-nav-menu-category-heading-dca365b2.js → left-nav-menu-category-heading-1886967e.js} +2 -2
- package/dist/{left-nav-menu-category-heading-93c6f364.js → left-nav-menu-category-heading-1d965e0a.js} +2 -2
- package/dist/{left-nav-menu-item-e27ed87c.js → left-nav-menu-item-03cf8244.js} +2 -2
- package/dist/{left-nav-menu-item-218ef600.js → left-nav-menu-item-a9c7113f.js} +2 -2
- package/dist/{left-nav-menu-section-c5e510a9.js → left-nav-menu-section-c39512a8.js} +2 -2
- package/dist/{left-nav-menu-section-5abc2e23.js → left-nav-menu-section-e9526c5a.js} +2 -2
- package/dist/{left-nav-overlay-75300893.js → left-nav-overlay-59e8851e.js} +2 -2
- package/dist/{left-nav-overlay-5b0bfef2.js → left-nav-overlay-60a5eead.js} +2 -2
- package/dist/{megamenu-category-group-1943cfb9.js → megamenu-category-group-60d3805b.js} +2 -2
- package/dist/{megamenu-category-group-copy-cc3cf7e0.js → megamenu-category-group-copy-46df540c.js} +2 -2
- package/dist/{megamenu-category-group-copy-9e779f84.js → megamenu-category-group-copy-6ae3dfe8.js} +2 -2
- package/dist/{megamenu-category-group-aa873786.js → megamenu-category-group-e191e806.js} +2 -2
- package/dist/{megamenu-category-heading-f1723f28.js → megamenu-category-heading-420838f8.js} +2 -2
- package/dist/{megamenu-category-heading-0363175e.js → megamenu-category-heading-4b2d5ba1.js} +2 -2
- package/dist/{megamenu-category-link-653a7d76.js → megamenu-category-link-e5f8c975.js} +6 -6
- package/dist/{megamenu-category-link-5b370505.js → megamenu-category-link-ef739901.js} +2 -2
- package/dist/{megamenu-category-link-group-cc2f0cf0.js → megamenu-category-link-group-90b667c2.js} +2 -2
- package/dist/{megamenu-category-link-group-8a159720.js → megamenu-category-link-group-a85ef70e.js} +2 -2
- package/dist/{megamenu-left-navigation-c14cb952.js → megamenu-left-navigation-0a188f17.js} +2 -2
- package/dist/{megamenu-left-navigation-02c861d4.js → megamenu-left-navigation-d3619fc8.js} +2 -2
- package/dist/{megamenu-overlay-dacdd21f.js → megamenu-overlay-73bf0741.js} +2 -2
- package/dist/{megamenu-overlay-160fa18a.js → megamenu-overlay-98b82923.js} +2 -2
- package/dist/{megamenu-tab-ba249255.js → megamenu-tab-320d3677.js} +7 -7
- package/dist/{megamenu-tab-131eedb9.js → megamenu-tab-63b4d4a8.js} +15 -20
- package/es/components/back-to-top/__stories__/back-to-top.stories.css.js +1 -1
- package/es/components/countdown/countdown.d.ts +406 -0
- package/es/components/countdown/countdown.js +269 -0
- package/es/components/countdown/countdown.js.map +1 -0
- package/es/components/countdown/index.d.ts +11 -0
- package/es/components/countdown/index.js +18 -0
- package/es/components/countdown/index.js.map +1 -0
- package/es/components/leadspace/leadspace.css.js +1 -1
- package/es/components/masthead/masthead-cart.js +1 -1
- package/es/components/masthead/masthead-cart.js.map +1 -1
- package/es/components/masthead/masthead-l1.js +11 -1
- package/es/components/masthead/masthead-l1.js.map +1 -1
- package/es/components/masthead/megamenu-tab.d.ts +1 -5
- package/es/components/masthead/megamenu-tab.js +10 -16
- package/es/components/masthead/megamenu-tab.js.map +1 -1
- package/es/components/pricing-table/pricing-table.css.js +1 -1
- package/es/components/promo-banner/index.d.ts +11 -0
- package/es/components/promo-banner/index.js +18 -0
- package/es/components/promo-banner/index.js.map +1 -0
- package/es/components/promo-banner/promo-banner.css.js +12 -0
- package/es/components/promo-banner/promo-banner.d.ts +385 -0
- package/es/components/promo-banner/promo-banner.js +216 -0
- package/es/components/promo-banner/promo-banner.js.map +1 -0
- package/es/components/star-rating/index.d.ts +11 -0
- package/es/components/star-rating/index.js +18 -0
- package/es/components/star-rating/index.js.map +1 -0
- package/es/components/star-rating/star-rating.css.js +12 -0
- package/es/components/star-rating/star-rating.d.ts +427 -0
- package/es/components/star-rating/star-rating.js +320 -0
- package/es/components/star-rating/star-rating.js.map +1 -0
- package/es/components/structured-list/structured-list-cell.d.ts +2 -0
- package/es/components/structured-list/structured-list-cell.js +13 -4
- package/es/components/structured-list/structured-list-cell.js.map +1 -1
- package/es/components/structured-list/structured-list.css.js +1 -1
- package/es/components/table-of-contents/table-of-contents-cdn.css.js +1 -1
- package/es/components/table-of-contents/table-of-contents.css.js +1 -1
- package/es/components/tile/index.d.ts +12 -0
- package/es/components/tile/index.js +19 -0
- package/es/components/tile/index.js.map +1 -0
- package/es/components/tile/tile-group.d.ts +21 -0
- package/es/components/tile/tile-group.js +56 -0
- package/es/components/tile/tile-group.js.map +1 -0
- package/es/components/tile/tile.css.js +12 -0
- package/es/components/tile/tile.d.ts +737 -0
- package/es/components/tile/tile.js +225 -0
- package/es/components/tile/tile.js.map +1 -0
- package/es/components-react/structured-list/structured-list-cell.d.ts +2 -0
- package/es/globals/internal/storybook-decorators.d.ts +31 -0
- package/es/globals/internal/storybook-decorators.js +43 -0
- package/es/globals/internal/storybook-decorators.js.map +1 -0
- package/es/globals/mixins/throttled-input.js +5 -4
- package/es/globals/mixins/throttled-input.js.map +1 -1
- package/es/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/lib/internal/vendor/@carbon/ibmdotcom-utilities/utilities/settings/settings.js +2 -2
- package/package.json +8 -7
- package/scss/components/promo-banner/promo-banner.scss +163 -0
- package/scss/components/star-rating/star-rating.scss +76 -0
- package/scss/components/tile/tile.scss +290 -0
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
@@ -102,10 +102,10 @@ let process = { env: {} };
|
|
|
102
102
|
* @type {object} Settings object
|
|
103
103
|
* @property {string} [stablePrefix=c4d] stable prefix
|
|
104
104
|
* @property {string} [prefix=cds] core Carbon prefix
|
|
105
|
-
* Carbon for IBM.com v2.
|
|
105
|
+
* Carbon for IBM.com v2.16.0',
|
|
106
106
|
*/
|
|
107
107
|
var settings = {
|
|
108
|
-
version: 'Carbon for IBM.com v2.
|
|
108
|
+
version: 'Carbon for IBM.com v2.16.0',
|
|
109
109
|
stablePrefix: 'c4d',
|
|
110
110
|
prefix: 'cds'
|
|
111
111
|
};
|
|
@@ -25278,10 +25278,6 @@ const ThrottledInputMixin = Base => {
|
|
|
25278
25278
|
* @private
|
|
25279
25279
|
*/
|
|
25280
25280
|
_defineProperty$6(this, "_throttledHandleInput", null);
|
|
25281
|
-
/**
|
|
25282
|
-
* The throttle timeout to run query upon user input.
|
|
25283
|
-
*/
|
|
25284
|
-
_defineProperty$6(this, "inputTimeout", 200);
|
|
25285
25281
|
}
|
|
25286
25282
|
/**
|
|
25287
25283
|
* Handles the throttled `input` event.
|
|
@@ -25312,6 +25308,11 @@ const ThrottledInputMixin = Base => {
|
|
|
25312
25308
|
}
|
|
25313
25309
|
this._throttledHandleInput = throttle(this._handleThrottledInput, this.inputTimeout);
|
|
25314
25310
|
}
|
|
25311
|
+
|
|
25312
|
+
/**
|
|
25313
|
+
* The throttle timeout to run query upon user input.
|
|
25314
|
+
*/
|
|
25315
|
+
|
|
25315
25316
|
connectedCallback() {
|
|
25316
25317
|
// TS seems to miss `HTMLElement.prototype.connectedCallback()` definition
|
|
25317
25318
|
// @ts-ignore
|
|
@@ -32183,7 +32184,7 @@ let C4DMegaMenuTopNavMenu = _decorate$r([carbonElement(`${c4dPrefix$r}-megamenu-
|
|
|
32183
32184
|
var _this$parentElement;
|
|
32184
32185
|
// Import needed subcomponents on first expansion
|
|
32185
32186
|
if (!((_this$parentElement = this.parentElement) !== null && _this$parentElement !== void 0 && _this$parentElement.importedMegamenu)) {
|
|
32186
|
-
await Promise.all([import('./megamenu-left-navigation-
|
|
32187
|
+
await Promise.all([import('./megamenu-left-navigation-0a188f17.js'), import('./megamenu-category-link-ef739901.js'), import('./megamenu-category-link-group-a85ef70e.js'), import('./megamenu-category-group-60d3805b.js'), import('./megamenu-category-group-copy-6ae3dfe8.js'), import('./megamenu-category-heading-4b2d5ba1.js'), Promise.resolve().then(function () { return megamenuLinkWithIcon; }), import('./megamenu-overlay-98b82923.js'), import('./megamenu-tab-63b4d4a8.js'), Promise.resolve().then(function () { return megamenuTabs; })]);
|
|
32187
32188
|
this.parentElement.importedMegamenu = true;
|
|
32188
32189
|
}
|
|
32189
32190
|
|
|
@@ -33351,7 +33352,17 @@ let C4DMastheadL1 = _decorate$q([carbonElement(`${c4dPrefix$q}-masthead-l1`)], f
|
|
|
33351
33352
|
}
|
|
33352
33353
|
// Fall back to automated selection based on URL.
|
|
33353
33354
|
else {
|
|
33354
|
-
this.selectedElements = allLinks.filter(el =>
|
|
33355
|
+
this.selectedElements = allLinks.filter(el => {
|
|
33356
|
+
try {
|
|
33357
|
+
const elURL = new URL(el.href);
|
|
33358
|
+
const currURL = new URL(currentUrlPath || '');
|
|
33359
|
+
|
|
33360
|
+
// Compare url without query params.
|
|
33361
|
+
return elURL.host === currURL.host && elURL.pathname === currURL.pathname;
|
|
33362
|
+
} catch (_error) {
|
|
33363
|
+
return false;
|
|
33364
|
+
}
|
|
33365
|
+
});
|
|
33355
33366
|
}
|
|
33356
33367
|
if (this.selectedElements.length) {
|
|
33357
33368
|
// Set active on nearest menu item.
|
|
@@ -37653,7 +37664,7 @@ let C4DLeftNav = _decorate$b([carbonElement(`${c4dPrefix$b}-left-nav`)], functio
|
|
|
37653
37664
|
value() {
|
|
37654
37665
|
return async event => {
|
|
37655
37666
|
if (!this._importedSideNav) {
|
|
37656
|
-
await Promise.all([Promise.resolve().then(function () { return leftNavName; }), import('./left-nav-menu-
|
|
37667
|
+
await Promise.all([Promise.resolve().then(function () { return leftNavName; }), import('./left-nav-menu-40ebffa9.js'), import('./left-nav-menu-section-e9526c5a.js'), import('./left-nav-menu-item-a9c7113f.js'), import('./left-nav-menu-category-heading-1886967e.js'), import('./left-nav-overlay-60a5eead.js')]);
|
|
37657
37668
|
this._importedSideNav = true;
|
|
37658
37669
|
}
|
|
37659
37670
|
this.expanded = event.detail.active;
|
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
90
|
let process = { env: {} };
|
|
91
|
-
import { F as FocusMixin, g as s, n, x, v as svgResultCarbonIcon, s as styles, c as carbonElement, a as settings, q as o } from './index-
|
|
91
|
+
import { F as FocusMixin, g as s, n, x, v as svgResultCarbonIcon, s as styles, c as carbonElement, a as settings, q as o } from './index-6f798488.js';
|
|
92
92
|
|
|
93
93
|
let _ = t => t,
|
|
94
94
|
_t;
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
-
import{F as e,g as t,n as r,x as i,v as n,s as o,c as a,a as s,q as l}from"./index-
|
|
90
|
+
import{F as e,g as t,n as r,x as i,v as n,s as o,c as a,a as s,q as l}from"./index-6ab416ae.js";let c,d=e=>e;function u(){u=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(i){t.forEach((function(t){var n=t.placement;if(t.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var i=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!h(e))return r.push(e);var t=this.decorateElement(e,n);r.push(t.element),r.push.apply(r,t.extras),i.push.apply(i,t.finishers)}),this),!t)return{elements:r,finishers:i};var o=this.decorateConstructor(r,t);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,t,r){var i=t[e.placement];if(!r&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,t){for(var r=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);r.push.apply(r,c)}}return{element:e,finishers:i,extras:r}},decorateConstructor:function(e,t){for(var r=[],i=t.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[i])(n)||n);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this);var t},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=y(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:v(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=v(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var i=(0,t[r])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function p(e){var t,r=y(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function f(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function h(e){return e.decorators&&e.decorators.length}function m(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function v(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function y(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function k(){return k="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var i=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(i){var n=Object.getOwnPropertyDescriptor(i,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},k.apply(null,arguments)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}const{prefix:w,stablePrefix:E}=s;let P=function(e,t,r,i){var n=u();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var a=t((function(e){n.initializeInstanceElements(e,s.elements)}),r),s=n.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=t.find(r)))if(m(o.descriptor)||m(n.descriptor)){if(h(o)||h(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(h(o)){if(h(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}f(o,n)}else t.push(o)}return t}(a.d.map(p)),e);return n.initializeClassElements(a.F,s.elements),n.runClassFinishers(a.F,s.finishers)}([a(`${E}-left-nav-menu`)],(function(e,t){class a extends t{constructor(...t){super(...t),e(this)}}return{F:a,d:[{kind:"method",key:"_handleUserInitiatedToggle",value:function(e=!this.expanded,t=this.panelId){const{eventBeforeToggle:r,eventToggle:i}=this.constructor,n={bubbles:!0,cancelable:!0,composed:!0,detail:{expanded:e,panelId:t}};this.dispatchEvent(new CustomEvent(r,n))&&(this.expanded=e,this.dispatchEvent(new CustomEvent(i,n)))}},{kind:"method",key:"_handleClickExpando",value:function(){this._handleUserInitiatedToggle()}},{kind:"field",decorators:[r({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"field",decorators:[r({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[r({type:String,attribute:"panel-id"})],key:"panelId",value:()=>""},{kind:"field",decorators:[r()],key:"title",value:()=>""},{kind:"method",key:"connectedCallback",value:function(){!function(e,t,r,i){var n=k(g(1&i?e.prototype:e),t,r);return 2&i?function(e){return n.apply(r,e)}:n}(a,"connectedCallback",this,3)([]),document.dir&&(this.dir=document.dir)}},{kind:"method",key:"render",value:function(){var e;const{active:t,expanded:r,title:o,_handleClickExpando:a}=this,s=l({[`${w}--side-nav__submenu`]:!0,[`${w}--masthead__side-nav--submemu--selected`]:t}),u=(null===(e=this.parentElement)||void 0===e?void 0:e.hasAttribute("is-submenu"))||!1;return i(c||(c=d`
|
|
91
91
|
<div class="${0}--side-nav__item" part="side-nav-item-container">
|
|
92
92
|
<button
|
|
93
93
|
part="side-nav-item-button"
|
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
90
|
let process = { env: {} };
|
|
91
|
-
import { g as s, n, G as t, x, q as o, j as svgResultCarbonIcon, k as svgResultCarbonIcon$1, s as styles, c as carbonElement, a as settings } from './index-
|
|
91
|
+
import { g as s, n, G as t, x, q as o, j as svgResultCarbonIcon, k as svgResultCarbonIcon$1, s as styles, c as carbonElement, a as settings } from './index-6f798488.js';
|
|
92
92
|
|
|
93
93
|
let _ = t => t,
|
|
94
94
|
_t,
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
-
import{g as e,n as t,G as r,x as i,q as n,j as o,k as s,s as a,c as l,a as c}from"./index-
|
|
90
|
+
import{g as e,n as t,G as r,x as i,q as n,j as o,k as s,s as a,c as l,a as c}from"./index-6ab416ae.js";let d,f,p,u=e=>e;function h(){h=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(i){t.forEach((function(t){var n=t.placement;if(t.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var i=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!y(e))return r.push(e);var t=this.decorateElement(e,n);r.push(t.element),r.push.apply(r,t.extras),i.push.apply(i,t.finishers)}),this),!t)return{elements:r,finishers:i};var o=this.decorateConstructor(r,t);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,t,r){var i=t[e.placement];if(!r&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,t){for(var r=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);r.push.apply(r,c)}}return{element:e,finishers:i,extras:r}},decorateConstructor:function(e,t){for(var r=[],i=t.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[i])(n)||n);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this);var t},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=g(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:b(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=b(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var i=(0,t[r])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function m(e){var t,r=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function v(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function y(e){return e.decorators&&e.decorators.length}function k(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function b(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function g(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}const{prefix:E,stablePrefix:P}=c;let D=function(e,t,r,i){var n=h();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=t((function(e){n.initializeInstanceElements(e,a.elements)}),r),a=n.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=t.find(r)))if(k(o.descriptor)||k(n.descriptor)){if(y(o)||y(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(y(o)){if(y(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}v(o,n)}else t.push(o)}return t}(s.d.map(m)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([l(`${P}-left-nav-menu-category-heading`)],(function(e,l){return{F:class extends l{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[t({attribute:"title"})],key:"headingText",value:void 0},{kind:"field",decorators:[t({attribute:"url"})],key:"url",value:void 0},{kind:"field",decorators:[r()],key:"boostSize",value:void 0},{kind:"method",key:"updated",value:function(e){e.has("boostSize")&&this.classList.toggle(`${E}--left-nav-menu-category__heading-large`,this.boostSize)}},{kind:"method",key:"_renderHeading",value:function(){const{headingText:e,url:t}=this,r="rtl"===document.dir.toLowerCase(),a={[`${E}--side-nav__menu-section-title`]:this.boostSize||!1,[`${E}--side-nav__heading-title`]:!t};return t?i(d||(d=u`
|
|
91
91
|
<h2 part="heading" class="${0}">
|
|
92
92
|
<a
|
|
93
93
|
part="heading-link"
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
-
import{_ as e,F as t,g as r,n as i,x as n,p as o,l as s,B as a,c as l,t as c,u as d,q as u,s as f,a as p,D as h,E as m}from"./index-
|
|
90
|
+
import{_ as e,F as t,g as r,n as i,x as n,p as o,l as s,B as a,c as l,t as c,u as d,q as u,s as f,a as p,D as h,E as m}from"./index-6ab416ae.js";let v,y=e=>e;let k,b,w=e([l(`${o}-side-nav-menu-item`)],(function(e,t){class l extends t{constructor(...t){super(...t),e(this)}}return{F:l,d:[{kind:"field",decorators:[i({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"field",decorators:[i()],key:"href",value:()=>""},{kind:"field",decorators:[i()],key:"title",value:void 0},{kind:"method",key:"shouldUpdate",value:function(e){if(e.has("active")&&this.active){const{selectorMenu:e}=this.constructor,t=this.closest(e);t&&(t.active=!0)}return!0}},{kind:"method",key:"connectedCallback",value:function(){this.hasAttribute("role")||this.setAttribute("role","button"),function(e,t,r,i){var n=c(d(1&i?e.prototype:e),t,r);return 2&i?function(e){return n.apply(r,e)}:n}(l,"connectedCallback",this,3)([])}},{kind:"method",key:"render",value:function(){const{active:e,href:t,title:r}=this,i=u({[`${o}--side-nav__link`]:!0,[`${o}--side-nav__link--current`]:e});return n(v||(v=y`
|
|
91
91
|
<a part="link" class="${0}" href="${0}">
|
|
92
92
|
<span part="title" class="${0}--side-nav__link-text">
|
|
93
93
|
<slot>${0}</slot>
|
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
90
|
let process = { env: {} };
|
|
91
|
-
import { _ as _decorate$1, F as FocusMixin, g as s, n, x, p as prefix$1, l as _objectSpread2, B as styles, c as carbonElement, t as _get$1, u as _getPrototypeOf$1, q as o, s as styles$1, a as settings, D as svgResultCarbonIcon, E as svgResultCarbonIcon$1 } from './index-
|
|
91
|
+
import { _ as _decorate$1, F as FocusMixin, g as s, n, x, p as prefix$1, l as _objectSpread2, B as styles, c as carbonElement, t as _get$1, u as _getPrototypeOf$1, q as o, s as styles$1, a as settings, D as svgResultCarbonIcon, E as svgResultCarbonIcon$1 } from './index-6f798488.js';
|
|
92
92
|
|
|
93
93
|
let _$1 = t => t,
|
|
94
94
|
_t$1;
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
-
import{H as e,n as t,w as r,y as i,x as n,z as o,A as s,s as a,c as l,a as c,F as d,g as u}from"./index-fd263a6c.js";let f,p,h=e=>e;function m(){m=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(i){t.forEach((function(t){var n=t.placement;if(t.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var i=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!k(e))return r.push(e);var t=this.decorateElement(e,n);r.push(t.element),r.push.apply(r,t.extras),i.push.apply(i,t.finishers)}),this),!t)return{elements:r,finishers:i};var o=this.decorateConstructor(r,t);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,t,r){var i=t[e.placement];if(!r&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,t){for(var r=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);r.push.apply(r,c)}}return{element:e,finishers:i,extras:r}},decorateConstructor:function(e,t){for(var r=[],i=t.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[i])(n)||n);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this);var t},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=g(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:w(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=w(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var i=(0,t[r])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function y(e){var t,r=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function v(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function k(e){return e.decorators&&e.decorators.length}function b(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function w(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function g(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function x(){return x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var i=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=P(e)););return e}(e,t);if(i){var n=Object.getOwnPropertyDescriptor(i,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},x.apply(null,arguments)}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}const{prefix:T,stablePrefix:C}=c;let D=function(e,t,r,i){var n=m();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=t((function(e){n.initializeInstanceElements(e,a.elements)}),r),a=n.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=t.find(r)))if(b(o.descriptor)||b(n.descriptor)){if(k(o)||k(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(k(o)){if(k(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}v(o,n)}else t.push(o)}return t}(s.d.map(y)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([l(`${C}-left-nav-menu-section`)],(function(e,l){class c extends l{constructor(...t){super(...t),e(this)}}return{F:c,d:[{kind:"field",decorators:[t({type:String,attribute:"aria-hidden",reflect:!0})],key:"ariaHidden",value:()=>"true"},{kind:"field",decorators:[t({attribute:"back-button-text"})],key:"backButtonText",value:()=>"Back"},{kind:"field",decorators:[t({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[t({type:String,attribute:"section-id"})],key:"sectionId",value:()=>""},{kind:"field",decorators:[t({type:Boolean,reflect:!0})],key:"transition",value:()=>!1},{kind:"field",decorators:[t({type:Boolean,attribute:"is-submenu"})],key:"isSubmenu",value:()=>!1},{kind:"field",decorators:[t({type:Boolean,reflect:!0,attribute:"show-back-button"})],key:"showBackBtn",value:()=>!1},{kind:"field",decorators:[t()],key:"title",value:()=>""},{kind:"field",decorators:[t()],key:"titleUrl",value:()=>""},{kind:"method",key:"_requestLeftNavMenuSectionUpdate",value:async function(){const{eventToggle:e}=this.constructor;return new Promise((t=>{this.dispatchEvent(new CustomEvent(e,{bubbles:!0,cancelable:!0,composed:!0,detail:{active:this.expanded,resolveFn:t}})),setTimeout((()=>{t()}),0)}))}},{kind:"method",key:"_handleClickBack",value:function(){const{eventToggle:e}=this.constructor,t=this.sectionId.split(", ");let r="";r="-1"===t[1]?"-1, -1":`${t[0]}, -1`;const i={bubbles:!0,cancelable:!0,composed:!0,detail:{panelId:r}};this.dispatchEvent(new CustomEvent(e,i))}},{kind:"method",decorators:[r("transitionend")],key:"_handleTransitionEnd",value:function(){setTimeout((()=>{this.expanded?this.style.overflow="":(this.style.visibility="hidden",this.style.height="0",this.style.overflow="hidden")}),0)}},{kind:"method",key:"firstUpdated",value:function(){"-1, -1"===this.sectionId?(this.expanded=!0,this.ariaHidden="false"):(this.expanded=!1,this.ariaHidden="true",this.style.visibility="hidden",this.style.height="0",this.style.overflow="hidden")}},{kind:"method",key:"shouldUpdate",value:function(e){return e.has("expanded")&&this.expanded&&(this.style.visibility="",this.style.height=""),!0}},{kind:"method",key:"updated",value:async function(e){if(await this._requestLeftNavMenuSectionUpdate(),e.has("expanded")){const{expanded:e,isSubmenu:r}=this;if(e){let e;var t;if(r)e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector("button");else e=this.getRootNode().querySelector(i.selectorNavItems);e&&this.addEventListener("transitionend",(()=>{e.focus()}),{once:!0})}}}},{kind:"method",key:"connectedCallback",value:function(){var e,t,r,i,n;(e=c,t="connectedCallback",r=this,n=x(P(1&(i=3)?e.prototype:e),t,r),2&i?function(e){return n.apply(r,e)}:n)([]),document.dir&&(this.dir=document.dir)}},{kind:"method",key:"render",value:function(){const{backButtonText:e,_handleClickBack:t,showBackBtn:r}=this;return n(f||(f=h`
|
|
90
|
+
import{H as e,n as t,w as r,y as i,x as n,z as o,A as s,s as a,c as l,a as c,F as d,g as u}from"./index-6ab416ae.js";let f,p,h=e=>e;function m(){m=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(i){t.forEach((function(t){var n=t.placement;if(t.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var i=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!k(e))return r.push(e);var t=this.decorateElement(e,n);r.push(t.element),r.push.apply(r,t.extras),i.push.apply(i,t.finishers)}),this),!t)return{elements:r,finishers:i};var o=this.decorateConstructor(r,t);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,t,r){var i=t[e.placement];if(!r&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,t){for(var r=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);r.push.apply(r,c)}}return{element:e,finishers:i,extras:r}},decorateConstructor:function(e,t){for(var r=[],i=t.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[i])(n)||n);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this);var t},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=g(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:w(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=w(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var i=(0,t[r])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function y(e){var t,r=g(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function v(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function k(e){return e.decorators&&e.decorators.length}function b(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function w(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function g(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function x(){return x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var i=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=P(e)););return e}(e,t);if(i){var n=Object.getOwnPropertyDescriptor(i,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},x.apply(null,arguments)}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}const{prefix:T,stablePrefix:C}=c;let D=function(e,t,r,i){var n=m();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=t((function(e){n.initializeInstanceElements(e,a.elements)}),r),a=n.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=t.find(r)))if(b(o.descriptor)||b(n.descriptor)){if(k(o)||k(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(k(o)){if(k(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}v(o,n)}else t.push(o)}return t}(s.d.map(y)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([l(`${C}-left-nav-menu-section`)],(function(e,l){class c extends l{constructor(...t){super(...t),e(this)}}return{F:c,d:[{kind:"field",decorators:[t({type:String,attribute:"aria-hidden",reflect:!0})],key:"ariaHidden",value:()=>"true"},{kind:"field",decorators:[t({attribute:"back-button-text"})],key:"backButtonText",value:()=>"Back"},{kind:"field",decorators:[t({type:Boolean,reflect:!0})],key:"expanded",value:()=>!1},{kind:"field",decorators:[t({type:String,attribute:"section-id"})],key:"sectionId",value:()=>""},{kind:"field",decorators:[t({type:Boolean,reflect:!0})],key:"transition",value:()=>!1},{kind:"field",decorators:[t({type:Boolean,attribute:"is-submenu"})],key:"isSubmenu",value:()=>!1},{kind:"field",decorators:[t({type:Boolean,reflect:!0,attribute:"show-back-button"})],key:"showBackBtn",value:()=>!1},{kind:"field",decorators:[t()],key:"title",value:()=>""},{kind:"field",decorators:[t()],key:"titleUrl",value:()=>""},{kind:"method",key:"_requestLeftNavMenuSectionUpdate",value:async function(){const{eventToggle:e}=this.constructor;return new Promise((t=>{this.dispatchEvent(new CustomEvent(e,{bubbles:!0,cancelable:!0,composed:!0,detail:{active:this.expanded,resolveFn:t}})),setTimeout((()=>{t()}),0)}))}},{kind:"method",key:"_handleClickBack",value:function(){const{eventToggle:e}=this.constructor,t=this.sectionId.split(", ");let r="";r="-1"===t[1]?"-1, -1":`${t[0]}, -1`;const i={bubbles:!0,cancelable:!0,composed:!0,detail:{panelId:r}};this.dispatchEvent(new CustomEvent(e,i))}},{kind:"method",decorators:[r("transitionend")],key:"_handleTransitionEnd",value:function(){setTimeout((()=>{this.expanded?this.style.overflow="":(this.style.visibility="hidden",this.style.height="0",this.style.overflow="hidden")}),0)}},{kind:"method",key:"firstUpdated",value:function(){"-1, -1"===this.sectionId?(this.expanded=!0,this.ariaHidden="false"):(this.expanded=!1,this.ariaHidden="true",this.style.visibility="hidden",this.style.height="0",this.style.overflow="hidden")}},{kind:"method",key:"shouldUpdate",value:function(e){return e.has("expanded")&&this.expanded&&(this.style.visibility="",this.style.height=""),!0}},{kind:"method",key:"updated",value:async function(e){if(await this._requestLeftNavMenuSectionUpdate(),e.has("expanded")){const{expanded:e,isSubmenu:r}=this;if(e){let e;var t;if(r)e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector("button");else e=this.getRootNode().querySelector(i.selectorNavItems);e&&this.addEventListener("transitionend",(()=>{e.focus()}),{once:!0})}}}},{kind:"method",key:"connectedCallback",value:function(){var e,t,r,i,n;(e=c,t="connectedCallback",r=this,n=x(P(1&(i=3)?e.prototype:e),t,r),2&i?function(e){return n.apply(r,e)}:n)([]),document.dir&&(this.dir=document.dir)}},{kind:"method",key:"render",value:function(){const{backButtonText:e,_handleClickBack:t,showBackBtn:r}=this;return n(f||(f=h`
|
|
91
91
|
<ul part="side-nav-submenu-container">
|
|
92
92
|
${0}
|
|
93
93
|
<slot></slot>
|
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
90
|
let process = { env: {} };
|
|
91
|
-
import { H as HostListenerMixin, n, w as HostListener, y as C4DLeftNav, x, z as svgResultCarbonIcon, A as selectorTabbable, s as styles, c as carbonElement, a as settings, F as FocusMixin, g as s } from './index-
|
|
91
|
+
import { H as HostListenerMixin, n, w as HostListener, y as C4DLeftNav, x, z as svgResultCarbonIcon, A as selectorTabbable, s as styles, c as carbonElement, a as settings, F as FocusMixin, g as s } from './index-6f798488.js';
|
|
92
92
|
|
|
93
93
|
let _ = t => t,
|
|
94
94
|
_t,
|
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
-
import{g as e,n as t,x as r,s as i,c as n,a as o}from"./index-
|
|
90
|
+
import{g as e,n as t,x as r,s as i,c as n,a as o}from"./index-6ab416ae.js";let s,a=e=>e;function l(){l=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,t){["method","field"].forEach((function(r){t.forEach((function(t){t.kind===r&&"own"===t.placement&&this.defineClassElement(e,t)}),this)}),this)},initializeClassElements:function(e,t){var r=e.prototype;["method","field"].forEach((function(i){t.forEach((function(t){var n=t.placement;if(t.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:r;this.defineClassElement(o,t)}}),this)}),this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var i=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!f(e))return r.push(e);var t=this.decorateElement(e,n);r.push(t.element),r.push.apply(r,t.extras),i.push.apply(i,t.finishers)}),this),!t)return{elements:r,finishers:i};var o=this.decorateConstructor(r,t);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,t,r){var i=t[e.placement];if(!r&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,t){for(var r=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=t[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,t),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],t);r.push.apply(r,c)}}return{element:e,finishers:i,extras:r}},decorateConstructor:function(e,t){for(var r=[],i=t.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[i])(n)||n);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return(t=e,function(e){if(Array.isArray(e))return e}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t}),this);var t},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=h(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:u(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=u(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var i=(0,t[r])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function c(e){var t,r=h(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function d(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function f(e){return e.decorators&&e.decorators.length}function p(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function u(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}function h(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function y(){return y="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var i=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=v(e)););return e}(e,t);if(i){var n=Object.getOwnPropertyDescriptor(i,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},y.apply(null,arguments)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}const{stablePrefix:b}=o;let k=function(e,t,r,i){var n=l();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=t((function(e){n.initializeInstanceElements(e,a.elements)}),r),a=n.decorateClass(function(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=t.find(r)))if(p(o.descriptor)||p(n.descriptor)){if(f(o)||f(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(f(o)){if(f(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}d(o,n)}else t.push(o)}return t}(s.d.map(c)),e);return n.initializeClassElements(s.F,a.elements),n.runClassFinishers(s.F,a.finishers)}([n(`${b}-left-nav-overlay`)],(function(e,n){class o extends n{constructor(...t){super(...t),e(this)}}return{F:o,d:[{kind:"field",decorators:[t({type:Boolean,reflect:!0})],key:"active",value:()=>!1},{kind:"method",key:"connectedCallback",value:function(){var e,t,r,i,n;(e=o,t="connectedCallback",r=this,n=y(v(1&(i=3)?e.prototype:e),t,r),2&i?function(e){return n.apply(r,e)}:n)([]),this.closest("[dir]")&&(this.dir=this.closest("[dir]").dir)}},{kind:"method",key:"render",value:function(){return r(s||(s=a` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>i}]}}),e);export{k as default};
|
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
90
|
let process = { env: {} };
|
|
91
|
-
import { g as s, n, x, s as styles, c as carbonElement, a as settings } from './index-
|
|
91
|
+
import { g as s, n, x, s as styles, c as carbonElement, a as settings } from './index-6f798488.js';
|
|
92
92
|
|
|
93
93
|
let _ = t => t,
|
|
94
94
|
_t;
|
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
90
|
let process = { env: {} };
|
|
91
|
-
import { g as s, n, x, s as styles, c as carbonElement, a as settings } from './index-
|
|
91
|
+
import { g as s, n, x, s as styles, c as carbonElement, a as settings } from './index-6f798488.js';
|
|
92
92
|
|
|
93
93
|
let _ = t => t,
|
|
94
94
|
_t;
|
package/dist/{megamenu-category-group-copy-cc3cf7e0.js → megamenu-category-group-copy-46df540c.js}
RENAMED
|
@@ -80,11 +80,11 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
|
-
import{g as e,x as r,s as t,c as i,a as n}from"./index-
|
|
90
|
+
import{g as e,x as r,s as t,c as i,a as n}from"./index-6ab416ae.js";let o,s=e=>e;function a(){a=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var n=r.placement;if(r.kind===i&&("static"===n||"prototype"===n)){var o="static"===n?e:t;this.defineClassElement(o,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],n={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,n)}),this),e.forEach((function(e){if(!d(e))return t.push(e);var r=this.decorateElement(e,n);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var o=this.decorateConstructor(t,r);return i.push.apply(i,o.finishers),o.finishers=i,o},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],n=e.decorators,o=n.length-1;o>=0;o--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,n[o])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var d=0;d<c.length;d++)this.addElementPlacement(c[d],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var n=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,r[i])(n)||n);if(void 0!==o.finisher&&t.push(o.finisher),void 0!==o.elements){e=o.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return(r=e,function(e){if(Array.isArray(e))return e}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,r){if(e){if("string"==typeof e)return m(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?m(e,r):void 0}}(r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this);var r},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=u(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:r,key:t,placement:i,descriptor:Object.assign({},n)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:p(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=p(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function l(e){var r,t=u(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function c(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function d(e){return e.decorators&&e.decorators.length}function f(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function p(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}function u(e){var r=function(e,r){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:r+""}function m(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,i=Array(r);t<r;t++)i[t]=e[t];return i}const{stablePrefix:h}=n;let y=function(e,r,t,i){var n=a();if(i)for(var o=0;o<i.length;o++)n=i[o](n);var s=r((function(e){n.initializeInstanceElements(e,p.elements)}),t),p=n.decorateClass(function(e){for(var r=[],t=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},i=0;i<e.length;i++){var n,o=e[i];if("method"===o.kind&&(n=r.find(t)))if(f(o.descriptor)||f(n.descriptor)){if(d(o)||d(n))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");n.descriptor=o.descriptor}else{if(d(o)){if(d(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");n.decorators=o.decorators}c(o,n)}else r.push(o)}return r}(s.d.map(l)),e);return n.initializeClassElements(s.F,p.elements),n.runClassFinishers(s.F,p.finishers)}([i(`${h}-megamenu-category-group-copy`)],(function(e,i){return{F:class extends i{constructor(...r){super(...r),e(this)}},d:[{kind:"method",key:"render",value:function(){return r(o||(o=s` <slot></slot> `))}},{kind:"field",static:!0,key:"styles",value:()=>t}]}}),e);export{y as default};
|
package/dist/{megamenu-category-group-copy-9e779f84.js → megamenu-category-group-copy-6ae3dfe8.js}
RENAMED
|
@@ -80,15 +80,15 @@
|
|
|
80
80
|
* https://www.npmjs.com/package/redux
|
|
81
81
|
* https://www.npmjs.com/package/lodash-es
|
|
82
82
|
* https://www.npmjs.com/package/window-or-global
|
|
83
|
-
* https://www.npmjs.com/package/redux-thunk
|
|
84
83
|
* https://www.npmjs.com/package/redux-logger
|
|
84
|
+
* https://www.npmjs.com/package/redux-thunk
|
|
85
85
|
* https://www.npmjs.com/package/axios
|
|
86
86
|
* https://www.npmjs.com/package/isomorphic-dompurify
|
|
87
87
|
* https://www.npmjs.com/package/striptags
|
|
88
88
|
*/
|
|
89
89
|
|
|
90
90
|
let process = { env: {} };
|
|
91
|
-
import { g as s, x, s as styles, c as carbonElement, a as settings } from './index-
|
|
91
|
+
import { g as s, x, s as styles, c as carbonElement, a as settings } from './index-6f798488.js';
|
|
92
92
|
|
|
93
93
|
let _ = t => t,
|
|
94
94
|
_t;
|