@kyndryl-design-system/shidoka-applications 2.81.0 → 2.81.2
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/common/helpers/swiper.js +1 -1
- package/components/ai/sourcesFeedback/aiSourcesFeedback.js +1 -1
- package/components/ai/sourcesFeedback/index.js +1 -1
- package/components/global/header/headerCategories.js +1 -1
- package/components/global/header/headerFlyout.js +3 -4
- package/components/global/header/headerFlyout.js.map +1 -1
- package/components/global/header/headerFlyouts.js +1 -1
- package/components/global/header/headerLink.js +1 -1
- package/components/global/header/headerNav.js +1 -1
- package/components/global/header/index.js +1 -1
- package/components/global/localNav/index.js +1 -1
- package/components/global/localNav/localNav.js +1 -1
- package/components/global/localNav/localNavLink.js +1 -1
- package/components/reusable/accordion/accordionItem.js +1 -1
- package/components/reusable/accordion/index.js +1 -1
- package/components/reusable/badge/badge.js +3 -3
- package/components/reusable/badge/index.js +1 -1
- package/components/reusable/blockCodeView/blockCodeView.js +1 -1
- package/components/reusable/blockCodeView/index.js +1 -1
- package/components/reusable/buttonGroup/buttonGroup.js +1 -1
- package/components/reusable/buttonGroup/index.js +1 -1
- package/components/reusable/card/card.js +1 -1
- package/components/reusable/card/index.js +1 -1
- package/components/reusable/checkbox/checkboxGroup.js +1 -1
- package/components/reusable/checkbox/index.js +1 -1
- package/components/reusable/colorInput/colorInput.js +1 -1
- package/components/reusable/colorInput/index.js +1 -1
- package/components/reusable/datePicker/datepicker.js +1 -1
- package/components/reusable/datePicker/index.js +1 -1
- package/components/reusable/daterangepicker/daterangepicker.js +1 -1
- package/components/reusable/daterangepicker/index.js +1 -1
- package/components/reusable/dropdown/dropdown.js +1 -1
- package/components/reusable/dropdown/dropdownOption.js +1 -1
- package/components/reusable/dropdown/enhancedDropdownOption.js +1 -1
- package/components/reusable/dropdown/index.js +1 -1
- package/components/reusable/fileUploader/fileUploader.js +3 -3
- package/components/reusable/fileUploader/fileUploaderListContainer.js +1 -1
- package/components/reusable/fileUploader/index.js +1 -1
- package/components/reusable/iconSelector/iconSelector.js +1 -1
- package/components/reusable/iconSelector/index.js +1 -1
- package/components/reusable/inlineConfirm/index.js +1 -1
- package/components/reusable/inlineConfirm/inlineConfirm.js +1 -1
- package/components/reusable/loaders/aiLoader.js +1 -1
- package/components/reusable/loaders/index.js +1 -1
- package/components/reusable/loaders/inline.js +1 -1
- package/components/reusable/loaders/spinner.js +1 -1
- package/components/reusable/modal/index.js +1 -1
- package/components/reusable/modal/modal.js +1 -1
- package/components/reusable/multiInputField/index.js +1 -1
- package/components/reusable/multiInputField/multiInputField.js +1 -1
- package/components/reusable/notification/index.js +1 -1
- package/components/reusable/notification/notification.js +1 -1
- package/components/reusable/numberInput/index.js +1 -1
- package/components/reusable/numberInput/numberInput.js +1 -1
- package/components/reusable/overflowMenu/index.js +1 -1
- package/components/reusable/overflowMenu/overflowMenu.js +1 -1
- package/components/reusable/overflowMenu/overflowMenuItem.js +1 -1
- package/components/reusable/pagination/Pagination.js +1 -1
- package/components/reusable/pagination/index.js +1 -1
- package/components/reusable/pagination/pagination-navigation-buttons.js +1 -1
- package/components/reusable/pagination/pagination-page-size-dropdown.js +1 -1
- package/components/reusable/popover/index.js +1 -1
- package/components/reusable/popover/popover.js +1 -1
- package/components/reusable/progressBar/index.js +1 -1
- package/components/reusable/progressBar/progressBar.js +1 -1
- package/components/reusable/queryBuilder/index.js +1 -1
- package/components/reusable/queryBuilder/queryBuilder.js +1 -1
- package/components/reusable/queryBuilder/queryBuilderGroup.js +3 -3
- package/components/reusable/queryBuilder/queryBuilderRule.js +3 -3
- package/components/reusable/radioButton/index.js +1 -1
- package/components/reusable/radioButton/radioButtonGroup.js +1 -1
- package/components/reusable/search/index.js +1 -1
- package/components/reusable/search/search.js +1 -1
- package/components/reusable/sideDrawer/index.js +1 -1
- package/components/reusable/sideDrawer/sideDrawer.js +1 -1
- package/components/reusable/sliderInput/index.js +1 -1
- package/components/reusable/sliderInput/sliderInput.js +1 -1
- package/components/reusable/splitButton/index.js +1 -1
- package/components/reusable/splitButton/splitButton.js +1 -1
- package/components/reusable/stepper/index.js +1 -1
- package/components/reusable/stepper/stepper.js +1 -1
- package/components/reusable/stepper/stepperItem.js +1 -1
- package/components/reusable/table/index.js +1 -1
- package/components/reusable/table/table-body.js +1 -1
- package/components/reusable/table/table-header-row.js +1 -1
- package/components/reusable/table/table-header.js +1 -1
- package/components/reusable/table/table-row.js +1 -1
- package/components/reusable/table/table.skeleton.js +1 -1
- package/components/reusable/tag/index.js +1 -1
- package/components/reusable/tag/tag.js +1 -1
- package/components/reusable/tag/tagGroup.js +1 -1
- package/components/reusable/textArea/index.js +1 -1
- package/components/reusable/textArea/textArea.js +1 -1
- package/components/reusable/textInput/index.js +1 -1
- package/components/reusable/textInput/textInput.js +1 -1
- package/components/reusable/timepicker/index.js +1 -1
- package/components/reusable/timepicker/timepicker.js +1 -1
- package/components/reusable/tooltip/index.js +1 -1
- package/components/reusable/tooltip/tooltip.js +1 -1
- package/components/reusable/widget/index.js +1 -1
- package/components/reusable/widget/widget.js +1 -1
- package/components/reusable/widget/widgetDragHandle.js +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{table.skeleton-DM2dgJx1.js → table.skeleton-CdNuzb57.js} +6 -6
- package/{table.skeleton-DM2dgJx1.js.map → table.skeleton-CdNuzb57.js.map} +1 -1
- package/vendor/@kyndryl-design-system/{shidoka-icons-bavM125A.js → shidoka-icons-DOwHqoMi.js} +2 -2
- package/vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js.map +1 -0
- package/vendor/@kyndryl-design-system/shidoka-icons-bavM125A.js.map +0 -1
package/common/helpers/swiper.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{a as e}from"../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";const n={slidesPerView:1.25,centeredSlides:!0,spaceBetween:16,breakpoints:{672:{slidesPerView:"auto",spaceBetween:24}},keyboard:{enabled:!0},mousewheel:{enabled:!0,forceToAxis:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},scrollbar:{el:".swiper-scrollbar",draggable:!0},pagination:{el:".swiper-pagination",clickable:!0,type:"fraction"},on:{init:function(n){n.navigation.prevEl.innerHTML=e,n.navigation.nextEl.innerHTML=e,t(n)},transitionEnd:function(e){t(e)},scrollbarDragEnd:function(e){t(e)}}},t=e=>{const n=e.el.getBoundingClientRect();e.slides.forEach((e=>{const t=e.getBoundingClientRect();t.left<n.left||t.right>n.width+n.left?(e.classList.add("off-screen"),e.setAttribute("aria-disabled","true")):(e.classList.remove("off-screen"),e.setAttribute("aria-disabled","false"))}))};export{n as SwiperConfig};
|
|
2
2
|
//# sourceMappingURL=swiper.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as s,__classPrivateFieldGet as i,__classPrivateFieldSet as a}from"tslib";import{css as n,LitElement as l,unsafeCSS as o,html as c}from"lit";import{customElement as d,property as r,state as h,queryAssignedElements as u}from"lit/decorators.js";import{deepmerge as p}from"deepmerge-ts";import{classMap as k}from"lit-html/directives/class-map.js";import{unsafeSVG as b}from"lit/directives/unsafe-svg.js";import{N as m,O as f,P as v,Q as g,h as y,c as C}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as s,__classPrivateFieldGet as i,__classPrivateFieldSet as a}from"tslib";import{css as n,LitElement as l,unsafeCSS as o,html as c}from"lit";import{customElement as d,property as r,state as h,queryAssignedElements as u}from"lit/decorators.js";import{deepmerge as p}from"deepmerge-ts";import{classMap as k}from"lit-html/directives/class-map.js";import{unsafeSVG as b}from"lit/directives/unsafe-svg.js";import{N as m,O as f,P as v,Q as g,h as y,c as C}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"../../reusable/link/link.js";import"../../reusable/card/card.js";import"../../reusable/card/vitalCard.skeleton.js";import"../../reusable/card/informationalCard.skeleton.js";import"../../reusable/button/button.js";import"../../reusable/link/defs.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"../../reusable/inlineConfirm/inlineConfirm.js";import"lit-html/directives/unsafe-svg.js";import"../../reusable/loaders/skeleton.js";import"../../../cardSample-BCIwY1rJ.js";import"../../../common/helpers/helpers.js";import"../../reusable/button/defs.js";var _=n`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{AISourcesFeedback}from"./aiSourcesFeedback.js";import"tslib";import"lit";import"lit/decorators.js";import"deepmerge-ts";import"lit-html/directives/class-map.js";import"lit/directives/unsafe-svg.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{AISourcesFeedback}from"./aiSourcesFeedback.js";import"tslib";import"lit";import"lit/decorators.js";import"deepmerge-ts";import"lit-html/directives/class-map.js";import"lit/directives/unsafe-svg.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"../../reusable/link/link.js";import"../../reusable/link/defs.js";import"../../reusable/card/card.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"../../reusable/inlineConfirm/inlineConfirm.js";import"lit-html/directives/unsafe-svg.js";import"../../reusable/button/button.js";import"../../../common/helpers/helpers.js";import"../../reusable/button/defs.js";import"../../reusable/card/vitalCard.skeleton.js";import"../../reusable/loaders/skeleton.js";import"../../../cardSample-BCIwY1rJ.js";import"../../reusable/card/informationalCard.skeleton.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as n}from"tslib";import{unsafeSVG as s}from"lit-html/directives/unsafe-svg.js";import{unsafeHTML as r}from"lit-html/directives/unsafe-html.js";import{css as o,LitElement as l,unsafeCSS as d,html as h}from"lit";import{customElement as g,property as c,state as u}from"lit/decorators.js";import"./headerCategory.js";import"../../reusable/button/button.js";import"./headerLink.js";import{d as m,f as v}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as n}from"tslib";import{unsafeSVG as s}from"lit-html/directives/unsafe-svg.js";import{unsafeHTML as r}from"lit-html/directives/unsafe-html.js";import{css as o,LitElement as l,unsafeCSS as d,html as h}from"lit";import{customElement as g,property as c,state as u}from"lit/decorators.js";import"./headerCategory.js";import"../../reusable/button/button.js";import"./headerLink.js";import{d as m,f as v}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import{ifDefined as k}from"lit/directives/if-defined.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../../reusable/button/defs.js";import"lit/directives/class-map.js";import"lit/directives/style-map.js";import"../../reusable/textInput/textInput.js";import"deepmerge-ts";import"../../../common/mixins/form-input.js";var p=o`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as n}from"tslib";import{unsafeSVG as o}from"lit-html/directives/unsafe-svg.js";import{css as r,LitElement as s,unsafeCSS as l,html as d}from"lit";import{customElement as c,property as h,queryAssignedElements as m}from"lit/decorators.js";import{classMap as u}from"lit/directives/class-map.js";import{d as p,f as k}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as n}from"tslib";import{unsafeSVG as o}from"lit-html/directives/unsafe-svg.js";import{css as r,LitElement as s,unsafeCSS as l,html as d}from"lit";import{customElement as c,property as h,queryAssignedElements as m}from"lit/decorators.js";import{classMap as u}from"lit/directives/class-map.js";import{d as p,f as k}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";var v=r`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -362,7 +362,6 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
362
362
|
}
|
|
363
363
|
.menu__content {
|
|
364
364
|
top: var(--kd-header-height);
|
|
365
|
-
transform: translateX(100%);
|
|
366
365
|
}
|
|
367
366
|
}
|
|
368
367
|
@media (min-width: 42rem) {
|
|
@@ -372,7 +371,7 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
372
371
|
.label {
|
|
373
372
|
display: none;
|
|
374
373
|
}
|
|
375
|
-
}`;let b=(()=>{var r,b,g,f,x,y,w,z,_,L;let $,T,M,B,C,E,W,j,S,A,O,P,F=[c("kyn-header-flyout")],H=[],U=s,
|
|
374
|
+
}`;let b=(()=>{var r,b,g,f,x,y,w,z,_,L;let $,T,M,B,C,E,W,j,S,A,O,P,F=[c("kyn-header-flyout")],H=[],U=s,q=[],D=[],G=[],I=[],J=[],K=[],N=[],Q=[],R=[],V=[],X=[],Y=[],Z=[],tt=[],et=[],it=[],at=[],nt=[],ot=[],rt=[];return T=class extends U{get open(){return a(this,r,"f")}set open(t){n(this,r,t,"f")}get anchorLeft(){return a(this,b,"f")}set anchorLeft(t){n(this,b,t,"f")}get hideArrow(){return a(this,g,"f")}set hideArrow(t){n(this,g,t,"f")}get label(){return a(this,f,"f")}set label(t){n(this,f,t,"f")}get hideMenuLabel(){return a(this,x,"f")}set hideMenuLabel(t){n(this,x,t,"f")}get hideButtonLabel(){return a(this,y,"f")}set hideButtonLabel(t){n(this,y,t,"f")}get assistiveText(){return a(this,w,"f")}set assistiveText(t){n(this,w,t,"f")}get href(){return a(this,z,"f")}set href(t){n(this,z,t,"f")}get backText(){return a(this,_,"f")}set backText(t){n(this,_,t,"f")}get slottedElements(){return a(this,L,"f")}set slottedElements(t){n(this,L,t,"f")}render(){const t={menu:!0,open:this.open},e={menu__content:!0,"menu__content--left":this.anchorLeft,slotted:this.slottedElements.length};return d`
|
|
376
375
|
<div class="${u(t)}">
|
|
377
376
|
${""!==this.href?d`
|
|
378
377
|
<a
|
|
@@ -430,5 +429,5 @@ import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPr
|
|
|
430
429
|
<slot></slot>
|
|
431
430
|
</div>
|
|
432
431
|
</div>
|
|
433
|
-
`}_handleBack(){this.open=!1}handleClick(){this.open=!this.open}handleClickOut(t){t.composedPath().includes(this)||(this.open=!1)}willUpdate(t){if(t.has("open")){const t=new CustomEvent("on-flyout-toggle",{composed:!0,bubbles:!0,detail:{open:this.open}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",(t=>this.handleClickOut(t)))}disconnectedCallback(){document.removeEventListener("click",(t=>this.handleClickOut(t))),super.disconnectedCallback()}constructor(){super(...arguments),r.set(this,i(this,
|
|
432
|
+
`}_handleBack(){this.open=!1}handleClick(){this.open=!this.open}handleClickOut(t){t.composedPath().includes(this)||(this.open=!1)}willUpdate(t){if(t.has("open")){const t=new CustomEvent("on-flyout-toggle",{composed:!0,bubbles:!0,detail:{open:this.open}});this.dispatchEvent(t)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",(t=>this.handleClickOut(t)))}disconnectedCallback(){document.removeEventListener("click",(t=>this.handleClickOut(t))),super.disconnectedCallback()}constructor(){super(...arguments),r.set(this,i(this,q,!1)),b.set(this,(i(this,D),i(this,G,!1))),g.set(this,(i(this,I),i(this,J,!1))),f.set(this,(i(this,K),i(this,N,""))),x.set(this,(i(this,Q),i(this,R,!1))),y.set(this,(i(this,V),i(this,X,!1))),w.set(this,(i(this,Y),i(this,Z,""))),z.set(this,(i(this,tt),i(this,et,""))),_.set(this,(i(this,it),i(this,at,"Back"))),L.set(this,(i(this,nt),i(this,ot,void 0))),i(this,rt)}},r=new WeakMap,b=new WeakMap,g=new WeakMap,f=new WeakMap,x=new WeakMap,y=new WeakMap,w=new WeakMap,z=new WeakMap,_=new WeakMap,L=new WeakMap,t(T,"HeaderFlyout"),(()=>{var t;const i="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(t=U[Symbol.metadata])&&void 0!==t?t:null):void 0;M=[h({type:Boolean,reflect:!0})],B=[h({type:Boolean})],C=[h({type:Boolean})],E=[h({type:String})],W=[h({type:Boolean})],j=[h({type:Boolean})],S=[h({type:String})],A=[h({type:String})],O=[h({type:String})],P=[m()],e(T,null,M,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:i},q,D),e(T,null,B,{kind:"accessor",name:"anchorLeft",static:!1,private:!1,access:{has:t=>"anchorLeft"in t,get:t=>t.anchorLeft,set:(t,e)=>{t.anchorLeft=e}},metadata:i},G,I),e(T,null,C,{kind:"accessor",name:"hideArrow",static:!1,private:!1,access:{has:t=>"hideArrow"in t,get:t=>t.hideArrow,set:(t,e)=>{t.hideArrow=e}},metadata:i},J,K),e(T,null,E,{kind:"accessor",name:"label",static:!1,private:!1,access:{has:t=>"label"in t,get:t=>t.label,set:(t,e)=>{t.label=e}},metadata:i},N,Q),e(T,null,W,{kind:"accessor",name:"hideMenuLabel",static:!1,private:!1,access:{has:t=>"hideMenuLabel"in t,get:t=>t.hideMenuLabel,set:(t,e)=>{t.hideMenuLabel=e}},metadata:i},R,V),e(T,null,j,{kind:"accessor",name:"hideButtonLabel",static:!1,private:!1,access:{has:t=>"hideButtonLabel"in t,get:t=>t.hideButtonLabel,set:(t,e)=>{t.hideButtonLabel=e}},metadata:i},X,Y),e(T,null,S,{kind:"accessor",name:"assistiveText",static:!1,private:!1,access:{has:t=>"assistiveText"in t,get:t=>t.assistiveText,set:(t,e)=>{t.assistiveText=e}},metadata:i},Z,tt),e(T,null,A,{kind:"accessor",name:"href",static:!1,private:!1,access:{has:t=>"href"in t,get:t=>t.href,set:(t,e)=>{t.href=e}},metadata:i},et,it),e(T,null,O,{kind:"accessor",name:"backText",static:!1,private:!1,access:{has:t=>"backText"in t,get:t=>t.backText,set:(t,e)=>{t.backText=e}},metadata:i},at,nt),e(T,null,P,{kind:"accessor",name:"slottedElements",static:!1,private:!1,access:{has:t=>"slottedElements"in t,get:t=>t.slottedElements,set:(t,e)=>{t.slottedElements=e}},metadata:i},ot,rt),e(null,$={value:T},F,{kind:"class",name:T.name,metadata:i},null,H),T=$.value,i&&Object.defineProperty(T,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:i})})(),T.styles=l(v),i(T,H),T})();export{b as HeaderFlyout};
|
|
434
433
|
//# sourceMappingURL=headerFlyout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerFlyout.js","sources":["../../../../src/components/global/header/headerFlyout.ts"],"sourcesContent":["import { unsafeSVG } from 'lit-html/directives/unsafe-svg.js';\nimport { LitElement, html, unsafeCSS } from 'lit';\nimport {\n customElement,\n property,\n queryAssignedElements,\n} from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport HeaderFlyoutScss from './headerFlyout.scss?inline';\nimport chevronIcon from '@kyndryl-design-system/shidoka-icons/svg/monochrome/16/chevron-right.svg';\nimport backIcon from '@kyndryl-design-system/shidoka-icons/svg/monochrome/16/arrow-left.svg';\n\n/**\n * Component for header flyout items.\n * @slot unnamed - Slot for flyout menu content.\n * @slot button - Slot for button/toggle content.\n */\n@customElement('kyn-header-flyout')\nexport class HeaderFlyout extends LitElement {\n static override styles = unsafeCSS(HeaderFlyoutScss);\n\n /** Flyout open state. */\n @property({ type: Boolean, reflect: true })\n accessor open = false;\n\n /** Anchor flyout menu to the left edge of the button instead of the right edge. */\n @property({ type: Boolean })\n accessor anchorLeft = false;\n\n /** Hides the arrow. */\n @property({ type: Boolean })\n accessor hideArrow = false;\n\n /** Menu & button label. */\n @property({ type: String })\n accessor label = '';\n\n /** Hide the label at the top of the flyout menu. */\n @property({ type: Boolean })\n accessor hideMenuLabel = false;\n\n /** Hide the label in the mobile button. */\n @property({ type: Boolean })\n accessor hideButtonLabel = false;\n\n /**\n * DEPRECATED. Use `label` instead.\n * Button assistive text, title + aria-label.\n */\n @property({ type: String })\n accessor assistiveText = '';\n\n /** Turns the button into a link. */\n @property({ type: String })\n accessor href = '';\n\n /** Text for mobile \"Back\" button. */\n @property({ type: String })\n accessor backText = 'Back';\n\n /**\n * Queries any slotted HTML elements.\n * @ignore\n */\n @queryAssignedElements()\n accessor slottedElements!: Array<HTMLElement>;\n\n override render() {\n const classes = {\n menu: true,\n open: this.open,\n };\n\n const contentClasses = {\n menu__content: true,\n 'menu__content--left': this.anchorLeft,\n slotted: this.slottedElements.length,\n };\n\n return html`\n <div class=\"${classMap(classes)}\">\n ${this.href !== ''\n ? html`\n <a\n class=\"btn interactive\"\n href=${this.href}\n title=${this.label || this.assistiveText}\n aria-label=${this.label || this.assistiveText}\n @click=${this.handleClick}\n >\n <slot name=\"button\"></slot>\n\n ${!this.hideButtonLabel\n ? html`\n <span class=\"label\">\n ${this.label || this.assistiveText}\n </span>\n `\n : null}\n\n <span slot=\"button\" class=\"arrow\">\n ${unsafeSVG(chevronIcon)}\n </span>\n </a>\n `\n : html`\n <button\n class=\"btn interactive\"\n title=${this.label || this.assistiveText}\n aria-label=${this.label || this.assistiveText}\n @click=${this.handleClick}\n >\n <slot name=\"button\"></slot>\n\n ${!this.hideButtonLabel\n ? html`\n <span class=\"label\">\n ${this.label || this.assistiveText}\n </span>\n `\n : null}\n\n <span slot=\"button\" class=\"arrow\">\n ${unsafeSVG(chevronIcon)}\n </span>\n </button>\n `}\n\n <div class=${classMap(contentClasses)}>\n <button class=\"go-back\" @click=${() => this._handleBack()}>\n <span>${unsafeSVG(backIcon)}</span>\n ${this.backText}\n </button>\n\n ${!this.hideMenuLabel\n ? html`\n <div class=\"menu-label\">\n ${this.label || this.assistiveText}\n </div>\n `\n : null}\n\n <slot></slot>\n </div>\n </div>\n `;\n }\n\n private _handleBack() {\n this.open = false;\n }\n\n private handleClick() {\n this.open = !this.open;\n }\n\n private handleClickOut(e: Event) {\n if (!e.composedPath().includes(this)) {\n this.open = false;\n }\n }\n\n override willUpdate(changedProps: any) {\n if (changedProps.has('open')) {\n const event = new CustomEvent('on-flyout-toggle', {\n composed: true,\n bubbles: true,\n detail: { open: this.open },\n });\n this.dispatchEvent(event);\n }\n }\n\n override connectedCallback() {\n super.connectedCallback();\n\n document.addEventListener('click', (e) => this.handleClickOut(e));\n }\n\n override disconnectedCallback() {\n document.removeEventListener('click', (e) => this.handleClickOut(e));\n\n super.disconnectedCallback();\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-header-flyout': HeaderFlyout;\n }\n}\n"],"names":["HeaderFlyout","customElement","LitElement","_classThis","_classSuper","open","__classPrivateFieldGet","this","_HeaderFlyout_open_accessor_storage","value","__classPrivateFieldSet","anchorLeft","_HeaderFlyout_anchorLeft_accessor_storage","hideArrow","_HeaderFlyout_hideArrow_accessor_storage","label","_HeaderFlyout_label_accessor_storage","hideMenuLabel","_HeaderFlyout_hideMenuLabel_accessor_storage","hideButtonLabel","_HeaderFlyout_hideButtonLabel_accessor_storage","assistiveText","_HeaderFlyout_assistiveText_accessor_storage","href","_HeaderFlyout_href_accessor_storage","backText","_HeaderFlyout_backText_accessor_storage","slottedElements","_HeaderFlyout_slottedElements_accessor_storage","render","classes","menu","contentClasses","menu__content","slotted","length","html","classMap","handleClick","unsafeSVG","chevronIcon","_handleBack","backIcon","handleClickOut","e","composedPath","includes","willUpdate","changedProps","has","event","CustomEvent","composed","bubbles","detail","dispatchEvent","connectedCallback","super","document","addEventListener","disconnectedCallback","removeEventListener","set","__runInitializers","_open_initializers","_open_extraInitializers","_anchorLeft_initializers","_anchorLeft_extraInitializers","_hideArrow_initializers","_hideArrow_extraInitializers","_label_initializers","_label_extraInitializers","_hideMenuLabel_initializers","_hideMenuLabel_extraInitializers","_hideButtonLabel_initializers","_hideButtonLabel_extraInitializers","_assistiveText_initializers","_assistiveText_extraInitializers","_href_initializers","_href_extraInitializers","_backText_initializers","_backText_extraInitializers","_slottedElements_initializers","property","type","Boolean","reflect","_anchorLeft_decorators","_hideArrow_decorators","_label_decorators","String","_hideMenuLabel_decorators","_hideButtonLabel_decorators","_assistiveText_decorators","_href_decorators","_backText_decorators","_slottedElements_decorators","queryAssignedElements","__esDecorate","_open_decorators","kind","name","static","private","access","obj","get","metadata","_metadata","_slottedElements_extraInitializers","_classDescriptor","_classDecorators","_classExtraInitializers","styles","unsafeCSS","HeaderFlyoutScss"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkBaA,EAAY,6DADxBC,EAAc,6BACmBC,oHAARC,EAAA,cAAQC,EAKhC,QAASC,GAAI,OAAAC,EAAAC,KAAAC,EAAA,IAAA,CAAb,QAASH,CAAII,GAAAC,EAAAH,KAAAC,EAAAC,EAAA,IAAA,CAIb,cAASE,GAAU,OAAAL,EAAAC,KAAAK,EAAA,IAAA,CAAnB,cAASD,CAAUF,GAAAC,EAAAH,KAAAK,EAAAH,EAAA,IAAA,CAInB,aAASI,GAAS,OAAAP,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sources":["../../../../src/components/global/header/headerFlyout.ts"],"sourcesContent":["import { unsafeSVG } from 'lit-html/directives/unsafe-svg.js';\nimport { LitElement, html, unsafeCSS } from 'lit';\nimport {\n customElement,\n property,\n queryAssignedElements,\n} from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport HeaderFlyoutScss from './headerFlyout.scss?inline';\nimport chevronIcon from '@kyndryl-design-system/shidoka-icons/svg/monochrome/16/chevron-right.svg';\nimport backIcon from '@kyndryl-design-system/shidoka-icons/svg/monochrome/16/arrow-left.svg';\n\n/**\n * Component for header flyout items.\n * @slot unnamed - Slot for flyout menu content.\n * @slot button - Slot for button/toggle content.\n */\n@customElement('kyn-header-flyout')\nexport class HeaderFlyout extends LitElement {\n static override styles = unsafeCSS(HeaderFlyoutScss);\n\n /** Flyout open state. */\n @property({ type: Boolean, reflect: true })\n accessor open = false;\n\n /** Anchor flyout menu to the left edge of the button instead of the right edge. */\n @property({ type: Boolean })\n accessor anchorLeft = false;\n\n /** Hides the arrow. */\n @property({ type: Boolean })\n accessor hideArrow = false;\n\n /** Menu & button label. */\n @property({ type: String })\n accessor label = '';\n\n /** Hide the label at the top of the flyout menu. */\n @property({ type: Boolean })\n accessor hideMenuLabel = false;\n\n /** Hide the label in the mobile button. */\n @property({ type: Boolean })\n accessor hideButtonLabel = false;\n\n /**\n * DEPRECATED. Use `label` instead.\n * Button assistive text, title + aria-label.\n */\n @property({ type: String })\n accessor assistiveText = '';\n\n /** Turns the button into a link. */\n @property({ type: String })\n accessor href = '';\n\n /** Text for mobile \"Back\" button. */\n @property({ type: String })\n accessor backText = 'Back';\n\n /**\n * Queries any slotted HTML elements.\n * @ignore\n */\n @queryAssignedElements()\n accessor slottedElements!: Array<HTMLElement>;\n\n override render() {\n const classes = {\n menu: true,\n open: this.open,\n };\n\n const contentClasses = {\n menu__content: true,\n 'menu__content--left': this.anchorLeft,\n slotted: this.slottedElements.length,\n };\n\n return html`\n <div class=\"${classMap(classes)}\">\n ${this.href !== ''\n ? html`\n <a\n class=\"btn interactive\"\n href=${this.href}\n title=${this.label || this.assistiveText}\n aria-label=${this.label || this.assistiveText}\n @click=${this.handleClick}\n >\n <slot name=\"button\"></slot>\n\n ${!this.hideButtonLabel\n ? html`\n <span class=\"label\">\n ${this.label || this.assistiveText}\n </span>\n `\n : null}\n\n <span slot=\"button\" class=\"arrow\">\n ${unsafeSVG(chevronIcon)}\n </span>\n </a>\n `\n : html`\n <button\n class=\"btn interactive\"\n title=${this.label || this.assistiveText}\n aria-label=${this.label || this.assistiveText}\n @click=${this.handleClick}\n >\n <slot name=\"button\"></slot>\n\n ${!this.hideButtonLabel\n ? html`\n <span class=\"label\">\n ${this.label || this.assistiveText}\n </span>\n `\n : null}\n\n <span slot=\"button\" class=\"arrow\">\n ${unsafeSVG(chevronIcon)}\n </span>\n </button>\n `}\n\n <div class=${classMap(contentClasses)}>\n <button class=\"go-back\" @click=${() => this._handleBack()}>\n <span>${unsafeSVG(backIcon)}</span>\n ${this.backText}\n </button>\n\n ${!this.hideMenuLabel\n ? html`\n <div class=\"menu-label\">\n ${this.label || this.assistiveText}\n </div>\n `\n : null}\n\n <slot></slot>\n </div>\n </div>\n `;\n }\n\n private _handleBack() {\n this.open = false;\n }\n\n private handleClick() {\n this.open = !this.open;\n }\n\n private handleClickOut(e: Event) {\n if (!e.composedPath().includes(this)) {\n this.open = false;\n }\n }\n\n override willUpdate(changedProps: any) {\n if (changedProps.has('open')) {\n const event = new CustomEvent('on-flyout-toggle', {\n composed: true,\n bubbles: true,\n detail: { open: this.open },\n });\n this.dispatchEvent(event);\n }\n }\n\n override connectedCallback() {\n super.connectedCallback();\n\n document.addEventListener('click', (e) => this.handleClickOut(e));\n }\n\n override disconnectedCallback() {\n document.removeEventListener('click', (e) => this.handleClickOut(e));\n\n super.disconnectedCallback();\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-header-flyout': HeaderFlyout;\n }\n}\n"],"names":["HeaderFlyout","customElement","LitElement","_classThis","_classSuper","open","__classPrivateFieldGet","this","_HeaderFlyout_open_accessor_storage","value","__classPrivateFieldSet","anchorLeft","_HeaderFlyout_anchorLeft_accessor_storage","hideArrow","_HeaderFlyout_hideArrow_accessor_storage","label","_HeaderFlyout_label_accessor_storage","hideMenuLabel","_HeaderFlyout_hideMenuLabel_accessor_storage","hideButtonLabel","_HeaderFlyout_hideButtonLabel_accessor_storage","assistiveText","_HeaderFlyout_assistiveText_accessor_storage","href","_HeaderFlyout_href_accessor_storage","backText","_HeaderFlyout_backText_accessor_storage","slottedElements","_HeaderFlyout_slottedElements_accessor_storage","render","classes","menu","contentClasses","menu__content","slotted","length","html","classMap","handleClick","unsafeSVG","chevronIcon","_handleBack","backIcon","handleClickOut","e","composedPath","includes","willUpdate","changedProps","has","event","CustomEvent","composed","bubbles","detail","dispatchEvent","connectedCallback","super","document","addEventListener","disconnectedCallback","removeEventListener","set","__runInitializers","_open_initializers","_open_extraInitializers","_anchorLeft_initializers","_anchorLeft_extraInitializers","_hideArrow_initializers","_hideArrow_extraInitializers","_label_initializers","_label_extraInitializers","_hideMenuLabel_initializers","_hideMenuLabel_extraInitializers","_hideButtonLabel_initializers","_hideButtonLabel_extraInitializers","_assistiveText_initializers","_assistiveText_extraInitializers","_href_initializers","_href_extraInitializers","_backText_initializers","_backText_extraInitializers","_slottedElements_initializers","property","type","Boolean","reflect","_anchorLeft_decorators","_hideArrow_decorators","_label_decorators","String","_hideMenuLabel_decorators","_hideButtonLabel_decorators","_assistiveText_decorators","_href_decorators","_backText_decorators","_slottedElements_decorators","queryAssignedElements","__esDecorate","_open_decorators","kind","name","static","private","access","obj","get","metadata","_metadata","_slottedElements_extraInitializers","_classDescriptor","_classDecorators","_classExtraInitializers","styles","unsafeCSS","HeaderFlyoutScss"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAAvD,IAAAwD,GAAA,aAAAA,EAAAC,IAAAD,GAAAA,EAAShF,SAAQqC,IAAA,CAAA2C,EAAAhG,KAAAgG,EAARhF,SAAQhB,CAAA,GAAAkG,SAAAC,GAAA5B,GAAAC,IAOjBiB,EAAA/F,EAAA,KAAA6F,EAAA,CAAAI,KAAA,WAAAC,KAAA,kBAAAC,QAAA,EAAAC,SAAA,EAAAC,OAAA,CAAAvD,IAAAwD,GAAA,oBAAAA,EAAAC,IAAAD,GAAAA,EAAS9E,gBAAemC,IAAA,CAAA2C,EAAAhG,KAAAgG,EAAf9E,gBAAelB,CAAA,GAAAkG,SAAAC,GAAA1B,GAAA2B,IA/C1BX,EAAA,KAAAY,EAAA,CAAArG,MAAAN,GAAA4G,EAAA,CAAAX,KAAA,QAAAC,KAAAlG,EAAAkG,KAAAM,SAAAC,GAAA,KAAAI,iHACkB7G,EAAA8G,OAASC,EAAUC,GADxBpD,EAAA5D,EAAA6G,MAAY"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as o,__classPrivateFieldGet as i,__classPrivateFieldSet as n}from"tslib";import{unsafeSVG as r}from"lit-html/directives/unsafe-svg.js";import{css as a,LitElement as l,unsafeCSS as d,html as s}from"lit";import{customElement as c,property as u}from"lit/decorators.js";import{querySelectorAllDeep as m}from"query-selector-shadow-dom";import{o as p}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as o,__classPrivateFieldGet as i,__classPrivateFieldSet as n}from"tslib";import{unsafeSVG as r}from"lit-html/directives/unsafe-svg.js";import{css as a,LitElement as l,unsafeCSS as d,html as s}from"lit";import{customElement as c,property as u}from"lit/decorators.js";import{querySelectorAllDeep as m}from"query-selector-shadow-dom";import{o as p}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";var g=a`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as n,__classPrivateFieldSet as a}from"tslib";import{unsafeSVG as r}from"lit-html/directives/unsafe-svg.js";import{css as o,LitElement as s,unsafeCSS as l,html as d}from"lit";import{customElement as c,property as h,state as m,queryAssignedElements as u}from"lit/decorators.js";import{classMap as p}from"lit/directives/class-map.js";import{styleMap as v}from"lit/directives/style-map.js";import{debounce as k}from"../../../common/helpers/helpers.js";import"../../reusable/textInput/textInput.js";import{d as g,f,g as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as n,__classPrivateFieldSet as a}from"tslib";import{unsafeSVG as r}from"lit-html/directives/unsafe-svg.js";import{css as o,LitElement as s,unsafeCSS as l,html as d}from"lit";import{customElement as c,property as h,state as m,queryAssignedElements as u}from"lit/decorators.js";import{classMap as p}from"lit/directives/class-map.js";import{styleMap as v}from"lit/directives/style-map.js";import{debounce as k}from"../../../common/helpers/helpers.js";import"../../reusable/textInput/textInput.js";import{d as g,f,g as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"deepmerge-ts";import"lit/directives/if-defined.js";import"../../reusable/button/button.js";import"lit-html/directives/class-map.js";import"../../reusable/button/defs.js";import"../../../common/mixins/form-input.js";var x=o`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as o,__classPrivateFieldSet as r}from"tslib";import{unsafeSVG as n}from"lit-html/directives/unsafe-svg.js";import{css as a,LitElement as s,unsafeCSS as l,html as d}from"lit";import{customElement as c,state as u,property as m}from"lit/decorators.js";import{classMap as h}from"lit/directives/class-map.js";import{querySelectorAllDeep as p,querySelectorDeep as g}from"query-selector-shadow-dom";import{b as v,m as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as o,__classPrivateFieldSet as r}from"tslib";import{unsafeSVG as n}from"lit-html/directives/unsafe-svg.js";import{css as a,LitElement as s,unsafeCSS as l,html as d}from"lit";import{customElement as c,state as u,property as m}from"lit/decorators.js";import{classMap as h}from"lit/directives/class-map.js";import{querySelectorAllDeep as p,querySelectorDeep as g}from"query-selector-shadow-dom";import{b as v,m as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";var k=a`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Header}from"./header.js";export{HeaderNav}from"./headerNav.js";export{HeaderLink}from"./headerLink.js";export{HeaderCategories}from"./headerCategories.js";export{HeaderCategory}from"./headerCategory.js";export{HeaderDivider}from"./headerDivider.js";export{HeaderFlyouts}from"./headerFlyouts.js";export{HeaderFlyout}from"./headerFlyout.js";export{HeaderUserProfile}from"./headerUserProfile.js";export{HeaderPanelLink}from"./headerPanelLink.js";export{HeaderNotificationPanel}from"./headerNotificationPanel.js";import"tslib";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit-html/directives/unsafe-html.js";import"../../../common/helpers/helpers.js";import"../../../vendor/@kyndryl-design-system/shidoka-foundation-7uii0Jz8.js";import"lit-html/directives/unsafe-svg.js";import"query-selector-shadow-dom";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{Header}from"./header.js";export{HeaderNav}from"./headerNav.js";export{HeaderLink}from"./headerLink.js";export{HeaderCategories}from"./headerCategories.js";export{HeaderCategory}from"./headerCategory.js";export{HeaderDivider}from"./headerDivider.js";export{HeaderFlyouts}from"./headerFlyouts.js";export{HeaderFlyout}from"./headerFlyout.js";export{HeaderUserProfile}from"./headerUserProfile.js";export{HeaderPanelLink}from"./headerPanelLink.js";export{HeaderNotificationPanel}from"./headerNotificationPanel.js";import"tslib";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit-html/directives/unsafe-html.js";import"../../../common/helpers/helpers.js";import"../../../vendor/@kyndryl-design-system/shidoka-foundation-7uii0Jz8.js";import"lit-html/directives/unsafe-svg.js";import"query-selector-shadow-dom";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"lit/directives/style-map.js";import"../../reusable/textInput/textInput.js";import"deepmerge-ts";import"lit/directives/if-defined.js";import"../../reusable/button/button.js";import"lit-html/directives/class-map.js";import"../../reusable/button/defs.js";import"../../../common/mixins/form-input.js";import"../../reusable/link/link.js";import"../../reusable/link/defs.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{LocalNav}from"./localNav.js";export{LocalNavLink}from"./localNavLink.js";export{LocalNavDivider}from"./localNavDivider.js";import"tslib";import"lit-html/directives/unsafe-svg.js";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"deepmerge-ts";import"../../../common/helpers/helpers.js";import"../../reusable/button/button.js";import"lit/directives/if-defined.js";import"lit-html/directives/class-map.js";import"../../reusable/button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{LocalNav}from"./localNav.js";export{LocalNavLink}from"./localNavLink.js";export{LocalNavDivider}from"./localNavDivider.js";import"tslib";import"lit-html/directives/unsafe-svg.js";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"deepmerge-ts";import"../../../common/helpers/helpers.js";import"../../reusable/button/button.js";import"lit/directives/if-defined.js";import"lit-html/directives/class-map.js";import"../../reusable/button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as n,__classPrivateFieldSet as a}from"tslib";import{unsafeSVG as s}from"lit-html/directives/unsafe-svg.js";import{css as o,LitElement as d,unsafeCSS as l,html as r}from"lit";import{customElement as c,property as h,state as p,queryAssignedElements as m,query as v}from"lit/decorators.js";import{classMap as g}from"lit/directives/class-map.js";import{deepmerge as u}from"deepmerge-ts";import{debounce as k}from"../../../common/helpers/helpers.js";import"../../reusable/button/button.js";import{h as x,p as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as n,__classPrivateFieldSet as a}from"tslib";import{unsafeSVG as s}from"lit-html/directives/unsafe-svg.js";import{css as o,LitElement as d,unsafeCSS as l,html as r}from"lit";import{customElement as c,property as h,state as p,queryAssignedElements as m,query as v}from"lit/decorators.js";import{classMap as g}from"lit/directives/class-map.js";import{deepmerge as u}from"deepmerge-ts";import{debounce as k}from"../../../common/helpers/helpers.js";import"../../reusable/button/button.js";import{h as x,p as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"lit/directives/if-defined.js";import"lit-html/directives/class-map.js";import"../../reusable/button/defs.js";var _=o`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as n}from"tslib";import{unsafeSVG as s}from"lit-html/directives/unsafe-svg.js";import{css as d,LitElement as o,unsafeCSS as l,html as r}from"lit";import{customElement as c,property as h,state as p,queryAssignedElements as v}from"lit/decorators.js";import{classMap as m}from"lit/directives/class-map.js";import{h as u,f as k}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as n}from"tslib";import{unsafeSVG as s}from"lit-html/directives/unsafe-svg.js";import{css as d,LitElement as o,unsafeCSS as l,html as r}from"lit";import{customElement as c,property as h,state as p,queryAssignedElements as v}from"lit/decorators.js";import{classMap as m}from"lit/directives/class-map.js";import{h as u,f as k}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";var g=d`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as o,__classPrivateFieldSet as a}from"tslib";import{css as n,LitElement as d,unsafeCSS as r,html as s}from"lit";import{customElement as l,property as c,state as m}from"lit/decorators.js";import{classMap as h}from"lit-html/directives/class-map.js";import{unsafeSVG as p}from"lit/directives/unsafe-svg.js";import{M as k}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as o,__classPrivateFieldSet as a}from"tslib";import{css as n,LitElement as d,unsafeCSS as r,html as s}from"lit";import{customElement as l,property as c,state as m}from"lit/decorators.js";import{classMap as h}from"lit-html/directives/class-map.js";import{unsafeSVG as p}from"lit/directives/unsafe-svg.js";import{M as k}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";var u=n`/**
|
|
2
2
|
* Copyright Kyndryl, Inc. 2023
|
|
3
3
|
*/
|
|
4
4
|
*,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Accordion}from"./accordion.js";export{AccordionItem}from"./accordionItem.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"lit/directives/unsafe-svg.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{Accordion}from"./accordion.js";export{AccordionItem}from"./accordionItem.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"lit/directives/unsafe-svg.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as a,__classPrivateFieldGet as r,__classPrivateFieldSet as o}from"tslib";import{css as i,LitElement as d,unsafeCSS as n,html as s}from"lit";import{customElement as c,property as l,state as g}from"lit/decorators.js";import{classMap as h}from"lit-html/directives/class-map.js";import{unsafeSVG as b}from"lit/directives/unsafe-svg.js";import{
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as a,__classPrivateFieldGet as r,__classPrivateFieldSet as o}from"tslib";import{css as i,LitElement as d,unsafeCSS as n,html as s}from"lit";import{customElement as c,property as l,state as g}from"lit/decorators.js";import{classMap as h}from"lit-html/directives/class-map.js";import{unsafeSVG as b}from"lit/directives/unsafe-svg.js";import{X as u,Y as m,Z as k,_ as v,$ as p}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";var y=i`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -171,7 +171,7 @@ import{__setFunctionName as e,__esDecorate as t,__runInitializers as a,__classPr
|
|
|
171
171
|
white-space: nowrap;
|
|
172
172
|
overflow: hidden;
|
|
173
173
|
text-overflow: ellipsis;
|
|
174
|
-
}`;let f=(()=>{var i,f,x,w,z,T,
|
|
174
|
+
}`;let f=(()=>{var i,f,x,w,z,T,_,O;let S,$,I,M,W,j,B,P,X,Y,Z=[c("kyn-badge")],q=[],A=d,C=[],D=[],E=[],F=[],G=[],H=[],J=[],K=[],L=[],N=[],Q=[],R=[],U=[],V=[],ee=[],te=[];return $=class extends A{get label(){return r(this,i,"f")}set label(e){o(this,i,e,"f")}get size(){return r(this,f,"f")}set size(e){o(this,f,e,"f")}get type(){return r(this,x,"f")}set type(e){o(this,x,e,"f")}get status(){return r(this,w,"f")}set status(e){o(this,w,e,"f")}get noTruncation(){return r(this,z,"f")}set noTruncation(e){o(this,z,e,"f")}get iconTitle(){return r(this,T,"f")}set iconTitle(e){o(this,T,e,"f")}get hideIcon(){return r(this,_,"f")}set hideIcon(e){o(this,_,e,"f")}get _iconOnly(){return r(this,O,"f")}set _iconOnly(e){o(this,O,e,"f")}updated(e){super.updated(e),0===this.label.length?this._iconOnly=!0:this._iconOnly=!1}render(){const e="md"===this.size?"badge-medium":"badge-small",t={badge:!0,"no-truncation":this.noTruncation,[`${e}`]:!0,[`badge-${this.type}-${this.status}`]:!0};return s`<div class=${h(t)} title=${this.label}>
|
|
175
175
|
${this.hideIcon?"":s`<slot>
|
|
176
176
|
<span
|
|
177
177
|
class="badge-icon"
|
|
@@ -182,5 +182,5 @@ import{__setFunctionName as e,__esDecorate as t,__runInitializers as a,__classPr
|
|
|
182
182
|
</span>
|
|
183
183
|
</slot>`}
|
|
184
184
|
${this._iconOnly?"":s`<span class="badge-label">${this.label}</span>`}
|
|
185
|
-
</div>`}_getStatusIcon(){switch(this.status){case"critical":return p;case"error":return v;case"warning":return k;case"success":return m;case"information":return u;default:return""}}constructor(){super(...arguments),i.set(this,a(this,
|
|
185
|
+
</div>`}_getStatusIcon(){switch(this.status){case"critical":return p;case"error":return v;case"warning":return k;case"success":return m;case"information":return u;default:return""}}constructor(){super(...arguments),i.set(this,a(this,C,"")),f.set(this,(a(this,D),a(this,E,"md"))),x.set(this,(a(this,F),a(this,G,"medium"))),w.set(this,(a(this,H),a(this,J,"success"))),z.set(this,(a(this,K),a(this,L,!1))),T.set(this,(a(this,N),a(this,Q,"Icon title"))),_.set(this,(a(this,R),a(this,U,!1))),O.set(this,(a(this,V),a(this,ee,!1))),a(this,te)}},i=new WeakMap,f=new WeakMap,x=new WeakMap,w=new WeakMap,z=new WeakMap,T=new WeakMap,_=new WeakMap,O=new WeakMap,e($,"Badge"),(()=>{var e;const a="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(e=A[Symbol.metadata])&&void 0!==e?e:null):void 0;I=[l({type:String})],M=[l({type:String})],W=[l({type:String})],j=[l({type:String})],B=[l({type:Boolean})],P=[l({type:String})],X=[l({type:Boolean})],Y=[g()],t($,null,I,{kind:"accessor",name:"label",static:!1,private:!1,access:{has:e=>"label"in e,get:e=>e.label,set:(e,t)=>{e.label=t}},metadata:a},C,D),t($,null,M,{kind:"accessor",name:"size",static:!1,private:!1,access:{has:e=>"size"in e,get:e=>e.size,set:(e,t)=>{e.size=t}},metadata:a},E,F),t($,null,W,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:a},G,H),t($,null,j,{kind:"accessor",name:"status",static:!1,private:!1,access:{has:e=>"status"in e,get:e=>e.status,set:(e,t)=>{e.status=t}},metadata:a},J,K),t($,null,B,{kind:"accessor",name:"noTruncation",static:!1,private:!1,access:{has:e=>"noTruncation"in e,get:e=>e.noTruncation,set:(e,t)=>{e.noTruncation=t}},metadata:a},L,N),t($,null,P,{kind:"accessor",name:"iconTitle",static:!1,private:!1,access:{has:e=>"iconTitle"in e,get:e=>e.iconTitle,set:(e,t)=>{e.iconTitle=t}},metadata:a},Q,R),t($,null,X,{kind:"accessor",name:"hideIcon",static:!1,private:!1,access:{has:e=>"hideIcon"in e,get:e=>e.hideIcon,set:(e,t)=>{e.hideIcon=t}},metadata:a},U,V),t($,null,Y,{kind:"accessor",name:"_iconOnly",static:!1,private:!1,access:{has:e=>"_iconOnly"in e,get:e=>e._iconOnly,set:(e,t)=>{e._iconOnly=t}},metadata:a},ee,te),t(null,S={value:$},Z,{kind:"class",name:$.name,metadata:a},null,q),$=S.value,a&&Object.defineProperty($,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a})})(),$.styles=n(y),a($,q),$})();export{f as Badge};
|
|
186
186
|
//# sourceMappingURL=badge.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Badge}from"./badge.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"lit/directives/unsafe-svg.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{Badge}from"./badge.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"lit/directives/unsafe-svg.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as o,__classPrivateFieldSet as a}from"tslib";import{unsafeSVG as n}from"lit-html/directives/unsafe-svg.js";import{css as s,LitElement as r,unsafeCSS as c,html as l}from"lit";import{customElement as d,property as h,state as p}from"lit/decorators.js";import{classMap as g}from"lit/directives/class-map.js";import{ifDefined as m}from"lit/directives/if-defined.js";import{deepmerge as u}from"deepmerge-ts";import k from"prismjs";import"prismjs/plugins/autoloader/prism-autoloader";import"prismjs/plugins/line-numbers/prism-line-numbers";import{a8 as v,a9 as y,h as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as o,__classPrivateFieldSet as a}from"tslib";import{unsafeSVG as n}from"lit-html/directives/unsafe-svg.js";import{css as s,LitElement as r,unsafeCSS as c,html as l}from"lit";import{customElement as d,property as h,state as p}from"lit/decorators.js";import{classMap as g}from"lit/directives/class-map.js";import{ifDefined as m}from"lit/directives/if-defined.js";import{deepmerge as u}from"deepmerge-ts";import k from"prismjs";import"prismjs/plugins/autoloader/prism-autoloader";import"prismjs/plugins/line-numbers/prism-line-numbers";import{a8 as v,a9 as y,h as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"../button/button.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";var x,w=s`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{BlockCodeView}from"./blockCodeView.js";import"tslib";import"lit-html/directives/unsafe-svg.js";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"deepmerge-ts";import"prismjs";import"prismjs/plugins/autoloader/prism-autoloader";import"prismjs/plugins/line-numbers/prism-line-numbers";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{BlockCodeView}from"./blockCodeView.js";import"tslib";import"lit-html/directives/unsafe-svg.js";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"deepmerge-ts";import"prismjs";import"prismjs/plugins/autoloader/prism-autoloader";import"prismjs/plugins/line-numbers/prism-line-numbers";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"../button/button.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as t,__esDecorate as e,__runInitializers as s,__classPrivateFieldGet as i,__classPrivateFieldSet as n}from"tslib";import{css as a,LitElement as r,unsafeCSS as l,html as o}from"lit";import{customElement as c,property as d,state as h,queryAssignedElements as u}from"lit/decorators.js";import{classMap as b}from"lit-html/directives/class-map.js";import"../button/button.js";import{BUTTON_KINDS as m}from"../button/defs.js";import{q as g,d as p}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as t,__esDecorate as e,__runInitializers as s,__classPrivateFieldGet as i,__classPrivateFieldSet as n}from"tslib";import{css as a,LitElement as r,unsafeCSS as l,html as o}from"lit";import{customElement as c,property as d,state as h,queryAssignedElements as u}from"lit/decorators.js";import{classMap as b}from"lit-html/directives/class-map.js";import"../button/button.js";import{BUTTON_KINDS as m}from"../button/defs.js";import{q as g,d as p}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import{unsafeSVG as k}from"lit/directives/unsafe-svg.js";import"lit/directives/if-defined.js";import"../../../common/helpers/helpers.js";var v=a`.kd-btn-group {
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
gap: 1px;
|
|
4
4
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{ButtonGroup}from"./buttonGroup.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"../button/button.js";import"lit/directives/if-defined.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{ButtonGroup}from"./buttonGroup.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"../button/button.js";import"lit/directives/if-defined.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"lit/directives/unsafe-svg.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as r,__esDecorate as e,__runInitializers as a,__classPrivateFieldGet as t,__classPrivateFieldSet as i}from"tslib";import{css as o,LitElement as n,unsafeCSS as d,html as c}from"lit";import{customElement as l,property as s}from"lit/decorators.js";import{classMap as p}from"lit/directives/class-map.js";import{ifDefined as b}from"lit/directives/if-defined.js";import"../inlineConfirm/inlineConfirm.js";import"lit-html/directives/unsafe-svg.js";import"../button/button.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as r,__esDecorate as e,__runInitializers as a,__classPrivateFieldGet as t,__classPrivateFieldSet as i}from"tslib";import{css as o,LitElement as n,unsafeCSS as d,html as c}from"lit";import{customElement as l,property as s}from"lit/decorators.js";import{classMap as p}from"lit/directives/class-map.js";import{ifDefined as b}from"lit/directives/if-defined.js";import"../inlineConfirm/inlineConfirm.js";import"lit-html/directives/unsafe-svg.js";import"../button/button.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";var g=o`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Card}from"./card.js";export{VitalCardSkeleton}from"./vitalCard.skeleton.js";export{InformationalCardSkeleton}from"./informationalCard.skeleton.js";import"tslib";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"../inlineConfirm/inlineConfirm.js";import"lit-html/directives/unsafe-svg.js";import"../button/button.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{Card}from"./card.js";export{VitalCardSkeleton}from"./vitalCard.skeleton.js";export{InformationalCardSkeleton}from"./informationalCard.skeleton.js";import"tslib";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"../inlineConfirm/inlineConfirm.js";import"lit-html/directives/unsafe-svg.js";import"../button/button.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"../loaders/skeleton.js";import"../../../cardSample-BCIwY1rJ.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as l}from"tslib";import{unsafeSVG as s}from"lit-html/directives/unsafe-svg.js";import{css as r,LitElement as o,unsafeCSS as n,html as d}from"lit";import{customElement as c,property as h,state as u}from"lit/decorators.js";import{deepmerge as p}from"deepmerge-ts";import{FormMixin as m}from"../../../common/mixins/form-input.js";import"../textInput/textInput.js";import"./checkbox.js";import{e as v}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as l}from"tslib";import{unsafeSVG as s}from"lit-html/directives/unsafe-svg.js";import{css as r,LitElement as o,unsafeCSS as n,html as d}from"lit";import{customElement as c,property as h,state as u}from"lit/decorators.js";import{deepmerge as p}from"deepmerge-ts";import{FormMixin as m}from"../../../common/mixins/form-input.js";import"../textInput/textInput.js";import"./checkbox.js";import{e as v}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"lit/directives/if-defined.js";import"lit/directives/class-map.js";import"../button/button.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";var k=r`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Checkbox}from"./checkbox.js";export{CheckboxGroup}from"./checkboxGroup.js";export{CheckboxSubgroup}from"./checkboxSubgroup.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"lit/directives/if-defined.js";import"lit-html/directives/unsafe-svg.js";import"deepmerge-ts";import"../../../common/mixins/form-input.js";import"../textInput/textInput.js";import"lit/directives/class-map.js";import"../button/button.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{Checkbox}from"./checkbox.js";export{CheckboxGroup}from"./checkboxGroup.js";export{CheckboxSubgroup}from"./checkboxSubgroup.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/class-map.js";import"lit/directives/if-defined.js";import"lit-html/directives/unsafe-svg.js";import"deepmerge-ts";import"../../../common/mixins/form-input.js";import"../textInput/textInput.js";import"lit/directives/class-map.js";import"../button/button.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as r}from"tslib";import{css as o,LitElement as l,unsafeCSS as n,html as d}from"lit";import{customElement as s,property as c,state as p,query as h}from"lit/decorators.js";import{unsafeSVG as u}from"lit-html/directives/unsafe-svg.js";import{deepmerge as m}from"deepmerge-ts";import{classMap as v}from"lit/directives/class-map.js";import{e as g}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as r}from"tslib";import{css as o,LitElement as l,unsafeCSS as n,html as d}from"lit";import{customElement as s,property as c,state as p,query as h}from"lit/decorators.js";import{unsafeSVG as u}from"lit-html/directives/unsafe-svg.js";import{deepmerge as m}from"deepmerge-ts";import{classMap as v}from"lit/directives/class-map.js";import{e as g}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import{FormMixin as b}from"../../../common/mixins/form-input.js";var k=o`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{ColorInput}from"./colorInput.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/unsafe-svg.js";import"deepmerge-ts";import"lit/directives/class-map.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{ColorInput}from"./colorInput.js";import"tslib";import"lit";import"lit/decorators.js";import"lit-html/directives/unsafe-svg.js";import"deepmerge-ts";import"lit/directives/class-map.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"../../../common/mixins/form-input.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as s}from"tslib";import{css as n,LitElement as r,unsafeCSS as l,html as o}from"lit";import{customElement as d,property as c,state as h,query as p}from"lit/decorators.js";import{classMap as u}from"lit/directives/class-map.js";import{FormMixin as m}from"../../../common/mixins/form-input.js";import{unsafeSVG as g}from"lit-html/directives/unsafe-svg.js";import{getPlaceholder as f,injectFlatpickrStyles as v,updateEnableTime as k,clearFlatpickrInput as b,emitValue as y,initializeSingleAnchorFlatpickr as x,getModalContainer as _,setCalendarAttributes as w,hideEmptyYear as D,getFlatpickrOptions as I,handleInputClick as z,handleInputFocus as F,loadLocale as S}from"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr/dist/esm/l10n/default.js";import{debounce as E,CONFIG_DEBOUNCE_DELAY as T,isEmptyValue as M,cleanupFlatpickrInstance as C,generateRandomId as $,filterValidDates as L}from"../../../common/helpers/flatpickr/utils.js";import"../button/button.js";import A from"flatpickr";import{c as N}from"../../../shidoka-flatpickr-theme-CpAIX345.js";import{c as O,j as V,k as W}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as s}from"tslib";import{css as n,LitElement as r,unsafeCSS as l,html as o}from"lit";import{customElement as d,property as c,state as h,query as p}from"lit/decorators.js";import{classMap as u}from"lit/directives/class-map.js";import{FormMixin as m}from"../../../common/mixins/form-input.js";import{unsafeSVG as g}from"lit-html/directives/unsafe-svg.js";import{getPlaceholder as f,injectFlatpickrStyles as v,updateEnableTime as k,clearFlatpickrInput as b,emitValue as y,initializeSingleAnchorFlatpickr as x,getModalContainer as _,setCalendarAttributes as w,hideEmptyYear as D,getFlatpickrOptions as I,handleInputClick as z,handleInputFocus as F,loadLocale as S}from"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr/dist/esm/l10n/default.js";import{debounce as E,CONFIG_DEBOUNCE_DELAY as T,isEmptyValue as M,cleanupFlatpickrInstance as C,generateRandomId as $,filterValidDates as L}from"../../../common/helpers/flatpickr/utils.js";import"../button/button.js";import A from"flatpickr";import{c as N}from"../../../shidoka-flatpickr-theme-CpAIX345.js";import{c as O,j as V,k as W}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"../../../common/helpers/flatpickr/langs.js";import"../../../common/helpers/flatpickr/overlay.js";import"lit/directives/if-defined.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";var P=n`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{DatePicker}from"./datepicker.js";import"tslib";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"../../../common/mixins/form-input.js";import"lit-html/directives/unsafe-svg.js";import"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"flatpickr/dist/esm/l10n/default.js";import"../../../common/helpers/flatpickr/langs.js";import"../../../common/helpers/flatpickr/overlay.js";import"../../../common/helpers/flatpickr/utils.js";import"../button/button.js";import"lit/directives/if-defined.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../shidoka-flatpickr-theme-CpAIX345.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{DatePicker}from"./datepicker.js";import"tslib";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"../../../common/mixins/form-input.js";import"lit-html/directives/unsafe-svg.js";import"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"flatpickr/dist/esm/l10n/default.js";import"../../../common/helpers/flatpickr/langs.js";import"../../../common/helpers/flatpickr/overlay.js";import"../../../common/helpers/flatpickr/utils.js";import"../button/button.js";import"lit/directives/if-defined.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../shidoka-flatpickr-theme-CpAIX345.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as s}from"tslib";import{css as n,LitElement as r,unsafeCSS as l,html as o}from"lit";import{customElement as d,property as c,state as h,query as u}from"lit/decorators.js";import{classMap as p}from"lit/directives/class-map.js";import{ifDefined as g}from"lit/directives/if-defined.js";import{FormMixin as f}from"../../../common/mixins/form-input.js";import{unsafeSVG as m}from"lit-html/directives/unsafe-svg.js";import{DateRangeEditableMode as v,getPlaceholder as k,injectFlatpickrStyles as b,updateEnableTime as y,clearFlatpickrInput as D,emitValue as x,initializeSingleAnchorFlatpickr as _,getModalContainer as w,setCalendarAttributes as I,hideEmptyYear as S,getFlatpickrOptions as E,applyDateRangeEditingRestrictions as F,handleInputClick as z,handleInputFocus as M,loadLocale as T}from"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr/dist/esm/l10n/default.js";import{debounce as A,CONFIG_DEBOUNCE_DELAY as $,RESIZE_DEBOUNCE_DELAY as C,cleanupFlatpickrInstance as L,generateRandomId as O,filterValidDates as R}from"../../../common/helpers/flatpickr/utils.js";import"../button/button.js";import{c as P}from"../../../shidoka-flatpickr-theme-CpAIX345.js";import{c as V,j as W,k as N}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as a,__classPrivateFieldSet as s}from"tslib";import{css as n,LitElement as r,unsafeCSS as l,html as o}from"lit";import{customElement as d,property as c,state as h,query as u}from"lit/decorators.js";import{classMap as p}from"lit/directives/class-map.js";import{ifDefined as g}from"lit/directives/if-defined.js";import{FormMixin as f}from"../../../common/mixins/form-input.js";import{unsafeSVG as m}from"lit-html/directives/unsafe-svg.js";import{DateRangeEditableMode as v,getPlaceholder as k,injectFlatpickrStyles as b,updateEnableTime as y,clearFlatpickrInput as D,emitValue as x,initializeSingleAnchorFlatpickr as _,getModalContainer as w,setCalendarAttributes as I,hideEmptyYear as S,getFlatpickrOptions as E,applyDateRangeEditingRestrictions as F,handleInputClick as z,handleInputFocus as M,loadLocale as T}from"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr/dist/esm/l10n/default.js";import{debounce as A,CONFIG_DEBOUNCE_DELAY as $,RESIZE_DEBOUNCE_DELAY as C,cleanupFlatpickrInstance as L,generateRandomId as O,filterValidDates as R}from"../../../common/helpers/flatpickr/utils.js";import"../button/button.js";import{c as P}from"../../../shidoka-flatpickr-theme-CpAIX345.js";import{c as V,j as W,k as N}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"flatpickr";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"../../../common/helpers/flatpickr/langs.js";import"../../../common/helpers/flatpickr/overlay.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";var j=n`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{DateRangePicker}from"./daterangepicker.js";import"tslib";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"../../../common/mixins/form-input.js";import"lit-html/directives/unsafe-svg.js";import"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"flatpickr/dist/esm/l10n/default.js";import"../../../common/helpers/flatpickr/langs.js";import"../../../common/helpers/flatpickr/overlay.js";import"../../../common/helpers/flatpickr/utils.js";import"../button/button.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../shidoka-flatpickr-theme-CpAIX345.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{DateRangePicker}from"./daterangepicker.js";import"tslib";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"../../../common/mixins/form-input.js";import"lit-html/directives/unsafe-svg.js";import"../../../common/helpers/flatpickr/flatpickr.js";import"flatpickr";import"flatpickr/dist/esm/plugins/rangePlugin.js";import"flatpickr/dist/esm/l10n/default.js";import"../../../common/helpers/flatpickr/langs.js";import"../../../common/helpers/flatpickr/overlay.js";import"../../../common/helpers/flatpickr/utils.js";import"../button/button.js";import"lit-html/directives/class-map.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../../../shidoka-flatpickr-theme-CpAIX345.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as l,__classPrivateFieldSet as a}from"tslib";import{unsafeSVG as n}from"lit-html/directives/unsafe-svg.js";import{css as s,LitElement as o,unsafeCSS as d,html as r,nothing as h}from"lit";import{customElement as c,property as p,state as u,query as v}from"lit/decorators.js";import{classMap as m}from"lit/directives/class-map.js";import{ifDefined as g}from"lit/directives/if-defined.js";import{FormMixin as f}from"../../../common/mixins/form-input.js";import{deepmerge as b}from"deepmerge-ts";import"./dropdownOption.js";import"./enhancedDropdownOption.js";import"../tag/tag.js";import"../tag/tagGroup.js";import"../tag/tag.skeleton.js";import"../button/button.js";import"../textInput/textInput.js";import{c as k,h as x,e as y}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as t,__esDecorate as e,__runInitializers as i,__classPrivateFieldGet as l,__classPrivateFieldSet as a}from"tslib";import{unsafeSVG as n}from"lit-html/directives/unsafe-svg.js";import{css as s,LitElement as o,unsafeCSS as d,html as r,nothing as h}from"lit";import{customElement as c,property as p,state as u,query as v}from"lit/decorators.js";import{classMap as m}from"lit/directives/class-map.js";import{ifDefined as g}from"lit/directives/if-defined.js";import{FormMixin as f}from"../../../common/mixins/form-input.js";import{deepmerge as b}from"deepmerge-ts";import"./dropdownOption.js";import"./enhancedDropdownOption.js";import"../tag/tag.js";import"../tag/tagGroup.js";import"../tag/tag.skeleton.js";import"../button/button.js";import"../textInput/textInput.js";import{c as k,h as x,e as y}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"../checkbox/checkbox.js";import"lit-html/directives/class-map.js";import"../checkbox/checkboxGroup.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../checkbox/checkboxSubgroup.js";import"../../../tag-ehM901IX.js";import"../link/link.js";import"../link/defs.js";import"../loaders/skeleton.js";var w=s`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as n,__classPrivateFieldGet as o,__classPrivateFieldSet as i}from"tslib";import{unsafeSVG as a}from"lit-html/directives/unsafe-svg.js";import{css as d,LitElement as r,unsafeCSS as l,html as s}from"lit";import{customElement as c,property as m,state as u}from"lit/decorators.js";import{classMap as h}from"lit/directives/class-map.js";import"../checkbox/checkbox.js";import"../checkbox/checkboxGroup.js";import"../checkbox/checkboxSubgroup.js";import"../button/button.js";import{i as v,c as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as n,__classPrivateFieldGet as o,__classPrivateFieldSet as i}from"tslib";import{unsafeSVG as a}from"lit-html/directives/unsafe-svg.js";import{css as d,LitElement as r,unsafeCSS as l,html as s}from"lit";import{customElement as c,property as m,state as u}from"lit/decorators.js";import{classMap as h}from"lit/directives/class-map.js";import"../checkbox/checkbox.js";import"../checkbox/checkboxGroup.js";import"../checkbox/checkboxSubgroup.js";import"../button/button.js";import{i as v,c as b}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"lit-html/directives/class-map.js";import"lit/directives/if-defined.js";import"deepmerge-ts";import"../../../common/mixins/form-input.js";import"../textInput/textInput.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";var p=d`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as e,__esDecorate as t,__runInitializers as n,__classPrivateFieldGet as o,__classPrivateFieldSet as i}from"tslib";import{unsafeSVG as a}from"lit-html/directives/unsafe-svg.js";import{css as d,LitElement as r,unsafeCSS as l,html as s}from"lit";import{customElement as c,property as m,state as u}from"lit/decorators.js";import{classMap as h}from"lit/directives/class-map.js";import"../checkbox/checkbox.js";import"../checkbox/checkboxGroup.js";import"../checkbox/checkboxSubgroup.js";import"../button/button.js";import{i as v,c as p}from"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
import{__setFunctionName as e,__esDecorate as t,__runInitializers as n,__classPrivateFieldGet as o,__classPrivateFieldSet as i}from"tslib";import{unsafeSVG as a}from"lit-html/directives/unsafe-svg.js";import{css as d,LitElement as r,unsafeCSS as l,html as s}from"lit";import{customElement as c,property as m,state as u}from"lit/decorators.js";import{classMap as h}from"lit/directives/class-map.js";import"../checkbox/checkbox.js";import"../checkbox/checkboxGroup.js";import"../checkbox/checkboxSubgroup.js";import"../button/button.js";import{i as v,c as p}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"lit-html/directives/class-map.js";import"lit/directives/if-defined.js";import"deepmerge-ts";import"../../../common/mixins/form-input.js";import"../textInput/textInput.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";var b=d`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Dropdown}from"./dropdown.js";export{DropdownOption}from"./dropdownOption.js";export{DropdownCategory}from"./dropdownCategory.js";export{EnhancedDropdownOption}from"./enhancedDropdownOption.js";import"tslib";import"lit-html/directives/unsafe-svg.js";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"../../../common/mixins/form-input.js";import"deepmerge-ts";import"../tag/tag.js";import"lit-html/directives/class-map.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-
|
|
1
|
+
export{Dropdown}from"./dropdown.js";export{DropdownOption}from"./dropdownOption.js";export{DropdownCategory}from"./dropdownCategory.js";export{EnhancedDropdownOption}from"./enhancedDropdownOption.js";import"tslib";import"lit-html/directives/unsafe-svg.js";import"lit";import"lit/decorators.js";import"lit/directives/class-map.js";import"lit/directives/if-defined.js";import"../../../common/mixins/form-input.js";import"deepmerge-ts";import"../tag/tag.js";import"lit-html/directives/class-map.js";import"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import"../../../tag-ehM901IX.js";import"../tag/tagGroup.js";import"../link/link.js";import"../link/defs.js";import"../tag/tag.skeleton.js";import"../loaders/skeleton.js";import"../button/button.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"../textInput/textInput.js";import"../checkbox/checkbox.js";import"../checkbox/checkboxGroup.js";import"../checkbox/checkboxSubgroup.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__setFunctionName as i,__esDecorate as e,__runInitializers as t,__classPrivateFieldGet as a,__classPrivateFieldSet as n}from"tslib";import{css as l,LitElement as s,unsafeCSS as r,html as o}from"lit";import{customElement as d,property as c,state as h,query as p}from"lit/decorators.js";import{classMap as f}from"lit/directives/class-map.js";import{deepmerge as m}from"deepmerge-ts";import{unsafeSVG as g}from"lit/directives/unsafe-svg.js";import{
|
|
1
|
+
import{__setFunctionName as i,__esDecorate as e,__runInitializers as t,__classPrivateFieldGet as a,__classPrivateFieldSet as n}from"tslib";import{css as l,LitElement as s,unsafeCSS as r,html as o}from"lit";import{customElement as d,property as c,state as h,query as p}from"lit/decorators.js";import{classMap as f}from"lit/directives/class-map.js";import{deepmerge as m}from"deepmerge-ts";import{unsafeSVG as g}from"lit/directives/unsafe-svg.js";import{a0 as u,a1 as v,a2 as x,a3 as k,a4 as y}from"../../../vendor/@kyndryl-design-system/shidoka-icons-DOwHqoMi.js";import{FormMixin as _}from"../../../common/mixins/form-input.js";import"./fileUploaderListContainer.js";import"../button/button.js";import"../loaders/loader.js";import"../loaders/inline.js";import"../loaders/skeleton.js";import"../inlineConfirm/inlineConfirm.js";import"../notification/notification.js";import"../notification/notificationContainer.js";import"lit-html/directives/unsafe-svg.js";import"../link/link.js";import"lit-html/directives/class-map.js";import"../link/defs.js";import"lit/directives/if-defined.js";import"../../../common/helpers/helpers.js";import"../button/defs.js";import"lottie-web";import"../../../inline-CxNcYPfA.js";import"../card/card.js";import"../card/vitalCard.skeleton.js";import"../../../cardSample-BCIwY1rJ.js";import"../card/informationalCard.skeleton.js";import"../badge/badge.js";var b=l`*,
|
|
2
2
|
*::before,
|
|
3
3
|
*::after {
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -314,7 +314,7 @@ import{__setFunctionName as i,__esDecorate as e,__runInitializers as t,__classPr
|
|
|
314
314
|
}
|
|
315
315
|
.file-uploader-container .actions {
|
|
316
316
|
margin-left: auto;
|
|
317
|
-
}`;const F={dragAndDropText:"Drag files here to upload",separatorText:"or",buttonText:"Browse files",maxFileSizeText:"Max file size",supportedFileTypeText:"Supported file type: ",fileTypeDisplyText:"Any file type",invalidFileListLabel:"Some files could not be added:",validFileListLabel:"Files added:",clearListText:"Clear list",fileTypeErrorText:"Invaild file type",fileSizeErrorText:"Max file size exceeded",customFileErrorText:"Custom file error",inlineConfirmAnchorText:"Delete",inlineConfirmConfirmText:"Confirm",inlineConfirmCancelText:"Cancel",validationNotificationTitle:"Multiple files not allowed",validationNotificationMessage:"Please select only one file."};let z=(()=>{var l,z,w,S,$,T,E,j,M,C,V,N,D;let W,A,L,B,I,U,O,P,q,G,K,R,
|
|
317
|
+
}`;const F={dragAndDropText:"Drag files here to upload",separatorText:"or",buttonText:"Browse files",maxFileSizeText:"Max file size",supportedFileTypeText:"Supported file type: ",fileTypeDisplyText:"Any file type",invalidFileListLabel:"Some files could not be added:",validFileListLabel:"Files added:",clearListText:"Clear list",fileTypeErrorText:"Invaild file type",fileSizeErrorText:"Max file size exceeded",customFileErrorText:"Custom file error",inlineConfirmAnchorText:"Delete",inlineConfirmConfirmText:"Confirm",inlineConfirmCancelText:"Cancel",validationNotificationTitle:"Multiple files not allowed",validationNotificationMessage:"Please select only one file."};let z=(()=>{var l,z,w,S,$,T,E,j,M,C,V,N,D;let W,A,L,B,I,U,O,P,q,G,K,R,H,J,Q,X=[d("kyn-file-uploader")],Y=[],Z=_(s),ii=[],ei=[],ti=[],ai=[],ni=[],li=[],si=[],ri=[],oi=[],di=[],ci=[],hi=[],pi=[],fi=[],mi=[],gi=[],ui=[],vi=[],xi=[],ki=[],yi=[],_i=[],bi=[],Fi=[],zi=[],wi=[];return A=class extends Z{get accept(){return a(this,l,"f")}set accept(i){n(this,l,i,"f")}get multiple(){return a(this,z,"f")}set multiple(i){n(this,z,i,"f")}get textStrings(){return a(this,w,"f")}set textStrings(i){n(this,w,i,"f")}get maxFileSize(){return a(this,S,"f")}set maxFileSize(i){n(this,S,i,"f")}get disabled(){return a(this,$,"f")}set disabled(i){n(this,$,i,"f")}get validFiles(){return a(this,T,"f")}set validFiles(i){n(this,T,i,"f")}get invalidFiles(){return a(this,E,"f")}set invalidFiles(i){n(this,E,i,"f")}get _textStrings(){return a(this,j,"f")}set _textStrings(i){n(this,j,i,"f")}get _dragging(){return a(this,M,"f")}set _dragging(i){n(this,M,i,"f")}get _invalidFiles(){return a(this,C,"f")}set _invalidFiles(i){n(this,C,i,"f")}get _validFiles(){return a(this,V,"f")}set _validFiles(i){n(this,V,i,"f")}get _showValidationNotification(){return a(this,N,"f")}set _showValidationNotification(i){n(this,N,i,"f")}get _inputEl(){return a(this,D,"f")}set _inputEl(i){n(this,D,i,"f")}willUpdate(i){i.has("textStrings")&&(this._textStrings=m(F,this.textStrings)),i.has("validFiles")&&(this._validFiles=this.validFiles,this._setFormValue()),i.has("invalidFiles")&&(this._invalidFiles=this.invalidFiles)}render(){const i={"drag-drop-container":!0,dragging:this._dragging,disabled:this.disabled};return o`
|
|
318
318
|
<div class="file-uploader-container">
|
|
319
319
|
<!-- Drag and drop container -->
|
|
320
320
|
<div class="drag-drop-container-wrapper">
|
|
@@ -445,5 +445,5 @@ import{__setFunctionName as i,__esDecorate as e,__runInitializers as t,__classPr
|
|
|
445
445
|
>
|
|
446
446
|
<span>${g(y)}</span>
|
|
447
447
|
<span slot="confirmIcon">${g(y)}</span>
|
|
448
|
-
</kyn-inline-confirm>`}_deleteFile(i){var e;this._validFiles=this._validFiles.filter((e=>e.id!==i));(null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("#fileInput")).value="",this._setFormValue(),this._emitFileUploadEvent()}_emitFileUploadEvent(){const i=new CustomEvent("selected-files",{detail:{validFiles:this._validFiles,invalidFiles:this._invalidFiles}});this.dispatchEvent(i)}constructor(){super(...arguments),l.set(this,t(this,ii,[])),z.set(this,(t(this,ei),t(this,ti,!1))),w.set(this,(t(this,ai),t(this,ni,F))),S.set(this,(t(this,li),t(this,si,10485760))),$.set(this,(t(this,ri),t(this,oi,!1))),T.set(this,(t(this,di),t(this,ci,[]))),E.set(this,(t(this,hi),t(this,pi,[]))),j.set(this,(t(this,fi),t(this,mi,F))),M.set(this,(t(this,gi),t(this,ui,!1))),C.set(this,(t(this,vi),t(this,xi,[]))),V.set(this,(t(this,ki),t(this,yi,[]))),N.set(this,(t(this,_i),t(this,bi,!1))),D.set(this,(t(this,Fi),t(this,zi,void 0))),t(this,wi)}},l=new WeakMap,z=new WeakMap,w=new WeakMap,S=new WeakMap,$=new WeakMap,T=new WeakMap,E=new WeakMap,j=new WeakMap,M=new WeakMap,C=new WeakMap,V=new WeakMap,N=new WeakMap,D=new WeakMap,i(A,"FileUploader"),(()=>{var i;const t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(i=
|
|
448
|
+
</kyn-inline-confirm>`}_deleteFile(i){var e;this._validFiles=this._validFiles.filter((e=>e.id!==i));(null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("#fileInput")).value="",this._setFormValue(),this._emitFileUploadEvent()}_emitFileUploadEvent(){const i=new CustomEvent("selected-files",{detail:{validFiles:this._validFiles,invalidFiles:this._invalidFiles}});this.dispatchEvent(i)}constructor(){super(...arguments),l.set(this,t(this,ii,[])),z.set(this,(t(this,ei),t(this,ti,!1))),w.set(this,(t(this,ai),t(this,ni,F))),S.set(this,(t(this,li),t(this,si,10485760))),$.set(this,(t(this,ri),t(this,oi,!1))),T.set(this,(t(this,di),t(this,ci,[]))),E.set(this,(t(this,hi),t(this,pi,[]))),j.set(this,(t(this,fi),t(this,mi,F))),M.set(this,(t(this,gi),t(this,ui,!1))),C.set(this,(t(this,vi),t(this,xi,[]))),V.set(this,(t(this,ki),t(this,yi,[]))),N.set(this,(t(this,_i),t(this,bi,!1))),D.set(this,(t(this,Fi),t(this,zi,void 0))),t(this,wi)}},l=new WeakMap,z=new WeakMap,w=new WeakMap,S=new WeakMap,$=new WeakMap,T=new WeakMap,E=new WeakMap,j=new WeakMap,M=new WeakMap,C=new WeakMap,V=new WeakMap,N=new WeakMap,D=new WeakMap,i(A,"FileUploader"),(()=>{var i;const t="function"==typeof Symbol&&Symbol.metadata?Object.create(null!==(i=Z[Symbol.metadata])&&void 0!==i?i:null):void 0;L=[c({type:Array})],B=[c({type:Boolean})],I=[c({type:Object})],U=[c({type:Number})],O=[c({type:Boolean})],P=[c({type:Array})],q=[c({type:Array})],G=[h()],K=[h()],R=[h()],H=[h()],J=[h()],Q=[p("input")],e(A,null,L,{kind:"accessor",name:"accept",static:!1,private:!1,access:{has:i=>"accept"in i,get:i=>i.accept,set:(i,e)=>{i.accept=e}},metadata:t},ii,ei),e(A,null,B,{kind:"accessor",name:"multiple",static:!1,private:!1,access:{has:i=>"multiple"in i,get:i=>i.multiple,set:(i,e)=>{i.multiple=e}},metadata:t},ti,ai),e(A,null,I,{kind:"accessor",name:"textStrings",static:!1,private:!1,access:{has:i=>"textStrings"in i,get:i=>i.textStrings,set:(i,e)=>{i.textStrings=e}},metadata:t},ni,li),e(A,null,U,{kind:"accessor",name:"maxFileSize",static:!1,private:!1,access:{has:i=>"maxFileSize"in i,get:i=>i.maxFileSize,set:(i,e)=>{i.maxFileSize=e}},metadata:t},si,ri),e(A,null,O,{kind:"accessor",name:"disabled",static:!1,private:!1,access:{has:i=>"disabled"in i,get:i=>i.disabled,set:(i,e)=>{i.disabled=e}},metadata:t},oi,di),e(A,null,P,{kind:"accessor",name:"validFiles",static:!1,private:!1,access:{has:i=>"validFiles"in i,get:i=>i.validFiles,set:(i,e)=>{i.validFiles=e}},metadata:t},ci,hi),e(A,null,q,{kind:"accessor",name:"invalidFiles",static:!1,private:!1,access:{has:i=>"invalidFiles"in i,get:i=>i.invalidFiles,set:(i,e)=>{i.invalidFiles=e}},metadata:t},pi,fi),e(A,null,G,{kind:"accessor",name:"_textStrings",static:!1,private:!1,access:{has:i=>"_textStrings"in i,get:i=>i._textStrings,set:(i,e)=>{i._textStrings=e}},metadata:t},mi,gi),e(A,null,K,{kind:"accessor",name:"_dragging",static:!1,private:!1,access:{has:i=>"_dragging"in i,get:i=>i._dragging,set:(i,e)=>{i._dragging=e}},metadata:t},ui,vi),e(A,null,R,{kind:"accessor",name:"_invalidFiles",static:!1,private:!1,access:{has:i=>"_invalidFiles"in i,get:i=>i._invalidFiles,set:(i,e)=>{i._invalidFiles=e}},metadata:t},xi,ki),e(A,null,H,{kind:"accessor",name:"_validFiles",static:!1,private:!1,access:{has:i=>"_validFiles"in i,get:i=>i._validFiles,set:(i,e)=>{i._validFiles=e}},metadata:t},yi,_i),e(A,null,J,{kind:"accessor",name:"_showValidationNotification",static:!1,private:!1,access:{has:i=>"_showValidationNotification"in i,get:i=>i._showValidationNotification,set:(i,e)=>{i._showValidationNotification=e}},metadata:t},bi,Fi),e(A,null,Q,{kind:"accessor",name:"_inputEl",static:!1,private:!1,access:{has:i=>"_inputEl"in i,get:i=>i._inputEl,set:(i,e)=>{i._inputEl=e}},metadata:t},zi,wi),e(null,W={value:A},X,{kind:"class",name:A.name,metadata:t},null,Y),A=W.value,t&&Object.defineProperty(A,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})})(),A.styles=r(b),t(A,Y),A})();export{z as FileUploader};
|
|
449
449
|
//# sourceMappingURL=fileUploader.js.map
|