@xplortech/apollo-core 1.0.0-beta.15 → 1.0.0-beta.17

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.
@@ -1,2 +1,2 @@
1
- import{p as e,b as a}from"./p-e8953b60.js";export{s as setNonce}from"./p-e8953b60.js";const t=()=>{const a=import.meta.url;const t={};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};t().then((e=>a([["p-db29ebe0",[[0,"xpl-select",{choices:[16],description:[1],disabled:[4],error:[1],label:[1],mode:[1],name:[1],placeholder:[1],truncate:[4],selectedValues:[1,"selected-values"],active:[32],id:[32],keepFocus:[32],selected:[32],value:[32],displayValue:[32],visibleChoices:[32]}]]],["p-5372bf3e",[[4,"xpl-application-shell",{withSubnav:[4,"with-subnav"],withUtility:[4,"with-utility"],navWidth:[1,"nav-width"],isNavOpenAtStartup:[4,"is-nav-open-at-startup"],navOpen:[32]},[[0,"navOpen","navToggleHandler"],[0,"navWidth","navWithHandler"],[9,"resize","onWindowResize"]]]]],["p-30ddb182",[[4,"xpl-data-card",{link:[4],name:[1],stat:[1],shortStat:[1,"short-stat"],variant:[1],icon:[1]}],[4,"xpl-utility-bar",{navControl:[4,"nav-control"],isNavOpenAtStartup:[4,"is-nav-open-at-startup"],open:[32]}],[4,"xpl-breadcrumb-item"],[4,"xpl-breadcrumbs"],[4,"xpl-content-area",{size:[1]}],[4,"xpl-dashboard"],[4,"xpl-nav-item",{navControl:[4,"nav-control"]}],[4,"xpl-secondary-nav"],[0,"xpl-table",{columns:[16],data:[16],freeze:[4],multiselect:[4],striped:[4],selectValues:[16],areAllSelected:[32],rowData:[32],hasScrolled:[32],selected:[32]}],[4,"xpl-avatar",{color:[1],disabled:[4],href:[1],name:[1],size:[1],src:[1],status:[1],target:[1]}],[4,"xpl-badge",{dot:[4],variant:[1]}],[4,"xpl-button",{disabled:[4],link:[4],iconOnly:[4,"icon-only"],fullWidth:[4,"full-width"],name:[1],size:[1],type:[1],value:[1],variant:[1],state:[1]}],[4,"xpl-checkbox",{checked:[4],description:[1],disabled:[4],indeterminate:[4],name:[1],required:[4],styled:[4],value:[1],id:[32]}],[4,"xpl-radio",{checked:[4],description:[1],disabled:[4],name:[1],required:[4],styled:[4],value:[1],id:[32]}],[0,"xpl-icon",{icon:[1],size:[2],backgroundColor:[1,"background-color"]}]]],["p-60d4d252",[[0,"xpl-list",{items:[16]}]]],["p-29f4679d",[[0,"xpl-choicelist",{choices:[16],description:[1],heading:[1],multi:[4],name:[1],styled:[4],selected:[32]}]]],["p-e215fc5f",[[0,"xpl-button-row",{primary:[1],secondary:[1],tertiary:[1]}]]],["p-bcb81e30",[[0,"xpl-input",{_id:[1],autocomplete:[1],dateFormat:[1,"date-format"],description:[1],disabled:[4],error:[1],label:[1],max:[8],maxCharacterCount:[2,"max-character-count"],min:[8],mode:[1],multiline:[4],name:[1],placeholder:[1],post:[1],pre:[1],readonly:[4],required:[4],step:[2],type:[1],value:[1],characterCount:[32],passwordVisible:[32]}]]],["p-807d8de9",[[4,"xpl-divider",{tier:[2]}]]],["p-efa8a79d",[[0,"xpl-grid"]]],["p-1fa46bc3",[[4,"xpl-grid-item",{xs:[2],sm:[2],md:[2],lg:[2]}]]],["p-3f3cc34e",[[4,"xpl-main-nav",{width:[1]}]]],["p-7a8e818a",[[0,"xpl-pagination",{total:[2],perPage:[2,"per-page"],waitForCallback:[4,"wait-for-callback"],current:[32],goto:[64]}]]],["p-5ceaec87",[[0,"xpl-toggle",{checked:[4],description:[1],disabled:[4],heading:[1],label:[1],name:[1],variant:[1],id:[32]}]]],["p-e0541e23",[[0,"xpl-backdrop",{relative:[4]}]]],["p-6acc4122",[[4,"xpl-dropdown-group",{groupName:[1,"label"],options:[16]}],[4,"xpl-dropdown-heading",{label:[1]}],[4,"xpl-dropdown-option",{isDisabled:[516,"disabled"],label:[1],value:[1],isSelected:[4,"selected"]}]]],["p-787bac91",[[4,"xpl-dropdown",{isOpen:[1540,"open"],closeOnSelect:[4,"close-on-select"],mode:[1],options:[16],selectOnFocus:[4,"select-on-focus"],triggerId:[1,"trigger-id"],update:[16],handleSelect:[64]}],[4,"xpl-tag"]]]],e)));
1
+ import{p as e,b as a}from"./p-e8953b60.js";export{s as setNonce}from"./p-e8953b60.js";const t=()=>{const a=import.meta.url;const t={};if(a!==""){t.resourcesUrl=new URL(".",a).href}return e(t)};t().then((e=>a([["p-db29ebe0",[[0,"xpl-select",{choices:[16],description:[1],disabled:[4],error:[1],label:[1],mode:[1],name:[1],placeholder:[1],truncate:[4],selectedValues:[1,"selected-values"],active:[32],id:[32],keepFocus:[32],selected:[32],value:[32],displayValue:[32],visibleChoices:[32]}]]],["p-5372bf3e",[[4,"xpl-application-shell",{withSubnav:[4,"with-subnav"],withUtility:[4,"with-utility"],navWidth:[1,"nav-width"],isNavOpenAtStartup:[4,"is-nav-open-at-startup"],navOpen:[32]},[[0,"navOpen","navToggleHandler"],[0,"navWidth","navWithHandler"],[9,"resize","onWindowResize"]]]]],["p-6797b2b7",[[4,"xpl-data-card",{link:[4],name:[1],stat:[1],shortStat:[1,"short-stat"],variant:[1],icon:[1]}],[4,"xpl-utility-bar",{navControl:[4,"nav-control"],isNavOpenAtStartup:[4,"is-nav-open-at-startup"],open:[32]}],[4,"xpl-breadcrumb-item"],[4,"xpl-breadcrumbs"],[4,"xpl-content-area",{size:[1]}],[4,"xpl-dashboard"],[4,"xpl-nav-item",{navControl:[4,"nav-control"]}],[4,"xpl-secondary-nav"],[0,"xpl-table",{columns:[16],data:[16],freeze:[4],multiselect:[4],striped:[4],selectedValues:[16],areAllSelected:[32],rowData:[32],hasScrolled:[32],selected:[32]}],[4,"xpl-avatar",{color:[1],disabled:[4],href:[1],name:[1],size:[1],src:[1],status:[1],target:[1]}],[4,"xpl-badge",{dot:[4],variant:[1]}],[4,"xpl-button",{disabled:[4],link:[4],iconOnly:[4,"icon-only"],fullWidth:[4,"full-width"],name:[1],size:[1],type:[1],value:[1],variant:[1],state:[1]}],[4,"xpl-checkbox",{checked:[4],description:[1],disabled:[4],indeterminate:[4],name:[1],required:[4],styled:[4],value:[1],id:[32]}],[4,"xpl-radio",{checked:[4],description:[1],disabled:[4],name:[1],required:[4],styled:[4],value:[1],id:[32]}],[0,"xpl-icon",{icon:[1],size:[2],backgroundColor:[1,"background-color"]}]]],["p-60d4d252",[[0,"xpl-list",{items:[16]}]]],["p-29f4679d",[[0,"xpl-choicelist",{choices:[16],description:[1],heading:[1],multi:[4],name:[1],styled:[4],selected:[32]}]]],["p-e215fc5f",[[0,"xpl-button-row",{primary:[1],secondary:[1],tertiary:[1]}]]],["p-bcb81e30",[[0,"xpl-input",{_id:[1],autocomplete:[1],dateFormat:[1,"date-format"],description:[1],disabled:[4],error:[1],label:[1],max:[8],maxCharacterCount:[2,"max-character-count"],min:[8],mode:[1],multiline:[4],name:[1],placeholder:[1],post:[1],pre:[1],readonly:[4],required:[4],step:[2],type:[1],value:[1],characterCount:[32],passwordVisible:[32]}]]],["p-807d8de9",[[4,"xpl-divider",{tier:[2]}]]],["p-efa8a79d",[[0,"xpl-grid"]]],["p-1fa46bc3",[[4,"xpl-grid-item",{xs:[2],sm:[2],md:[2],lg:[2]}]]],["p-3f3cc34e",[[4,"xpl-main-nav",{width:[1]}]]],["p-7a8e818a",[[0,"xpl-pagination",{total:[2],perPage:[2,"per-page"],waitForCallback:[4,"wait-for-callback"],current:[32],goto:[64]}]]],["p-5ceaec87",[[0,"xpl-toggle",{checked:[4],description:[1],disabled:[4],heading:[1],label:[1],name:[1],variant:[1],id:[32]}]]],["p-e0541e23",[[0,"xpl-backdrop",{relative:[4]}]]],["p-6acc4122",[[4,"xpl-dropdown-group",{groupName:[1,"label"],options:[16]}],[4,"xpl-dropdown-heading",{label:[1]}],[4,"xpl-dropdown-option",{isDisabled:[516,"disabled"],label:[1],value:[1],isSelected:[4,"selected"]}]]],["p-787bac91",[[4,"xpl-dropdown",{isOpen:[1540,"open"],closeOnSelect:[4,"close-on-select"],mode:[1],options:[16],selectOnFocus:[4,"select-on-focus"],triggerId:[1,"trigger-id"],update:[16],handleSelect:[64]}],[4,"xpl-tag"]]]],e)));
2
2
  //# sourceMappingURL=apollo-core.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","import","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","choices","description","disabled","error","label","mode","name","placeholder","truncate","selectedValues","active","id","keepFocus","selected","value","displayValue","visibleChoices","withSubnav","withUtility","navWidth","isNavOpenAtStartup","navOpen","link","stat","shortStat","variant","icon","navControl","open","size","columns","data","freeze","multiselect","striped","selectValues","areAllSelected","rowData","hasScrolled","color","src","status","target","dot","iconOnly","fullWidth","type","state","checked","indeterminate","required","styled","backgroundColor","items","heading","multi","primary","secondary","tertiary","_id","autocomplete","dateFormat","max","maxCharacterCount","min","multiline","post","pre","readonly","step","characterCount","passwordVisible","tier","xs","sm","md","lg","width","total","perPage","waitForCallback","current","goto","relative","groupName","isDisabled","isSelected","isOpen","closeOnSelect","selectOnFocus","triggerId","update","handleSelect"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.1.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAmBA,MAAMA,EAAe,KAkCjB,MAAMC,EAAaC,OAAOC,KAAKC,IAC/B,MAAMC,EAAqE,GAiB3E,GAAuBJ,IAAe,GAAI,CACtCI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IAGrD,CAcI,OAAOC,EAAeJ,EAAK,ECrF/BL,IAAeU,MAAKC,GAEXC,EAAc,gCAA8B,CAAAC,QAAS,KAAAC,YAAA,IAAAC,SAAA,IAAAC,MAAA,IAAAC,MAAA,IAAAC,KAAA,IAAAC,KAAA,IAAAC,YAAA,I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IAAAC,WAAA,kBAAA5D,YAAA,IAAAC,SAAA,IAAAC,MAAA,IAAAC,MAAA,IAAA0D,IAAA,IAAAC,kBAAA,0BAAAC,IAAA,IAAA3D,KAAA,IAAA4D,UAAA,IAAA3D,KAAA,IAAAC,YAAA,IAAA2D,KAAA,IAAAC,IAAA,IAAAC,SAAA,IAAAlB,SAAA,IAAAmB,KAAA,IAAAvB,KAAA,IAAAhC,MAAA,IAAAwD,eAAA,KAAAC,gBAAA,0CAAAC,KAAA,2EAAAC,GAAA,IAAAC,GAAA,IAAAC,GAAA,IAAAC,GAAA,0CAAAC,MAAA,4CAAAC,MAAA,IAAAC,QAAA,eAAAC,gBAAA,wBAAAC,QAAA,KAAAC,KAAA,yCAAAlC,QAAA,IAAA/C,YAAA,IAAAC,SAAA,IAAAoD,QAAA,IAAAlD,MAAA,IAAAE,KAAA,IAAAmB,QAAA,IAAAd,GAAA,2CAAAwE,SAAA,gDAAAC,UAAA,YAAAtF,QAAA,kCAAAM,MAAA,gCAAAiF,WAAA,iBAAAjF,MAAA,IAAAU,MAAA,IAAAwE,WAAA,qDAAAC,OAAA,cAAAC,cAAA,sBAAAnF,KAAA,IAAAP,QAAA,KAAA2F,cAAA,sBAAAC,UAAA,iBAAAC,OAAA,KAAAC,aAAA,wBAAA9F"}
