sas-ui 0.8.278 → 0.8.280
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 +1 -1
- package/dist/cjs/sas-button_19.cjs.entry.js +171 -49
- package/dist/cjs/sas-ui.cjs.js +1 -1
- package/dist/collection/components/sas-timezone-select/sas-timezone-select.js +295 -79
- package/dist/collection/components/sas-timezone-select/timezones/timezone-data.js +18 -0
- package/dist/custom-elements/index.js +172 -50
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sas-button_19.entry.js +171 -49
- package/dist/esm/sas-ui.js +1 -1
- package/dist/sas-ui/{p-bf85f270.entry.js → p-383f2c01.entry.js} +1 -1
- package/dist/sas-ui/sas-ui.esm.js +1 -1
- package/dist/types/components/sas-timezone-select/sas-timezone-select.d.ts +83 -50
- package/dist/types/components/sas-timezone-select/timezones/timezone-data.d.ts +10 -0
- package/dist/types/components.d.ts +74 -30
- package/package.json +1 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -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-button_19.cjs\",[[1,\"sas-timezone-select\",{\"value\":[1537],\"defaultValue\":[513,\"default-value\"],\"locale\":[513],\"priorityRegions\":[1,\"priority-regions\"],\"displayFormat\":[513,\"display-format\"],\"zoneSet\":[513,\"zone-set\"],\"formatLabel\":[16],\"name\":[513],\"label\":[513],\"placeholder\":[513],\"disabled\":[516],\"required\":[516],\"clear\":[516],\"searchable\":[516],\"options\":[32]},[[0,\"selectupdate\",\"onInnerSelectUpdate\"]]],[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-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\"]]],[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[1537],\"disabled\":[1540]}],[1,\"sas-progress-bar\",{\"progress\":[514],\"progressGates\":[16]}],[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-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-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-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64],\"open\":[64]},[[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-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-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-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]}],[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-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\"]]]]]]"), options);
|
|
19
|
+
return index.bootstrapLazy(JSON.parse("[[\"sas-button_19.cjs\",[[1,\"sas-timezone-select\",{\"value\":[1537],\"defaultValue\":[513,\"default-value\"],\"locale\":[513],\"auto\":[516],\"priorityRegions\":[1,\"priority-regions\"],\"displayFormat\":[513,\"display-format\"],\"zoneSet\":[513,\"zone-set\"],\"formatLabel\":[16],\"name\":[513],\"label\":[513],\"placeholder\":[513],\"disabled\":[516],\"required\":[516],\"clear\":[516],\"outside\":[516],\"searchable\":[516],\"validity\":[1040],\"message\":[1537],\"options\":[32],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"selectupdate\",\"selectUpdateHandler\"]]],[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-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\"]]],[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[1537],\"disabled\":[1540]}],[1,\"sas-progress-bar\",{\"progress\":[514],\"progressGates\":[16]}],[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-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-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-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64],\"open\":[64]},[[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-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-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-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]}],[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-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\"]]]]]]"), options);
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -4286,6 +4286,24 @@ function getTimezonesForSet(zoneSet) {
|
|
|
4286
4286
|
function isValidTimezone(iana) {
|
|
4287
4287
|
return !!iana && getAllTimezones().indexOf(iana) !== -1;
|
|
4288
4288
|
}
|
|
4289
|
+
/**
|
|
4290
|
+
* Read the locale the client is running under, e.g. `en-AU`.
|
|
4291
|
+
* @returns A BCP-47 tag, or `null` outside a browser.
|
|
4292
|
+
*/
|
|
4293
|
+
function getClientLocale() {
|
|
4294
|
+
if (typeof navigator === 'undefined') {
|
|
4295
|
+
return null;
|
|
4296
|
+
}
|
|
4297
|
+
return navigator.language || null;
|
|
4298
|
+
}
|
|
4299
|
+
/**
|
|
4300
|
+
* Read the timezone the client is running in.
|
|
4301
|
+
* @returns A canonical IANA identifier, or `null` if it isn't recognised.
|
|
4302
|
+
*/
|
|
4303
|
+
function getClientTimezone() {
|
|
4304
|
+
const detected = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
4305
|
+
return isValidTimezone(detected) ? detected : null;
|
|
4306
|
+
}
|
|
4289
4307
|
/**
|
|
4290
4308
|
* Derive the default pinned region(s) from a consumer locale's country code.
|
|
4291
4309
|
* @param locale Locale such as `en_AU`, `en-NZ`, `en_GB`.
|
|
@@ -4360,77 +4378,186 @@ let SasTimezoneSelect = class {
|
|
|
4360
4378
|
index.registerInstance(this, hostRef);
|
|
4361
4379
|
this.timezoneUpdate = index.createEvent(this, "timezoneUpdate", 7);
|
|
4362
4380
|
this.timezoneupdate = index.createEvent(this, "timezoneupdate", 7);
|
|
4363
|
-
|
|
4381
|
+
this.autoSelected = false;
|
|
4382
|
+
/**
|
|
4383
|
+
* Option list built for the inner sas-select
|
|
4384
|
+
*/
|
|
4364
4385
|
this.options = [];
|
|
4365
|
-
/**
|
|
4386
|
+
/**
|
|
4387
|
+
* Selected timezone, always a canonical IANA identifier
|
|
4388
|
+
*/
|
|
4366
4389
|
this.value = null;
|
|
4367
|
-
/**
|
|
4390
|
+
/**
|
|
4391
|
+
* Selected when value is absent or unknown
|
|
4392
|
+
*/
|
|
4368
4393
|
this.defaultValue = null;
|
|
4369
4394
|
/**
|
|
4370
|
-
* Consumer locale
|
|
4371
|
-
*
|
|
4395
|
+
* Consumer locale, drives the pinned region and label localisation.
|
|
4396
|
+
* Falls back to the client locale.
|
|
4397
|
+
*/
|
|
4398
|
+
this.locale = null;
|
|
4399
|
+
/**
|
|
4400
|
+
* Select the client's own timezone when no value is set
|
|
4401
|
+
*/
|
|
4402
|
+
this.auto = false;
|
|
4403
|
+
/**
|
|
4404
|
+
* Display label format
|
|
4372
4405
|
*/
|
|
4373
|
-
this.locale = 'en-AU';
|
|
4374
|
-
/** Named display-label format. Defaults to `offset-city`. */
|
|
4375
4406
|
this.displayFormat = 'offset-city';
|
|
4376
|
-
/**
|
|
4407
|
+
/**
|
|
4408
|
+
* Zone scope, all canonical zones or the curated market subset
|
|
4409
|
+
*/
|
|
4377
4410
|
this.zoneSet = 'full';
|
|
4378
|
-
/**
|
|
4411
|
+
/**
|
|
4412
|
+
* Name
|
|
4413
|
+
*/
|
|
4379
4414
|
this.name = '';
|
|
4380
|
-
/**
|
|
4415
|
+
/**
|
|
4416
|
+
* Label
|
|
4417
|
+
*/
|
|
4381
4418
|
this.label = '';
|
|
4382
|
-
/**
|
|
4419
|
+
/**
|
|
4420
|
+
* Placeholder
|
|
4421
|
+
*/
|
|
4383
4422
|
this.placeholder = 'Select a timezone';
|
|
4384
|
-
/**
|
|
4423
|
+
/**
|
|
4424
|
+
* Disabled
|
|
4425
|
+
*/
|
|
4385
4426
|
this.disabled = false;
|
|
4386
|
-
/**
|
|
4427
|
+
/**
|
|
4428
|
+
* Required
|
|
4429
|
+
*/
|
|
4387
4430
|
this.required = false;
|
|
4388
|
-
/**
|
|
4431
|
+
/**
|
|
4432
|
+
* Clear icon
|
|
4433
|
+
*/
|
|
4389
4434
|
this.clear = false;
|
|
4390
4435
|
/**
|
|
4391
|
-
*
|
|
4392
|
-
|
|
4436
|
+
* Label position
|
|
4437
|
+
*/
|
|
4438
|
+
this.outside = false;
|
|
4439
|
+
/**
|
|
4440
|
+
* Search mode, on by default as the full list has hundreds of zones
|
|
4393
4441
|
*/
|
|
4394
4442
|
this.searchable = true;
|
|
4443
|
+
/**
|
|
4444
|
+
* Validity
|
|
4445
|
+
*/
|
|
4446
|
+
this.validity = {
|
|
4447
|
+
valid: true,
|
|
4448
|
+
valueMissing: false,
|
|
4449
|
+
};
|
|
4450
|
+
/**
|
|
4451
|
+
* Only shows when value is not valid, auto generated
|
|
4452
|
+
*/
|
|
4453
|
+
this.message = '';
|
|
4395
4454
|
}
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4455
|
+
watchValueHandler(newValue) {
|
|
4456
|
+
// sas-form reset() assigns '', but only null reads as no selection
|
|
4457
|
+
if (newValue === '') {
|
|
4458
|
+
this.value = null;
|
|
4459
|
+
}
|
|
4400
4460
|
}
|
|
4401
|
-
|
|
4402
|
-
rebuildOptions() {
|
|
4461
|
+
watchOptionsHandler() {
|
|
4403
4462
|
this.options = this.buildOptions();
|
|
4404
4463
|
}
|
|
4405
|
-
|
|
4406
|
-
* Catch the inner `sas-select` update, stop it leaking past this wrapper,
|
|
4407
|
-
* mirror the IANA value, and re-emit a timezone-specific event.
|
|
4408
|
-
* @param event The inner `selectupdate` event (`detail.value` is the IANA id).
|
|
4409
|
-
*/
|
|
4410
|
-
onInnerSelectUpdate(event) {
|
|
4464
|
+
selectUpdateHandler(event) {
|
|
4411
4465
|
event.stopPropagation();
|
|
4412
4466
|
const iana = event.detail ? event.detail.value : null;
|
|
4413
4467
|
this.value = iana;
|
|
4414
4468
|
this.timezoneUpdate.emit({ value: iana });
|
|
4415
|
-
|
|
4469
|
+
}
|
|
4470
|
+
componentWillLoad() {
|
|
4471
|
+
this.options = this.buildOptions();
|
|
4472
|
+
if (this.auto && !this.isSelectable(this.value)) {
|
|
4473
|
+
const detected = getClientTimezone();
|
|
4474
|
+
if (this.isSelectable(detected)) {
|
|
4475
|
+
this.value = detected;
|
|
4476
|
+
this.autoSelected = true;
|
|
4477
|
+
}
|
|
4478
|
+
}
|
|
4479
|
+
this.warnIfUnknown(this.value, 'value');
|
|
4480
|
+
this.warnIfUnknown(this.defaultValue, 'defaultValue');
|
|
4481
|
+
}
|
|
4482
|
+
componentDidLoad() {
|
|
4483
|
+
if (this.autoSelected) {
|
|
4484
|
+
this.timezoneUpdate.emit({ value: this.value });
|
|
4485
|
+
}
|
|
4416
4486
|
}
|
|
4417
4487
|
/**
|
|
4418
|
-
*
|
|
4419
|
-
* @returns Grouped options for `sas-select`, with IANA values throughout.
|
|
4488
|
+
* Validate
|
|
4420
4489
|
*/
|
|
4490
|
+
async validate() {
|
|
4491
|
+
const select = this.getInnerSelect();
|
|
4492
|
+
if (select === null) {
|
|
4493
|
+
const valueMissing = this.required && this.resolveSelectValue() === null;
|
|
4494
|
+
this.validity = {
|
|
4495
|
+
valid: !valueMissing,
|
|
4496
|
+
valueMissing: valueMissing,
|
|
4497
|
+
};
|
|
4498
|
+
return;
|
|
4499
|
+
}
|
|
4500
|
+
await select.validate();
|
|
4501
|
+
this.validity = select.validity;
|
|
4502
|
+
}
|
|
4503
|
+
/**
|
|
4504
|
+
* Show error status if value is not valid (only for components internal use)
|
|
4505
|
+
*/
|
|
4506
|
+
async updateErrorStatus() {
|
|
4507
|
+
const select = this.getInnerSelect();
|
|
4508
|
+
if (select === null) {
|
|
4509
|
+
await this.validate();
|
|
4510
|
+
return;
|
|
4511
|
+
}
|
|
4512
|
+
await select.updateErrorStatus();
|
|
4513
|
+
this.validity = select.validity;
|
|
4514
|
+
this.message = select.message;
|
|
4515
|
+
}
|
|
4516
|
+
/**
|
|
4517
|
+
* Clear error status (only for components internal use)
|
|
4518
|
+
*/
|
|
4519
|
+
async resetErrorStatus() {
|
|
4520
|
+
this.validity = {
|
|
4521
|
+
valid: true,
|
|
4522
|
+
valueMissing: false,
|
|
4523
|
+
};
|
|
4524
|
+
this.message = '';
|
|
4525
|
+
const select = this.getInnerSelect();
|
|
4526
|
+
if (select !== null) {
|
|
4527
|
+
await select.resetErrorStatus();
|
|
4528
|
+
}
|
|
4529
|
+
}
|
|
4530
|
+
getInnerSelect() {
|
|
4531
|
+
return this.el.shadowRoot === null ? null : this.el.shadowRoot.querySelector('sas-select');
|
|
4532
|
+
}
|
|
4533
|
+
resolveSelectValue() {
|
|
4534
|
+
// sas-select falls back to defaultValue itself, but does it before its first
|
|
4535
|
+
// render, which reads its own empty shadow root and throws
|
|
4536
|
+
if (this.isSelectable(this.value)) {
|
|
4537
|
+
return this.value;
|
|
4538
|
+
}
|
|
4539
|
+
if (this.isSelectable(this.defaultValue)) {
|
|
4540
|
+
return this.defaultValue;
|
|
4541
|
+
}
|
|
4542
|
+
return null;
|
|
4543
|
+
}
|
|
4544
|
+
isSelectable(iana) {
|
|
4545
|
+
if (iana === null || iana === undefined || iana === '') {
|
|
4546
|
+
return false;
|
|
4547
|
+
}
|
|
4548
|
+
return this.options.some(option => ('sub' in option
|
|
4549
|
+
? option.sub.some(sub => sub.value === iana)
|
|
4550
|
+
: option.value === iana));
|
|
4551
|
+
}
|
|
4421
4552
|
buildOptions() {
|
|
4422
4553
|
return buildTimezoneOptions({
|
|
4423
4554
|
zoneSet: this.zoneSet,
|
|
4424
|
-
locale: this.locale,
|
|
4555
|
+
locale: this.locale || getClientLocale(),
|
|
4425
4556
|
priorityRegions: this.resolvePriorityRegions(),
|
|
4426
4557
|
displayFormat: this.displayFormat,
|
|
4427
4558
|
formatter: this.formatLabel,
|
|
4428
4559
|
});
|
|
4429
4560
|
}
|
|
4430
|
-
/**
|
|
4431
|
-
* Normalise `priorityRegions` (array or comma-separated string) to an array.
|
|
4432
|
-
* @returns The region array, or `undefined` when none is set.
|
|
4433
|
-
*/
|
|
4434
4561
|
resolvePriorityRegions() {
|
|
4435
4562
|
const regions = this.priorityRegions;
|
|
4436
4563
|
if (!regions) {
|
|
@@ -4444,27 +4571,22 @@ let SasTimezoneSelect = class {
|
|
|
4444
4571
|
.map(region => region.trim())
|
|
4445
4572
|
.filter(Boolean);
|
|
4446
4573
|
}
|
|
4447
|
-
/**
|
|
4448
|
-
* Warn (dev only) when an assigned identifier is not a canonical IANA zone.
|
|
4449
|
-
* The inner `sas-select` falls back to `defaultValue` for an unrecognised
|
|
4450
|
-
* value, so this is advisory; `console` is stripped from the MAUI build.
|
|
4451
|
-
* @param iana Candidate identifier.
|
|
4452
|
-
* @param propName Source prop name, for the warning message.
|
|
4453
|
-
*/
|
|
4454
4574
|
warnIfUnknown(iana, propName) {
|
|
4455
4575
|
if (iana && !isValidTimezone(iana)) {
|
|
4456
4576
|
console.warn(`sas-timezone-select: ${propName} "${iana}" is not a recognised IANA timezone.`);
|
|
4457
4577
|
}
|
|
4458
4578
|
}
|
|
4459
4579
|
render() {
|
|
4460
|
-
return (index.h(index.Host, null, index.h("sas-select", { name: this.name, label: this.label, placeholder: this.placeholder, disabled: this.disabled, required: this.required, clear: this.clear, type: this.searchable ? 'search' : 'default', options: this.options, value: this.
|
|
4580
|
+
return (index.h(index.Host, null, index.h("sas-select", { name: this.name, label: this.label, placeholder: this.placeholder, disabled: this.disabled, required: this.required, clear: this.clear, outside: this.outside, type: this.searchable ? 'search' : 'default', options: this.options, value: this.resolveSelectValue(), defaultValue: this.defaultValue })));
|
|
4461
4581
|
}
|
|
4582
|
+
get el() { return index.getElement(this); }
|
|
4462
4583
|
static get watchers() { return {
|
|
4463
|
-
"
|
|
4464
|
-
"
|
|
4465
|
-
"
|
|
4466
|
-
"
|
|
4467
|
-
"
|
|
4584
|
+
"value": ["watchValueHandler"],
|
|
4585
|
+
"zoneSet": ["watchOptionsHandler"],
|
|
4586
|
+
"locale": ["watchOptionsHandler"],
|
|
4587
|
+
"priorityRegions": ["watchOptionsHandler"],
|
|
4588
|
+
"displayFormat": ["watchOptionsHandler"],
|
|
4589
|
+
"formatLabel": ["watchOptionsHandler"]
|
|
4468
4590
|
}; }
|
|
4469
4591
|
};
|
|
4470
4592
|
SasTimezoneSelect.style = sasTimezoneSelectCss;
|
package/dist/cjs/sas-ui.cjs.js
CHANGED
|
@@ -17,5 +17,5 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy(JSON.parse("[[\"sas-button_19.cjs\",[[1,\"sas-timezone-select\",{\"value\":[1537],\"defaultValue\":[513,\"default-value\"],\"locale\":[513],\"priorityRegions\":[1,\"priority-regions\"],\"displayFormat\":[513,\"display-format\"],\"zoneSet\":[513,\"zone-set\"],\"formatLabel\":[16],\"name\":[513],\"label\":[513],\"placeholder\":[513],\"disabled\":[516],\"required\":[516],\"clear\":[516],\"searchable\":[516],\"options\":[32]},[[0,\"selectupdate\",\"onInnerSelectUpdate\"]]],[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-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\"]]],[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[1537],\"disabled\":[1540]}],[1,\"sas-progress-bar\",{\"progress\":[514],\"progressGates\":[16]}],[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-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-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-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64],\"open\":[64]},[[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-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-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-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]}],[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-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\"]]]]]]"), options);
|
|
20
|
+
return index.bootstrapLazy(JSON.parse("[[\"sas-button_19.cjs\",[[1,\"sas-timezone-select\",{\"value\":[1537],\"defaultValue\":[513,\"default-value\"],\"locale\":[513],\"auto\":[516],\"priorityRegions\":[1,\"priority-regions\"],\"displayFormat\":[513,\"display-format\"],\"zoneSet\":[513,\"zone-set\"],\"formatLabel\":[16],\"name\":[513],\"label\":[513],\"placeholder\":[513],\"disabled\":[516],\"required\":[516],\"clear\":[516],\"outside\":[516],\"searchable\":[516],\"validity\":[1040],\"message\":[1537],\"options\":[32],\"validate\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"selectupdate\",\"selectUpdateHandler\"]]],[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-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\"]]],[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[1537],\"disabled\":[1540]}],[1,\"sas-progress-bar\",{\"progress\":[514],\"progressGates\":[16]}],[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-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-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-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64],\"open\":[64]},[[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-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-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-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]}],[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-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\"]]]]]]"), options);
|
|
21
21
|
});
|