@xplortech/apollo-core 0.3.0 → 0.4.1
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/CHANGELOG.md +9 -0
- package/build/style.css +2934 -417
- package/dist/apollo-core/apollo-core.css +6 -4
- package/dist/apollo-core/apollo-core.esm.js +1 -1
- package/dist/apollo-core/p-0027c582.entry.js +1 -0
- package/dist/apollo-core/p-2c551f4d.entry.js +1 -0
- package/dist/apollo-core/{p-43013b35.entry.js → p-2f90296c.js} +2 -3
- package/dist/apollo-core/p-6081e432.entry.js +1 -0
- package/dist/apollo-core/p-612984e5.entry.js +1 -0
- package/dist/apollo-core/p-63ea199d.entry.js +1 -0
- package/dist/apollo-core/p-650f6416.entry.js +1 -0
- package/dist/apollo-core/p-6ad97405.entry.js +1 -0
- package/dist/apollo-core/{p-21872e0f.entry.js → p-9b9511e4.entry.js} +1 -1
- package/dist/apollo-core/p-ad90fe4d.js +1 -0
- package/dist/apollo-core/p-c6fec744.entry.js +1 -0
- package/dist/apollo-core/p-ea8e0991.js +1 -0
- package/dist/apollo-core/p-ed04cedd.entry.js +1 -0
- package/dist/apollo-core/p-eec5a0f1.entry.js +1 -0
- package/dist/apollo-core/p-f4f646d9.entry.js +1 -0
- package/dist/cjs/apollo-core.cjs.js +2 -2
- package/dist/cjs/{index-716d8f57.js → index-9662f096.js} +134 -35
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/regular-872f5226.js +16043 -0
- package/dist/cjs/v4-14140ff3.js +77 -0
- package/dist/cjs/xpl-avatar_14.cjs.entry.js +30 -16122
- package/dist/cjs/xpl-button-row.cjs.entry.js +24 -0
- package/dist/cjs/xpl-choicelist.cjs.entry.js +22 -2
- package/dist/cjs/xpl-divider.cjs.entry.js +18 -0
- package/dist/cjs/xpl-grid-item.cjs.entry.js +25 -0
- package/dist/cjs/xpl-grid.cjs.entry.js +35 -0
- package/dist/cjs/xpl-input.cjs.entry.js +2527 -0
- package/dist/cjs/xpl-list.cjs.entry.js +63 -0
- package/dist/cjs/xpl-pagination.cjs.entry.js +1 -1
- package/dist/cjs/xpl-select.cjs.entry.js +623 -0
- package/dist/cjs/xpl-tag.cjs.entry.js +21 -0
- package/dist/cjs/xpl-toggle.cjs.entry.js +34 -0
- package/dist/collection/collection-manifest.json +9 -0
- package/dist/collection/components/xpl-button-row/xpl-button-row.js +119 -0
- package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +51 -5
- package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +138 -4
- package/dist/collection/components/xpl-divider/xpl-divider.js +30 -0
- package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +32 -0
- package/dist/collection/components/xpl-grid/xpl-grid.js +26 -0
- package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +93 -0
- package/dist/collection/components/xpl-input/xpl-input.js +471 -0
- package/dist/collection/components/xpl-list/xpl-list.js +93 -0
- package/dist/collection/components/xpl-radio/xpl-radio.js +51 -5
- package/dist/collection/components/xpl-select/xpl-select.js +311 -0
- package/dist/collection/components/xpl-table/xpl-table.js +6 -6
- package/dist/collection/components/xpl-tag/xpl-tag.js +30 -0
- package/dist/collection/components/xpl-toggle/xpl-toggle.js +157 -0
- package/dist/custom-elements/index.d.ts +54 -0
- package/dist/custom-elements/index.js +3447 -77
- package/dist/esm/apollo-core.js +2 -2
- package/dist/esm/{index-4c8962a5.js → index-619763f9.js} +133 -36
- package/dist/esm/loader.js +2 -2
- package/dist/esm/regular-86225e9d.js +16041 -0
- package/dist/esm/v4-929670b7.js +75 -0
- package/dist/esm/xpl-avatar_14.entry.js +28 -16120
- package/dist/esm/xpl-button-row.entry.js +20 -0
- package/dist/esm/xpl-choicelist.entry.js +22 -2
- package/dist/esm/xpl-divider.entry.js +14 -0
- package/dist/esm/xpl-grid-item.entry.js +21 -0
- package/dist/esm/xpl-grid.entry.js +31 -0
- package/dist/esm/xpl-input.entry.js +2523 -0
- package/dist/esm/xpl-list.entry.js +59 -0
- package/dist/esm/xpl-pagination.entry.js +1 -1
- package/dist/esm/xpl-select.entry.js +619 -0
- package/dist/esm/xpl-tag.entry.js +17 -0
- package/dist/esm/xpl-toggle.entry.js +30 -0
- package/dist/stories/button-row.stories.js +64 -0
- package/dist/stories/checkbox.stories.js +16 -6
- package/dist/stories/choicelist.stories.js +112 -0
- package/dist/stories/divider.stories.js +34 -0
- package/dist/stories/grid.stories.js +100 -0
- package/dist/stories/input.stories.js +252 -0
- package/dist/stories/list.stories.js +134 -0
- package/dist/stories/radio.stories.js +16 -6
- package/dist/stories/select.stories.js +111 -0
- package/dist/stories/toggle.stories.js +80 -0
- package/dist/types/Users/fernandogelin/Projects/apollo/.stencil/stories/button-row.stories.d.ts +49 -0
- package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/checkbox.stories.d.ts +10 -2
- package/dist/types/Users/fernandogelin/Projects/apollo/.stencil/stories/choicelist.stories.d.ts +41 -0
- package/dist/types/Users/fernandogelin/Projects/apollo/.stencil/stories/divider.stories.d.ts +40 -0
- package/dist/types/Users/fernandogelin/Projects/apollo/.stencil/stories/grid.stories.d.ts +150 -0
- package/dist/types/Users/fernandogelin/Projects/apollo/.stencil/stories/input.stories.d.ts +190 -0
- package/dist/types/Users/fernandogelin/Projects/apollo/.stencil/stories/list.stories.d.ts +71 -0
- package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/radio.stories.d.ts +10 -2
- package/dist/types/Users/fernandogelin/Projects/apollo/.stencil/stories/select.stories.d.ts +74 -0
- package/dist/types/Users/fernandogelin/Projects/apollo/.stencil/stories/toggle.stories.d.ts +74 -0
- package/dist/types/components/xpl-button-row/xpl-button-row.d.ts +35 -0
- package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +5 -0
- package/dist/types/components/xpl-choicelist/choice.d.ts +6 -0
- package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +31 -0
- package/dist/types/components/xpl-divider/xpl-divider.d.ts +9 -0
- package/dist/types/components/xpl-dropdown/dropdownchoice.d.ts +6 -0
- package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +10 -0
- package/dist/types/components/xpl-grid/xpl-grid.d.ts +5 -0
- package/dist/types/components/xpl-grid-item/xpl-grid-item.d.ts +7 -0
- package/dist/types/components/xpl-input/xpl-input.d.ts +87 -0
- package/dist/types/components/xpl-list/listitem.d.ts +16 -0
- package/dist/types/components/xpl-list/xpl-list.d.ts +28 -0
- package/dist/types/components/xpl-radio/xpl-radio.d.ts +4 -0
- package/dist/types/components/xpl-select/xpl-select.d.ts +52 -0
- package/dist/types/components/xpl-table/xpl-table.d.ts +6 -6
- package/dist/types/components/xpl-tag/xpl-tag.d.ts +5 -0
- package/dist/types/components/xpl-toggle/xpl-toggle.d.ts +23 -0
- package/dist/types/components.d.ts +447 -5
- package/package.json +3 -2
- package/dist/apollo-core/p-00996870.js +0 -1
- package/dist/apollo-core/p-d8ea7d80.entry.js +0 -1
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/avatar.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/backdrop.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/badge.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/breadcrumbs.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/button.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/content-area.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/main-nav.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/secondary-nav.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/table.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
- /package/dist/types/Users/{awentt/Sites → fernandogelin/Projects}/apollo/.stencil/stories/utility-bar.stories.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s,g as r,H as i}from"./p-ea8e0991.js";const e=class{constructor(s){t(this,s)}componentDidLoad(){const t=Array.from(this.container.querySelectorAll(".xpl-grid-item"));let s=0,r=0,i=0,e=0;t.forEach((t=>{s+=+t.getAttribute("lg")||6,r+=+t.getAttribute("md")||6,i+=+t.getAttribute("sm")||6,e+=+t.getAttribute("xs")||6,s%6==0&&t.classList.add("xpl-grid-item-lg-last"),r%6==0&&t.classList.add("xpl-grid-item-md-last"),i%6==0&&t.classList.add("xpl-grid-item-sm-last"),e%6==0&&t.classList.add("xpl-grid-item-xs-last")}))}render(){return s(i,{class:"xpl-grid"})}get container(){return r(this)}};export{e as xpl_grid}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t,H as l}from"./p-ea8e0991.js";import{v as i}from"./p-ad90fe4d.js";const e=class{constructor(t){s(this,t),this.variant="default",this.id=i()}render(){let s="xpl-toggle-container";this.disabled&&(s+=" xpl-toggle-container--disabled");let i="xpl-toggle";return"small"===this.variant&&(i+=" xpl-toggle--small"),t(l,{class:s},(this.heading||this.description)&&t("label",{class:{"xpl-label":!0,"xpl-label--disabled":this.disabled},htmlFor:this.id},this.heading,this.description&&t("small",{class:{"xpl-description":!0,"xpl-description--disabled":this.disabled}},this.description)),t("input",{class:i,type:"checkbox",checked:this.checked,disabled:this.disabled,id:this.id,name:this.name}),this.label&&t("label",{htmlFor:this.id},this.label))}};export{e as xpl_toggle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r,H as l}from"./p-ea8e0991.js";const e=class{constructor(r){s(this,r)}render(){let s="xpl-divider";return s+=` xpl-divider--${this.tier}`,r(l,{class:s},r("span",null,r("slot",null)))}};export{e as xpl_divider}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as l,H as a,F as s}from"./p-ea8e0991.js";import"./p-2f90296c.js";const i=({avatar:t,avatars:a,badges:i,href:r,title:e,subtext:p,metadata:n})=>{const c=a||i||p,x=l(s,null,t&&("/"===t.slice(0,1)||"http"===t.slice(0,4)?l("xpl-avatar",{src:t,name:e}):l("xpl-avatar",{name:e},t)),l("div",{class:"xpl-list-item-content"},l("div",{class:"xpl-list-left"},l("div",null,l("h4",null,e),n&&l("ul",{class:"xpl-list-item-metadata"},n.map((t=>"string"==typeof t?l("li",null,t):l("li",null,l("span",{class:`far fa-${t.icon}`})," ",t.text)))))),c&&l("div",{class:"xpl-list-right"},p&&l("div",{class:"xpl-list-item-subtext"},p),a&&l("div",{class:"xpl-avatar-group xpl-avatar-group--s"},a.map((t=>l("img",{src:t,alt:""})))),i&&i.map((t=>"string"==typeof t?l("xpl-badge",null,t):l("xpl-badge",{dot:t.dot,variant:t.variant},t.text))))));return r?l("a",{class:"xpl-list-item",href:r},x):l("div",{class:"xpl-list-item"},x)},r=class{constructor(l){t(this,l),this.items=[]}render(){return l(a,null,this.items.map((t=>l(i,Object.assign({},t)))))}};export{r as xpl_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,h as s,H as t}from"./p-ea8e0991.js";const l=class{constructor(s){i(this,s)}componentWillLoad(){this.selected=null!=this.choices&&this.choices.length>0?this.choices.map((()=>!1)):[]}render(){let i="xpl-choicelist";return this.styled&&(i+=" xpl-choicelist--styled"),s(t,{class:"xpl-choicelist-container"},void 0!==this.heading||void 0!==this.description?s("div",{class:"xpl-choicelist-heading"},this.heading&&s("h3",null,this.heading),this.description&&s("p",null,this.description)):null,this.choices&&s("ul",{class:i},this.choices.map((({children:i,description:t,label:l},h)=>{const e=this.multi?s("xpl-checkbox",{description:t,name:this.name,onCheckboxChange:i=>{const{detail:s}=i;this.selected=this.selected.map(((i,t)=>h===t?s:i))}},l):s("xpl-radio",{description:t,name:this.name,onRadioChange:()=>{this.selected=this.selected.map(((i,s)=>h===s))}},l);return s("li",{class:this.styled&&this.selected[h]?"selected":""},e,i&&s("ul",null,i.map((i=>{const t=s(this.multi?"xpl-checkbox":"xpl-radio",{description:i.description},i.label);return s("li",null,t)}))))}))))}};export{l as xpl_choicelist}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as s,H as a}from"./p-
|
|
1
|
+
import{r as i,c as t,h as s,H as a}from"./p-ea8e0991.js";const l=class{constructor(s){i(this,s),this.page=t(this,"page",7),this.current=1,this._goto=i=>{this.page.emit(i),this.waitForCallback||(this.current=i)},this.goPrev=()=>{this.current>1&&this._goto(this.current-1)},this.goNext=()=>{const i=Math.ceil(this.total/this.perPage);this.current<i&&this._goto(this.current+1)}}async goto(i){this.current=i}render(){const i=Math.ceil(this.total/this.perPage);let t=[1];i<7&&(t=[1,2,3,4,5,6]),t=this.current<=3||this.current>=i-2?[1,2,3,"...",i-2,i-1,i]:[1,"...",this.current-1,this.current,this.current+1,"...",i];const l=(this.current-1)*this.perPage+1,n=Math.min(l+this.perPage-1,this.total);return s(a,null,s("div",{class:"xpl-pagination"},s("div",null,s("p",null,"Showing ",s("span",null,l)," to ",s("span",null,n)," ","of ",s("span",null,this.total)," results")),s("div",null,s("nav",{"aria-label":"Pagination"},s("button",{onClick:this.goPrev,class:"xpl-pagination-prev"},s("span",null,"Previous"),s("svg",{viewBox:"0 0 20 20","aria-hidden":"true"},s("path",{"fill-rule":"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z","clip-rule":"evenodd"}))),t.map((i=>"..."===i?s("span",{class:"xpl-pagination-ellipsis"},"..."):s("button",i===this.current?{"aria-current":"page",class:"xpl-pagination-current"}:{onClick:()=>this._goto(i)},i))),s("button",{onClick:this.goNext,class:"xpl-pagination-next"},s("span",null,"Next"),s("svg",{viewBox:"0 0 20 20","aria-hidden":"true"},s("path",{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"})))))))}};export{l as xpl_pagination}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r,t=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(t)}const n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function e(r){return"string"==typeof r&&n.test(r)}for(var i=[],f=0;f<256;++f)i.push((f+256).toString(16).substr(1));function u(r,t,n){var f=(r=r||{}).random||(r.rng||o)();if(f[6]=15&f[6]|64,f[8]=63&f[8]|128,t){n=n||0;for(var u=0;u<16;++u)t[n+u]=f[u];return t}return function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(i[r[t+0]]+i[r[t+1]]+i[r[t+2]]+i[r[t+3]]+"-"+i[r[t+4]]+i[r[t+5]]+"-"+i[r[t+6]]+i[r[t+7]]+"-"+i[r[t+8]]+i[r[t+9]]+"-"+i[r[t+10]]+i[r[t+11]]+i[r[t+12]]+i[r[t+13]]+i[r[t+14]]+i[r[t+15]]).toLowerCase();if(!e(o))throw TypeError("Stringified UUID is invalid");return o}(f)}export{u as v}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as i,H as e}from"./p-ea8e0991.js";import{v as s}from"./p-ad90fe4d.js";const n=({active:i,choices:e,mode:s,selected:n,update:l})=>t("div",{class:{"xpl-dropdown":!0,"xpl-dropdown--multi":"multi"===s,active:i}},t("ul",null,e.map((({label:e,isGroupHeading:o},r)=>o?t("span",null,e):t("li",null,t("button",{class:{selected:n[r]},onClick:()=>{let t;"single"===s?(t=n.map(((t,i)=>r===i&&!n[r])),i=!1):"multi"===s&&(t=n.map(((t,i)=>r===i?!n[r]:t))),l(t)},tabIndex:i?0:-1},e))))));var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,u=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof self&&self&&self.Object===Object&&self,p="object"==typeof l&&l&&l.Object===Object&&l||c||Function("return this")(),d=Object.prototype.toString,f=Math.max,v=Math.min,b=function(){return p.Date.now()};function m(t){var i=typeof t;return!!t&&("object"==i||"function"==i)}function x(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==d.call(t)}(t))return NaN;if(m(t)){var i="function"==typeof t.valueOf?t.valueOf():t;t=m(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var e=h.test(t);return e||u.test(t)?a(t.slice(2),e?2:8):r.test(t)?NaN:+t}var g=function(t,i,e){var s=!0,n=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return m(e)&&(s="leading"in e?!!e.leading:s,n="trailing"in e?!!e.trailing:n),function(t,i,e){var s,n,l,o,r,h,u=0,a=!1,c=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(i){var e=s,l=n;return s=n=void 0,u=i,o=t.apply(l,e)}function g(t){return u=t,r=setTimeout(w,i),a?d(t):o}function y(t){var e=t-h;return void 0===h||e>=i||e<0||c&&t-u>=l}function w(){var t=b();if(y(t))return C(t);r=setTimeout(w,function(t){var e=i-(t-h);return c?v(e,l-(t-u)):e}(t))}function C(t){return r=void 0,p&&s?d(t):(s=n=void 0,o)}function T(){var t=b(),e=y(t);if(s=arguments,n=this,h=t,e){if(void 0===r)return g(h);if(c)return r=setTimeout(w,i),d(h)}return void 0===r&&(r=setTimeout(w,i)),o}return i=x(i)||0,m(e)&&(a=!!e.leading,l=(c="maxWait"in e)?f(x(e.maxWait)||0,i):l,p="trailing"in e?!!e.trailing:p),T.cancel=function(){void 0!==r&&clearTimeout(r),u=0,s=h=n=r=void 0},T.flush=function(){return void 0===r?o:C(b())},T}(t,i,{leading:s,maxWait:i,trailing:n})};function y(t){const i=document.createElement("canvas").getContext("2d");return i.font="14px apple-system, system-ui, 'Segoe UI', Arial, Helvetica, Roboto, sans-serif",i.measureText(t).width+44}const w=class{constructor(t){i(this,t),this.choices=[],this.mode="single",this.truncate=!0,this.active=!1,this.id=s(),this.keepFocus=!1,this.value="",this.visibleChoices=1/0}componentWillLoad(){this.selected=this.choices&&this.choices.length>0?this.choices.map((()=>!1)):[],window.addEventListener("click",(t=>{const i=t.target.closest(".xpl-select");null!==i&&i===this.container||(this.active=!1)})),window.addEventListener("resize",g((()=>{this.maybeTruncateChoices()}),250))}maybeTruncateChoices(){if("single"===this.mode||!this.truncate)return;const t=this.container.getBoundingClientRect().width;let i=0,e=0;const s=this.selected.filter((t=>t)).length;for(let n=0;n<s&&(e+=y(this.getDisplayValue(n)),!(e>t-140));n++)i++;i>=s&&(i=1/0),i<1&&(i=1),this.visibleChoices=i}getDisplayValue(t){return this.choices[t].label}getActualValue(t){return this.choices[t].value||this.choices[t].label}update(t){if(this.selected=t,"single"===this.mode){const t=this.selected.findIndex((t=>t));this.value=t>=0?this.getActualValue(t):""}else"multi"===this.mode&&(this.value=this.selected.map(((t,i)=>t?this.getActualValue(i):"")).filter((t=>t.length>0)).join("|"))}render(){let i=0;return t(e,{class:{"xpl-select":!0,"xpl-select--disabled":this.disabled,"xpl-select--no-truncate":!this.truncate},onKeyDown:t=>{"Escape"===t.key&&(this.active=!1)},ref:t=>this.container=t},this.label||this.description?t("label",{class:{"xpl-label":!0,"xpl-label--disabled":this.disabled},htmlFor:this.id},this.label,this.description&&t("small",{class:{"xpl-description":!0,"xpl-description--disabled":this.disabled}},this.description)):null,t("div",{class:{"xpl-input":!0,"xpl-input--disabled":this.disabled,"xpl-input--error":void 0!==this.error}},t("div",{class:"xpl-input-wrapper"},t("div",{class:{"xpl-select-value":!0,"xpl-select-value--active":"multi"===this.mode&&this.value.length>0,"has-value":this.value.length>0}},"single"===this.mode?this.value||this.placeholder:this.value.length>0?this.selected.map(((e,s)=>e?i>=this.visibleChoices?null:(i++,t("xpl-tag",{onClose:()=>{this.selected=this.selected.map(((t,i)=>s!==i&&t)),this.update(this.selected),this.maybeTruncateChoices()}},this.getDisplayValue(s))):null)):this.placeholder,this.visibleChoices<1/0&&`+ ${this.selected.filter((t=>t)).length-this.visibleChoices} more`),t("button",{disabled:this.disabled,id:this.id,onKeyDown:t=>{"Tab"===t.key&&(this.keepFocus=!0)},onClick:()=>{this.disabled||(this.active=!this.active)}})),!this.disabled&&t(n,{active:this.active,choices:this.choices,mode:this.mode,selected:this.selected,update:t=>{this.update(t),this.maybeTruncateChoices()}}),void 0!==this.error&&this.error.length>0&&t("label",{class:"xpl-input-error",htmlFor:this.id},t("svg",{width:"10",height:"11",viewBox:"0 0 10 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M9.84375 5.25C9.84375 2.59375 7.65625 0.40625 5 0.40625C2.32422 0.40625 0.15625 2.59375 0.15625 5.25C0.15625 7.92578 2.32422 10.0938 5 10.0938C7.65625 10.0938 9.84375 7.92578 9.84375 5.25ZM5 6.22656C5.48828 6.22656 5.89844 6.63672 5.89844 7.125C5.89844 7.63281 5.48828 8.02344 5 8.02344C4.49219 8.02344 4.10156 7.63281 4.10156 7.125C4.10156 6.63672 4.49219 6.22656 5 6.22656ZM4.14062 3.00391C4.12109 2.86719 4.23828 2.75 4.375 2.75H5.60547C5.74219 2.75 5.85938 2.86719 5.83984 3.00391L5.70312 5.66016C5.68359 5.79688 5.58594 5.875 5.46875 5.875H4.51172C4.39453 5.875 4.29688 5.79688 4.27734 5.66016L4.14062 3.00391Z"})),this.error)),t("input",{type:"hidden",value:this.value}))}};export{w as xpl_select}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let e,t,l=!1,n=!1,o=!1,s=!1,i=!1;const r="undefined"!=typeof window?window:{},c=r.document||{head:{}},f={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,n)=>e.addEventListener(t,l,n),rel:(e,t,l,n)=>e.removeEventListener(t,l,n),ce:(e,t)=>new CustomEvent(e,t)},a=e=>Promise.resolve(e),u="http://www.w3.org/1999/xlink",$={},d=e=>"object"==(e=typeof e)||"function"===e,b=(e,t,...l)=>{let n=null,o=null,s=null,i=!1,r=!1,c=[];const f=t=>{for(let l=0;l<t.length;l++)n=t[l],Array.isArray(n)?f(n):null!=n&&"boolean"!=typeof n&&((i="function"!=typeof e&&!d(n))&&(n+=""),i&&r?c[c.length-1].o+=n:c.push(i?m(null,n):n),r=i)};if(f(l),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,h);const a=m(e,null);return a.i=t,c.length>0&&(a.u=c),a.$=o,a.m=s,a},m=(e,t)=>({t:0,p:e,o:t,h:null,u:null,i:null,$:null,m:null}),p={},h={forEach:(e,t)=>e.map(y).forEach(t),map:(e,t)=>e.map(y).map(t).map(w)},y=e=>({vattrs:e.i,vchildren:e.u,vkey:e.$,vname:e.m,vtag:e.p,vtext:e.o}),w=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),b(e.vtag,t,...e.vchildren||[])}const t=m(e.vtag,e.vtext);return t.i=e.vattrs,t.u=e.vchildren,t.$=e.vkey,t.m=e.vname,t},g=(e,t,l,n,o,s)=>{if(l!==n){let i=oe(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=j(l),s=j(n);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in l)n&&null!=n[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in n)l&&n[t]===l[t]||(t.includes("-")?e.style.setProperty(t,n[t]):e.style[t]=n[t])}else if("key"===t);else if("ref"===t)n&&n(e);else if(i||"o"!==t[0]||"n"!==t[1]){const r=d(n);if((i||r&&null!==n)&&!o)try{if(e.tagName.includes("-"))e[t]=n;else{let o=null==n?"":n;"list"===t?i=!1:null!=l&&e[t]==o||(e[t]=o)}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==n||!1===n?!1===n&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!i||4&s||o)&&!r&&(n=!0===n?"":n,f?e.setAttributeNS(u,t,n):e.setAttribute(t,n))}else t="-"===t[2]?t.slice(3):oe(r,c)?c.slice(2):c[2]+t.slice(3),l&&f.rel(e,t,l,!1),n&&f.ael(e,t,n,!1)}},v=/\s/,j=e=>e?e.split(v):[],k=(e,t,l,n)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,s=e&&e.i||$,i=t.i||$;for(n in s)n in i||g(o,n,s[n],void 0,l,t.t);for(n in i)g(o,n,s[n],i[n],l,t.t)},O=(n,i,r)=>{let f,a,u,$=i.u[r],d=0;if(l||(o=!0,"slot"===$.p&&($.t|=$.u?2:1)),null!==$.o)f=$.h=c.createTextNode($.o);else if(1&$.t)f=$.h=c.createTextNode("");else{if(s||(s="svg"===$.p),f=$.h=c.createElementNS(s?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&$.t?"slot-fb":$.p),s&&"foreignObject"===$.p&&(s=!1),k(null,$,s),$.u)for(d=0;d<$.u.length;++d)a=O(n,$,d),a&&f.appendChild(a);"svg"===$.p?s=!1:"foreignObject"===f.tagName&&(s=!0)}return f["s-hn"]=t,3&$.t&&(f["s-sr"]=!0,f["s-cr"]=e,f["s-sn"]=$.m||"",u=n&&n.u&&n.u[r],u&&u.p===$.p&&n.h&&x(n.h,!1)),f},x=(e,l)=>{f.t|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const s=n[e];s["s-hn"]!==t&&s["s-ol"]&&(E(s).insertBefore(s,T(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),l&&x(s,l)}f.t&=-2},M=(e,t,l,n,o,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(;o<=s;++o)n[o]&&(i=O(null,l,o),i&&(n[o].h=i,r.insertBefore(i,T(t))))},P=(e,t,l,o,s)=>{for(;t<=l;++t)(o=e[t])&&(s=o.h,N(o),n=!0,s["s-ol"]?s["s-ol"].remove():x(s,!0),s.remove())},R=(e,t)=>e.p===t.p&&("slot"===e.p?e.m===t.m:e.$===t.$),T=e=>e&&e["s-ol"]||e,E=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,L=(e,t)=>{const l=t.h=e.h,n=e.u,o=t.u,i=t.p,r=t.o;let c;null===r?(s="svg"===i||"foreignObject"!==i&&s,"slot"===i||k(e,t,s),null!==n&&null!==o?((e,t,l,n)=>{let o,s,i=0,r=0,c=0,f=0,a=t.length-1,u=t[0],$=t[a],d=n.length-1,b=n[0],m=n[d];for(;i<=a&&r<=d;)if(null==u)u=t[++i];else if(null==$)$=t[--a];else if(null==b)b=n[++r];else if(null==m)m=n[--d];else if(R(u,b))L(u,b),u=t[++i],b=n[++r];else if(R($,m))L($,m),$=t[--a],m=n[--d];else if(R(u,m))"slot"!==u.p&&"slot"!==m.p||x(u.h.parentNode,!1),L(u,m),e.insertBefore(u.h,$.h.nextSibling),u=t[++i],m=n[--d];else if(R($,b))"slot"!==u.p&&"slot"!==m.p||x($.h.parentNode,!1),L($,b),e.insertBefore($.h,u.h),$=t[--a],b=n[++r];else{for(c=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].$&&t[f].$===b.$){c=f;break}c>=0?(s=t[c],s.p!==b.p?o=O(t&&t[r],l,c):(L(s,b),t[c]=void 0,o=s.h),b=n[++r]):(o=O(t&&t[r],l,r),b=n[++r]),o&&E(u.h).insertBefore(o,T(u.h))}i>a?M(e,null==n[d+1]?null:n[d+1].h,l,n,r,d):r>d&&P(t,i,a)})(l,n,t,o):null!==o?(null!==e.o&&(l.textContent=""),M(l,null,t,o,0,o.length-1)):null!==n&&P(n,0,n.length-1),s&&"svg"===i&&(s=!1)):(c=l["s-cr"])?c.parentNode.textContent=r:e.o!==r&&(l.data=r)},C=e=>{let t,l,n,o,s,i,r=e.childNodes;for(l=0,n=r.length;l<n;l++)if(t=r[l],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<n;o++)if(i=r[o].nodeType,r[o]["s-hn"]!==t["s-hn"]||""!==s){if(1===i&&s===r[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==r[o].textContent.trim()){t.hidden=!0;break}C(t)}},F=[],A=e=>{let t,l,o,s,i,r,c=0,f=e.childNodes,a=f.length;for(;c<a;c++){if(t=f[c],t["s-sr"]&&(l=t["s-cr"])&&l.parentNode)for(o=l.parentNode.childNodes,s=t["s-sn"],r=o.length-1;r>=0;r--)l=o[r],l["s-cn"]||l["s-nr"]||l["s-hn"]===t["s-hn"]||(H(l,s)?(i=F.find((e=>e.g===l)),n=!0,l["s-sn"]=l["s-sn"]||s,i?i.v=t:F.push({v:t,g:l}),l["s-sr"]&&F.map((e=>{H(e.g,l["s-sn"])&&(i=F.find((e=>e.g===l)),i&&!e.v&&(e.v=i.v))}))):F.some((e=>e.g===l))||F.push({g:l}));1===t.nodeType&&A(t)}},H=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,N=e=>{e.i&&e.i.ref&&e.i.ref(null),e.u&&e.u.map(N)},U=e=>te(e).j,W=(e,t,l)=>{const n=U(e);return{emit:e=>q(n,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},q=(e,t,l)=>{const n=f.ce(t,l);return e.dispatchEvent(n),n},D=(e,t)=>{t&&!e.k&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.k=t)))},V=(e,t)=>{if(e.t|=16,!(4&e.t))return D(e,e.O),be((()=>_(e,t)));e.t|=512},_=(e,t)=>{const l=e.M;let n;return t&&(n=J(l,"componentWillLoad")),K(n,(()=>z(e,l)))},z=async(e,t)=>{const l=e.j,n=l["s-rc"];B(e,t),n&&(n.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>G(e);0===t.length?n():(Promise.all(t).then(n),e.t|=4,t.length=0)}},B=(s,i)=>{try{i=i.render(),s.t&=-17,s.t|=2,((s,i)=>{const r=s.j,a=s.P,u=s.R||m(null,null),$=(e=>e&&e.p===p)(i)?i:b(null,null,i);if(t=r.tagName,$.p=null,$.t|=4,s.R=$,$.h=u.h=r,e=r["s-cr"],l=0!=(1&a.t),n=!1,L(u,$),f.t|=1,o){let e,t,l,n,o,s;A($.h);let i=0;for(;i<F.length;i++)e=F[i],t=e.g,t["s-ol"]||(l=c.createTextNode(""),l["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=l,t));for(i=0;i<F.length;i++)if(e=F[i],t=e.g,e.v){for(n=e.v.parentNode,o=e.v.nextSibling,l=t["s-ol"];l=l.previousSibling;)if(s=l["s-nr"],s&&s["s-sn"]===t["s-sn"]&&n===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&n!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),n.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}n&&C($.h),f.t&=-2,F.length=0})(s,i)}catch(e){se(e,s.j)}return null},G=e=>{const t=e.j,l=e.M,n=e.O;64&e.t||(e.t|=64,Q(t),J(l,"componentDidLoad"),e.T(t),n||I()),e.L(t),e.k&&(e.k(),e.k=void 0),512&e.t&&de((()=>V(e,!1))),e.t&=-517},I=()=>{Q(c.documentElement),de((()=>q(r,"appload",{detail:{namespace:"apollo-core"}})))},J=(e,t,l)=>{if(e&&e[t])try{return e[t](l)}catch(e){se(e)}},K=(e,t)=>e&&e.then?e.then(t):t(),Q=e=>e.classList.add("hydrated"),S=(e,t,l)=>{if(t.C){const n=Object.entries(t.C),o=e.prototype;if(n.map((([e,[n]])=>{31&n||2&l&&32&n?Object.defineProperty(o,e,{get(){return((e,t)=>te(this).F.get(t))(0,e)},set(l){((e,t,l,n)=>{const o=te(e),s=o.F.get(t),i=o.t,r=o.M;l=((e,t)=>null==e||d(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,n.C[t][0]),8&i&&void 0!==s||l===s||(o.F.set(t,l),r&&2==(18&i)&&V(o,!1))})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&n&&Object.defineProperty(o,e,{value(...t){const l=te(this);return l.A.then((()=>l.M[e](...t)))}})})),1&l){const t=new Map;o.attributeChangedCallback=function(e,l,n){f.jmp((()=>{const l=t.get(e);this.hasOwnProperty(l)&&(n=this[l],delete this[l]),this[l]=(null!==n||"boolean"!=typeof this[l])&&n}))},e.observedAttributes=n.filter((([e,t])=>15&t[0])).map((([e,l])=>{const n=l[1]||e;return t.set(n,e),n}))}}return e},X=e=>{const t=e["s-cr"]=c.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},Y=(e,t={})=>{const l=[],n=t.exclude||[],o=r.customElements,s=c.head,i=s.querySelector("meta[charset]"),a=c.createElement("style"),u=[];let $,d=!0;Object.assign(f,t),f.l=new URL(t.resourcesUrl||"./",c.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],H:t[1],C:t[2],N:t[3]};s.C=t[2];const i=s.H,r=class extends HTMLElement{constructor(e){super(e),ne(e=this,s)}connectedCallback(){$&&(clearTimeout($),$=null),d?u.push(this):f.jmp((()=>(e=>{if(0==(1&f.t)){const t=te(e),l=t.P,n=()=>{};if(!(1&t.t)){t.t|=1,12&l.t&&X(e);{let l=e;for(;l=l.parentNode||l.host;)if(l["s-p"]){D(t,t.O=l);break}}l.C&&Object.entries(l.C).map((([t,[l]])=>{if(31&l&&e.hasOwnProperty(t)){const l=e[t];delete e[t],e[t]=l}})),(async(e,t,l,n,o)=>{if(0==(32&t.t)){if(t.t|=32,(o=re(l)).then){const e=()=>{};o=await o,e()}o.isProxied||(S(o,l,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){se(e)}t.t&=-9,e()}const s=t.O,i=()=>V(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,l)}n()}})(this)))}disconnectedCallback(){f.jmp((()=>{}))}componentOnReady(){return te(this).U}};s.W=e[0],n.includes(i)||o.get(i)||(l.push(i),o.define(i,S(r,s,1)))})))),a.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles",""),s.insertBefore(a,i?i.nextSibling:s.firstChild),d=!1,u.length?u.map((e=>e.connectedCallback())):f.jmp((()=>$=setTimeout(I,30)))},Z=(e,t)=>t,ee=new WeakMap,te=e=>ee.get(e),le=(e,t)=>ee.set(t.M=e,t),ne=(e,t)=>{const l={t:0,j:e,P:t,F:new Map};return l.A=new Promise((e=>l.L=e)),l.U=new Promise((e=>l.T=e)),e["s-p"]=[],e["s-rc"]=[],ee.set(e,l)},oe=(e,t)=>t in e,se=(e,t)=>(0,console.error)(e,t),ie=new Map,re=e=>{const t=e.H.replace(/-/g,"_"),l=e.W,n=ie.get(l);return n?n[t]:import(`./${l}.entry.js`).then((e=>(ie.set(l,e),e[t])),se)},ce=[],fe=[],ae=(e,t)=>l=>{e.push(l),i||(i=!0,t&&4&f.t?de($e):f.raf($e))},ue=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){se(e)}e.length=0},$e=()=>{ue(ce),ue(fe),(i=ce.length>0)&&f.raf($e)},de=e=>a().then(e),be=ae(fe,!0);export{Z as F,p as H,Y as b,W as c,U as g,b as h,a as p,le as r}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as t,h as l,H as a}from"./p-ea8e0991.js";const o=class{constructor(l){s(this,l),this.close=t(this,"close",7)}render(){return l(a,{class:"xpl-tag-container"},l("button",{class:"xpl-tag",onClick:()=>{this.close.emit()}},l("slot",null)),l("button",{class:"xpl-tag__close",onClick:()=>{this.close.emit()}},"×"))}};export{o as xpl_tag}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as o}from"./p-ea8e0991.js";const r=class{constructor(i){t(this,i),this.clickPrimary=s(this,"clickPrimary",7),this.clickSecondary=s(this,"clickSecondary",7),this.clickTertiary=s(this,"clickTertiary",7),this.onPrimary=()=>this.clickPrimary.emit(),this.onSecondary=()=>this.clickSecondary.emit(),this.onTertiary=()=>this.clickTertiary.emit()}render(){return i(o,{class:"xpl-button-row"},i("div",{class:"xpl-button-row-inner"},i("div",{class:"xpl-button-row__left"},this.secondary&&i("xpl-button",{variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary)),i("div",{class:"xpl-button-row__right"},this.tertiary&&i("xpl-button",{variant:"subtle",type:"button",onClick:this.onTertiary},this.tertiary),this.secondary&&i("xpl-button",{variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary),this.primary&&i("xpl-button",{class:"xpl-button-row__primary",onClick:this.onPrimary},this.primary))))}};export{r as xpl_button_row}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,H as s}from"./p-ea8e0991.js";const r=class{constructor(i){t(this,i),this.xs=6,this.sm=6,this.md=6,this.lg=6}render(){let t="xpl-grid-item";return t+=` xpl-grid-item-xs-${this.xs}`,t+=` xpl-grid-item-sm-${this.sm}`,t+=` xpl-grid-item-md-${this.md}`,t+=` xpl-grid-item-lg-${this.lg}`,i(s,{class:t},i("slot",null))}};export{r as xpl_grid_item}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-9662f096.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
Stencil Client Patch Browser v2.8.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["xpl-avatar_14.cjs",[[4,"xpl-
|
|
18
|
+
return index.bootstrapLazy([["xpl-avatar_14.cjs",[[0,"xpl-backdrop"],[4,"xpl-breadcrumb-item"],[4,"xpl-breadcrumbs"],[4,"xpl-content-area",{"size":[1]}],[4,"xpl-main-nav",{"width":[1]}],[4,"xpl-nav-item"],[4,"xpl-secondary-nav"],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}],[4,"xpl-utility-bar"],[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],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"iconTrailing":[4,"icon-trailing"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[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]}]]],["xpl-choicelist.cjs",[[0,"xpl-choicelist",{"choices":[16],"description":[1],"heading":[1],"multi":[4],"name":[1],"styled":[4],"selected":[32]}]]],["xpl-list.cjs",[[0,"xpl-list",{"items":[16]}]]],["xpl-button-row.cjs",[[0,"xpl-button-row",{"primary":[1],"secondary":[1],"tertiary":[1]}]]],["xpl-select.cjs",[[0,"xpl-select",{"choices":[16],"description":[1],"disabled":[4],"error":[1],"label":[1],"mode":[1],"placeholder":[1],"truncate":[4],"active":[32],"id":[32],"keepFocus":[32],"selected":[32],"value":[32],"visibleChoices":[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-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-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-tag.cjs",[[4,"xpl-tag"]]]], options);
|
|
19
19
|
});
|
|
@@ -22,7 +22,6 @@ function _interopNamespace(e) {
|
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'apollo-core';
|
|
24
24
|
|
|
25
|
-
let scopeId;
|
|
26
25
|
let contentRef;
|
|
27
26
|
let hostTagName;
|
|
28
27
|
let useNativeShadowDom = false;
|
|
@@ -43,6 +42,7 @@ const plt = {
|
|
|
43
42
|
};
|
|
44
43
|
const promiseResolve = (v) => Promise.resolve(v);
|
|
45
44
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
45
|
+
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
46
46
|
const createTime = (fnName, tagName = '') => {
|
|
47
47
|
{
|
|
48
48
|
return () => {
|
|
@@ -70,7 +70,6 @@ const EMPTY_OBJ = {};
|
|
|
70
70
|
*/
|
|
71
71
|
const SVG_NS = 'http://www.w3.org/2000/svg';
|
|
72
72
|
const HTML_NS = 'http://www.w3.org/1999/xhtml';
|
|
73
|
-
const isDef = (v) => v != null;
|
|
74
73
|
const isComplexType = (o) => {
|
|
75
74
|
// https://jsperf.com/typeof-fn-object/5
|
|
76
75
|
o = typeof o;
|
|
@@ -89,6 +88,7 @@ const isComplexType = (o) => {
|
|
|
89
88
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
90
89
|
const h = (nodeName, vnodeData, ...children) => {
|
|
91
90
|
let child = null;
|
|
91
|
+
let key = null;
|
|
92
92
|
let slotName = null;
|
|
93
93
|
let simple = false;
|
|
94
94
|
let lastSimple = false;
|
|
@@ -117,6 +117,10 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
117
117
|
};
|
|
118
118
|
walk(children);
|
|
119
119
|
if (vnodeData) {
|
|
120
|
+
// normalize class / classname attributes
|
|
121
|
+
if (vnodeData.key) {
|
|
122
|
+
key = vnodeData.key;
|
|
123
|
+
}
|
|
120
124
|
if (vnodeData.name) {
|
|
121
125
|
slotName = vnodeData.name;
|
|
122
126
|
}
|
|
@@ -132,11 +136,18 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
132
136
|
}
|
|
133
137
|
}
|
|
134
138
|
}
|
|
139
|
+
if (typeof nodeName === 'function') {
|
|
140
|
+
// nodeName is a functional component
|
|
141
|
+
return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
|
|
142
|
+
}
|
|
135
143
|
const vnode = newVNode(nodeName, null);
|
|
136
144
|
vnode.$attrs$ = vnodeData;
|
|
137
145
|
if (vNodeChildren.length > 0) {
|
|
138
146
|
vnode.$children$ = vNodeChildren;
|
|
139
147
|
}
|
|
148
|
+
{
|
|
149
|
+
vnode.$key$ = key;
|
|
150
|
+
}
|
|
140
151
|
{
|
|
141
152
|
vnode.$name$ = slotName;
|
|
142
153
|
}
|
|
@@ -153,6 +164,9 @@ const newVNode = (tag, text) => {
|
|
|
153
164
|
{
|
|
154
165
|
vnode.$attrs$ = null;
|
|
155
166
|
}
|
|
167
|
+
{
|
|
168
|
+
vnode.$key$ = null;
|
|
169
|
+
}
|
|
156
170
|
{
|
|
157
171
|
vnode.$name$ = null;
|
|
158
172
|
}
|
|
@@ -160,6 +174,36 @@ const newVNode = (tag, text) => {
|
|
|
160
174
|
};
|
|
161
175
|
const Host = {};
|
|
162
176
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
177
|
+
const vdomFnUtils = {
|
|
178
|
+
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
179
|
+
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
|
|
180
|
+
};
|
|
181
|
+
const convertToPublic = (node) => ({
|
|
182
|
+
vattrs: node.$attrs$,
|
|
183
|
+
vchildren: node.$children$,
|
|
184
|
+
vkey: node.$key$,
|
|
185
|
+
vname: node.$name$,
|
|
186
|
+
vtag: node.$tag$,
|
|
187
|
+
vtext: node.$text$,
|
|
188
|
+
});
|
|
189
|
+
const convertToPrivate = (node) => {
|
|
190
|
+
if (typeof node.vtag === 'function') {
|
|
191
|
+
const vnodeData = Object.assign({}, node.vattrs);
|
|
192
|
+
if (node.vkey) {
|
|
193
|
+
vnodeData.key = node.vkey;
|
|
194
|
+
}
|
|
195
|
+
if (node.vname) {
|
|
196
|
+
vnodeData.name = node.vname;
|
|
197
|
+
}
|
|
198
|
+
return h(node.vtag, vnodeData, ...(node.vchildren || []));
|
|
199
|
+
}
|
|
200
|
+
const vnode = newVNode(node.vtag, node.vtext);
|
|
201
|
+
vnode.$attrs$ = node.vattrs;
|
|
202
|
+
vnode.$children$ = node.vchildren;
|
|
203
|
+
vnode.$key$ = node.vkey;
|
|
204
|
+
vnode.$name$ = node.vname;
|
|
205
|
+
return vnode;
|
|
206
|
+
};
|
|
163
207
|
/**
|
|
164
208
|
* Production setAccessor() function based on Preact by
|
|
165
209
|
* Jason Miller (@developit)
|
|
@@ -179,6 +223,33 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
179
223
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
180
224
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
181
225
|
}
|
|
226
|
+
else if (memberName === 'style') {
|
|
227
|
+
// update style attribute, css properties and values
|
|
228
|
+
{
|
|
229
|
+
for (const prop in oldValue) {
|
|
230
|
+
if (!newValue || newValue[prop] == null) {
|
|
231
|
+
if (prop.includes('-')) {
|
|
232
|
+
elm.style.removeProperty(prop);
|
|
233
|
+
}
|
|
234
|
+
else {
|
|
235
|
+
elm.style[prop] = '';
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
for (const prop in newValue) {
|
|
241
|
+
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
242
|
+
if (prop.includes('-')) {
|
|
243
|
+
elm.style.setProperty(prop, newValue[prop]);
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
elm.style[prop] = newValue[prop];
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
else if (memberName === 'key')
|
|
252
|
+
;
|
|
182
253
|
else if (memberName === 'ref') {
|
|
183
254
|
// minifier will clean this up
|
|
184
255
|
if (newValue) {
|
|
@@ -246,16 +317,36 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
246
317
|
}
|
|
247
318
|
catch (e) { }
|
|
248
319
|
}
|
|
320
|
+
/**
|
|
321
|
+
* Need to manually update attribute if:
|
|
322
|
+
* - memberName is not an attribute
|
|
323
|
+
* - if we are rendering the host element in order to reflect attribute
|
|
324
|
+
* - if it's a SVG, since properties might not work in <svg>
|
|
325
|
+
* - if the newValue is null/undefined or 'false'.
|
|
326
|
+
*/
|
|
327
|
+
let xlink = false;
|
|
328
|
+
{
|
|
329
|
+
if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
|
|
330
|
+
memberName = ln;
|
|
331
|
+
xlink = true;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
249
334
|
if (newValue == null || newValue === false) {
|
|
250
335
|
if (newValue !== false || elm.getAttribute(memberName) === '') {
|
|
251
|
-
{
|
|
336
|
+
if (xlink) {
|
|
337
|
+
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
252
340
|
elm.removeAttribute(memberName);
|
|
253
341
|
}
|
|
254
342
|
}
|
|
255
343
|
}
|
|
256
344
|
else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
257
345
|
newValue = newValue === true ? '' : newValue;
|
|
258
|
-
{
|
|
346
|
+
if (xlink) {
|
|
347
|
+
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
348
|
+
}
|
|
349
|
+
else {
|
|
259
350
|
elm.setAttribute(memberName, newValue);
|
|
260
351
|
}
|
|
261
352
|
}
|
|
@@ -297,10 +388,6 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
297
388
|
// remember for later we need to check to relocate nodes
|
|
298
389
|
checkSlotRelocate = true;
|
|
299
390
|
if (newVNode.$tag$ === 'slot') {
|
|
300
|
-
if (scopeId) {
|
|
301
|
-
// scoped css needs to add its scoped id to the parent element
|
|
302
|
-
parentElm.classList.add(scopeId + '-s');
|
|
303
|
-
}
|
|
304
391
|
newVNode.$flags$ |= newVNode.$children$
|
|
305
392
|
? // slot element has fallback content
|
|
306
393
|
2 /* isSlotFallback */
|
|
@@ -333,15 +420,10 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
333
420
|
{
|
|
334
421
|
updateElement(null, newVNode, isSvgMode);
|
|
335
422
|
}
|
|
336
|
-
if (isDef(scopeId) && elm['s-si'] !== scopeId) {
|
|
337
|
-
// if there is a scopeId and this is the initial render
|
|
338
|
-
// then let's add the scopeId as a css class
|
|
339
|
-
elm.classList.add((elm['s-si'] = scopeId));
|
|
340
|
-
}
|
|
341
423
|
if (newVNode.$children$) {
|
|
342
424
|
for (i = 0; i < newVNode.$children$.length; ++i) {
|
|
343
425
|
// create the node
|
|
344
|
-
childNode = createElm(oldParentVNode, newVNode, i
|
|
426
|
+
childNode = createElm(oldParentVNode, newVNode, i);
|
|
345
427
|
// return node could have been null
|
|
346
428
|
if (childNode) {
|
|
347
429
|
// append our new node
|
|
@@ -407,12 +489,9 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
407
489
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
408
490
|
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
409
491
|
let childNode;
|
|
410
|
-
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
411
|
-
containerElm = containerElm.shadowRoot;
|
|
412
|
-
}
|
|
413
492
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
414
493
|
if (vnodes[startIdx]) {
|
|
415
|
-
childNode = createElm(null, parentVNode, startIdx
|
|
494
|
+
childNode = createElm(null, parentVNode, startIdx);
|
|
416
495
|
if (childNode) {
|
|
417
496
|
vnodes[startIdx].$elm$ = childNode;
|
|
418
497
|
containerElm.insertBefore(childNode, referenceNode(before) );
|
|
@@ -447,6 +526,8 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
|
447
526
|
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
448
527
|
let oldStartIdx = 0;
|
|
449
528
|
let newStartIdx = 0;
|
|
529
|
+
let idxInOld = 0;
|
|
530
|
+
let i = 0;
|
|
450
531
|
let oldEndIdx = oldCh.length - 1;
|
|
451
532
|
let oldStartVnode = oldCh[0];
|
|
452
533
|
let oldEndVnode = oldCh[oldEndIdx];
|
|
@@ -454,6 +535,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
454
535
|
let newStartVnode = newCh[0];
|
|
455
536
|
let newEndVnode = newCh[newEndIdx];
|
|
456
537
|
let node;
|
|
538
|
+
let elmToMove;
|
|
457
539
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
458
540
|
if (oldStartVnode == null) {
|
|
459
541
|
// Vnode might have been moved left
|
|
@@ -499,9 +581,31 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
499
581
|
newStartVnode = newCh[++newStartIdx];
|
|
500
582
|
}
|
|
501
583
|
else {
|
|
584
|
+
// createKeyToOldIdx
|
|
585
|
+
idxInOld = -1;
|
|
502
586
|
{
|
|
587
|
+
for (i = oldStartIdx; i <= oldEndIdx; ++i) {
|
|
588
|
+
if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
|
|
589
|
+
idxInOld = i;
|
|
590
|
+
break;
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
if (idxInOld >= 0) {
|
|
595
|
+
elmToMove = oldCh[idxInOld];
|
|
596
|
+
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
597
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld);
|
|
598
|
+
}
|
|
599
|
+
else {
|
|
600
|
+
patch(elmToMove, newStartVnode);
|
|
601
|
+
oldCh[idxInOld] = undefined;
|
|
602
|
+
node = elmToMove.$elm$;
|
|
603
|
+
}
|
|
604
|
+
newStartVnode = newCh[++newStartIdx];
|
|
605
|
+
}
|
|
606
|
+
else {
|
|
503
607
|
// new element
|
|
504
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx
|
|
608
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx);
|
|
505
609
|
newStartVnode = newCh[++newStartIdx];
|
|
506
610
|
}
|
|
507
611
|
if (node) {
|
|
@@ -525,7 +629,9 @@ const isSameVnode = (vnode1, vnode2) => {
|
|
|
525
629
|
if (vnode1.$tag$ === 'slot') {
|
|
526
630
|
return vnode1.$name$ === vnode2.$name$;
|
|
527
631
|
}
|
|
528
|
-
|
|
632
|
+
{
|
|
633
|
+
return vnode1.$key$ === vnode2.$key$;
|
|
634
|
+
}
|
|
529
635
|
}
|
|
530
636
|
return false;
|
|
531
637
|
};
|
|
@@ -738,10 +844,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
738
844
|
rootVnode.$tag$ = null;
|
|
739
845
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
740
846
|
hostRef.$vnode$ = rootVnode;
|
|
741
|
-
rootVnode.$elm$ = oldVNode.$elm$ = (hostElm
|
|
742
|
-
{
|
|
743
|
-
scopeId = hostElm['s-sc'];
|
|
744
|
-
}
|
|
847
|
+
rootVnode.$elm$ = oldVNode.$elm$ = (hostElm);
|
|
745
848
|
{
|
|
746
849
|
contentRef = hostElm['s-cr'];
|
|
747
850
|
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
@@ -938,6 +1041,7 @@ const postUpdateComponent = (hostRef) => {
|
|
|
938
1041
|
const tagName = hostRef.$cmpMeta$.$tagName$;
|
|
939
1042
|
const elm = hostRef.$hostElement$;
|
|
940
1043
|
const endPostUpdate = createTime('postUpdate', tagName);
|
|
1044
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
941
1045
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
942
1046
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
943
1047
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
@@ -945,6 +1049,9 @@ const postUpdateComponent = (hostRef) => {
|
|
|
945
1049
|
// DOM WRITE!
|
|
946
1050
|
addHydratedFlag(elm);
|
|
947
1051
|
}
|
|
1052
|
+
{
|
|
1053
|
+
safeCall(instance, 'componentDidLoad');
|
|
1054
|
+
}
|
|
948
1055
|
endPostUpdate();
|
|
949
1056
|
{
|
|
950
1057
|
hostRef.$onReadyResolve$(elm);
|
|
@@ -1293,17 +1400,6 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1293
1400
|
super(self);
|
|
1294
1401
|
self = this;
|
|
1295
1402
|
registerHost(self, cmpMeta);
|
|
1296
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1297
|
-
// this component is using shadow dom
|
|
1298
|
-
// and this browser supports shadow dom
|
|
1299
|
-
// add the read-only property "shadowRoot" to the host element
|
|
1300
|
-
// adding the shadow root build conditionals to minimize runtime
|
|
1301
|
-
{
|
|
1302
|
-
{
|
|
1303
|
-
self.attachShadow({ mode: 'open' });
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
1403
|
}
|
|
1308
1404
|
connectedCallback() {
|
|
1309
1405
|
if (appLoadFallback) {
|
|
@@ -1349,6 +1445,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1349
1445
|
// Fallback appLoad event
|
|
1350
1446
|
endBootstrap();
|
|
1351
1447
|
};
|
|
1448
|
+
const Fragment = (_, children) => children;
|
|
1352
1449
|
const hostRefs = new WeakMap();
|
|
1353
1450
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1354
1451
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -1434,9 +1531,11 @@ const flush = () => {
|
|
|
1434
1531
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1435
1532
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1436
1533
|
|
|
1534
|
+
exports.Fragment = Fragment;
|
|
1437
1535
|
exports.Host = Host;
|
|
1438
1536
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1439
1537
|
exports.createEvent = createEvent;
|
|
1538
|
+
exports.getElement = getElement;
|
|
1440
1539
|
exports.h = h;
|
|
1441
1540
|
exports.promiseResolve = promiseResolve;
|
|
1442
1541
|
exports.registerInstance = registerInstance;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-9662f096.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
Stencil Client Patch Esm v2.8.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -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-avatar_14.cjs",[[4,"xpl-
|
|
17
|
+
return index.bootstrapLazy([["xpl-avatar_14.cjs",[[0,"xpl-backdrop"],[4,"xpl-breadcrumb-item"],[4,"xpl-breadcrumbs"],[4,"xpl-content-area",{"size":[1]}],[4,"xpl-main-nav",{"width":[1]}],[4,"xpl-nav-item"],[4,"xpl-secondary-nav"],[0,"xpl-table",{"columns":[16],"data":[16],"freeze":[4],"multiselect":[4],"striped":[4],"areAllSelected":[32],"rowData":[32],"hasScrolled":[32],"selected":[32]}],[4,"xpl-utility-bar"],[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],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"iconTrailing":[4,"icon-trailing"],"name":[1],"size":[1],"type":[1],"value":[1],"variant":[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]}]]],["xpl-choicelist.cjs",[[0,"xpl-choicelist",{"choices":[16],"description":[1],"heading":[1],"multi":[4],"name":[1],"styled":[4],"selected":[32]}]]],["xpl-list.cjs",[[0,"xpl-list",{"items":[16]}]]],["xpl-button-row.cjs",[[0,"xpl-button-row",{"primary":[1],"secondary":[1],"tertiary":[1]}]]],["xpl-select.cjs",[[0,"xpl-select",{"choices":[16],"description":[1],"disabled":[4],"error":[1],"label":[1],"mode":[1],"placeholder":[1],"truncate":[4],"active":[32],"id":[32],"keepFocus":[32],"selected":[32],"value":[32],"visibleChoices":[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-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-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-tag.cjs",[[4,"xpl-tag"]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|