1
+ {"version":3,"names":["patchBrowser","importMeta","import","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","choices","description","disabled","error","label","mode","name","placeholder","truncate","selectedValues","active","id","keepFocus","selected","value","displayValue","visibleChoices","withSubnav","withUtility","navWidth","isNavOpenAtStartup","navOpen","link","stat","shortStat","variant","icon","navControl","open","size","columns","data","freeze","multiselect","striped","areAllSelected","rowData","hasScrolled","color","src","status","target","dot","iconOnly","fullWidth","type","state","checked","indeterminate","required","styled","backgroundColor","items","heading","multi","primary","secondary","tertiary","_id","autocomplete","dateFormat","max","maxCharacterCount","min","multiline","post","pre","readonly","step","characterCount","passwordVisible","tier","xs","sm","md","lg","width","total","perPage","waitForCallback","current","goto","relative","groupName","isDisabled","isSelected","isOpen","closeOnSelect","selectOnFocus","triggerId","update","handleSelect"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.1.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAmBA,MAAMA,EAAe,KAkCjB,MAAMC,EAAaC,OAAOC,KAAKC,IAC/B,MAAMC,EAAqE,GAiB3E,GAAuBJ,IAAe,GAAI,CACtCI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IAGrD,CAcI,OAAOC,EAAeJ,EAAK,ECrF/BL,IAAeU,MAAKC,GAEXC,EAAc,gCAA8B,CAAAC,QAAS,KAAAC,YAAA,IAAAC,SAAA,IAAAC,MAAA,IAAAC,MAAA,IAAAC,KAAA,IAAAC,KAAA,IAAAC,YAAA,IAAAC,SAAA,IAAAC,eAAA,sBAAAC,OAAA,KAAAC,GAAA,KAAAC,UAAA,KAAAC,SAAA,KAAAC,MAAA,KAAAC,aAAA,KAAAC,eAAA,oDAAAC,WAAA,kBAAAC,YAAA,mBAAAC,SAAA,gBAAAC,mBAAA,6BAAAC,QAAA,6IAAAC,KAAA,IAAAhB,KAAA,IAAAiB,KAAA,IAAAC,UAAA,iBAAAC,QAAA,IAAAC,KAAA,4BAAAC,WAAA,kBAAAP,mBAAA,6BAAAQ,KAAA,8EAAAC,KAAA,6CAAAF,WAAA,4DAAAG,QAAA,KAAAC,KAAA,KAAAC,OAAA,IAAAC,YAAA,IAAAC,QAAA,IAAAzB,eAAA,KAAA0B,eAAA,KAAAC,QAAA,KAAAC,YAAA,KAAAxB,SAAA,wBAAAyB,MAAA,IAAApC,SAAA,IAAAP,KAAA,IAAAW,KAAA,IAAAuB,KAAA,IAAAU,IAAA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E,SAAA,gDAAAC,UAAA,YAAArF,QAAA,kCAAAM,MAAA,gCAAAgF,WAAA,iBAAAhF,MAAA,IAAAU,MAAA,IAAAuE,WAAA,qDAAAC,OAAA,cAAAC,cAAA,sBAAAlF,KAAA,IAAAP,QAAA,KAAA0F,cAAA,sBAAAC,UAAA,iBAAAC,OAAA,KAAAC,aAAA,wBAAA7F"}
@@ -3,5 +3,5 @@ import{r as a,h as t,H as l,g as e,c as h}from"./p-e8953b60.js";import{v as r}fr
3
3
  object-assign
4
4
  (c) Sindre Sorhus
5
5
  @license MIT
6
- */var La=Object.getOwnPropertySymbols;var Va=Object.prototype.hasOwnProperty;var xa=Object.prototype.propertyIsEnumerable;function Aa(a){if(a===null||a===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(a)}function _a(){try{if(!Object.assign){return false}var a=new String("abc");a[5]="de";if(Object.getOwnPropertyNames(a)[0]==="5"){return false}var t={};for(var l=0;l<10;l++){t["_"+String.fromCharCode(l)]=l}var e=Object.getOwnPropertyNames(t).map((function(a){return t[a]}));if(e.join("")!=="0123456789"){return false}var h={};"abcdefghijklmnopqrst".split("").forEach((function(a){h[a]=a}));if(Object.keys(Object.assign({},h)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(a){return false}}var ja=_a()?Object.assign:function(a,t){var l;var e=Aa(a);var h;for(var r=1;r<arguments.length;r++){l=Object(arguments[r]);for(var i in l){if(Va.call(l,i)){e[i]=l[i]}}if(La){h=La(l);for(var o=0;o<h.length;o++){if(xa.call(l,h[o])){e[h[o]]=l[h[o]]}}}}return e};const $a=16;for(const a of Object.keys(Ha)){const t=(t,l,e)=>{const h=[];const r=ja({},l,e);if(e){if(e["width"]||e["height"]){r["width"]=e["width"]?e["width"]:parseInt(e["height"])*l["width"]/l["height"];r["height"]=e["height"]?e["height"]:parseInt(e["width"])*l["height"]/l["width"]}if(e["class"]){r["class"]=`octicon octicon-${a} ${e["class"]}`;r["class"].trim()}if(e["aria-label"]){r["aria-label"]=e["aria-label"];r["role"]="img";delete r["aria-hidden"]}}for(const a of Object.keys(r)){h.push(`${a}="${r[a]}"`)}return h.join(" ").trim()};Ha[a].symbol=a;for(const t of Object.keys(Ha[a].heights)){Ha[a].heights[t].options={version:"1.1",width:Ha[a].heights[t].width,height:parseInt(t),viewBox:`0 0 ${Ha[a].heights[t].width} ${t}`,class:`octicon octicon-${a}`,"aria-hidden":"true"}}Ha[a].toSVG=function(l={}){const{height:e,width:h}=l;const r=Sa(Object.keys(Ha[a].heights),e||h||$a);return`<svg ${t(Ha[a],Ha[a].heights[r].options,l)}>${Ha[a].heights[r].path}</svg>`}}var Oa=Ha;function Sa(a,t){return a.map((a=>parseInt(a,10))).reduce(((a,l)=>l<=t?l:a),a[0])}const Ta=".xpl-icon{align-items:center;display:grid;justify-content:center}";const qa=class{constructor(t){a(this,t);this.icon=undefined;this.size=undefined;this.backgroundColor=undefined}render(){let a={};if(typeof this.size==="number")a={width:this.size,height:this.size};let e="xpl-icon__wrapper ";if(!!this.backgroundColor)e+=`xpl-icon__wrapper--with-background xpl-icon__wrapper--with-background--${this.backgroundColor}`;return t(l,null,t("figure",{class:e},t("span",{"aria-label":this.icon,role:"img",class:"xpl-icon",style:{width:`${this.size}px`,height:`${this.size}px`},innerHTML:Oa[this.icon].toSVG(a)}),t("figcaption",null,this.icon," icon")))}};qa.style=Ta;const Ia=class{constructor(t){a(this,t);this.navOpen=h(this,"navOpen",7);this.navControl=false}onNavToggle(){if(window.innerWidth<=640){this.navOpen.emit(false)}}render(){return t(l,{class:"xpl-nav-item",role:"listitem",onClick:()=>{if(this.navControl){this.onNavToggle()}}},t("slot",{name:"link"},t("slot",{name:"icon"}),t("slot",null)))}};const Da=class{constructor(t){a(this,t);this.radioChange=h(this,"radioChange",7);this.checked=undefined;this.description=undefined;this.disabled=undefined;this.name=undefined;this.required=undefined;this.styled=undefined;this.value=undefined;this.id=r()}render(){return t(l,{class:{"xpl-checkbox-radio-container":true,styled:this.styled,disabled:this.disabled}},t("input",{class:"xpl-radio",type:"radio",checked:this.checked,disabled:this.disabled,id:this.id,name:this.name,required:this.required,value:this.value,onChange:()=>this.radioChange.emit(true)}),t("label",{class:{"xpl-label":true,"xpl-label--disabled":this.disabled},htmlFor:this.id},t("slot",null),this.description&&t("small",{class:{"xpl-description":true,"xpl-description--disabled":this.disabled}},this.description)))}};const Fa=class{constructor(t){a(this,t)}render(){return t(l,{class:"xpl-secondary-nav"},t("nav",{"aria-label":"Secondary Nav"},t("slot",null)))}};const Ba=class{constructor(t){a(this,t);this.tableSelect=h(this,"tableSelect",7);this.selectAllValue=Math.random().toString(36).slice(2);this.selectAll=a=>{const{target:t}=a;if(!(t instanceof HTMLInputElement))return;const{checked:l}=t;this.areAllSelected=l;this.selected=this.selectValues.length>0?Array.from(this.el.querySelectorAll("tbody td:first-child input")).map((a=>l?a===null||a===void 0?void 0:a.value:l)):this.selected.map((()=>l));this.onChange()};this.selectOne=(a,t)=>{const{target:l}=a;if(!(l instanceof HTMLInputElement))return;const{checked:e,value:h}=l;this.areAllSelected=false;this.selected=this.selected.map(((a,l)=>l===t?this.selectValues.length>0?h:e:a));this.onChange()};this.onChange=()=>{this.tableSelect.emit({selected:this.selected,areAllSelected:this.areAllSelected})};this.onScroll=()=>{this.hasScrolled=this.container.scrollLeft>0};this.setData=()=>{this.rowData=this.data!==undefined?Array.from(this.data):[]};this.columns=undefined;this.data=undefined;this.freeze=undefined;this.multiselect=undefined;this.striped=undefined;this.selectValues=[];this.areAllSelected=false;this.rowData=undefined;this.hasScrolled=false;this.selected=undefined}watchData(){this.setData()}componentWillLoad(){this.areAllSelected=false;this.setData();this.selected=new Array(this.rowData.length).fill(false)}render(){let a="xpl-table";if(this.striped)a+=" xpl-table--striped";if(this.freeze)a+=" xpl-table--freeze";if(this.hasScrolled)a+=" xpl-table--has-scrolled";return t(l,null,t("div",{class:"xpl-table-container",onScroll:this.onScroll,ref:a=>this.container=a},t("table",{class:a},this.columns&&t("thead",null,this.columns.map(((a,l)=>t("th",null,this.multiselect&&l===0?t("label",{htmlFor:"__xpl-table-th"},t("input",{checked:this.areAllSelected,id:"__xpl-table-th",indeterminate:!this.areAllSelected&&this.selected.some((a=>a)),onChange:a=>{this.selectAll(a)},type:"checkbox",value:`select-all-${this.selectAllValue}`}),a):a)))),t("tbody",null,this.rowData.map(((a,l)=>t("tr",{class:this.selected&&this.selected[l]?"xpl-table-row-selected":""},a.map(((a,e)=>t("td",null,this.multiselect&&e===0?t("label",{htmlFor:"__xpl-table-row-"+l},t("input",{id:"__xpl-table-row-"+l,checked:!!this.selected[l],type:"checkbox",onChange:a=>this.selectOne(a,l),value:`${this.selectValues.length>0?this.selectValues[l]:`xpl-table-checkbox-${l}`}`}),t("div",{innerHTML:a})):t("div",{innerHTML:a})))))))))))}get el(){return e(this)}static get watchers(){return{data:["watchData"]}}};const Ea=class{constructor(t){a(this,t);this.navOpen=h(this,"navOpen",7);this.navControl=undefined;this.isNavOpenAtStartup=undefined;this.open=true}onNavToggle(){this.open=!this.open;this.navOpen.emit(this.open)}componentWillLoad(){this.open=this.isNavOpenAtStartup!==undefined?this.isNavOpenAtStartup:this.open}render(){return t(l,null,t("nav",{"aria-label":"utility navigation bar",class:"xpl-utility-bar"},this.navControl?t("div",null,t("button",{class:"xpl-utility-bar__nav-control",onClick:()=>this.onNavToggle()},t("xpl-icon",{class:"xpl-utility-nav__bars",icon:"three-bars"})),t("slot",{name:"aside"})):t("slot",{name:"aside"}),t("slot",{name:"main"})))}};export{i as xpl_avatar,o as xpl_badge,n as xpl_breadcrumb_item,s as xpl_breadcrumbs,d as xpl_button,c as xpl_checkbox,p as xpl_content_area,u as xpl_dashboard,v as xpl_data_card,qa as xpl_icon,Ia as xpl_nav_item,Da as xpl_radio,Fa as xpl_secondary_nav,Ba as xpl_table,Ea as xpl_utility_bar};
7
- //# sourceMappingURL=p-30ddb182.entry.js.map
6
+ */var La=Object.getOwnPropertySymbols;var Va=Object.prototype.hasOwnProperty;var xa=Object.prototype.propertyIsEnumerable;function Aa(a){if(a===null||a===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(a)}function _a(){try{if(!Object.assign){return false}var a=new String("abc");a[5]="de";if(Object.getOwnPropertyNames(a)[0]==="5"){return false}var t={};for(var l=0;l<10;l++){t["_"+String.fromCharCode(l)]=l}var e=Object.getOwnPropertyNames(t).map((function(a){return t[a]}));if(e.join("")!=="0123456789"){return false}var h={};"abcdefghijklmnopqrst".split("").forEach((function(a){h[a]=a}));if(Object.keys(Object.assign({},h)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(a){return false}}var ja=_a()?Object.assign:function(a,t){var l;var e=Aa(a);var h;for(var r=1;r<arguments.length;r++){l=Object(arguments[r]);for(var i in l){if(Va.call(l,i)){e[i]=l[i]}}if(La){h=La(l);for(var o=0;o<h.length;o++){if(xa.call(l,h[o])){e[h[o]]=l[h[o]]}}}}return e};const $a=16;for(const a of Object.keys(Ha)){const t=(t,l,e)=>{const h=[];const r=ja({},l,e);if(e){if(e["width"]||e["height"]){r["width"]=e["width"]?e["width"]:parseInt(e["height"])*l["width"]/l["height"];r["height"]=e["height"]?e["height"]:parseInt(e["width"])*l["height"]/l["width"]}if(e["class"]){r["class"]=`octicon octicon-${a} ${e["class"]}`;r["class"].trim()}if(e["aria-label"]){r["aria-label"]=e["aria-label"];r["role"]="img";delete r["aria-hidden"]}}for(const a of Object.keys(r)){h.push(`${a}="${r[a]}"`)}return h.join(" ").trim()};Ha[a].symbol=a;for(const t of Object.keys(Ha[a].heights)){Ha[a].heights[t].options={version:"1.1",width:Ha[a].heights[t].width,height:parseInt(t),viewBox:`0 0 ${Ha[a].heights[t].width} ${t}`,class:`octicon octicon-${a}`,"aria-hidden":"true"}}Ha[a].toSVG=function(l={}){const{height:e,width:h}=l;const r=Sa(Object.keys(Ha[a].heights),e||h||$a);return`<svg ${t(Ha[a],Ha[a].heights[r].options,l)}>${Ha[a].heights[r].path}</svg>`}}var Oa=Ha;function Sa(a,t){return a.map((a=>parseInt(a,10))).reduce(((a,l)=>l<=t?l:a),a[0])}const Ta=".xpl-icon{align-items:center;display:grid;justify-content:center}";const qa=class{constructor(t){a(this,t);this.icon=undefined;this.size=undefined;this.backgroundColor=undefined}render(){let a={};if(typeof this.size==="number")a={width:this.size,height:this.size};let e="xpl-icon__wrapper ";if(!!this.backgroundColor)e+=`xpl-icon__wrapper--with-background xpl-icon__wrapper--with-background--${this.backgroundColor}`;return t(l,null,t("figure",{class:e},t("span",{"aria-label":this.icon,role:"img",class:"xpl-icon",style:{width:`${this.size}px`,height:`${this.size}px`},innerHTML:Oa[this.icon].toSVG(a)}),t("figcaption",null,this.icon," icon")))}};qa.style=Ta;const Ia=class{constructor(t){a(this,t);this.navOpen=h(this,"navOpen",7);this.navControl=false}onNavToggle(){if(window.innerWidth<=640){this.navOpen.emit(false)}}render(){return t(l,{class:"xpl-nav-item",role:"listitem",onClick:()=>{if(this.navControl){this.onNavToggle()}}},t("slot",{name:"link"},t("slot",{name:"icon"}),t("slot",null)))}};const Da=class{constructor(t){a(this,t);this.radioChange=h(this,"radioChange",7);this.checked=undefined;this.description=undefined;this.disabled=undefined;this.name=undefined;this.required=undefined;this.styled=undefined;this.value=undefined;this.id=r()}render(){return t(l,{class:{"xpl-checkbox-radio-container":true,styled:this.styled,disabled:this.disabled}},t("input",{class:"xpl-radio",type:"radio",checked:this.checked,disabled:this.disabled,id:this.id,name:this.name,required:this.required,value:this.value,onChange:()=>this.radioChange.emit(true)}),t("label",{class:{"xpl-label":true,"xpl-label--disabled":this.disabled},htmlFor:this.id},t("slot",null),this.description&&t("small",{class:{"xpl-description":true,"xpl-description--disabled":this.disabled}},this.description)))}};const Fa=class{constructor(t){a(this,t)}render(){return t(l,{class:"xpl-secondary-nav"},t("nav",{"aria-label":"Secondary Nav"},t("slot",null)))}};const Ba=class{constructor(t){a(this,t);this.tableSelect=h(this,"tableSelect",7);this.selectAllValue=Math.random().toString(36).slice(2);this.selectAll=a=>{const{target:t}=a;if(!(t instanceof HTMLInputElement))return;const{checked:l}=t;this.areAllSelected=l;this.selected=this.selectedValues.length>0?Array.from(this.el.querySelectorAll("tbody td:first-child input")).map((a=>l?a===null||a===void 0?void 0:a.value:l)):this.selected.map((()=>l));this.onChange()};this.selectOne=(a,t)=>{const{target:l}=a;if(!(l instanceof HTMLInputElement))return;const{checked:e,value:h}=l;this.areAllSelected=false;this.selected=this.selected.map(((a,l)=>{if(l!==t)return a;return this.selectedValues.length>0?e?h:e:e}));this.onChange()};this.onChange=()=>{this.tableSelect.emit({selected:this.selected,areAllSelected:this.areAllSelected})};this.onScroll=()=>{this.hasScrolled=this.container.scrollLeft>0};this.setData=()=>{this.rowData=this.data!==undefined?Array.from(this.data):[]};this.columns=undefined;this.data=undefined;this.freeze=undefined;this.multiselect=undefined;this.striped=undefined;this.selectedValues=[];this.areAllSelected=false;this.rowData=undefined;this.hasScrolled=false;this.selected=undefined}watchData(){this.setData()}componentWillLoad(){this.areAllSelected=false;this.setData();this.selected=new Array(this.rowData.length).fill(false)}render(){let a="xpl-table";if(this.striped)a+=" xpl-table--striped";if(this.freeze)a+=" xpl-table--freeze";if(this.hasScrolled)a+=" xpl-table--has-scrolled";return t(l,null,t("div",{class:"xpl-table-container",onScroll:this.onScroll,ref:a=>this.container=a},t("table",{class:a},this.columns&&t("thead",null,this.columns.map(((a,l)=>t("th",null,this.multiselect&&l===0?t("label",{htmlFor:"__xpl-table-th"},t("input",{checked:this.areAllSelected,id:"__xpl-table-th",indeterminate:!this.areAllSelected&&this.selected.some((a=>a)),onChange:a=>{this.selectAll(a)},type:"checkbox",value:`select-all-${this.selectAllValue}`}),a):a)))),t("tbody",null,this.rowData.map(((a,l)=>t("tr",{class:this.selected&&this.selected[l]?"xpl-table-row-selected":""},a.map(((a,e)=>t("td",null,this.multiselect&&e===0?t("label",{htmlFor:"__xpl-table-row-"+l},t("input",{id:"__xpl-table-row-"+l,checked:!!this.selected[l],type:"checkbox",onChange:a=>this.selectOne(a,l),value:`${this.selectedValues.length>0?this.selectedValues[l]:`xpl-table-checkbox-${l}`}`}),t("div",{innerHTML:a})):t("div",{innerHTML:a})))))))))))}get el(){return e(this)}static get watchers(){return{data:["watchData"]}}};const Ea=class{constructor(t){a(this,t);this.navOpen=h(this,"navOpen",7);this.navControl=undefined;this.isNavOpenAtStartup=undefined;this.open=true}onNavToggle(){this.open=!this.open;this.navOpen.emit(this.open)}componentWillLoad(){this.open=this.isNavOpenAtStartup!==undefined?this.isNavOpenAtStartup:this.open}render(){return t(l,null,t("nav",{"aria-label":"utility navigation bar",class:"xpl-utility-bar"},this.navControl?t("div",null,t("button",{class:"xpl-utility-bar__nav-control",onClick:()=>this.onNavToggle()},t("xpl-icon",{class:"xpl-utility-nav__bars",icon:"three-bars"})),t("slot",{name:"aside"})):t("slot",{name:"aside"}),t("slot",{name:"main"})))}};export{i as xpl_avatar,o as xpl_badge,n as xpl_breadcrumb_item,s as xpl_breadcrumbs,d as xpl_button,c as xpl_checkbox,p as xpl_content_area,u as xpl_dashboard,v as xpl_data_card,qa as xpl_icon,Ia as xpl_nav_item,Da as xpl_radio,Fa as xpl_secondary_nav,Ba as xpl_table,Ea as xpl_utility_bar};
7
+ //# sourceMappingURL=p-6797b2b7.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["XplAvatar","render","className","this","size","color","inner","h","src","alt","name","class","status","Host","href","disabled","target","XplBadge","dot","variant","XplBreadcrumbItem","constructor","hostRef","chevron","role","innerHTML","XplBreadcrumbs","XplButton","componentDidRender","attrs","el","attributes","dataAttrs","Object","keys","filter","k","propertyName","includes","reduce","acc","assign","value","child","querySelector","forEach","setAttribute","removeAttribute","state","iconOnly","fullWidth","link","type","XplCheckbox","uuid","styled","checked","id","indeterminate","onChange","checkboxChange","emit","input","ref","required","htmlFor","description","XplContentArea","XplDashboard","XplDataCard","watchStat","newValue","stat","watchShortStat","shortStat","componentDidLoad","anchorEl","getElementsByTagName","anchorText","document","createTextNode","anchorSpan","createElement","appendChild","bgColorHue","headerClasses","icon","tabindex","title","getOwnPropertySymbols","hasOwnProperty","prototype","propIsEnumerable","propertyIsEnumerable","toObject","val","undefined","TypeError","shouldUseNative","test1","String","getOwnPropertyNames","test2","i","fromCharCode","order2","map","n","join","test3","split","letter","err","objectAssign","source","from","to","symbols","s","arguments","length","key","call","DEFAULT_HEIGHT","data","htmlAttributes","defaultOptions","options","attrObj","parseInt","trim","option","push","symbol","height","heights","version","width","viewBox","toSVG","naturalHeight","closestNaturalHeight","path","apolloIcons","naturalHeights","xplIconCss","XplIcon","wrapperClasses","backgroundColor","style","octicons","XplNavItem","onNavToggle","window","innerWidth","navOpen","onClick","navControl","XplRadio","radioChange","XplSecondaryNav","XplTable","selectAllValue","Math","random","toString","slice","selectAll","e","HTMLInputElement","areAllSelected","selected","selectedValues","Array","querySelectorAll","selectOne","checkboxIdx","v","selectedIdx","tableSelect","onScroll","hasScrolled","container","scrollLeft","setData","rowData","watchData","componentWillLoad","fill","striped","freeze","columns","column","multiselect","some","a","row","rowNum","cell","XplUtilityBar","open","isNavOpenAtStartup"],"sources":["./src/components/components/xpl-avatar/xpl-avatar.tsx","./src/components/components/xpl-badge/xpl-badge.tsx","./src/components/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.tsx","./src/components/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.tsx","./src/components/components/xpl-button/xpl-button.tsx","./src/components/components/xpl-checkbox/xpl-checkbox.tsx","./src/components/components/xpl-content-area/xpl-content-area.tsx","./src/components/components/xpl-dashboard/xpl-dashboard.tsx","./src/components/components/xpl-data-card/xpl-data-card.tsx","./node_modules/object-assign/index.js","./node_modules/@xplortech/apollo-icons/index.js","./src/components/components/xpl-icon/xpl-icon.css?tag=xpl-icon","./src/components/components/xpl-icon/xpl-icon.tsx","./src/components/components/xpl-nav-item/xpl-nav-item.tsx","./src/components/components/xpl-radio/xpl-radio.tsx","./src/components/components/xpl-secondary-nav/xpl-secondary-nav.tsx","./src/components/components/xpl-table/xpl-table.tsx","./src/components/components/xpl-utility-bar/xpl-utility-bar.tsx"],"sourcesContent":["import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'xpl-avatar',\n})\nexport class XplAvatar {\n @Prop() color?: 'green' | 'yellow' | 'pink' | 'primary' | 'secondary';\n @Prop() disabled?: boolean = false;\n @Prop() href?: string;\n @Prop() name?: string;\n @Prop() size?: 'md' | 'sm';\n @Prop() src?: string;\n @Prop() status?: 'active' | 'warning' | 'inactive';\n @Prop() target?: string;\n\n render() {\n let className = 'xpl-avatar';\n if (this.size) className += ` xpl-avatar--${this.size}`;\n if (this.color) className += ` xpl-avatar--${this.color}`;\n\n const inner = (\n <div>\n {this.src ? (\n <img alt={this.name} src={this.src} />\n ) : (\n <div class=\"xpl-avatar__placeholder\">\n <slot></slot>\n </div>\n )}\n {this.status && (\n <div class={`xpl-avatar__dot--${this.status}`}></div>\n )}\n </div>\n );\n\n return (\n <Host>\n {this.href && !this.disabled ? (\n <a href={this.href} class={className} target={this.target}>\n {inner}\n </a>\n ) : this.href && this.disabled ? (\n <div class={className + ' xpl-avatar--disabled'}>\n {inner}\n </div>\n ) : (\n <div class={className}>{inner}</div>\n )}\n </Host>\n );\n }\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'xpl-badge',\n})\nexport class XplBadge {\n @Prop() dot?: boolean;\n @Prop() variant?: 'success' | 'warning' | 'inactive' | 'error';\n\n render() {\n let className = 'xpl-badge';\n if (this.dot) className += ' xpl-badge--dot';\n if (this.variant) className += ' xpl-badge--' + this.variant;\n\n return (\n <Host>\n <div class={className}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","import { Component, Host, h } from '@stencil/core';\n\n/**\n * @slot unnamed - content rendered inside <li>, should be link or button (styled as link)\n */\n@Component({\n tag: 'xpl-breadcrumb-item',\n})\nexport class XplBreadcrumbItem {\n // This is temporary as we still don't have a xpl-icon component. When that's created we should update this code.\n private chevron = `<svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"chevron-right\" class=\"svg-inline--fa fa-chevron-right fa-w-10\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\">\n <path fill=\"currentColor\" d=\"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z\"></path>\n </svg>\n `;\n\n render() {\n return (\n <Host class=\"xpl-breadcrumb-item\" role=\"listitem\">\n <li role=\"none\">\n <slot></slot>\n </li>\n <span innerHTML={`${this.chevron}`} />\n </Host>\n );\n }\n}\n","import { Component, Host, h } from '@stencil/core';\n\n/**\n * @slot unnamed - content rendered <ol>, should be a group of <li> or <xpl-breadcrumb-item>\n */\n@Component({\n tag: 'xpl-breadcrumbs',\n})\nexport class XplBreadcrumbs {\n render() {\n return (\n <Host>\n <nav class=\"xpl-breadcrumbs\" aria-label=\"Breadcrumb\">\n <ol role=\"list\">\n <slot></slot>\n </ol>\n </nav>\n </Host>\n );\n }\n}\n","import { Component, Element, Host, h, Prop } from '@stencil/core';\n@Component({\n tag: 'xpl-button',\n})\nexport class XplButton {\n @Element() el: HTMLXplButtonElement;\n /**\n * whether button should be disabled\n */\n @Prop() disabled?: boolean;\n /**\n * whether button should yield a slot for a link tag\n */\n @Prop() link?: boolean;\n /**\n * whether button should render icon only\n */\n @Prop() iconOnly?: boolean;\n /**\n * whether button should render with full width\n */\n @Prop() fullWidth?: boolean;\n /**\n * @property {string} - button name attribute\n */\n @Prop() name?: string;\n /**\n * @property {\"default\" | \"sm\" | \"xs\"} - button size\n */\n @Prop() size: 'default' | 'sm' | 'xs' = 'default';\n /**\n * @property {\"submit\" | \"reset\" | \"button\"} - button type attribute\n */\n @Prop() type?: 'submit' | 'reset' | 'button';\n /**\n * @property {string} - button value attribute\n */\n @Prop() value?: string;\n /**\n * @property {\"primary\" | \"secondary\" | \"subtle\"} - button variant\n */\n @Prop() variant: 'primary' | 'secondary' | 'subtle' = 'primary';\n /**\n * @property {\"neutral\" | \"warning\" | \"success\"} - button state (color) neutral=purple, success=green, warning=red\n */\n @Prop() state: 'neutral' | 'warning' | 'success' = 'neutral';\n\n componentDidRender() {\n const attrs = this.el.attributes;\n const dataAttrs = Object.keys(attrs)\n .filter((k) => {\n const propertyName = attrs[k].name;\n if (propertyName) {\n return (\n propertyName.includes('data-test') ||\n propertyName.includes('aria-')\n );\n }\n return false;\n })\n .reduce((acc, k) => {\n return { ...acc, [attrs[k].name]: attrs[k].value };\n }, {});\n\n const child = this.el.querySelector('button');\n Object.keys(dataAttrs).forEach((k) => {\n child.setAttribute(k, dataAttrs[k]);\n this.el.removeAttribute(k);\n });\n }\n\n render() {\n let className = `xpl-button\n xpl-button--${this.size}\n xpl-button--${this.state}\n xpl-button--${this.variant}`;\n if (this.iconOnly) className += ' xpl-button--icon-only';\n if (this.fullWidth) className += ' xpl-button--full-width';\n if (this.link && this.disabled)\n className += ' xpl-button--link-disabled';\n\n return (\n <Host class={className}>\n {\n /**\n * Conditionally render either an <slot> or <button> element\n * depending on if there's an `link` or not\n */\n this.link ? (\n <slot></slot>\n ) : (\n <button\n disabled={this.disabled}\n name={this.name}\n type={this.type}\n value={this.value}\n >\n <slot></slot>\n </button>\n )\n }\n </Host>\n );\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n State,\n Event,\n EventEmitter,\n} from '@stencil/core';\nimport { v4 as uuid } from 'uuid';\n\n@Component({\n tag: 'xpl-checkbox',\n})\nexport class XplCheckbox {\n @Prop() checked?: boolean;\n @Prop() description?: string;\n @Prop() disabled?: boolean;\n @Prop() indeterminate?: boolean;\n @Prop() name?: string;\n @Prop() required?: boolean;\n @Prop() styled?: boolean;\n @Prop() value?: string;\n\n @State() id: string = uuid();\n\n /** @private */\n @Event() checkboxChange: EventEmitter;\n\n private input!: HTMLInputElement;\n\n render() {\n return (\n <Host\n class={{\n 'xpl-checkbox-radio-container': true,\n styled: this.styled,\n disabled: this.disabled,\n }}\n >\n <input\n class=\"xpl-checkbox\"\n type=\"checkbox\"\n checked={this.checked}\n disabled={this.disabled}\n id={this.id}\n indeterminate={this.indeterminate}\n onChange={() =>\n this.checkboxChange.emit(this.input.checked)\n }\n name={this.name}\n ref={(el) => (this.input = el as HTMLInputElement)}\n required={this.required}\n value={this.value}\n ></input>\n <label\n class={{\n 'xpl-label': true,\n 'xpl-label--disabled': this.disabled,\n }}\n htmlFor={this.id}\n >\n <slot></slot>\n {this.description && (\n <small\n class={{\n 'xpl-description': true,\n 'xpl-description--disabled': this.disabled,\n }}\n >\n {this.description}\n </small>\n )}\n </label>\n </Host>\n );\n }\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'xpl-content-area',\n})\nexport class XplContentArea {\n /**\n * @property {string} size - The content-area size.\n */\n @Prop() size: 'wide' | 'narrow' | 'full' = 'wide';\n\n render() {\n return (\n <Host>\n <main\n class={`xpl-content-area-wrapper xpl-content-area-wrapper__${this.size}`}\n >\n <div class=\"xpl-content-area\">\n <slot></slot>\n </div>\n </main>\n </Host>\n );\n }\n}\n","import { Component, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'xpl-dashboard',\n})\nexport class XplDashboard {\n render() {\n return (\n <Host>\n <dl class=\"xpl-dashboard\">\n <slot></slot>\n </dl>\n </Host>\n );\n }\n}\n","import { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\nimport { IconName } from '../xpl-icon/xpl-icon';\n\n@Component({\n tag: 'xpl-data-card',\n})\nexport class XplDataCard {\n @Element() el: HTMLXplDataCardElement;\n /**\n * Whether the card is a link\n */\n @Prop() link?: boolean;\n /**\n * Name Term\n */\n @Prop() name: string;\n /**\n * Detail, stat, or value to be displayed.\n * Will be rendered when card is larger than 441px.\n * Will also appear in the tooltip when shortStat\n * is shown.\n */\n @Prop() stat: string;\n /**\n * Detail, stat, or value to be displayed\n * in short format. Will be rendered when card is\n * smaller than 441px.\n */\n @Prop() shortStat?: string;\n /**\n * Color variant. Used to set the icon\n * color and background.\n */\n @Prop() variant?: 'primary' | 'secondary';\n /**\n * Whether to display the icon or not.\n */\n @Prop() icon?: IconName;\n\n @Watch('stat')\n watchStat(newValue: string) {\n this.stat = newValue;\n }\n\n @Watch('shortStat')\n watchShortStat(newValue: string) {\n this.shortStat = newValue;\n }\n\n componentDidLoad() {\n if (this.link) {\n const anchorEl =\n this.el.getElementsByTagName('a')[0] ||\n this.el.getElementsByTagName('button')[0];\n const anchorText = document.createTextNode(this.name);\n const anchorSpan = document.createElement('span');\n anchorSpan.appendChild(anchorText);\n\n anchorEl.setAttribute('class', 'xpl-data-card__anchor');\n anchorEl.appendChild(anchorSpan);\n }\n return;\n }\n\n render() {\n const bgColorHue = this.variant === 'secondary' ? 'purple' : 'orange';\n let headerClasses = `xpl-data-card__header${\n !this.icon ? '--no-icon ' : ' '\n }`;\n headerClasses +=\n this.variant === 'secondary'\n ? 'xpl-data-card__header--secondary'\n : 'xpl-data-card__header--primary';\n return (\n <Host\n role=\"group\"\n class={`xpl-data-card ${this.link && 'xpl-data-card__link'}`}\n tabindex=\"0\"\n >\n {this.link &&\n (this.shortStat ? (\n <abbr title={this.stat}>\n <slot></slot>\n </abbr>\n ) : (\n <slot></slot>\n ))}\n <dt>{this.name}</dt>\n <dd>\n <div class={headerClasses}>\n {!!this.icon && (\n <xpl-icon\n icon={this.icon}\n background-color={bgColorHue}\n size={20}\n ></xpl-icon>\n )}\n {this.link && (\n <span class=\"xpl-data-card__header__arrow\">\n <xpl-icon\n icon=\"chevron-right\"\n size={16}\n ></xpl-icon>\n </span>\n )}\n </div>\n <span class={this.shortStat && 'xpl-data-card__long_stat'}>\n {this.stat}\n </span>\n {this.shortStat && (\n <span class=\"xpl-data-card__short_stat\">\n <abbr title={this.stat}>{this.shortStat}</abbr>\n </span>\n )}\n </dd>\n </Host>\n );\n }\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","const data = require('./build/data.json')\nconst objectAssign = require('object-assign')\n\nconst DEFAULT_HEIGHT = 16\n\nfor (const key of Object.keys(data)) {\n // Returns a string representation of html attributes\n const htmlAttributes = (icon, defaultOptions, options) => {\n const attributes = []\n const attrObj = objectAssign({}, defaultOptions, options)\n\n // If the user passed in options\n if (options) {\n // If any of the width or height is passed in\n if (options['width'] || options['height']) {\n attrObj['width'] = options['width']\n ? options['width']\n : (parseInt(options['height']) * defaultOptions['width']) / defaultOptions['height']\n attrObj['height'] = options['height']\n ? options['height']\n : (parseInt(options['width']) * defaultOptions['height']) / defaultOptions['width']\n }\n\n // If the user passed in class\n if (options['class']) {\n attrObj['class'] = `octicon octicon-${key} ${options['class']}`\n attrObj['class'].trim()\n }\n\n // If the user passed in aria-label\n if (options['aria-label']) {\n attrObj['aria-label'] = options['aria-label']\n attrObj['role'] = 'img'\n\n // Un-hide the icon\n delete attrObj['aria-hidden']\n }\n }\n\n for (const option of Object.keys(attrObj)) {\n attributes.push(`${option}=\"${attrObj[option]}\"`)\n }\n\n return attributes.join(' ').trim()\n }\n\n // Set the symbol for easy access\n data[key].symbol = key\n\n // Set options for each icon height\n for (const height of Object.keys(data[key].heights)) {\n data[key].heights[height].options = {\n version: '1.1',\n width: data[key].heights[height].width,\n height: parseInt(height),\n viewBox: `0 0 ${data[key].heights[height].width} ${height}`,\n class: `octicon octicon-${key}`,\n 'aria-hidden': 'true'\n }\n }\n\n // Function to return an SVG object\n data[key].toSVG = function (options = {}) {\n const {height, width} = options\n const naturalHeight = closestNaturalHeight(Object.keys(data[key].heights), height || width || DEFAULT_HEIGHT)\n return `<svg ${htmlAttributes(data[key], data[key].heights[naturalHeight].options, options)}>${\n data[key].heights[naturalHeight].path\n }</svg>`\n }\n}\n\n// Import data into exports\nmodule.exports = data\n\nfunction closestNaturalHeight(naturalHeights, height) {\n return naturalHeights\n .map(naturalHeight => parseInt(naturalHeight, 10))\n .reduce((acc, naturalHeight) => (naturalHeight <= height ? naturalHeight : acc), naturalHeights[0])\n}\n",".xpl-icon {\n align-items: center;\n display: grid;\n justify-content: center;\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\nimport octicons from '@xplortech/apollo-icons';\nimport data from '@xplortech/apollo-icons/build/data.json';\n\nexport type IconName = keyof typeof data;\n\ninterface Options {\n class?: string;\n height?: number;\n width?: number;\n}\n\n@Component({\n tag: 'xpl-icon',\n styleUrl: 'xpl-icon.css',\n})\nexport class XplIcon {\n /**\n * Name of icon\n */\n @Prop() icon: IconName;\n /**\n * Size of icon\n */\n @Prop() size?: number;\n /**\n * Icon's background color.\n */\n @Prop() backgroundColor?: string;\n\n render() {\n let options: Options = {};\n if (typeof this.size === 'number')\n options = { width: this.size, height: this.size };\n let wrapperClasses = 'xpl-icon__wrapper ';\n if (!!this.backgroundColor)\n wrapperClasses += `xpl-icon__wrapper--with-background xpl-icon__wrapper--with-background--${this.backgroundColor}`;\n\n return (\n <Host>\n <figure class={wrapperClasses}>\n <span\n aria-label={this.icon}\n role=\"img\"\n class=\"xpl-icon\"\n style={{\n width: `${this.size}px`,\n height: `${this.size}px`,\n }}\n innerHTML={octicons[this.icon].toSVG(options)}\n />\n <figcaption>{this.icon} icon</figcaption>\n </figure>\n </Host>\n );\n }\n}\n","import { Component, Event, EventEmitter, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'xpl-nav-item',\n})\nexport class XplNavItem {\n /**\n * @property {boolean} - Whether or not the item should control the main nav state on click\n */\n @Prop() navControl?: boolean = false;\n\n /**\n * @event {boolean} - Emits the desired state of the navigation bar (open: true/false)\n */\n @Event() navOpen: EventEmitter<boolean>;\n\n private onNavToggle() {\n if (window.innerWidth <= 640) {\n this.navOpen.emit(false);\n }\n }\n\n render() {\n return (\n <Host\n class=\"xpl-nav-item\"\n role=\"listitem\"\n onClick={() => {\n if (this.navControl) {\n this.onNavToggle();\n }\n }}\n >\n <slot name=\"link\">\n <slot name=\"icon\"></slot>\n <slot></slot>\n </slot>\n </Host>\n );\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n State,\n Event,\n EventEmitter,\n} from '@stencil/core';\nimport { v4 as uuid } from 'uuid';\n\n@Component({\n tag: 'xpl-radio',\n})\nexport class XplRadio {\n @Prop() checked?: boolean;\n @Prop() description?: string;\n @Prop() disabled?: boolean;\n @Prop() name?: string;\n @Prop() required?: boolean;\n @Prop() styled?: boolean;\n @Prop() value?: string;\n\n @State() id: string = uuid();\n\n /** @private */\n @Event() radioChange: EventEmitter;\n\n render() {\n return (\n <Host\n class={{\n 'xpl-checkbox-radio-container': true,\n styled: this.styled,\n disabled: this.disabled,\n }}\n >\n <input\n class=\"xpl-radio\"\n type=\"radio\"\n checked={this.checked}\n disabled={this.disabled}\n id={this.id}\n name={this.name}\n required={this.required}\n value={this.value}\n onChange={() => this.radioChange.emit(true)}\n ></input>\n <label\n class={{\n 'xpl-label': true,\n 'xpl-label--disabled': this.disabled,\n }}\n htmlFor={this.id}\n >\n <slot></slot>\n {this.description && (\n <small\n class={{\n 'xpl-description': true,\n 'xpl-description--disabled': this.disabled,\n }}\n >\n {this.description}\n </small>\n )}\n </label>\n </Host>\n );\n }\n}\n","import { Component, Host, h } from '@stencil/core';\n\n@Component({\n tag: 'xpl-secondary-nav',\n})\nexport class XplSecondaryNav {\n render() {\n return (\n <Host class=\"xpl-secondary-nav\">\n <nav aria-label=\"Secondary Nav\">\n <slot></slot>\n </nav>\n </Host>\n );\n }\n}\n","import {\n Component,\n Host,\n Prop,\n State,\n Element,\n Event,\n EventEmitter,\n h,\n Watch,\n} from '@stencil/core';\n\n@Component({\n tag: 'xpl-table',\n})\nexport class XplTable {\n @Element() el: HTMLXplTableElement;\n /**\n * The header values for each column.\n */\n @Prop() columns?: string[];\n /**\n * The data for the body of the table.\n */\n @Prop() data?: string[][];\n /**\n * When true, the first column of the table is sticky and will cover the leftmost rows in a horizontally scrollable container.\n */\n @Prop() freeze?: boolean;\n /**\n * Toggles a selectable checkbox for each row in the table\n */\n @Prop() multiselect?: boolean;\n /**\n * Toggles an optional styling of the background of each even row of the table body.\n */\n @Prop() striped?: boolean;\n /**\n * The values for the input for each row when multiselect is activated.\n */\n @Prop() selectedValues?: string[] = [];\n\n @State() areAllSelected: boolean = false;\n @State() rowData: string[][];\n @State() hasScrolled: boolean = false;\n @State() selected: (string | boolean)[];\n\n @Event() tableSelect: EventEmitter;\n\n private selectAllValue = Math.random().toString(36).slice(2);\n\n private container!: HTMLDivElement;\n\n private selectAll = (e: Event) => {\n const { target } = e;\n\n if (!(target instanceof HTMLInputElement)) return;\n\n const { checked } = target;\n\n this.areAllSelected = checked;\n\n this.selected =\n this.selectedValues.length > 0\n ? // gets all checkboxes in body\n Array.from(\n this.el.querySelectorAll('tbody td:first-child input')\n ).map((input: HTMLInputElement) =>\n // if the select all checkbox is checked, return\n // the value from the current input. If false, set all to false.\n checked ? input?.value : checked\n )\n : this.selected.map(() => checked);\n this.onChange();\n };\n\n private selectOne = (e: Event, checkboxIdx: number) => {\n const { target } = e;\n if (!(target instanceof HTMLInputElement)) return;\n\n const { checked, value } = target;\n\n this.areAllSelected = false;\n this.selected = this.selected.map((v, selectedIdx) => {\n // if the checkbox that fired the event is not the current idx\n // return the current value\n if (selectedIdx !== checkboxIdx) return v;\n\n /**\n * If there are values in this.selectedValues, either return the value\n * for that checkbox or false, dependent on if the checkbox is checked or not.\n * If there are no values in this.selectedValues, return the value\n * to either true or false, dependent on if the checkbox is checked or not.\n *\n */\n return this.selectedValues.length > 0\n ? checked\n ? value\n : checked\n : checked;\n });\n this.onChange();\n };\n\n private onChange = () => {\n this.tableSelect.emit({\n selected: this.selected,\n areAllSelected: this.areAllSelected,\n });\n };\n\n private onScroll = () => {\n this.hasScrolled = this.container.scrollLeft > 0;\n };\n\n /**\n * TODO: Need to figure out how this interplays with data\n * received from an API/server\n */\n // private sortBy = (col: number, ascending = true) => {\n // this.rowData.sort((a, b) => {\n // const A = a[col];\n // const B = b[col];\n // if (typeof A === 'number' && typeof B === 'number') {\n // const f = ascending ? 1 : -1;\n // return A > B ? f : -f;\n // }\n // return -1;\n // });\n // this.rowData = Array.from(this.rowData);\n // this.render();\n // };\n\n private setData = () => {\n this.rowData = this.data !== undefined ? Array.from(this.data) : [];\n };\n\n @Watch('data')\n watchData() {\n this.setData();\n }\n\n componentWillLoad() {\n this.areAllSelected = false;\n this.setData();\n this.selected = new Array(this.rowData.length).fill(false);\n }\n\n render() {\n let className = 'xpl-table';\n if (this.striped) className += ' xpl-table--striped';\n if (this.freeze) className += ' xpl-table--freeze';\n if (this.hasScrolled) className += ' xpl-table--has-scrolled';\n\n return (\n <Host>\n <div\n class=\"xpl-table-container\"\n onScroll={this.onScroll}\n ref={(el) => (this.container = el as HTMLDivElement)}\n >\n <table class={className}>\n {this.columns && (\n <thead>\n {this.columns.map((column, i) => {\n return (\n <th>\n {this.multiselect && i === 0 ? (\n <label htmlFor=\"__xpl-table-th\">\n <input\n checked={\n this.areAllSelected\n }\n id=\"__xpl-table-th\"\n // appear indeterminate when at least one but not all\n // are selected\n indeterminate={\n !this\n .areAllSelected &&\n this.selected.some(\n (a) => a\n )\n }\n onChange={(e) => {\n this.selectAll(e);\n }}\n type=\"checkbox\"\n value={`select-all-${this.selectAllValue}`}\n />\n {column}\n </label>\n ) : (\n column\n )}\n </th>\n );\n })}\n </thead>\n )}\n <tbody>\n {this.rowData.map((row, rowNum) => {\n return (\n <tr\n class={\n this.selected &&\n this.selected[rowNum]\n ? 'xpl-table-row-selected'\n : ''\n }\n >\n {row.map((cell, i) => {\n return (\n <td>\n {this.multiselect &&\n i === 0 ? (\n <label\n htmlFor={\n '__xpl-table-row-' +\n rowNum\n }\n >\n <input\n id={\n '__xpl-table-row-' +\n rowNum\n }\n checked={\n !!this\n .selected[\n rowNum\n ]\n }\n type=\"checkbox\"\n onChange={(e) =>\n this.selectOne(\n e,\n rowNum\n )\n }\n value={`${\n this\n .selectedValues\n .length >\n 0\n ? this\n .selectedValues[\n rowNum\n ]\n : `xpl-table-checkbox-${rowNum}`\n }`}\n />\n <div\n innerHTML={cell}\n />\n </label>\n ) : (\n <div innerHTML={cell} />\n )}\n </td>\n );\n })}\n </tr>\n );\n })}\n </tbody>\n </table>\n </div>\n </Host>\n );\n }\n}\n","import {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\n\n@Component({\n tag: 'xpl-utility-bar',\n})\nexport class XplUtilityBar {\n /**\n * @event {boolean} - Emits the desired state of the navigation bar (open: true/false)\n */\n @Event() navOpen: EventEmitter<boolean>;\n\n /**\n * @property {boolean} - whether or not to show the bars to control the state of the navigation bar (open/close)\n */\n @Prop() navControl?: boolean;\n\n /**\n * @property {boolean} - Optional property that defines whether or not the main nav is open at startup.\n */\n @Prop() isNavOpenAtStartup?: boolean;\n\n @State() open: boolean = true;\n\n private onNavToggle() {\n this.open = !this.open;\n this.navOpen.emit(this.open);\n }\n\n componentWillLoad() {\n this.open =\n this.isNavOpenAtStartup !== undefined\n ? this.isNavOpenAtStartup\n : this.open;\n }\n render() {\n return (\n <Host>\n <nav\n aria-label=\"utility navigation bar\"\n class=\"xpl-utility-bar\"\n >\n {this.navControl ? (\n <div>\n <button\n class=\"xpl-utility-bar__nav-control\"\n onClick={() => this.onNavToggle()}\n >\n <xpl-icon\n class=\"xpl-utility-nav__bars\"\n icon=\"three-bars\"\n ></xpl-icon>\n </button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yK,eACApD,OACL,EACMrH,KACKyK,eACDyB,GAEJ,sBAAsBA,QAGpC9L,EAAA,OACIkB,UAAW6K,KAInB/L,EAAA,OAAKkB,UAAW6K,a,kFCnP3DC,GAAa,M,gIAgBG,I,CAEjB/C,cACJrJ,KAAKqM,MAAQrM,KAAKqM,KAClBrM,KAAKwJ,QAAQ9F,KAAK1D,KAAKqM,K,CAG3Bb,oBACIxL,KAAKqM,KACDrM,KAAKsM,qBAAuBzG,UACtB7F,KAAKsM,mBACLtM,KAAKqM,I,CAEnBvM,SACI,OACIM,EAACM,EAAI,KACDN,EAAA,oBACe,yBACXI,MAAM,mBAELR,KAAK0J,WACFtJ,EAAA,WACIA,EAAA,UACII,MAAM,+BACNiJ,QAAS,IAAMzJ,KAAKqJ,eAEpBjJ,EAAA,YACII,MAAM,wBACN2E,KAAK,gBAGb/E,EAAA,QAAMG,KAAK,WAGfH,EAAA,QAAMG,KAAK,UAEfH,EAAA,QAAMG,KAAK,U"}
@@ -20,7 +20,7 @@ const patchBrowser = () => {
20
20
  };
21
21
 
22
22
  patchBrowser().then(options => {
23
- return index.bootstrapLazy([["xpl-select.cjs",[[0,"xpl-select",{"choices":[16],"description":[1],"disabled":[4],"error":[1],"label":[1],"mode":[1],"name":[1],"placeholder":[1],"truncate":[4],"selectedValues":[1,"selected-values"],"active":[32],"id":[32],"keepFocus":[32],"selected":[32],"value":[32],"displayValue":[32],"visibleChoices":[32]}]]],["xpl-application-shell.cjs",[[4,"xpl-application-shell",{"withSubnav":[4,"with-subnav"],"withUtility":[4,"with-utility"],"navWidth":[1,"nav-width"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"navOpen":[32]},[[0,"navOpen","navToggleHandler"],[0,"navWidth","navWithHandler"],[9,"resize","onWindowResize"]]]]],["xpl-avatar_15.cjs",[[4,"xpl-data-card",{"link":[4],"name":[1],"stat":[1],"shortStat":[1,"short-stat"],"variant":[1],"icon":[1]}],[4,"xpl-utility-bar",{"navControl":[4,"nav-control"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"open":[32]}],[4,"xpl-breadcrumb-item"],[4,"xpl-breadcrumbs"],[4,"xpl-content-area",{"size":[1]}],[4,"xpl-dashboard"],[4,"xpl-nav-item",{"navControl":[4,"nav-control"]}],[4,"xpl-secondary-nav"],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"selectValues":[16],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}],[4,"xpl-avatar",{"color":[1],"disabled":[4],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"target":[1]}],[4,"xpl-badge",{"dot":[4],"variant":[1]}],[4,"xpl-button",{"disabled":[4],"link":[4],"iconOnly":[4,"icon-only"],"fullWidth":[4,"full-width"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[1],"state":[1]}],[4,"xpl-checkbox",{"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"required":[4],"styled":[4],"value":[1],"id":[32]}],[4,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"required":[4],"styled":[4],"value":[1],"id":[32]}],[0,"xpl-icon",{"icon":[1],"size":[2],"backgroundColor":[1,"background-color"]}]]],["xpl-list.cjs",[[0,"xpl-list",{"items":[16]}]]],["xpl-choicelist.cjs",[[0,"xpl-choicelist",{"choices":[16],"description":[1],"heading":[1],"multi":[4],"name":[1],"styled":[4],"selected":[32]}]]],["xpl-button-row.cjs",[[0,"xpl-button-row",{"primary":[1],"secondary":[1],"tertiary":[1]}]]],["xpl-input.cjs",[[0,"xpl-input",{"_id":[1],"autocomplete":[1],"dateFormat":[1,"date-format"],"description":[1],"disabled":[4],"error":[1],"label":[1],"max":[8],"maxCharacterCount":[2,"max-character-count"],"min":[8],"mode":[1],"multiline":[4],"name":[1],"placeholder":[1],"post":[1],"pre":[1],"readonly":[4],"required":[4],"step":[2],"type":[1],"value":[1],"characterCount":[32],"passwordVisible":[32]}]]],["xpl-divider.cjs",[[4,"xpl-divider",{"tier":[2]}]]],["xpl-grid.cjs",[[0,"xpl-grid"]]],["xpl-grid-item.cjs",[[4,"xpl-grid-item",{"xs":[2],"sm":[2],"md":[2],"lg":[2]}]]],["xpl-main-nav.cjs",[[4,"xpl-main-nav",{"width":[1]}]]],["xpl-pagination.cjs",[[0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32],"goto":[64]}]]],["xpl-toggle.cjs",[[0,"xpl-toggle",{"checked":[4],"description":[1],"disabled":[4],"heading":[1],"label":[1],"name":[1],"variant":[1],"id":[32]}]]],["xpl-backdrop.cjs",[[0,"xpl-backdrop",{"relative":[4]}]]],["xpl-dropdown-group_3.cjs",[[4,"xpl-dropdown-group",{"groupName":[1,"label"],"options":[16]}],[4,"xpl-dropdown-heading",{"label":[1]}],[4,"xpl-dropdown-option",{"isDisabled":[516,"disabled"],"label":[1],"value":[1],"isSelected":[4,"selected"]}]]],["xpl-dropdown_2.cjs",[[4,"xpl-dropdown",{"isOpen":[1540,"open"],"closeOnSelect":[4,"close-on-select"],"mode":[1],"options":[16],"selectOnFocus":[4,"select-on-focus"],"triggerId":[1,"trigger-id"],"update":[16],"handleSelect":[64]}],[4,"xpl-tag"]]]], options);
23
+ return index.bootstrapLazy([["xpl-select.cjs",[[0,"xpl-select",{"choices":[16],"description":[1],"disabled":[4],"error":[1],"label":[1],"mode":[1],"name":[1],"placeholder":[1],"truncate":[4],"selectedValues":[1,"selected-values"],"active":[32],"id":[32],"keepFocus":[32],"selected":[32],"value":[32],"displayValue":[32],"visibleChoices":[32]}]]],["xpl-application-shell.cjs",[[4,"xpl-application-shell",{"withSubnav":[4,"with-subnav"],"withUtility":[4,"with-utility"],"navWidth":[1,"nav-width"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"navOpen":[32]},[[0,"navOpen","navToggleHandler"],[0,"navWidth","navWithHandler"],[9,"resize","onWindowResize"]]]]],["xpl-avatar_15.cjs",[[4,"xpl-data-card",{"link":[4],"name":[1],"stat":[1],"shortStat":[1,"short-stat"],"variant":[1],"icon":[1]}],[4,"xpl-utility-bar",{"navControl":[4,"nav-control"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"open":[32]}],[4,"xpl-breadcrumb-item"],[4,"xpl-breadcrumbs"],[4,"xpl-content-area",{"size":[1]}],[4,"xpl-dashboard"],[4,"xpl-nav-item",{"navControl":[4,"nav-control"]}],[4,"xpl-secondary-nav"],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"selectedValues":[16],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}],[4,"xpl-avatar",{"color":[1],"disabled":[4],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"target":[1]}],[4,"xpl-badge",{"dot":[4],"variant":[1]}],[4,"xpl-button",{"disabled":[4],"link":[4],"iconOnly":[4,"icon-only"],"fullWidth":[4,"full-width"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[1],"state":[1]}],[4,"xpl-checkbox",{"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"required":[4],"styled":[4],"value":[1],"id":[32]}],[4,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"required":[4],"styled":[4],"value":[1],"id":[32]}],[0,"xpl-icon",{"icon":[1],"size":[2],"backgroundColor":[1,"background-color"]}]]],["xpl-list.cjs",[[0,"xpl-list",{"items":[16]}]]],["xpl-choicelist.cjs",[[0,"xpl-choicelist",{"choices":[16],"description":[1],"heading":[1],"multi":[4],"name":[1],"styled":[4],"selected":[32]}]]],["xpl-button-row.cjs",[[0,"xpl-button-row",{"primary":[1],"secondary":[1],"tertiary":[1]}]]],["xpl-input.cjs",[[0,"xpl-input",{"_id":[1],"autocomplete":[1],"dateFormat":[1,"date-format"],"description":[1],"disabled":[4],"error":[1],"label":[1],"max":[8],"maxCharacterCount":[2,"max-character-count"],"min":[8],"mode":[1],"multiline":[4],"name":[1],"placeholder":[1],"post":[1],"pre":[1],"readonly":[4],"required":[4],"step":[2],"type":[1],"value":[1],"characterCount":[32],"passwordVisible":[32]}]]],["xpl-divider.cjs",[[4,"xpl-divider",{"tier":[2]}]]],["xpl-grid.cjs",[[0,"xpl-grid"]]],["xpl-grid-item.cjs",[[4,"xpl-grid-item",{"xs":[2],"sm":[2],"md":[2],"lg":[2]}]]],["xpl-main-nav.cjs",[[4,"xpl-main-nav",{"width":[1]}]]],["xpl-pagination.cjs",[[0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32],"goto":[64]}]]],["xpl-toggle.cjs",[[0,"xpl-toggle",{"checked":[4],"description":[1],"disabled":[4],"heading":[1],"label":[1],"name":[1],"variant":[1],"id":[32]}]]],["xpl-backdrop.cjs",[[0,"xpl-backdrop",{"relative":[4]}]]],["xpl-dropdown-group_3.cjs",[[4,"xpl-dropdown-group",{"groupName":[1,"label"],"options":[16]}],[4,"xpl-dropdown-heading",{"label":[1]}],[4,"xpl-dropdown-option",{"isDisabled":[516,"disabled"],"label":[1],"value":[1],"isSelected":[4,"selected"]}]]],["xpl-dropdown_2.cjs",[[4,"xpl-dropdown",{"isOpen":[1540,"open"],"closeOnSelect":[4,"close-on-select"],"mode":[1],"options":[16],"selectOnFocus":[4,"select-on-focus"],"triggerId":[1,"trigger-id"],"update":[16],"handleSelect":[64]}],[4,"xpl-tag"]]]], options);
24
24
  });
25
25
 
26
26
  exports.setNonce = index.setNonce;
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["xpl-select.cjs",[[0,"xpl-select",{"choices":[16],"description":[1],"disabled":[4],"error":[1],"label":[1],"mode":[1],"name":[1],"placeholder":[1],"truncate":[4],"selectedValues":[1,"selected-values"],"active":[32],"id":[32],"keepFocus":[32],"selected":[32],"value":[32],"displayValue":[32],"visibleChoices":[32]}]]],["xpl-application-shell.cjs",[[4,"xpl-application-shell",{"withSubnav":[4,"with-subnav"],"withUtility":[4,"with-utility"],"navWidth":[1,"nav-width"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"navOpen":[32]},[[0,"navOpen","navToggleHandler"],[0,"navWidth","navWithHandler"],[9,"resize","onWindowResize"]]]]],["xpl-avatar_15.cjs",[[4,"xpl-data-card",{"link":[4],"name":[1],"stat":[1],"shortStat":[1,"short-stat"],"variant":[1],"icon":[1]}],[4,"xpl-utility-bar",{"navControl":[4,"nav-control"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"open":[32]}],[4,"xpl-breadcrumb-item"],[4,"xpl-breadcrumbs"],[4,"xpl-content-area",{"size":[1]}],[4,"xpl-dashboard"],[4,"xpl-nav-item",{"navControl":[4,"nav-control"]}],[4,"xpl-secondary-nav"],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"selectValues":[16],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}],[4,"xpl-avatar",{"color":[1],"disabled":[4],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"target":[1]}],[4,"xpl-badge",{"dot":[4],"variant":[1]}],[4,"xpl-button",{"disabled":[4],"link":[4],"iconOnly":[4,"icon-only"],"fullWidth":[4,"full-width"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[1],"state":[1]}],[4,"xpl-checkbox",{"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"required":[4],"styled":[4],"value":[1],"id":[32]}],[4,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"required":[4],"styled":[4],"value":[1],"id":[32]}],[0,"xpl-icon",{"icon":[1],"size":[2],"backgroundColor":[1,"background-color"]}]]],["xpl-list.cjs",[[0,"xpl-list",{"items":[16]}]]],["xpl-choicelist.cjs",[[0,"xpl-choicelist",{"choices":[16],"description":[1],"heading":[1],"multi":[4],"name":[1],"styled":[4],"selected":[32]}]]],["xpl-button-row.cjs",[[0,"xpl-button-row",{"primary":[1],"secondary":[1],"tertiary":[1]}]]],["xpl-input.cjs",[[0,"xpl-input",{"_id":[1],"autocomplete":[1],"dateFormat":[1,"date-format"],"description":[1],"disabled":[4],"error":[1],"label":[1],"max":[8],"maxCharacterCount":[2,"max-character-count"],"min":[8],"mode":[1],"multiline":[4],"name":[1],"placeholder":[1],"post":[1],"pre":[1],"readonly":[4],"required":[4],"step":[2],"type":[1],"value":[1],"characterCount":[32],"passwordVisible":[32]}]]],["xpl-divider.cjs",[[4,"xpl-divider",{"tier":[2]}]]],["xpl-grid.cjs",[[0,"xpl-grid"]]],["xpl-grid-item.cjs",[[4,"xpl-grid-item",{"xs":[2],"sm":[2],"md":[2],"lg":[2]}]]],["xpl-main-nav.cjs",[[4,"xpl-main-nav",{"width":[1]}]]],["xpl-pagination.cjs",[[0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32],"goto":[64]}]]],["xpl-toggle.cjs",[[0,"xpl-toggle",{"checked":[4],"description":[1],"disabled":[4],"heading":[1],"label":[1],"name":[1],"variant":[1],"id":[32]}]]],["xpl-backdrop.cjs",[[0,"xpl-backdrop",{"relative":[4]}]]],["xpl-dropdown-group_3.cjs",[[4,"xpl-dropdown-group",{"groupName":[1,"label"],"options":[16]}],[4,"xpl-dropdown-heading",{"label":[1]}],[4,"xpl-dropdown-option",{"isDisabled":[516,"disabled"],"label":[1],"value":[1],"isSelected":[4,"selected"]}]]],["xpl-dropdown_2.cjs",[[4,"xpl-dropdown",{"isOpen":[1540,"open"],"closeOnSelect":[4,"close-on-select"],"mode":[1],"options":[16],"selectOnFocus":[4,"select-on-focus"],"triggerId":[1,"trigger-id"],"update":[16],"handleSelect":[64]}],[4,"xpl-tag"]]]], options);
17
+ return index.bootstrapLazy([["xpl-select.cjs",[[0,"xpl-select",{"choices":[16],"description":[1],"disabled":[4],"error":[1],"label":[1],"mode":[1],"name":[1],"placeholder":[1],"truncate":[4],"selectedValues":[1,"selected-values"],"active":[32],"id":[32],"keepFocus":[32],"selected":[32],"value":[32],"displayValue":[32],"visibleChoices":[32]}]]],["xpl-application-shell.cjs",[[4,"xpl-application-shell",{"withSubnav":[4,"with-subnav"],"withUtility":[4,"with-utility"],"navWidth":[1,"nav-width"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"navOpen":[32]},[[0,"navOpen","navToggleHandler"],[0,"navWidth","navWithHandler"],[9,"resize","onWindowResize"]]]]],["xpl-avatar_15.cjs",[[4,"xpl-data-card",{"link":[4],"name":[1],"stat":[1],"shortStat":[1,"short-stat"],"variant":[1],"icon":[1]}],[4,"xpl-utility-bar",{"navControl":[4,"nav-control"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"open":[32]}],[4,"xpl-breadcrumb-item"],[4,"xpl-breadcrumbs"],[4,"xpl-content-area",{"size":[1]}],[4,"xpl-dashboard"],[4,"xpl-nav-item",{"navControl":[4,"nav-control"]}],[4,"xpl-secondary-nav"],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"selectedValues":[16],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}],[4,"xpl-avatar",{"color":[1],"disabled":[4],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"target":[1]}],[4,"xpl-badge",{"dot":[4],"variant":[1]}],[4,"xpl-button",{"disabled":[4],"link":[4],"iconOnly":[4,"icon-only"],"fullWidth":[4,"full-width"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[1],"state":[1]}],[4,"xpl-checkbox",{"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"required":[4],"styled":[4],"value":[1],"id":[32]}],[4,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"required":[4],"styled":[4],"value":[1],"id":[32]}],[0,"xpl-icon",{"icon":[1],"size":[2],"backgroundColor":[1,"background-color"]}]]],["xpl-list.cjs",[[0,"xpl-list",{"items":[16]}]]],["xpl-choicelist.cjs",[[0,"xpl-choicelist",{"choices":[16],"description":[1],"heading":[1],"multi":[4],"name":[1],"styled":[4],"selected":[32]}]]],["xpl-button-row.cjs",[[0,"xpl-button-row",{"primary":[1],"secondary":[1],"tertiary":[1]}]]],["xpl-input.cjs",[[0,"xpl-input",{"_id":[1],"autocomplete":[1],"dateFormat":[1,"date-format"],"description":[1],"disabled":[4],"error":[1],"label":[1],"max":[8],"maxCharacterCount":[2,"max-character-count"],"min":[8],"mode":[1],"multiline":[4],"name":[1],"placeholder":[1],"post":[1],"pre":[1],"readonly":[4],"required":[4],"step":[2],"type":[1],"value":[1],"characterCount":[32],"passwordVisible":[32]}]]],["xpl-divider.cjs",[[4,"xpl-divider",{"tier":[2]}]]],["xpl-grid.cjs",[[0,"xpl-grid"]]],["xpl-grid-item.cjs",[[4,"xpl-grid-item",{"xs":[2],"sm":[2],"md":[2],"lg":[2]}]]],["xpl-main-nav.cjs",[[4,"xpl-main-nav",{"width":[1]}]]],["xpl-pagination.cjs",[[0,"xpl-pagination",{"total":[2],"perPage":[2,"per-page"],"waitForCallback":[4,"wait-for-callback"],"current":[32],"goto":[64]}]]],["xpl-toggle.cjs",[[0,"xpl-toggle",{"checked":[4],"description":[1],"disabled":[4],"heading":[1],"label":[1],"name":[1],"variant":[1],"id":[32]}]]],["xpl-backdrop.cjs",[[0,"xpl-backdrop",{"relative":[4]}]]],["xpl-dropdown-group_3.cjs",[[4,"xpl-dropdown-group",{"groupName":[1,"label"],"options":[16]}],[4,"xpl-dropdown-heading",{"label":[1]}],[4,"xpl-dropdown-option",{"isDisabled":[516,"disabled"],"label":[1],"value":[1],"isSelected":[4,"selected"]}]]],["xpl-dropdown_2.cjs",[[4,"xpl-dropdown",{"isOpen":[1540,"open"],"closeOnSelect":[4,"close-on-select"],"mode":[1],"options":[16],"selectOnFocus":[4,"select-on-focus"],"triggerId":[1,"trigger-id"],"update":[16],"handleSelect":[64]}],[4,"xpl-tag"]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -2111,18 +2111,39 @@ const XplTable = class {
2111
2111
  const { checked } = target;
2112
2112
  this.areAllSelected = checked;
2113
2113
  this.selected =
2114
- this.selectValues.length > 0
2115
- ? Array.from(this.el.querySelectorAll('tbody td:first-child input')).map((input) => checked ? input === null || input === void 0 ? void 0 : input.value : checked)
2114
+ this.selectedValues.length > 0
2115
+ ? // gets all checkboxes in body
2116
+ Array.from(this.el.querySelectorAll('tbody td:first-child input')).map((input) =>
2117
+ // if the select all checkbox is checked, return
2118
+ // the value from the current input. If false, set all to false.
2119
+ checked ? input === null || input === void 0 ? void 0 : input.value : checked)
2116
2120
  : this.selected.map(() => checked);
2117
2121
  this.onChange();
2118
2122
  };
2119
- this.selectOne = (e, i) => {
2123
+ this.selectOne = (e, checkboxIdx) => {
2120
2124
  const { target } = e;
2121
2125
  if (!(target instanceof HTMLInputElement))
2122
2126
  return;
2123
2127
  const { checked, value } = target;
2124
2128
  this.areAllSelected = false;
2125
- this.selected = this.selected.map((v, _i) => _i === i ? (this.selectValues.length > 0 ? value : checked) : v);
2129
+ this.selected = this.selected.map((v, selectedIdx) => {
2130
+ // if the checkbox that fired the event is not the current idx
2131
+ // return the current value
2132
+ if (selectedIdx !== checkboxIdx)
2133
+ return v;
2134
+ /**
2135
+ * If there are values in this.selectedValues, either return the value
2136
+ * for that checkbox or false, dependent on if the checkbox is checked or not.
2137
+ * If there are no values in this.selectedValues, return the value
2138
+ * to either true or false, dependent on if the checkbox is checked or not.
2139
+ *
2140
+ */
2141
+ return this.selectedValues.length > 0
2142
+ ? checked
2143
+ ? value
2144
+ : checked
2145
+ : checked;
2146
+ });
2126
2147
  this.onChange();
2127
2148
  };
2128
2149
  this.onChange = () => {
@@ -2159,7 +2180,7 @@ const XplTable = class {
2159
2180
  this.freeze = undefined;
2160
2181
  this.multiselect = undefined;
2161
2182
  this.striped = undefined;
2162
- this.selectValues = [];
2183
+ this.selectedValues = [];
2163
2184
  this.areAllSelected = false;
2164
2185
  this.rowData = undefined;
2165
2186
  this.hasScrolled = false;
@@ -2200,11 +2221,11 @@ const XplTable = class {
2200
2221
  rowNum }, index.h("input", { id: '__xpl-table-row-' +
2201
2222
  rowNum, checked: !!this
2202
2223
  .selected[rowNum], type: "checkbox", onChange: (e) => this.selectOne(e, rowNum), value: `${this
2203
- .selectValues
2224
+ .selectedValues
2204
2225
  .length >
2205
2226
  0
2206
2227
  ? this
2207
- .selectValues[rowNum]
2228
+ .selectedValues[rowNum]
2208
2229
  : `xpl-table-checkbox-${rowNum}`}` }), index.h("div", { innerHTML: cell }))) : (index.h("div", { innerHTML: cell }))));
2209
2230
  })));
2210
2231
  }))))));