sas-ui 0.8.124 → 0.8.125
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-autocomplete_19.cjs.entry.js → sas-autocomplete_17.cjs.entry.js} +21 -76
- package/dist/cjs/sas-chat-bubble.cjs.entry.js +23 -0
- package/dist/cjs/sas-tooltip.cjs.entry.js +53 -0
- package/dist/cjs/sas-ui.cjs.js +1 -1
- package/dist/collection/components/sas-input-textarea/sas-input-textarea.js +22 -13
- package/dist/custom-elements/index.js +21 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{sas-autocomplete_19.entry.js → sas-autocomplete_17.entry.js} +22 -75
- package/dist/esm/sas-chat-bubble.entry.js +19 -0
- package/dist/esm/sas-tooltip.entry.js +49 -0
- package/dist/esm/sas-ui.js +1 -1
- package/dist/sas-ui/p-28de0a9b.entry.js +1 -0
- package/dist/sas-ui/p-4ae19d06.entry.js +1 -0
- package/dist/sas-ui/p-ff0d7311.entry.js +1 -0
- package/dist/sas-ui/sas-ui.esm.js +1 -1
- package/dist/types/components/sas-input-textarea/sas-input-textarea.d.ts +5 -2
- package/package.json +1 -1
- package/dist/sas-ui/p-a273008a.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -17,7 +17,7 @@ const patchEsm = () => {
|
|
|
17
17
|
const defineCustomElements = (win, options) => {
|
|
18
18
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
19
19
|
return patchEsm().then(() => {
|
|
20
|
-
return index.bootstrapLazy(JSON.parse("[[\"sas-autocomplete_19.cjs\",[[1,\"sas-multiselect\",{\"type\":[513],\"search\":[516],\"noMatchTip\":[513,\"no-match-tip\"],\"label\":[513],\"outside\":[516],\"required\":[516],\"disabled\":[516],\"clear\":[516],\"placeholder\":[1537],\"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\"],\"validity\":[1040],\"message\":[1537],\"value\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"checkboxgroupupdate\",\"checkboxUpdateHandler\"],[0,\"chipUpdate\",\"chipUpdateHandler\"],[0,\"inputClear\",\"inputClearHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]],[1,\"sas-autocomplete\",{\"label\":[513],\"required\":[516],\"disabled\":[516],\"placeholder\":[513],\"options\":[16],\"value\":[8],\"text\":[8],\"update\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"listUpdate\",\"listUpdateHandler\"]]],[1,\"sas-select\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"type\":[513],\"noMatchTip\":[513,\"no-match-tip\"],\"placeholder\":[513],\"disabled\":[516],\"clear\":[516],\"options\":[1040],\"defaultValue\":[520,\"default-value\"],\"name\":[513],\"value\":[1032],\"rawData\":[1032,\"raw-data\"],\"text\":[1032],\"subtextPosition\":[513,\"subtext-position\"],\"validity\":[1040],\"message\":[1537],\"update\":[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\":[32]}],[1,\"sas-container\",{\"gridTemplateColumns\":[513,\"grid-template-columns\"],\"gridTemplateRows\":[513,\"grid-template-rows\"],\"justifyItems\":[513,\"justify-items\"],\"alignItems\":[513,\"align-items\"]}],[1,\"sas-checkbox-group\",{\"name\":[513],\"label\":[1537],\"required\":[1540],\"values\":[1040],\"rawData\":[1040],\"max\":[514],\"options\":[1040],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"columns\":[514],\"update\":[64]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[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-checkbox\",{\"name\":[513],\"value\":[8],\"text\":[1537],\"index\":[514],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[513],\"error\":[1540],\"required\":[516],\"validity\":[1040],\"message\":[1537],\"exclusive\":[1540],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}],[1,\"sas-checkbox-subgroup\",{\"value\":[8],\"text\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[1025],\"status\":[1025]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[1,\"sas-list\",{\"toggle\":[516],\"compact\":[516],\"border\":[516],\"subtextPosition\":[513,\"subtext-position\"],\"value\":[1544],\"rawData\":[1032,\"raw-data\"],\"text\":[1544],\"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-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-list-item\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"subtextPosition\":[513,\"subtext-position\"],\"iconRight\":[513,\"icon-right\"],\"selected\":[516],\"disabled\":[516],\"index\":[514],\"href\":[513],\"target\":[513]}],[1,\"sas-form-input-template\",{\"label\":[513],\"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],\"show\":[1540],\"clickClose\":[516,\"click-close\"]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-input\",{\"type\":[1537],\"placeholder\":[1537],\"name\":[1537],\"value\":[1537],\"label\":[1537],\"outside\":[1540],\"required\":[1540],\"maxlength\":[1538],\"minlength\":[1538],\"max\":[1537],\"min\":[1537],\"iconLeft\":[1537,\"icon-left\"],\"iconRight\":[1537,\"icon-right\"],\"clear\":[1540],\"readonly\":[1540],\"disabled\":[1540],\"validity\":[1032],\"error\":[1540],\"message\":[1537],\"country\":[1537],\"placeholderNumberType\":[513,\"placeholder-number-type\"],\"isValidNumber\":[1540,\"is-valid-number\"],\"update\":[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\":[1537],\"maxlength\":[1538],\"minlength\":[1538],\"value\":[1537]}],[1,\"sas-icon\",{\"type\":[513],\"size\":[513],\"status\":[513],\"icon\":[513],\"index\":[2]}]]],[\"sas-date-range.cjs\",[[1,\"sas-date-range\",{\"label\":[1537],\"outside\":[1540],\"name\":[513],\"min\":[1537],\"max\":[1537],\"from\":[1537],\"to\":[1537],\"required\":[516],\"disabled\":[516]}]]],[\"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],\"validity\":[1040],\"message\":[1537],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"],[0,\"listItemClicked\",\"listItemClickedHandler\"]]]]],[\"sas-menu-bar.cjs\",[[1,\"sas-menu-bar\",{\"sticky\":[516]},[[9,\"resize\",\"handleResize\"],[0,\"selectUpdateEventUsedInternal\",\"selectUpdateEventUsedInternalHandler\"],[0,\"multiselectUpdateEventUsedInternal\",\"multiselectUpdateEventUsedInternalHandler\"],[0,\"dateFieldUpdateEventUsedInternal\",\"dateFieldUpdateEventUsedInternalHandler\"]]]]],[\"sas-user-card.cjs\",[[1,\"sas-user-card\",{\"block\":[516],\"name\":[513],\"position\":[513],\"status\":[1537],\"badge\":[516],\"attachment\":[516],\"src\":[513]},[[0,\"switchUpdate\",\"switchUpdateHandler\"]]]]],[\"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\"]}]]],[\"sas-navigation-top.cjs\",[[1,\"sas-navigation-top\",{\"name\":[513],\"user\":[513],\"src\":[513]}]]],[\"sas-stepper.cjs\",[[1,\"sas-stepper\",{\"type\":[513],\"total\":[514],\"current\":[1538],\"names\":[16]},[[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\":[1537],\"required\":[1540],\"value\":[1032],\"defaultValue\":[520,\"default-value\"],\"text\":[1544],\"rawData\":[1032,\"raw-data\"],\"options\":[16],\"update\":[64]},[[0,\"radioupdate\",\"radioUpdateHandler\"]]]]],[\"sas-upload.cjs\",[[1,\"sas-upload\",{\"compact\":[516],\"inputOutside\":[516,\"input-outside\"],\"type\":[513],\"label\":[1537],\"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-details.cjs\",[[1,\"sas-details\",{\"open\":[516],\"icon\":[513]}]]],[\"sas-file-upload.cjs\",[[1,\"sas-file-upload\",{\"label\":[32]}]]],[\"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-dialog.cjs\",[[1,\"sas-dialog\"]]],[\"sas-form.cjs\",[[1,\"sas-form\",{\"method\":[513],\"url\":[513],\"reset\":[64],\"validate\":[64],\"submit\":[64]}]]],[\"sas-progress-bar.cjs\",[[1,\"sas-progress-bar\",{\"progress\":[514]}]]],[\"sas-tab.cjs\",[[1,\"sas-tab\",null,[[0,\"tabItemClicked\",\"tabItemClickedHandler\"]]]]],[\"sas-tab-item.cjs\",[[1,\"sas-tab-item\",{\"value\":[513],\"text\":[513]}]]],[\"sas-table.cjs\",[[1,\"sas-table\",{\"headers\":[16],\"items\":[16],\"sortedItems\":[32]}]]],[\"sas-date-field.cjs\",[[1,\"sas-date-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"icon\":[513],\"validity\":[1040],\"message\":[1537],\"localDate\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"]]]]],[\"sas-radio.cjs\",[[1,\"sas-radio\",{\"name\":[513],\"value\":[1032],\"text\":[513],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"tabindexNumber\":[32],\"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],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-avatar.cjs\",[[1,\"sas-avatar\",{\"type\":[513],\"name\":[513],\"src\":[513],\"disabled\":[516],\"group\":[516]}]]],[\"sas-image.cjs\",[[1,\"sas-image\",{\"imageObject\":[8,\"image-object\"],\"src\":[513],\"lazy\":[516]}]]],[\"sas-dropdown.cjs\",[[1,\"sas-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]]]]]"), options);
|
|
20
|
+
return index.bootstrapLazy(JSON.parse("[[\"sas-autocomplete_17.cjs\",[[1,\"sas-multiselect\",{\"type\":[513],\"search\":[516],\"noMatchTip\":[513,\"no-match-tip\"],\"label\":[513],\"outside\":[516],\"required\":[516],\"disabled\":[516],\"clear\":[516],\"placeholder\":[1537],\"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\"],\"validity\":[1040],\"message\":[1537],\"value\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"checkboxgroupupdate\",\"checkboxUpdateHandler\"],[0,\"chipUpdate\",\"chipUpdateHandler\"],[0,\"inputClear\",\"inputClearHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]],[1,\"sas-autocomplete\",{\"label\":[513],\"required\":[516],\"disabled\":[516],\"placeholder\":[513],\"options\":[16],\"value\":[8],\"text\":[8],\"update\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"listUpdate\",\"listUpdateHandler\"]]],[1,\"sas-select\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"type\":[513],\"noMatchTip\":[513,\"no-match-tip\"],\"placeholder\":[513],\"disabled\":[516],\"clear\":[516],\"options\":[1040],\"defaultValue\":[520,\"default-value\"],\"name\":[513],\"value\":[1032],\"rawData\":[1032,\"raw-data\"],\"text\":[1032],\"subtextPosition\":[513,\"subtext-position\"],\"validity\":[1040],\"message\":[1537],\"update\":[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-container\",{\"gridTemplateColumns\":[513,\"grid-template-columns\"],\"gridTemplateRows\":[513,\"grid-template-rows\"],\"justifyItems\":[513,\"justify-items\"],\"alignItems\":[513,\"align-items\"]}],[1,\"sas-checkbox-group\",{\"name\":[513],\"label\":[1537],\"required\":[1540],\"values\":[1040],\"rawData\":[1040],\"max\":[514],\"options\":[1040],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"columns\":[514],\"update\":[64]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[1,\"sas-chip\",{\"type\":[513],\"status\":[513],\"outlined\":[516],\"close\":[516],\"inside\":[516],\"text\":[513],\"uppercase\":[516],\"bold\":[516]}],[1,\"sas-checkbox\",{\"name\":[513],\"value\":[8],\"text\":[1537],\"index\":[514],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[513],\"error\":[1540],\"required\":[516],\"validity\":[1040],\"message\":[1537],\"exclusive\":[1540],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}],[1,\"sas-checkbox-subgroup\",{\"value\":[8],\"text\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[1025],\"status\":[1025]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[1,\"sas-list\",{\"toggle\":[516],\"compact\":[516],\"border\":[516],\"subtextPosition\":[513,\"subtext-position\"],\"value\":[1544],\"rawData\":[1032,\"raw-data\"],\"text\":[1544],\"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-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-list-item\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"subtextPosition\":[513,\"subtext-position\"],\"iconRight\":[513,\"icon-right\"],\"selected\":[516],\"disabled\":[516],\"index\":[514],\"href\":[513],\"target\":[513]}],[1,\"sas-form-input-template\",{\"label\":[513],\"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],\"show\":[1540],\"clickClose\":[516,\"click-close\"]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-input\",{\"type\":[1537],\"placeholder\":[1537],\"name\":[1537],\"value\":[1537],\"label\":[1537],\"outside\":[1540],\"required\":[1540],\"maxlength\":[1538],\"minlength\":[1538],\"max\":[1537],\"min\":[1537],\"iconLeft\":[1537,\"icon-left\"],\"iconRight\":[1537,\"icon-right\"],\"clear\":[1540],\"readonly\":[1540],\"disabled\":[1540],\"validity\":[1032],\"error\":[1540],\"message\":[1537],\"country\":[1537],\"placeholderNumberType\":[513,\"placeholder-number-type\"],\"isValidNumber\":[1540,\"is-valid-number\"],\"update\":[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\":[1537],\"maxlength\":[1538],\"minlength\":[1538],\"value\":[1537]}],[1,\"sas-icon\",{\"type\":[513],\"size\":[513],\"status\":[513],\"icon\":[513],\"index\":[2]}]]],[\"sas-date-range.cjs\",[[1,\"sas-date-range\",{\"label\":[1537],\"outside\":[1540],\"name\":[513],\"min\":[1537],\"max\":[1537],\"from\":[1537],\"to\":[1537],\"required\":[516],\"disabled\":[516]}]]],[\"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],\"validity\":[1040],\"message\":[1537],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"],[0,\"listItemClicked\",\"listItemClickedHandler\"]]]]],[\"sas-menu-bar.cjs\",[[1,\"sas-menu-bar\",{\"sticky\":[516]},[[9,\"resize\",\"handleResize\"],[0,\"selectUpdateEventUsedInternal\",\"selectUpdateEventUsedInternalHandler\"],[0,\"multiselectUpdateEventUsedInternal\",\"multiselectUpdateEventUsedInternalHandler\"],[0,\"dateFieldUpdateEventUsedInternal\",\"dateFieldUpdateEventUsedInternalHandler\"]]]]],[\"sas-user-card.cjs\",[[1,\"sas-user-card\",{\"block\":[516],\"name\":[513],\"position\":[513],\"status\":[1537],\"badge\":[516],\"attachment\":[516],\"src\":[513]},[[0,\"switchUpdate\",\"switchUpdateHandler\"]]]]],[\"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\"]}]]],[\"sas-navigation-top.cjs\",[[1,\"sas-navigation-top\",{\"name\":[513],\"user\":[513],\"src\":[513]}]]],[\"sas-stepper.cjs\",[[1,\"sas-stepper\",{\"type\":[513],\"total\":[514],\"current\":[1538],\"names\":[16]},[[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\":[1537],\"required\":[1540],\"value\":[1032],\"defaultValue\":[520,\"default-value\"],\"text\":[1544],\"rawData\":[1032,\"raw-data\"],\"options\":[16],\"update\":[64]},[[0,\"radioupdate\",\"radioUpdateHandler\"]]]]],[\"sas-upload.cjs\",[[1,\"sas-upload\",{\"compact\":[516],\"inputOutside\":[516,\"input-outside\"],\"type\":[513],\"label\":[1537],\"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-details.cjs\",[[1,\"sas-details\",{\"open\":[516],\"icon\":[513]}]]],[\"sas-file-upload.cjs\",[[1,\"sas-file-upload\",{\"label\":[32]}]]],[\"sas-navigation.cjs\",[[1,\"sas-navigation\",{\"name\":[513]}]]],[\"sas-tooltip.cjs\",[[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[32]}]]],[\"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-dialog.cjs\",[[1,\"sas-dialog\"]]],[\"sas-form.cjs\",[[1,\"sas-form\",{\"method\":[513],\"url\":[513],\"reset\":[64],\"validate\":[64],\"submit\":[64]}]]],[\"sas-progress-bar.cjs\",[[1,\"sas-progress-bar\",{\"progress\":[514]}]]],[\"sas-tab.cjs\",[[1,\"sas-tab\",null,[[0,\"tabItemClicked\",\"tabItemClickedHandler\"]]]]],[\"sas-tab-item.cjs\",[[1,\"sas-tab-item\",{\"value\":[513],\"text\":[513]}]]],[\"sas-table.cjs\",[[1,\"sas-table\",{\"headers\":[16],\"items\":[16],\"sortedItems\":[32]}]]],[\"sas-date-field.cjs\",[[1,\"sas-date-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"icon\":[513],\"validity\":[1040],\"message\":[1537],\"localDate\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"]]]]],[\"sas-radio.cjs\",[[1,\"sas-radio\",{\"name\":[513],\"value\":[1032],\"text\":[513],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"tabindexNumber\":[32],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-badge.cjs\",[[1,\"sas-badge\",{\"type\":[513],\"status\":[513],\"number\":[514],\"inline\":[516]}]]],[\"sas-chat-bubble.cjs\",[[1,\"sas-chat-bubble\",{\"position\":[513]}]]],[\"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],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-avatar.cjs\",[[1,\"sas-avatar\",{\"type\":[513],\"name\":[513],\"src\":[513],\"disabled\":[516],\"group\":[516]}]]],[\"sas-image.cjs\",[[1,\"sas-image\",{\"imageObject\":[8,\"image-object\"],\"src\":[513],\"lazy\":[516]}]]],[\"sas-dropdown.cjs\",[[1,\"sas-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]]]]]"), options);
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -424,22 +424,6 @@ const SasButton = class {
|
|
|
424
424
|
};
|
|
425
425
|
SasButton.style = sasButtonCss;
|
|
426
426
|
|
|
427
|
-
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)}";
|
|
428
|
-
|
|
429
|
-
const SasChatBubble = class {
|
|
430
|
-
constructor(hostRef) {
|
|
431
|
-
index.registerInstance(this, hostRef);
|
|
432
|
-
/**
|
|
433
|
-
* position
|
|
434
|
-
*/
|
|
435
|
-
this.position = 'top';
|
|
436
|
-
}
|
|
437
|
-
render() {
|
|
438
|
-
return (index.h(index.Host, null, index.h("slot", null)));
|
|
439
|
-
}
|
|
440
|
-
};
|
|
441
|
-
SasChatBubble.style = sasChatBubbleCss;
|
|
442
|
-
|
|
443
427
|
const sasCheckboxCss = ":host{display:flex}:host .container{display:flex;gap:10px;flex-grow:1;align-items:center;cursor:pointer;box-sizing:border-box;padding:var(--checkbox-padding, 0);position:relative;font-size:16px}:host .container:after{content:attr(data-message);position:absolute;top:calc(100% + 5px);color:var(--li-2);font-size:12px;white-space:nowrap}:host .checkbox{border:1px solid var(--s-300);border-radius:5px;width:19px;height:19px;flex-shrink:0;align-self:flex-start;display:flex;justify-content:center}:host .checkbox:hover,:host .checkbox:focus{border-color:var(--s-400);box-shadow:0px 0px 5px #0000001A;outline:none}:host img{width:21px;height:21px;border-radius:5px;margin-left:-1px;margin-top:-1px;-webkit-user-select:none;-ms-user-select:none;user-select:none;}:host sas-icon{--icon-background-width:100%;--icon-background-height:100%;--icon-color:white;--icon-size:90%}:host .text{font-size:14px;color:var(--secondary);outline:none}:host(:focus){outline:none}:host([checked]:not([checked=false])) .checkbox{background-color:var(--primary);border-color:var(--primary)}:host([disabled]:not([disabled=false])) .container{cursor:not-allowed}:host([disabled]:not([disabled=false])) .checkbox{background-color:var(--s-200);border:1px solid var(--s-200);pointer-events:none}:host([disabled]:not([disabled=false])) sas-icon{--icon-color:var(--s-400)}:host([error]:not([error=false])) .text{color:var(--li-2)}:host([align=left]) .container{justify-content:flex-start}:host([align=right]) .container{justify-content:flex-end}:host([align=space-between]) .container{justify-content:space-between}";
|
|
444
428
|
|
|
445
429
|
const SasCheckbox = class {
|
|
@@ -3139,28 +3123,37 @@ const SasInputTextarea = class {
|
|
|
3139
3123
|
* Value
|
|
3140
3124
|
*/
|
|
3141
3125
|
this.value = '';
|
|
3126
|
+
this.lineHeight = 24;
|
|
3127
|
+
}
|
|
3128
|
+
componentDidLoad() {
|
|
3129
|
+
const element = this.el.shadowRoot.querySelector('textarea');
|
|
3130
|
+
console.log(element.value);
|
|
3131
|
+
this.resize(element);
|
|
3142
3132
|
}
|
|
3143
3133
|
handleInput(event) {
|
|
3144
|
-
this.resize(event.target
|
|
3134
|
+
this.resize(event.target);
|
|
3145
3135
|
this.inputTextareaUpdate.emit(event.target.value);
|
|
3146
3136
|
}
|
|
3147
|
-
resize(
|
|
3148
|
-
if (!
|
|
3149
|
-
this.getBaseScrollHeight(
|
|
3137
|
+
resize(element) {
|
|
3138
|
+
if (!element._baseScrollHeight) {
|
|
3139
|
+
this.getBaseScrollHeight(element);
|
|
3150
3140
|
}
|
|
3151
|
-
|
|
3152
|
-
const rows = Math.ceil((
|
|
3153
|
-
|
|
3141
|
+
element.rows = 1;
|
|
3142
|
+
const rows = Math.ceil((element.scrollHeight - element._baseScrollHeight) / this.lineHeight) + 1;
|
|
3143
|
+
element.rows = rows;
|
|
3154
3144
|
}
|
|
3155
|
-
getBaseScrollHeight(
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3145
|
+
getBaseScrollHeight(element) {
|
|
3146
|
+
console.log(element);
|
|
3147
|
+
let temp = element.value;
|
|
3148
|
+
element.value = '';
|
|
3149
|
+
element.rows = 1;
|
|
3150
|
+
element._baseScrollHeight = element.scrollHeight;
|
|
3151
|
+
element.value = temp;
|
|
3160
3152
|
}
|
|
3161
3153
|
render() {
|
|
3162
3154
|
return (index.h(index.Host, null, index.h("div", { class: "container", "data-count": this.maxlength && this.value ? this.maxlength - this.value.length : '' }, index.h("textarea", { rows: 1, placeholder: this.placeholder, maxlength: this.maxlength, minlength: this.minlength, value: this.value, onInput: (event) => this.handleInput(event) }))));
|
|
3163
3155
|
}
|
|
3156
|
+
get el() { return index.getElement(this); }
|
|
3164
3157
|
};
|
|
3165
3158
|
SasInputTextarea.style = sasInputTextareaCss;
|
|
3166
3159
|
|
|
@@ -4981,55 +4974,8 @@ const SasSublist = class {
|
|
|
4981
4974
|
};
|
|
4982
4975
|
SasSublist.style = sasSublistCss;
|
|
4983
4976
|
|
|
4984
|
-
const sasTooltipCss = ":host{display:inline-block}:host .container{display:inline-block;position:relative;cursor:pointer}:host .chatBubble{z-index:10}:host .hide{opacity:0;z-index:-1;pointer-events:none}:host .trigger-container{color:var(--s-400);font-weight:bold}:host .text{margin:0}";
|
|
4985
|
-
|
|
4986
|
-
const SasTooltip = class {
|
|
4987
|
-
constructor(hostRef) {
|
|
4988
|
-
index.registerInstance(this, hostRef);
|
|
4989
|
-
this.trigger = '';
|
|
4990
|
-
this.text = '';
|
|
4991
|
-
/**
|
|
4992
|
-
* position
|
|
4993
|
-
*/
|
|
4994
|
-
this.position = 'bottom';
|
|
4995
|
-
}
|
|
4996
|
-
mouseOverHandler() {
|
|
4997
|
-
this.updatePosition();
|
|
4998
|
-
const chatBubble = this.el.shadowRoot.querySelector('sas-chat-bubble');
|
|
4999
|
-
chatBubble.classList.remove('hide');
|
|
5000
|
-
}
|
|
5001
|
-
updatePosition() {
|
|
5002
|
-
const bubble = this.el.shadowRoot.querySelector('sas-chat-bubble');
|
|
5003
|
-
const bubblePosition = bubble.getBoundingClientRect();
|
|
5004
|
-
let newPosition = this.position;
|
|
5005
|
-
if (bubblePosition.top < 0) {
|
|
5006
|
-
newPosition = 'bottom';
|
|
5007
|
-
}
|
|
5008
|
-
if (bubblePosition.bottom > document.documentElement.clientHeight) {
|
|
5009
|
-
newPosition = 'top';
|
|
5010
|
-
}
|
|
5011
|
-
if (bubblePosition.left < 0) {
|
|
5012
|
-
newPosition = 'right';
|
|
5013
|
-
}
|
|
5014
|
-
if (bubblePosition.right > document.documentElement.clientWidth) {
|
|
5015
|
-
newPosition = 'left';
|
|
5016
|
-
}
|
|
5017
|
-
this.position = newPosition;
|
|
5018
|
-
}
|
|
5019
|
-
mouseOutHandler() {
|
|
5020
|
-
const chatBubble = this.el.shadowRoot.querySelector('sas-chat-bubble');
|
|
5021
|
-
chatBubble.classList.add('hide');
|
|
5022
|
-
}
|
|
5023
|
-
render() {
|
|
5024
|
-
return (index.h(index.Host, null, index.h("div", { class: "container" }, index.h("div", { class: "trigger-container", tabindex: 0, onPointerOver: () => this.mouseOverHandler(), onFocus: () => this.mouseOverHandler(), onPointerOut: () => this.mouseOutHandler(), onBlur: () => this.mouseOutHandler() }, index.h("slot", { name: "trigger" }, index.h("span", null, this.trigger))), index.h("sas-chat-bubble", { class: "chatBubble hide", position: this.position }, index.h("slot", { name: "text" }, index.h("p", { class: "text" }, this.text))))));
|
|
5025
|
-
}
|
|
5026
|
-
get el() { return index.getElement(this); }
|
|
5027
|
-
};
|
|
5028
|
-
SasTooltip.style = sasTooltipCss;
|
|
5029
|
-
|
|
5030
4977
|
exports.sas_autocomplete = SasAutocomplete;
|
|
5031
4978
|
exports.sas_button = SasButton;
|
|
5032
|
-
exports.sas_chat_bubble = SasChatBubble;
|
|
5033
4979
|
exports.sas_checkbox = SasCheckbox;
|
|
5034
4980
|
exports.sas_checkbox_group = SasCheckboxGroup;
|
|
5035
4981
|
exports.sas_checkbox_subgroup = SasCheckboxSubgroup;
|
|
@@ -5045,4 +4991,3 @@ exports.sas_list_item = SasListItem;
|
|
|
5045
4991
|
exports.sas_multiselect = SasMultiselect;
|
|
5046
4992
|
exports.sas_select = SasSelect;
|
|
5047
4993
|
exports.sas_sublist = SasSublist;
|
|
5048
|
-
exports.sas_tooltip = SasTooltip;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-023cb942.js');
|
|
6
|
+
|
|
7
|
+
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)}";
|
|
8
|
+
|
|
9
|
+
const SasChatBubble = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
/**
|
|
13
|
+
* position
|
|
14
|
+
*/
|
|
15
|
+
this.position = 'top';
|
|
16
|
+
}
|
|
17
|
+
render() {
|
|
18
|
+
return (index.h(index.Host, null, index.h("slot", null)));
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
SasChatBubble.style = sasChatBubbleCss;
|
|
22
|
+
|
|
23
|
+
exports.sas_chat_bubble = SasChatBubble;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-023cb942.js');
|
|
6
|
+
|
|
7
|
+
const sasTooltipCss = ":host{display:inline-block}:host .container{display:inline-block;position:relative;cursor:pointer}:host .chatBubble{z-index:10}:host .hide{opacity:0;z-index:-1;pointer-events:none}:host .trigger-container{color:var(--s-400);font-weight:bold}:host .text{margin:0}";
|
|
8
|
+
|
|
9
|
+
const SasTooltip = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.trigger = '';
|
|
13
|
+
this.text = '';
|
|
14
|
+
/**
|
|
15
|
+
* position
|
|
16
|
+
*/
|
|
17
|
+
this.position = 'bottom';
|
|
18
|
+
}
|
|
19
|
+
mouseOverHandler() {
|
|
20
|
+
this.updatePosition();
|
|
21
|
+
const chatBubble = this.el.shadowRoot.querySelector('sas-chat-bubble');
|
|
22
|
+
chatBubble.classList.remove('hide');
|
|
23
|
+
}
|
|
24
|
+
updatePosition() {
|
|
25
|
+
const bubble = this.el.shadowRoot.querySelector('sas-chat-bubble');
|
|
26
|
+
const bubblePosition = bubble.getBoundingClientRect();
|
|
27
|
+
let newPosition = this.position;
|
|
28
|
+
if (bubblePosition.top < 0) {
|
|
29
|
+
newPosition = 'bottom';
|
|
30
|
+
}
|
|
31
|
+
if (bubblePosition.bottom > document.documentElement.clientHeight) {
|
|
32
|
+
newPosition = 'top';
|
|
33
|
+
}
|
|
34
|
+
if (bubblePosition.left < 0) {
|
|
35
|
+
newPosition = 'right';
|
|
36
|
+
}
|
|
37
|
+
if (bubblePosition.right > document.documentElement.clientWidth) {
|
|
38
|
+
newPosition = 'left';
|
|
39
|
+
}
|
|
40
|
+
this.position = newPosition;
|
|
41
|
+
}
|
|
42
|
+
mouseOutHandler() {
|
|
43
|
+
const chatBubble = this.el.shadowRoot.querySelector('sas-chat-bubble');
|
|
44
|
+
chatBubble.classList.add('hide');
|
|
45
|
+
}
|
|
46
|
+
render() {
|
|
47
|
+
return (index.h(index.Host, null, index.h("div", { class: "container" }, index.h("div", { class: "trigger-container", tabindex: 0, onPointerOver: () => this.mouseOverHandler(), onFocus: () => this.mouseOverHandler(), onPointerOut: () => this.mouseOutHandler(), onBlur: () => this.mouseOutHandler() }, index.h("slot", { name: "trigger" }, index.h("span", null, this.trigger))), index.h("sas-chat-bubble", { class: "chatBubble hide", position: this.position }, index.h("slot", { name: "text" }, index.h("p", { class: "text" }, this.text))))));
|
|
48
|
+
}
|
|
49
|
+
get el() { return index.getElement(this); }
|
|
50
|
+
};
|
|
51
|
+
SasTooltip.style = sasTooltipCss;
|
|
52
|
+
|
|
53
|
+
exports.sas_tooltip = SasTooltip;
|
package/dist/cjs/sas-ui.cjs.js
CHANGED
|
@@ -18,5 +18,5 @@ const patchBrowser = () => {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(options => {
|
|
21
|
-
return index.bootstrapLazy(JSON.parse("[[\"sas-autocomplete_19.cjs\",[[1,\"sas-multiselect\",{\"type\":[513],\"search\":[516],\"noMatchTip\":[513,\"no-match-tip\"],\"label\":[513],\"outside\":[516],\"required\":[516],\"disabled\":[516],\"clear\":[516],\"placeholder\":[1537],\"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\"],\"validity\":[1040],\"message\":[1537],\"value\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"checkboxgroupupdate\",\"checkboxUpdateHandler\"],[0,\"chipUpdate\",\"chipUpdateHandler\"],[0,\"inputClear\",\"inputClearHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]],[1,\"sas-autocomplete\",{\"label\":[513],\"required\":[516],\"disabled\":[516],\"placeholder\":[513],\"options\":[16],\"value\":[8],\"text\":[8],\"update\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"listUpdate\",\"listUpdateHandler\"]]],[1,\"sas-select\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"type\":[513],\"noMatchTip\":[513,\"no-match-tip\"],\"placeholder\":[513],\"disabled\":[516],\"clear\":[516],\"options\":[1040],\"defaultValue\":[520,\"default-value\"],\"name\":[513],\"value\":[1032],\"rawData\":[1032,\"raw-data\"],\"text\":[1032],\"subtextPosition\":[513,\"subtext-position\"],\"validity\":[1040],\"message\":[1537],\"update\":[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\":[32]}],[1,\"sas-container\",{\"gridTemplateColumns\":[513,\"grid-template-columns\"],\"gridTemplateRows\":[513,\"grid-template-rows\"],\"justifyItems\":[513,\"justify-items\"],\"alignItems\":[513,\"align-items\"]}],[1,\"sas-checkbox-group\",{\"name\":[513],\"label\":[1537],\"required\":[1540],\"values\":[1040],\"rawData\":[1040],\"max\":[514],\"options\":[1040],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"columns\":[514],\"update\":[64]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[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-checkbox\",{\"name\":[513],\"value\":[8],\"text\":[1537],\"index\":[514],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[513],\"error\":[1540],\"required\":[516],\"validity\":[1040],\"message\":[1537],\"exclusive\":[1540],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}],[1,\"sas-checkbox-subgroup\",{\"value\":[8],\"text\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[1025],\"status\":[1025]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[1,\"sas-list\",{\"toggle\":[516],\"compact\":[516],\"border\":[516],\"subtextPosition\":[513,\"subtext-position\"],\"value\":[1544],\"rawData\":[1032,\"raw-data\"],\"text\":[1544],\"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-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-list-item\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"subtextPosition\":[513,\"subtext-position\"],\"iconRight\":[513,\"icon-right\"],\"selected\":[516],\"disabled\":[516],\"index\":[514],\"href\":[513],\"target\":[513]}],[1,\"sas-form-input-template\",{\"label\":[513],\"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],\"show\":[1540],\"clickClose\":[516,\"click-close\"]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-input\",{\"type\":[1537],\"placeholder\":[1537],\"name\":[1537],\"value\":[1537],\"label\":[1537],\"outside\":[1540],\"required\":[1540],\"maxlength\":[1538],\"minlength\":[1538],\"max\":[1537],\"min\":[1537],\"iconLeft\":[1537,\"icon-left\"],\"iconRight\":[1537,\"icon-right\"],\"clear\":[1540],\"readonly\":[1540],\"disabled\":[1540],\"validity\":[1032],\"error\":[1540],\"message\":[1537],\"country\":[1537],\"placeholderNumberType\":[513,\"placeholder-number-type\"],\"isValidNumber\":[1540,\"is-valid-number\"],\"update\":[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\":[1537],\"maxlength\":[1538],\"minlength\":[1538],\"value\":[1537]}],[1,\"sas-icon\",{\"type\":[513],\"size\":[513],\"status\":[513],\"icon\":[513],\"index\":[2]}]]],[\"sas-date-range.cjs\",[[1,\"sas-date-range\",{\"label\":[1537],\"outside\":[1540],\"name\":[513],\"min\":[1537],\"max\":[1537],\"from\":[1537],\"to\":[1537],\"required\":[516],\"disabled\":[516]}]]],[\"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],\"validity\":[1040],\"message\":[1537],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"],[0,\"listItemClicked\",\"listItemClickedHandler\"]]]]],[\"sas-menu-bar.cjs\",[[1,\"sas-menu-bar\",{\"sticky\":[516]},[[9,\"resize\",\"handleResize\"],[0,\"selectUpdateEventUsedInternal\",\"selectUpdateEventUsedInternalHandler\"],[0,\"multiselectUpdateEventUsedInternal\",\"multiselectUpdateEventUsedInternalHandler\"],[0,\"dateFieldUpdateEventUsedInternal\",\"dateFieldUpdateEventUsedInternalHandler\"]]]]],[\"sas-user-card.cjs\",[[1,\"sas-user-card\",{\"block\":[516],\"name\":[513],\"position\":[513],\"status\":[1537],\"badge\":[516],\"attachment\":[516],\"src\":[513]},[[0,\"switchUpdate\",\"switchUpdateHandler\"]]]]],[\"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\"]}]]],[\"sas-navigation-top.cjs\",[[1,\"sas-navigation-top\",{\"name\":[513],\"user\":[513],\"src\":[513]}]]],[\"sas-stepper.cjs\",[[1,\"sas-stepper\",{\"type\":[513],\"total\":[514],\"current\":[1538],\"names\":[16]},[[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\":[1537],\"required\":[1540],\"value\":[1032],\"defaultValue\":[520,\"default-value\"],\"text\":[1544],\"rawData\":[1032,\"raw-data\"],\"options\":[16],\"update\":[64]},[[0,\"radioupdate\",\"radioUpdateHandler\"]]]]],[\"sas-upload.cjs\",[[1,\"sas-upload\",{\"compact\":[516],\"inputOutside\":[516,\"input-outside\"],\"type\":[513],\"label\":[1537],\"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-details.cjs\",[[1,\"sas-details\",{\"open\":[516],\"icon\":[513]}]]],[\"sas-file-upload.cjs\",[[1,\"sas-file-upload\",{\"label\":[32]}]]],[\"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-dialog.cjs\",[[1,\"sas-dialog\"]]],[\"sas-form.cjs\",[[1,\"sas-form\",{\"method\":[513],\"url\":[513],\"reset\":[64],\"validate\":[64],\"submit\":[64]}]]],[\"sas-progress-bar.cjs\",[[1,\"sas-progress-bar\",{\"progress\":[514]}]]],[\"sas-tab.cjs\",[[1,\"sas-tab\",null,[[0,\"tabItemClicked\",\"tabItemClickedHandler\"]]]]],[\"sas-tab-item.cjs\",[[1,\"sas-tab-item\",{\"value\":[513],\"text\":[513]}]]],[\"sas-table.cjs\",[[1,\"sas-table\",{\"headers\":[16],\"items\":[16],\"sortedItems\":[32]}]]],[\"sas-date-field.cjs\",[[1,\"sas-date-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"icon\":[513],\"validity\":[1040],\"message\":[1537],\"localDate\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"]]]]],[\"sas-radio.cjs\",[[1,\"sas-radio\",{\"name\":[513],\"value\":[1032],\"text\":[513],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"tabindexNumber\":[32],\"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],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-avatar.cjs\",[[1,\"sas-avatar\",{\"type\":[513],\"name\":[513],\"src\":[513],\"disabled\":[516],\"group\":[516]}]]],[\"sas-image.cjs\",[[1,\"sas-image\",{\"imageObject\":[8,\"image-object\"],\"src\":[513],\"lazy\":[516]}]]],[\"sas-dropdown.cjs\",[[1,\"sas-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]]]]]"), options);
|
|
21
|
+
return index.bootstrapLazy(JSON.parse("[[\"sas-autocomplete_17.cjs\",[[1,\"sas-multiselect\",{\"type\":[513],\"search\":[516],\"noMatchTip\":[513,\"no-match-tip\"],\"label\":[513],\"outside\":[516],\"required\":[516],\"disabled\":[516],\"clear\":[516],\"placeholder\":[1537],\"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\"],\"validity\":[1040],\"message\":[1537],\"value\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"checkboxgroupupdate\",\"checkboxUpdateHandler\"],[0,\"chipUpdate\",\"chipUpdateHandler\"],[0,\"inputClear\",\"inputClearHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]],[1,\"sas-autocomplete\",{\"label\":[513],\"required\":[516],\"disabled\":[516],\"placeholder\":[513],\"options\":[16],\"value\":[8],\"text\":[8],\"update\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"listUpdate\",\"listUpdateHandler\"]]],[1,\"sas-select\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"type\":[513],\"noMatchTip\":[513,\"no-match-tip\"],\"placeholder\":[513],\"disabled\":[516],\"clear\":[516],\"options\":[1040],\"defaultValue\":[520,\"default-value\"],\"name\":[513],\"value\":[1032],\"rawData\":[1032,\"raw-data\"],\"text\":[1032],\"subtextPosition\":[513,\"subtext-position\"],\"validity\":[1040],\"message\":[1537],\"update\":[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-container\",{\"gridTemplateColumns\":[513,\"grid-template-columns\"],\"gridTemplateRows\":[513,\"grid-template-rows\"],\"justifyItems\":[513,\"justify-items\"],\"alignItems\":[513,\"align-items\"]}],[1,\"sas-checkbox-group\",{\"name\":[513],\"label\":[1537],\"required\":[1540],\"values\":[1040],\"rawData\":[1040],\"max\":[514],\"options\":[1040],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"columns\":[514],\"update\":[64]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[1,\"sas-chip\",{\"type\":[513],\"status\":[513],\"outlined\":[516],\"close\":[516],\"inside\":[516],\"text\":[513],\"uppercase\":[516],\"bold\":[516]}],[1,\"sas-checkbox\",{\"name\":[513],\"value\":[8],\"text\":[1537],\"index\":[514],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[513],\"error\":[1540],\"required\":[516],\"validity\":[1040],\"message\":[1537],\"exclusive\":[1540],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}],[1,\"sas-checkbox-subgroup\",{\"value\":[8],\"text\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[1025],\"status\":[1025]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[1,\"sas-list\",{\"toggle\":[516],\"compact\":[516],\"border\":[516],\"subtextPosition\":[513,\"subtext-position\"],\"value\":[1544],\"rawData\":[1032,\"raw-data\"],\"text\":[1544],\"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-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-list-item\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"subtextPosition\":[513,\"subtext-position\"],\"iconRight\":[513,\"icon-right\"],\"selected\":[516],\"disabled\":[516],\"index\":[514],\"href\":[513],\"target\":[513]}],[1,\"sas-form-input-template\",{\"label\":[513],\"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],\"show\":[1540],\"clickClose\":[516,\"click-close\"]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-input\",{\"type\":[1537],\"placeholder\":[1537],\"name\":[1537],\"value\":[1537],\"label\":[1537],\"outside\":[1540],\"required\":[1540],\"maxlength\":[1538],\"minlength\":[1538],\"max\":[1537],\"min\":[1537],\"iconLeft\":[1537,\"icon-left\"],\"iconRight\":[1537,\"icon-right\"],\"clear\":[1540],\"readonly\":[1540],\"disabled\":[1540],\"validity\":[1032],\"error\":[1540],\"message\":[1537],\"country\":[1537],\"placeholderNumberType\":[513,\"placeholder-number-type\"],\"isValidNumber\":[1540,\"is-valid-number\"],\"update\":[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\":[1537],\"maxlength\":[1538],\"minlength\":[1538],\"value\":[1537]}],[1,\"sas-icon\",{\"type\":[513],\"size\":[513],\"status\":[513],\"icon\":[513],\"index\":[2]}]]],[\"sas-date-range.cjs\",[[1,\"sas-date-range\",{\"label\":[1537],\"outside\":[1540],\"name\":[513],\"min\":[1537],\"max\":[1537],\"from\":[1537],\"to\":[1537],\"required\":[516],\"disabled\":[516]}]]],[\"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],\"validity\":[1040],\"message\":[1537],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"],[0,\"listItemClicked\",\"listItemClickedHandler\"]]]]],[\"sas-menu-bar.cjs\",[[1,\"sas-menu-bar\",{\"sticky\":[516]},[[9,\"resize\",\"handleResize\"],[0,\"selectUpdateEventUsedInternal\",\"selectUpdateEventUsedInternalHandler\"],[0,\"multiselectUpdateEventUsedInternal\",\"multiselectUpdateEventUsedInternalHandler\"],[0,\"dateFieldUpdateEventUsedInternal\",\"dateFieldUpdateEventUsedInternalHandler\"]]]]],[\"sas-user-card.cjs\",[[1,\"sas-user-card\",{\"block\":[516],\"name\":[513],\"position\":[513],\"status\":[1537],\"badge\":[516],\"attachment\":[516],\"src\":[513]},[[0,\"switchUpdate\",\"switchUpdateHandler\"]]]]],[\"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\"]}]]],[\"sas-navigation-top.cjs\",[[1,\"sas-navigation-top\",{\"name\":[513],\"user\":[513],\"src\":[513]}]]],[\"sas-stepper.cjs\",[[1,\"sas-stepper\",{\"type\":[513],\"total\":[514],\"current\":[1538],\"names\":[16]},[[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\":[1537],\"required\":[1540],\"value\":[1032],\"defaultValue\":[520,\"default-value\"],\"text\":[1544],\"rawData\":[1032,\"raw-data\"],\"options\":[16],\"update\":[64]},[[0,\"radioupdate\",\"radioUpdateHandler\"]]]]],[\"sas-upload.cjs\",[[1,\"sas-upload\",{\"compact\":[516],\"inputOutside\":[516,\"input-outside\"],\"type\":[513],\"label\":[1537],\"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-details.cjs\",[[1,\"sas-details\",{\"open\":[516],\"icon\":[513]}]]],[\"sas-file-upload.cjs\",[[1,\"sas-file-upload\",{\"label\":[32]}]]],[\"sas-navigation.cjs\",[[1,\"sas-navigation\",{\"name\":[513]}]]],[\"sas-tooltip.cjs\",[[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[32]}]]],[\"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-dialog.cjs\",[[1,\"sas-dialog\"]]],[\"sas-form.cjs\",[[1,\"sas-form\",{\"method\":[513],\"url\":[513],\"reset\":[64],\"validate\":[64],\"submit\":[64]}]]],[\"sas-progress-bar.cjs\",[[1,\"sas-progress-bar\",{\"progress\":[514]}]]],[\"sas-tab.cjs\",[[1,\"sas-tab\",null,[[0,\"tabItemClicked\",\"tabItemClickedHandler\"]]]]],[\"sas-tab-item.cjs\",[[1,\"sas-tab-item\",{\"value\":[513],\"text\":[513]}]]],[\"sas-table.cjs\",[[1,\"sas-table\",{\"headers\":[16],\"items\":[16],\"sortedItems\":[32]}]]],[\"sas-date-field.cjs\",[[1,\"sas-date-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"icon\":[513],\"validity\":[1040],\"message\":[1537],\"localDate\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"]]]]],[\"sas-radio.cjs\",[[1,\"sas-radio\",{\"name\":[513],\"value\":[1032],\"text\":[513],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"tabindexNumber\":[32],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-badge.cjs\",[[1,\"sas-badge\",{\"type\":[513],\"status\":[513],\"number\":[514],\"inline\":[516]}]]],[\"sas-chat-bubble.cjs\",[[1,\"sas-chat-bubble\",{\"position\":[513]}]]],[\"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],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-avatar.cjs\",[[1,\"sas-avatar\",{\"type\":[513],\"name\":[513],\"src\":[513],\"disabled\":[516],\"group\":[516]}]]],[\"sas-image.cjs\",[[1,\"sas-image\",{\"imageObject\":[8,\"image-object\"],\"src\":[513],\"lazy\":[516]}]]],[\"sas-dropdown.cjs\",[[1,\"sas-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]]]]]"), options);
|
|
22
22
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Host, h, Prop, Event } from '@stencil/core';
|
|
1
|
+
import { Component, Host, h, Prop, Event, Element } from '@stencil/core';
|
|
2
2
|
export class SasInputTextarea {
|
|
3
3
|
constructor() {
|
|
4
4
|
/**
|
|
@@ -17,24 +17,32 @@ export class SasInputTextarea {
|
|
|
17
17
|
* Value
|
|
18
18
|
*/
|
|
19
19
|
this.value = '';
|
|
20
|
+
this.lineHeight = 24;
|
|
21
|
+
}
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
const element = this.el.shadowRoot.querySelector('textarea');
|
|
24
|
+
console.log(element.value);
|
|
25
|
+
this.resize(element);
|
|
20
26
|
}
|
|
21
27
|
handleInput(event) {
|
|
22
|
-
this.resize(event.target
|
|
28
|
+
this.resize(event.target);
|
|
23
29
|
this.inputTextareaUpdate.emit(event.target.value);
|
|
24
30
|
}
|
|
25
|
-
resize(
|
|
26
|
-
if (!
|
|
27
|
-
this.getBaseScrollHeight(
|
|
31
|
+
resize(element) {
|
|
32
|
+
if (!element._baseScrollHeight) {
|
|
33
|
+
this.getBaseScrollHeight(element);
|
|
28
34
|
}
|
|
29
|
-
|
|
30
|
-
const rows = Math.ceil((
|
|
31
|
-
|
|
35
|
+
element.rows = 1;
|
|
36
|
+
const rows = Math.ceil((element.scrollHeight - element._baseScrollHeight) / this.lineHeight) + 1;
|
|
37
|
+
element.rows = rows;
|
|
32
38
|
}
|
|
33
|
-
getBaseScrollHeight(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
39
|
+
getBaseScrollHeight(element) {
|
|
40
|
+
console.log(element);
|
|
41
|
+
let temp = element.value;
|
|
42
|
+
element.value = '';
|
|
43
|
+
element.rows = 1;
|
|
44
|
+
element._baseScrollHeight = element.scrollHeight;
|
|
45
|
+
element.value = temp;
|
|
38
46
|
}
|
|
39
47
|
render() {
|
|
40
48
|
return (h(Host, null,
|
|
@@ -139,4 +147,5 @@ export class SasInputTextarea {
|
|
|
139
147
|
"references": {}
|
|
140
148
|
}
|
|
141
149
|
}]; }
|
|
150
|
+
static get elementRef() { return "el"; }
|
|
142
151
|
}
|
|
@@ -9368,28 +9368,37 @@ const SasInputTextarea$1 = class extends HTMLElement {
|
|
|
9368
9368
|
* Value
|
|
9369
9369
|
*/
|
|
9370
9370
|
this.value = '';
|
|
9371
|
+
this.lineHeight = 24;
|
|
9372
|
+
}
|
|
9373
|
+
componentDidLoad() {
|
|
9374
|
+
const element = this.el.shadowRoot.querySelector('textarea');
|
|
9375
|
+
console.log(element.value);
|
|
9376
|
+
this.resize(element);
|
|
9371
9377
|
}
|
|
9372
9378
|
handleInput(event) {
|
|
9373
|
-
this.resize(event.target
|
|
9379
|
+
this.resize(event.target);
|
|
9374
9380
|
this.inputTextareaUpdate.emit(event.target.value);
|
|
9375
9381
|
}
|
|
9376
|
-
resize(
|
|
9377
|
-
if (!
|
|
9378
|
-
this.getBaseScrollHeight(
|
|
9382
|
+
resize(element) {
|
|
9383
|
+
if (!element._baseScrollHeight) {
|
|
9384
|
+
this.getBaseScrollHeight(element);
|
|
9379
9385
|
}
|
|
9380
|
-
|
|
9381
|
-
const rows = Math.ceil((
|
|
9382
|
-
|
|
9386
|
+
element.rows = 1;
|
|
9387
|
+
const rows = Math.ceil((element.scrollHeight - element._baseScrollHeight) / this.lineHeight) + 1;
|
|
9388
|
+
element.rows = rows;
|
|
9383
9389
|
}
|
|
9384
|
-
getBaseScrollHeight(
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9390
|
+
getBaseScrollHeight(element) {
|
|
9391
|
+
console.log(element);
|
|
9392
|
+
let temp = element.value;
|
|
9393
|
+
element.value = '';
|
|
9394
|
+
element.rows = 1;
|
|
9395
|
+
element._baseScrollHeight = element.scrollHeight;
|
|
9396
|
+
element.value = temp;
|
|
9389
9397
|
}
|
|
9390
9398
|
render() {
|
|
9391
9399
|
return (h(Host, null, h("div", { class: "container", "data-count": this.maxlength && this.value ? this.maxlength - this.value.length : '' }, h("textarea", { rows: 1, placeholder: this.placeholder, maxlength: this.maxlength, minlength: this.minlength, value: this.value, onInput: (event) => this.handleInput(event) }))));
|
|
9392
9400
|
}
|
|
9401
|
+
get el() { return this; }
|
|
9393
9402
|
static get style() { return sasInputTextareaCss; }
|
|
9394
9403
|
};
|
|
9395
9404
|
|
package/dist/esm/loader.js
CHANGED
|
@@ -13,7 +13,7 @@ const patchEsm = () => {
|
|
|
13
13
|
const defineCustomElements = (win, options) => {
|
|
14
14
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
15
15
|
return patchEsm().then(() => {
|
|
16
|
-
return bootstrapLazy([["sas-autocomplete_19",[[1,"sas-multiselect",{"type":[513],"search":[516],"noMatchTip":[513,"no-match-tip"],"label":[513],"outside":[516],"required":[516],"disabled":[516],"clear":[516],"placeholder":[1537],"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"],"validity":[1040],"message":[1537],"value":[32],"update":[64],"updateErrorStatus":[64],"resetErrorStatus":[64]},[[0,"checkboxgroupupdate","checkboxUpdateHandler"],[0,"chipUpdate","chipUpdateHandler"],[0,"inputClear","inputClearHandler"],[0,"inputContainerClick","inputContainerClickHandler"]]],[1,"sas-autocomplete",{"label":[513],"required":[516],"disabled":[516],"placeholder":[513],"options":[16],"value":[8],"text":[8],"update":[64]},[[0,"inputUpdate","inputUpdateHandler"],[0,"listUpdate","listUpdateHandler"]]],[1,"sas-select",{"label":[513],"outside":[516],"required":[516],"type":[513],"noMatchTip":[513,"no-match-tip"],"placeholder":[513],"disabled":[516],"clear":[516],"options":[1040],"defaultValue":[520,"default-value"],"name":[513],"value":[1032],"rawData":[1032,"raw-data"],"text":[1032],"subtextPosition":[513,"subtext-position"],"validity":[1040],"message":[1537],"update":[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":[32]}],[1,"sas-container",{"gridTemplateColumns":[513,"grid-template-columns"],"gridTemplateRows":[513,"grid-template-rows"],"justifyItems":[513,"justify-items"],"alignItems":[513,"align-items"]}],[1,"sas-checkbox-group",{"name":[513],"label":[1537],"required":[1540],"values":[1040],"rawData":[1040],"max":[514],"options":[1040],"selectAll":[4,"select-all"],"selectAllText":[1,"select-all-text"],"columns":[514],"update":[64]},[[0,"checkboxUpdate","checkboxUpdateHandler"]]],[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-checkbox",{"name":[513],"value":[8],"text":[1537],"index":[514],"textPosition":[513,"text-position"],"align":[513],"checked":[1540],"disabled":[516],"icon":[513],"error":[1540],"required":[516],"validity":[1040],"message":[1537],"exclusive":[1540],"updateErrorStatus":[64],"resetErrorStatus":[64]}],[1,"sas-checkbox-subgroup",{"value":[8],"text":[513],"checked":[1540],"disabled":[516],"icon":[1025],"status":[1025]},[[0,"checkboxUpdate","checkboxUpdateHandler"]]],[1,"sas-list",{"toggle":[516],"compact":[516],"border":[516],"subtextPosition":[513,"subtext-position"],"value":[1544],"rawData":[1032,"raw-data"],"text":[1544],"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-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-list-item",{"icon":[513],"value":[8],"text":[513],"subtext":[513],"subtextPosition":[513,"subtext-position"],"iconRight":[513,"icon-right"],"selected":[516],"disabled":[516],"index":[514],"href":[513],"target":[513]}],[1,"sas-form-input-template",{"label":[513],"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],"show":[1540],"clickClose":[516,"click-close"]},[[0,"listItemClickEventUsedInternal","listItemClickEventUsedInternalHandler"]]],[1,"sas-input",{"type":[1537],"placeholder":[1537],"name":[1537],"value":[1537],"label":[1537],"outside":[1540],"required":[1540],"maxlength":[1538],"minlength":[1538],"max":[1537],"min":[1537],"iconLeft":[1537,"icon-left"],"iconRight":[1537,"icon-right"],"clear":[1540],"readonly":[1540],"disabled":[1540],"validity":[1032],"error":[1540],"message":[1537],"country":[1537],"placeholderNumberType":[513,"placeholder-number-type"],"isValidNumber":[1540,"is-valid-number"],"update":[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":[1537],"maxlength":[1538],"minlength":[1538],"value":[1537]}],[1,"sas-icon",{"type":[513],"size":[513],"status":[513],"icon":[513],"index":[2]}]]],["sas-date-range",[[1,"sas-date-range",{"label":[1537],"outside":[1540],"name":[513],"min":[1537],"max":[1537],"from":[1537],"to":[1537],"required":[516],"disabled":[516]}]]],["sas-time-field",[[1,"sas-time-field",{"label":[513],"outside":[516],"required":[516],"name":[513],"value":[1537],"max":[513],"min":[513],"disabled":[516],"clear":[516],"validity":[1040],"message":[1537],"updateErrorStatus":[64],"resetErrorStatus":[64]},[[0,"inputUpdate","inputUpdateHandler"],[0,"inputContainerClick","inputContainerClickHandler"],[0,"listItemClicked","listItemClickedHandler"]]]]],["sas-menu-bar",[[1,"sas-menu-bar",{"sticky":[516]},[[9,"resize","handleResize"],[0,"selectUpdateEventUsedInternal","selectUpdateEventUsedInternalHandler"],[0,"multiselectUpdateEventUsedInternal","multiselectUpdateEventUsedInternalHandler"],[0,"dateFieldUpdateEventUsedInternal","dateFieldUpdateEventUsedInternalHandler"]]]]],["sas-user-card",[[1,"sas-user-card",{"block":[516],"name":[513],"position":[513],"status":[1537],"badge":[516],"attachment":[516],"src":[513]},[[0,"switchUpdate","switchUpdateHandler"]]]]],["sas-card",[[1,"sas-card",{"block":[516],"src":[513],"lazyImage":[516,"lazy-image"],"scale":[513],"repair":[516],"attachment":[516],"disabled":[516],"cardTitle":[513,"card-title"]}]]],["sas-navigation-top",[[1,"sas-navigation-top",{"name":[513],"user":[513],"src":[513]}]]],["sas-stepper",[[1,"sas-stepper",{"type":[513],"total":[514],"current":[1538],"names":[16]},[[0,"buttonclicked","buttonclickedHandler"]]]]],["sas-pagination",[[1,"sas-pagination",{"totalPage":[514,"total-page"],"totalIndex":[514,"total-index"],"currentPage":[1538,"current-page"]}]]],["sas-radio-group",[[1,"sas-radio-group",{"name":[513],"label":[1537],"required":[1540],"value":[1032],"defaultValue":[520,"default-value"],"text":[1544],"rawData":[1032,"raw-data"],"options":[16],"update":[64]},[[0,"radioupdate","radioUpdateHandler"]]]]],["sas-upload",[[1,"sas-upload",{"compact":[516],"inputOutside":[516,"input-outside"],"type":[513],"label":[1537],"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",[[1,"sas-alert",{"type":[513],"show":[1540],"close":[516],"alertTitle":[1,"alert-title"],"content":[1]}]]],["sas-details",[[1,"sas-details",{"open":[516],"icon":[513]}]]],["sas-file-upload",[[1,"sas-file-upload",{"label":[32]}]]],["sas-navigation",[[1,"sas-navigation",{"name":[513]}]]],["sas-avatar-group",[[1,"sas-avatar-group"]]],["sas-breadcrumb",[[1,"sas-breadcrumb",{"items":[16],"showAll":[32]}]]],["sas-button-group",[[1,"sas-button-group",{"values":[1040],"multiple":[516]},[[0,"buttonclicked","buttonclickedHandler"]]]]],["sas-dialog",[[1,"sas-dialog"]]],["sas-form",[[1,"sas-form",{"method":[513],"url":[513],"reset":[64],"validate":[64],"submit":[64]}]]],["sas-progress-bar",[[1,"sas-progress-bar",{"progress":[514]}]]],["sas-tab",[[1,"sas-tab",null,[[0,"tabItemClicked","tabItemClickedHandler"]]]]],["sas-tab-item",[[1,"sas-tab-item",{"value":[513],"text":[513]}]]],["sas-table",[[1,"sas-table",{"headers":[16],"items":[16],"sortedItems":[32]}]]],["sas-date-field",[[1,"sas-date-field",{"label":[513],"outside":[516],"required":[516],"name":[513],"value":[1537],"max":[513],"min":[513],"disabled":[516],"clear":[516],"icon":[513],"validity":[1040],"message":[1537],"localDate":[32],"update":[64],"updateErrorStatus":[64],"resetErrorStatus":[64]},[[0,"inputUpdate","inputUpdateHandler"]]]]],["sas-radio",[[1,"sas-radio",{"name":[513],"value":[1032],"text":[513],"textPosition":[513,"text-position"],"align":[513],"checked":[1540],"disabled":[516],"required":[516],"error":[1540],"validity":[1040],"message":[1537],"tabindexNumber":[32],"updateErrorStatus":[64],"resetErrorStatus":[64]}]]],["sas-badge",[[1,"sas-badge",{"type":[513],"status":[513],"number":[514],"inline":[516]}]]],["sas-divider",[[1,"sas-divider",{"type":[1]}]]],["sas-switch",[[1,"sas-switch",{"name":[513],"checked":[1540],"required":[516],"error":[1540],"validity":[1040],"message":[1537],"updateErrorStatus":[64],"resetErrorStatus":[64]}]]],["sas-avatar",[[1,"sas-avatar",{"type":[513],"name":[513],"src":[513],"disabled":[516],"group":[516]}]]],["sas-image",[[1,"sas-image",{"imageObject":[8,"image-object"],"src":[513],"lazy":[516]}]]],["sas-dropdown",[[1,"sas-dropdown",{"block":[516],"clickClose":[516,"click-close"],"positionV":[1537,"position-v"],"positionH":[1537,"position-h"],"close":[64]},[[0,"listItemClickEventUsedInternal","listItemClickEventUsedInternalHandler"]]]]]], options);
|
|
16
|
+
return bootstrapLazy(JSON.parse("[[\"sas-autocomplete_17\",[[1,\"sas-multiselect\",{\"type\":[513],\"search\":[516],\"noMatchTip\":[513,\"no-match-tip\"],\"label\":[513],\"outside\":[516],\"required\":[516],\"disabled\":[516],\"clear\":[516],\"placeholder\":[1537],\"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\"],\"validity\":[1040],\"message\":[1537],\"value\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"checkboxgroupupdate\",\"checkboxUpdateHandler\"],[0,\"chipUpdate\",\"chipUpdateHandler\"],[0,\"inputClear\",\"inputClearHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"]]],[1,\"sas-autocomplete\",{\"label\":[513],\"required\":[516],\"disabled\":[516],\"placeholder\":[513],\"options\":[16],\"value\":[8],\"text\":[8],\"update\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"listUpdate\",\"listUpdateHandler\"]]],[1,\"sas-select\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"type\":[513],\"noMatchTip\":[513,\"no-match-tip\"],\"placeholder\":[513],\"disabled\":[516],\"clear\":[516],\"options\":[1040],\"defaultValue\":[520,\"default-value\"],\"name\":[513],\"value\":[1032],\"rawData\":[1032,\"raw-data\"],\"text\":[1032],\"subtextPosition\":[513,\"subtext-position\"],\"validity\":[1040],\"message\":[1537],\"update\":[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-container\",{\"gridTemplateColumns\":[513,\"grid-template-columns\"],\"gridTemplateRows\":[513,\"grid-template-rows\"],\"justifyItems\":[513,\"justify-items\"],\"alignItems\":[513,\"align-items\"]}],[1,\"sas-checkbox-group\",{\"name\":[513],\"label\":[1537],\"required\":[1540],\"values\":[1040],\"rawData\":[1040],\"max\":[514],\"options\":[1040],\"selectAll\":[4,\"select-all\"],\"selectAllText\":[1,\"select-all-text\"],\"columns\":[514],\"update\":[64]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[1,\"sas-chip\",{\"type\":[513],\"status\":[513],\"outlined\":[516],\"close\":[516],\"inside\":[516],\"text\":[513],\"uppercase\":[516],\"bold\":[516]}],[1,\"sas-checkbox\",{\"name\":[513],\"value\":[8],\"text\":[1537],\"index\":[514],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[513],\"error\":[1540],\"required\":[516],\"validity\":[1040],\"message\":[1537],\"exclusive\":[1540],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}],[1,\"sas-checkbox-subgroup\",{\"value\":[8],\"text\":[513],\"checked\":[1540],\"disabled\":[516],\"icon\":[1025],\"status\":[1025]},[[0,\"checkboxUpdate\",\"checkboxUpdateHandler\"]]],[1,\"sas-list\",{\"toggle\":[516],\"compact\":[516],\"border\":[516],\"subtextPosition\":[513,\"subtext-position\"],\"value\":[1544],\"rawData\":[1032,\"raw-data\"],\"text\":[1544],\"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-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-list-item\",{\"icon\":[513],\"value\":[8],\"text\":[513],\"subtext\":[513],\"subtextPosition\":[513,\"subtext-position\"],\"iconRight\":[513,\"icon-right\"],\"selected\":[516],\"disabled\":[516],\"index\":[514],\"href\":[513],\"target\":[513]}],[1,\"sas-form-input-template\",{\"label\":[513],\"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],\"show\":[1540],\"clickClose\":[516,\"click-close\"]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]],[1,\"sas-input\",{\"type\":[1537],\"placeholder\":[1537],\"name\":[1537],\"value\":[1537],\"label\":[1537],\"outside\":[1540],\"required\":[1540],\"maxlength\":[1538],\"minlength\":[1538],\"max\":[1537],\"min\":[1537],\"iconLeft\":[1537,\"icon-left\"],\"iconRight\":[1537,\"icon-right\"],\"clear\":[1540],\"readonly\":[1540],\"disabled\":[1540],\"validity\":[1032],\"error\":[1540],\"message\":[1537],\"country\":[1537],\"placeholderNumberType\":[513,\"placeholder-number-type\"],\"isValidNumber\":[1540,\"is-valid-number\"],\"update\":[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\":[1537],\"maxlength\":[1538],\"minlength\":[1538],\"value\":[1537]}],[1,\"sas-icon\",{\"type\":[513],\"size\":[513],\"status\":[513],\"icon\":[513],\"index\":[2]}]]],[\"sas-date-range\",[[1,\"sas-date-range\",{\"label\":[1537],\"outside\":[1540],\"name\":[513],\"min\":[1537],\"max\":[1537],\"from\":[1537],\"to\":[1537],\"required\":[516],\"disabled\":[516]}]]],[\"sas-time-field\",[[1,\"sas-time-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"validity\":[1040],\"message\":[1537],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"],[0,\"inputContainerClick\",\"inputContainerClickHandler\"],[0,\"listItemClicked\",\"listItemClickedHandler\"]]]]],[\"sas-menu-bar\",[[1,\"sas-menu-bar\",{\"sticky\":[516]},[[9,\"resize\",\"handleResize\"],[0,\"selectUpdateEventUsedInternal\",\"selectUpdateEventUsedInternalHandler\"],[0,\"multiselectUpdateEventUsedInternal\",\"multiselectUpdateEventUsedInternalHandler\"],[0,\"dateFieldUpdateEventUsedInternal\",\"dateFieldUpdateEventUsedInternalHandler\"]]]]],[\"sas-user-card\",[[1,\"sas-user-card\",{\"block\":[516],\"name\":[513],\"position\":[513],\"status\":[1537],\"badge\":[516],\"attachment\":[516],\"src\":[513]},[[0,\"switchUpdate\",\"switchUpdateHandler\"]]]]],[\"sas-card\",[[1,\"sas-card\",{\"block\":[516],\"src\":[513],\"lazyImage\":[516,\"lazy-image\"],\"scale\":[513],\"repair\":[516],\"attachment\":[516],\"disabled\":[516],\"cardTitle\":[513,\"card-title\"]}]]],[\"sas-navigation-top\",[[1,\"sas-navigation-top\",{\"name\":[513],\"user\":[513],\"src\":[513]}]]],[\"sas-stepper\",[[1,\"sas-stepper\",{\"type\":[513],\"total\":[514],\"current\":[1538],\"names\":[16]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-pagination\",[[1,\"sas-pagination\",{\"totalPage\":[514,\"total-page\"],\"totalIndex\":[514,\"total-index\"],\"currentPage\":[1538,\"current-page\"]}]]],[\"sas-radio-group\",[[1,\"sas-radio-group\",{\"name\":[513],\"label\":[1537],\"required\":[1540],\"value\":[1032],\"defaultValue\":[520,\"default-value\"],\"text\":[1544],\"rawData\":[1032,\"raw-data\"],\"options\":[16],\"update\":[64]},[[0,\"radioupdate\",\"radioUpdateHandler\"]]]]],[\"sas-upload\",[[1,\"sas-upload\",{\"compact\":[516],\"inputOutside\":[516,\"input-outside\"],\"type\":[513],\"label\":[1537],\"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\",[[1,\"sas-alert\",{\"type\":[513],\"show\":[1540],\"close\":[516],\"alertTitle\":[1,\"alert-title\"],\"content\":[1]}]]],[\"sas-details\",[[1,\"sas-details\",{\"open\":[516],\"icon\":[513]}]]],[\"sas-file-upload\",[[1,\"sas-file-upload\",{\"label\":[32]}]]],[\"sas-navigation\",[[1,\"sas-navigation\",{\"name\":[513]}]]],[\"sas-tooltip\",[[1,\"sas-tooltip\",{\"trigger\":[513],\"text\":[513],\"position\":[32]}]]],[\"sas-avatar-group\",[[1,\"sas-avatar-group\"]]],[\"sas-breadcrumb\",[[1,\"sas-breadcrumb\",{\"items\":[16],\"showAll\":[32]}]]],[\"sas-button-group\",[[1,\"sas-button-group\",{\"values\":[1040],\"multiple\":[516]},[[0,\"buttonclicked\",\"buttonclickedHandler\"]]]]],[\"sas-dialog\",[[1,\"sas-dialog\"]]],[\"sas-form\",[[1,\"sas-form\",{\"method\":[513],\"url\":[513],\"reset\":[64],\"validate\":[64],\"submit\":[64]}]]],[\"sas-progress-bar\",[[1,\"sas-progress-bar\",{\"progress\":[514]}]]],[\"sas-tab\",[[1,\"sas-tab\",null,[[0,\"tabItemClicked\",\"tabItemClickedHandler\"]]]]],[\"sas-tab-item\",[[1,\"sas-tab-item\",{\"value\":[513],\"text\":[513]}]]],[\"sas-table\",[[1,\"sas-table\",{\"headers\":[16],\"items\":[16],\"sortedItems\":[32]}]]],[\"sas-date-field\",[[1,\"sas-date-field\",{\"label\":[513],\"outside\":[516],\"required\":[516],\"name\":[513],\"value\":[1537],\"max\":[513],\"min\":[513],\"disabled\":[516],\"clear\":[516],\"icon\":[513],\"validity\":[1040],\"message\":[1537],\"localDate\":[32],\"update\":[64],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]},[[0,\"inputUpdate\",\"inputUpdateHandler\"]]]]],[\"sas-radio\",[[1,\"sas-radio\",{\"name\":[513],\"value\":[1032],\"text\":[513],\"textPosition\":[513,\"text-position\"],\"align\":[513],\"checked\":[1540],\"disabled\":[516],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"tabindexNumber\":[32],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-badge\",[[1,\"sas-badge\",{\"type\":[513],\"status\":[513],\"number\":[514],\"inline\":[516]}]]],[\"sas-chat-bubble\",[[1,\"sas-chat-bubble\",{\"position\":[513]}]]],[\"sas-divider\",[[1,\"sas-divider\",{\"type\":[1]}]]],[\"sas-switch\",[[1,\"sas-switch\",{\"name\":[513],\"checked\":[1540],\"required\":[516],\"error\":[1540],\"validity\":[1040],\"message\":[1537],\"updateErrorStatus\":[64],\"resetErrorStatus\":[64]}]]],[\"sas-avatar\",[[1,\"sas-avatar\",{\"type\":[513],\"name\":[513],\"src\":[513],\"disabled\":[516],\"group\":[516]}]]],[\"sas-image\",[[1,\"sas-image\",{\"imageObject\":[8,\"image-object\"],\"src\":[513],\"lazy\":[516]}]]],[\"sas-dropdown\",[[1,\"sas-dropdown\",{\"block\":[516],\"clickClose\":[516,\"click-close\"],\"positionV\":[1537,\"position-v\"],\"positionH\":[1537,\"position-h\"],\"close\":[64]},[[0,\"listItemClickEventUsedInternal\",\"listItemClickEventUsedInternalHandler\"]]]]]]"), options);
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
19
|
|