sas-ui 0.8.232 → 0.8.233
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modules-4e8de2b1.js → modules-afda8d84.js} +2 -0
- package/dist/cjs/{sas-chat-bubble_12.cjs.entry.js → sas-button_13.cjs.entry.js} +116 -11
- package/dist/cjs/sas-ui.cjs.js +2 -2
- package/dist/collection/components/sas-dialog/sas-dialog.js +2 -0
- package/dist/collection/components/sas-setup-guide-tile/sas-setup-guide-tile.css +0 -3
- package/dist/collection/components/sas-setup-guide-tile/sas-setup-guide-tile.js +31 -15
- package/dist/custom-elements/index.js +15 -11
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{modules-2598bd67.js → modules-bda8500a.js} +2 -0
- package/dist/esm/{sas-chat-bubble_12.entry.js → sas-button_13.entry.js} +117 -13
- package/dist/esm/sas-ui.js +2 -2
- package/dist/sas-ui/p-6adeec3b.entry.js +1 -0
- package/dist/sas-ui/{p-24b7df27.js → p-e39782a0.js} +1 -1
- package/dist/sas-ui/sas-ui.esm.js +1 -1
- package/dist/types/components/sas-setup-guide-tile/sas-setup-guide-tile.d.ts +4 -1
- package/dist/types/components.d.ts +5 -1
- package/package.json +1 -1
- package/dist/cjs/sas-button.cjs.entry.js +0 -110
- package/dist/esm/sas-button.entry.js +0 -106
- package/dist/sas-ui/p-2773c94e.entry.js +0 -1
- package/dist/sas-ui/p-7f77e396.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-cd75521b.js');
|
|
6
|
-
require('./modules-
|
|
6
|
+
require('./modules-afda8d84.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
9
9
|
/*
|
|
@@ -16,7 +16,7 @@ const patchEsm = () => {
|
|
|
16
16
|
const defineCustomElements = (win, options) => {
|
|
17
17
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
18
18
|
return patchEsm().then(() => {
|
|
19
|
-
return index.bootstrapLazy(JSON.parse("[[\"sas-chat-bubble_12.cjs\",[[1,\"sas-setup-guide-tile\",{\"title\":[1],\"description\":[1],\"alertTitle\":[1,\"alert-title\"],\"alertmessage\":[1],\"icon\":[1],\"image\":[1],\"width\":[513],\"status\":[4],\"completed\":[1],\"pending\":[1],\"locked\":[1],\"completedopen\":[32],\"expanded\":[32]}],[1,\"sas-setup-guide-progress-button\",{\"buttonTitle\":[1,\"button-title\"],\"progress\":[514],\"backgroundColor\":[1,\"background-color\"],\"icon\":[1]}],[1,\"sas-panel\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"buttonText\":[1,\"button-text\"],\"width\":[513],\"href\":[1],\"newTab\":[4,\"new-tab\"]}],[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[1537],\"disabled\":[1540]}],[1,\"sas-progress-bar\",{\"progress\":[514],\"progressGates\":[16]}],[1,\"sas-list\",{\"toggle\":[516],\"compact\":[516],\"border\":[516],\"subtextPosition\":[513,\"subtext-position\"],\"value\":[1544],\"rawData\":[1032,\"raw-data\"],\"text\":[1537],\"defaultValue\":[520,\"default-value\"],\"options\":[16],\"update\":[64]},[[0,\"listItemClicked\",\"listItemClickedHandler\"],[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-chip\",{\"type\":[513],\"status\":[513],\"outlined\":[516],\"close\":[516],\"inside\":[516],\"text\":[513],\"uppercase\":[516],\"bold\":[516]}],[1,\"sas-chat-bubble\",{\"position\":[513]}],[1,\"sas-sublist\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"iconRight\":[513,\"icon-right\"],\"toggle\":[516],\"compact\":[516],\"hideSub\":[1540,\"hide-sub\"],\"selected\":[1540]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-list-item\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"subtextPosition\":[513,\"subtext-position\"],\"iconRight\":[513,\"icon-right\"],\"selected\":[516],\"alwaysShown\":[516,\"always-shown\"],\"disabled\":[516],\"index\":[514],\"href\":[513],\"target\":[513]}],[1,\"sas-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64],\"open\":[64]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-icon\",{\"type\":[513],\"size\":[513],\"status\":[513],\"icon\":[513],\"index\":[2]}]]],[\"sas-multiselect.cjs\",[[1,\"sas-multiselect\",{\"type\":[513],\"search\":[516],\"filterText\":[513,\"filter-text\"],\"noMatchAction\":[513,\"no-match-action\"],\"noMatchTip\":[513,\"no-match-tip\"],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"disabled\":[516],\"clear\":[516],\"placeholder\":[513],\"options\":[1040],\"name\":[513],\"values\":[1040],\"rawData\":[1040],\"min\":[514],\"max\":[514],\"maxChip\":[514,\"max-chip\"],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"buttonFilterText\":[1,\"button-filter-text\"],\"value\":[32],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"checkboxgroupupdate\",\"checkboxUpdateHandler\"],[0,\"chipUpdate\",\"chipUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]]]],[\"sas-date-range.cjs\",[[1,\"sas-date-range\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"name\":[513],\"min\":[513],\"max\":[513],\"from\":[1537],\"to\":[1537],\"required\":[516],\"disabled\":[516],\"position\":[513],\"validity\":[1040],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-select.cjs\",[[1,\"sas-select\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"type\":[513],\"noMatchTip\":[513,\"no-match-tip\"],\"placeholder\":[513],\"disabled\":[516],\"clear\":[516],\"options\":[1040],\"alwaysShownOptions\":[1040],\"defaultValue\":[520,\"default-value\"],\"name\":[513],\"value\":[1032],\"rawData\":[1032,\"raw-data\"],\"text\":[1032],\"subtextPosition\":[513,\"subtext-position\"],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"listItemClicked\",\"listItemClickedHandler\"],[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"],[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputClear\",\"inputClearHandler\"],[0,\"inputFocus\",\"inputFocusHandler\"],[0,\"inputBlur\",\"inputBlurHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]]]],[\"sas-time-field.cjs\",[[1,\"sas-time-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"],[0,\"listItemClicked\",\"listItemClickedHandler\"]]]]],[\"sas-user-card.cjs\",[[1,\"sas-user-card\",{\"block\":[516],\"name\":[513],\"position\":[513],\"status\":[1537],\"badge\":[516],\"attachment\":[516],\"showFireWardenIcon\":[516,\"show-fire-warden-icon\"],\"showFirstAidIcon\":[516,\"show-first-aid-icon\"],\"showToggleSwitch\":[516,\"show-toggle-switch\"],\"showMenu\":[516,\"show-menu\"],\"src\":[513]},[[0,\"switchupdate\",\"switchUpdateHandler\"]]]]],[\"sas-menu-bar.cjs\",[[1,\"sas-menu-bar\",{\"sticky\":[516]},[[0,\"selectUpdateEventUsedInternal\",\"selectUpdateEventUsedInternalHandler\"],[0,\"multiselectUpdateEventUsedInternal\",\"multiselectUpdateEventUsedInternalHandler\"],[0,\"dateFieldUpdateEventUsedInternal\",\"dateFieldUpdateEventUsedInternalHandler\"],[0,\"inputupdate\",\"inputUpdateEventUsedInternalHandler\"],[0,\"inputContainerClick\",\"inputinputContainerClickEventInternalHandler\"]]]]],[\"sas-card.cjs\",[[1,\"sas-card\",{\"block\":[516],\"src\":[513],\"lazyImage\":[516,\"lazy-image\"],\"scale\":[513],\"repair\":[516],\"attachment\":[516],\"disabled\":[516],\"cardTitle\":[513,\"card-title\"],\"showMenu\":[516,\"show-menu\"]}]]],[\"sas-navigation-top.cjs\",[[1,\"sas-navigation-top\",{\"name\":[513],\"user\":[513],\"src\":[513]}]]],[\"sas-stepper.cjs\",[[1,\"sas-stepper\",{\"total\":[514],\"current\":[1538],\"names\":[16],\"direction\":[513],\"backgroundTheme\":[513,\"background-theme\"]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-pagination.cjs\",[[1,\"sas-pagination\",{\"totalPage\":[514,\"total-page\"],\"totalIndex\":[514,\"total-index\"],\"currentPage\":[1538,\"current-page\"]}]]],[\"sas-radio-group.cjs\",[[1,\"sas-radio-group\",{\"name\":[513],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"required\":[516],\"value\":[1032],\"defaultValue\":[520,\"default-value\"],\"text\":[1537],\"rawData\":[1032,\"raw-data\"],\"options\":[16],\"update\":[64]},[[0,\"radioupdate\",\"radioUpdateHandler\"]]]]],[\"sas-upload.cjs\",[[1,\"sas-upload\",{\"compact\":[516],\"inputOutside\":[516,\"input-outside\"],\"fullImage\":[516,\"full-image\"],\"type\":[513],\"label\":[513],\"name\":[513],\"max\":[514],\"size\":[514],\"accept\":[513],\"files\":[1040],\"removedFiles\":[1040],\"method\":[513],\"url\":[513],\"required\":[516],\"disabled\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"submit\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64],\"getFormData\":[64],\"checkFileUpdate\":[64]}]]],[\"sas-alert.cjs\",[[1,\"sas-alert\",{\"type\":[513],\"show\":[1540],\"close\":[516],\"alertTitle\":[1,\"alert-title\"],\"content\":[1]}]]],[\"sas-carousel.cjs\",[[1,\"sas-carousel\",{\"index\":[1538],\"slides\":[16]}]]],[\"sas-details.cjs\",[[1,\"sas-details\",{\"open\":[516],\"icon\":[513],\"autoGap\":[516,\"auto-gap\"],\"checkIsOpen\":[64]}]]],[\"sas-navigation.cjs\",[[1,\"sas-navigation\",{\"name\":[513]}]]],[\"sas-avatar-group.cjs\",[[1,\"sas-avatar-group\"]]],[\"sas-breadcrumb.cjs\",[[1,\"sas-breadcrumb\",{\"items\":[16],\"showAll\":[32]}]]],[\"sas-button-group.cjs\",[[1,\"sas-button-group\",{\"values\":[1040],\"multiple\":[516]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-container.cjs\",[[1,\"sas-container\",{\"gridTemplateColumns\":[513,\"grid-template-columns\"],\"gridTemplateRows\":[513,\"grid-template-rows\"],\"justifyItems\":[513,\"justify-items\"],\"alignItems\":[513,\"align-items\"]}]]],[\"sas-details-group.cjs\",[[1,\"sas-details-group\",{\"autoClose\":[516,\"auto-close\"]},[[0,\"detailsupdate\",\"detailsUpdateHandler\"]]]]],[\"sas-form.cjs\",[[1,\"sas-form\",{\"method\":[513],\"url\":[513],\"reset\":[64],\"validate\":[64],\"submit\":[64]}]]],[\"sas-tab.cjs\",[[1,\"sas-tab\",null,[[0,\"tabItemClicked\",\"tabItemClickedHandler\"]]]]],[\"sas-tab-item.cjs\",[[1,\"sas-tab-item\",{\"value\":[513],\"text\":[513]}]]],[\"sas-date-field.cjs\",[[1,\"sas-date-field\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"icon\":[513],\"position\":[513],\"positionH\":[513,\"position-h\"],\"validity\":[1040],\"message\":[1537],\"valueMissingMessage\":[513,\"value-missing-message\"],\"rangeOverflowMessage\":[513,\"range-overflow-message\"],\"rangeUnderflowMessage\":[513,\"range-underflow-message\"],\"localDate\":[32],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"]]]]],[\"sas-checkbox-group.cjs\",[[1,\"sas-checkbox-group\",{\"name\":[513],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"required\":[516],\"values\":[1040],\"rawData\":[1040],\"max\":[514],\"options\":[1040],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"columns\":[514],\"update\":[64]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]]]],[\"sas-radio.cjs\",[[1,\"sas-radio\",{\"name\":[513],\"value\":[8],\"text\":[513],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"tabindexNumber\":[32],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-badge.cjs\",[[1,\"sas-badge\",{\"type\":[513],\"status\":[513],\"number\":[514],\"inline\":[516]}]]],[\"sas-divider.cjs\",[[1,\"sas-divider\",{\"type\":[1]}]]],[\"sas-switch.cjs\",[[1,\"sas-switch\",{\"name\":[513],\"checked\":[1540],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-avatar.cjs\",[[1,\"sas-avatar\",{\"type\":[513],\"name\":[513],\"src\":[513],\"disabled\":[516],\"group\":[516]}]]],[\"sas-table.cjs\",[[1,\"sas-table\",{\"headers\":[16],\"items\":[16],\"sortedItems\":[32]}]]],[\"sas-image.cjs\",[[1,\"sas-image\",{\"imageObject\":[8,\"image-object\"],\"src\":[513],\"lazy\":[516]}]]],[\"sas-checkbox_2.cjs\",[[1,\"sas-checkbox\",{\"name\":[513],\"value\":[8],\"text\":[513],\"index\":[514],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[513],\"error\":[1540],\"required\":[516],\"validity\":[1040],\"message\":[1537],\"exclusive\":[516],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}],[1,\"sas-checkbox-subgroup\",{\"value\":[8],\"text\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[1025],\"status\":[1025]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]]]],[\"sas-button.cjs\",[[1,\"sas-button\",{\"type\":[513],\"size\":[513],\"text\":[513],\"iconLeft\":[513,\"icon-left\"],\"icon\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconRight\":[513,\"icon-right\"],\"block\":[516],\"loading\":[516],\"disabled\":[516],\"href\":[513],\"target\":[513],\"tabindexNumber\":[32]}]]],[\"sas-form-input-template_4.cjs\",[[1,\"sas-form-input-template\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"placeholder\":[1],\"type\":[1],\"value\":[1],\"max\":[513],\"min\":[513],\"iconRight\":[1,\"icon-right\"],\"readonly\":[4],\"error\":[516],\"disabled\":[516],\"clear\":[516],\"position\":[513],\"positionH\":[513,\"position-h\"],\"show\":[1540],\"clickClose\":[516,\"click-close\"],\"minimumPixelsAboveComponentRequired\":[514,\"minimum-pixels-above-component-required\"],\"minimumPixelsRightOfComponentRequired\":[514,\"minimum-pixels-right-of-component-required\"]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-input\",{\"type\":[513],\"step\":[513],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"label\":[513],\"outside\":[516],\"required\":[516],\"maxlength\":[514],\"minlength\":[514],\"max\":[513],\"min\":[513],\"iconLabel\":[513,\"icon-label\"],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"clear\":[516],\"readonly\":[516],\"disabled\":[516],\"validity\":[1032],\"error\":[1540],\"message\":[1537],\"country\":[1537],\"placeholderNumberType\":[513,\"placeholder-number-type\"],\"isValidNumber\":[1540,\"is-valid-number\"],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64],\"setCustomValidity\":[64]},[[0,\"inputTelUpdate\",\"inputTelUpdateHandler\"],[0,\"inputTextareaUpdate\",\"inputTextareaUpdateHandler\"]]],[1,\"sas-input-tel\",{\"getValidity\":[64],\"setCountry\":[64],\"setPlaceholder\":[64],\"update\":[64]}],[1,\"sas-input-textarea\",{\"placeholder\":[513],\"maxlength\":[514],\"minlength\":[514],\"value\":[513]}]]]]"), options);
|
|
19
|
+
return index.bootstrapLazy(JSON.parse("[[\"sas-button_13.cjs\",[[1,\"sas-setup-guide-tile\",{\"title\":[1],\"description\":[1],\"alertTitle\":[1,\"alert-title\"],\"alertmessage\":[1],\"icon\":[1],\"image\":[1],\"width\":[513],\"status\":[4],\"completed\":[1],\"pending\":[1],\"locked\":[1],\"completedopen\":[32],\"expanded\":[32]}],[1,\"sas-setup-guide-progress-button\",{\"buttonTitle\":[1,\"button-title\"],\"progress\":[514],\"backgroundColor\":[1,\"background-color\"],\"icon\":[1]}],[1,\"sas-panel\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"buttonText\":[1,\"button-text\"],\"width\":[513],\"href\":[1],\"newTab\":[4,\"new-tab\"]}],[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[1537],\"disabled\":[1540]}],[1,\"sas-progress-bar\",{\"progress\":[514],\"progressGates\":[16]}],[1,\"sas-list\",{\"toggle\":[516],\"compact\":[516],\"border\":[516],\"subtextPosition\":[513,\"subtext-position\"],\"value\":[1544],\"rawData\":[1032,\"raw-data\"],\"text\":[1537],\"defaultValue\":[520,\"default-value\"],\"options\":[16],\"update\":[64]},[[0,\"listItemClicked\",\"listItemClickedHandler\"],[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-chip\",{\"type\":[513],\"status\":[513],\"outlined\":[516],\"close\":[516],\"inside\":[516],\"text\":[513],\"uppercase\":[516],\"bold\":[516]}],[1,\"sas-chat-bubble\",{\"position\":[513]}],[1,\"sas-sublist\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"iconRight\":[513,\"icon-right\"],\"toggle\":[516],\"compact\":[516],\"hideSub\":[1540,\"hide-sub\"],\"selected\":[1540]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-list-item\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"subtextPosition\":[513,\"subtext-position\"],\"iconRight\":[513,\"icon-right\"],\"selected\":[516],\"alwaysShown\":[516,\"always-shown\"],\"disabled\":[516],\"index\":[514],\"href\":[513],\"target\":[513]}],[1,\"sas-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64],\"open\":[64]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-button\",{\"type\":[513],\"size\":[513],\"text\":[513],\"iconLeft\":[513,\"icon-left\"],\"icon\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconRight\":[513,\"icon-right\"],\"block\":[516],\"loading\":[516],\"disabled\":[516],\"href\":[513],\"target\":[513],\"tabindexNumber\":[32]}],[1,\"sas-icon\",{\"type\":[513],\"size\":[513],\"status\":[513],\"icon\":[513],\"index\":[2]}]]],[\"sas-multiselect.cjs\",[[1,\"sas-multiselect\",{\"type\":[513],\"search\":[516],\"filterText\":[513,\"filter-text\"],\"noMatchAction\":[513,\"no-match-action\"],\"noMatchTip\":[513,\"no-match-tip\"],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"disabled\":[516],\"clear\":[516],\"placeholder\":[513],\"options\":[1040],\"name\":[513],\"values\":[1040],\"rawData\":[1040],\"min\":[514],\"max\":[514],\"maxChip\":[514,\"max-chip\"],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"buttonFilterText\":[1,\"button-filter-text\"],\"value\":[32],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"checkboxgroupupdate\",\"checkboxUpdateHandler\"],[0,\"chipUpdate\",\"chipUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]]]],[\"sas-date-range.cjs\",[[1,\"sas-date-range\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"name\":[513],\"min\":[513],\"max\":[513],\"from\":[1537],\"to\":[1537],\"required\":[516],\"disabled\":[516],\"position\":[513],\"validity\":[1040],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-select.cjs\",[[1,\"sas-select\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"type\":[513],\"noMatchTip\":[513,\"no-match-tip\"],\"placeholder\":[513],\"disabled\":[516],\"clear\":[516],\"options\":[1040],\"alwaysShownOptions\":[1040],\"defaultValue\":[520,\"default-value\"],\"name\":[513],\"value\":[1032],\"rawData\":[1032,\"raw-data\"],\"text\":[1032],\"subtextPosition\":[513,\"subtext-position\"],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"listItemClicked\",\"listItemClickedHandler\"],[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"],[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputClear\",\"inputClearHandler\"],[0,\"inputFocus\",\"inputFocusHandler\"],[0,\"inputBlur\",\"inputBlurHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]]]],[\"sas-time-field.cjs\",[[1,\"sas-time-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"],[0,\"listItemClicked\",\"listItemClickedHandler\"]]]]],[\"sas-user-card.cjs\",[[1,\"sas-user-card\",{\"block\":[516],\"name\":[513],\"position\":[513],\"status\":[1537],\"badge\":[516],\"attachment\":[516],\"showFireWardenIcon\":[516,\"show-fire-warden-icon\"],\"showFirstAidIcon\":[516,\"show-first-aid-icon\"],\"showToggleSwitch\":[516,\"show-toggle-switch\"],\"showMenu\":[516,\"show-menu\"],\"src\":[513]},[[0,\"switchupdate\",\"switchUpdateHandler\"]]]]],[\"sas-menu-bar.cjs\",[[1,\"sas-menu-bar\",{\"sticky\":[516]},[[0,\"selectUpdateEventUsedInternal\",\"selectUpdateEventUsedInternalHandler\"],[0,\"multiselectUpdateEventUsedInternal\",\"multiselectUpdateEventUsedInternalHandler\"],[0,\"dateFieldUpdateEventUsedInternal\",\"dateFieldUpdateEventUsedInternalHandler\"],[0,\"inputupdate\",\"inputUpdateEventUsedInternalHandler\"],[0,\"inputContainerClick\",\"inputinputContainerClickEventInternalHandler\"]]]]],[\"sas-card.cjs\",[[1,\"sas-card\",{\"block\":[516],\"src\":[513],\"lazyImage\":[516,\"lazy-image\"],\"scale\":[513],\"repair\":[516],\"attachment\":[516],\"disabled\":[516],\"cardTitle\":[513,\"card-title\"],\"showMenu\":[516,\"show-menu\"]}]]],[\"sas-navigation-top.cjs\",[[1,\"sas-navigation-top\",{\"name\":[513],\"user\":[513],\"src\":[513]}]]],[\"sas-stepper.cjs\",[[1,\"sas-stepper\",{\"total\":[514],\"current\":[1538],\"names\":[16],\"direction\":[513],\"backgroundTheme\":[513,\"background-theme\"]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-pagination.cjs\",[[1,\"sas-pagination\",{\"totalPage\":[514,\"total-page\"],\"totalIndex\":[514,\"total-index\"],\"currentPage\":[1538,\"current-page\"]}]]],[\"sas-radio-group.cjs\",[[1,\"sas-radio-group\",{\"name\":[513],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"required\":[516],\"value\":[1032],\"defaultValue\":[520,\"default-value\"],\"text\":[1537],\"rawData\":[1032,\"raw-data\"],\"options\":[16],\"update\":[64]},[[0,\"radioupdate\",\"radioUpdateHandler\"]]]]],[\"sas-upload.cjs\",[[1,\"sas-upload\",{\"compact\":[516],\"inputOutside\":[516,\"input-outside\"],\"fullImage\":[516,\"full-image\"],\"type\":[513],\"label\":[513],\"name\":[513],\"max\":[514],\"size\":[514],\"accept\":[513],\"files\":[1040],\"removedFiles\":[1040],\"method\":[513],\"url\":[513],\"required\":[516],\"disabled\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"submit\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64],\"getFormData\":[64],\"checkFileUpdate\":[64]}]]],[\"sas-alert.cjs\",[[1,\"sas-alert\",{\"type\":[513],\"show\":[1540],\"close\":[516],\"alertTitle\":[1,\"alert-title\"],\"content\":[1]}]]],[\"sas-carousel.cjs\",[[1,\"sas-carousel\",{\"index\":[1538],\"slides\":[16]}]]],[\"sas-details.cjs\",[[1,\"sas-details\",{\"open\":[516],\"icon\":[513],\"autoGap\":[516,\"auto-gap\"],\"checkIsOpen\":[64]}]]],[\"sas-navigation.cjs\",[[1,\"sas-navigation\",{\"name\":[513]}]]],[\"sas-avatar-group.cjs\",[[1,\"sas-avatar-group\"]]],[\"sas-breadcrumb.cjs\",[[1,\"sas-breadcrumb\",{\"items\":[16],\"showAll\":[32]}]]],[\"sas-button-group.cjs\",[[1,\"sas-button-group\",{\"values\":[1040],\"multiple\":[516]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-container.cjs\",[[1,\"sas-container\",{\"gridTemplateColumns\":[513,\"grid-template-columns\"],\"gridTemplateRows\":[513,\"grid-template-rows\"],\"justifyItems\":[513,\"justify-items\"],\"alignItems\":[513,\"align-items\"]}]]],[\"sas-details-group.cjs\",[[1,\"sas-details-group\",{\"autoClose\":[516,\"auto-close\"]},[[0,\"detailsupdate\",\"detailsUpdateHandler\"]]]]],[\"sas-form.cjs\",[[1,\"sas-form\",{\"method\":[513],\"url\":[513],\"reset\":[64],\"validate\":[64],\"submit\":[64]}]]],[\"sas-tab.cjs\",[[1,\"sas-tab\",null,[[0,\"tabItemClicked\",\"tabItemClickedHandler\"]]]]],[\"sas-tab-item.cjs\",[[1,\"sas-tab-item\",{\"value\":[513],\"text\":[513]}]]],[\"sas-date-field.cjs\",[[1,\"sas-date-field\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"icon\":[513],\"position\":[513],\"positionH\":[513,\"position-h\"],\"validity\":[1040],\"message\":[1537],\"valueMissingMessage\":[513,\"value-missing-message\"],\"rangeOverflowMessage\":[513,\"range-overflow-message\"],\"rangeUnderflowMessage\":[513,\"range-underflow-message\"],\"localDate\":[32],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"]]]]],[\"sas-checkbox-group.cjs\",[[1,\"sas-checkbox-group\",{\"name\":[513],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"required\":[516],\"values\":[1040],\"rawData\":[1040],\"max\":[514],\"options\":[1040],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"columns\":[514],\"update\":[64]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]]]],[\"sas-radio.cjs\",[[1,\"sas-radio\",{\"name\":[513],\"value\":[8],\"text\":[513],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"tabindexNumber\":[32],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-badge.cjs\",[[1,\"sas-badge\",{\"type\":[513],\"status\":[513],\"number\":[514],\"inline\":[516]}]]],[\"sas-divider.cjs\",[[1,\"sas-divider\",{\"type\":[1]}]]],[\"sas-switch.cjs\",[[1,\"sas-switch\",{\"name\":[513],\"checked\":[1540],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-avatar.cjs\",[[1,\"sas-avatar\",{\"type\":[513],\"name\":[513],\"src\":[513],\"disabled\":[516],\"group\":[516]}]]],[\"sas-table.cjs\",[[1,\"sas-table\",{\"headers\":[16],\"items\":[16],\"sortedItems\":[32]}]]],[\"sas-image.cjs\",[[1,\"sas-image\",{\"imageObject\":[8,\"image-object\"],\"src\":[513],\"lazy\":[516]}]]],[\"sas-checkbox_2.cjs\",[[1,\"sas-checkbox\",{\"name\":[513],\"value\":[8],\"text\":[513],\"index\":[514],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[513],\"error\":[1540],\"required\":[516],\"validity\":[1040],\"message\":[1537],\"exclusive\":[516],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}],[1,\"sas-checkbox-subgroup\",{\"value\":[8],\"text\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[1025],\"status\":[1025]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]]]],[\"sas-form-input-template_4.cjs\",[[1,\"sas-form-input-template\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"placeholder\":[1],\"type\":[1],\"value\":[1],\"max\":[513],\"min\":[513],\"iconRight\":[1,\"icon-right\"],\"readonly\":[4],\"error\":[516],\"disabled\":[516],\"clear\":[516],\"position\":[513],\"positionH\":[513,\"position-h\"],\"show\":[1540],\"clickClose\":[516,\"click-close\"],\"minimumPixelsAboveComponentRequired\":[514,\"minimum-pixels-above-component-required\"],\"minimumPixelsRightOfComponentRequired\":[514,\"minimum-pixels-right-of-component-required\"]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-input\",{\"type\":[513],\"step\":[513],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"label\":[513],\"outside\":[516],\"required\":[516],\"maxlength\":[514],\"minlength\":[514],\"max\":[513],\"min\":[513],\"iconLabel\":[513,\"icon-label\"],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"clear\":[516],\"readonly\":[516],\"disabled\":[516],\"validity\":[1032],\"error\":[1540],\"message\":[1537],\"country\":[1537],\"placeholderNumberType\":[513,\"placeholder-number-type\"],\"isValidNumber\":[1540,\"is-valid-number\"],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64],\"setCustomValidity\":[64]},[[0,\"inputTelUpdate\",\"inputTelUpdateHandler\"],[0,\"inputTextareaUpdate\",\"inputTextareaUpdateHandler\"]]],[1,\"sas-input-tel\",{\"getValidity\":[64],\"setCountry\":[64],\"setPlaceholder\":[64],\"update\":[64]}],[1,\"sas-input-textarea\",{\"placeholder\":[513],\"maxlength\":[514],\"minlength\":[514],\"value\":[513]}]]]]"), options);
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -3430,6 +3430,8 @@ function init$1(options) {
|
|
|
3430
3430
|
width: options.width ?? '600px',
|
|
3431
3431
|
showConfirmButton: false,
|
|
3432
3432
|
padding: "30px",
|
|
3433
|
+
allowOutsideClick: options.allowOutsideClick ?? true,
|
|
3434
|
+
allowEscapeKey: options.allowEscapeKey ?? true,
|
|
3433
3435
|
customClass: {
|
|
3434
3436
|
popup: 'sas-dialog-swal-custom-popup',
|
|
3435
3437
|
header: 'sas-dialog-swal-custom-header',
|
|
@@ -5,6 +5,108 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-cd75521b.js');
|
|
6
6
|
const global = require('./global-fcd219ac.js');
|
|
7
7
|
|
|
8
|
+
const sasButtonCss = ":host{display:inline-block}:host .container{display:inline-flex;justify-content:space-between;align-items:center;box-sizing:border-box;font-weight:500;cursor:pointer;position:relative;border-radius:var(--button-border-radius, 5px);margin:var(--button-margin, 0);line-height:normal;width:var(--button-width, initial)}:host .container:before{content:\"\";position:absolute;top:-1px;left:-1px;width:calc(100% + 2px);height:calc(100% + 2px);border-radius:inherit;background-color:currentColor;opacity:0}:host .container:focus{outline:none}:host .container:hover:before,:host .container:focus:before{opacity:0.24}:host .anchor{position:absolute;left:0;top:0;height:100%;width:100%}:host .button-main-content{display:inline-flex;justify-content:center;align-items:center;flex-grow:1}:host .button-icon{margin:0 4px;--icon-color:currentColor}:host .button-text{margin:0 4px;white-space:nowrap}:host(:focus){outline:none}:host([tabindex=\"0\"]) .container:active:before{opacity:0.48}:host([size=exlarge]) .container{font-size:var(--button-font-size, 22px);padding:var(--button-padding, 0 20px);height:var(--button-height, 64px);--icon-background-width:var(--button-font-size, 22px);--icon-background-height:var(--button-font-size, 22px);--icon-size:var(--button-font-size, 22px)}:host([size=large]) .container{font-size:var(--button-font-size, 16px);padding:var(--button-padding, 0 20px);height:var(--button-height, 46px);--icon-background-width:var(--button-font-size, 16px);--icon-background-height:var(--button-font-size, 16px);--icon-size:var(--button-font-size, 16px)}:host([size=default]) .container{font-size:var(--button-font-size, 14px);padding:var(--button-padding, 0 20px);height:var(--button-height, 40px);--icon-background-width:var(--button-font-size, 14px);--icon-background-height:var(--button-font-size, 14px);--icon-size:var(--button-font-size, 14px)}:host([size=small]) .container{font-size:var(--button-font-size, 12px);padding:var(--button-padding, 0 10px);height:var(--button-height, 29px);--icon-background-width:var(--button-font-size, 12px);--icon-background-height:var(--button-font-size, 12px);--icon-size:var(--button-font-size, 12px)}:host([type=primary]) .container{background-color:var(--button-background-color, var(--primary));color:var(--button-color, white);border:var(--button-border, 1px solid var(--primary))}:host([type=secondary]) .container{background-color:var(--button-background-color, var(--s-200));color:var(--button-color, var(--secondary));border:var(--button-border, 1px solid var(--s-200))}:host([type=text]) .container{background-color:var(--button-background-color, white);color:var(--button-color, var(--secondary));border:var(--button-border, 1px solid var(--s-300))}:host([disabled]:not([disabled=false])){pointer-events:none}:host([disabled]:not([disabled=false])) .container{background-color:var(--button-background-color, var(--button-disabled-background));color:var(--button-color, var(--button-disabled-text));border:var(--button-border, 1px solid var(--button-disabled-background))}:host([type=text][disabled]:not([disabled=false])) .container{background-color:var(--button-background-color, var(--button-text-background));border:var(--button-border, 1px solid var(--button-text-disabled-border))}:host([block]:not([block=false])){width:100%}:host([block]:not([block=false])) .container{width:100%}:host([loading]:not([loading=false])) .container{pointer-events:none}:host([loading]:not([loading=false])) .loading-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);--icon-color:currentColor}:host([loading]:not([loading=false])) .button-icon,:host([loading]:not([loading=false])) .button-text{opacity:0}";
|
|
9
|
+
|
|
10
|
+
let SasButton = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.buttonClicked = index.createEvent(this, "buttonClicked", 7);
|
|
14
|
+
this.buttonclicked = index.createEvent(this, "buttonclicked", 7);
|
|
15
|
+
/**
|
|
16
|
+
* Type
|
|
17
|
+
*/
|
|
18
|
+
this.type = 'primary';
|
|
19
|
+
/**
|
|
20
|
+
* Size
|
|
21
|
+
*/
|
|
22
|
+
this.size = 'default';
|
|
23
|
+
/**
|
|
24
|
+
* Text
|
|
25
|
+
*/
|
|
26
|
+
this.text = 'button';
|
|
27
|
+
/**
|
|
28
|
+
* Icon left
|
|
29
|
+
*/
|
|
30
|
+
this.iconLeft = null;
|
|
31
|
+
/**
|
|
32
|
+
* Icon
|
|
33
|
+
*/
|
|
34
|
+
this.icon = null;
|
|
35
|
+
/**
|
|
36
|
+
* Icon position
|
|
37
|
+
*/
|
|
38
|
+
this.iconPosition = 'left';
|
|
39
|
+
/**
|
|
40
|
+
* Expands the button to 100% of available space
|
|
41
|
+
*/
|
|
42
|
+
this.block = false;
|
|
43
|
+
/**
|
|
44
|
+
* Adds a loading icon animation
|
|
45
|
+
*/
|
|
46
|
+
this.loading = false;
|
|
47
|
+
/**
|
|
48
|
+
* Disabled
|
|
49
|
+
*/
|
|
50
|
+
this.disabled = false;
|
|
51
|
+
/**
|
|
52
|
+
* Designates the component as anchor and applies the href attribute.
|
|
53
|
+
*/
|
|
54
|
+
this.href = null;
|
|
55
|
+
/**
|
|
56
|
+
* Designates the target attribute. This should only be applied when using the href prop.
|
|
57
|
+
*/
|
|
58
|
+
this.target = '';
|
|
59
|
+
this.tabindexNumber = 0;
|
|
60
|
+
this.clickEvent = (event) => {
|
|
61
|
+
const index = this.getClickedElementIndex(event.target);
|
|
62
|
+
this.buttonClicked.emit(index);
|
|
63
|
+
this.buttonclicked.emit(index);
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
componentWillRender() {
|
|
67
|
+
if (this.disabled) {
|
|
68
|
+
this.tabindexNumber = -1;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
this.tabindexNumber = 0;
|
|
72
|
+
}
|
|
73
|
+
const slot = this.el.querySelector('[slot="buttonText"]');
|
|
74
|
+
if (slot && this.text === 'button') {
|
|
75
|
+
this.text = slot.innerHTML;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
getClickedElementIndex(clickedElement) {
|
|
79
|
+
let index = 0;
|
|
80
|
+
let prevSibling = clickedElement.previousElementSibling;
|
|
81
|
+
while (prevSibling) {
|
|
82
|
+
if (clickedElement.tagName === prevSibling.tagName) {
|
|
83
|
+
index += 1;
|
|
84
|
+
}
|
|
85
|
+
prevSibling = prevSibling.previousElementSibling;
|
|
86
|
+
}
|
|
87
|
+
return index;
|
|
88
|
+
}
|
|
89
|
+
render() {
|
|
90
|
+
return (index.h(index.Host, { tabindex: this.tabindexNumber, onClick: this.clickEvent, onKeyDown: global.keydownEvent }, index.h("div", { class: "container" }, Boolean(this.href)
|
|
91
|
+
? index.h("a", { href: this.href, target: this.target, class: "anchor" })
|
|
92
|
+
: null, this.loading
|
|
93
|
+
? index.h("sas-icon", { class: "loading-icon", icon: "fas fa-spinner fa-spin" })
|
|
94
|
+
: null, Boolean(this.iconLeft)
|
|
95
|
+
? index.h("sas-icon", { class: "button-icon", icon: this.iconLeft })
|
|
96
|
+
: null, index.h("div", { class: "button-main-content" }, this.icon && this.iconPosition === 'left'
|
|
97
|
+
? index.h("sas-icon", { class: "button-icon", icon: this.icon })
|
|
98
|
+
: null, Boolean(this.text)
|
|
99
|
+
? index.h("div", { class: "button-text" }, this.text)
|
|
100
|
+
: null, this.icon && this.iconPosition === 'right'
|
|
101
|
+
? index.h("sas-icon", { class: "button-icon", icon: this.icon })
|
|
102
|
+
: null), Boolean(this.iconRight)
|
|
103
|
+
? index.h("sas-icon", { class: "button-icon", icon: this.iconRight })
|
|
104
|
+
: null, index.h("slot", null))));
|
|
105
|
+
}
|
|
106
|
+
get el() { return index.getElement(this); }
|
|
107
|
+
};
|
|
108
|
+
SasButton.style = sasButtonCss;
|
|
109
|
+
|
|
8
110
|
const sasChatBubbleCss = ":host{border-radius:3px;padding:6px 9px;background-color:var(--secondary);font-size:12px;line-height:18px;color:#FFF;position:absolute;transition:opacity 0.5s;max-width:200px;width:max-content}:host:before{content:\"\";width:0;height:0;border:5px solid transparent;position:absolute;transform:rotate(45deg)}:host([position=top]){bottom:calc(100% + 12px);left:50%;transform:translateX(-50%)}:host([position=top]):before{bottom:-4px;border-bottom-color:var(--secondary);border-right-color:var(--secondary);left:calc(50% - 5px)}:host([position=bottom]){top:calc(100% + 12px);left:50%;transform:translateX(-50%)}:host([position=bottom]):before{top:-4px;border-top-color:var(--secondary);border-left-color:var(--secondary);transform:rotate(45deg);left:calc(50% - 5px)}:host([position=left]){right:calc(100% + 12px);top:50%;transform:translateY(-50%)}:host([position=left]):before{right:-4px;border-top-color:var(--secondary);border-right-color:var(--secondary);top:calc(50% - 5px)}:host([position=right]){left:calc(100% + 12px);top:50%;transform:translateY(-50%)}:host([position=right]):before{left:-4px;border-bottom-color:var(--secondary);border-left-color:var(--secondary);top:calc(50% - 5px)}";
|
|
9
111
|
|
|
10
112
|
let SasChatBubble = class {
|
|
@@ -811,7 +913,7 @@ let SasSetupGuideProgressButton = class {
|
|
|
811
913
|
};
|
|
812
914
|
SasSetupGuideProgressButton.style = sasSetupGuideProgressButtonCss;
|
|
813
915
|
|
|
814
|
-
const sasSetupGuideTileCss = ":host{display:block}.tile{border:1px solid #e5e7eb;border-radius:10px;background:#fff;padding:16px;display:flex;flex-direction:column;gap:16px}.header{display:flex;flex-direction:column;gap:4px}.header .title{font-size:16px;font-weight:600;margin-top:0;margin-bottom:5px;text-align:left}.header .info{display:flex;align-items:self-start;gap:8px}.header .info .video-icon{cursor:pointer;color:#2563eb}.header .info .description{font-size:12px;color:#253F4D;text-align:left}.dashed-divider{height:1px;background:repeating-linear-gradient(to right, #D0D9DE, #D0D9DE 5px, transparent 5px, transparent 10px)}.dashed-divider.mtb-8{margin-top:8px;margin-bottom:8px}.completed{background:#EBF9DD;border-radius:6px;text-align:left}.completed .completed-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;font-weight:600;color:#152731;cursor:pointer;font-size:14px}.completed .completed-header .right{display:flex;align-items:center;gap:8px;align-items:baseline}.completed .completed-header .count{font-weight:600}.completed .completedItem{cursor:pointer}.completed .dflex{display:flex;flex-direction:row;justify-content:space-between}.completed .completed-list{height:0;max-height:fit-content;opacity:0;overflow:hidden;transition:height 0.4s ease-in-out 0s, opacity 0.4s ease-in-out 0s}.completed .completed-list.open{height:500px;max-height:fit-content;opacity:1}.completed .completed-list .completed-item{display:flex;justify-content:space-between;font-size:14px;color:#152731;padding:6px 16px 12px 16px;align-items:center}.pending-container{display:flex;flex-direction:column;gap:8px}.pending{padding:12px 16px;border-radius:6px;background:#ECEFF180;font-size:14px;font-weight:400;color:#253F4D;display:flex;flex-direction:row;justify-content:space-between;cursor:pointer;text-align:left;gap:10px;align-items:center}.pending-list.open{overflow:visible;}.pending-list{display:flex;flex-direction:column;gap:8px;height:0;max-height:fit-content;overflow:hidden;opacity:0;transition:height 0.4s ease-in-out, opacity 0.4s ease-in-out}.pending-list.open{height:400px;max-height:fit-content;opacity:1}.pending-list .pending-item{padding:12px 16px;border-radius:0.375rem;background:#ECEFF180;font-size:14px;font-weight:400;color:#253F4D;display:flex;flex-direction:row;justify-content:space-between;text-align:left;height:20px;align-items:center}.see-more{display:flex;align-self:center;background:none;border:none;color:#0D76B4;cursor:pointer;font-size:12px;font-weight:400;padding:4px 0;align-items:center}.see-more sas-icon{margin-left:10px}.disabled
|
|
916
|
+
const sasSetupGuideTileCss = ":host{display:block}.tile{border:1px solid #e5e7eb;border-radius:10px;background:#fff;padding:16px;display:flex;flex-direction:column;gap:16px}.header{display:flex;flex-direction:column;gap:4px}.header .title{font-size:16px;font-weight:600;margin-top:0;margin-bottom:5px;text-align:left}.header .info{display:flex;align-items:self-start;gap:8px}.header .info .video-icon{cursor:pointer;color:#2563eb}.header .info .description{font-size:12px;color:#253F4D;text-align:left}.dashed-divider{height:1px;background:repeating-linear-gradient(to right, #D0D9DE, #D0D9DE 5px, transparent 5px, transparent 10px)}.dashed-divider.mtb-8{margin-top:8px;margin-bottom:8px}.completed{background:#EBF9DD;border-radius:6px;text-align:left}.completed .completed-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;font-weight:600;color:#152731;cursor:pointer;font-size:14px}.completed .completed-header .right{display:flex;align-items:center;gap:8px;align-items:baseline}.completed .completed-header .count{font-weight:600}.completed .completedItem{cursor:pointer}.completed .dflex{display:flex;flex-direction:row;justify-content:space-between}.completed .completed-list{height:0;max-height:fit-content;opacity:0;overflow:hidden;transition:height 0.4s ease-in-out 0s, opacity 0.4s ease-in-out 0s}.completed .completed-list.open{height:500px;max-height:fit-content;opacity:1}.completed .completed-list .completed-item{display:flex;justify-content:space-between;font-size:14px;color:#152731;padding:6px 16px 12px 16px;align-items:center}.pending-container{display:flex;flex-direction:column;gap:8px}.pending{padding:12px 16px;border-radius:6px;background:#ECEFF180;font-size:14px;font-weight:400;color:#253F4D;display:flex;flex-direction:row;justify-content:space-between;cursor:pointer;text-align:left;gap:10px;align-items:center}.pending-list.open{overflow:visible;}.pending-list{display:flex;flex-direction:column;gap:8px;height:0;max-height:fit-content;overflow:hidden;opacity:0;transition:height 0.4s ease-in-out, opacity 0.4s ease-in-out}.pending-list.open{height:400px;max-height:fit-content;opacity:1}.pending-list .pending-item{padding:12px 16px;border-radius:0.375rem;background:#ECEFF180;font-size:14px;font-weight:400;color:#253F4D;display:flex;flex-direction:row;justify-content:space-between;text-align:left;height:20px;align-items:center}.see-more{display:flex;align-self:center;background:none;border:none;color:#0D76B4;cursor:pointer;font-size:12px;font-weight:400;padding:4px 0;align-items:center}.see-more sas-icon{margin-left:10px}.disabled .pending-item{color:#8E9EAA}.click-allowed{cursor:pointer}sas-icon{--icon-size:14px}.icon-chevron{--icon-size:12px;--icon-color:#8E9EAA}.see-more-icon{--icon-size:12px;--icon-color:#0D76B4}#icon-completed{--icon-size:16px;--icon-color:#79D51E}sas-chip{--chip-background-color:#FFF6DE;--chip-border-color:#B88D18;--chip-color:#B88D18;--chip-padding:0 5px}sas-image{cursor:pointer;width:117px;height:39px;--image-max-height:39px;--image-max-width:59px}sas-tooltip{--tooltip-display:block}.iconInfo{--icon-color:#8E9EAA;--icon-size:11px}";
|
|
815
917
|
|
|
816
918
|
let SasSetupGuideTile = class {
|
|
817
919
|
constructor(hostRef) {
|
|
@@ -820,7 +922,8 @@ let SasSetupGuideTile = class {
|
|
|
820
922
|
this.pendingitemclicked = index.createEvent(this, "pendingitemclicked", 7);
|
|
821
923
|
this.videoclicked = index.createEvent(this, "videoclicked", 7);
|
|
822
924
|
this.iconclicked = index.createEvent(this, "iconclicked", 7);
|
|
823
|
-
this.
|
|
925
|
+
this.proiconclicked = index.createEvent(this, "proiconclicked", 7);
|
|
926
|
+
this.seemoreitemclicked = index.createEvent(this, "seemoreitemclicked", 7);
|
|
824
927
|
/** Icon name for video/help */
|
|
825
928
|
this.icon = 'fas fa-video';
|
|
826
929
|
/** image for video/help */
|
|
@@ -838,16 +941,12 @@ let SasSetupGuideTile = class {
|
|
|
838
941
|
/** Expanded state for see more/less pending items */
|
|
839
942
|
this.expanded = false;
|
|
840
943
|
this.toggleCompleted = () => {
|
|
841
|
-
// alert('Status: '+this.status)
|
|
842
|
-
// alert('Completed open: '+this.completedopen)
|
|
843
|
-
// this.status = !this.status
|
|
844
|
-
// this.completedopen = !this.status;
|
|
845
944
|
this.completedopen = !this.completedopen;
|
|
846
|
-
// alert('Status: '+this.status)
|
|
847
|
-
// alert('Completed open: '+this.completedopen)
|
|
848
945
|
};
|
|
849
946
|
this.toggleExpand = () => {
|
|
850
947
|
this.expanded = !this.expanded;
|
|
948
|
+
if (this.expanded)
|
|
949
|
+
this.seemoreitemclicked.emit();
|
|
851
950
|
};
|
|
852
951
|
this.handleCompletedItemClicked = (itemId) => {
|
|
853
952
|
this.completeditemclicked.emit(itemId);
|
|
@@ -862,9 +961,14 @@ let SasSetupGuideTile = class {
|
|
|
862
961
|
event.stopPropagation(); // avoid triggering pendingitemclicked after this one
|
|
863
962
|
this.iconclicked.emit(itemId);
|
|
864
963
|
};
|
|
865
|
-
this.handleProIconClick = (event) => {
|
|
964
|
+
this.handleProIconClick = (event, itemName) => {
|
|
965
|
+
event.stopPropagation();
|
|
966
|
+
this.proiconclicked.emit(itemName);
|
|
967
|
+
};
|
|
968
|
+
this.handleProItemClicked = (event, itemName, isPro) => {
|
|
866
969
|
event.stopPropagation();
|
|
867
|
-
|
|
970
|
+
if (isPro)
|
|
971
|
+
this.proiconclicked.emit(itemName);
|
|
868
972
|
};
|
|
869
973
|
}
|
|
870
974
|
normalize(input) {
|
|
@@ -886,7 +990,7 @@ let SasSetupGuideTile = class {
|
|
|
886
990
|
const completedItems = this.normalize(this.completed);
|
|
887
991
|
const pendingItems = this.normalize(this.pending);
|
|
888
992
|
const lockedItems = this.normalize(this.locked);
|
|
889
|
-
return (index.h(index.Host, null, index.h("div", { class: "tile", style: { width: this.width } }, index.h("div", { class: "header" }, index.h("h3", { class: "title" }, this.title)), completedItems.length > 0 && (index.h("div", { class: "completed" }, index.h("div", { class: "completed-header", onClick: this.toggleCompleted }, index.h("span", null, "Completed"), index.h("div", { class: "right" }, index.h("span", { class: "count" }, completedItems.length), index.h("sas-icon", { class: "icon-chevron", icon: this.completedopen ? 'fas fa-chevron-up' : 'fas fa-chevron-down', size: "default" }))), index.h("div", { class: `completed-list ${this.completedopen ? 'open' : ''}` }, completedItems.map(item => (index.h("div", {
|
|
993
|
+
return (index.h(index.Host, null, index.h("div", { class: "tile", style: { width: this.width } }, index.h("div", { class: "header" }, index.h("h3", { class: "title" }, this.title)), completedItems.length > 0 && (index.h("div", { class: "completed" }, index.h("div", { class: "completed-header", onClick: this.toggleCompleted }, index.h("span", null, "Completed"), index.h("div", { class: "right" }, index.h("span", { class: "count" }, completedItems.length), index.h("sas-icon", { class: "icon-chevron", icon: this.completedopen ? 'fas fa-chevron-up' : 'fas fa-chevron-down', size: "default" }))), index.h("div", { class: `completed-list ${this.completedopen ? 'open' : ''}` }, completedItems.map(item => (index.h("div", { onClick: () => this.handleCompletedItemClicked(item.itemId), class: "completed-item completedItem" }, item.itemName, index.h("sas-icon", { id: "icon-completed", type: "default", size: "default", status: "high", icon: "fa-solid fa-circle-check" }))))))), completedItems.length > 0 && pendingItems.length > 0 && (index.h("div", { class: "dashed-divider" })), index.h("div", { class: "pending-container" }, pendingItems.length > 0 && pendingItems.map(item => (index.h("div", { onClick: () => this.handlePendingItemClicked(item.itemId), class: "pending" }, item.itemName, item.isPro && (index.h("sas-chip", { type: "small", status: "open", text: "PRO", onClick: (event) => this.handleProIconClick(event, item.itemName) })), !item.isPro && (index.h("sas-icon", { class: "iconInfo", type: "default", size: "default", status: "high", icon: "far fa-circle-info", onClick: (event) => this.handleIconClick(event, item.itemId) }))))), index.h("div", { class: `pending-list ${this.expanded ? 'open' : ''} disabled` }, index.h("div", { class: "dashed-divider mtb-8" }), lockedItems.length > 0 && lockedItems.map(item => (index.h("sas-tooltip", { position: 'right' }, index.h("div", { onClick: (event) => this.handleProItemClicked(event, item.itemName, item.isPro), slot: "trigger", class: "trigger-wrapper" }, index.h("div", { class: "pending-item" }, item.itemName, item.isPro && (index.h("sas-chip", { class: 'click-allowed', type: "small", status: "open", text: "PRO", onClick: (event) => this.handleProIconClick(event, item.itemName) })))), index.h("div", { slot: "text" }, item.itemLockedTooltip)))))), lockedItems.length > 0 && (index.h("button", { class: "see-more", onClick: this.toggleExpand }, this.expanded ? 'See less' : 'See more', index.h("sas-icon", { class: "see-more-icon", icon: this.expanded ? 'fas fa-chevron-up' : 'fas fa-chevron-down', type: "default", size: "default" }))))));
|
|
890
994
|
}
|
|
891
995
|
};
|
|
892
996
|
SasSetupGuideTile.style = sasSetupGuideTileCss;
|
|
@@ -1079,6 +1183,7 @@ let SasTooltip = class {
|
|
|
1079
1183
|
};
|
|
1080
1184
|
SasTooltip.style = sasTooltipCss;
|
|
1081
1185
|
|
|
1186
|
+
exports.sas_button = SasButton;
|
|
1082
1187
|
exports.sas_chat_bubble = SasChatBubble;
|
|
1083
1188
|
exports.sas_chip = SasChip;
|
|
1084
1189
|
exports.sas_dropdown = SasDropdown;
|
package/dist/cjs/sas-ui.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-cd75521b.js');
|
|
4
|
-
require('./modules-
|
|
4
|
+
require('./modules-afda8d84.js');
|
|
5
5
|
require('./_commonjsHelpers-537d719a.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
@@ -17,5 +17,5 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy(JSON.parse("[[\"sas-chat-bubble_12.cjs\",[[1,\"sas-setup-guide-tile\",{\"title\":[1],\"description\":[1],\"alertTitle\":[1,\"alert-title\"],\"alertmessage\":[1],\"icon\":[1],\"image\":[1],\"width\":[513],\"status\":[4],\"completed\":[1],\"pending\":[1],\"locked\":[1],\"completedopen\":[32],\"expanded\":[32]}],[1,\"sas-setup-guide-progress-button\",{\"buttonTitle\":[1,\"button-title\"],\"progress\":[514],\"backgroundColor\":[1,\"background-color\"],\"icon\":[1]}],[1,\"sas-panel\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"buttonText\":[1,\"button-text\"],\"width\":[513],\"href\":[1],\"newTab\":[4,\"new-tab\"]}],[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[1537],\"disabled\":[1540]}],[1,\"sas-progress-bar\",{\"progress\":[514],\"progressGates\":[16]}],[1,\"sas-list\",{\"toggle\":[516],\"compact\":[516],\"border\":[516],\"subtextPosition\":[513,\"subtext-position\"],\"value\":[1544],\"rawData\":[1032,\"raw-data\"],\"text\":[1537],\"defaultValue\":[520,\"default-value\"],\"options\":[16],\"update\":[64]},[[0,\"listItemClicked\",\"listItemClickedHandler\"],[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-chip\",{\"type\":[513],\"status\":[513],\"outlined\":[516],\"close\":[516],\"inside\":[516],\"text\":[513],\"uppercase\":[516],\"bold\":[516]}],[1,\"sas-chat-bubble\",{\"position\":[513]}],[1,\"sas-sublist\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"iconRight\":[513,\"icon-right\"],\"toggle\":[516],\"compact\":[516],\"hideSub\":[1540,\"hide-sub\"],\"selected\":[1540]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-list-item\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"subtextPosition\":[513,\"subtext-position\"],\"iconRight\":[513,\"icon-right\"],\"selected\":[516],\"alwaysShown\":[516,\"always-shown\"],\"disabled\":[516],\"index\":[514],\"href\":[513],\"target\":[513]}],[1,\"sas-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64],\"open\":[64]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-icon\",{\"type\":[513],\"size\":[513],\"status\":[513],\"icon\":[513],\"index\":[2]}]]],[\"sas-multiselect.cjs\",[[1,\"sas-multiselect\",{\"type\":[513],\"search\":[516],\"filterText\":[513,\"filter-text\"],\"noMatchAction\":[513,\"no-match-action\"],\"noMatchTip\":[513,\"no-match-tip\"],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"disabled\":[516],\"clear\":[516],\"placeholder\":[513],\"options\":[1040],\"name\":[513],\"values\":[1040],\"rawData\":[1040],\"min\":[514],\"max\":[514],\"maxChip\":[514,\"max-chip\"],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"buttonFilterText\":[1,\"button-filter-text\"],\"value\":[32],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"checkboxgroupupdate\",\"checkboxUpdateHandler\"],[0,\"chipUpdate\",\"chipUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]]]],[\"sas-date-range.cjs\",[[1,\"sas-date-range\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"name\":[513],\"min\":[513],\"max\":[513],\"from\":[1537],\"to\":[1537],\"required\":[516],\"disabled\":[516],\"position\":[513],\"validity\":[1040],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-select.cjs\",[[1,\"sas-select\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"type\":[513],\"noMatchTip\":[513,\"no-match-tip\"],\"placeholder\":[513],\"disabled\":[516],\"clear\":[516],\"options\":[1040],\"alwaysShownOptions\":[1040],\"defaultValue\":[520,\"default-value\"],\"name\":[513],\"value\":[1032],\"rawData\":[1032,\"raw-data\"],\"text\":[1032],\"subtextPosition\":[513,\"subtext-position\"],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"listItemClicked\",\"listItemClickedHandler\"],[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"],[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputClear\",\"inputClearHandler\"],[0,\"inputFocus\",\"inputFocusHandler\"],[0,\"inputBlur\",\"inputBlurHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]]]],[\"sas-time-field.cjs\",[[1,\"sas-time-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"],[0,\"listItemClicked\",\"listItemClickedHandler\"]]]]],[\"sas-user-card.cjs\",[[1,\"sas-user-card\",{\"block\":[516],\"name\":[513],\"position\":[513],\"status\":[1537],\"badge\":[516],\"attachment\":[516],\"showFireWardenIcon\":[516,\"show-fire-warden-icon\"],\"showFirstAidIcon\":[516,\"show-first-aid-icon\"],\"showToggleSwitch\":[516,\"show-toggle-switch\"],\"showMenu\":[516,\"show-menu\"],\"src\":[513]},[[0,\"switchupdate\",\"switchUpdateHandler\"]]]]],[\"sas-menu-bar.cjs\",[[1,\"sas-menu-bar\",{\"sticky\":[516]},[[0,\"selectUpdateEventUsedInternal\",\"selectUpdateEventUsedInternalHandler\"],[0,\"multiselectUpdateEventUsedInternal\",\"multiselectUpdateEventUsedInternalHandler\"],[0,\"dateFieldUpdateEventUsedInternal\",\"dateFieldUpdateEventUsedInternalHandler\"],[0,\"inputupdate\",\"inputUpdateEventUsedInternalHandler\"],[0,\"inputContainerClick\",\"inputinputContainerClickEventInternalHandler\"]]]]],[\"sas-card.cjs\",[[1,\"sas-card\",{\"block\":[516],\"src\":[513],\"lazyImage\":[516,\"lazy-image\"],\"scale\":[513],\"repair\":[516],\"attachment\":[516],\"disabled\":[516],\"cardTitle\":[513,\"card-title\"],\"showMenu\":[516,\"show-menu\"]}]]],[\"sas-navigation-top.cjs\",[[1,\"sas-navigation-top\",{\"name\":[513],\"user\":[513],\"src\":[513]}]]],[\"sas-stepper.cjs\",[[1,\"sas-stepper\",{\"total\":[514],\"current\":[1538],\"names\":[16],\"direction\":[513],\"backgroundTheme\":[513,\"background-theme\"]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-pagination.cjs\",[[1,\"sas-pagination\",{\"totalPage\":[514,\"total-page\"],\"totalIndex\":[514,\"total-index\"],\"currentPage\":[1538,\"current-page\"]}]]],[\"sas-radio-group.cjs\",[[1,\"sas-radio-group\",{\"name\":[513],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"required\":[516],\"value\":[1032],\"defaultValue\":[520,\"default-value\"],\"text\":[1537],\"rawData\":[1032,\"raw-data\"],\"options\":[16],\"update\":[64]},[[0,\"radioupdate\",\"radioUpdateHandler\"]]]]],[\"sas-upload.cjs\",[[1,\"sas-upload\",{\"compact\":[516],\"inputOutside\":[516,\"input-outside\"],\"fullImage\":[516,\"full-image\"],\"type\":[513],\"label\":[513],\"name\":[513],\"max\":[514],\"size\":[514],\"accept\":[513],\"files\":[1040],\"removedFiles\":[1040],\"method\":[513],\"url\":[513],\"required\":[516],\"disabled\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"submit\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64],\"getFormData\":[64],\"checkFileUpdate\":[64]}]]],[\"sas-alert.cjs\",[[1,\"sas-alert\",{\"type\":[513],\"show\":[1540],\"close\":[516],\"alertTitle\":[1,\"alert-title\"],\"content\":[1]}]]],[\"sas-carousel.cjs\",[[1,\"sas-carousel\",{\"index\":[1538],\"slides\":[16]}]]],[\"sas-details.cjs\",[[1,\"sas-details\",{\"open\":[516],\"icon\":[513],\"autoGap\":[516,\"auto-gap\"],\"checkIsOpen\":[64]}]]],[\"sas-navigation.cjs\",[[1,\"sas-navigation\",{\"name\":[513]}]]],[\"sas-avatar-group.cjs\",[[1,\"sas-avatar-group\"]]],[\"sas-breadcrumb.cjs\",[[1,\"sas-breadcrumb\",{\"items\":[16],\"showAll\":[32]}]]],[\"sas-button-group.cjs\",[[1,\"sas-button-group\",{\"values\":[1040],\"multiple\":[516]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-container.cjs\",[[1,\"sas-container\",{\"gridTemplateColumns\":[513,\"grid-template-columns\"],\"gridTemplateRows\":[513,\"grid-template-rows\"],\"justifyItems\":[513,\"justify-items\"],\"alignItems\":[513,\"align-items\"]}]]],[\"sas-details-group.cjs\",[[1,\"sas-details-group\",{\"autoClose\":[516,\"auto-close\"]},[[0,\"detailsupdate\",\"detailsUpdateHandler\"]]]]],[\"sas-form.cjs\",[[1,\"sas-form\",{\"method\":[513],\"url\":[513],\"reset\":[64],\"validate\":[64],\"submit\":[64]}]]],[\"sas-tab.cjs\",[[1,\"sas-tab\",null,[[0,\"tabItemClicked\",\"tabItemClickedHandler\"]]]]],[\"sas-tab-item.cjs\",[[1,\"sas-tab-item\",{\"value\":[513],\"text\":[513]}]]],[\"sas-date-field.cjs\",[[1,\"sas-date-field\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"icon\":[513],\"position\":[513],\"positionH\":[513,\"position-h\"],\"validity\":[1040],\"message\":[1537],\"valueMissingMessage\":[513,\"value-missing-message\"],\"rangeOverflowMessage\":[513,\"range-overflow-message\"],\"rangeUnderflowMessage\":[513,\"range-underflow-message\"],\"localDate\":[32],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"]]]]],[\"sas-checkbox-group.cjs\",[[1,\"sas-checkbox-group\",{\"name\":[513],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"required\":[516],\"values\":[1040],\"rawData\":[1040],\"max\":[514],\"options\":[1040],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"columns\":[514],\"update\":[64]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]]]],[\"sas-radio.cjs\",[[1,\"sas-radio\",{\"name\":[513],\"value\":[8],\"text\":[513],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"tabindexNumber\":[32],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-badge.cjs\",[[1,\"sas-badge\",{\"type\":[513],\"status\":[513],\"number\":[514],\"inline\":[516]}]]],[\"sas-divider.cjs\",[[1,\"sas-divider\",{\"type\":[1]}]]],[\"sas-switch.cjs\",[[1,\"sas-switch\",{\"name\":[513],\"checked\":[1540],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-avatar.cjs\",[[1,\"sas-avatar\",{\"type\":[513],\"name\":[513],\"src\":[513],\"disabled\":[516],\"group\":[516]}]]],[\"sas-table.cjs\",[[1,\"sas-table\",{\"headers\":[16],\"items\":[16],\"sortedItems\":[32]}]]],[\"sas-image.cjs\",[[1,\"sas-image\",{\"imageObject\":[8,\"image-object\"],\"src\":[513],\"lazy\":[516]}]]],[\"sas-checkbox_2.cjs\",[[1,\"sas-checkbox\",{\"name\":[513],\"value\":[8],\"text\":[513],\"index\":[514],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[513],\"error\":[1540],\"required\":[516],\"validity\":[1040],\"message\":[1537],\"exclusive\":[516],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}],[1,\"sas-checkbox-subgroup\",{\"value\":[8],\"text\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[1025],\"status\":[1025]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]]]],[\"sas-button.cjs\",[[1,\"sas-button\",{\"type\":[513],\"size\":[513],\"text\":[513],\"iconLeft\":[513,\"icon-left\"],\"icon\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconRight\":[513,\"icon-right\"],\"block\":[516],\"loading\":[516],\"disabled\":[516],\"href\":[513],\"target\":[513],\"tabindexNumber\":[32]}]]],[\"sas-form-input-template_4.cjs\",[[1,\"sas-form-input-template\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"placeholder\":[1],\"type\":[1],\"value\":[1],\"max\":[513],\"min\":[513],\"iconRight\":[1,\"icon-right\"],\"readonly\":[4],\"error\":[516],\"disabled\":[516],\"clear\":[516],\"position\":[513],\"positionH\":[513,\"position-h\"],\"show\":[1540],\"clickClose\":[516,\"click-close\"],\"minimumPixelsAboveComponentRequired\":[514,\"minimum-pixels-above-component-required\"],\"minimumPixelsRightOfComponentRequired\":[514,\"minimum-pixels-right-of-component-required\"]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-input\",{\"type\":[513],\"step\":[513],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"label\":[513],\"outside\":[516],\"required\":[516],\"maxlength\":[514],\"minlength\":[514],\"max\":[513],\"min\":[513],\"iconLabel\":[513,\"icon-label\"],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"clear\":[516],\"readonly\":[516],\"disabled\":[516],\"validity\":[1032],\"error\":[1540],\"message\":[1537],\"country\":[1537],\"placeholderNumberType\":[513,\"placeholder-number-type\"],\"isValidNumber\":[1540,\"is-valid-number\"],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64],\"setCustomValidity\":[64]},[[0,\"inputTelUpdate\",\"inputTelUpdateHandler\"],[0,\"inputTextareaUpdate\",\"inputTextareaUpdateHandler\"]]],[1,\"sas-input-tel\",{\"getValidity\":[64],\"setCountry\":[64],\"setPlaceholder\":[64],\"update\":[64]}],[1,\"sas-input-textarea\",{\"placeholder\":[513],\"maxlength\":[514],\"minlength\":[514],\"value\":[513]}]]]]"), options);
|
|
20
|
+
return index.bootstrapLazy(JSON.parse("[[\"sas-button_13.cjs\",[[1,\"sas-setup-guide-tile\",{\"title\":[1],\"description\":[1],\"alertTitle\":[1,\"alert-title\"],\"alertmessage\":[1],\"icon\":[1],\"image\":[1],\"width\":[513],\"status\":[4],\"completed\":[1],\"pending\":[1],\"locked\":[1],\"completedopen\":[32],\"expanded\":[32]}],[1,\"sas-setup-guide-progress-button\",{\"buttonTitle\":[1,\"button-title\"],\"progress\":[514],\"backgroundColor\":[1,\"background-color\"],\"icon\":[1]}],[1,\"sas-panel\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"buttonText\":[1,\"button-text\"],\"width\":[513],\"href\":[1],\"newTab\":[4,\"new-tab\"]}],[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[1537],\"disabled\":[1540]}],[1,\"sas-progress-bar\",{\"progress\":[514],\"progressGates\":[16]}],[1,\"sas-list\",{\"toggle\":[516],\"compact\":[516],\"border\":[516],\"subtextPosition\":[513,\"subtext-position\"],\"value\":[1544],\"rawData\":[1032,\"raw-data\"],\"text\":[1537],\"defaultValue\":[520,\"default-value\"],\"options\":[16],\"update\":[64]},[[0,\"listItemClicked\",\"listItemClickedHandler\"],[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-chip\",{\"type\":[513],\"status\":[513],\"outlined\":[516],\"close\":[516],\"inside\":[516],\"text\":[513],\"uppercase\":[516],\"bold\":[516]}],[1,\"sas-chat-bubble\",{\"position\":[513]}],[1,\"sas-sublist\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"iconRight\":[513,\"icon-right\"],\"toggle\":[516],\"compact\":[516],\"hideSub\":[1540,\"hide-sub\"],\"selected\":[1540]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-list-item\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"subtextPosition\":[513,\"subtext-position\"],\"iconRight\":[513,\"icon-right\"],\"selected\":[516],\"alwaysShown\":[516,\"always-shown\"],\"disabled\":[516],\"index\":[514],\"href\":[513],\"target\":[513]}],[1,\"sas-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64],\"open\":[64]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-button\",{\"type\":[513],\"size\":[513],\"text\":[513],\"iconLeft\":[513,\"icon-left\"],\"icon\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconRight\":[513,\"icon-right\"],\"block\":[516],\"loading\":[516],\"disabled\":[516],\"href\":[513],\"target\":[513],\"tabindexNumber\":[32]}],[1,\"sas-icon\",{\"type\":[513],\"size\":[513],\"status\":[513],\"icon\":[513],\"index\":[2]}]]],[\"sas-multiselect.cjs\",[[1,\"sas-multiselect\",{\"type\":[513],\"search\":[516],\"filterText\":[513,\"filter-text\"],\"noMatchAction\":[513,\"no-match-action\"],\"noMatchTip\":[513,\"no-match-tip\"],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"disabled\":[516],\"clear\":[516],\"placeholder\":[513],\"options\":[1040],\"name\":[513],\"values\":[1040],\"rawData\":[1040],\"min\":[514],\"max\":[514],\"maxChip\":[514,\"max-chip\"],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"buttonFilterText\":[1,\"button-filter-text\"],\"value\":[32],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"checkboxgroupupdate\",\"checkboxUpdateHandler\"],[0,\"chipUpdate\",\"chipUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]]]],[\"sas-date-range.cjs\",[[1,\"sas-date-range\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"name\":[513],\"min\":[513],\"max\":[513],\"from\":[1537],\"to\":[1537],\"required\":[516],\"disabled\":[516],\"position\":[513],\"validity\":[1040],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-select.cjs\",[[1,\"sas-select\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"type\":[513],\"noMatchTip\":[513,\"no-match-tip\"],\"placeholder\":[513],\"disabled\":[516],\"clear\":[516],\"options\":[1040],\"alwaysShownOptions\":[1040],\"defaultValue\":[520,\"default-value\"],\"name\":[513],\"value\":[1032],\"rawData\":[1032,\"raw-data\"],\"text\":[1032],\"subtextPosition\":[513,\"subtext-position\"],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"listItemClicked\",\"listItemClickedHandler\"],[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"],[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputClear\",\"inputClearHandler\"],[0,\"inputFocus\",\"inputFocusHandler\"],[0,\"inputBlur\",\"inputBlurHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]]]],[\"sas-time-field.cjs\",[[1,\"sas-time-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"position\":[513],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"],[0,\"listItemClicked\",\"listItemClickedHandler\"]]]]],[\"sas-user-card.cjs\",[[1,\"sas-user-card\",{\"block\":[516],\"name\":[513],\"position\":[513],\"status\":[1537],\"badge\":[516],\"attachment\":[516],\"showFireWardenIcon\":[516,\"show-fire-warden-icon\"],\"showFirstAidIcon\":[516,\"show-first-aid-icon\"],\"showToggleSwitch\":[516,\"show-toggle-switch\"],\"showMenu\":[516,\"show-menu\"],\"src\":[513]},[[0,\"switchupdate\",\"switchUpdateHandler\"]]]]],[\"sas-menu-bar.cjs\",[[1,\"sas-menu-bar\",{\"sticky\":[516]},[[0,\"selectUpdateEventUsedInternal\",\"selectUpdateEventUsedInternalHandler\"],[0,\"multiselectUpdateEventUsedInternal\",\"multiselectUpdateEventUsedInternalHandler\"],[0,\"dateFieldUpdateEventUsedInternal\",\"dateFieldUpdateEventUsedInternalHandler\"],[0,\"inputupdate\",\"inputUpdateEventUsedInternalHandler\"],[0,\"inputContainerClick\",\"inputinputContainerClickEventInternalHandler\"]]]]],[\"sas-card.cjs\",[[1,\"sas-card\",{\"block\":[516],\"src\":[513],\"lazyImage\":[516,\"lazy-image\"],\"scale\":[513],\"repair\":[516],\"attachment\":[516],\"disabled\":[516],\"cardTitle\":[513,\"card-title\"],\"showMenu\":[516,\"show-menu\"]}]]],[\"sas-navigation-top.cjs\",[[1,\"sas-navigation-top\",{\"name\":[513],\"user\":[513],\"src\":[513]}]]],[\"sas-stepper.cjs\",[[1,\"sas-stepper\",{\"total\":[514],\"current\":[1538],\"names\":[16],\"direction\":[513],\"backgroundTheme\":[513,\"background-theme\"]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-pagination.cjs\",[[1,\"sas-pagination\",{\"totalPage\":[514,\"total-page\"],\"totalIndex\":[514,\"total-index\"],\"currentPage\":[1538,\"current-page\"]}]]],[\"sas-radio-group.cjs\",[[1,\"sas-radio-group\",{\"name\":[513],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"required\":[516],\"value\":[1032],\"defaultValue\":[520,\"default-value\"],\"text\":[1537],\"rawData\":[1032,\"raw-data\"],\"options\":[16],\"update\":[64]},[[0,\"radioupdate\",\"radioUpdateHandler\"]]]]],[\"sas-upload.cjs\",[[1,\"sas-upload\",{\"compact\":[516],\"inputOutside\":[516,\"input-outside\"],\"fullImage\":[516,\"full-image\"],\"type\":[513],\"label\":[513],\"name\":[513],\"max\":[514],\"size\":[514],\"accept\":[513],\"files\":[1040],\"removedFiles\":[1040],\"method\":[513],\"url\":[513],\"required\":[516],\"disabled\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"submit\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64],\"getFormData\":[64],\"checkFileUpdate\":[64]}]]],[\"sas-alert.cjs\",[[1,\"sas-alert\",{\"type\":[513],\"show\":[1540],\"close\":[516],\"alertTitle\":[1,\"alert-title\"],\"content\":[1]}]]],[\"sas-carousel.cjs\",[[1,\"sas-carousel\",{\"index\":[1538],\"slides\":[16]}]]],[\"sas-details.cjs\",[[1,\"sas-details\",{\"open\":[516],\"icon\":[513],\"autoGap\":[516,\"auto-gap\"],\"checkIsOpen\":[64]}]]],[\"sas-navigation.cjs\",[[1,\"sas-navigation\",{\"name\":[513]}]]],[\"sas-avatar-group.cjs\",[[1,\"sas-avatar-group\"]]],[\"sas-breadcrumb.cjs\",[[1,\"sas-breadcrumb\",{\"items\":[16],\"showAll\":[32]}]]],[\"sas-button-group.cjs\",[[1,\"sas-button-group\",{\"values\":[1040],\"multiple\":[516]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-container.cjs\",[[1,\"sas-container\",{\"gridTemplateColumns\":[513,\"grid-template-columns\"],\"gridTemplateRows\":[513,\"grid-template-rows\"],\"justifyItems\":[513,\"justify-items\"],\"alignItems\":[513,\"align-items\"]}]]],[\"sas-details-group.cjs\",[[1,\"sas-details-group\",{\"autoClose\":[516,\"auto-close\"]},[[0,\"detailsupdate\",\"detailsUpdateHandler\"]]]]],[\"sas-form.cjs\",[[1,\"sas-form\",{\"method\":[513],\"url\":[513],\"reset\":[64],\"validate\":[64],\"submit\":[64]}]]],[\"sas-tab.cjs\",[[1,\"sas-tab\",null,[[0,\"tabItemClicked\",\"tabItemClickedHandler\"]]]]],[\"sas-tab-item.cjs\",[[1,\"sas-tab-item\",{\"value\":[513],\"text\":[513]}]]],[\"sas-date-field.cjs\",[[1,\"sas-date-field\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"icon\":[513],\"position\":[513],\"positionH\":[513,\"position-h\"],\"validity\":[1040],\"message\":[1537],\"valueMissingMessage\":[513,\"value-missing-message\"],\"rangeOverflowMessage\":[513,\"range-overflow-message\"],\"rangeUnderflowMessage\":[513,\"range-underflow-message\"],\"localDate\":[32],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"]]]]],[\"sas-checkbox-group.cjs\",[[1,\"sas-checkbox-group\",{\"name\":[513],\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"required\":[516],\"values\":[1040],\"rawData\":[1040],\"max\":[514],\"options\":[1040],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"columns\":[514],\"update\":[64]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]]]],[\"sas-radio.cjs\",[[1,\"sas-radio\",{\"name\":[513],\"value\":[8],\"text\":[513],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"tabindexNumber\":[32],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-badge.cjs\",[[1,\"sas-badge\",{\"type\":[513],\"status\":[513],\"number\":[514],\"inline\":[516]}]]],[\"sas-divider.cjs\",[[1,\"sas-divider\",{\"type\":[1]}]]],[\"sas-switch.cjs\",[[1,\"sas-switch\",{\"name\":[513],\"checked\":[1540],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-avatar.cjs\",[[1,\"sas-avatar\",{\"type\":[513],\"name\":[513],\"src\":[513],\"disabled\":[516],\"group\":[516]}]]],[\"sas-table.cjs\",[[1,\"sas-table\",{\"headers\":[16],\"items\":[16],\"sortedItems\":[32]}]]],[\"sas-image.cjs\",[[1,\"sas-image\",{\"imageObject\":[8,\"image-object\"],\"src\":[513],\"lazy\":[516]}]]],[\"sas-checkbox_2.cjs\",[[1,\"sas-checkbox\",{\"name\":[513],\"value\":[8],\"text\":[513],\"index\":[514],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[513],\"error\":[1540],\"required\":[516],\"validity\":[1040],\"message\":[1537],\"exclusive\":[516],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}],[1,\"sas-checkbox-subgroup\",{\"value\":[8],\"text\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[1025],\"status\":[1025]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]]]],[\"sas-form-input-template_4.cjs\",[[1,\"sas-form-input-template\",{\"label\":[513],\"iconLabel\":[513,\"icon-label\"],\"outside\":[516],\"required\":[516],\"placeholder\":[1],\"type\":[1],\"value\":[1],\"max\":[513],\"min\":[513],\"iconRight\":[1,\"icon-right\"],\"readonly\":[4],\"error\":[516],\"disabled\":[516],\"clear\":[516],\"position\":[513],\"positionH\":[513,\"position-h\"],\"show\":[1540],\"clickClose\":[516,\"click-close\"],\"minimumPixelsAboveComponentRequired\":[514,\"minimum-pixels-above-component-required\"],\"minimumPixelsRightOfComponentRequired\":[514,\"minimum-pixels-right-of-component-required\"]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-input\",{\"type\":[513],\"step\":[513],\"placeholder\":[513],\"name\":[513],\"value\":[1537],\"label\":[513],\"outside\":[516],\"required\":[516],\"maxlength\":[514],\"minlength\":[514],\"max\":[513],\"min\":[513],\"iconLabel\":[513,\"icon-label\"],\"iconLeft\":[513,\"icon-left\"],\"iconRight\":[513,\"icon-right\"],\"clear\":[516],\"readonly\":[516],\"disabled\":[516],\"validity\":[1032],\"error\":[1540],\"message\":[1537],\"country\":[1537],\"placeholderNumberType\":[513,\"placeholder-number-type\"],\"isValidNumber\":[1540,\"is-valid-number\"],\"update\":[64],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64],\"setCustomValidity\":[64]},[[0,\"inputTelUpdate\",\"inputTelUpdateHandler\"],[0,\"inputTextareaUpdate\",\"inputTextareaUpdateHandler\"]]],[1,\"sas-input-tel\",{\"getValidity\":[64],\"setCountry\":[64],\"setPlaceholder\":[64],\"update\":[64]}],[1,\"sas-input-textarea\",{\"placeholder\":[513],\"maxlength\":[514],\"minlength\":[514],\"value\":[513]}]]]]"), options);
|
|
21
21
|
});
|
|
@@ -13,6 +13,8 @@ function init(options) {
|
|
|
13
13
|
width: options.width ?? '600px',
|
|
14
14
|
showConfirmButton: false,
|
|
15
15
|
padding: "30px",
|
|
16
|
+
allowOutsideClick: options.allowOutsideClick ?? true,
|
|
17
|
+
allowEscapeKey: options.allowEscapeKey ?? true,
|
|
16
18
|
customClass: {
|
|
17
19
|
popup: 'sas-dialog-swal-custom-popup',
|
|
18
20
|
header: 'sas-dialog-swal-custom-header',
|
|
@@ -18,16 +18,12 @@ export class SasSetupGuideTile {
|
|
|
18
18
|
/** Expanded state for see more/less pending items */
|
|
19
19
|
this.expanded = false;
|
|
20
20
|
this.toggleCompleted = () => {
|
|
21
|
-
// alert('Status: '+this.status)
|
|
22
|
-
// alert('Completed open: '+this.completedopen)
|
|
23
|
-
// this.status = !this.status
|
|
24
|
-
// this.completedopen = !this.status;
|
|
25
21
|
this.completedopen = !this.completedopen;
|
|
26
|
-
// alert('Status: '+this.status)
|
|
27
|
-
// alert('Completed open: '+this.completedopen)
|
|
28
22
|
};
|
|
29
23
|
this.toggleExpand = () => {
|
|
30
24
|
this.expanded = !this.expanded;
|
|
25
|
+
if (this.expanded)
|
|
26
|
+
this.seemoreitemclicked.emit();
|
|
31
27
|
};
|
|
32
28
|
this.handleCompletedItemClicked = (itemId) => {
|
|
33
29
|
this.completeditemclicked.emit(itemId);
|
|
@@ -42,9 +38,14 @@ export class SasSetupGuideTile {
|
|
|
42
38
|
event.stopPropagation(); // avoid triggering pendingitemclicked after this one
|
|
43
39
|
this.iconclicked.emit(itemId);
|
|
44
40
|
};
|
|
45
|
-
this.handleProIconClick = (event) => {
|
|
41
|
+
this.handleProIconClick = (event, itemName) => {
|
|
46
42
|
event.stopPropagation();
|
|
47
|
-
this.
|
|
43
|
+
this.proiconclicked.emit(itemName);
|
|
44
|
+
};
|
|
45
|
+
this.handleProItemClicked = (event, itemName, isPro) => {
|
|
46
|
+
event.stopPropagation();
|
|
47
|
+
if (isPro)
|
|
48
|
+
this.proiconclicked.emit(itemName);
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
normalize(input) {
|
|
@@ -76,22 +77,22 @@ export class SasSetupGuideTile {
|
|
|
76
77
|
h("div", { class: "right" },
|
|
77
78
|
h("span", { class: "count" }, completedItems.length),
|
|
78
79
|
h("sas-icon", { class: "icon-chevron", icon: this.completedopen ? 'fas fa-chevron-up' : 'fas fa-chevron-down', size: "default" }))),
|
|
79
|
-
h("div", { class: `completed-list ${this.completedopen ? 'open' : ''}` }, completedItems.map(item => (h("div", { class: "completed-item" },
|
|
80
|
-
|
|
80
|
+
h("div", { class: `completed-list ${this.completedopen ? 'open' : ''}` }, completedItems.map(item => (h("div", { onClick: () => this.handleCompletedItemClicked(item.itemId), class: "completed-item completedItem" },
|
|
81
|
+
item.itemName,
|
|
81
82
|
h("sas-icon", { id: "icon-completed", type: "default", size: "default", status: "high", icon: "fa-solid fa-circle-check" }))))))),
|
|
82
83
|
completedItems.length > 0 && pendingItems.length > 0 && (h("div", { class: "dashed-divider" })),
|
|
83
84
|
h("div", { class: "pending-container" },
|
|
84
85
|
pendingItems.length > 0 && pendingItems.map(item => (h("div", { onClick: () => this.handlePendingItemClicked(item.itemId), class: "pending" },
|
|
85
86
|
item.itemName,
|
|
86
|
-
item.isPro && (h("sas-chip", { type: "small", status: "open", text: "PRO", onClick: this.handleProIconClick })),
|
|
87
|
+
item.isPro && (h("sas-chip", { type: "small", status: "open", text: "PRO", onClick: (event) => this.handleProIconClick(event, item.itemName) })),
|
|
87
88
|
!item.isPro && (h("sas-icon", { class: "iconInfo", type: "default", size: "default", status: "high", icon: "far fa-circle-info", onClick: (event) => this.handleIconClick(event, item.itemId) }))))),
|
|
88
89
|
h("div", { class: `pending-list ${this.expanded ? 'open' : ''} disabled` },
|
|
89
90
|
h("div", { class: "dashed-divider mtb-8" }),
|
|
90
91
|
lockedItems.length > 0 && lockedItems.map(item => (h("sas-tooltip", { position: 'right' },
|
|
91
|
-
h("div", { slot: "trigger", class: "trigger-wrapper" },
|
|
92
|
+
h("div", { onClick: (event) => this.handleProItemClicked(event, item.itemName, item.isPro), slot: "trigger", class: "trigger-wrapper" },
|
|
92
93
|
h("div", { class: "pending-item" },
|
|
93
94
|
item.itemName,
|
|
94
|
-
item.isPro && (h("sas-chip", { class: 'click-allowed', type: "small", status: "open", text: "PRO", onClick: this.handleProIconClick })))),
|
|
95
|
+
item.isPro && (h("sas-chip", { class: 'click-allowed', type: "small", status: "open", text: "PRO", onClick: (event) => this.handleProIconClick(event, item.itemName) })))),
|
|
95
96
|
h("div", { slot: "text" }, item.itemLockedTooltip)))))),
|
|
96
97
|
lockedItems.length > 0 && (h("button", { class: "see-more", onClick: this.toggleExpand },
|
|
97
98
|
this.expanded ? 'See less' : 'See more',
|
|
@@ -365,8 +366,8 @@ export class SasSetupGuideTile {
|
|
|
365
366
|
"references": {}
|
|
366
367
|
}
|
|
367
368
|
}, {
|
|
368
|
-
"method": "
|
|
369
|
-
"name": "
|
|
369
|
+
"method": "proiconclicked",
|
|
370
|
+
"name": "proiconclicked",
|
|
370
371
|
"bubbles": true,
|
|
371
372
|
"cancelable": true,
|
|
372
373
|
"composed": true,
|
|
@@ -379,5 +380,20 @@ export class SasSetupGuideTile {
|
|
|
379
380
|
"resolved": "string",
|
|
380
381
|
"references": {}
|
|
381
382
|
}
|
|
383
|
+
}, {
|
|
384
|
+
"method": "seemoreitemclicked",
|
|
385
|
+
"name": "seemoreitemclicked",
|
|
386
|
+
"bubbles": true,
|
|
387
|
+
"cancelable": true,
|
|
388
|
+
"composed": true,
|
|
389
|
+
"docs": {
|
|
390
|
+
"tags": [],
|
|
391
|
+
"text": "Fired when pending item is clicked"
|
|
392
|
+
},
|
|
393
|
+
"complexType": {
|
|
394
|
+
"original": "string",
|
|
395
|
+
"resolved": "string",
|
|
396
|
+
"references": {}
|
|
397
|
+
}
|
|
382
398
|
}]; }
|
|
383
399
|
}
|