@shrfe/assets 1.0.72 → 1.0.73-staging.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{p as e,B as t,c as a,w as i,N as o,a as d,g as l,b as n}from"./p-BoRgucbk.js";export{s as setNonce}from"./p-BoRgucbk.js";var r=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const s=t.call(this,!1),a=this.childNodes;if(e)for(let e=0;e<a.length;e++)2!==a[e].nodeType&&s.appendChild(a[e].cloneNode(!0));return s}};(()=>{t.isDev&&!t.isTesting&&a("Running in development mode."),t.cloneNodeFix&&r(d.prototype);const s=t.scriptDataOpts?i.document&&Array.from(i.document.querySelectorAll("script")).find((e=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===o)):null,l=import.meta.url,n=t.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await l(),n(JSON.parse('[["p-5f7b777d",[[514,"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],"testId":[1,"test-id"],"files":[32],"selectedFileIndex":[32]}]]],["p-2e791a55",[[772,"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"],"testId":[513,"test-id"],"areLinksVisible":[32],"isSearchVisible":[32],"searchQuery":[32]},[[0,"change","handleInputEventChange"]],{"isSearchVisible":[{"searchVisibleChangeHandler":0}]}]]],["p-ead33561",[[512,"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],"testId":[513,"test-id"],"instance":[32],"currentIndex":[32]},null,{"startTour":[{"startTourHandler":0}]}]]],["p-c6a60e55",[[514,"swc-toast",{"type":[1025],"position":[1025],"_title":[1025],"message":[1025],"timeout":[1026],"showTitle":[1028,"show-title"],"dismissible":[1028],"isVisible":[1028,"is-visible"],"testId":[513,"test-id"],"timeoutId":[1040],"showToast":[64],"reset":[64]}]]],["p-3eec282c",[[514,"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-4173382e",[[774,"swc-checkbox-group",{"options":[16],"direction":[1],"value":[1040],"testId":[513,"test-id"]},[[0,"checkboxChange","checkboxChangeHandler"]],{"value":[{"valueChangeHandler":0}]}]]],["p-31519e7f",[[774,"swc-side-panel",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"size":[1],"position":[1],"testId":[1,"test-id"]}]]],["p-7313607b",[[774,"swc-banner",{"variant":[1],"showTitleIcon":[4,"show-title-icon"],"dismissible":[4],"testId":[513,"test-id"],"titleId":[32],"bodyId":[32]}]]],["p-af56e6b9",[[774,"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"],"testId":[513,"test-id"],"computedStatus":[32]}]]],["p-6c03fed1",[[514,"swc-tags-input",{"value":[16],"max":[2],"placeholder":[1],"disabled":[4],"hasError":[4,"has-error"],"testId":[513,"test-id"],"newTag":[32],"isFocused":[32],"focusedTagIndex":[32],"tags":[32]},null,{"value":[{"valueChangeHandler":0}],"tags":[{"tagsChangeHandler":0}]}]]],["p-9012cefb",[[514,"swc-radio-input",{"value":[513],"selectedValue":[513,"selected-value"],"disabled":[516],"error":[516],"checked":[516],"label":[1],"testId":[513,"test-id"]}]]],["p-f9397a52",[[514,"swc-skeleton",{"round":[4],"size":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"],"testId":[513,"test-id"]}]]],["p-8b4ed5bd",[[774,"swc-stepper",{"orientation":[1],"activeIndex":[2,"active-index"],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"testId":[513,"test-id"],"stepItemIds":[32]}]]],["p-6c47c21d",[[772,"swc-table-footer",{"testId":[513,"test-id"]}]]],["p-2323d9ea",[[514,"app-playground",{"isCollapsed":[32],"isModalOpen":[32],"showPopoverModal":[32],"selectedOption":[32],"startDate":[32],"endDate":[32],"on":[32]}],[512,"swc-sidebar-test",{"isSidebarCollapsed":[32],"module":[32],"activeRoute":[32],"userDetails":[32],"modules":[32],"resourcesLinks":[32],"guideLinks":[32]}],[514,"swc-pagination-test",{"meta":[32]}],[774,"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"],"testId":[1,"test-id"],"derivedOptions":[32],"shouldGroupSelections":[32],"searchQueryVal":[32]},null,{"searchQueryVal":[{"searchQueryHandler":0}]}],[774,"swc-breadcrumb-dropdown",{"testId":[1,"test-id"]}],[772,"swc-table-head",{"label":[1],"sortable":[4],"isActive":[4,"is-active"],"testId":[513,"test-id"],"state":[32]},null,{"isActive":[{"isActiveWatchHandler":0}]}],[774,"swc-dialog",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"initialFocusRef":[16],"size":[1],"width":[1],"hasCloseIcon":[4,"has-close-icon"],"animation":[1],"bgColor":[1,"bg-color"],"testId":[1,"test-id"],"headerId":[32]}],[774,"swc-accordion-item",{"value":[1],"testId":[1,"test-id"],"defaultValue":[1,"default-value"],"AccordionHeaderClass":[513,"accordion-header-class"],"AllowMultiple":[516,"allow-multiple"],"variant":[513],"ActiveIdsProp":[16],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"reloadComp":[32]}],[514,"swc-avatar-group",{"size":[1],"testId":[1,"test-id"],"shape":[1],"avatarGroupItems":[16]}],[514,"swc-date-picker",{"value":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disabled":[4],"mode":[1],"enableTime":[4,"enable-time"],"dateFormat":[1,"date-format"],"testId":[1,"test-id"]},null,{"value":[{"watchValue":0}]}],[772,"swc-navigation-menu-trigger",{"testId":[513,"test-id"],"hover":[32]}],[774,"swc-accordion",{"variant":[513],"testId":[1,"test-id"],"allowMultiple":[516,"allow-multiple"],"defaultValue":[1,"default-value"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"activeIds":[32]}],[774,"swc-badge",{"variant":[1],"testId":[513,"test-id"],"intent":[1],"size":[1],"isCounter":[4,"is-counter"],"badgeClasses":[32]},null,{"variant":[{"watchProps":0}],"intent":[{"watchProps":0}],"size":[{"watchProps":0}],"isCounter":[{"watchProps":0}]}],[774,"swc-breadcrumb",{"separator":[513],"testId":[1,"test-id"]}],[774,"swc-breadcrumb-item",{"isCurrentPage":[516,"is-current-page"],"separator":[1],"testId":[1,"test-id"]}],[512,"swc-circular-progress",{"value":[2],"color":[1],"showValue":[4,"show-value"],"max":[2],"size":[1],"testId":[513,"test-id"],"progression":[32]},null,{"value":[{"animateProgression":0}]}],[772,"swc-clickable",{"as":[1],"disabled":[4],"testId":[513,"test-id"]}],[774,"swc-divider",{"orientation":[1],"testId":[513,"test-id"],"hasContent":[32]}],[772,"swc-navigation-menu",{"testId":[513,"test-id"]}],[772,"swc-navigation-menu-item",{"position":[1],"showArrow":[4,"show-arrow"],"testId":[513,"test-id"]}],[772,"swc-popover",{"showArrow":[4,"show-arrow"],"showPopoverModal":[4,"show-popover-modal"],"showContent":[4,"show-content"],"position":[1],"width":[1],"testId":[513,"test-id"],"shouldHide":[32]},[[8,"keydown","handleEscape"]],{"showPopoverModal":[{"handleShowPopover":0}]}],[774,"swc-status-badge",{"variant":[1],"intent":[1],"testId":[513,"test-id"]},null,{"variant":[{"validateVariant":0}],"intent":[{"validateIntent":0}]}],[774,"swc-tab-content",{"value":[1],"activeTab":[1,"active-tab"],"idProp":[513,"id"],"tabTriggerIds":[16],"testId":[513,"test-id"]}],[774,"swc-tab-list",{"orientation":[1],"variant":[1],"testId":[513,"test-id"]}],[774,"swc-tab-trigger",{"value":[1],"disabled":[4],"activeTab":[1,"active-tab"],"orientation":[1],"variant":[1],"size":[1],"idProp":[513,"id"],"tabContentIds":[16],"tabClass":[1,"tab-class"],"testId":[513,"test-id"]}],[772,"swc-table",{"rounded":[4],"maxHeight":[1,"max-height"],"testId":[513,"test-id"],"hasStickyHeader":[4,"has-sticky-header"]}],[772,"swc-table-body",{"testId":[513,"test-id"]}],[772,"swc-table-cell",{"testId":[513,"test-id"]}],[772,"swc-table-header",{"hasStickyHeader":[4,"has-sticky-header"],"testId":[513,"test-id"]}],[772,"swc-table-row",{"testId":[513,"test-id"]}],[774,"swc-tabs",{"defaultTab":[1,"default-tab"],"variant":[1],"orientation":[1],"testId":[513,"test-id"],"size":[1],"activeTab":[32],"tabTriggerIds":[32],"tabContentIds":[32],"tabClass":[32]},[[0,"updateActiveTab","handleUpdateActiveTab"]],{"defaultTab":[{"handleDefaultTab":0}]}],[514,"swc-textarea",{"variant":[1],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleChange":[16],"placeholder":[1],"maxLength":[2,"max-length"],"testId":[513,"test-id"]}],[514,"swc-pagination",{"meta":[8],"limits":[16],"maxLimit":[2,"max-limit"],"isSolid":[4,"is-solid"],"type":[1],"testId":[1,"test-id"],"metaClone":[32],"firstPage":[32],"isPerPageFromDB":[32],"defaultPerPage":[32],"isCurrentPageSetFromInput":[32]},null,{"meta":[{"handleMetaChange":0}]}],[774,"swc-multi-select",{"selectedOptions":[16],"originalOptions":[16],"filteredOptions":[16],"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"],"testId":[1,"test-id"],"isAllSelected":[32],"shouldGroupSelections":[32],"isOpen":[32]},null,{"isAllSelected":[{"isAllSelectedHandler":0}],"shouldGroupSelections":[{"groupSelectionHandler":0}],"selectedOptions":[{"selectedOptionsHandler":0}]}],[514,"swc-sidebar-header",{"module":[1],"modulesList":[16],"canSwitchModules":[4,"can-switch-modules"],"testId":[1,"test-id"],"isCurrentModule":[64]}],[774,"swc-single-select",{"selectedOption":[16],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[1],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"isOpen":[32]},[[0,"closeDropdown","closeDropdownMenu"]]],[774,"swc-sidebar-footer",{"userDetails":[16],"testId":[1,"test-id"],"viewingMoreOptions":[32]}],[774,"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"]]],[774,"swc-sidebar",{"top":[1],"testId":[1,"test-id"]},null,{"top":[{"topChanged":0}]}],[774,"swc-sidebar-body",{"testId":[1,"test-id"]}],[514,"swc-pagination-button-list",{"currentPage":[2,"current-page"],"numberOfPages":[2,"number-of-pages"],"lastPage":[2,"last-page"],"maxButtonCount":[32],"buttonsBeforeEllipsis":[32],"buttonsAfterEllipsis":[32]}],[514,"swc-pagination-input",{"value":[1],"dropdownValues":[16]}],[514,"swc-switch",{"disabled":[516],"checked":[1540],"color":[1],"label":[1],"testId":[513,"test-id"]}],[774,"swc-modal-root",{"isModalOpen":[4,"is-modal-open"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEsc":[4,"close-on-esc"],"initialFocusRef":[16]},null,{"isModalOpen":[{"handleOpenChange":0}]}],[772,"swc-tooltip",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"width":[1],"interactive":[4],"variant":[1],"position":[1],"testId":[513,"test-id"],"tooltipId":[32],"visible":[32]}],[514,"swc-option",{"disabled":[516],"value":[520],"label":[513],"SelectedOptions":[16],"testId":[1,"test-id"]}],[514,"swc-pagination-button",{"number":[2],"currentPage":[2,"current-page"]}],[514,"swc-avatar",{"src":[513],"testId":[513,"test-id"],"alt":[513],"size":[513],"status":[513],"initials":[1],"shape":[1],"hasImageLoaded":[32]}],[514,"swc-progress",{"value":[1026],"max":[2],"color":[1],"showValue":[4,"show-value"],"testId":[513,"test-id"]},null,{"value":[{"validateValue":0}]}],[774,"swc-label",{"required":[4],"disabled":[4],"size":[1],"emphasis":[1],"captionPlacement":[1,"caption-placement"],"showLabelIcon":[4,"show-label-icon"],"testId":[513,"test-id"],"for":[1]}],[774,"swc-dropdown-trigger",{"width":[1],"size":[513],"showDropdownIcon":[516,"show-dropdown-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[772,"swc-dropdown",{"isSubMenu":[516,"is-sub-menu"],"position":[520],"flip":[516],"testId":[1,"test-id"],"isExpanded":[32]},null,{"isExpanded":[{"isExpandedHandler":0}]}],[774,"swc-list",{"width":[1],"selection":[16],"options":[16],"searchable":[516],"placeholder":[513],"loading":[516],"maxHeight":[513,"max-height"],"customClass":[513,"custom-class"],"testId":[1,"test-id"],"hoveredItem":[32],"searchQueryValue":[32]}],[514,"swc-loader",{"size":[1],"testId":[513,"test-id"]}],[774,"swc-icon-button",{"disabled":[4],"size":[1],"intent":[1],"variant":[1],"arialLabel":[1,"arial-label"],"round":[4],"testId":[1,"test-id"]}],[774,"swc-input",{"variant":[1],"clearable":[4],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleInputChange":[16],"placeholder":[1],"type":[1],"maxLength":[2,"max-length"],"testId":[513,"test-id"]}],[774,"swc-list-item",{"selected":[4],"disabled":[4],"hideOnClick":[4,"hide-on-click"],"testId":[1,"test-id"]}],[774,"swc-button",{"intent":[513],"variant":[513],"size":[513],"width":[1],"disabled":[4],"type":[513],"round":[4],"isIcon":[4,"is-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[514,"swc-svg-icon",{"name":[513],"variant":[513],"size":[513],"color":[513],"opacity":[513],"testId":[513,"test-id"],"titleProp":[513,"title"]}]]],["p-675661f0",[[514,"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],"testId":[513,"test-id"]}]]],["p-2c4876fa",[[514,"swc-checkbox",{"value":[513],"checked":[1540],"error":[4],"disabled":[516],"falseValue":[513,"false-value"],"label":[513],"isIndeterminate":[4,"is-indeterminate"],"testId":[513,"test-id"]}]]],["p-7724ee26",[[774,"swc-tag",{"instanceId":[2,"instance-id"],"dismissible":[4],"testId":[513,"test-id"]}]]],["p-5b910af3",[[514,"swc-multiple-file",{"fileInfo":[16],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}],[514,"swc-single-file",{"fileInfo":[16],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}]]]]'),e))));
1
+ import{p as e,B as t,c as a,w as i,N as o,a as d,g as l,b as n}from"./p-BoRgucbk.js";export{s as setNonce}from"./p-BoRgucbk.js";var r=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const s=t.call(this,!1),a=this.childNodes;if(e)for(let e=0;e<a.length;e++)2!==a[e].nodeType&&s.appendChild(a[e].cloneNode(!0));return s}};(()=>{t.isDev&&!t.isTesting&&a("Running in development mode."),t.cloneNodeFix&&r(d.prototype);const s=t.scriptDataOpts?i.document&&Array.from(i.document.querySelectorAll("script")).find((e=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===o)):null,l=import.meta.url,n=t.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await l(),n(JSON.parse('[["p-174301fb",[[514,"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],"testId":[1,"test-id"],"files":[32],"selectedFileIndex":[32]}]]],["p-2e791a55",[[772,"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"],"testId":[513,"test-id"],"areLinksVisible":[32],"isSearchVisible":[32],"searchQuery":[32]},[[0,"change","handleInputEventChange"]],{"isSearchVisible":[{"searchVisibleChangeHandler":0}]}]]],["p-ead33561",[[512,"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],"testId":[513,"test-id"],"instance":[32],"currentIndex":[32]},null,{"startTour":[{"startTourHandler":0}]}]]],["p-c6a60e55",[[514,"swc-toast",{"type":[1025],"position":[1025],"_title":[1025],"message":[1025],"timeout":[1026],"showTitle":[1028,"show-title"],"dismissible":[1028],"isVisible":[1028,"is-visible"],"testId":[513,"test-id"],"timeoutId":[1040],"showToast":[64],"reset":[64]}]]],["p-3eec282c",[[514,"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-4173382e",[[774,"swc-checkbox-group",{"options":[16],"direction":[1],"value":[1040],"testId":[513,"test-id"]},[[0,"checkboxChange","checkboxChangeHandler"]],{"value":[{"valueChangeHandler":0}]}]]],["p-31519e7f",[[774,"swc-side-panel",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"size":[1],"position":[1],"testId":[1,"test-id"]}]]],["p-7313607b",[[774,"swc-banner",{"variant":[1],"showTitleIcon":[4,"show-title-icon"],"dismissible":[4],"testId":[513,"test-id"],"titleId":[32],"bodyId":[32]}]]],["p-af56e6b9",[[774,"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"],"testId":[513,"test-id"],"computedStatus":[32]}]]],["p-6c03fed1",[[514,"swc-tags-input",{"value":[16],"max":[2],"placeholder":[1],"disabled":[4],"hasError":[4,"has-error"],"testId":[513,"test-id"],"newTag":[32],"isFocused":[32],"focusedTagIndex":[32],"tags":[32]},null,{"value":[{"valueChangeHandler":0}],"tags":[{"tagsChangeHandler":0}]}]]],["p-9012cefb",[[514,"swc-radio-input",{"value":[513],"selectedValue":[513,"selected-value"],"disabled":[516],"error":[516],"checked":[516],"label":[1],"testId":[513,"test-id"]}]]],["p-f9397a52",[[514,"swc-skeleton",{"round":[4],"size":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"],"testId":[513,"test-id"]}]]],["p-8b4ed5bd",[[774,"swc-stepper",{"orientation":[1],"activeIndex":[2,"active-index"],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"testId":[513,"test-id"],"stepItemIds":[32]}]]],["p-6c47c21d",[[772,"swc-table-footer",{"testId":[513,"test-id"]}]]],["p-3e4a8ef5",[[514,"app-playground",{"isCollapsed":[32],"isModalOpen":[32],"showPopoverModal":[32],"selectedOption":[32],"startDate":[32],"endDate":[32],"on":[32]}],[512,"swc-sidebar-test",{"isSidebarCollapsed":[32],"module":[32],"activeRoute":[32],"userDetails":[32],"modules":[32],"resourcesLinks":[32],"guideLinks":[32]}],[514,"swc-pagination-test",{"meta":[32]}],[774,"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"],"testId":[1,"test-id"],"derivedOptions":[32],"shouldGroupSelections":[32],"searchQueryVal":[32]},null,{"searchQueryVal":[{"searchQueryHandler":0}]}],[774,"swc-breadcrumb-dropdown",{"testId":[1,"test-id"]}],[772,"swc-table-head",{"label":[1],"sortable":[4],"isActive":[4,"is-active"],"testId":[513,"test-id"],"state":[32]},null,{"isActive":[{"isActiveWatchHandler":0}]}],[774,"swc-dialog",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"initialFocusRef":[16],"size":[1],"width":[1],"hasCloseIcon":[4,"has-close-icon"],"animation":[1],"bgColor":[1,"bg-color"],"testId":[1,"test-id"],"headerId":[32]}],[774,"swc-accordion-item",{"value":[1],"testId":[1,"test-id"],"defaultValue":[1,"default-value"],"AccordionHeaderClass":[513,"accordion-header-class"],"AllowMultiple":[516,"allow-multiple"],"variant":[513],"ActiveIdsProp":[16],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"reloadComp":[32]}],[514,"swc-avatar-group",{"size":[1],"testId":[1,"test-id"],"shape":[1],"avatarGroupItems":[16]}],[514,"swc-date-picker",{"value":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disabled":[4],"mode":[1],"enableTime":[4,"enable-time"],"dateFormat":[1,"date-format"],"testId":[1,"test-id"]},null,{"value":[{"watchValue":0}]}],[772,"swc-navigation-menu-trigger",{"testId":[513,"test-id"],"hover":[32]}],[774,"swc-accordion",{"variant":[513],"testId":[1,"test-id"],"allowMultiple":[516,"allow-multiple"],"defaultValue":[1,"default-value"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"activeIds":[32]}],[774,"swc-badge",{"variant":[1],"testId":[513,"test-id"],"intent":[1],"size":[1],"isCounter":[4,"is-counter"],"badgeClasses":[32]},null,{"variant":[{"watchProps":0}],"intent":[{"watchProps":0}],"size":[{"watchProps":0}],"isCounter":[{"watchProps":0}]}],[774,"swc-breadcrumb",{"separator":[513],"testId":[1,"test-id"]}],[774,"swc-breadcrumb-item",{"isCurrentPage":[516,"is-current-page"],"separator":[1],"testId":[1,"test-id"]}],[512,"swc-circular-progress",{"value":[2],"color":[1],"showValue":[4,"show-value"],"max":[2],"size":[1],"testId":[513,"test-id"],"progression":[32]},null,{"value":[{"animateProgression":0}]}],[772,"swc-clickable",{"as":[1],"disabled":[4],"testId":[513,"test-id"]}],[774,"swc-divider",{"orientation":[1],"testId":[513,"test-id"],"hasContent":[32]}],[772,"swc-navigation-menu",{"testId":[513,"test-id"]}],[772,"swc-navigation-menu-item",{"position":[1],"showArrow":[4,"show-arrow"],"testId":[513,"test-id"]}],[772,"swc-popover",{"showArrow":[4,"show-arrow"],"showPopoverModal":[4,"show-popover-modal"],"showContent":[4,"show-content"],"position":[1],"width":[1],"testId":[513,"test-id"],"shouldHide":[32]},[[8,"keydown","handleEscape"]],{"showPopoverModal":[{"handleShowPopover":0}]}],[774,"swc-status-badge",{"variant":[1],"intent":[1],"testId":[513,"test-id"]},null,{"variant":[{"validateVariant":0}],"intent":[{"validateIntent":0}]}],[774,"swc-tab-content",{"value":[1],"activeTab":[1,"active-tab"],"idProp":[513,"id"],"tabTriggerIds":[16],"testId":[513,"test-id"]}],[774,"swc-tab-list",{"orientation":[1],"variant":[1],"testId":[513,"test-id"]}],[774,"swc-tab-trigger",{"value":[1],"disabled":[4],"activeTab":[1,"active-tab"],"orientation":[1],"variant":[1],"size":[1],"idProp":[513,"id"],"tabContentIds":[16],"tabClass":[1,"tab-class"],"testId":[513,"test-id"]}],[772,"swc-table",{"rounded":[4],"maxHeight":[1,"max-height"],"testId":[513,"test-id"],"hasStickyHeader":[4,"has-sticky-header"]}],[772,"swc-table-body",{"testId":[513,"test-id"]}],[772,"swc-table-cell",{"testId":[513,"test-id"]}],[772,"swc-table-header",{"hasStickyHeader":[4,"has-sticky-header"],"testId":[513,"test-id"]}],[772,"swc-table-row",{"testId":[513,"test-id"]}],[774,"swc-tabs",{"defaultTab":[1,"default-tab"],"variant":[1],"orientation":[1],"testId":[513,"test-id"],"size":[1],"activeTab":[32],"tabTriggerIds":[32],"tabContentIds":[32],"tabClass":[32]},[[0,"updateActiveTab","handleUpdateActiveTab"]],{"defaultTab":[{"handleDefaultTab":0}]}],[514,"swc-textarea",{"variant":[1],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleChange":[16],"placeholder":[1],"maxLength":[2,"max-length"],"testId":[513,"test-id"]}],[514,"swc-pagination",{"meta":[8],"limits":[16],"maxLimit":[2,"max-limit"],"isSolid":[4,"is-solid"],"type":[1],"testId":[1,"test-id"],"metaClone":[32],"firstPage":[32],"isPerPageFromDB":[32],"defaultPerPage":[32],"isCurrentPageSetFromInput":[32]},null,{"meta":[{"handleMetaChange":0}]}],[774,"swc-multi-select",{"selectedOptions":[16],"originalOptions":[16],"filteredOptions":[16],"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"],"testId":[1,"test-id"],"isAllSelected":[32],"shouldGroupSelections":[32],"isOpen":[32]},null,{"isAllSelected":[{"isAllSelectedHandler":0}],"shouldGroupSelections":[{"groupSelectionHandler":0}],"selectedOptions":[{"selectedOptionsHandler":0}]}],[514,"swc-sidebar-header",{"module":[1],"modulesList":[16],"canSwitchModules":[4,"can-switch-modules"],"testId":[1,"test-id"],"isCurrentModule":[64]}],[774,"swc-single-select",{"selectedOption":[16],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[1],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"isOpen":[32]},[[0,"closeDropdown","closeDropdownMenu"]]],[774,"swc-sidebar-footer",{"userDetails":[16],"testId":[1,"test-id"],"viewingMoreOptions":[32]}],[774,"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"]]],[774,"swc-sidebar",{"top":[1],"testId":[1,"test-id"]},null,{"top":[{"topChanged":0}]}],[774,"swc-sidebar-body",{"testId":[1,"test-id"]}],[514,"swc-pagination-button-list",{"currentPage":[2,"current-page"],"numberOfPages":[2,"number-of-pages"],"lastPage":[2,"last-page"],"maxButtonCount":[32],"buttonsBeforeEllipsis":[32],"buttonsAfterEllipsis":[32]}],[514,"swc-pagination-input",{"value":[1],"dropdownValues":[16]}],[514,"swc-switch",{"disabled":[516],"checked":[1540],"color":[1],"label":[1],"testId":[513,"test-id"]}],[774,"swc-modal-root",{"isModalOpen":[4,"is-modal-open"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEsc":[4,"close-on-esc"],"initialFocusRef":[16]},null,{"isModalOpen":[{"handleOpenChange":0}]}],[772,"swc-tooltip",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"width":[1],"interactive":[4],"variant":[1],"position":[1],"testId":[513,"test-id"],"tooltipId":[32],"visible":[32]}],[514,"swc-option",{"disabled":[516],"value":[520],"label":[513],"SelectedOptions":[16],"testId":[1,"test-id"]}],[514,"swc-pagination-button",{"number":[2],"currentPage":[2,"current-page"]}],[514,"swc-avatar",{"src":[513],"testId":[513,"test-id"],"alt":[513],"size":[513],"status":[513],"initials":[1],"shape":[1],"hasImageLoaded":[32]}],[514,"swc-progress",{"value":[1026],"max":[2],"color":[1],"showValue":[4,"show-value"],"testId":[513,"test-id"]},null,{"value":[{"validateValue":0}]}],[774,"swc-label",{"required":[4],"disabled":[4],"size":[1],"emphasis":[1],"captionPlacement":[1,"caption-placement"],"showLabelIcon":[4,"show-label-icon"],"testId":[513,"test-id"],"for":[1]}],[774,"swc-dropdown-trigger",{"width":[1],"size":[513],"showDropdownIcon":[516,"show-dropdown-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[772,"swc-dropdown",{"isSubMenu":[516,"is-sub-menu"],"position":[520],"flip":[516],"testId":[1,"test-id"],"isExpanded":[32]},null,{"isExpanded":[{"isExpandedHandler":0}]}],[774,"swc-list",{"width":[1],"selection":[16],"options":[16],"searchable":[516],"placeholder":[513],"loading":[516],"maxHeight":[513,"max-height"],"customClass":[513,"custom-class"],"testId":[1,"test-id"],"hoveredItem":[32],"searchQueryValue":[32]}],[514,"swc-loader",{"size":[1],"testId":[513,"test-id"]}],[774,"swc-icon-button",{"disabled":[4],"size":[1],"intent":[1],"variant":[1],"arialLabel":[1,"arial-label"],"round":[4],"testId":[1,"test-id"]}],[774,"swc-input",{"variant":[1],"clearable":[4],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleInputChange":[16],"placeholder":[1],"type":[1],"maxLength":[2,"max-length"],"testId":[513,"test-id"]}],[774,"swc-list-item",{"selected":[4],"disabled":[4],"hideOnClick":[4,"hide-on-click"],"testId":[1,"test-id"]}],[774,"swc-button",{"intent":[513],"variant":[513],"size":[513],"width":[1],"disabled":[4],"type":[513],"round":[4],"isIcon":[4,"is-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[514,"swc-svg-icon",{"name":[513],"variant":[513],"size":[513],"color":[513],"opacity":[513],"testId":[513,"test-id"],"titleProp":[513,"title"]}]]],["p-675661f0",[[514,"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],"testId":[513,"test-id"]}]]],["p-2c4876fa",[[514,"swc-checkbox",{"value":[513],"checked":[1540],"error":[4],"disabled":[516],"falseValue":[513,"false-value"],"label":[513],"isIndeterminate":[4,"is-indeterminate"],"testId":[513,"test-id"]}]]],["p-7724ee26",[[774,"swc-tag",{"instanceId":[2,"instance-id"],"dismissible":[4],"testId":[513,"test-id"]}]]],["p-be8b915e",[[514,"swc-multiple-file",{"fileInfo":[16],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}],[514,"swc-single-file",{"fileInfo":[16],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}]]]]'),e))));
@@ -0,0 +1 @@
1
+ import{r as e,d as s,h as i,H as l}from"./p-BoRgucbk.js";import{u as t}from"./p-DAupwlOU.js";const c=e=>e&&e.length>0?e.map(((e,s)=>{const i=e.name;return{id:s,name:i.substring(0,i.lastIndexOf("."))||i,size:`${(e.size/1024/1024).toFixed(2)} MB`}})):[],a=e=>0===Object.keys(e).length&&e.constructor===Object,n=class{constructor(i){new.target===n&&e(this,i),this.updateRemove=s(this,"updateRemove",7),this.updateReplace=s(this,"updateReplace",7),this.uploadRetry=s(this,"uploadRetry",7)}fileInfo=[];inverted=!1;hasError=!1;progress=0;uniqueId=`multiple-file-${t().generate()}`;updateRemove;updateReplace;uploadRetry;get fileDetails(){return c(this.fileInfo)}handleUpdateReplace=(e,s)=>{e.preventDefault(),this.updateReplace.emit(s)};handleUpdateRemove=(e,s)=>{e.preventDefault(),this.updateRemove.emit(s)};handleUploadRetry=e=>{e.preventDefault(),this.uploadRetry.emit(null)};render(){return i(l,{key:"f730b8b42b8d652c3dd4209d939f3ec720a57f72"},i("section",{key:"a74683c967a070b6b89805335eb7e3e85fb9021b",class:{"multiple-file-choosen":!0,inverted:this.inverted,uploaded:100===this.progress,"has-error":this.hasError}},this.fileDetails.map(((e,s)=>i("div",{class:"multiple-file-choosen__wrapper",key:s},i("div",{class:"multiple-file-choosen__name"},e.name),i("div",{class:"multiple-file-choosen__size"},e.size),i("div",{class:"d-flex align-items-center justify-content-end"},i("swc-button",{size:"lg",intent:"brand",variant:"bare","aria-label":"replace",class:"mr-1",onClick:s=>this.handleUpdateReplace(s,e.id)},i("span",null,"Replace")),i("swc-icon-button",{intent:"neutral",variant:"bare",size:"lg","aria-label":"dismiss",onClick:s=>this.handleUpdateRemove(s,e.id)},i("swc-svg-icon",{name:"Dismiss",size:"16"})))))),this.progress>0&&100!==this.progress&&this.fileDetails.length>0&&!this.hasError&&i("swc-progress",{key:"f8d640f37cf76f0ebdfeb4de6d7310a36e729b0e",value:this.progress,max:100,class:"mt-2"}),!this.hasError&&this.fileDetails.length>0&&100===this.progress&&i("div",{key:"9d6bf5ff30fc0e08b69f4843c935b3cc15ae6db5",class:"d-flex align-items-center mt-2"},i("div",{key:"f57d8d06bd7bc8197f45c0d774cbb11f3c292722",class:"completed"},"Upload completed")),this.hasError&&i("div",{key:"9c31049ce562124a4d3cc1338c64189ae1cb035f",class:"d-flex justify-content-between align-items-center mt-2"},i("div",{key:"9a57868b0661d437699daab73ad4063ac1f32931",class:"has-error"},i("swc-svg-icon",{key:"4b3a05a6b5588b515655fad3d1c97350be3bbfa7",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"})),i("swc-button",{key:"71e606a05fd167801b016114144809480154d94e",size:"lg",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.handleUploadRetry},i("span",{key:"e342644e6c50581d3cbc401d2bff782d98045e93"},"Retry")))))}};n.style=".sc-swc-multiple-file-h .me-2.sc-swc-multiple-file{margin-right:8px}.sc-swc-multiple-file-h .me-1.sc-swc-multiple-file{margin-right:4px}.sc-swc-multiple-file-h .mt-2.sc-swc-multiple-file{margin-top:8px}.sc-swc-multiple-file-h .d-flex.sc-swc-multiple-file{display:flex}.sc-swc-multiple-file-h .align-items-center.sc-swc-multiple-file{align-items:center}.sc-swc-multiple-file-h .justify-content-end.sc-swc-multiple-file{justify-content:flex-end}.sc-swc-multiple-file-h .justify-content-between.sc-swc-multiple-file{justify-content:space-between}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file{border-radius:var(--sfe-sizing-radius-default, 8px);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9);padding:var(--sfe-sizing-gap-small, 8px) var(--sfe-sizing-gap-large, 16px) !important;margin-top:8px}.sc-swc-multiple-file-h .multiple-file-choosen.uploaded.sc-swc-multiple-file{background:var(--sfe-color-fill-brand-light, #e4edfc) !important}.sc-swc-multiple-file-h .multiple-file-choosen.inverted.sc-swc-multiple-file{border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-background, #fafbff)}.sc-swc-multiple-file-h .multiple-file-choosen.has-error.sc-swc-multiple-file{background:var(--sfe-color-fill-critical-light, #f8e0e0)}.sc-swc-multiple-file-h .multiple-file-choosen.has-error.inverted.sc-swc-multiple-file{border:1px solid var(--sfe-color-border-critical-solid, #a22827);background:var(--sfe-color-fill-background, #fafbff)}.sc-swc-multiple-file-h .multiple-file-choosen__wrapper.sc-swc-multiple-file{display:grid;align-items:center;grid-template-columns:2fr 1fr 3fr;gap:22px}.sc-swc-multiple-file-h .multiple-file-choosen__name.sc-swc-multiple-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:3rem}.sc-swc-multiple-file-h .multiple-file-choosen__size.sc-swc-multiple-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file div.sc-swc-multiple-file div.completed.sc-swc-multiple-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-small, 0.75rem);font-style:normal;font-weight:400;line-height:14px}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file button.sc-swc-multiple-file span.sc-swc-multiple-file{color:var(--sfe-btn-color-content-bare-brand, #004ca6);font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:400;line-height:16px}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file button.has-error.sc-swc-multiple-file span.sc-swc-multiple-file{color:var(--sfe-btn-color-content-bare-critical, #a22827)}";const f=class{constructor(i){new.target===f&&e(this,i),this.updateRemove=s(this,"updateRemove",7),this.updateReplace=s(this,"updateReplace",7),this.uploadRetry=s(this,"uploadRetry",7)}fileInfo=[];extended=!1;thumbnail="file";inverted=!1;hasError=!1;progress=0;uniqueId=`single-file-${t().generate()}`;updateRemove;updateReplace;uploadRetry;get getFileExtension(){if(this.fileInfo.length>0){const e=this.fileInfo[0].name;return e.split(".").pop()?.toUpperCase()||""}return""}get fileExtensionColour(){return"var(--sfe-color-non-semantic-content-violet-subtle, #4E38BC)"}get fileFontSize(){return this.getFileExtension.length<=3?"13px":"10px"}get shouldShowFile(){return"file"===this.thumbnail||"photo"===this.thumbnail&&this.fileInfo.length>0&&!["PNG","JPEG","JPG"].includes(this.getFileExtension)}get createImageUrl(){return this.fileInfo.length>0?URL.createObjectURL(this.fileInfo[0]):""}get fileDetails(){return c(this.fileInfo)[0]}retryUpload=e=>{e.preventDefault(),this.uploadRetry.emit(null)};replaceFile=e=>{e.preventDefault(),this.updateReplace.emit(null)};removeFile=e=>{this.updateRemove.emit(e)};render(){return i(l,{key:"4687da5aba5b19e48de6e8f25c8e096d21925cb3"},i("section",{key:"e3f66edb9efa7e2da077907f5c68ab9ff8e228bd",class:{"single-file-choosen":!0,inverted:this.inverted,uploaded:100===this.progress,"has-error":this.hasError,extended:this.extended}},!this.extended&&i("div",{key:"416f3bac71a667f558478ffc38ba01c9d88551cf",class:"single-file-choosen__wrapper"},i("div",{key:"8f37c4bfa6cfda1cf7b31ef6360709d2bcf59903",class:"single-file-choosen__wrapper__name"},this.hasError&&i("swc-svg-icon",{key:"e9f599b74784dc7e9f9ae62c9dd339f4af512081",class:"me-2",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"}),this.fileDetails.name),i("div",{key:"846edf2d0b0d0af1339ba43948a93cbc9f1fe49a",class:"single-file-choosen__wrapper__size"},this.fileDetails.size),i("div",{key:"a70ac4edf0a89ce0b9021147cc60c89209178b64"},this.progress>0&&100!==this.progress&&!a(this.fileDetails)&&!this.extended&&!this.hasError&&i("swc-progress",{key:"977d717f4c15145b2d223e2d11ecaf01ecccbf68",value:this.progress,max:100})),i("div",{key:"89de8efcd02bbdafe3e4dbf03b02460331ef9a72",class:"d-flex align-items-center justify-content-end"},this.hasError&&!a(this.fileDetails)&&i("swc-button",{key:"7f39b9b5e86cfac05d2859a0913e8740dbed79e5",size:"lg",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.retryUpload},i("span",{key:"2353aef5d81951d7d9e902f44c6dcdc5469822e4",class:"btn-span"},"Retry")),!this.hasError&&!a(this.fileDetails)&&(0===this.progress||100===this.progress)&&i("swc-button",{key:"65c25c49aedb3ea537c672fd3aa3d9cff3574090",size:"lg",intent:"brand",variant:"bare","aria-label":"replace",class:"me-1",onClick:this.replaceFile},i("span",{key:"de0ff7f676d358d3de08e1d02e9406d64ccf44fb",class:"btn-span"},"Replace")),i("swc-icon-button",{key:"caa3dbce714920afcc0078b98bc99075f99e2b9b",intent:"neutral",variant:"bare",size:"lg","aria-label":"dismiss",onClick:()=>this.removeFile(this.fileDetails.id)},i("swc-svg-icon",{key:"33828e34830f2572bc2b7e499008f660fd464961",name:"Dismiss",size:"16"})))),this.extended&&i("div",{key:"0d157ee7271370de829155b4613d91aaba06c46d",class:{"single-file-choosen__extended-wrapper":!0,"no-thumbnail":"none"===this.thumbnail}},"none"!==this.thumbnail&&i("div",{key:"84e39bf62489b5667f235ab577db3d95d99b34dc",class:"file__extension"},this.shouldShowFile&&i("div",{key:"01443e4796c215cada636811c892ace861bb8a40"},i("svg",{key:"5f5cd60d68ccc81b2847167164480aef29c9ef37",width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{key:"be55ffa8bcb7dc70b1efa7a907dde6c9279eb343",d:"M1 6C1 3.5 3.5 1 6 1H21.1071C21.9328 1 22.1149 1.10983 22.6954 1.70367C25.2864 4.35425 28.1524 7.58204 30.3895 9.88063C30.9814 10.4888 31 10.6512 31 11.5V33.5C31 36.5 29.5 39 26 39H6C2.5 39 1 36 1 33.5V6Z",fill:"white",stroke:this.fileExtensionColour,"stroke-width":"1.5"})),i("div",{key:"48344047e977e8376a735f29e327d48ad6a288ec",class:"file-type",style:{color:this.fileExtensionColour,fontSize:this.fileFontSize}},this.getFileExtension)),"photo"===this.thumbnail&&["PNG","JPEG","JPG"].includes(this.getFileExtension)&&!a(this.fileDetails)&&i("div",{key:"28e403f7f20af282549297044827735c71ef477c",class:"file-img"},i("img",{key:"257d489cf9cb3ee354d8317e445c17c9da35cccd",src:this.createImageUrl,alt:this.fileDetails.name}))),i("div",{key:"e6db136fd05da084baec94f6bf85205d01f3b9b6",class:{file:!0,"ms-3":"none"!==this.thumbnail}},i("div",{key:"528175e2170a2d90553f04870154cdf35b257aab",class:"file__identifier"},i("div",{key:"0f6ee85dff00c3a525dc8433fc7a9e8f5f73794e",class:"file__identifier__name"},this.fileDetails.name),i("div",{key:"02b651d19a675a8e20dbc8985c4e9e50608d8f72",class:"d-flex align-items-center justify-content-end"},this.hasError&&!a(this.fileDetails)&&i("swc-button",{key:"556a254c24fc6e7201f3f6780c9d5fc14c983ecf",size:"md",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.retryUpload},i("span",{key:"7f67dd11ff201a8cdc2d88db871af01e50fe02a2",class:"btn-span"},"Retry")),!this.hasError&&!a(this.fileDetails)&&(0===this.progress||100===this.progress)&&i("swc-button",{key:"84c01f9542425bd1b3c7db7d913c523cd02e633b",size:"md",intent:"brand",variant:"bare","aria-label":"replace",class:"me-1",onClick:this.replaceFile},i("span",{key:"ce4b80ea691f40725f54c22908219e403704ebee",class:"btn-span"},"Replace")),i("swc-icon-button",{key:"c57c5ad99f8e185d89fc546526a18ca2b2d4c0ba",intent:"neutral",variant:"bare",size:"md","aria-label":"dismiss",onClick:()=>this.removeFile(this.fileDetails.id)},i("swc-svg-icon",{key:"8e46c69a7412d71cdeeb56aed7fecdb7a3980760",name:"Dismiss",size:"16"})))),i("div",{key:"e958e554a161e04134dcba4dbcd7a8ad0854c012",class:"file__identifier__size mt-3 d-flex align-items-center"},this.hasError&&i("div",{key:"b84d6bf0728907e45e3e399fd129aac92b2a971e"},i("swc-svg-icon",{key:"dae63385dbe6d4990145d1fd34979744c0222925","v-if":"hasError",class:"me-2",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"})),i("span",{key:"dd2dbba91306d5814b1aafd40a85152d2509b831"},this.fileDetails.size)))),this.progress>0&&100!==this.progress&&this.extended&&!a(this.fileDetails)&&!this.hasError&&i("swc-progress",{key:"e5b2abd97b022dfff0df51640e9e951a8806524d",value:this.progress,max:100})))}};f.style=".sc-swc-single-file-h .single-file-choosen.sc-swc-single-file{border-radius:var(--sfe-sizing-radius-default, 8px);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9);padding:0 var(--sfe-sizing-gap-large, 16px)}.sc-swc-single-file-h .single-file-choosen.uploaded.sc-swc-single-file{background:var(--sfe-color-fill-brand-light, #e4edfc) !important}.sc-swc-single-file-h .single-file-choosen.inverted.sc-swc-single-file{border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-background, #fafbff)}.sc-swc-single-file-h .single-file-choosen.has-error.sc-swc-single-file{background:var(--sfe-color-fill-critical-light, #f8e0e0)}.sc-swc-single-file-h .single-file-choosen.has-error.inverted.sc-swc-single-file{border:1px solid var(--sfe-color-border-critical-solid, #a22827);background:var(--sfe-color-fill-background, #fafbff)}.sc-swc-single-file-h .single-file-choosen.extended.sc-swc-single-file{padding:var(--sfe-sizing-gap-large, 16px) !important}.sc-swc-single-file-h .single-file-choosen.sc-swc-single-file .btn-span.sc-swc-single-file{color:var(--sfe-btn-color-content-bare-brand, #004ca6);font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:400;line-height:16px}.sc-swc-single-file-h .single-file-choosen__wrapper.sc-swc-single-file{display:grid;align-items:center;grid-template-columns:2fr 1fr 3fr 1fr;gap:10px}.sc-swc-single-file-h .single-file-choosen__wrapper__name.sc-swc-single-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:4.5rem}.sc-swc-single-file-h .single-file-choosen__wrapper__size.sc-swc-single-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file{display:grid;align-items:center;grid-template-columns:1fr 24fr}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.no-thumbnail.sc-swc-single-file{grid-template-columns:1fr}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file{position:relative;width:32px;height:40px}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file .file-type.sc-swc-single-file{position:absolute;transform:translate(-50%, -50%);top:65%;left:50%}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file .file-img.sc-swc-single-file img.sc-swc-single-file{width:32px;height:32px;border-radius:4px}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file:empty{display:none}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier.sc-swc-single-file{display:grid;grid-template-columns:3fr 1fr;align-items:center}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier__name.sc-swc-single-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;min-width:3.4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier__size.sc-swc-single-file span.sc-swc-single-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-single-file-h .single-file-choosen.sc-swc-single-file button.has-error.sc-swc-single-file span.sc-swc-single-file{color:var(--sfe-btn-color-content-bare-critical, #a22827)}.sc-swc-single-file-h .me-2.sc-swc-single-file{margin-right:8px}.sc-swc-single-file-h .me-1.sc-swc-single-file{margin-right:4px}.sc-swc-single-file-h .mt-2.sc-swc-single-file{margin-top:8px}.sc-swc-single-file-h .ms-3.sc-swc-single-file{margin-left:16px}.sc-swc-single-file-h .d-flex.sc-swc-single-file{display:flex}.sc-swc-single-file-h .align-items-center.sc-swc-single-file{align-items:center}.sc-swc-single-file-h .justify-content-end.sc-swc-single-file{justify-content:flex-end}.sc-swc-single-file-h .justify-content-between.sc-swc-single-file{justify-content:space-between}";export{n as swc_multiple_file,f as swc_single_file}
@@ -1 +1 @@
1
- import{p as e,B as t,c as a,w as i,N as o,a as d,g as l,b as n}from"./p-BoRgucbk.js";export{s as setNonce}from"./p-BoRgucbk.js";var r=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const s=t.call(this,!1),a=this.childNodes;if(e)for(let e=0;e<a.length;e++)2!==a[e].nodeType&&s.appendChild(a[e].cloneNode(!0));return s}};(()=>{t.isDev&&!t.isTesting&&a("Running in development mode."),t.cloneNodeFix&&r(d.prototype);const s=t.scriptDataOpts?i.document&&Array.from(i.document.querySelectorAll("script")).find((e=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===o)):null,l=import.meta.url,n=t.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await l(),n(JSON.parse('[["p-5f7b777d",[[514,"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],"testId":[1,"test-id"],"files":[32],"selectedFileIndex":[32]}]]],["p-2e791a55",[[772,"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"],"testId":[513,"test-id"],"areLinksVisible":[32],"isSearchVisible":[32],"searchQuery":[32]},[[0,"change","handleInputEventChange"]],{"isSearchVisible":[{"searchVisibleChangeHandler":0}]}]]],["p-ead33561",[[512,"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],"testId":[513,"test-id"],"instance":[32],"currentIndex":[32]},null,{"startTour":[{"startTourHandler":0}]}]]],["p-c6a60e55",[[514,"swc-toast",{"type":[1025],"position":[1025],"_title":[1025],"message":[1025],"timeout":[1026],"showTitle":[1028,"show-title"],"dismissible":[1028],"isVisible":[1028,"is-visible"],"testId":[513,"test-id"],"timeoutId":[1040],"showToast":[64],"reset":[64]}]]],["p-3eec282c",[[514,"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-4173382e",[[774,"swc-checkbox-group",{"options":[16],"direction":[1],"value":[1040],"testId":[513,"test-id"]},[[0,"checkboxChange","checkboxChangeHandler"]],{"value":[{"valueChangeHandler":0}]}]]],["p-31519e7f",[[774,"swc-side-panel",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"size":[1],"position":[1],"testId":[1,"test-id"]}]]],["p-7313607b",[[774,"swc-banner",{"variant":[1],"showTitleIcon":[4,"show-title-icon"],"dismissible":[4],"testId":[513,"test-id"],"titleId":[32],"bodyId":[32]}]]],["p-af56e6b9",[[774,"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"],"testId":[513,"test-id"],"computedStatus":[32]}]]],["p-6c03fed1",[[514,"swc-tags-input",{"value":[16],"max":[2],"placeholder":[1],"disabled":[4],"hasError":[4,"has-error"],"testId":[513,"test-id"],"newTag":[32],"isFocused":[32],"focusedTagIndex":[32],"tags":[32]},null,{"value":[{"valueChangeHandler":0}],"tags":[{"tagsChangeHandler":0}]}]]],["p-9012cefb",[[514,"swc-radio-input",{"value":[513],"selectedValue":[513,"selected-value"],"disabled":[516],"error":[516],"checked":[516],"label":[1],"testId":[513,"test-id"]}]]],["p-f9397a52",[[514,"swc-skeleton",{"round":[4],"size":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"],"testId":[513,"test-id"]}]]],["p-8b4ed5bd",[[774,"swc-stepper",{"orientation":[1],"activeIndex":[2,"active-index"],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"testId":[513,"test-id"],"stepItemIds":[32]}]]],["p-6c47c21d",[[772,"swc-table-footer",{"testId":[513,"test-id"]}]]],["p-2323d9ea",[[514,"app-playground",{"isCollapsed":[32],"isModalOpen":[32],"showPopoverModal":[32],"selectedOption":[32],"startDate":[32],"endDate":[32],"on":[32]}],[512,"swc-sidebar-test",{"isSidebarCollapsed":[32],"module":[32],"activeRoute":[32],"userDetails":[32],"modules":[32],"resourcesLinks":[32],"guideLinks":[32]}],[514,"swc-pagination-test",{"meta":[32]}],[774,"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"],"testId":[1,"test-id"],"derivedOptions":[32],"shouldGroupSelections":[32],"searchQueryVal":[32]},null,{"searchQueryVal":[{"searchQueryHandler":0}]}],[774,"swc-breadcrumb-dropdown",{"testId":[1,"test-id"]}],[772,"swc-table-head",{"label":[1],"sortable":[4],"isActive":[4,"is-active"],"testId":[513,"test-id"],"state":[32]},null,{"isActive":[{"isActiveWatchHandler":0}]}],[774,"swc-dialog",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"initialFocusRef":[16],"size":[1],"width":[1],"hasCloseIcon":[4,"has-close-icon"],"animation":[1],"bgColor":[1,"bg-color"],"testId":[1,"test-id"],"headerId":[32]}],[774,"swc-accordion-item",{"value":[1],"testId":[1,"test-id"],"defaultValue":[1,"default-value"],"AccordionHeaderClass":[513,"accordion-header-class"],"AllowMultiple":[516,"allow-multiple"],"variant":[513],"ActiveIdsProp":[16],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"reloadComp":[32]}],[514,"swc-avatar-group",{"size":[1],"testId":[1,"test-id"],"shape":[1],"avatarGroupItems":[16]}],[514,"swc-date-picker",{"value":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disabled":[4],"mode":[1],"enableTime":[4,"enable-time"],"dateFormat":[1,"date-format"],"testId":[1,"test-id"]},null,{"value":[{"watchValue":0}]}],[772,"swc-navigation-menu-trigger",{"testId":[513,"test-id"],"hover":[32]}],[774,"swc-accordion",{"variant":[513],"testId":[1,"test-id"],"allowMultiple":[516,"allow-multiple"],"defaultValue":[1,"default-value"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"activeIds":[32]}],[774,"swc-badge",{"variant":[1],"testId":[513,"test-id"],"intent":[1],"size":[1],"isCounter":[4,"is-counter"],"badgeClasses":[32]},null,{"variant":[{"watchProps":0}],"intent":[{"watchProps":0}],"size":[{"watchProps":0}],"isCounter":[{"watchProps":0}]}],[774,"swc-breadcrumb",{"separator":[513],"testId":[1,"test-id"]}],[774,"swc-breadcrumb-item",{"isCurrentPage":[516,"is-current-page"],"separator":[1],"testId":[1,"test-id"]}],[512,"swc-circular-progress",{"value":[2],"color":[1],"showValue":[4,"show-value"],"max":[2],"size":[1],"testId":[513,"test-id"],"progression":[32]},null,{"value":[{"animateProgression":0}]}],[772,"swc-clickable",{"as":[1],"disabled":[4],"testId":[513,"test-id"]}],[774,"swc-divider",{"orientation":[1],"testId":[513,"test-id"],"hasContent":[32]}],[772,"swc-navigation-menu",{"testId":[513,"test-id"]}],[772,"swc-navigation-menu-item",{"position":[1],"showArrow":[4,"show-arrow"],"testId":[513,"test-id"]}],[772,"swc-popover",{"showArrow":[4,"show-arrow"],"showPopoverModal":[4,"show-popover-modal"],"showContent":[4,"show-content"],"position":[1],"width":[1],"testId":[513,"test-id"],"shouldHide":[32]},[[8,"keydown","handleEscape"]],{"showPopoverModal":[{"handleShowPopover":0}]}],[774,"swc-status-badge",{"variant":[1],"intent":[1],"testId":[513,"test-id"]},null,{"variant":[{"validateVariant":0}],"intent":[{"validateIntent":0}]}],[774,"swc-tab-content",{"value":[1],"activeTab":[1,"active-tab"],"idProp":[513,"id"],"tabTriggerIds":[16],"testId":[513,"test-id"]}],[774,"swc-tab-list",{"orientation":[1],"variant":[1],"testId":[513,"test-id"]}],[774,"swc-tab-trigger",{"value":[1],"disabled":[4],"activeTab":[1,"active-tab"],"orientation":[1],"variant":[1],"size":[1],"idProp":[513,"id"],"tabContentIds":[16],"tabClass":[1,"tab-class"],"testId":[513,"test-id"]}],[772,"swc-table",{"rounded":[4],"maxHeight":[1,"max-height"],"testId":[513,"test-id"],"hasStickyHeader":[4,"has-sticky-header"]}],[772,"swc-table-body",{"testId":[513,"test-id"]}],[772,"swc-table-cell",{"testId":[513,"test-id"]}],[772,"swc-table-header",{"hasStickyHeader":[4,"has-sticky-header"],"testId":[513,"test-id"]}],[772,"swc-table-row",{"testId":[513,"test-id"]}],[774,"swc-tabs",{"defaultTab":[1,"default-tab"],"variant":[1],"orientation":[1],"testId":[513,"test-id"],"size":[1],"activeTab":[32],"tabTriggerIds":[32],"tabContentIds":[32],"tabClass":[32]},[[0,"updateActiveTab","handleUpdateActiveTab"]],{"defaultTab":[{"handleDefaultTab":0}]}],[514,"swc-textarea",{"variant":[1],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleChange":[16],"placeholder":[1],"maxLength":[2,"max-length"],"testId":[513,"test-id"]}],[514,"swc-pagination",{"meta":[8],"limits":[16],"maxLimit":[2,"max-limit"],"isSolid":[4,"is-solid"],"type":[1],"testId":[1,"test-id"],"metaClone":[32],"firstPage":[32],"isPerPageFromDB":[32],"defaultPerPage":[32],"isCurrentPageSetFromInput":[32]},null,{"meta":[{"handleMetaChange":0}]}],[774,"swc-multi-select",{"selectedOptions":[16],"originalOptions":[16],"filteredOptions":[16],"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"],"testId":[1,"test-id"],"isAllSelected":[32],"shouldGroupSelections":[32],"isOpen":[32]},null,{"isAllSelected":[{"isAllSelectedHandler":0}],"shouldGroupSelections":[{"groupSelectionHandler":0}],"selectedOptions":[{"selectedOptionsHandler":0}]}],[514,"swc-sidebar-header",{"module":[1],"modulesList":[16],"canSwitchModules":[4,"can-switch-modules"],"testId":[1,"test-id"],"isCurrentModule":[64]}],[774,"swc-single-select",{"selectedOption":[16],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[1],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"isOpen":[32]},[[0,"closeDropdown","closeDropdownMenu"]]],[774,"swc-sidebar-footer",{"userDetails":[16],"testId":[1,"test-id"],"viewingMoreOptions":[32]}],[774,"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"]]],[774,"swc-sidebar",{"top":[1],"testId":[1,"test-id"]},null,{"top":[{"topChanged":0}]}],[774,"swc-sidebar-body",{"testId":[1,"test-id"]}],[514,"swc-pagination-button-list",{"currentPage":[2,"current-page"],"numberOfPages":[2,"number-of-pages"],"lastPage":[2,"last-page"],"maxButtonCount":[32],"buttonsBeforeEllipsis":[32],"buttonsAfterEllipsis":[32]}],[514,"swc-pagination-input",{"value":[1],"dropdownValues":[16]}],[514,"swc-switch",{"disabled":[516],"checked":[1540],"color":[1],"label":[1],"testId":[513,"test-id"]}],[774,"swc-modal-root",{"isModalOpen":[4,"is-modal-open"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEsc":[4,"close-on-esc"],"initialFocusRef":[16]},null,{"isModalOpen":[{"handleOpenChange":0}]}],[772,"swc-tooltip",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"width":[1],"interactive":[4],"variant":[1],"position":[1],"testId":[513,"test-id"],"tooltipId":[32],"visible":[32]}],[514,"swc-option",{"disabled":[516],"value":[520],"label":[513],"SelectedOptions":[16],"testId":[1,"test-id"]}],[514,"swc-pagination-button",{"number":[2],"currentPage":[2,"current-page"]}],[514,"swc-avatar",{"src":[513],"testId":[513,"test-id"],"alt":[513],"size":[513],"status":[513],"initials":[1],"shape":[1],"hasImageLoaded":[32]}],[514,"swc-progress",{"value":[1026],"max":[2],"color":[1],"showValue":[4,"show-value"],"testId":[513,"test-id"]},null,{"value":[{"validateValue":0}]}],[774,"swc-label",{"required":[4],"disabled":[4],"size":[1],"emphasis":[1],"captionPlacement":[1,"caption-placement"],"showLabelIcon":[4,"show-label-icon"],"testId":[513,"test-id"],"for":[1]}],[774,"swc-dropdown-trigger",{"width":[1],"size":[513],"showDropdownIcon":[516,"show-dropdown-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[772,"swc-dropdown",{"isSubMenu":[516,"is-sub-menu"],"position":[520],"flip":[516],"testId":[1,"test-id"],"isExpanded":[32]},null,{"isExpanded":[{"isExpandedHandler":0}]}],[774,"swc-list",{"width":[1],"selection":[16],"options":[16],"searchable":[516],"placeholder":[513],"loading":[516],"maxHeight":[513,"max-height"],"customClass":[513,"custom-class"],"testId":[1,"test-id"],"hoveredItem":[32],"searchQueryValue":[32]}],[514,"swc-loader",{"size":[1],"testId":[513,"test-id"]}],[774,"swc-icon-button",{"disabled":[4],"size":[1],"intent":[1],"variant":[1],"arialLabel":[1,"arial-label"],"round":[4],"testId":[1,"test-id"]}],[774,"swc-input",{"variant":[1],"clearable":[4],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleInputChange":[16],"placeholder":[1],"type":[1],"maxLength":[2,"max-length"],"testId":[513,"test-id"]}],[774,"swc-list-item",{"selected":[4],"disabled":[4],"hideOnClick":[4,"hide-on-click"],"testId":[1,"test-id"]}],[774,"swc-button",{"intent":[513],"variant":[513],"size":[513],"width":[1],"disabled":[4],"type":[513],"round":[4],"isIcon":[4,"is-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[514,"swc-svg-icon",{"name":[513],"variant":[513],"size":[513],"color":[513],"opacity":[513],"testId":[513,"test-id"],"titleProp":[513,"title"]}]]],["p-675661f0",[[514,"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],"testId":[513,"test-id"]}]]],["p-2c4876fa",[[514,"swc-checkbox",{"value":[513],"checked":[1540],"error":[4],"disabled":[516],"falseValue":[513,"false-value"],"label":[513],"isIndeterminate":[4,"is-indeterminate"],"testId":[513,"test-id"]}]]],["p-7724ee26",[[774,"swc-tag",{"instanceId":[2,"instance-id"],"dismissible":[4],"testId":[513,"test-id"]}]]],["p-5b910af3",[[514,"swc-multiple-file",{"fileInfo":[16],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}],[514,"swc-single-file",{"fileInfo":[16],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}]]]]'),e))));
1
+ import{p as e,B as t,c as a,w as i,N as o,a as d,g as l,b as n}from"./p-BoRgucbk.js";export{s as setNonce}from"./p-BoRgucbk.js";var r=e=>{const t=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return t.call(this,e);const s=t.call(this,!1),a=this.childNodes;if(e)for(let e=0;e<a.length;e++)2!==a[e].nodeType&&s.appendChild(a[e].cloneNode(!0));return s}};(()=>{t.isDev&&!t.isTesting&&a("Running in development mode."),t.cloneNodeFix&&r(d.prototype);const s=t.scriptDataOpts?i.document&&Array.from(i.document.querySelectorAll("script")).find((e=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===o)):null,l=import.meta.url,n=t.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==l&&(n.resourcesUrl=new URL(".",l).href),e(n)})().then((async e=>(await l(),n(JSON.parse('[["p-174301fb",[[514,"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],"testId":[1,"test-id"],"files":[32],"selectedFileIndex":[32]}]]],["p-2e791a55",[[772,"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"],"testId":[513,"test-id"],"areLinksVisible":[32],"isSearchVisible":[32],"searchQuery":[32]},[[0,"change","handleInputEventChange"]],{"isSearchVisible":[{"searchVisibleChangeHandler":0}]}]]],["p-ead33561",[[512,"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],"testId":[513,"test-id"],"instance":[32],"currentIndex":[32]},null,{"startTour":[{"startTourHandler":0}]}]]],["p-c6a60e55",[[514,"swc-toast",{"type":[1025],"position":[1025],"_title":[1025],"message":[1025],"timeout":[1026],"showTitle":[1028,"show-title"],"dismissible":[1028],"isVisible":[1028,"is-visible"],"testId":[513,"test-id"],"timeoutId":[1040],"showToast":[64],"reset":[64]}]]],["p-3eec282c",[[514,"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-4173382e",[[774,"swc-checkbox-group",{"options":[16],"direction":[1],"value":[1040],"testId":[513,"test-id"]},[[0,"checkboxChange","checkboxChangeHandler"]],{"value":[{"valueChangeHandler":0}]}]]],["p-31519e7f",[[774,"swc-side-panel",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"size":[1],"position":[1],"testId":[1,"test-id"]}]]],["p-7313607b",[[774,"swc-banner",{"variant":[1],"showTitleIcon":[4,"show-title-icon"],"dismissible":[4],"testId":[513,"test-id"],"titleId":[32],"bodyId":[32]}]]],["p-af56e6b9",[[774,"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"],"testId":[513,"test-id"],"computedStatus":[32]}]]],["p-6c03fed1",[[514,"swc-tags-input",{"value":[16],"max":[2],"placeholder":[1],"disabled":[4],"hasError":[4,"has-error"],"testId":[513,"test-id"],"newTag":[32],"isFocused":[32],"focusedTagIndex":[32],"tags":[32]},null,{"value":[{"valueChangeHandler":0}],"tags":[{"tagsChangeHandler":0}]}]]],["p-9012cefb",[[514,"swc-radio-input",{"value":[513],"selectedValue":[513,"selected-value"],"disabled":[516],"error":[516],"checked":[516],"label":[1],"testId":[513,"test-id"]}]]],["p-f9397a52",[[514,"swc-skeleton",{"round":[4],"size":[1],"height":[1],"width":[1],"borderRadius":[1,"border-radius"],"testId":[513,"test-id"]}]]],["p-8b4ed5bd",[[774,"swc-stepper",{"orientation":[1],"activeIndex":[2,"active-index"],"withCheckmark":[4,"with-checkmark"],"lineSize":[1,"line-size"],"testId":[513,"test-id"],"stepItemIds":[32]}]]],["p-6c47c21d",[[772,"swc-table-footer",{"testId":[513,"test-id"]}]]],["p-3e4a8ef5",[[514,"app-playground",{"isCollapsed":[32],"isModalOpen":[32],"showPopoverModal":[32],"selectedOption":[32],"startDate":[32],"endDate":[32],"on":[32]}],[512,"swc-sidebar-test",{"isSidebarCollapsed":[32],"module":[32],"activeRoute":[32],"userDetails":[32],"modules":[32],"resourcesLinks":[32],"guideLinks":[32]}],[514,"swc-pagination-test",{"meta":[32]}],[774,"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"],"testId":[1,"test-id"],"derivedOptions":[32],"shouldGroupSelections":[32],"searchQueryVal":[32]},null,{"searchQueryVal":[{"searchQueryHandler":0}]}],[774,"swc-breadcrumb-dropdown",{"testId":[1,"test-id"]}],[772,"swc-table-head",{"label":[1],"sortable":[4],"isActive":[4,"is-active"],"testId":[513,"test-id"],"state":[32]},null,{"isActive":[{"isActiveWatchHandler":0}]}],[774,"swc-dialog",{"isModalOpen":[4,"is-modal-open"],"closeOnEsc":[4,"close-on-esc"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"initialFocusRef":[16],"size":[1],"width":[1],"hasCloseIcon":[4,"has-close-icon"],"animation":[1],"bgColor":[1,"bg-color"],"testId":[1,"test-id"],"headerId":[32]}],[774,"swc-accordion-item",{"value":[1],"testId":[1,"test-id"],"defaultValue":[1,"default-value"],"AccordionHeaderClass":[513,"accordion-header-class"],"AllowMultiple":[516,"allow-multiple"],"variant":[513],"ActiveIdsProp":[16],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"reloadComp":[32]}],[514,"swc-avatar-group",{"size":[1],"testId":[1,"test-id"],"shape":[1],"avatarGroupItems":[16]}],[514,"swc-date-picker",{"value":[1],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disabled":[4],"mode":[1],"enableTime":[4,"enable-time"],"dateFormat":[1,"date-format"],"testId":[1,"test-id"]},null,{"value":[{"watchValue":0}]}],[772,"swc-navigation-menu-trigger",{"testId":[513,"test-id"],"hover":[32]}],[774,"swc-accordion",{"variant":[513],"testId":[1,"test-id"],"allowMultiple":[516,"allow-multiple"],"defaultValue":[1,"default-value"],"hasRadioButton":[4,"has-radio-button"],"hasLeftBorder":[4,"has-left-border"],"activeIds":[32]}],[774,"swc-badge",{"variant":[1],"testId":[513,"test-id"],"intent":[1],"size":[1],"isCounter":[4,"is-counter"],"badgeClasses":[32]},null,{"variant":[{"watchProps":0}],"intent":[{"watchProps":0}],"size":[{"watchProps":0}],"isCounter":[{"watchProps":0}]}],[774,"swc-breadcrumb",{"separator":[513],"testId":[1,"test-id"]}],[774,"swc-breadcrumb-item",{"isCurrentPage":[516,"is-current-page"],"separator":[1],"testId":[1,"test-id"]}],[512,"swc-circular-progress",{"value":[2],"color":[1],"showValue":[4,"show-value"],"max":[2],"size":[1],"testId":[513,"test-id"],"progression":[32]},null,{"value":[{"animateProgression":0}]}],[772,"swc-clickable",{"as":[1],"disabled":[4],"testId":[513,"test-id"]}],[774,"swc-divider",{"orientation":[1],"testId":[513,"test-id"],"hasContent":[32]}],[772,"swc-navigation-menu",{"testId":[513,"test-id"]}],[772,"swc-navigation-menu-item",{"position":[1],"showArrow":[4,"show-arrow"],"testId":[513,"test-id"]}],[772,"swc-popover",{"showArrow":[4,"show-arrow"],"showPopoverModal":[4,"show-popover-modal"],"showContent":[4,"show-content"],"position":[1],"width":[1],"testId":[513,"test-id"],"shouldHide":[32]},[[8,"keydown","handleEscape"]],{"showPopoverModal":[{"handleShowPopover":0}]}],[774,"swc-status-badge",{"variant":[1],"intent":[1],"testId":[513,"test-id"]},null,{"variant":[{"validateVariant":0}],"intent":[{"validateIntent":0}]}],[774,"swc-tab-content",{"value":[1],"activeTab":[1,"active-tab"],"idProp":[513,"id"],"tabTriggerIds":[16],"testId":[513,"test-id"]}],[774,"swc-tab-list",{"orientation":[1],"variant":[1],"testId":[513,"test-id"]}],[774,"swc-tab-trigger",{"value":[1],"disabled":[4],"activeTab":[1,"active-tab"],"orientation":[1],"variant":[1],"size":[1],"idProp":[513,"id"],"tabContentIds":[16],"tabClass":[1,"tab-class"],"testId":[513,"test-id"]}],[772,"swc-table",{"rounded":[4],"maxHeight":[1,"max-height"],"testId":[513,"test-id"],"hasStickyHeader":[4,"has-sticky-header"]}],[772,"swc-table-body",{"testId":[513,"test-id"]}],[772,"swc-table-cell",{"testId":[513,"test-id"]}],[772,"swc-table-header",{"hasStickyHeader":[4,"has-sticky-header"],"testId":[513,"test-id"]}],[772,"swc-table-row",{"testId":[513,"test-id"]}],[774,"swc-tabs",{"defaultTab":[1,"default-tab"],"variant":[1],"orientation":[1],"testId":[513,"test-id"],"size":[1],"activeTab":[32],"tabTriggerIds":[32],"tabContentIds":[32],"tabClass":[32]},[[0,"updateActiveTab","handleUpdateActiveTab"]],{"defaultTab":[{"handleDefaultTab":0}]}],[514,"swc-textarea",{"variant":[1],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleChange":[16],"placeholder":[1],"maxLength":[2,"max-length"],"testId":[513,"test-id"]}],[514,"swc-pagination",{"meta":[8],"limits":[16],"maxLimit":[2,"max-limit"],"isSolid":[4,"is-solid"],"type":[1],"testId":[1,"test-id"],"metaClone":[32],"firstPage":[32],"isPerPageFromDB":[32],"defaultPerPage":[32],"isCurrentPageSetFromInput":[32]},null,{"meta":[{"handleMetaChange":0}]}],[774,"swc-multi-select",{"selectedOptions":[16],"originalOptions":[16],"filteredOptions":[16],"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"],"testId":[1,"test-id"],"isAllSelected":[32],"shouldGroupSelections":[32],"isOpen":[32]},null,{"isAllSelected":[{"isAllSelectedHandler":0}],"shouldGroupSelections":[{"groupSelectionHandler":0}],"selectedOptions":[{"selectedOptionsHandler":0}]}],[514,"swc-sidebar-header",{"module":[1],"modulesList":[16],"canSwitchModules":[4,"can-switch-modules"],"testId":[1,"test-id"],"isCurrentModule":[64]}],[774,"swc-single-select",{"selectedOption":[16],"options":[16],"placeholder":[513],"searchable":[516],"loading":[516],"width":[1],"maxHeight":[513,"max-height"],"clearable":[516],"flip":[516],"multiple":[4],"showCheckbox":[516,"show-checkbox"],"testId":[1,"test-id"],"isOpen":[32]},[[0,"closeDropdown","closeDropdownMenu"]]],[774,"swc-sidebar-footer",{"userDetails":[16],"testId":[1,"test-id"],"viewingMoreOptions":[32]}],[774,"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"]]],[774,"swc-sidebar",{"top":[1],"testId":[1,"test-id"]},null,{"top":[{"topChanged":0}]}],[774,"swc-sidebar-body",{"testId":[1,"test-id"]}],[514,"swc-pagination-button-list",{"currentPage":[2,"current-page"],"numberOfPages":[2,"number-of-pages"],"lastPage":[2,"last-page"],"maxButtonCount":[32],"buttonsBeforeEllipsis":[32],"buttonsAfterEllipsis":[32]}],[514,"swc-pagination-input",{"value":[1],"dropdownValues":[16]}],[514,"swc-switch",{"disabled":[516],"checked":[1540],"color":[1],"label":[1],"testId":[513,"test-id"]}],[774,"swc-modal-root",{"isModalOpen":[4,"is-modal-open"],"closeOnOverlayClick":[4,"close-on-overlay-click"],"closeOnEsc":[4,"close-on-esc"],"initialFocusRef":[16]},null,{"isModalOpen":[{"handleOpenChange":0}]}],[772,"swc-tooltip",{"content":[1],"showArrow":[4,"show-arrow"],"showContent":[4,"show-content"],"width":[1],"interactive":[4],"variant":[1],"position":[1],"testId":[513,"test-id"],"tooltipId":[32],"visible":[32]}],[514,"swc-option",{"disabled":[516],"value":[520],"label":[513],"SelectedOptions":[16],"testId":[1,"test-id"]}],[514,"swc-pagination-button",{"number":[2],"currentPage":[2,"current-page"]}],[514,"swc-avatar",{"src":[513],"testId":[513,"test-id"],"alt":[513],"size":[513],"status":[513],"initials":[1],"shape":[1],"hasImageLoaded":[32]}],[514,"swc-progress",{"value":[1026],"max":[2],"color":[1],"showValue":[4,"show-value"],"testId":[513,"test-id"]},null,{"value":[{"validateValue":0}]}],[774,"swc-label",{"required":[4],"disabled":[4],"size":[1],"emphasis":[1],"captionPlacement":[1,"caption-placement"],"showLabelIcon":[4,"show-label-icon"],"testId":[513,"test-id"],"for":[1]}],[774,"swc-dropdown-trigger",{"width":[1],"size":[513],"showDropdownIcon":[516,"show-dropdown-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[772,"swc-dropdown",{"isSubMenu":[516,"is-sub-menu"],"position":[520],"flip":[516],"testId":[1,"test-id"],"isExpanded":[32]},null,{"isExpanded":[{"isExpandedHandler":0}]}],[774,"swc-list",{"width":[1],"selection":[16],"options":[16],"searchable":[516],"placeholder":[513],"loading":[516],"maxHeight":[513,"max-height"],"customClass":[513,"custom-class"],"testId":[1,"test-id"],"hoveredItem":[32],"searchQueryValue":[32]}],[514,"swc-loader",{"size":[1],"testId":[513,"test-id"]}],[774,"swc-icon-button",{"disabled":[4],"size":[1],"intent":[1],"variant":[1],"arialLabel":[1,"arial-label"],"round":[4],"testId":[1,"test-id"]}],[774,"swc-input",{"variant":[1],"clearable":[4],"hasError":[4,"has-error"],"disabled":[4],"containerClass":[1,"container-class"],"value":[1],"handleInputChange":[16],"placeholder":[1],"type":[1],"maxLength":[2,"max-length"],"testId":[513,"test-id"]}],[774,"swc-list-item",{"selected":[4],"disabled":[4],"hideOnClick":[4,"hide-on-click"],"testId":[1,"test-id"]}],[774,"swc-button",{"intent":[513],"variant":[513],"size":[513],"width":[1],"disabled":[4],"type":[513],"round":[4],"isIcon":[4,"is-icon"],"customClass":[1,"custom-class"],"testId":[1,"test-id"]}],[514,"swc-svg-icon",{"name":[513],"variant":[513],"size":[513],"color":[513],"opacity":[513],"testId":[513,"test-id"],"titleProp":[513,"title"]}]]],["p-675661f0",[[514,"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],"testId":[513,"test-id"]}]]],["p-2c4876fa",[[514,"swc-checkbox",{"value":[513],"checked":[1540],"error":[4],"disabled":[516],"falseValue":[513,"false-value"],"label":[513],"isIndeterminate":[4,"is-indeterminate"],"testId":[513,"test-id"]}]]],["p-7724ee26",[[774,"swc-tag",{"instanceId":[2,"instance-id"],"dismissible":[4],"testId":[513,"test-id"]}]]],["p-be8b915e",[[514,"swc-multiple-file",{"fileInfo":[16],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}],[514,"swc-single-file",{"fileInfo":[16],"extended":[516],"thumbnail":[513],"inverted":[516],"hasError":[516,"has-error"],"progress":[514],"uniqueId":[513,"unique-id"]}]]]]'),e))));
@@ -1 +0,0 @@
1
- import{r as e,d as s,h as i,H as l}from"./p-BoRgucbk.js";import{u as t}from"./p-DAupwlOU.js";const c=e=>e&&e.length>0?e.map(((e,s)=>{const i=e.name;return{id:s,name:i.substring(0,i.lastIndexOf("."))||i,size:`${(e.size/1024/1024).toFixed(2)} MB`}})):[],a=e=>0===Object.keys(e).length&&e.constructor===Object,n=class{constructor(i){new.target===n&&e(this,i),this.updateRemove=s(this,"updateRemove",7),this.updateReplace=s(this,"updateReplace",7),this.uploadRetry=s(this,"uploadRetry",7)}fileInfo=[];inverted=!1;hasError=!1;progress=0;uniqueId=`multiple-file-${t().generate()}`;updateRemove;updateReplace;uploadRetry;get fileDetails(){return c(this.fileInfo)}handleUpdateReplace=(e,s)=>{e.preventDefault(),this.updateReplace.emit(s)};handleUpdateRemove=(e,s)=>{e.preventDefault(),this.updateRemove.emit(s)};handleUploadRetry=e=>{e.preventDefault(),this.uploadRetry.emit(null)};render(){return i(l,{key:"f730b8b42b8d652c3dd4209d939f3ec720a57f72"},i("section",{key:"a74683c967a070b6b89805335eb7e3e85fb9021b",class:{"multiple-file-choosen":!0,inverted:this.inverted,uploaded:100===this.progress,"has-error":this.hasError}},this.fileDetails.map(((e,s)=>i("div",{class:"multiple-file-choosen__wrapper",key:s},i("div",{class:"multiple-file-choosen__name"},e.name),i("div",{class:"multiple-file-choosen__size"},e.size),i("div",{class:"d-flex align-items-center justify-content-end"},i("swc-button",{size:"lg",intent:"brand",variant:"bare","aria-label":"replace",class:"mr-1",onClick:s=>this.handleUpdateReplace(s,e.id)},i("span",null,"Replace")),i("swc-icon-button",{intent:"neutral",variant:"bare",size:"lg","aria-label":"dismiss",onClick:s=>this.handleUpdateRemove(s,e.id)},i("swc-svg-icon",{name:"Dismiss",size:"16"})))))),this.progress>0&&100!==this.progress&&this.fileDetails.length>0&&!this.hasError&&i("swc-progress",{key:"f8d640f37cf76f0ebdfeb4de6d7310a36e729b0e",value:this.progress,max:100,class:"mt-2"}),!this.hasError&&this.fileDetails.length>0&&100===this.progress&&i("div",{key:"9d6bf5ff30fc0e08b69f4843c935b3cc15ae6db5",class:"d-flex align-items-center mt-2"},i("div",{key:"f57d8d06bd7bc8197f45c0d774cbb11f3c292722",class:"completed"},"Upload completed")),this.hasError&&i("div",{key:"9c31049ce562124a4d3cc1338c64189ae1cb035f",class:"d-flex justify-content-between align-items-center mt-2"},i("div",{key:"9a57868b0661d437699daab73ad4063ac1f32931",class:"has-error"},i("swc-svg-icon",{key:"4b3a05a6b5588b515655fad3d1c97350be3bbfa7",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"})),i("swc-button",{key:"71e606a05fd167801b016114144809480154d94e",size:"lg",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.handleUploadRetry},i("span",{key:"e342644e6c50581d3cbc401d2bff782d98045e93"},"Retry")))))}};n.style=".sc-swc-multiple-file-h .me-2.sc-swc-multiple-file{margin-right:8px}.sc-swc-multiple-file-h .me-1.sc-swc-multiple-file{margin-right:4px}.sc-swc-multiple-file-h .mt-2.sc-swc-multiple-file{margin-top:8px}.sc-swc-multiple-file-h .d-flex.sc-swc-multiple-file{display:flex}.sc-swc-multiple-file-h .align-items-center.sc-swc-multiple-file{align-items:center}.sc-swc-multiple-file-h .justify-content-end.sc-swc-multiple-file{justify-content:flex-end}.sc-swc-multiple-file-h .justify-content-between.sc-swc-multiple-file{justify-content:space-between}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file{border-radius:var(--sfe-sizing-radius-default, 8px);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9);padding:var(--sfe-sizing-gap-small, 8px) var(--sfe-sizing-gap-large, 16px) !important;margin-top:8px}.sc-swc-multiple-file-h .multiple-file-choosen.uploaded.sc-swc-multiple-file{background:var(--sfe-color-fill-brand-light, #e4edfc) !important}.sc-swc-multiple-file-h .multiple-file-choosen.inverted.sc-swc-multiple-file{border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-multiple-file-h .multiple-file-choosen.has-error.sc-swc-multiple-file{background:var(--sfe-color-fill-critical-light, #f8e0e0)}.sc-swc-multiple-file-h .multiple-file-choosen.has-error.inverted.sc-swc-multiple-file{border:1px solid var(--sfe-color-border-critical-solid, #a22827);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-multiple-file-h .multiple-file-choosen__wrapper.sc-swc-multiple-file{display:grid;align-items:center;grid-template-columns:2fr 1fr 3fr;gap:22px}.sc-swc-multiple-file-h .multiple-file-choosen__name.sc-swc-multiple-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:3rem}.sc-swc-multiple-file-h .multiple-file-choosen__size.sc-swc-multiple-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file div.sc-swc-multiple-file div.completed.sc-swc-multiple-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-small, 0.75rem);font-style:normal;font-weight:400;line-height:14px}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file button.sc-swc-multiple-file span.sc-swc-multiple-file{color:var(--sfe-btn-color-content-bare-brand, #004ca6);font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:400;line-height:16px}.sc-swc-multiple-file-h .multiple-file-choosen.sc-swc-multiple-file button.has-error.sc-swc-multiple-file span.sc-swc-multiple-file{color:var(--sfe-btn-color-content-bare-critical, #a22827)}";const f=class{constructor(i){new.target===f&&e(this,i),this.updateRemove=s(this,"updateRemove",7),this.updateReplace=s(this,"updateReplace",7),this.uploadRetry=s(this,"uploadRetry",7)}fileInfo=[];extended=!1;thumbnail="file";inverted=!1;hasError=!1;progress=0;uniqueId=`single-file-${t().generate()}`;updateRemove;updateReplace;uploadRetry;get getFileExtension(){if(this.fileInfo.length>0){const e=this.fileInfo[0].name;return e.split(".").pop()?.toUpperCase()||""}return""}get fileExtensionColour(){return"var(--sfe-color-non-semantic-content-violet-subtle, #4E38BC)"}get fileFontSize(){return this.getFileExtension.length<=3?"13px":"10px"}get shouldShowFile(){return"file"===this.thumbnail||"photo"===this.thumbnail&&this.fileInfo.length>0&&!["PNG","JPEG","JPG"].includes(this.getFileExtension)}get createImageUrl(){return this.fileInfo.length>0?URL.createObjectURL(this.fileInfo[0]):""}get fileDetails(){return c(this.fileInfo)[0]}retryUpload=e=>{e.preventDefault(),this.uploadRetry.emit(null)};replaceFile=e=>{e.preventDefault(),this.updateReplace.emit(null)};removeFile=e=>{this.updateRemove.emit(e)};render(){return i(l,{key:"4687da5aba5b19e48de6e8f25c8e096d21925cb3"},i("section",{key:"e3f66edb9efa7e2da077907f5c68ab9ff8e228bd",class:{"single-file-choosen":!0,inverted:this.inverted,uploaded:100===this.progress,"has-error":this.hasError,extended:this.extended}},!this.extended&&i("div",{key:"416f3bac71a667f558478ffc38ba01c9d88551cf",class:"single-file-choosen__wrapper"},i("div",{key:"8f37c4bfa6cfda1cf7b31ef6360709d2bcf59903",class:"single-file-choosen__wrapper__name"},this.hasError&&i("swc-svg-icon",{key:"e9f599b74784dc7e9f9ae62c9dd339f4af512081",class:"me-2",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"}),this.fileDetails.name),i("div",{key:"846edf2d0b0d0af1339ba43948a93cbc9f1fe49a",class:"single-file-choosen__wrapper__size"},this.fileDetails.size),i("div",{key:"a70ac4edf0a89ce0b9021147cc60c89209178b64"},this.progress>0&&100!==this.progress&&!a(this.fileDetails)&&!this.extended&&!this.hasError&&i("swc-progress",{key:"977d717f4c15145b2d223e2d11ecaf01ecccbf68",value:this.progress,max:100})),i("div",{key:"89de8efcd02bbdafe3e4dbf03b02460331ef9a72",class:"d-flex align-items-center justify-content-end"},this.hasError&&!a(this.fileDetails)&&i("swc-button",{key:"7f39b9b5e86cfac05d2859a0913e8740dbed79e5",size:"lg",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.retryUpload},i("span",{key:"2353aef5d81951d7d9e902f44c6dcdc5469822e4",class:"btn-span"},"Retry")),!this.hasError&&!a(this.fileDetails)&&(0===this.progress||100===this.progress)&&i("swc-button",{key:"65c25c49aedb3ea537c672fd3aa3d9cff3574090",size:"lg",intent:"brand",variant:"bare","aria-label":"replace",class:"me-1",onClick:this.replaceFile},i("span",{key:"de0ff7f676d358d3de08e1d02e9406d64ccf44fb",class:"btn-span"},"Replace")),i("swc-icon-button",{key:"caa3dbce714920afcc0078b98bc99075f99e2b9b",intent:"neutral",variant:"bare",size:"lg","aria-label":"dismiss",onClick:()=>this.removeFile(this.fileDetails.id)},i("swc-svg-icon",{key:"33828e34830f2572bc2b7e499008f660fd464961",name:"Dismiss",size:"16"})))),this.extended&&i("div",{key:"0d157ee7271370de829155b4613d91aaba06c46d",class:{"single-file-choosen__extended-wrapper":!0,"no-thumbnail":"none"===this.thumbnail}},"none"!==this.thumbnail&&i("div",{key:"84e39bf62489b5667f235ab577db3d95d99b34dc",class:"file__extension"},this.shouldShowFile&&i("div",{key:"01443e4796c215cada636811c892ace861bb8a40"},i("svg",{key:"5f5cd60d68ccc81b2847167164480aef29c9ef37",width:"32",height:"40",viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("path",{key:"be55ffa8bcb7dc70b1efa7a907dde6c9279eb343",d:"M1 6C1 3.5 3.5 1 6 1H21.1071C21.9328 1 22.1149 1.10983 22.6954 1.70367C25.2864 4.35425 28.1524 7.58204 30.3895 9.88063C30.9814 10.4888 31 10.6512 31 11.5V33.5C31 36.5 29.5 39 26 39H6C2.5 39 1 36 1 33.5V6Z",fill:"white",stroke:this.fileExtensionColour,"stroke-width":"1.5"})),i("div",{key:"48344047e977e8376a735f29e327d48ad6a288ec",class:"file-type",style:{color:this.fileExtensionColour,fontSize:this.fileFontSize}},this.getFileExtension)),"photo"===this.thumbnail&&["PNG","JPEG","JPG"].includes(this.getFileExtension)&&!a(this.fileDetails)&&i("div",{key:"28e403f7f20af282549297044827735c71ef477c",class:"file-img"},i("img",{key:"257d489cf9cb3ee354d8317e445c17c9da35cccd",src:this.createImageUrl,alt:this.fileDetails.name}))),i("div",{key:"e6db136fd05da084baec94f6bf85205d01f3b9b6",class:{file:!0,"ms-3":"none"!==this.thumbnail}},i("div",{key:"528175e2170a2d90553f04870154cdf35b257aab",class:"file__identifier"},i("div",{key:"0f6ee85dff00c3a525dc8433fc7a9e8f5f73794e",class:"file__identifier__name"},this.fileDetails.name),i("div",{key:"02b651d19a675a8e20dbc8985c4e9e50608d8f72",class:"d-flex align-items-center justify-content-end"},this.hasError&&!a(this.fileDetails)&&i("swc-button",{key:"556a254c24fc6e7201f3f6780c9d5fc14c983ecf",size:"md",intent:"neutral",variant:"bare","aria-label":"dismiss",class:"has-error",onClick:this.retryUpload},i("span",{key:"7f67dd11ff201a8cdc2d88db871af01e50fe02a2",class:"btn-span"},"Retry")),!this.hasError&&!a(this.fileDetails)&&(0===this.progress||100===this.progress)&&i("swc-button",{key:"84c01f9542425bd1b3c7db7d913c523cd02e633b",size:"md",intent:"brand",variant:"bare","aria-label":"replace",class:"me-1",onClick:this.replaceFile},i("span",{key:"ce4b80ea691f40725f54c22908219e403704ebee",class:"btn-span"},"Replace")),i("swc-icon-button",{key:"c57c5ad99f8e185d89fc546526a18ca2b2d4c0ba",intent:"neutral",variant:"bare",size:"md","aria-label":"dismiss",onClick:()=>this.removeFile(this.fileDetails.id)},i("swc-svg-icon",{key:"8e46c69a7412d71cdeeb56aed7fecdb7a3980760",name:"Dismiss",size:"16"})))),i("div",{key:"e958e554a161e04134dcba4dbcd7a8ad0854c012",class:"file__identifier__size mt-3 d-flex align-items-center"},this.hasError&&i("div",{key:"b84d6bf0728907e45e3e399fd129aac92b2a971e"},i("swc-svg-icon",{key:"dae63385dbe6d4990145d1fd34979744c0222925","v-if":"hasError",class:"me-2",name:"Warning",size:"20",variant:"filled",color:"#bf3835",opacity:"1"})),i("span",{key:"dd2dbba91306d5814b1aafd40a85152d2509b831"},this.fileDetails.size)))),this.progress>0&&100!==this.progress&&this.extended&&!a(this.fileDetails)&&!this.hasError&&i("swc-progress",{key:"e5b2abd97b022dfff0df51640e9e951a8806524d",value:this.progress,max:100})))}};f.style=".sc-swc-single-file-h .single-file-choosen.sc-swc-single-file{border-radius:var(--sfe-sizing-radius-default, 8px);background:var(--sfe-color-fill-neutral-lightest, #f5f7f9);padding:0 var(--sfe-sizing-gap-large, 16px)}.sc-swc-single-file-h .single-file-choosen.uploaded.sc-swc-single-file{background:var(--sfe-color-fill-brand-light, #e4edfc) !important}.sc-swc-single-file-h .single-file-choosen.inverted.sc-swc-single-file{border:1px solid var(--sfe-color-border-neutral-subtle, #dee3e7);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-single-file-h .single-file-choosen.has-error.sc-swc-single-file{background:var(--sfe-color-fill-critical-light, #f8e0e0)}.sc-swc-single-file-h .single-file-choosen.has-error.inverted.sc-swc-single-file{border:1px solid var(--sfe-color-border-critical-solid, #a22827);background:var(--sfe-color-fill-backround, #fafbff)}.sc-swc-single-file-h .single-file-choosen.extended.sc-swc-single-file{padding:var(--sfe-sizing-gap-large, 16px) !important}.sc-swc-single-file-h .single-file-choosen.sc-swc-single-file .btn-span.sc-swc-single-file{color:var(--sfe-btn-color-content-bare-brand, #004ca6);font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-default, 0.875rem);font-style:normal;font-weight:400;line-height:16px}.sc-swc-single-file-h .single-file-choosen__wrapper.sc-swc-single-file{display:grid;align-items:center;grid-template-columns:2fr 1fr 3fr 1fr;gap:10px}.sc-swc-single-file-h .single-file-choosen__wrapper__name.sc-swc-single-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:4.5rem}.sc-swc-single-file-h .single-file-choosen__wrapper__size.sc-swc-single-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file{display:grid;align-items:center;grid-template-columns:1fr 24fr}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.no-thumbnail.sc-swc-single-file{grid-template-columns:1fr}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file{position:relative;width:32px;height:40px}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file .file-type.sc-swc-single-file{position:absolute;transform:translate(-50%, -50%);top:65%;left:50%}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file .file-img.sc-swc-single-file img.sc-swc-single-file{width:32px;height:32px;border-radius:4px}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__extension.sc-swc-single-file:empty{display:none}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier.sc-swc-single-file{display:grid;grid-template-columns:3fr 1fr;align-items:center}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier__name.sc-swc-single-file{color:var(--sfe-color-text-default-primary, rgba(0, 0, 0, 0.95));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;min-width:3.4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sc-swc-single-file-h .single-file-choosen__extended-wrapper.sc-swc-single-file .file__identifier__size.sc-swc-single-file span.sc-swc-single-file{color:var(--sfe-color-text-default-secondary, rgba(0, 0, 0, 0.8));font-family:var(--sfe-typography-font-serif-font, Sora);font-size:var(--sfe-typography-font-size-label-large, 1rem);font-style:normal;font-weight:400;line-height:20px;white-space:nowrap}.sc-swc-single-file-h .single-file-choosen.sc-swc-single-file button.has-error.sc-swc-single-file span.sc-swc-single-file{color:var(--sfe-btn-color-content-bare-critical, #a22827)}.sc-swc-single-file-h .me-2.sc-swc-single-file{margin-right:8px}.sc-swc-single-file-h .me-1.sc-swc-single-file{margin-right:4px}.sc-swc-single-file-h .mt-2.sc-swc-single-file{margin-top:8px}.sc-swc-single-file-h .ms-3.sc-swc-single-file{margin-left:16px}.sc-swc-single-file-h .d-flex.sc-swc-single-file{display:flex}.sc-swc-single-file-h .align-items-center.sc-swc-single-file{align-items:center}.sc-swc-single-file-h .justify-content-end.sc-swc-single-file{justify-content:flex-end}.sc-swc-single-file-h .justify-content-between.sc-swc-single-file{justify-content:space-between}";export{n as swc_multiple_file,f as swc_single_file}