@shrfe/assets 1.0.4 → 1.0.5

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.
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,g as i,h as r}from"./p-DnIVQjp-.js";import{t as o}from"./p-DQNvkMYd.js";const a='.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box{border:1px transparent}.tippy-box[data-placement^=top]>.tippy-arrow:after{border-top-color:inherit;border-width:8px 8px 0;bottom:-8px;left:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:inherit;border-width:0 8px 8px;top:-8px;left:0}.tippy-box[data-placement^=left]>.tippy-arrow:after{border-left-color:inherit;border-width:8px 0 8px 8px;right:-8px;top:0}.tippy-box[data-placement^=right]>.tippy-arrow:after{border-width:8px 8px 8px 0;left:-8px;top:0;border-right-color:inherit}.tippy-box[data-placement^=top]>.tippy-svg-arrow>svg:first-child:not(:last-child){top:17px}.tippy-box[data-placement^=bottom]>.tippy-svg-arrow>svg:first-child:not(:last-child){bottom:17px}.tippy-box[data-placement^=left]>.tippy-svg-arrow>svg:first-child:not(:last-child){left:12px}.tippy-box[data-placement^=right]>.tippy-svg-arrow>svg:first-child:not(:last-child){right:12px}.tippy-arrow{border-color:inherit}.tippy-arrow:after{content:"";z-index:-1;position:absolute;border-color:transparent;border-style:solid}.tippy-box[data-animation=shift-toward][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=top]{transform:translateY(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom]{transform:translateY(10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left]{transform:translateX(-10px)}.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right]{transform:translateX(10px)}.tour-guide-item-backdrop[data-show=true]{position:fixed;min-height:100vh;width:100%;background:rgba(4, 22, 40, 0.25);top:-20px;bottom:0;left:0;z-index:var(--sfe-stack-level-modals, 99999)}.tippy-box[data-theme~=light]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip, #fff);color:rgba(0, 0, 0, 0.8);border:1px solid var(--sfe-banner-color-border-tooltip, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow::before{border-top-color:white}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:white}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow::before{border-left-color:white}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow::before{border-right-color:white}.tippy-box[data-theme~=brand]{box-sizing:content-box;border-radius:var(--sfe-sizing-radius-small, 4px);padding:6px;word-break:break-word;background-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);color:var(--sfe-color-text-default-inverted-primary, rgba(255, 255, 255, 0.95));border:1px solid var(--sfe-banner-color-border-tooltip-dark, rgba(0, 0, 0, 0.1));box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)}.tippy-box[data-theme~=brand][data-placement^=top]>.tippy-arrow::before{border-top-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=bottom]>.tippy-arrow::before{border-bottom-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=left]>.tippy-arrow::before{border-left-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.tippy-box[data-theme~=brand][data-placement^=right]>.tippy-arrow::before{border-right-color:var(--sfe-banner-color-fill-tooltip-dark, #1e50c0)}.sfe-active-tour-step{z-index:var(--sfe-stack-level-modals, 99999);padding-block:10px;padding-inline:15px;border-radius:10px;pointer-events:none}.sfe-active-tour-step-bg{background-color:#fff}.sfe-no-z-index{z-index:auto !important}';const p=class{constructor(i){t(this,i);this.viewPrevious=e(this,"viewPrevious");this.viewNext=e(this,"viewNext");this.dismissTour=e(this,"dismissTour");this.endTour=e(this,"endTour")}get hostElement(){return i(this)}startTour=false;dismissible=true;useModalOverlay=true;useHighlightSteps=true;showArrow=true;variant="light";steps=[];viewPrevious;viewNext;dismissTour;endTour;instance;currentIndex=0;activeNode;contentRef;get currentStep(){return this.steps[this.currentIndex]}get hasPrevious(){return this.steps.length>1&&this.currentIndex>0}get hasNext(){return this.steps.length>1&&this.currentIndex<this.steps.length-1}viewPreviousStep=()=>{this.currentIndex-=1;this.viewPrevious.emit();this.removeHighlight();this.reInitialize()};viewNextStep=()=>{this.currentIndex+=1;this.viewNext.emit();this.removeHighlight();this.reInitialize()};handleDismissTour=()=>{this.dismissTour.emit()};handleEndTour=()=>{this.endTour.emit()};hideTour=()=>{this.instance[0].hide();this.instance[0].unmount();this.currentIndex=0;this.removeHighlight()};getAllParentElements=()=>{if(!this.activeNode)return[];let t=this.activeNode;const e=[];while(t.parentNode){t=t.parentNode;if(t.nodeType===1){e.push(t)}}return e};reInitialize=()=>{this.instance[0].hide();this.init();this.instance[0].show();this.activeNode=document.querySelector(`${this.currentStep.cssSelector}`);if(this.activeNode){this.activeNode.scrollIntoView({behavior:"smooth",block:"center"})}if(this.useHighlightSteps){this.highlightStep()}};highlightStep=()=>{if(!this.activeNode)return;if(!this.activeNode.style.position){this.activeNode.style.position="relative"}if(!this.activeNode.style.backgroundColor){this.activeNode.classList.add("sfe-active-tour-step-bg")}this.activeNode.classList.add("sfe-active-tour-step");const t=this.getAllParentElements();if(t&&t.length>0){for(const e of t){e.classList.add("sfe-no-z-index")}}};removeHighlight=()=>{if(this.activeNode&&this.useHighlightSteps){this.activeNode.classList.remove("sfe-active-tour-step");this.activeNode.classList.remove("sfe-active-tour-step-bg");const t=this.getAllParentElements();if(t&&t.length>0){for(const e of t){e.classList.remove("sfe-no-z-index")}}}};startTourHandler(t){if(t){this.reInitialize()}else{this.hideTour()}}init=()=>{this.instance=o(this.hostElement.querySelector(`${this.currentStep.cssSelector}`),{theme:this.variant,content:this.contentRef,animation:"shift-toward",placement:this.currentStep.position||"bottom",allowHTML:true,trigger:"manual",hideOnClick:false,arrow:this.showArrow,interactive:true,role:"dialog",maxWidth:"none",appendTo:document.body,duration:[300,0],zIndex:100099})};componentDidLoad(){this.init()}disconnectedCallback(){this.instance[0].unmount()}render(){return r("div",{key:"b44e348dee79224bf008296c64baf61bba1d3fc0",class:"tour-guide-item-backdrop","data-show":this.useModalOverlay&&this.startTour?"true":"false","data-testid":"sfe-tour-guide"},r("div",{key:"0abdfa6d9b69da6c632aa73bd123d17fb6715d90",ref:t=>this.contentRef=t,"aria-live":"polite"},r("swc-tour-guide-step",{key:"a22f4211844097ff513c4b92782a80e3e9bbc051",heading:this.currentStep.title,content:this.currentStep.content,hasPrevious:this.hasPrevious,hasNext:this.hasNext,isLastStep:this.currentIndex===this.steps.length-1,currentIndex:this.currentIndex,numberOfSteps:this.steps.length,variant:this.variant,startTour:this.startTour,dismissible:this.dismissible,onViewPrevious:this.viewPreviousStep,onViewNext:this.viewNextStep,onDismissTour:this.handleDismissTour,onEndTour:this.handleEndTour})))}static get watchers(){return{startTour:["startTourHandler"]}}};p.style=a;export{p as swc_tour_guide};
2
+ //# sourceMappingURL=p-a86ce7d3.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["swcTourGuideCss","SwcTourGuide","startTour","dismissible","useModalOverlay","useHighlightSteps","showArrow","variant","steps","viewPrevious","viewNext","dismissTour","endTour","instance","currentIndex","activeNode","contentRef","currentStep","this","hasPrevious","length","hasNext","viewPreviousStep","emit","removeHighlight","reInitialize","viewNextStep","handleDismissTour","handleEndTour","hideTour","hide","unmount","getAllParentElements","element","parents","parentNode","nodeType","push","init","show","document","querySelector","cssSelector","scrollIntoView","behavior","block","highlightStep","style","position","backgroundColor","classList","add","parentElements","remove","startTourHandler","newValue","tippy","hostElement","theme","content","animation","placement","allowHTML","trigger","hideOnClick","arrow","interactive","role","maxWidth","appendTo","body","duration","zIndex","componentDidLoad","disconnectedCallback","render","h","key","class","ref","el","heading","title","isLastStep","numberOfSteps","onViewPrevious","onViewNext","onDismissTour","onEndTour"],"sources":["src/components/TourGuide/swc-tour-guide/swc-tour-guide.scss?tag=swc-tour-guide","src/components/TourGuide/swc-tour-guide/swc-tour-guide.tsx"],"sourcesContent":["@import '~tippy.js/dist/tippy.css';\n@import '~tippy.js/dist/border.css';\n@import '~tippy.js/animations/shift-toward.css';\n\n.tour-guide-item-backdrop[data-show='true'] {\n position: fixed;\n min-height: 100vh;\n width: 100%;\n background: rgb(4 22 40 / 25%);\n top: -20px;\n bottom: 0;\n left: 0;\n z-index: var(--sfe-stack-level-modals, 99999);\n}\n\n// LIGHT VARIANT\n.tippy-box[data-theme~='light'] {\n box-sizing: content-box;\n border-radius: var(--sfe-sizing-radius-small, 4px);\n padding: 6px;\n word-break: break-word;\n background-color: var(--sfe-banner-color-fill-tooltip, #fff);\n color: rgb(0 0 0 / 80%);\n border: 1px solid var(--sfe-banner-color-border-tooltip, rgb(0 0 0 / 10%));\n box-shadow:\n 0 10px 15px -3px rgb(0 0 0 / 10%),\n 0 4px 6px -4px rgb(0 0 0 / 10%);\n}\n\n.tippy-box[data-theme~='light'][data-placement^='top'] > .tippy-arrow::before {\n border-top-color: white;\n}\n\n.tippy-box[data-theme~='light'][data-placement^='bottom'] > .tippy-arrow::before {\n border-bottom-color: white;\n}\n\n.tippy-box[data-theme~='light'][data-placement^='left'] > .tippy-arrow::before {\n border-left-color: white;\n}\n\n.tippy-box[data-theme~='light'][data-placement^='right'] > .tippy-arrow::before {\n border-right-color: white;\n}\n\n// BRAND VARIANT\n\n.tippy-box[data-theme~='brand'] {\n box-sizing: content-box;\n border-radius: var(--sfe-sizing-radius-small, 4px);\n padding: 6px;\n word-break: break-word;\n background-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n color: var(--sfe-color-text-default-inverted-primary, rgb(255 255 255 / 95%));\n border: 1px solid var(--sfe-banner-color-border-tooltip-dark, rgb(0 0 0 / 10%));\n box-shadow:\n 0 10px 15px -3px rgb(0 0 0 / 10%),\n 0 4px 6px -4px rgb(0 0 0 / 10%);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='top'] > .tippy-arrow::before {\n border-top-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='bottom'] > .tippy-arrow::before {\n border-bottom-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='left'] > .tippy-arrow::before {\n border-left-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='right'] > .tippy-arrow::before {\n border-right-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.sfe-active-tour-step {\n z-index: var(--sfe-stack-level-modals, 99999);\n padding-block: 10px;\n padding-inline: 15px;\n border-radius: 10px;\n pointer-events: none;\n}\n\n.sfe-active-tour-step-bg {\n background-color: #fff;\n}\n\n.sfe-no-z-index {\n z-index: auto !important;\n}\n","import { Component, Event, EventEmitter, Prop, State, Watch, h, Element } from '@stencil/core'\nimport tippy, { type Placement } from 'tippy.js'\n\n/**\n const emit = defineEmits(['view:previous', 'view:next', 'dismiss:tour', 'end:tour'])\n */\n\n@Component({\n tag: 'swc-tour-guide',\n styleUrl: 'swc-tour-guide.scss',\n})\nexport class SwcTourGuide {\n @Element() hostElement: HTMLSwcTourGuideElement\n /**\n * determines whether the tour should begin\n */\n @Prop() startTour: boolean = false\n /**\n * determines whether the tour can be dismissed\n */\n @Prop() dismissible: boolean = true\n /**\n * determines whether an overlay should be displayed\n */\n @Prop() useModalOverlay: boolean = true\n /**\n * determines whether a tour step should be highlighted\n */\n @Prop() useHighlightSteps: boolean = true\n /**\n * determines whether an arrow should be displayed\n */\n @Prop() showArrow: boolean = true\n /**\n * variant of the tour guide\n */\n @Prop() variant: 'light' | 'brand' = 'light'\n /**\n * steps for the tour guide\n */\n @Prop() steps: { cssSelector: string; title: string; content: string; position?: Placement }[] =\n []\n\n /**\n * emitted when the previous button is clicked\n */\n @Event() viewPrevious: EventEmitter\n\n /**\n * emitted when the next button is clicked\n */\n @Event() viewNext: EventEmitter\n\n /**\n * emitted when the next button is clicked\n */\n\n @Event() dismissTour: EventEmitter\n /**\n * emitted when the next button is clicked\n */\n @Event() endTour: EventEmitter\n\n @State() instance: any // Instance<Props>[] & Instance<Props>\n @State() currentIndex: number = 0\n private activeNode: HTMLElement | null\n private contentRef: HTMLDivElement | undefined\n\n get currentStep() {\n return this.steps[this.currentIndex]\n }\n\n get hasPrevious() {\n return this.steps.length > 1 && this.currentIndex > 0\n }\n\n get hasNext() {\n return this.steps.length > 1 && this.currentIndex < this.steps.length - 1\n }\n\n private viewPreviousStep = () => {\n this.currentIndex -= 1\n this.viewPrevious.emit()\n this.removeHighlight()\n this.reInitialize()\n }\n\n private viewNextStep = () => {\n this.currentIndex += 1\n this.viewNext.emit()\n this.removeHighlight()\n this.reInitialize()\n }\n\n private handleDismissTour = () => {\n this.dismissTour.emit()\n }\n\n private handleEndTour = () => {\n this.endTour.emit()\n }\n\n private hideTour = () => {\n this.instance[0].hide()\n this.instance[0].unmount()\n this.currentIndex = 0\n this.removeHighlight()\n }\n\n private getAllParentElements = () => {\n if (!this.activeNode) return []\n let element = this.activeNode\n\n const parents = []\n\n while (element.parentNode) {\n element = element.parentNode as HTMLElement\n if (element.nodeType === 1) {\n parents.push(element)\n }\n }\n\n return parents\n }\n\n private reInitialize = () => {\n this.instance[0].hide()\n // create a new instance using the details of the next step.\n this.init()\n this.instance[0].show()\n this.activeNode = document.querySelector(`${this.currentStep.cssSelector}`)\n if (this.activeNode) {\n this.activeNode.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n })\n }\n\n if (this.useHighlightSteps) {\n this.highlightStep()\n }\n }\n\n private highlightStep = () => {\n if (!this.activeNode) return\n\n if (!this.activeNode.style.position) {\n this.activeNode.style.position = 'relative'\n }\n\n if (!this.activeNode.style.backgroundColor) {\n this.activeNode.classList.add('sfe-active-tour-step-bg')\n }\n\n this.activeNode.classList.add('sfe-active-tour-step')\n\n /**\n * Ensures that the highlighted element stays on top of the overlay.\n * Hence temporarily disables z-index on all of its parent elements.\n * This ensures the highlighted element maintains its own stacking context.\n */\n const parentElements = this.getAllParentElements()\n if (parentElements && parentElements.length > 0) {\n for (const element of parentElements) {\n element.classList.add('sfe-no-z-index')\n }\n }\n }\n\n private removeHighlight = () => {\n if (this.activeNode && this.useHighlightSteps) {\n this.activeNode.classList.remove('sfe-active-tour-step')\n this.activeNode.classList.remove('sfe-active-tour-step-bg')\n const parentElements = this.getAllParentElements()\n if (parentElements && parentElements.length > 0) {\n for (const element of parentElements) {\n element.classList.remove('sfe-no-z-index')\n }\n }\n }\n }\n\n @Watch('startTour')\n startTourHandler(newValue: boolean) {\n if (newValue) {\n this.reInitialize()\n } else {\n this.hideTour()\n }\n }\n\n private init = () => {\n this.instance = tippy(\n this.hostElement.querySelector(`${this.currentStep.cssSelector}`) as Element,\n {\n theme: this.variant,\n content: this.contentRef,\n animation: 'shift-toward',\n placement: this.currentStep.position || 'bottom',\n allowHTML: true,\n trigger: 'manual',\n hideOnClick: false,\n arrow: this.showArrow,\n interactive: true,\n role: 'dialog',\n maxWidth: 'none',\n // helps to hide a warning on the console\n appendTo: document.body,\n // sets exit animation duration to zero to ensure instant exit\n duration: [300, 0],\n zIndex: 100099,\n },\n )\n }\n\n componentDidLoad() {\n this.init()\n }\n\n disconnectedCallback() {\n this.instance[0].unmount()\n }\n\n render() {\n return (\n <div\n class=\"tour-guide-item-backdrop\"\n data-show={this.useModalOverlay && this.startTour ? 'true' : 'false'}\n data-testid=\"sfe-tour-guide\"\n >\n <div ref={(el) => (this.contentRef = el)} aria-live=\"polite\">\n <swc-tour-guide-step\n heading={this.currentStep.title}\n content={this.currentStep.content}\n hasPrevious={this.hasPrevious}\n hasNext={this.hasNext}\n isLastStep={this.currentIndex === this.steps.length - 1}\n currentIndex={this.currentIndex}\n numberOfSteps={this.steps.length}\n variant={this.variant}\n startTour={this.startTour}\n dismissible={this.dismissible}\n onViewPrevious={this.viewPreviousStep}\n onViewNext={this.viewNextStep}\n onDismissTour={this.handleDismissTour}\n onEndTour={this.handleEndTour}\n ></swc-tour-guide-step>\n </div>\n </div>\n )\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAkB,yiK,MCWXC,EAAY,M,0MAKfC,UAAqB,MAIrBC,YAAuB,KAIvBC,gBAA2B,KAI3BC,kBAA6B,KAI7BC,UAAqB,KAIrBC,QAA6B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AAA5D,KAAKd,iBAAmBc,KAAKhB,UAAY,OAAS,QAAO,cACxD,kBAEZ0E,EAAA,OAAAC,IAAA,2CAAKE,IAAMC,GAAQ9D,KAAKF,WAAagE,EAAG,YAAY,UAClDJ,EACE,uBAAAC,IAAA,2CAAAI,QAAS/D,KAAKD,YAAYiE,MAC1BvB,QAASzC,KAAKD,YAAY0C,QAC1BxC,YAAaD,KAAKC,YAClBE,QAASH,KAAKG,QACd8D,WAAYjE,KAAKJ,eAAiBI,KAAKV,MAAMY,OAAS,EACtDN,aAAcI,KAAKJ,aACnBsE,cAAelE,KAAKV,MAAMY,OAC1Bb,QAASW,KAAKX,QACdL,UAAWgB,KAAKhB,UAChBC,YAAae,KAAKf,YAClBkF,eAAgBnE,KAAKI,iBACrBgE,WAAYpE,KAAKQ,aACjB6D,cAAerE,KAAKS,kBACpB6D,UAAWtE,KAAKU,iB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"swc-tour-guide.entry.esm.js","sources":["src/components/TourGuide/swc-tour-guide/swc-tour-guide.scss?tag=swc-tour-guide","src/components/TourGuide/swc-tour-guide/swc-tour-guide.tsx"],"sourcesContent":["@import '~tippy.js/dist/tippy.css';\n@import '~tippy.js/dist/border.css';\n@import '~tippy.js/animations/shift-toward.css';\n\n.tour-guide-item-backdrop[data-show='true'] {\n position: fixed;\n min-height: 100vh;\n width: 100%;\n background: rgb(4 22 40 / 25%);\n top: -20px;\n bottom: 0;\n left: 0;\n z-index: var(--sfe-stack-level-modals, 99999);\n}\n\n// LIGHT VARIANT\n.tippy-box[data-theme~='light'] {\n box-sizing: content-box;\n border-radius: var(--sfe-sizing-radius-small, 4px);\n padding: 6px;\n word-break: break-word;\n background-color: var(--sfe-banner-color-fill-tooltip, #fff);\n color: rgb(0 0 0 / 80%);\n border: 1px solid var(--sfe-banner-color-border-tooltip, rgb(0 0 0 / 10%));\n box-shadow:\n 0 10px 15px -3px rgb(0 0 0 / 10%),\n 0 4px 6px -4px rgb(0 0 0 / 10%);\n}\n\n.tippy-box[data-theme~='light'][data-placement^='top'] > .tippy-arrow::before {\n border-top-color: white;\n}\n\n.tippy-box[data-theme~='light'][data-placement^='bottom'] > .tippy-arrow::before {\n border-bottom-color: white;\n}\n\n.tippy-box[data-theme~='light'][data-placement^='left'] > .tippy-arrow::before {\n border-left-color: white;\n}\n\n.tippy-box[data-theme~='light'][data-placement^='right'] > .tippy-arrow::before {\n border-right-color: white;\n}\n\n// BRAND VARIANT\n\n.tippy-box[data-theme~='brand'] {\n box-sizing: content-box;\n border-radius: var(--sfe-sizing-radius-small, 4px);\n padding: 6px;\n word-break: break-word;\n background-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n color: var(--sfe-color-text-default-inverted-primary, rgb(255 255 255 / 95%));\n border: 1px solid var(--sfe-banner-color-border-tooltip-dark, rgb(0 0 0 / 10%));\n box-shadow:\n 0 10px 15px -3px rgb(0 0 0 / 10%),\n 0 4px 6px -4px rgb(0 0 0 / 10%);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='top'] > .tippy-arrow::before {\n border-top-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='bottom'] > .tippy-arrow::before {\n border-bottom-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='left'] > .tippy-arrow::before {\n border-left-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='right'] > .tippy-arrow::before {\n border-right-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.sfe-active-tour-step {\n z-index: var(--sfe-stack-level-modals, 99999);\n padding-block: 10px;\n padding-inline: 15px;\n border-radius: 10px;\n pointer-events: none;\n}\n\n.sfe-active-tour-step-bg {\n background-color: #fff;\n}\n\n.sfe-no-z-index {\n z-index: auto !important;\n}\n","import { Component, Event, EventEmitter, Prop, State, Watch, h } from '@stencil/core'\nimport tippy, { type Placement } from 'tippy.js'\n\n/**\n const emit = defineEmits(['view:previous', 'view:next', 'dismiss:tour', 'end:tour'])\n */\n\n@Component({\n tag: 'swc-tour-guide',\n styleUrl: 'swc-tour-guide.scss',\n})\nexport class SwcTourGuide {\n /**\n * determines whether the tour should begin\n */\n @Prop() startTour: boolean = false\n /**\n * determines whether the tour can be dismissed\n */\n @Prop() dismissible: boolean = true\n /**\n * determines whether an overlay should be displayed\n */\n @Prop() useModalOverlay: boolean = true\n /**\n * determines whether a tour step should be highlighted\n */\n @Prop() useHighlightSteps: boolean = true\n /**\n * determines whether an arrow should be displayed\n */\n @Prop() showArrow: boolean = true\n /**\n * variant of the tour guide\n */\n @Prop() variant: 'light' | 'brand' = 'light'\n /**\n * steps for the tour guide\n */\n @Prop() steps: { cssSelector: string; title: string; content: string; position?: Placement }[] =\n []\n\n /**\n * emitted when the previous button is clicked\n */\n @Event() viewPrevious: EventEmitter\n\n /**\n * emitted when the next button is clicked\n */\n @Event() viewNext: EventEmitter\n\n /**\n * emitted when the next button is clicked\n */\n\n @Event() dismissTour: EventEmitter\n /**\n * emitted when the next button is clicked\n */\n @Event() endTour: EventEmitter\n\n @State() instance: any // Instance<Props>[] & Instance<Props>\n @State() currentIndex: number = 0\n private activeNode: HTMLElement | null\n private contentRef: HTMLDivElement | undefined\n\n get currentStep() {\n return this.steps[this.currentIndex]\n }\n\n get hasPrevious() {\n return this.steps.length > 1 && this.currentIndex > 0\n }\n\n get hasNext() {\n return this.steps.length > 1 && this.currentIndex < this.steps.length - 1\n }\n\n private viewPreviousStep = () => {\n this.currentIndex -= 1\n this.viewPrevious.emit()\n this.removeHighlight()\n this.reInitialize()\n }\n\n private viewNextStep = () => {\n this.currentIndex += 1\n this.viewNext.emit()\n this.removeHighlight()\n this.reInitialize()\n }\n\n private handleDismissTour = () => {\n this.dismissTour.emit()\n }\n\n private handleEndTour = () => {\n this.endTour.emit()\n }\n\n private hideTour = () => {\n this.instance[0].hide()\n this.instance[0].unmount()\n this.currentIndex = 0\n this.removeHighlight()\n }\n\n private getAllParentElements = () => {\n if (!this.activeNode) return []\n let element = this.activeNode\n\n const parents = []\n\n while (element.parentNode) {\n element = element.parentNode as HTMLElement\n if (element.nodeType === 1) {\n parents.push(element)\n }\n }\n\n return parents\n }\n\n private reInitialize = () => {\n this.instance[0].hide()\n // create a new instance using the details of the next step.\n this.init()\n this.instance[0].show()\n this.activeNode = document.querySelector(`${this.currentStep.cssSelector}`)\n if (this.activeNode) {\n this.activeNode.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n })\n }\n\n if (this.useHighlightSteps) {\n this.highlightStep()\n }\n }\n\n private highlightStep = () => {\n if (!this.activeNode) return\n\n if (!this.activeNode.style.position) {\n this.activeNode.style.position = 'relative'\n }\n\n if (!this.activeNode.style.backgroundColor) {\n this.activeNode.classList.add('sfe-active-tour-step-bg')\n }\n\n this.activeNode.classList.add('sfe-active-tour-step')\n\n /**\n * Ensures that the highlighted element stays on top of the overlay.\n * Hence temporarily disables z-index on all of its parent elements.\n * This ensures the highlighted element maintains its own stacking context.\n */\n const parentElements = this.getAllParentElements()\n if (parentElements && parentElements.length > 0) {\n for (const element of parentElements) {\n element.classList.add('sfe-no-z-index')\n }\n }\n }\n\n private removeHighlight = () => {\n if (this.activeNode && this.useHighlightSteps) {\n this.activeNode.classList.remove('sfe-active-tour-step')\n this.activeNode.classList.remove('sfe-active-tour-step-bg')\n const parentElements = this.getAllParentElements()\n if (parentElements && parentElements.length > 0) {\n for (const element of parentElements) {\n element.classList.remove('sfe-no-z-index')\n }\n }\n }\n }\n\n @Watch('startTour')\n startTourHandler(newValue: boolean) {\n if (newValue) {\n this.reInitialize()\n } else {\n this.hideTour()\n }\n }\n\n private init = () => {\n this.instance = tippy(`${this.currentStep.cssSelector}`, {\n theme: this.variant,\n content: this.contentRef,\n animation: 'shift-toward',\n placement: this.currentStep.position || 'bottom',\n allowHTML: true,\n trigger: 'manual',\n hideOnClick: false,\n arrow: this.showArrow,\n interactive: true,\n role: 'dialog',\n maxWidth: 'none',\n // helps to hide a warning on the console\n appendTo: document.body,\n // sets exit animation duration to zero to ensure instant exit\n duration: [300, 0],\n zIndex: 100099,\n })\n }\n\n componentDidLoad() {\n this.init()\n }\n\n disconnectedCallback() {\n this.instance[0].unmount()\n }\n\n render() {\n return (\n <div\n class=\"tour-guide-item-backdrop\"\n data-show={this.useModalOverlay && this.startTour ? 'true' : 'false'}\n data-testid=\"sfe-tour-guide\"\n >\n <div ref={(el) => (this.contentRef = el)} aria-live=\"polite\">\n <swc-tour-guide-step\n heading={this.currentStep.title}\n content={this.currentStep.content}\n hasPrevious={this.hasPrevious}\n hasNext={this.hasNext}\n isLastStep={this.currentIndex === this.steps.length - 1}\n currentIndex={this.currentIndex}\n numberOfSteps={this.steps.length}\n variant={this.variant}\n startTour={this.startTour}\n dismissible={this.dismissible}\n onViewPrevious={this.viewPreviousStep}\n onViewNext={this.viewNextStep}\n onDismissTour={this.handleDismissTour}\n onEndTour={this.handleEndTour}\n ></swc-tour-guide-step>\n </div>\n </div>\n )\n }\n}\n"],"names":[],"mappings":";;;AAAA,MAAM,eAAe,GAAG,4iKAA4iK;;MCWvjK,YAAY,GAAA,MAAA;;;;;;;;AACvB;;AAEG;IACK,SAAS,GAAY,KAAK;AAClC;;AAEG;IACK,WAAW,GAAY,IAAI;AACnC;;AAEG;IACK,eAAe,GAAY,IAAI;AACvC;;AAEG;IACK,iBAAiB,GAAY,IAAI;AACzC;;AAEG;IACK,SAAS,GAAY,IAAI;AACjC;;AAEG;IACK,OAAO,GAAsB,OAAO;AAC5C;;AAEG;IACK,KAAK,GACX,EAAE;AAEJ;;AAEG;AACM,IAAA,YAAY;AAErB;;AAEG;AACM,IAAA,QAAQ;AAEjB;;AAEG;AAEM,IAAA,WAAW;AACpB;;AAEG;AACM,IAAA,OAAO;IAEP,QAAQ,CAAK;IACb,YAAY,GAAW,CAAC;AACzB,IAAA,UAAU;AACV,IAAA,U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,CAAC,KAAK,CAAC,MAAM,EAChC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,cAAc,EAAE,IAAI,CAAC,gBAAgB,EACrC,UAAU,EAAE,IAAI,CAAC,YAAY,EAC7B,aAAa,EAAE,IAAI,CAAC,iBAAiB,EACrC,SAAS,EAAE,IAAI,CAAC,aAAa,EACR,CAAA,CACnB,CACF;;;;;;;;;;"}
1
+ {"version":3,"file":"swc-tour-guide.entry.esm.js","sources":["src/components/TourGuide/swc-tour-guide/swc-tour-guide.scss?tag=swc-tour-guide","src/components/TourGuide/swc-tour-guide/swc-tour-guide.tsx"],"sourcesContent":["@import '~tippy.js/dist/tippy.css';\n@import '~tippy.js/dist/border.css';\n@import '~tippy.js/animations/shift-toward.css';\n\n.tour-guide-item-backdrop[data-show='true'] {\n position: fixed;\n min-height: 100vh;\n width: 100%;\n background: rgb(4 22 40 / 25%);\n top: -20px;\n bottom: 0;\n left: 0;\n z-index: var(--sfe-stack-level-modals, 99999);\n}\n\n// LIGHT VARIANT\n.tippy-box[data-theme~='light'] {\n box-sizing: content-box;\n border-radius: var(--sfe-sizing-radius-small, 4px);\n padding: 6px;\n word-break: break-word;\n background-color: var(--sfe-banner-color-fill-tooltip, #fff);\n color: rgb(0 0 0 / 80%);\n border: 1px solid var(--sfe-banner-color-border-tooltip, rgb(0 0 0 / 10%));\n box-shadow:\n 0 10px 15px -3px rgb(0 0 0 / 10%),\n 0 4px 6px -4px rgb(0 0 0 / 10%);\n}\n\n.tippy-box[data-theme~='light'][data-placement^='top'] > .tippy-arrow::before {\n border-top-color: white;\n}\n\n.tippy-box[data-theme~='light'][data-placement^='bottom'] > .tippy-arrow::before {\n border-bottom-color: white;\n}\n\n.tippy-box[data-theme~='light'][data-placement^='left'] > .tippy-arrow::before {\n border-left-color: white;\n}\n\n.tippy-box[data-theme~='light'][data-placement^='right'] > .tippy-arrow::before {\n border-right-color: white;\n}\n\n// BRAND VARIANT\n\n.tippy-box[data-theme~='brand'] {\n box-sizing: content-box;\n border-radius: var(--sfe-sizing-radius-small, 4px);\n padding: 6px;\n word-break: break-word;\n background-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n color: var(--sfe-color-text-default-inverted-primary, rgb(255 255 255 / 95%));\n border: 1px solid var(--sfe-banner-color-border-tooltip-dark, rgb(0 0 0 / 10%));\n box-shadow:\n 0 10px 15px -3px rgb(0 0 0 / 10%),\n 0 4px 6px -4px rgb(0 0 0 / 10%);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='top'] > .tippy-arrow::before {\n border-top-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='bottom'] > .tippy-arrow::before {\n border-bottom-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='left'] > .tippy-arrow::before {\n border-left-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.tippy-box[data-theme~='brand'][data-placement^='right'] > .tippy-arrow::before {\n border-right-color: var(--sfe-banner-color-fill-tooltip-dark, #1e50c0);\n}\n\n.sfe-active-tour-step {\n z-index: var(--sfe-stack-level-modals, 99999);\n padding-block: 10px;\n padding-inline: 15px;\n border-radius: 10px;\n pointer-events: none;\n}\n\n.sfe-active-tour-step-bg {\n background-color: #fff;\n}\n\n.sfe-no-z-index {\n z-index: auto !important;\n}\n","import { Component, Event, EventEmitter, Prop, State, Watch, h, Element } from '@stencil/core'\nimport tippy, { type Placement } from 'tippy.js'\n\n/**\n const emit = defineEmits(['view:previous', 'view:next', 'dismiss:tour', 'end:tour'])\n */\n\n@Component({\n tag: 'swc-tour-guide',\n styleUrl: 'swc-tour-guide.scss',\n})\nexport class SwcTourGuide {\n @Element() hostElement: HTMLSwcTourGuideElement\n /**\n * determines whether the tour should begin\n */\n @Prop() startTour: boolean = false\n /**\n * determines whether the tour can be dismissed\n */\n @Prop() dismissible: boolean = true\n /**\n * determines whether an overlay should be displayed\n */\n @Prop() useModalOverlay: boolean = true\n /**\n * determines whether a tour step should be highlighted\n */\n @Prop() useHighlightSteps: boolean = true\n /**\n * determines whether an arrow should be displayed\n */\n @Prop() showArrow: boolean = true\n /**\n * variant of the tour guide\n */\n @Prop() variant: 'light' | 'brand' = 'light'\n /**\n * steps for the tour guide\n */\n @Prop() steps: { cssSelector: string; title: string; content: string; position?: Placement }[] =\n []\n\n /**\n * emitted when the previous button is clicked\n */\n @Event() viewPrevious: EventEmitter\n\n /**\n * emitted when the next button is clicked\n */\n @Event() viewNext: EventEmitter\n\n /**\n * emitted when the next button is clicked\n */\n\n @Event() dismissTour: EventEmitter\n /**\n * emitted when the next button is clicked\n */\n @Event() endTour: EventEmitter\n\n @State() instance: any // Instance<Props>[] & Instance<Props>\n @State() currentIndex: number = 0\n private activeNode: HTMLElement | null\n private contentRef: HTMLDivElement | undefined\n\n get currentStep() {\n return this.steps[this.currentIndex]\n }\n\n get hasPrevious() {\n return this.steps.length > 1 && this.currentIndex > 0\n }\n\n get hasNext() {\n return this.steps.length > 1 && this.currentIndex < this.steps.length - 1\n }\n\n private viewPreviousStep = () => {\n this.currentIndex -= 1\n this.viewPrevious.emit()\n this.removeHighlight()\n this.reInitialize()\n }\n\n private viewNextStep = () => {\n this.currentIndex += 1\n this.viewNext.emit()\n this.removeHighlight()\n this.reInitialize()\n }\n\n private handleDismissTour = () => {\n this.dismissTour.emit()\n }\n\n private handleEndTour = () => {\n this.endTour.emit()\n }\n\n private hideTour = () => {\n this.instance[0].hide()\n this.instance[0].unmount()\n this.currentIndex = 0\n this.removeHighlight()\n }\n\n private getAllParentElements = () => {\n if (!this.activeNode) return []\n let element = this.activeNode\n\n const parents = []\n\n while (element.parentNode) {\n element = element.parentNode as HTMLElement\n if (element.nodeType === 1) {\n parents.push(element)\n }\n }\n\n return parents\n }\n\n private reInitialize = () => {\n this.instance[0].hide()\n // create a new instance using the details of the next step.\n this.init()\n this.instance[0].show()\n this.activeNode = document.querySelector(`${this.currentStep.cssSelector}`)\n if (this.activeNode) {\n this.activeNode.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n })\n }\n\n if (this.useHighlightSteps) {\n this.highlightStep()\n }\n }\n\n private highlightStep = () => {\n if (!this.activeNode) return\n\n if (!this.activeNode.style.position) {\n this.activeNode.style.position = 'relative'\n }\n\n if (!this.activeNode.style.backgroundColor) {\n this.activeNode.classList.add('sfe-active-tour-step-bg')\n }\n\n this.activeNode.classList.add('sfe-active-tour-step')\n\n /**\n * Ensures that the highlighted element stays on top of the overlay.\n * Hence temporarily disables z-index on all of its parent elements.\n * This ensures the highlighted element maintains its own stacking context.\n */\n const parentElements = this.getAllParentElements()\n if (parentElements && parentElements.length > 0) {\n for (const element of parentElements) {\n element.classList.add('sfe-no-z-index')\n }\n }\n }\n\n private removeHighlight = () => {\n if (this.activeNode && this.useHighlightSteps) {\n this.activeNode.classList.remove('sfe-active-tour-step')\n this.activeNode.classList.remove('sfe-active-tour-step-bg')\n const parentElements = this.getAllParentElements()\n if (parentElements && parentElements.length > 0) {\n for (const element of parentElements) {\n element.classList.remove('sfe-no-z-index')\n }\n }\n }\n }\n\n @Watch('startTour')\n startTourHandler(newValue: boolean) {\n if (newValue) {\n this.reInitialize()\n } else {\n this.hideTour()\n }\n }\n\n private init = () => {\n this.instance = tippy(\n this.hostElement.querySelector(`${this.currentStep.cssSelector}`) as Element,\n {\n theme: this.variant,\n content: this.contentRef,\n animation: 'shift-toward',\n placement: this.currentStep.position || 'bottom',\n allowHTML: true,\n trigger: 'manual',\n hideOnClick: false,\n arrow: this.showArrow,\n interactive: true,\n role: 'dialog',\n maxWidth: 'none',\n // helps to hide a warning on the console\n appendTo: document.body,\n // sets exit animation duration to zero to ensure instant exit\n duration: [300, 0],\n zIndex: 100099,\n },\n )\n }\n\n componentDidLoad() {\n this.init()\n }\n\n disconnectedCallback() {\n this.instance[0].unmount()\n }\n\n render() {\n return (\n <div\n class=\"tour-guide-item-backdrop\"\n data-show={this.useModalOverlay && this.startTour ? 'true' : 'false'}\n data-testid=\"sfe-tour-guide\"\n >\n <div ref={(el) => (this.contentRef = el)} aria-live=\"polite\">\n <swc-tour-guide-step\n heading={this.currentStep.title}\n content={this.currentStep.content}\n hasPrevious={this.hasPrevious}\n hasNext={this.hasNext}\n isLastStep={this.currentIndex === this.steps.length - 1}\n currentIndex={this.currentIndex}\n numberOfSteps={this.steps.length}\n variant={this.variant}\n startTour={this.startTour}\n dismissible={this.dismissible}\n onViewPrevious={this.viewPreviousStep}\n onViewNext={this.viewNextStep}\n onDismissTour={this.handleDismissTour}\n onEndTour={this.handleEndTour}\n ></swc-tour-guide-step>\n </div>\n </div>\n )\n }\n}\n"],"names":[],"mappings":";;;AAAA,MAAM,eAAe,GAAG,4iKAA4iK;;MCWvjK,YAAY,GAAA,MAAA;;;;;;;;;AAEvB;;AAEG;IACK,SAAS,GAAY,KAAK;AAClC;;AAEG;IACK,WAAW,GAAY,IAAI;AACnC;;AAEG;IACK,eAAe,GAAY,IAAI;AACvC;;AAEG;IACK,iBAAiB,GAAY,IAAI;AACzC;;AAEG;IACK,SAAS,GAAY,IAAI;AACjC;;AAEG;IACK,OAAO,GAAsB,OAAO;AAC5C;;AAEG;IACK,KAAK,GACX,EAAE;AAEJ;;AAEG;AACM,IAAA,YAAY;AAErB;;AAEG;AACM,IAAA,QAAQ;AAEjB;;AAEG;AAEM,IAAA,WAAW;AACpB;;AAEG;AACM,IAAA,OAAO;IAEP,QAAQ,CAAK;IACb,YAAY,GAAW,CAAC;AACzB,IAAA,UAAU;AACV,IAAA,UAAU;AAElB,IAAA,IAAI,WAAW,GAAA;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC;;AAGtC,IAAA,IAAI,WAAW,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,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,IAAI,CAAC,gBAAgB,EACrC,UAAU,EAAE,IAAI,CAAC,YAAY,EAC7B,aAAa,EAAE,IAAI,CAAC,iBAAiB,EACrC,SAAS,EAAE,IAAI,CAAC,aAAa,EACR,CAAA,CACnB,CACF;;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- import{p as e,b as a}from"./p-DnIVQjp-.js";export{s as setNonce}from"./p-DnIVQjp-.js";import{g as i}from"./p-DQuL1Twl.js";var t=()=>{const a=import.meta.url;const s={};if(a!==""){s.resourcesUrl=new URL(".",a).href}return e(s)};t().then((async e=>{await i();return a(JSON.parse('[["p-f50dac89",[[2,"swc-file-uploader",{"disabled":[516],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"multiple":[516],"type":[513],"maxFileSize":[2,"max-file-size"],"accepts":[16],"files":[32],"selectedFileIndex":[32]}]]],["p-94005d1c",[[4,"swc-top-nav",{"maxWidth":[1,"max-width"],"roleWrapperWidth":[514,"role-wrapper-width"],"hasNotifications":[516,"has-notifications"],"hasReadNotifications":[516,"has-read-notifications"],"hasUserRoleDropdown":[516,"has-user-role-dropdown"],"hasSearch":[516,"has-search"],"areLinksVisible":[32],"isSearchVisible":[32],"searchQuery":[32]},[[0,"change","handleInputEventChange"]],{"isSearchVisible":["searchVisibleChangeHandler"]}]]],["p-4c8f82ca",[[0,"swc-tour-guide",{"startTour":[4,"start-tour"],"dismissible":[4],"useModalOverlay":[4,"use-modal-overlay"],"useHighlightSteps":[4,"use-highlight-steps"],"showArrow":[4,"show-arrow"],"variant":[1],"steps":[16],"instance":[32],"currentIndex":[32]},null,{"startTour":["startTourHandler"]}]]],["p-5bce47c4",[[2,"swc-toast",{"type":[1025],"position":[1025],"_title":[1025],"message":[1025],"timeout":[1026],"showTitle":[1028,"show-title"],"dismissible":[1028],"isVisible":[1028,"is-visible"],"timeoutId":[1040,"timeout-id"],"showToast":[64],"reset":[64]}]]],["p-3c8f0d17",[[2,"swc-alert",{"message":[1],"intent":[1],"variant":[1],"position":[1],"isVisible":[1028,"is-visible"],"iconButtonAriaLabel":[1,"icon-button-aria-label"],"alertIcon":[32],"dismissIconColor":[32],"show":[64],"hide":[64]}]]],["p-5dc96a82",[[6,"swc-checkbox-group",{"options":[16],"direction":[1],"value":[1040]},[[0,"checkboxChange","checkboxChangeHandler"]],{"value":["valueChangeHandler"]}]]],["p-5d0c21e5",[[6,"swc-side-panel",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"size":[1],"position":[1]}]]],["p-f8e83f3f",[[6,"swc-banner",{"variant":[1],"showTitleIcon":[4,"show-title-icon"],"dismissible":[4],"titleId":[32],"bodyId":[32]}]]],["p-ab651070",[[6,"swc-stepper-item",{"index":[2],"isLastItem":[4,"is-last-item"],"activeIndex":[2,"active-index"],"orientation":[1],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"idProp":[1,"id-prop"],"computedStatus":[32]}]]],["p-ebff2546",[[2,"swc-tags-input",{"value":[16],"max":[2],"placeholder":[1],"disabled":[4],"hasError":[4,"has-error"],"newTag":[32],"isFocused":[32],"focusedTagIndex":[32],"tags":[32]},null,{"value":["valueChangeHandler"],"tags":["tagsChangeHandler"]}]]],["p-096539c0",[[2,"swc-radio-input",{"value":[513],"selectedValue":[513,"selected-value"],"disabled":[516],"error":[516],"checked":[516],"label":[1]}]]],["p-15f3f20f",[[2,"swc-skeleton",{"round":[4],"size":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"]}]]],["p-8b4b826d",[[6,"swc-stepper",{"orientation":[1],"activeIndex":[2,"active-index"],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"stepItemIds":[32]}]]],["p-2000af03",[[4,"swc-table-footer"]]],["p-1a808b96",[[2,"app-playground",{"isCollapsed":[32],"isModalOpen":[32],"selectedOption":[32],"on":[32]}],[0,"swc-sidebar-test",{"isSidebarCollapsed":[32],"module":[32],"activeRoute":[32],"userDetails":[32],"modules":[32],"resourcesLinks":[32],"guideLinks":[32]}],[2,"swc-pagination-test",{"meta":[32]}],[6,"swc-select",{"value":[8],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[513],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"derivedOptions":[32],"shouldGroupSelections":[32],"searchQueryVal":[32]},null,{"searchQueryVal":["searchQueryHandler"]}],[6,"swc-breadcrumb-dropdown"],[4,"swc-table-head",{"label":[1],"sortable":[4],"isActive":[4,"is-active"],"state":[32]},null,{"isActive":["isActiveWatchHandler"]}],[6,"swc-dialog",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"initialFocusRef":[16,"initial-focus-ref"],"size":[1],"width":[1],"hasCloseIcon":[4,"has-close-icon"],"animation":[1],"headerId":[32]}],[6,"swc-accordion-item",{"value":[1],"defaultValue":[1,"default-value"],"AccordionHeaderClass":[513,"accordion-header-class"],"AllowMultiple":[516,"allow-multiple"],"variant":[513],"ActiveIdsProp":[16,"active-ids-prop"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"reloadComp":[32]}],[2,"swc-avatar-group",{"size":[1],"shape":[1],"avatarGroupItems":[16,"avatar-group-items"]}],[4,"swc-navigation-menu-trigger",{"hover":[32]}],[6,"swc-accordion",{"variant":[513],"allowMultiple":[516,"allow-multiple"],"defaultValue":[1,"default-value"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"activeIds":[32]}],[6,"swc-badge",{"variant":[1],"intent":[1],"size":[1],"isCounter":[4,"is-counter"],"badgeClasses":[32]},null,{"variant":["watchProps"],"intent":["watchProps"],"size":["watchProps"],"isCounter":["watchProps"]}],[6,"swc-breadcrumb",{"separator":[513]}],[6,"swc-breadcrumb-item",{"isCurrentPage":[516,"is-current-page"],"separator":[1]}],[0,"swc-circular-progress",{"value":[2],"color":[1],"showValue":[4,"show-value"],"max":[2],"size":[1],"progression":[32]},null,{"value":["animateProgression"]}],[4,"swc-clickable",{"as":[1],"disabled":[4]}],[6,"swc-divider",{"orientation":[1],"hasContent":[32]}],[4,"swc-navigation-menu"],[4,"swc-navigation-menu-item",{"position":[1],"showArrow":[4,"show-arrow"]}],[4,"swc-popover",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"position":[1]}],[6,"swc-status-badge",{"variant":[1],"intent":[1]},null,{"variant":["validateVariant"],"intent":["validateIntent"]}],[6,"swc-tab-content",{"value":[1],"activeTab":[1,"active-tab"],"idProp":[513,"id"],"tabTriggerIds":[16,"tab-trigger-ids"]}],[6,"swc-tab-list",{"orientation":[1],"variant":[1]}],[6,"swc-tab-trigger",{"value":[1],"disabled":[4],"activeTab":[1,"active-tab"],"orientation":[1],"variant":[1],"size":[1],"idProp":[513,"id"],"tabContentIds":[16,"tab-content-ids"],"tabClass":[1,"tab-class"]}],[4,"swc-table",{"rounded":[4],"maxHeight":[1,"max-height"],"hasStickyHeader":[4,"has-sticky-header"]}],[4,"swc-table-body"],[4,"swc-table-cell"],[4,"swc-table-header",{"hasStickyHeader":[4,"has-sticky-header"]}],[4,"swc-table-row"],[6,"swc-tabs",{"defaultTab":[1,"default-tab"],"variant":[1],"orientation":[1],"size":[1],"activeTab":[32],"tabTriggerIds":[32],"tabContentIds":[32],"tabClass":[32]},[[0,"updateActiveTab","handleUpdateActiveTab"]]],[2,"swc-textarea",{"variant":[1],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleChange":[16,"handle-change"]}],[2,"swc-pagination",{"meta":[8],"limits":[16],"isSolid":[4,"is-solid"],"type":[1],"metaClone":[32],"firstPage":[32],"isPerPageFromDB":[32],"defaultPerPage":[32],"isCurrentPageSetFromInput":[32]}],[6,"swc-multi-select",{"selectedOptions":[16,"selected-options"],"originalOptions":[16,"original-options"],"filteredOptions":[16,"filtered-options"],"placeholder":[513],"searchable":[516],"loading":[516],"width":[513],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"usingFooterSlot":[4,"using-footer-slot"],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"isAllSelected":[32],"shouldGroupSelections":[32],"isOpen":[32]},null,{"isAllSelected":["isAllSelectedHandler"],"shouldGroupSelections":["groupSelectionHandler"],"selectedOptions":["selectedOptionsHandler"]}],[2,"swc-sidebar-header",{"module":[1],"modulesList":[16,"modules-list"],"canSwitchModules":[4,"can-switch-modules"],"isCurrentModule":[64]}],[6,"swc-single-select",{"selectedOption":[16,"selected-option"],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[1],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"isOpen":[32]},[[0,"closeDropdown","closeDropdownMenu"]]],[6,"swc-sidebar-footer",{"userDetails":[16,"user-details"],"viewingMoreOptions":[32]},null,{"collapsed":["handleCollapsedChange"]}],[6,"swc-sidebar-option",{"hasSections":[4,"has-sections"],"isSubsection":[4,"is-subsection"],"title":[1],"isActive":[4,"is-active"],"level":[2],"iconName":[1,"icon-name"],"iconVariant":[1,"icon-variant"],"optionId":[1,"option-id"],"showDropdown":[32],"childHeight":[32]},[[0,"storeChange","handleStoreChange"],[4,"sidebar-collapsed","handleSidebarCollapsed"]]],[6,"swc-sidebar",{"top":[1]},null,{"top":["topChanged"]}],[6,"swc-sidebar-body"],[2,"swc-pagination-button-list",{"currentPage":[2,"current-page"],"numberOfPages":[2,"number-of-pages"],"lastPage":[2,"last-page"],"maxButtonCount":[32],"buttonsBeforeEllipsis":[32],"buttonsAfterEllipsis":[32]}],[2,"swc-pagination-input",{"value":[1],"dropdownValues":[16,"dropdown-values"]}],[2,"swc-switch",{"disabled":[516],"checked":[1540],"color":[1],"label":[1]}],[6,"swc-modal-root",{"isModalOpen":[4,"is-modal-open"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEsc":[4,"close-on-esc"],"initialFocusRef":[16,"initial-focus-ref"]},null,{"isModalOpen":["handleOpenChange"]}],[4,"swc-tooltip",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"interactive":[4],"variant":[1],"position":[1],"tooltipId":[32]}],[2,"swc-option",{"disabled":[516],"value":[520],"label":[513],"SelectedOptions":[16,"selected-options"]}],[2,"swc-pagination-button",{"number":[2],"currentPage":[2,"current-page"]}],[2,"swc-avatar",{"src":[513],"alt":[513],"size":[513],"status":[513],"initials":[1],"shape":[1],"hasImageLoaded":[32]}],[2,"swc-progress",{"value":[1026],"max":[2],"color":[1],"showValue":[4,"show-value"]},null,{"value":["validateValue"]}],[6,"swc-label",{"required":[4],"disabled":[4],"size":[1],"emphasis":[1],"captionPlacement":[1,"caption-placement"],"showLabelIcon":[4,"show-label-icon"],"for":[1]}],[6,"swc-dropdown-trigger",{"width":[1],"size":[513],"showDropdownIcon":[516,"show-dropdown-icon"],"customClass":[1,"custom-class"]}],[4,"swc-dropdown",{"isSubMenu":[516,"is-sub-menu"],"position":[513],"flip":[516],"isExpanded":[32]},null,{"isExpanded":["isExpandedHandler"]}],[6,"swc-list",{"width":[1],"selection":[16],"options":[16],"searchable":[516],"placeholder":[513],"loading":[516],"maxHeight":[513,"max-height"],"customClass":[513,"custom-class"],"hoveredItem":[32],"searchQueryValue":[32]},[[0,"change","handleInputEventChange"]]],[2,"swc-loader",{"size":[1]}],[6,"swc-icon-button",{"disabled":[4],"size":[1],"intent":[1],"variant":[1],"arialLabel":[1,"arial-label"],"round":[4]}],[6,"swc-input",{"variant":[1],"clearable":[4],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleInputChange":[16,"handle-input-change"],"placeholder":[1],"type":[1]}],[6,"swc-list-item",{"selected":[4],"disabled":[4],"hideOnClick":[4,"hide-on-click"]}],[6,"swc-button",{"intent":[513],"variant":[513],"size":[513],"width":[1],"disabled":[4],"type":[513],"round":[4],"isIcon":[4,"is-icon"],"customClass":[1,"custom-class"]}],[2,"swc-svg-icon",{"name":[513],"variant":[513],"size":[513],"color":[513],"opacity":[513],"titleProp":[513,"title"]}]]],["p-0a8a7047",[[2,"swc-tour-guide-step",{"heading":[1],"content":[1],"dismissible":[4],"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"],"isLastStep":[4,"is-last-step"],"currentIndex":[2,"current-index"],"numberOfSteps":[2,"number-of-steps"],"startTour":[4,"start-tour"],"variant":[1]}]]],["p-a1f5a646",[[2,"swc-checkbox",{"value":[513],"checked":[1540],"error":[4],"disabled":[516],"falseValue":[513,"false-value"],"label":[513],"isIndeterminate":[4,"is-indeterminate"]}]]],["p-0fbe37fb",[[6,"swc-tag",{"instanceId":[2,"instance-id"],"dismissible":[4]}]]],["p-2b6aa70d",[[2,"swc-multiple-file",{"fileInfo":[16,"file-info"],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}],[2,"swc-single-file",{"fileInfo":[16,"file-info"],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}]]]]'),e)}));
1
+ import{p as e,b as a}from"./p-DnIVQjp-.js";export{s as setNonce}from"./p-DnIVQjp-.js";import{g as i}from"./p-DQuL1Twl.js";var t=()=>{const a=import.meta.url;const s={};if(a!==""){s.resourcesUrl=new URL(".",a).href}return e(s)};t().then((async e=>{await i();return a(JSON.parse('[["p-f50dac89",[[2,"swc-file-uploader",{"disabled":[516],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"multiple":[516],"type":[513],"maxFileSize":[2,"max-file-size"],"accepts":[16],"files":[32],"selectedFileIndex":[32]}]]],["p-94005d1c",[[4,"swc-top-nav",{"maxWidth":[1,"max-width"],"roleWrapperWidth":[514,"role-wrapper-width"],"hasNotifications":[516,"has-notifications"],"hasReadNotifications":[516,"has-read-notifications"],"hasUserRoleDropdown":[516,"has-user-role-dropdown"],"hasSearch":[516,"has-search"],"areLinksVisible":[32],"isSearchVisible":[32],"searchQuery":[32]},[[0,"change","handleInputEventChange"]],{"isSearchVisible":["searchVisibleChangeHandler"]}]]],["p-a86ce7d3",[[0,"swc-tour-guide",{"startTour":[4,"start-tour"],"dismissible":[4],"useModalOverlay":[4,"use-modal-overlay"],"useHighlightSteps":[4,"use-highlight-steps"],"showArrow":[4,"show-arrow"],"variant":[1],"steps":[16],"instance":[32],"currentIndex":[32]},null,{"startTour":["startTourHandler"]}]]],["p-5bce47c4",[[2,"swc-toast",{"type":[1025],"position":[1025],"_title":[1025],"message":[1025],"timeout":[1026],"showTitle":[1028,"show-title"],"dismissible":[1028],"isVisible":[1028,"is-visible"],"timeoutId":[1040,"timeout-id"],"showToast":[64],"reset":[64]}]]],["p-3c8f0d17",[[2,"swc-alert",{"message":[1],"intent":[1],"variant":[1],"position":[1],"isVisible":[1028,"is-visible"],"iconButtonAriaLabel":[1,"icon-button-aria-label"],"alertIcon":[32],"dismissIconColor":[32],"show":[64],"hide":[64]}]]],["p-5dc96a82",[[6,"swc-checkbox-group",{"options":[16],"direction":[1],"value":[1040]},[[0,"checkboxChange","checkboxChangeHandler"]],{"value":["valueChangeHandler"]}]]],["p-5d0c21e5",[[6,"swc-side-panel",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"size":[1],"position":[1]}]]],["p-f8e83f3f",[[6,"swc-banner",{"variant":[1],"showTitleIcon":[4,"show-title-icon"],"dismissible":[4],"titleId":[32],"bodyId":[32]}]]],["p-ab651070",[[6,"swc-stepper-item",{"index":[2],"isLastItem":[4,"is-last-item"],"activeIndex":[2,"active-index"],"orientation":[1],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"idProp":[1,"id-prop"],"computedStatus":[32]}]]],["p-ebff2546",[[2,"swc-tags-input",{"value":[16],"max":[2],"placeholder":[1],"disabled":[4],"hasError":[4,"has-error"],"newTag":[32],"isFocused":[32],"focusedTagIndex":[32],"tags":[32]},null,{"value":["valueChangeHandler"],"tags":["tagsChangeHandler"]}]]],["p-096539c0",[[2,"swc-radio-input",{"value":[513],"selectedValue":[513,"selected-value"],"disabled":[516],"error":[516],"checked":[516],"label":[1]}]]],["p-15f3f20f",[[2,"swc-skeleton",{"round":[4],"size":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"]}]]],["p-8b4b826d",[[6,"swc-stepper",{"orientation":[1],"activeIndex":[2,"active-index"],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"stepItemIds":[32]}]]],["p-2000af03",[[4,"swc-table-footer"]]],["p-716f2160",[[2,"app-playground",{"isCollapsed":[32],"isModalOpen":[32],"selectedOption":[32],"on":[32]}],[0,"swc-sidebar-test",{"isSidebarCollapsed":[32],"module":[32],"activeRoute":[32],"userDetails":[32],"modules":[32],"resourcesLinks":[32],"guideLinks":[32]}],[2,"swc-pagination-test",{"meta":[32]}],[6,"swc-select",{"value":[8],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[513],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"derivedOptions":[32],"shouldGroupSelections":[32],"searchQueryVal":[32]},null,{"searchQueryVal":["searchQueryHandler"]}],[6,"swc-breadcrumb-dropdown"],[4,"swc-table-head",{"label":[1],"sortable":[4],"isActive":[4,"is-active"],"state":[32]},null,{"isActive":["isActiveWatchHandler"]}],[6,"swc-dialog",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"initialFocusRef":[16,"initial-focus-ref"],"size":[1],"width":[1],"hasCloseIcon":[4,"has-close-icon"],"animation":[1],"headerId":[32]}],[6,"swc-accordion-item",{"value":[1],"defaultValue":[1,"default-value"],"AccordionHeaderClass":[513,"accordion-header-class"],"AllowMultiple":[516,"allow-multiple"],"variant":[513],"ActiveIdsProp":[16,"active-ids-prop"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"reloadComp":[32]}],[2,"swc-avatar-group",{"size":[1],"shape":[1],"avatarGroupItems":[16,"avatar-group-items"]}],[4,"swc-navigation-menu-trigger",{"hover":[32]}],[6,"swc-accordion",{"variant":[513],"allowMultiple":[516,"allow-multiple"],"defaultValue":[1,"default-value"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"activeIds":[32]}],[6,"swc-badge",{"variant":[1],"intent":[1],"size":[1],"isCounter":[4,"is-counter"],"badgeClasses":[32]},null,{"variant":["watchProps"],"intent":["watchProps"],"size":["watchProps"],"isCounter":["watchProps"]}],[6,"swc-breadcrumb",{"separator":[513]}],[6,"swc-breadcrumb-item",{"isCurrentPage":[516,"is-current-page"],"separator":[1]}],[0,"swc-circular-progress",{"value":[2],"color":[1],"showValue":[4,"show-value"],"max":[2],"size":[1],"progression":[32]},null,{"value":["animateProgression"]}],[4,"swc-clickable",{"as":[1],"disabled":[4]}],[6,"swc-divider",{"orientation":[1],"hasContent":[32]}],[4,"swc-navigation-menu"],[4,"swc-navigation-menu-item",{"position":[1],"showArrow":[4,"show-arrow"]}],[4,"swc-popover",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"position":[1]}],[6,"swc-status-badge",{"variant":[1],"intent":[1]},null,{"variant":["validateVariant"],"intent":["validateIntent"]}],[6,"swc-tab-content",{"value":[1],"activeTab":[1,"active-tab"],"idProp":[513,"id"],"tabTriggerIds":[16,"tab-trigger-ids"]}],[6,"swc-tab-list",{"orientation":[1],"variant":[1]}],[6,"swc-tab-trigger",{"value":[1],"disabled":[4],"activeTab":[1,"active-tab"],"orientation":[1],"variant":[1],"size":[1],"idProp":[513,"id"],"tabContentIds":[16,"tab-content-ids"],"tabClass":[1,"tab-class"]}],[4,"swc-table",{"rounded":[4],"maxHeight":[1,"max-height"],"hasStickyHeader":[4,"has-sticky-header"]}],[4,"swc-table-body"],[4,"swc-table-cell"],[4,"swc-table-header",{"hasStickyHeader":[4,"has-sticky-header"]}],[4,"swc-table-row"],[6,"swc-tabs",{"defaultTab":[1,"default-tab"],"variant":[1],"orientation":[1],"size":[1],"activeTab":[32],"tabTriggerIds":[32],"tabContentIds":[32],"tabClass":[32]},[[0,"updateActiveTab","handleUpdateActiveTab"]]],[2,"swc-textarea",{"variant":[1],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleChange":[16,"handle-change"]}],[2,"swc-pagination",{"meta":[8],"limits":[16],"isSolid":[4,"is-solid"],"type":[1],"metaClone":[32],"firstPage":[32],"isPerPageFromDB":[32],"defaultPerPage":[32],"isCurrentPageSetFromInput":[32]}],[6,"swc-multi-select",{"selectedOptions":[16,"selected-options"],"originalOptions":[16,"original-options"],"filteredOptions":[16,"filtered-options"],"placeholder":[513],"searchable":[516],"loading":[516],"width":[513],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"usingFooterSlot":[4,"using-footer-slot"],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"isAllSelected":[32],"shouldGroupSelections":[32],"isOpen":[32]},null,{"isAllSelected":["isAllSelectedHandler"],"shouldGroupSelections":["groupSelectionHandler"],"selectedOptions":["selectedOptionsHandler"]}],[2,"swc-sidebar-header",{"module":[1],"modulesList":[16,"modules-list"],"canSwitchModules":[4,"can-switch-modules"],"isCurrentModule":[64]}],[6,"swc-single-select",{"selectedOption":[16,"selected-option"],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[1],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"isOpen":[32]},[[0,"closeDropdown","closeDropdownMenu"]]],[6,"swc-sidebar-footer",{"userDetails":[16,"user-details"],"viewingMoreOptions":[32]},null,{"collapsed":["handleCollapsedChange"]}],[6,"swc-sidebar-option",{"hasSections":[4,"has-sections"],"isSubsection":[4,"is-subsection"],"title":[1],"isActive":[4,"is-active"],"level":[2],"iconName":[1,"icon-name"],"iconVariant":[1,"icon-variant"],"optionId":[1,"option-id"],"showDropdown":[32],"childHeight":[32]},[[0,"storeChange","handleStoreChange"],[4,"sidebar-collapsed","handleSidebarCollapsed"]]],[6,"swc-sidebar",{"top":[1]},null,{"top":["topChanged"]}],[6,"swc-sidebar-body"],[2,"swc-pagination-button-list",{"currentPage":[2,"current-page"],"numberOfPages":[2,"number-of-pages"],"lastPage":[2,"last-page"],"maxButtonCount":[32],"buttonsBeforeEllipsis":[32],"buttonsAfterEllipsis":[32]}],[2,"swc-pagination-input",{"value":[1],"dropdownValues":[16,"dropdown-values"]}],[2,"swc-switch",{"disabled":[516],"checked":[1540],"color":[1],"label":[1]}],[6,"swc-modal-root",{"isModalOpen":[4,"is-modal-open"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEsc":[4,"close-on-esc"],"initialFocusRef":[16,"initial-focus-ref"]},null,{"isModalOpen":["handleOpenChange"]}],[4,"swc-tooltip",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"interactive":[4],"variant":[1],"position":[1],"tooltipId":[32]}],[2,"swc-option",{"disabled":[516],"value":[520],"label":[513],"SelectedOptions":[16,"selected-options"]}],[2,"swc-pagination-button",{"number":[2],"currentPage":[2,"current-page"]}],[2,"swc-avatar",{"src":[513],"alt":[513],"size":[513],"status":[513],"initials":[1],"shape":[1],"hasImageLoaded":[32]}],[2,"swc-progress",{"value":[1026],"max":[2],"color":[1],"showValue":[4,"show-value"]},null,{"value":["validateValue"]}],[6,"swc-label",{"required":[4],"disabled":[4],"size":[1],"emphasis":[1],"captionPlacement":[1,"caption-placement"],"showLabelIcon":[4,"show-label-icon"],"for":[1]}],[6,"swc-dropdown-trigger",{"width":[1],"size":[513],"showDropdownIcon":[516,"show-dropdown-icon"],"customClass":[1,"custom-class"]}],[4,"swc-dropdown",{"isSubMenu":[516,"is-sub-menu"],"position":[513],"flip":[516],"isExpanded":[32]},null,{"isExpanded":["isExpandedHandler"]}],[6,"swc-list",{"width":[1],"selection":[16],"options":[16],"searchable":[516],"placeholder":[513],"loading":[516],"maxHeight":[513,"max-height"],"customClass":[513,"custom-class"],"hoveredItem":[32],"searchQueryValue":[32]},[[0,"change","handleInputEventChange"]]],[2,"swc-loader",{"size":[1]}],[6,"swc-icon-button",{"disabled":[4],"size":[1],"intent":[1],"variant":[1],"arialLabel":[1,"arial-label"],"round":[4]}],[6,"swc-input",{"variant":[1],"clearable":[4],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleInputChange":[16,"handle-input-change"],"placeholder":[1],"type":[1]}],[6,"swc-list-item",{"selected":[4],"disabled":[4],"hideOnClick":[4,"hide-on-click"]}],[6,"swc-button",{"intent":[513],"variant":[513],"size":[513],"width":[1],"disabled":[4],"type":[513],"round":[4],"isIcon":[4,"is-icon"],"customClass":[1,"custom-class"]}],[2,"swc-svg-icon",{"name":[513],"variant":[513],"size":[513],"color":[513],"opacity":[513],"titleProp":[513,"title"]}]]],["p-0a8a7047",[[2,"swc-tour-guide-step",{"heading":[1],"content":[1],"dismissible":[4],"hasPrevious":[4,"has-previous"],"hasNext":[4,"has-next"],"isLastStep":[4,"is-last-step"],"currentIndex":[2,"current-index"],"numberOfSteps":[2,"number-of-steps"],"startTour":[4,"start-tour"],"variant":[1]}]]],["p-a1f5a646",[[2,"swc-checkbox",{"value":[513],"checked":[1540],"error":[4],"disabled":[516],"falseValue":[513,"false-value"],"label":[513],"isIndeterminate":[4,"is-indeterminate"]}]]],["p-0fbe37fb",[[6,"swc-tag",{"instanceId":[2,"instance-id"],"dismissible":[4]}]]],["p-2b6aa70d",[[2,"swc-multiple-file",{"fileInfo":[16,"file-info"],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}],[2,"swc-single-file",{"fileInfo":[16,"file-info"],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}]]]]'),e)}));
2
2
  //# sourceMappingURL=wc-lib.esm.js.map