@shrfe/assets 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/shrfe-styles.css +2 -2
- package/js/shrfe-core-umd.js +8 -8
- package/package.json +1 -1
- package/wc-lib/p-081ea842.js +2 -0
- package/wc-lib/{p-c3123e56.entry.js → p-0867d450.entry.js} +2 -2
- package/wc-lib/p-0867d450.entry.js.map +1 -0
- package/wc-lib/{p-d1d7312c.entry.js → p-1af02653.entry.js} +2 -2
- package/wc-lib/p-1af02653.entry.js.map +1 -0
- package/wc-lib/{p-da8ade0b.entry.js → p-400a180c.entry.js} +2 -2
- package/wc-lib/p-400a180c.entry.js.map +1 -0
- package/wc-lib/p-412dd3a3.entry.js +2 -0
- package/wc-lib/p-412dd3a3.entry.js.map +1 -0
- package/wc-lib/{p-10029dfc.entry.js → p-5739d4fc.entry.js} +2 -2
- package/wc-lib/p-5739d4fc.entry.js.map +1 -0
- package/wc-lib/{p-55d15e17.entry.js → p-85b27233.entry.js} +2 -2
- package/wc-lib/p-85b27233.entry.js.map +1 -0
- package/wc-lib/{p-00eb5235.entry.js → p-98abf656.entry.js} +2 -2
- package/wc-lib/p-98abf656.entry.js.map +1 -0
- package/wc-lib/{p-89a7d6c5.entry.js → p-9cbc25eb.entry.js} +2 -2
- package/wc-lib/p-9cbc25eb.entry.js.map +1 -0
- package/wc-lib/{p-dbec9512.entry.js → p-9e6f6f9d.entry.js} +2 -2
- package/wc-lib/p-9e6f6f9d.entry.js.map +1 -0
- package/wc-lib/p-CI4W38n1.js +3 -0
- package/wc-lib/p-CI4W38n1.js.map +1 -0
- package/wc-lib/p-a7ea7a4d.entry.js +6 -0
- package/wc-lib/p-a7ea7a4d.entry.js.map +1 -0
- package/wc-lib/{p-ed8d1654.entry.js → p-b3fefffd.entry.js} +2 -2
- package/wc-lib/p-b3fefffd.entry.js.map +1 -0
- package/wc-lib/{p-06159e0b.entry.js → p-b4425380.entry.js} +2 -2
- package/wc-lib/p-b4425380.entry.js.map +1 -0
- package/wc-lib/{p-c598b0fd.entry.js → p-d43aa1bb.entry.js} +2 -2
- package/wc-lib/p-d43aa1bb.entry.js.map +1 -0
- package/wc-lib/{p-aee2b1b8.entry.js → p-d88b38d4.entry.js} +2 -2
- package/wc-lib/p-d88b38d4.entry.js.map +1 -0
- package/wc-lib/{p-c89ed5d2.entry.js → p-dd466949.entry.js} +2 -2
- package/wc-lib/p-dd466949.entry.js.map +1 -0
- package/wc-lib/{p-511486a7.entry.js → p-e5921276.entry.js} +2 -2
- package/wc-lib/p-e5921276.entry.js.map +1 -0
- package/wc-lib/{p-e66e06b9.entry.js → p-e66726d3.entry.js} +2 -2
- package/wc-lib/p-e66726d3.entry.js.map +1 -0
- package/wc-lib/{p-357cc68b.entry.js → p-f9b19e40.entry.js} +2 -2
- package/wc-lib/p-f9b19e40.entry.js.map +1 -0
- package/wc-lib/{p-dbb8adbb.entry.js → p-fed0b212.entry.js} +2 -2
- package/wc-lib/p-fed0b212.entry.js.map +1 -0
- package/wc-lib/wc-lib.esm.js +1 -1
- package/wc-lib/wc-lib.esm.js.map +1 -1
- package/wc-lib/p-00eb5235.entry.js.map +0 -1
- package/wc-lib/p-06159e0b.entry.js.map +0 -1
- package/wc-lib/p-10029dfc.entry.js.map +0 -1
- package/wc-lib/p-357cc68b.entry.js.map +0 -1
- package/wc-lib/p-37f99a4d.entry.js +0 -6
- package/wc-lib/p-37f99a4d.entry.js.map +0 -1
- package/wc-lib/p-389a9329.js +0 -2
- package/wc-lib/p-511486a7.entry.js.map +0 -1
- package/wc-lib/p-55d15e17.entry.js.map +0 -1
- package/wc-lib/p-5d9f218d.entry.js +0 -2
- package/wc-lib/p-5d9f218d.entry.js.map +0 -1
- package/wc-lib/p-89a7d6c5.entry.js.map +0 -1
- package/wc-lib/p-CCvUGs_1.js +0 -3
- package/wc-lib/p-CCvUGs_1.js.map +0 -1
- package/wc-lib/p-aee2b1b8.entry.js.map +0 -1
- package/wc-lib/p-c3123e56.entry.js.map +0 -1
- package/wc-lib/p-c598b0fd.entry.js.map +0 -1
- package/wc-lib/p-c89ed5d2.entry.js.map +0 -1
- package/wc-lib/p-d1d7312c.entry.js.map +0 -1
- package/wc-lib/p-da8ade0b.entry.js.map +0 -1
- package/wc-lib/p-dbb8adbb.entry.js.map +0 -1
- package/wc-lib/p-dbec9512.entry.js.map +0 -1
- package/wc-lib/p-e66e06b9.entry.js.map +0 -1
- package/wc-lib/p-ed8d1654.entry.js.map +0 -1
package/wc-lib/p-389a9329.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-CCvUGs_1.js";export{s as setNonce}from"./p-CCvUGs_1.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-c3123e56",[[258,"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-c598b0fd",[[260,"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-dbb8adbb",[[256,"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-d1d7312c",[[258,"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-ed8d1654",[[258,"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-06159e0b",[[262,"swc-checkbox-group",{"options":[16],"direction":[1],"value":[1040]},[[0,"checkboxChange","checkboxChangeHandler"]],{"value":["valueChangeHandler"]}]]],["p-55d15e17",[[262,"swc-side-panel",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"size":[1],"position":[1]}]]],["p-357cc68b",[[262,"swc-banner",{"variant":[1],"showTitleIcon":[4,"show-title-icon"],"dismissible":[4],"titleId":[32],"bodyId":[32]}]]],["p-c89ed5d2",[[262,"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-511486a7",[[258,"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-dbec9512",[[258,"swc-radio-input",{"value":[513],"selectedValue":[513,"selected-value"],"disabled":[516],"error":[516],"checked":[516],"label":[1]}]]],["p-00eb5235",[[258,"swc-skeleton",{"round":[4],"size":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"]}]]],["p-e66e06b9",[[262,"swc-stepper",{"orientation":[1],"activeIndex":[2,"active-index"],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"stepItemIds":[32]}]]],["p-5d9f218d",[[260,"swc-table-footer"]]],["p-37f99a4d",[[258,"app-playground",{"isCollapsed":[32],"isModalOpen":[32],"showPopoverModal":[32],"selectedOption":[32],"on":[32]}],[256,"swc-sidebar-test",{"isSidebarCollapsed":[32],"module":[32],"activeRoute":[32],"userDetails":[32],"modules":[32],"resourcesLinks":[32],"guideLinks":[32]}],[258,"swc-pagination-test",{"meta":[32]}],[262,"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"]}],[262,"swc-breadcrumb-dropdown"],[260,"swc-table-head",{"label":[1],"sortable":[4],"isActive":[4,"is-active"],"state":[32]},null,{"isActive":["isActiveWatchHandler"]}],[262,"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]}],[262,"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]}],[258,"swc-avatar-group",{"size":[1],"shape":[1],"avatarGroupItems":[16,"avatar-group-items"]}],[260,"swc-navigation-menu-trigger",{"hover":[32]}],[262,"swc-accordion",{"variant":[513],"allowMultiple":[516,"allow-multiple"],"defaultValue":[1,"default-value"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"activeIds":[32]}],[262,"swc-badge",{"variant":[1],"intent":[1],"size":[1],"isCounter":[4,"is-counter"],"badgeClasses":[32]},null,{"variant":["watchProps"],"intent":["watchProps"],"size":["watchProps"],"isCounter":["watchProps"]}],[262,"swc-breadcrumb",{"separator":[513]}],[262,"swc-breadcrumb-item",{"isCurrentPage":[516,"is-current-page"],"separator":[1]}],[256,"swc-circular-progress",{"value":[2],"color":[1],"showValue":[4,"show-value"],"max":[2],"size":[1],"progression":[32]},null,{"value":["animateProgression"]}],[260,"swc-clickable",{"as":[1],"disabled":[4]}],[262,"swc-divider",{"orientation":[1],"hasContent":[32]}],[260,"swc-navigation-menu"],[260,"swc-navigation-menu-item",{"position":[1],"showArrow":[4,"show-arrow"]}],[260,"swc-popover",{"showArrow":[4,"show-arrow"],"showPopoverModal":[4,"show-popover-modal"],"showContent":[4,"show-content"],"position":[1],"width":[1],"shouldHide":[32]},[[8,"keydown","handleEscape"]],{"showPopoverModal":["handleShowPopover"]}],[262,"swc-status-badge",{"variant":[1],"intent":[1]},null,{"variant":["validateVariant"],"intent":["validateIntent"]}],[262,"swc-tab-content",{"value":[1],"activeTab":[1,"active-tab"],"idProp":[513,"id"],"tabTriggerIds":[16,"tab-trigger-ids"]}],[262,"swc-tab-list",{"orientation":[1],"variant":[1]}],[262,"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"]}],[260,"swc-table",{"rounded":[4],"maxHeight":[1,"max-height"],"hasStickyHeader":[4,"has-sticky-header"]}],[260,"swc-table-body"],[260,"swc-table-cell"],[260,"swc-table-header",{"hasStickyHeader":[4,"has-sticky-header"]}],[260,"swc-table-row"],[262,"swc-tabs",{"defaultTab":[1,"default-tab"],"variant":[1],"orientation":[1],"size":[1],"activeTab":[32],"tabTriggerIds":[32],"tabContentIds":[32],"tabClass":[32]},[[0,"updateActiveTab","handleUpdateActiveTab"]],{"defaultTab":["handleDefaultTab"]}],[258,"swc-textarea",{"variant":[1],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleChange":[16,"handle-change"]}],[258,"swc-pagination",{"meta":[8],"limits":[16],"isSolid":[4,"is-solid"],"type":[1],"metaClone":[32],"firstPage":[32],"isPerPageFromDB":[32],"defaultPerPage":[32],"isCurrentPageSetFromInput":[32]},null,{"meta":["handleMetaChange"]}],[262,"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"]}],[258,"swc-sidebar-header",{"module":[1],"modulesList":[16,"modules-list"],"canSwitchModules":[4,"can-switch-modules"],"isCurrentModule":[64]}],[262,"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"]]],[262,"swc-sidebar-footer",{"userDetails":[16,"user-details"],"viewingMoreOptions":[32]}],[262,"swc-sidebar-option",{"hasSections":[4,"has-sections"],"isSubsection":[4,"is-subsection"],"sidebarTitle":[1,"sidebar-title"],"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"]]],[262,"swc-sidebar",{"top":[1]},null,{"top":["topChanged"]}],[262,"swc-sidebar-body"],[258,"swc-pagination-button-list",{"currentPage":[2,"current-page"],"numberOfPages":[2,"number-of-pages"],"lastPage":[2,"last-page"],"maxButtonCount":[32],"buttonsBeforeEllipsis":[32],"buttonsAfterEllipsis":[32]}],[258,"swc-pagination-input",{"value":[1],"dropdownValues":[16,"dropdown-values"]}],[258,"swc-switch",{"disabled":[516],"checked":[1540],"color":[1],"label":[1]}],[262,"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"]}],[260,"swc-tooltip",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"width":[1],"interactive":[4],"variant":[1],"position":[1],"tooltipId":[32],"visible":[32]}],[258,"swc-option",{"disabled":[516],"value":[520],"label":[513],"SelectedOptions":[16,"selected-options"]}],[258,"swc-pagination-button",{"number":[2],"currentPage":[2,"current-page"]}],[258,"swc-avatar",{"src":[513],"alt":[513],"size":[513],"status":[513],"initials":[1],"shape":[1],"hasImageLoaded":[32]}],[258,"swc-progress",{"value":[1026],"max":[2],"color":[1],"showValue":[4,"show-value"]},null,{"value":["validateValue"]}],[262,"swc-label",{"required":[4],"disabled":[4],"size":[1],"emphasis":[1],"captionPlacement":[1,"caption-placement"],"showLabelIcon":[4,"show-label-icon"],"for":[1]}],[262,"swc-dropdown-trigger",{"width":[1],"size":[513],"showDropdownIcon":[516,"show-dropdown-icon"],"customClass":[1,"custom-class"]}],[260,"swc-dropdown",{"isSubMenu":[516,"is-sub-menu"],"position":[520],"flip":[516],"isExpanded":[32]},null,{"isExpanded":["isExpandedHandler"]}],[262,"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"]]],[258,"swc-loader",{"size":[1]}],[262,"swc-icon-button",{"disabled":[4],"size":[1],"intent":[1],"variant":[1],"arialLabel":[1,"arial-label"],"round":[4]}],[262,"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]}],[262,"swc-list-item",{"selected":[4],"disabled":[4],"hideOnClick":[4,"hide-on-click"]}],[262,"swc-button",{"intent":[513],"variant":[513],"size":[513],"width":[1],"disabled":[4],"type":[513],"round":[4],"isIcon":[4,"is-icon"],"customClass":[1,"custom-class"]}],[258,"swc-svg-icon",{"name":[513],"variant":[513],"size":[513],"color":[513],"opacity":[513],"titleProp":[513,"title"]}]]],["p-89a7d6c5",[[258,"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-da8ade0b",[[258,"swc-checkbox",{"value":[513],"checked":[1540],"error":[4],"disabled":[516],"falseValue":[513,"false-value"],"label":[513],"isIndeterminate":[4,"is-indeterminate"]}]]],["p-aee2b1b8",[[262,"swc-tag",{"instanceId":[2,"instance-id"],"dismissible":[4]}]]],["p-10029dfc",[[258,"swc-multiple-file",{"fileInfo":[16,"file-info"],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}],[258,"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
|
-
//# sourceMappingURL=wc-lib.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["swcTagsInputCss","SwcTagsInput","value","max","Infinity","placeholder","disabled","hasError","newTag","isFocused","focusedTagIndex","tags","this","handleChange","addTag","trimmedTag","trim","length","removeTag","tagIndex","filter","_","index","handleBackspace","handleClickTagRemoval","handleFocus","handleBlur","handleKeyDown","ev","key","toLowerCase","preventDefault","handleInputChange","event","targettedEl","target","trimmedVal","valueChangeHandler","newValue","Array","isArray","tagsChangeHandler","emit","componentWillLoad","render","h","Host","class","map","tag","instanceId","dismissible","type","onInput","onBlur","onFocus","onKeyDown"],"sources":["src/components/swc-tagsInput/swc-tagsInput.scss?tag=swc-tags-input&encapsulation=scoped","src/components/swc-tagsInput/swc-tagsInput.tsx"],"sourcesContent":[":host {\n .sfe-tags-input {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n border-radius: var(--sfe-sizing-radius-small, 4px);\n border: 1px solid var(--sfe-form-input-color-border-default, #9ea8b3);\n padding: 10px;\n transition: border-color 0.2s;\n\n &.disabled {\n opacity: 0.4;\n pointer-events: none;\n }\n\n &:hover,\n .focused {\n border: 1px solid var(--sfe-form-input-color-border-hover, #4080e0);\n }\n }\n\n .sfe-tags-input.has-error {\n border: 1px solid var(--sfe-form-input-color-border-error, #a22827);\n }\n\n .tags-wrapper {\n display: flex;\n flex-wrap: wrap;\n gap: 5px;\n width: 100%;\n }\n\n input[type='text'] {\n min-width: 100px;\n flex-grow: 1;\n outline: none;\n border: none;\n background: transparent;\n\n &:disabled {\n cursor: not-allowed;\n background: transparent;\n opacity: 0.4;\n }\n }\n}\n","/* eslint-disable react/jsx-no-bind */\n/* eslint-disable @stencil-community/strict-boolean-conditions */\nimport { Component, Host, Prop, h, Watch, State, Event, EventEmitter } from '@stencil/core'\n\n@Component({\n tag: 'swc-tags-input',\n styleUrl: 'swc-tagsInput.scss',\n scoped: true,\n})\nexport class SwcTagsInput {\n /**\n * an array of tags\n */\n @Prop() value: string[] = []\n /**\n * maximum number of of tags to accept on the input\n */\n @Prop() max: number = Infinity\n /**\n * Placeholder text for the input\n */\n @Prop() placeholder: string = 'Add a tag'\n /**\n * disabled state\n */\n @Prop() disabled: boolean = false\n /**\n * error state\n */\n @Prop() hasError: boolean = false\n\n @State() newTag: string = ''\n @State() isFocused: boolean = false\n @State() focusedTagIndex: number | null = null\n @State() tags: string[] = [...(this.value ?? [])]\n\n /**\n * event fired when the input changes\n */\n @Event({ bubbles: true }) handleChange: EventEmitter<string[]>\n\n private addTag = () => {\n const trimmedTag = this.newTag.trim()\n if (trimmedTag && this.tags.length < this.max) {\n this.tags = [...this.tags, trimmedTag]\n this.newTag = ''\n }\n }\n\n private removeTag = (tagIndex: number) => {\n if (this.disabled) return\n this.tags = this.tags.filter((_: string, index: number) => tagIndex !== index)\n this.focusedTagIndex = null\n }\n\n private handleBackspace = () => {\n if (!this.newTag) {\n if (this.focusedTagIndex === null && this.tags.length > 0) {\n this.focusedTagIndex = this.tags.length - 1\n } else if (this.focusedTagIndex !== null) {\n this.removeTag(this.focusedTagIndex)\n }\n }\n }\n\n private handleClickTagRemoval = (index: number) => {\n this.focusedTagIndex = index\n this.removeTag(this.focusedTagIndex)\n }\n\n private handleFocus = () => {\n this.isFocused = true\n this.focusedTagIndex = null\n }\n\n private handleBlur = () => {\n this.isFocused = true\n this.focusedTagIndex = null\n }\n\n private handleKeyDown = (ev: KeyboardEvent) => {\n if (ev.key.toLowerCase() === 'backspace') {\n this.handleBackspace()\n }\n if (ev.key.toLowerCase() === 'enter') {\n ev.preventDefault()\n this.addTag()\n }\n }\n\n private handleInputChange = (event: InputEvent) => {\n const targettedEl = event.target as HTMLInputElement\n const trimmedVal = targettedEl.value.trim()\n this.newTag = trimmedVal\n }\n\n @Watch('value')\n valueChangeHandler(newValue: string[]) {\n if (Array.isArray(newValue)) {\n this.tags = [...(newValue ?? [])]\n }\n }\n\n @Watch('tags')\n tagsChangeHandler(newValue: string[]) {\n this.handleChange.emit(newValue)\n }\n\n componentWillLoad() {\n if (Array.isArray(this.value)) {\n this.tags = [...(this.value ?? [])]\n }\n }\n\n render() {\n return (\n <Host>\n <div\n class={`sfe-tags-input \n ${this.hasError ? 'has-error' : ''} \n ${this.disabled} \n ${this.isFocused ? 'focused' : ''}`}\n data-testid=\"sfe-tags-input\"\n >\n <div class=\"tags-wrapper\">\n {this.tags.map((tag, index) => (\n <swc-tag\n key={index}\n instanceId={index}\n dismissible={!this.disabled}\n class={this.focusedTagIndex === index ? 'focused' : ''}\n on-dismiss={() => this.handleClickTagRemoval(index)}\n >\n {tag}\n </swc-tag>\n ))}\n <input\n type=\"text\"\n placeholder={this.placeholder}\n disabled={this.disabled}\n class=\"tag-input\"\n value={this.newTag}\n onInput={this.handleInputChange}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onKeyDown={this.handleKeyDown}\n />\n </div>\n </div>\n </Host>\n )\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAkB,miC,MCSXC,EAAY,M,kEAIfC,MAAkB,GAIlBC,IAAcC,SAIdC,YAAsB,YAItBC,SAAoB,MAIpBC,SAAoB,MAEnBC,OAAiB,GACjBC,UAAqB,MACrBC,gBAAiC,KACjCC,KAAiB,IAAKC,KAAKV,OAAS,IAKnBW,aAElBC,OAAS,KACf,MAAMC,EAAaH,KAAKJ,OAAOQ,OAC/B,GAAID,GAAcH,KAAKD,KAAKM,OAASL,KAAKT,IAAK,CAC7CS,KAAKD,KAAO,IAAIC,KAAKD,KAAMI,GAC3BH,KAAKJ,OAAS,E,GAIVU,UAAaC,IACnB,GAAIP,KAAKN,SAAU,OACnBM,KAAKD,KAAOC,KAAKD,KAAKS,QAAO,CAACC,EAAWC,IAAkBH,IAAaG,IACxEV,KAAKF,gBAAkB,IAAI,EAGrBa,gBAAkB,KACxB,IAAKX,KAAKJ,OAAQ,CAChB,GAAII,KAAKF,kBAAoB,MAAQE,KAAKD,KAAKM,OAAS,EAAG,CACzDL,KAAKF,gBAAkBE,KAAKD,KAAKM,OAAS,C,MACrC,GAAIL,KAAKF,kBAAoB,KAAM,CACxCE,KAAKM,UAAUN,KAAKF,gB,IAKlBc,sBAAyBF,IAC/BV,KAAKF,gBAAkBY,EACvBV,KAAKM,UAAUN,KAAKF,gBAAgB,EAG9Be,YAAc,KACpBb,KAAKH,UAAY,KACjBG,KAAKF,gBAAkB,IAAI,EAGrBgB,WAAa,KACnBd,KAAKH,UAAY,KACjBG,KAAKF,gBAAkB,IAAI,EAGrBiB,cAAiBC,IACvB,GAAIA,EAAGC,IAAIC,gBAAkB,YAAa,CACxClB,KAAKW,iB,CAEP,GAAIK,EAAGC,IAAIC,gBAAkB,QAAS,CACpCF,EAAGG,iBACHnB,KAAKE,Q,GAIDkB,kBAAqBC,IAC3B,MAAMC,EAAcD,EAAME,OAC1B,MAAMC,EAAaF,EAAYhC,MAAMc,OACrCJ,KAAKJ,OAAS4B,CAAU,EAI1B,kBAAAC,CAAmBC,GACjB,GAAIC,MAAMC,QAAQF,GAAW,CAC3B1B,KAAKD,KAAO,IAAK2B,GAAY,G,EAKjC,iBAAAG,CAAkBH,GAChB1B,KAAKC,aAAa6B,KAAKJ,E,CAGzB,iBAAAK,GACE,GAAIJ,MAAMC,QAAQ5B,KAAKV,OAAQ,CAC7BU,KAAKD,KAAO,IAAKC,KAAKV,OAAS,G,EAInC,MAAA0C,GACE,OACEC,EAACC,EAAI,CAAAjB,IAAA,4CACHgB,EAAA,OAAAhB,IAAA,2CACEkB,MAAO,gCACHnC,KAAKL,SAAW,YAAc,oBAC9BK,KAAKN,0BACLM,KAAKH,UAAY,UAAY,KAAI,cACzB,kBAEZoC,EAAK,OAAAhB,IAAA,2CAAAkB,MAAM,gBACRnC,KAAKD,KAAKqC,KAAI,CAACC,EAAK3B,IACnBuB,EACE,WAAAhB,IAAKP,EACL4B,WAAY5B,EACZ6B,aAAcvC,KAAKN,SACnByC,MAAOnC,KAAKF,kBAAoBY,EAAQ,UAAY,GACxC,iBAAMV,KAAKY,sBAAsBF,IAE5C2B,KAGLJ,EACE,SAAAhB,IAAA,2CAAAuB,KAAK,OACL/C,YAAaO,KAAKP,YAClBC,SAAUM,KAAKN,SACfyC,MAAM,YACN7C,MAAOU,KAAKJ,OACZ6C,QAASzC,KAAKoB,kBACdsB,OAAQ1C,KAAKc,WACb6B,QAAS3C,KAAKa,YACd+B,UAAW5C,KAAKe,kB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["swcSidePanelCss","SwcSidePanel","isModalOpen","closeOnEsc","closeOnOverlayClick","size","position","closeModal","closeDialog","this","emit","render","h","key","onCloseModal","class","name","round","intent","variant","onClick"],"sources":["src/components/modals/swc-side-panel/swc-side-panel.scss?tag=swc-side-panel&encapsulation=scoped","src/components/modals/swc-side-panel/swc-side-panel.tsx"],"sourcesContent":[".sfe-side-panel {\n display: flex;\n flex-direction: column;\n height: 100vh;\n background-color: white;\n position: fixed;\n top: 0;\n bottom: 0;\n\n &--right {\n right: 0;\n animation: slide-left 0.3s ease;\n }\n\n &--left {\n left: 0;\n animation: slide-right 0.3s ease;\n }\n\n &--sm {\n width: 360px;\n }\n\n &--md {\n width: 480px;\n }\n\n &--lg {\n width: 640px;\n }\n\n &__header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1em;\n border-bottom: 1px solid #ccc;\n }\n\n &__title {\n font-size: 1rem;\n font-weight: 500;\n margin: 0;\n }\n\n &__description {\n font-size: 0.875rem;\n color: gray;\n margin: 0;\n }\n\n &__body {\n padding: 1em;\n overflow-y: auto;\n }\n\n &__footer {\n padding: 1em;\n margin: auto auto 2em 0;\n text-align: right;\n }\n}\n@keyframes slide-left {\n from {\n opacity: 0;\n transform: translateX(50%);\n }\n}\n@keyframes slide-right {\n from {\n opacity: 0;\n transform: translateX(-50%);\n }\n}\n","import { Component, Prop, Event, EventEmitter, h } from '@stencil/core'\n@Component({\n tag: 'swc-side-panel',\n styleUrl: 'swc-side-panel.scss',\n scoped: true,\n})\nexport class SwcSidePanel {\n /** component prop doc */\n @Prop() isModalOpen: boolean = false\n /** component prop doc */\n @Prop() closeOnEsc: boolean = true\n /** component prop doc */\n @Prop() closeOnOverlayClick: boolean = true\n /** component prop doc */\n @Prop() size: 'sm' | 'md' | 'lg' = 'sm'\n /** component prop doc */\n @Prop() position: 'left' | 'right' = 'right'\n /** component emitted event doc */\n @Event() closeModal: EventEmitter<void>\n\n private closeDialog = () => {\n this.closeModal.emit()\n }\n\n render() {\n return (\n <swc-modal-root\n isModalOpen={this.isModalOpen}\n closeOnEsc={this.closeOnEsc}\n closeOnOverlayClick={this.closeOnOverlayClick}\n onCloseModal={this.closeDialog}\n >\n <div class={`sfe-side-panel sfe-side-panel--${this.position} sfe-side-panel--${this.size}`}>\n <header class=\"sfe-side-panel__header\">\n <div>\n <h3 class=\"sfe-side-panel__title\">\n <slot name=\"title\" />\n </h3>\n <p class=\"sfe-side-panel__description\">\n <slot name=\"description\" />\n </p>\n </div>\n <swc-button\n round\n intent=\"neutral\"\n variant=\"bare\"\n size=\"md\"\n aria-label=\"Close\"\n onClick={this.closeDialog}\n >\n ×\n </swc-button>\n </header>\n <section class=\"sfe-side-panel__body\">\n <slot name=\"body\" />\n </section>\n <footer class=\"sfe-side-panel__footer\">\n <slot name=\"footer\" />\n </footer>\n </div>\n </swc-modal-root>\n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAkB,2hC,MCMXC,EAAY,M,8DAEfC,YAAuB,MAEvBC,WAAsB,KAEtBC,oBAA+B,KAE/BC,KAA2B,KAE3BC,SAA6B,QAE5BC,WAEDC,YAAc,KACpBC,KAAKF,WAAWG,MAAM,EAGxB,MAAAC,GACE,OACEC,EACE,kBAAAC,IAAA,2CAAAX,YAAaO,KAAKP,YAClBC,WAAYM,KAAKN,WACjBC,oBAAqBK,KAAKL,oBAC1BU,aAAcL,KAAKD,aAEnBI,EAAK,OAAAC,IAAA,2CAAAE,MAAO,kCAAkCN,KAAKH,4BAA4BG,KAAKJ,QAClFO,EAAQ,UAAAC,IAAA,2CAAAE,MAAM,0BACZH,EAAA,OAAAC,IAAA,4CACED,EAAI,MAAAC,IAAA,2CAAAE,MAAM,yBACRH,EAAA,QAAAC,IAAA,2CAAMG,KAAK,WAEbJ,EAAG,KAAAC,IAAA,2CAAAE,MAAM,+BACPH,EAAA,QAAAC,IAAA,2CAAMG,KAAK,kBAGfJ,EACE,cAAAC,IAAA,2CAAAI,MAAK,KACLC,OAAO,UACPC,QAAQ,OACRd,KAAK,KAAI,aACE,QACXe,QAASX,KAAKD,aAAW,MAK7BI,EAAS,WAAAC,IAAA,2CAAAE,MAAM,wBACbH,EAAA,QAAAC,IAAA,2CAAMG,KAAK,UAEbJ,EAAQ,UAAAC,IAAA,2CAAAE,MAAM,0BACZH,EAAM,QAAAC,IAAA,2CAAAG,KAAK,a","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as s,H as t}from"./p-CCvUGs_1.js";const a=class{constructor(s){e(this,s)}render(){return s(t,{key:"6e97273bb0ac90a70e994177f97325b778330211",class:"sfe-table-footer","data-testid":"sfe-table-footer"},s("slot",{key:"14d42f0a198d6f606682388dcca05e8297ca2c86"}))}};export{a as swc_table_footer};
|
|
2
|
-
//# sourceMappingURL=p-5d9f218d.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SwcTableFooter","render","h","Host","key","class"],"sources":["src/components/Table/swc-table-footer/swc-table-footer.tsx"],"sourcesContent":["import { Component, h, Host } from '@stencil/core'\n\n@Component({\n tag: 'swc-table-footer',\n})\nexport class SwcTableFooter {\n render() {\n return (\n <Host class=\"sfe-table-footer\" data-testid=\"sfe-table-footer\">\n <slot></slot>\n </Host>\n )\n }\n}\n"],"mappings":"wDAKaA,EAAc,M,yBACzB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,mBAAkB,cAAa,oBACzCH,EAAa,QAAAE,IAAA,6C","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["swcTourGuideStepCss","SwcTourGuideStep","heading","content","dismissible","hasPrevious","hasNext","isLastStep","currentIndex","numberOfSteps","startTour","variant","viewPrevious","viewNext","dismissTour","endTour","handleDismissTour","this","emit","handleNext","handlePrevious","handleEndTour","render","h","key","class","innerHTML","intent","size","round","onClick","name","color"],"sources":["src/components/TourGuide/swc-tour-guide-step/swc-tour-guide-step.scss?tag=swc-tour-guide-step&encapsulation=scoped","src/components/TourGuide/swc-tour-guide-step/swc-tour-guide-step.tsx"],"sourcesContent":[":host {\n .sfe-tour-guide-step {\n &__title {\n font-family: var(--sfe-typography-font-sans-font, Matter);\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 16px;\n }\n\n &__content {\n font-family: var(--sfe-typography-font-sans-font, Matter);\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 16px;\n }\n\n &__back-btn {\n margin-inline-end: 4px;\n }\n\n &__steps-info {\n font-family: var(--sfe-typography-font-serif-font, Sora);\n font-size: var(--sfe-typography-font-size-label-small, 12px);\n font-style: normal;\n font-weight: 400;\n line-height: 14px;\n }\n\n &--light {\n .sfe-tour-guide-step__title {\n color: var(--sfe-color-text-default-primary, rgb(0 0 0 / 95%));\n }\n\n .sfe-tour-guide-step__content {\n color: var(--sfe-color-text-default-secondary, rgb(0 0 0 / 80%));\n }\n\n .sfe-tour-guide-step__steps-info {\n color: var(--sfe-color-text-default-muted, rgb(0 0 0 / 50%));\n }\n }\n\n &--brand {\n .sfe-tour-guide-step__title {\n color: var(--sfe-color-text-default-inverted-primary, rgb(255 255 255 / 95%));\n }\n\n .sfe-tour-guide-step__content {\n color: var(--sfe-color-text-default-inverted-primary, rgb(255 255 255 / 95%));\n }\n\n .sfe-tour-guide-step__steps-info {\n color: var(--color-text-inverted-weakest, rgb(255 255 255 / 50%));\n }\n }\n }\n\n .flex-wrapper {\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n\n .col-gap-10 {\n column-gap: 10px;\n }\n\n .m-0 {\n margin: 0;\n }\n}\n","import { Component, Event, EventEmitter, Prop, h } from '@stencil/core'\n\n// defineEmits(['view:previous', 'view:next', 'dismiss:tour', 'end:tour'])\n\n@Component({\n tag: 'swc-tour-guide-step',\n styleUrl: 'swc-tour-guide-step.scss',\n scoped: true,\n})\nexport class SwcTourGuideStep {\n /**\n * title of the tour step\n */\n @Prop() heading: string\n /**\n * content of the tour step\n */\n @Prop() content: string\n /**\n * determines whether the tour step should be dismissed\n */\n @Prop() dismissible: boolean = false\n /**\n * determines whether there is a previous step\n */\n @Prop() hasPrevious: boolean = false\n /**\n * determines whether there is a next step\n */\n @Prop() hasNext: boolean = false\n /**\n * determines whether the tour step is the last step\n */\n @Prop() isLastStep: boolean = false\n /**\n * the position of the current tour step\n */\n @Prop() currentIndex: number = 0\n /**\n * the number of steps in the tour guide\n */\n @Prop() numberOfSteps: number = 1\n /**\n * determines whether the tour should begin\n */\n @Prop() startTour: boolean = false\n /**\n * variant of the tour guide\n */\n @Prop() variant: 'light' | 'brand'\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 private handleDismissTour = () => {\n this.dismissTour.emit()\n }\n\n private handleNext = () => {\n this.viewNext.emit()\n }\n\n private handlePrevious = () => {\n this.viewPrevious.emit()\n }\n\n private handleEndTour = () => {\n this.endTour.emit()\n }\n\n render() {\n return (\n this.startTour && (\n <div\n class={{ [`sfe-tour-guide-step sfe-tour-guide-step--${this.variant}`]: true }}\n data-testid=\"sfe-tour-guide-step\"\n >\n <div class=\"flex-wrapper\">\n <p class=\"sfe-tour-guide-step__title m-0\" innerHTML={this.heading}></p>\n <swc-icon-button\n v-if=\"dismissible\"\n aria-label=\"dismiss tour\"\n intent={this.variant === 'light' ? 'neutral' : 'inverse'}\n variant=\"bare\"\n size=\"sm\"\n round\n onClick={this.handleDismissTour}\n >\n <swc-svg-icon name=\"Dismiss\" color=\"currentColor\" size=\"12\"></swc-svg-icon>\n </swc-icon-button>\n </div>\n\n <div class=\"sfe-tour-guide-step__content\" innerHTML={this.content}></div>\n\n <div class=\"flex-wrapper col-gap-10\">\n <p class=\"sfe-tour-guide-step__steps-info m-0\">\n {this.currentIndex + 1} of {this.numberOfSteps}\n </p>\n\n <div>\n {this.hasPrevious && (\n <swc-button\n intent={this.variant === 'light' ? 'brand' : 'inverse'}\n variant=\"bare\"\n size=\"xs\"\n class=\"sfe-tour-guide-step__back-btn\"\n onClick={this.handlePrevious}\n >\n Back\n </swc-button>\n )}\n\n {this.hasNext && (\n <swc-button\n intent={this.variant === 'light' ? 'brand' : 'inverse'}\n size=\"xs\"\n onClick={this.handleNext}\n >\n Next\n </swc-button>\n )}\n\n {this.isLastStep && (\n <swc-button\n intent={this.variant === 'light' ? 'brand' : 'inverse'}\n size=\"xs\"\n onClick={this.handleEndTour}\n >\n Done\n </swc-button>\n )}\n </div>\n </div>\n </div>\n )\n )\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAsB,0rE,MCSfC,EAAgB,M,yKAInBC,QAIAC,QAIAC,YAAuB,MAIvBC,YAAuB,MAIvBC,QAAmB,MAInBC,WAAsB,MAItBC,aAAuB,EAIvBC,cAAwB,EAIxBC,UAAqB,MAIrBC,QAKCC,aAKAC,SAMAC,YAIAC,QAEDC,kBAAoB,KAC1BC,KAAKH,YAAYI,MAAM,EAGjBC,WAAa,KACnBF,KAAKJ,SAASK,MAAM,EAGdE,eAAiB,KACvBH,KAAKL,aAAaM,MAAM,EAGlBG,cAAgB,KACtBJ,KAAKF,QAAQG,MAAM,EAGrB,MAAAI,GACE,OACEL,KAAKP,WACHa,EAAA,OAAAC,IAAA,2CACEC,MAAO,CAAE,CAAC,4CAA4CR,KAAKN,WAAY,MAAM,cACjE,uBAEZY,EAAK,OAAAC,IAAA,2CAAAC,MAAM,gBACTF,EAAG,KAAAC,IAAA,2CAAAC,MAAM,iCAAiCC,UAAWT,KAAKf,UAC1DqB,EAAA,mBAAAC,IAAA,kDACO,cAAa,aACP,eACXG,OAAQV,KAAKN,UAAY,QAAU,UAAY,UAC/CA,QAAQ,OACRiB,KAAK,KACLC,MACA,KAAAC,QAASb,KAAKD,mBAEdO,EAAA,gBAAAC,IAAA,2CAAcO,KAAK,UAAUC,MAAM,eAAeJ,KAAK,SAI3DL,EAAK,OAAAC,IAAA,2CAAAC,MAAM,+BAA+BC,UAAWT,KAAKd,UAE1DoB,EAAK,OAAAC,IAAA,2CAAAC,MAAM,2BACTF,EAAG,KAAAC,IAAA,2CAAAC,MAAM,uCACNR,KAAKT,aAAe,EAAC,OAAMS,KAAKR,eAGnCc,EAAA,OAAAC,IAAA,4CACGP,KAAKZ,aACJkB,EAAA,cAAAC,IAAA,2CACEG,OAAQV,KAAKN,UAAY,QAAU,QAAU,UAC7CA,QAAQ,OACRiB,KAAK,KACLH,MAAM,gCACNK,QAASb,KAAKG,gBAAc,QAM/BH,KAAKX,SACJiB,EACE,cAAAC,IAAA,2CAAAG,OAAQV,KAAKN,UAAY,QAAU,QAAU,UAC7CiB,KAAK,KACLE,QAASb,KAAKE,YAAU,QAM3BF,KAAKV,YACJgB,EAAA,cAAAC,IAAA,2CACEG,OAAQV,KAAKN,UAAY,QAAU,QAAU,UAC7CiB,KAAK,KACLE,QAASb,KAAKI,eAAa,U","ignoreList":[]}
|
package/wc-lib/p-CCvUGs_1.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const e="wc-lib";const t={hydratedSelectorName:"hydrated",lazyLoad:true,shadowDom:false,slotRelocation:true,updatable:true};var n=Object.defineProperty;var r=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:true})};var i="http://www.w3.org/2000/svg";var l="http://www.w3.org/1999/xhtml";var s=(e,t)=>{var n;const r=t.t;const i=Object.entries((n=r.i)!=null?n:{});i.map((([n,[r]])=>{if(r&31||r&32){const r=e[n];const i=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),n);Object.defineProperty(e,n,{get(){return i.get.call(this)},set(e){i.set.call(this,e)},configurable:true,enumerable:true});e[n]=t.l.has(n)?t.l.get(n):r}}))};var o=e=>{if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var f=(e,t)=>{e.__stencil__getHostRef=()=>t;t.o=e;{s(e,t)}};var a=(e,t)=>{const n={u:0,$hostElement$:e,t,l:new Map};{n.v=new Promise((e=>n.h=e))}{n.p=new Promise((e=>n.m=e));e["s-p"]=[];e["s-rc"]=[]}const r=n;e.__stencil__getHostRef=()=>r;return r};var c=(e,t)=>t in e;var u=(e,t)=>(0,console.error)(e,t);var v=new Map;var d=(e,t,n)=>{const r=e.$.replace(/-/g,"_");const i=e.S;if(!i){return void 0}const l=v.get(i);if(l){return l[r]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${i}.entry.js${""}`).then((e=>{{v.set(i,e)}return e[r]}),(e=>{u(e,t.$hostElement$)}))};var h=new Map;var p="{visibility:hidden}.hydrated{visibility:inherit}";var m="slot-fb{display:contents}slot-fb[hidden]{display:none}";var y="http://www.w3.org/1999/xlink";var w=typeof window!=="undefined"?window:{};var b={u:0,j:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r),ce:(e,t)=>new CustomEvent(e,t)};var g=t.shadowDom;var $=(()=>{var e;let t=false;try{(e=w.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=true}}))}catch(e){}return t})();var S=e=>Promise.resolve(e);var j=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var O=j?(()=>!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable)():false;var k=false;var E=[];var C=[];var N=(e,t)=>n=>{e.push(n);if(!k){k=true;if(t&&b.u&4){R(M)}else{b.raf(M)}}};var x=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){u(e)}}e.length=0};var M=()=>{x(E);{x(C);if(k=E.length>0){b.raf(M)}}};var R=e=>S().then(e);var P=N(C,true);var T=e=>e!=null&&e!==void 0;var L=e=>{e=typeof e;return e==="object"||e==="function"};function D(e){var t,n,r;return(r=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?r:void 0}var F=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var U={};r(U,{err:()=>W,map:()=>_,ok:()=>A,unwrap:()=>H,unwrapErr:()=>z});var A=e=>({isOk:true,isErr:false,value:e});var W=e=>({isOk:false,isErr:true,value:e});function _(e,t){if(e.isOk){const n=t(e.value);if(n instanceof Promise){return n.then((e=>A(e)))}else{return A(n)}}if(e.isErr){const t=e.value;return W(t)}throw"should never get here"}var H=e=>{if(e.isOk){return e.value}else{throw e.value}};var z=e=>{if(e.isErr){return e.value}else{throw e.value}};var B=e=>{const t=K(e,"childNodes");if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){q(t,e.tagName).forEach((e=>{if(e.nodeType===1&&e.tagName==="SLOT-FB"){if(V(e,G(e),false).length){e.hidden=true}else{e.hidden=false}}}))}let n=0;for(n=0;n<t.length;n++){const e=t[n];if(e.nodeType===1&&K(e,"childNodes").length){B(e)}}};var I=e=>{const t=[];for(let n=0;n<e.length;n++){const r=e[n]["s-nr"]||void 0;if(r&&r.isConnected){t.push(r)}}return t};function q(e,t,n){let r=0;let i=[];let l;for(;r<e.length;r++){l=e[r];if(l["s-sr"]&&(!t||l["s-hn"]===t)&&n===void 0){i.push(l)}i=[...i,...q(l.childNodes,t,n)]}return i}var V=(e,t,n=true)=>{const r=[];if(n&&e["s-sr"]||!e["s-sr"])r.push(e);let i=e;while(i=i.nextSibling){if(G(i)===t&&(n||!i["s-sr"]))r.push(i)}return r};var Y=(e,t)=>{if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var G=e=>typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function J(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[];const r=this["s-sn"];if(e==null?void 0:e.flatten){console.error(`\n Flattening is not supported for Stencil non-shadow slots.\n You can use \`.childNodes\` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n `)}const i=this["s-cr"].parentElement;const l=i.__childNodes?i.childNodes:I(i.childNodes);l.forEach((e=>{if(r===G(e)){n.push(e)}}));if(t){return n.filter((e=>e.nodeType===1))}return n}.bind(e);e.assignedElements=t(true);e.assignedNodes=t(false)}function K(e,t){if("__"+t in e){const n=e["__"+t];if(typeof n!=="function")return n;return n.bind(e)}else{if(typeof e[t]!=="function")return e[t];return e[t].bind(e)}}var Q=(e,t="")=>{{return()=>{}}};var X=(e,t)=>{{return()=>{}}};var Z=new WeakMap;var ee=(e,t,n)=>{let r=h.get(e);if(j&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}h.set(e,r)};var te=(e,t,n)=>{var r;const i=re(t);const l=h.get(i);if(!w.document){return i}e=e.nodeType===11?e:w.document;if(l){if(typeof l==="string"){e=e.head||e;let n=Z.get(e);let s;if(!n){Z.set(e,n=new Set)}if(!n.has(i)){{s=w.document.createElement("style");s.innerHTML=l;const n=(r=b.O)!=null?r:D(w.document);if(n!=null){s.setAttribute("nonce",n)}if(!(t.u&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(n==null?void 0:n.parentNode)===e?n:null)}else if("host"in e){if(j){const t=new CSSStyleSheet;t.replaceSync(l);if(O){e.adoptedStyleSheets.unshift(t)}else{e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}}else{const t=e.querySelector("style");if(t){t.innerHTML=l+t.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(t.u&1){e.insertBefore(s,null)}}if(t.u&4){s.innerHTML+=m}if(n){n.add(i)}}}else if(!e.adoptedStyleSheets.includes(l)){if(O){e.adoptedStyleSheets.push(l)}else{e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]}}}return i};var ne=e=>{const t=e.t;const n=e.$hostElement$;const r=t.u;const i=Q("attachStyles",t.$);const l=te(n.getRootNode(),t);if(r&10){n["s-sc"]=l;n.classList.add(l+"-h")}i()};var re=(e,t)=>"sc-"+e.$;var ie=(e,t,...n)=>{let r=null;let i=null;let l=null;let s=false;let o=false;const f=[];const a=t=>{for(let n=0;n<t.length;n++){r=t[n];if(Array.isArray(r)){a(r)}else if(r!=null&&typeof r!=="boolean"){if(s=typeof e!=="function"&&!L(r)){r=String(r)}if(s&&o){f[f.length-1].k+=r}else{f.push(s?le(null,r):r)}o=s}}};a(n);if(t){if(t.key){i=t.key}if(t.name){l=t.name}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,f,fe)}const c=le(e,null);c.C=t;if(f.length>0){c.N=f}{c.M=i}{c.R=l}return c};var le=(e,t)=>{const n={u:0,P:e,k:t,T:null,N:null};{n.C=null}{n.M=null}{n.R=null}return n};var se={};var oe=e=>e&&e.P===se;var fe={forEach:(e,t)=>e.map(ae).forEach(t),map:(e,t)=>e.map(ae).map(t).map(ce)};var ae=e=>({vattrs:e.C,vchildren:e.N,vkey:e.M,vname:e.R,vtag:e.P,vtext:e.k});var ce=e=>{if(typeof e.vtag==="function"){const t={...e.vattrs};if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return ie(e.vtag,t,...e.vchildren||[])}const t=le(e.vtag,e.vtext);t.C=e.vattrs;t.N=e.vchildren;t.M=e.vkey;t.R=e.vname;return t};var ue=e=>{const t=F(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};ue("::slotted");ue(":host");ue(":host-context");var ve=(e,t,n)=>{if(typeof e==="string"&&(t&16||t&8)&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]"))){try{return JSON.parse(e)}catch(e){}}if(e!=null&&!L(e)){if(t&4){{return e==="false"?false:e===""||!!e}}if(t&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(t&1){return String(e)}return e}return e};var de=e=>{var t;return(t=o(e))==null?void 0:t.$hostElement$};var he=(e,t,n)=>{const r=de(e);return{emit:e=>pe(r,t,{bubbles:true,composed:true,cancelable:true,detail:e})}};var pe=(e,t,n)=>{const r=b.ce(t,n);e.dispatchEvent(r);return r};var me=(e,t,n,r,i,l,s)=>{if(n===r){return}let o=c(e,t);let f=t.toLowerCase();if(t==="class"){const t=e.classList;const i=we(n);let l=we(r);{t.remove(...i.filter((e=>e&&!l.includes(e))));t.add(...l.filter((e=>e&&!i.includes(e))))}}else if(t==="style"){{for(const t in n){if(!r||r[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in r){if(!n||r[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,r[t])}else{e.style[t]=r[t]}}}}else if(t==="key");else if(t==="ref"){if(r){r(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(c(w,f)){t=f.slice(2)}else{t=f[2]+t.slice(3)}if(n||r){const i=t.endsWith(be);t=t.replace(ge,"");if(n){b.rel(e,t,n,i)}if(r){b.ael(e,t,r,i)}}}else{const s=L(r);if((o||s&&r!==null)&&!i){try{if(!e.tagName.includes("-")){const i=r==null?"":r;if(t==="list"){o=false}else if(n==null||e[t]!=i){if(typeof e.__lookupSetter__(t)==="function"){e[t]=i}else{e.setAttribute(t,i)}}}else if(e[t]!==r){e[t]=r}}catch(e){}}let a=false;{if(f!==(f=f.replace(/^xlink\:?/,""))){t=f;a=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(a){e.removeAttributeNS(y,t)}else{e.removeAttribute(t)}}}else if((!o||l&4||i)&&!s&&e.nodeType===1){r=r===true?"":r;if(a){e.setAttributeNS(y,t,r)}else{e.setAttribute(t,r)}}}};var ye=/\s/;var we=e=>{if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(ye)};var be="Capture";var ge=new RegExp(be+"$");var $e=(e,t,n,r)=>{const i=t.T.nodeType===11&&t.T.host?t.T.host:t.T;const l=e&&e.C||{};const s=t.C||{};{for(const e of Se(Object.keys(l))){if(!(e in s)){me(i,e,l[e],void 0,n,t.u)}}}for(const e of Se(Object.keys(s))){me(i,e,l[e],s[e],n,t.u)}};function Se(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var je;var Oe;var ke;var Ee=false;var Ce=false;var Ne=false;var xe=false;var Me=(e,n,r)=>{var s;const o=n.N[r];let f=0;let a;let c;let u;if(!Ee){Ne=true;if(o.P==="slot"){o.u|=o.N?2:1}}if(o.k!==null){a=o.T=w.document.createTextNode(o.k)}else if(o.u&1){a=o.T=w.document.createTextNode("");{$e(null,o,xe)}}else{if(!xe){xe=o.P==="svg"}if(!w.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}a=o.T=w.document.createElementNS(xe?i:l,!Ee&&t.slotRelocation&&o.u&2?"slot-fb":o.P);if(xe&&o.P==="foreignObject"){xe=false}{$e(null,o,xe)}if(T(je)&&a["s-si"]!==je){a.classList.add(a["s-si"]=je)}if(o.N){for(f=0;f<o.N.length;++f){c=Me(e,o,f);if(c){a.appendChild(c)}}}{if(o.P==="svg"){xe=false}else if(a.tagName==="foreignObject"){xe=true}}}a["s-hn"]=ke;{if(o.u&(2|1)){a["s-sr"]=true;a["s-cr"]=Oe;a["s-sn"]=o.R||"";a["s-rf"]=(s=o.C)==null?void 0:s.ref;J(a);u=e&&e.N&&e.N[r];if(u&&u.P===o.P&&e.T){{Re(e.T,false)}}{ze(Oe,a,n.T,e==null?void 0:e.T)}}}return a};var Re=(e,t)=>{b.u|=1;const n=Array.from(e.__childNodes||e.childNodes);for(let e=n.length-1;e>=0;e--){const r=n[e];if(r["s-hn"]!==ke&&r["s-ol"]){He(Fe(r).parentNode,r,Fe(r));r["s-ol"].remove();r["s-ol"]=void 0;r["s-sh"]=void 0;Ne=true}if(t){Re(r,t)}}b.u&=-2};var Pe=(e,t,n,r,i,l)=>{let s=e["s-cr"]&&e["s-cr"].parentNode||e;let o;for(;i<=l;++i){if(r[i]){o=Me(null,n,i);if(o){r[i].T=o;He(s,o,Fe(t))}}}};var Te=(e,t,n)=>{for(let r=t;r<=n;++r){const t=e[r];if(t){const e=t.T;_e(t);if(e){{Ce=true;if(e["s-ol"]){e["s-ol"].remove()}else{Re(e,true)}}e.remove()}}}};var Le=(e,t,n,r,i=false)=>{let l=0;let s=0;let o=0;let f=0;let a=t.length-1;let c=t[0];let u=t[a];let v=r.length-1;let d=r[0];let h=r[v];let p;let m;while(l<=a&&s<=v){if(c==null){c=t[++l]}else if(u==null){u=t[--a]}else if(d==null){d=r[++s]}else if(h==null){h=r[--v]}else if(De(c,d,i)){Ue(c,d,i);c=t[++l];d=r[++s]}else if(De(u,h,i)){Ue(u,h,i);u=t[--a];h=r[--v]}else if(De(c,h,i)){if(c.P==="slot"||h.P==="slot"){Re(c.T.parentNode,false)}Ue(c,h,i);He(e,c.T,u.T.nextSibling);c=t[++l];h=r[--v]}else if(De(u,d,i)){if(c.P==="slot"||h.P==="slot"){Re(u.T.parentNode,false)}Ue(u,d,i);He(e,u.T,c.T);u=t[--a];d=r[++s]}else{o=-1;{for(f=l;f<=a;++f){if(t[f]&&t[f].M!==null&&t[f].M===d.M){o=f;break}}}if(o>=0){m=t[o];if(m.P!==d.P){p=Me(t&&t[s],n,o)}else{Ue(m,d,i);t[o]=void 0;p=m.T}d=r[++s]}else{p=Me(t&&t[s],n,s);d=r[++s]}if(p){{He(Fe(c.T).parentNode,p,Fe(c.T))}}}}if(l>a){Pe(e,r[v+1]==null?null:r[v+1].T,n,r,s,v)}else if(s>v){Te(t,l,a)}};var De=(e,t,n=false)=>{if(e.P===t.P){if(e.P==="slot"){return e.R===t.R}if(!n){return e.M===t.M}if(n&&!e.M&&t.M){e.M=t.M}return true}return false};var Fe=e=>e&&e["s-ol"]||e;var Ue=(e,n,r=false)=>{const i=n.T=e.T;const l=e.N;const s=n.N;const o=n.P;const f=n.k;let a;if(f===null){{xe=o==="svg"?true:o==="foreignObject"?false:xe}{$e(e,n,xe)}if(l!==null&&s!==null){Le(i,l,n,s,r)}else if(s!==null){if(e.k!==null){i.textContent=""}Pe(i,null,n,s,0,s.length-1)}else if(!r&&t.updatable&&l!==null){Te(l,0,l.length-1)}else;if(xe&&o==="svg"){xe=false}}else if(a=i["s-cr"]){a.parentNode.textContent=f}else if(e.k!==f){i.data=f}};var Ae=[];var We=e=>{let t;let n;let r;const i=e.__childNodes||e.childNodes;for(const e of i){if(e["s-sr"]&&(t=e["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const i=e["s-sn"];for(r=n.length-1;r>=0;r--){t=n[r];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==e["s-hn"]&&true){if(Y(t,i)){let n=Ae.find((e=>e.L===t));Ce=true;t["s-sn"]=t["s-sn"]||i;if(n){n.L["s-sh"]=e["s-hn"];n.D=e}else{t["s-sh"]=e["s-hn"];Ae.push({D:e,L:t})}if(t["s-sr"]){Ae.map((e=>{if(Y(e.L,t["s-sn"])){n=Ae.find((e=>e.L===t));if(n&&!e.D){e.D=n.D}}}))}}else if(!Ae.some((e=>e.L===t))){Ae.push({L:t})}}}}if(e.nodeType===1){We(e)}}};var _e=e=>{{e.C&&e.C.ref&&e.C.ref(null);e.N&&e.N.map(_e)}};var He=(e,t,n)=>{if(typeof t["s-sn"]==="string"&&!!t["s-sr"]&&!!t["s-cr"]){ze(t["s-cr"],t,e,t.parentElement)}{return e==null?void 0:e.insertBefore(t,n)}};function ze(e,t,n,r){var i,l;let s;if(e&&typeof t["s-sn"]==="string"&&!!t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(s=t["s-si"]||e.parentNode["s-sc"])){const e=t["s-sn"];const o=t["s-hn"];(i=n.classList)==null?void 0:i.add(s+"-s");if(r&&((l=r.classList)==null?void 0:l.contains(s+"-s"))){let t=(r.__childNodes||r.childNodes)[0];let n=false;while(t){if(t["s-sn"]!==e&&t["s-hn"]===o&&!!t["s-sr"]){n=true;break}t=t.nextSibling}if(!n)r.classList.remove(s+"-s")}}}var Be=(e,t,n=false)=>{var r,i,l,s;const o=e.$hostElement$;const f=e.t;const a=e.F||le(null,null);const c=oe(t);const u=c?t:ie(null,null,t);ke=o.tagName;if(f.U){u.C=u.C||{};f.U.map((([e,t])=>u.C[t]=o[e]))}if(n&&u.C){for(const e of Object.keys(u.C)){if(o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){u.C[e]=o[e]}}}u.P=null;u.u|=4;e.F=u;u.T=a.T=o;{je=o["s-sc"]}Ee=g;{Oe=o["s-cr"];Ce=false}Ue(a,u,n);{b.u|=1;if(Ne){We(u.T);for(const e of Ae){const t=e.L;if(!t["s-ol"]&&w.document){const e=w.document.createTextNode("");e["s-nr"]=t;He(t.parentNode,t["s-ol"]=e,t)}}for(const e of Ae){const t=e.L;const o=e.D;if(o){const e=o.parentNode;let n=o.nextSibling;{let l=(r=t["s-ol"])==null?void 0:r.previousSibling;while(l){let r=(i=l["s-nr"])!=null?i:null;if(r&&r["s-sn"]===t["s-sn"]&&e===(r.__parentNode||r.parentNode)){r=r.nextSibling;while(r===t||(r==null?void 0:r["s-sr"])){r=r==null?void 0:r.nextSibling}if(!r||!r["s-nr"]){n=r;break}}l=l.previousSibling}}const s=t.__parentNode||t.parentNode;const f=t.__nextSibling||t.nextSibling;if(!n&&e!==s||f!==n){if(t!==n){if(!t["s-hn"]&&t["s-ol"]){t["s-hn"]=t["s-ol"].parentNode.nodeName}He(e,t,n);if(t.nodeType===1&&t.tagName!=="SLOT-FB"){t.hidden=(l=t["s-ih"])!=null?l:false}}}t&&typeof o["s-rf"]==="function"&&o["s-rf"](o)}else{if(t.nodeType===1){if(n){t["s-ih"]=(s=t.hidden)!=null?s:false}t.hidden=true}}}}if(Ce){B(u.T)}b.u&=-2;Ae.length=0}Oe=void 0};var Ie=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((r=>e.A=()=>{t["s-p"].splice(n-1,1);r()})))}};var qe=(e,t)=>{{e.u|=16}if(e.u&4){e.u|=512;return}Ie(e,e.W);const n=()=>Ve(e,t);if(t){queueMicrotask((()=>{n()}));return}return P(n)};var Ve=(e,t)=>{const n=e.$hostElement$;const r=Q("scheduleUpdate",e.t.$);const i=e.o;if(!i){throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let l;if(t){{e.u|=256;if(e._){e._.map((([e,t])=>nt(i,e,t,n)));e._=void 0}}l=nt(i,"componentWillLoad",void 0,n)}else{l=nt(i,"componentWillUpdate",void 0,n)}l=Ye(l,(()=>nt(i,"componentWillRender",void 0,n)));r();return Ye(l,(()=>Je(e,i,t)))};var Ye=(e,t)=>Ge(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var Je=async(e,t,n)=>{var r;const i=e.$hostElement$;const l=Q("update",e.t.$);const s=i["s-rc"];if(n){ne(e)}const o=Q("render",e.t.$);{Qe(e,t,i,n)}if(s){s.map((e=>e()));i["s-rc"]=void 0}o();l();{const t=(r=i["s-p"])!=null?r:[];const n=()=>Ze(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.u|=4;t.length=0}}};var Ke=null;var Qe=(e,t,n,r)=>{try{Ke=t;t=t.render();{e.u&=-17}{e.u|=2}{{{Be(e,t,r)}}}}catch(t){u(t,e.$hostElement$)}Ke=null;return null};var Xe=()=>Ke;var Ze=e=>{const t=e.t.$;const n=e.$hostElement$;const r=Q("postUpdate",t);const i=e.o;const l=e.W;nt(i,"componentDidRender",void 0,n);if(!(e.u&64)){e.u|=64;{rt(n)}nt(i,"componentDidLoad",void 0,n);r();{e.m(n);if(!l){tt()}}}else{nt(i,"componentDidUpdate",void 0,n);r()}{e.h(n)}{if(e.A){e.A();e.A=void 0}if(e.u&512){R((()=>qe(e,false)))}e.u&=-517}};var et=e=>{var t;{const n=o(e);const r=(t=n==null?void 0:n.$hostElement$)==null?void 0:t.isConnected;if(r&&(n.u&(2|16))===2){qe(n,false)}return r}};var tt=t=>{R((()=>pe(w,"appload",{detail:{namespace:e}})))};var nt=(e,t,n,r)=>{if(e&&e[t]){try{return e[t](n)}catch(e){u(e,r)}}return void 0};var rt=e=>{var n;return e.classList.add((n=t.hydratedSelectorName)!=null?n:"hydrated")};var it=(e,t)=>o(e).l.get(t);var lt=(e,t,n,r)=>{const i=o(e);if(!i){return}if(!i){throw new Error(`Couldn't find host element for "${r.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`)}const l=i.$hostElement$;const s=i.l.get(t);const f=i.u;const a=i.o;n=ve(n,r.i[t][0]);const c=Number.isNaN(s)&&Number.isNaN(n);const v=n!==s&&!c;if((!(f&8)||s===void 0)&&v){i.l.set(t,n);if(a){if(r.H&&f&128){const e=r.H[t];if(e){e.map((e=>{try{a[e](n,s,t)}catch(e){u(e,l)}}))}}if((f&(2|16))===2){if(a.componentShouldUpdate){if(a.componentShouldUpdate(n,s,t)===false){return}}qe(i,false)}}}};var st=(e,n,r)=>{var i,l;const s=e.prototype;if(n.i||(n.H||e.watchers)){if(e.watchers&&!n.H){n.H=e.watchers}const f=Object.entries((i=n.i)!=null?i:{});f.map((([e,[t]])=>{if(t&31||r&2&&t&32){const{get:i,set:l}=Object.getOwnPropertyDescriptor(s,e)||{};if(i)n.i[e][0]|=2048;if(l)n.i[e][0]|=4096;if(r&1||!i){Object.defineProperty(s,e,{get(){{if((n.i[e][0]&2048)===0){return it(this,e)}const t=o(this);const r=t?t.o:s;if(!r)return;return r[e]}},configurable:true,enumerable:true})}Object.defineProperty(s,e,{set(i){const s=o(this);if(!s){return}if(l){const r=t&32?this[e]:s.$hostElement$[e];if(typeof r==="undefined"&&s.l.get(e)){i=s.l.get(e)}else if(!s.l.get(e)&&r){s.l.set(e,r)}l.apply(this,[ve(i,t)]);i=t&32?this[e]:s.$hostElement$[e];lt(this,e,i,n);return}{if((r&1)===0||(n.i[e][0]&4096)===0){lt(this,e,i,n);if(r&1&&!s.o){s.p.then((()=>{if(n.i[e][0]&4096&&s.o[e]!==s.l.get(e)){s.o[e]=i}}))}return}const l=()=>{const r=s.o[e];if(!s.l.get(e)&&r){s.l.set(e,r)}s.o[e]=ve(i,t);lt(this,e,s.o[e],n)};if(s.o){l()}else{s.p.then((()=>l()))}}}})}else if(r&1&&t&64){Object.defineProperty(s,e,{value(...t){var n;const r=o(this);return(n=r==null?void 0:r.v)==null?void 0:n.then((()=>{var n;return(n=r.o)==null?void 0:n[e](...t)}))}})}}));if(r&1){const r=new Map;s.attributeChangedCallback=function(e,i,l){b.jmp((()=>{var f;const a=r.get(e);if(this.hasOwnProperty(a)&&t.lazyLoad){l=this[a];delete this[a]}else if(s.hasOwnProperty(a)&&typeof this[a]==="number"&&this[a]==l){return}else if(a==null){const t=o(this);const r=t==null?void 0:t.u;if(t&&r&&!(r&8)&&r&128&&l!==i){const r=t.o;const s=(f=n.H)==null?void 0:f[e];s==null?void 0:s.forEach((t=>{if(r[t]!=null){r[t].call(r,l,i,e)}}))}return}const c=Object.getOwnPropertyDescriptor(s,a);l=l===null&&typeof this[a]==="boolean"?false:l;if(l!==this[a]&&(!c.get||!!c.set)){this[a]=l}}))};e.observedAttributes=Array.from(new Set([...Object.keys((l=n.H)!=null?l:{}),...f.filter((([e,t])=>t[0]&15)).map((([e,t])=>{var i;const l=t[1]||e;r.set(l,e);if(t[0]&512){(i=n.U)==null?void 0:i.push([e,l])}return l}))]))}}return e};var ot=async(e,t,n,r)=>{let i;if((t.u&32)===0){t.u|=32;const r=n.S;if(r){const r=d(n,t);if(r&&"then"in r){const e=X();i=await r;e()}else{i=r}if(!i){throw new Error(`Constructor for "${n.$}#${t.B}" was not found`)}if(!i.isProxied){{n.H=i.watchers}st(i,n,2);i.isProxied=true}const l=Q("createInstance",n.$);{t.u|=8}try{new i(t)}catch(t){u(t,e)}{t.u&=-9}{t.u|=128}l();ft(t.o,e)}else{i=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.u|=128))}if(i&&i.style){let e;if(typeof i.style==="string"){e=i.style}const t=re(n);if(!h.has(t)){const r=Q("registerStyles",n.$);ee(t,e,!!(n.u&1));r()}}}const l=t.W;const s=()=>qe(t,true);if(l&&l["s-rc"]){l["s-rc"].push(s)}else{s()}};var ft=(e,t)=>{{nt(e,"connectedCallback",void 0,t)}};var at=e=>{if((b.u&1)===0){const t=o(e);if(!t){return}const n=t.t;const r=Q("connectedCallback",n.$);if(!(t.u&1)){t.u|=1;{if(n.u&(4|8)){ct(e)}}{let n=e;while(n=n.parentNode||n.host){if(n["s-p"]){Ie(t,t.W=n);break}}}if(n.i){Object.entries(n.i).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{ot(e,t,n)}}else{ht(e,t,n.I);if(t==null?void 0:t.o){ft(t.o,e)}else if(t==null?void 0:t.p){t.p.then((()=>ft(t.o,e)))}}r()}};var ct=e=>{if(!w.document){return}const t=e["s-cr"]=w.document.createComment("");t["s-cn"]=true;He(e,t,e.firstChild)};var ut=(e,t)=>{{nt(e,"disconnectedCallback",void 0,t||e)}};var vt=async e=>{if((b.u&1)===0){const t=o(e);{if(t==null?void 0:t.q){t.q.map((e=>e()));t.q=void 0}}if(t==null?void 0:t.o){ut(t.o,e)}else if(t==null?void 0:t.p){t.p.then((()=>ut(t.o,e)))}}if(Z.has(e)){Z.delete(e)}if(e.shadowRoot&&Z.has(e.shadowRoot)){Z.delete(e.shadowRoot)}};var dt=(e,t={})=>{var n;if(!w.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}const r=Q();const i=[];const l=t.exclude||[];const s=w.customElements;const f=w.document.head;const c=f.querySelector("meta[charset]");const u=w.document.createElement("style");const v=[];let d;let h=true;Object.assign(b,t);b.j=new URL(t.resourcesUrl||"./",w.document.baseURI).href;let y=false;e.map((e=>{e[1].map((t=>{var n;const r={u:t[0],$:t[1],i:t[2],I:t[3]};if(r.u&4){y=true}{r.i=t[2]}{r.I=t[3]}{r.U=[]}{r.H=(n=t[4])!=null?n:{}}const f=r.$;const c=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;a(e,r)}connectedCallback(){const e=o(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;ht(this,e,r.I)}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{b.jmp((()=>at(this)))}}disconnectedCallback(){b.jmp((()=>vt(this)));b.raf((()=>{var e;const t=o(this);if(!t){return}const n=v.findIndex((e=>e===this));if(n>-1){v.splice(n,1)}if(((e=t==null?void 0:t.F)==null?void 0:e.T)instanceof Node&&!t.F.T.isConnected){delete t.F.T}}))}componentOnReady(){var e;return(e=o(this))==null?void 0:e.p}};r.S=e[0];if(!l.includes(f)&&!s.get(f)){i.push(f);s.define(f,st(c,r,1))}}))}));if(i.length>0){if(y){u.textContent+=m}{u.textContent+=i.sort()+p}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(n=b.O)!=null?n:D(w.document);if(e!=null){u.setAttribute("nonce",e)}f.insertBefore(u,c?c.nextSibling:f.firstChild)}}h=false;if(v.length){v.map((e=>e.connectedCallback()))}else{{b.jmp((()=>d=setTimeout(tt,30)))}}r()};var ht=(e,t,n,r)=>{if(n&&w.document){n.map((([n,r,i])=>{const l=mt(w.document,e,n);const s=pt(t,i);const o=yt(n);b.ael(l,r,s,o);(t.q=t.q||[]).push((()=>b.rel(l,r,s,o)))}))}};var pt=(e,t)=>n=>{var r;try{{if(e.u&256){(r=e.o)==null?void 0:r[t](n)}else{(e._=e._||[]).push([t,n])}}}catch(t){u(t,e.$hostElement$)}};var mt=(e,t,n)=>{if(n&4){return e}if(n&8){return w}return t};var yt=e=>$?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var wt=e=>b.O=e;export{se as H,Xe as a,dt as b,he as c,et as f,de as g,ie as h,S as p,f as r,wt as s};
|
|
3
|
-
//# sourceMappingURL=p-CCvUGs_1.js.map
|