smoothly 1.0.0-alpha.148 → 1.0.0-alpha.149
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/smoothly-accordion_73.cjs.entry.js +38 -38
- package/dist/cjs/smoothly-accordion_73.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/components/app/index.js +1 -1
- package/dist/collection/components/app/index.js.map +1 -1
- package/dist/collection/components/burger/index.js +9 -9
- package/dist/collection/components/burger/index.js.map +1 -1
- package/dist/collection/components/calendar/index.js +16 -16
- package/dist/collection/components/calendar/index.js.map +1 -1
- package/dist/collection/components/input/date/index.js +5 -5
- package/dist/collection/components/input/date/index.js.map +1 -1
- package/dist/collection/components/input/date/range/index.js +7 -7
- package/dist/collection/components/input/date/range/index.js.map +1 -1
- package/dist/collection/components/input/month/index.js +5 -5
- package/dist/collection/components/input/month/index.js.map +1 -1
- package/dist/collection/components/input/select/index.js +6 -6
- package/dist/collection/components/input/select/index.js.map +1 -1
- package/dist/collection/components/item/index.js +5 -5
- package/dist/collection/components/item/index.js.map +1 -1
- package/dist/collection/components/radio/index.js +3 -3
- package/dist/collection/components/radio/index.js.map +1 -1
- package/dist/custom-elements/index.js +41 -41
- package/dist/custom-elements/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/smoothly-accordion_73.entry.js +38 -38
- package/dist/esm/smoothly-accordion_73.entry.js.map +1 -1
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/p-c82e959e.entry.js +2 -0
- package/dist/smoothly/p-c82e959e.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/burger/index.d.ts +2 -2
- package/dist/types/components/calendar/index.d.ts +5 -5
- package/dist/types/components/input/date/index.d.ts +1 -1
- package/dist/types/components/input/date/range/index.d.ts +1 -1
- package/dist/types/components/input/month/index.d.ts +1 -1
- package/dist/types/components/input/select/index.d.ts +2 -2
- package/dist/types/components/item/index.d.ts +1 -1
- package/dist/types/components/radio/index.d.ts +1 -1
- package/dist/types/components.d.ts +13 -13
- package/package.json +1 -1
- package/dist/smoothly/p-21928968.entry.js +0 -2
- package/dist/smoothly/p-21928968.entry.js.map +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -15,7 +15,7 @@ const patchEsm = () => {
|
|
|
15
15
|
const defineCustomElements = (win, options) => {
|
|
16
16
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
17
17
|
return patchEsm().then(() => {
|
|
18
|
-
return index.bootstrapLazy(JSON.parse("[[\"smoothly-accordion_73.cjs\",[[0,\"smoothly-app-demo\",{\"baseUrl\":[1,\"base-url\"]}],[0,\"smoothly-input-demo\",{\"duration\":[32]},[[0,\"selectionChanged\",\"handleSelectionChanged\"]]],[2,\"smoothly-table-demo\"],[0,\"smoothly-display-demo\"],[4,\"smoothly-app\",{\"label\":[1],\"color\":[1],\"menuOpen\":[1540,\"menu-open\"],\"selected\":[32],\"selectRoom\":[64]},[[8,\"popstate\",\"locationChangeHandler\"],[0,\"smoothlyRoomSelected\",\"roomSelectedHandler\"],[0,\"smoothlyRoomLoaded\",\"roomLoadedHandler\"],[8,\"click\",\"clickHandler\"]]],[0,\"smoothly-button-demo\"],[0,\"smoothly-dialog-demo\"],[2,\"smoothly-select-demo\"],[2,\"smoothly-theme-colors\"],[6,\"smoothly-theme-picker\",{\"element\":[1]}],[6,\"smoothly-app-room\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"path\":[1],\"to\":[1],\"selected\":[1540],\"getContent\":[64],\"setSelected\":[64]}],[2,\"smoothly-icon-demo\"],[2,\"smoothly-table-testing\",{\"counter\":[32]}],[2,\"smoothly-picker-demo\",{\"counter\":[32],\"data\":[32],\"change\":[32]},[[0,\"smoothlyFormSubmit\",\"submitHandler\"]]],[2,\"smoothly-table-demo-filtered\",{\"criteria\":[32],\"data\":[32],\"selector\":[32]},[[0,\"filters\",\"onFilterUpdate\"],[2,\"smoothlyInput\",\"smoothlyInputHandler\"]]],[6,\"smoothly-input-date\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"open\":[1028],\"max\":[1025],\"min\":[1025],\"showLabel\":[516,\"show-label\"],\"disabled\":[1028],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"dateSet\",\"dateSetHandler\"]]],[2,\"smoothly-input-date-range\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"open\":[1028],\"showLabel\":[516,\"show-label\"],\"labelStart\":[1,\"label-start\"],\"labelEnd\":[1,\"label-end\"],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"startChanged\",\"onStartChanged\"],[0,\"endChanged\",\"onEndChanged\"],[0,\"dateRangeSet\",\"onDateRangeSet\"]]],[6,\"smoothly-notifier\",{\"notices\":[32]},[[0,\"notice\",\"onNotice\"],[0,\"remove\",\"onRemove\"]]],[6,\"smoothly-dialog\",{\"color\":[513],\"open\":[1540],\"closable\":[516],\"header\":[513]},[[0,\"trigger\",\"TriggerListener\"]]],[2,\"smoothly-burger\",{\"visible\":[1540],\"open\":[1540],\"mediaQuery\":[513,\"media-query\"],\"history\":[32]},[[0,\"click\",\"clickHandler\"],[9,\"resize\",\"resizeHandler\"]]],[6,\"smoothly-checkbox\",{\"size\":[1],\"checked\":[1540],\"intermediate\":[1540],\"unavailable\":[516],\"disabled\":[516],\"name\":[1],\"value\":[8],\"t\":[32],\"toggle\":[64],\"clear\":[64]}],[6,\"smoothly-input-file\",{\"accept\":[1],\"color\":[1537],\"looks\":[1537],\"camera\":[513],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"value\":[1040],\"placeholder\":[1537],\"dragging\":[32],\"clear\":[64]}],[6,\"smoothly-radio-button-item\",{\"value\":[8],\"selected\":[1540],\"color\":[513]}],[6,\"smoothly-summary\",{\"open\":[1540],\"color\":[1],\"fill\":[1],\"size\":[1]}],[2,\"smoothly-theme-color\",{\"color\":[1]}],[1,\"smoothly-toggle-switch\",{\"checkmark\":[516],\"selected\":[1540],\"disabled\":[516],\"size\":[513],\"color\":[513],\"fill\":[513]}],[0,\"smoothly-urlencoded\",{\"data\":[1]}],[6,\"smoothly-accordion\",{\"value\":[1025],\"removeItem\":[64]},[[0,\"smoothlyOpen\",\"handleOpenClose\"],[0,\"smoothlyClose\",\"handleOpenClose\"],[0,\"smoothlyAccordionItemWillLoad\",\"onAccordionItemDidLoad\"]]],[6,\"smoothly-accordion-item\",{\"name\":[1],\"brand\":[1],\"open\":[1540]}],[2,\"smoothly-display-amount\",{\"amount\":[8],\"currency\":[1],\"toInteger\":[4,\"to-integer\"]}],[2,\"smoothly-frame\",{\"url\":[1],\"name\":[1],\"origin\":[1],\"send\":[64]}],[1,\"smoothly-input-range\",{\"value\":[1026],\"min\":[2],\"max\":[2],\"name\":[1],\"labelText\":[1,\"label-text\"],\"step\":[8]}],[6,\"smoothly-label\",{\"hue\":[2],\"description\":[1],\"shape\":[513]}],[6,\"smoothly-popup\",{\"visible\":[1540],\"direction\":[1537],\"cssVariables\":[32]}],[6,\"smoothly-quiet\",{\"color\":[1]}],[6,\"smoothly-radio\",{\"name\":[1],\"value\":[1],\"checked\":[1540],\"tab\":[2]}],[6,\"smoothly-radio-button\",{\"name\":[1],\"value\":[1032],\"deselectable\":[516],\"decoration\":[513]},[[2,\"radioItemSelectInternal\",\"radioSelectHandler\"]]],[2,\"smoothly-skeleton\",{\"widths\":[16],\"width\":[1025],\"color\":[1],\"period\":[2],\"distance\":[1],\"align\":[513]}],[2,\"smoothly-svg\",{\"url\":[513],\"size\":[513],\"color\":[1]}],[6,\"smoothly-toggle\",{\"selected\":[1540],\"shape\":[513],\"disabled\":[516],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[1,\"smoothly-filter\",{\"placeholder\":[1025],\"criteria\":[1040],\"inputValue\":[1032,\"input-value\"],\"expanded\":[32],\"freeSearchValue\":[32],\"clear\":[64]},[[0,\"filter\",\"filterHandler\"]]],[6,\"smoothly-picker\",{\"looks\":[1537],\"name\":[513],\"open\":[1540],\"mutable\":[516],\"multiple\":[516],\"readonly\":[516],\"validator\":[16],\"selected\":[32],\"display\":[32],\"clear\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyPickerMenuLoaded\",\"menuLoadedHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[8,\"click\",\"clickHandler\"],[8,\"focusin\",\"focusHandler\"]]],[1,\"smoothly-filter-input\",{\"name\":[513],\"value\":[1025],\"type\":[513],\"required\":[1540],\"minLength\":[2,\"min-length\"],\"showLabel\":[516,\"show-label\"],\"maxLength\":[2,\"max-length\"],\"autocomplete\":[4],\"pattern\":[16],\"placeholder\":[1],\"disabled\":[4],\"readonly\":[516],\"currency\":[513],\"comparison\":[1],\"criteria\":[32],\"clear\":[64]}],[2,\"smoothly-back-to-top\",{\"opacity\":[1],\"bottom\":[1],\"right\":[1],\"visible\":[32]}],[6,\"smoothly-input-clear\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-tab\",{\"label\":[1],\"open\":[1540]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-tab-switch\",{\"selectedElement\":[32]},[[0,\"expansionOpen\",\"openChanged\"]]],[6,\"smoothly-table-expandable-row\",{\"align\":[1],\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[6,\"smoothly-table-footer\"],[2,\"smoothly-theme-color-variant\",{\"color\":[513],\"variant\":[513]}],[0,\"smoothly-tuple\",{\"tuple\":[16]}],[6,\"smoothly-picker-menu\",{\"looks\":[1],\"open\":[516],\"multiple\":[516],\"mutable\":[516],\"readonly\":[516],\"validator\":[16],\"backend\":[32],\"options\":[32],\"created\":[32],\"search\":[32],\"valid\":[32],\"display\":[32],\"flip\":[32],\"flipChecked\":[32]},[[9,\"scroll\",\"scrollHandler\"],[0,\"smoothlyPickerOptionLoad\",\"optionLoadHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[0,\"smoothlySlotEmpty\",\"emptyDisplayHandler\"]]],[2,\"smoothly-calendar\",{\"month\":[1025],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"doubleInput\":[516,\"double-input\"],\"firstSelected\":[32]}],[6,\"smoothly-table-cell\"],[6,\"smoothly-table-expandable-cell\",{\"align\":[1],\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"click\",\"onClick\"],[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[2,\"smoothly-display\",{\"type\":[1],\"value\":[8],\"currency\":[1],\"country\":[1],\"format\":[16]}],[6,\"smoothly-table\",{\"root\":[1540],\"color\":[1537],\"align\":[513],\"open\":[1540]},[[0,\"smoothlyExpandableLoad\",\"handleExpandableLoaded\"],[0,\"smoothlyExpandableChange\",\"handleExpandableState\"],[0,\"smoothlySpotlightChange\",\"handleSpotlightState\"],[0,\"smoothlyNestedTable\",\"handleNestedTable\"],[0,\"smoothlyExpansionLoad\",\"handleEvents\"],[0,\"smoothlyExpansionOpen\",\"handleEvents\"]]],[6,\"smoothly-table-header\",{\"name\":[1]}],[6,\"smoothly-table-row\",{\"open\":[1540]},[[0,\"smoothlyExpansionLoad\",\"onExpansionLoad\"],[0,\"smoothlyExpandableChange\",\"onExpansionChange\"],[0,\"smoothlyExpansionOpen\",\"onExpansionOpen\"]]],[2,\"smoothly-input-month\",{\"value\":[1025]}],[1,\"smoothly-picker-option\",{\"selected\":[1540],\"visible\":[1540],\"value\":[1032],\"search\":[1040],\"position\":[514],\"required\":[516],\"readonly\":[32],\"slotted\":[32],\"clickHandler\":[64]}],[6,\"smoothly-slot-elements\",{\"clone\":[4],\"nodes\":[1040]}],[6,\"smoothly-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"prevent\":[4]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-item\",{\"value\":[8],\"selected\":[1540],\"marked\":[1540],\"filter\":[64]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-slotted-elements\",{\"clone\":[4]}],[4,\"smoothly-form\",{\"color\":[1537],\"value\":[1040],\"looks\":[513],\"name\":[1],\"method\":[1],\"action\":[1],\"processing\":[1540],\"prevent\":[4],\"changed\":[1540],\"notice\":[32],\"submit\":[64],\"clear\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlySubmit\",\"smoothlySubmitHandler\"],[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"]]],[6,\"smoothly-input-select\",{\"name\":[1],\"color\":[1537],\"looks\":[1537],\"type\":[1537],\"showSelected\":[1540,\"show-selected\"],\"initialPrompt\":[1,\"initial-prompt\"],\"initialValue\":[16],\"opened\":[32],\"selectedElement\":[32],\"missing\":[32],\"filter\":[32],\"reset\":[64]},[[0,\"click\",\"onClick\"],[0,\"itemSelected\",\"onItemSelected\"],[0,\"keydown\",\"onKeyDown\"]]],[6,\"smoothly-button\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"link\":[1]}],[2,\"smoothly-spinner\",{\"active\":[516],\"size\":[513]}],[2,\"smoothly-notification\",{\"notice\":[16],\"closable\":[4],\"icon\":[4],\"tick\":[32]},[[0,\"trigger\",\"onTrigger\"]]],[6,\"smoothly-trigger\",{\"color\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-input\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1032],\"type\":[513],\"required\":[1540],\"minLength\":[1026,\"min-length\"],\"showLabel\":[516,\"show-label\"],\"maxLength\":[1026,\"max-length\"],\"autocomplete\":[1028],\"pattern\":[1040],\"placeholder\":[1537],\"disabled\":[1028],\"readonly\":[1540],\"currency\":[513],\"changed\":[1540],\"formatter\":[32],\"initialValue\":[32],\"clear\":[64],\"getFormData\":[64],\"setKeepFocusOnReRender\":[64],\"setSelectionRange\":[64]},[[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"]]],[2,\"smoothly-icon\",{\"color\":[513],\"fill\":[513],\"name\":[513],\"size\":[513],\"toolTip\":[1,\"tool-tip\"],\"document\":[32]}]]],[\"smoothly-addresses.cjs\",[[2,\"smoothly-addresses\",{\"value\":[16],\"editable\":[16]}]]],[\"smoothly-color.cjs\",[[6,\"smoothly-color\",{\"color\":[513]}]]],[\"smoothly-country.cjs\",[[2,\"smoothly-country\",{\"value\":[1],\"text\":[1],\"language\":[32]}]]],[\"smoothly-display-date-time.cjs\",[[2,\"smoothly-display-date-time\",{\"datetime\":[1]}]]],[\"smoothly-google-font.cjs\",[[2,\"smoothly-google-font\",{\"value\":[1]}]]],[\"smoothly-radio-group.cjs\",[[4,\"smoothly-radio-group\",{\"orientation\":[513]}]]],[\"smoothly-reorder.cjs\",[[0,\"smoothly-reorder\"]]],[\"smoothly-trigger-sink.cjs\",[[6,\"smoothly-trigger-sink\",{\"context\":[16],\"destination\":[1],\"filter\":[1]},[[0,\"trigger\",\"TriggerListener\"]]]]],[\"smoothly-trigger-source.cjs\",[[6,\"smoothly-trigger-source\",{\"listen\":[1]}]]],[\"smoothly-address-display.cjs\",[[2,\"smoothly-address-display\",{\"value\":[16],\"editable\":[4]}]]],[\"smoothly-address.cjs\",[[2,\"smoothly-address\",{\"value\":[16],\"editable\":[4]}]]]]"), options);
|
|
18
|
+
return index.bootstrapLazy(JSON.parse("[[\"smoothly-accordion_73.cjs\",[[0,\"smoothly-app-demo\",{\"baseUrl\":[1,\"base-url\"]}],[0,\"smoothly-input-demo\",{\"duration\":[32]},[[0,\"selectionChanged\",\"handleSelectionChanged\"]]],[2,\"smoothly-table-demo\"],[0,\"smoothly-display-demo\"],[4,\"smoothly-app\",{\"label\":[1],\"color\":[1],\"menuOpen\":[1540,\"menu-open\"],\"selected\":[32],\"selectRoom\":[64]},[[8,\"popstate\",\"locationChangeHandler\"],[0,\"smoothlyRoomSelected\",\"roomSelectedHandler\"],[0,\"smoothlyRoomLoaded\",\"roomLoadedHandler\"],[8,\"click\",\"clickHandler\"]]],[0,\"smoothly-button-demo\"],[0,\"smoothly-dialog-demo\"],[2,\"smoothly-select-demo\"],[2,\"smoothly-theme-colors\"],[6,\"smoothly-theme-picker\",{\"element\":[1]}],[6,\"smoothly-app-room\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"path\":[1],\"to\":[1],\"selected\":[1540],\"getContent\":[64],\"setSelected\":[64]}],[2,\"smoothly-icon-demo\"],[2,\"smoothly-table-testing\",{\"counter\":[32]}],[2,\"smoothly-picker-demo\",{\"counter\":[32],\"data\":[32],\"change\":[32]},[[0,\"smoothlyFormSubmit\",\"submitHandler\"]]],[2,\"smoothly-table-demo-filtered\",{\"criteria\":[32],\"data\":[32],\"selector\":[32]},[[0,\"filters\",\"onFilterUpdate\"],[2,\"smoothlyInput\",\"smoothlyInputHandler\"]]],[6,\"smoothly-input-date\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"open\":[1028],\"max\":[1025],\"min\":[1025],\"showLabel\":[516,\"show-label\"],\"disabled\":[1028],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyDateSet\",\"dateSetHandler\"]]],[2,\"smoothly-input-date-range\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"open\":[1028],\"showLabel\":[516,\"show-label\"],\"labelStart\":[1,\"label-start\"],\"labelEnd\":[1,\"label-end\"],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyStartChange\",\"onStartChanged\"],[0,\"smoothlyEndChange\",\"onEndChanged\"],[0,\"smoothlyDateRangeSet\",\"onDateRangeSet\"]]],[6,\"smoothly-notifier\",{\"notices\":[32]},[[0,\"notice\",\"onNotice\"],[0,\"remove\",\"onRemove\"]]],[6,\"smoothly-dialog\",{\"color\":[513],\"open\":[1540],\"closable\":[516],\"header\":[513]},[[0,\"trigger\",\"TriggerListener\"]]],[2,\"smoothly-burger\",{\"visible\":[1540],\"open\":[1540],\"mediaQuery\":[513,\"media-query\"],\"history\":[32]},[[0,\"click\",\"clickHandler\"],[9,\"resize\",\"resizeHandler\"]]],[6,\"smoothly-checkbox\",{\"size\":[1],\"checked\":[1540],\"intermediate\":[1540],\"unavailable\":[516],\"disabled\":[516],\"name\":[1],\"value\":[8],\"t\":[32],\"toggle\":[64],\"clear\":[64]}],[6,\"smoothly-input-file\",{\"accept\":[1],\"color\":[1537],\"looks\":[1537],\"camera\":[513],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"value\":[1040],\"placeholder\":[1537],\"dragging\":[32],\"clear\":[64]}],[6,\"smoothly-radio-button-item\",{\"value\":[8],\"selected\":[1540],\"color\":[513]}],[6,\"smoothly-summary\",{\"open\":[1540],\"color\":[1],\"fill\":[1],\"size\":[1]}],[2,\"smoothly-theme-color\",{\"color\":[1]}],[1,\"smoothly-toggle-switch\",{\"checkmark\":[516],\"selected\":[1540],\"disabled\":[516],\"size\":[513],\"color\":[513],\"fill\":[513]}],[0,\"smoothly-urlencoded\",{\"data\":[1]}],[6,\"smoothly-accordion\",{\"value\":[1025],\"removeItem\":[64]},[[0,\"smoothlyOpen\",\"handleOpenClose\"],[0,\"smoothlyClose\",\"handleOpenClose\"],[0,\"smoothlyAccordionItemWillLoad\",\"onAccordionItemDidLoad\"]]],[6,\"smoothly-accordion-item\",{\"name\":[1],\"brand\":[1],\"open\":[1540]}],[2,\"smoothly-display-amount\",{\"amount\":[8],\"currency\":[1],\"toInteger\":[4,\"to-integer\"]}],[2,\"smoothly-frame\",{\"url\":[1],\"name\":[1],\"origin\":[1],\"send\":[64]}],[1,\"smoothly-input-range\",{\"value\":[1026],\"min\":[2],\"max\":[2],\"name\":[1],\"labelText\":[1,\"label-text\"],\"step\":[8]}],[6,\"smoothly-label\",{\"hue\":[2],\"description\":[1],\"shape\":[513]}],[6,\"smoothly-popup\",{\"visible\":[1540],\"direction\":[1537],\"cssVariables\":[32]}],[6,\"smoothly-quiet\",{\"color\":[1]}],[6,\"smoothly-radio\",{\"name\":[1],\"value\":[1],\"checked\":[1540],\"tab\":[2]}],[6,\"smoothly-radio-button\",{\"name\":[1],\"value\":[1032],\"deselectable\":[516],\"decoration\":[513]},[[2,\"radioItemSelectInternal\",\"radioSelectHandler\"]]],[2,\"smoothly-skeleton\",{\"widths\":[16],\"width\":[1025],\"color\":[1],\"period\":[2],\"distance\":[1],\"align\":[513]}],[2,\"smoothly-svg\",{\"url\":[513],\"size\":[513],\"color\":[1]}],[6,\"smoothly-toggle\",{\"selected\":[1540],\"shape\":[513],\"disabled\":[516],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[1,\"smoothly-filter\",{\"placeholder\":[1025],\"criteria\":[1040],\"inputValue\":[1032,\"input-value\"],\"expanded\":[32],\"freeSearchValue\":[32],\"clear\":[64]},[[0,\"filter\",\"filterHandler\"]]],[6,\"smoothly-picker\",{\"looks\":[1537],\"name\":[513],\"open\":[1540],\"mutable\":[516],\"multiple\":[516],\"readonly\":[516],\"validator\":[16],\"selected\":[32],\"display\":[32],\"clear\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyPickerMenuLoaded\",\"menuLoadedHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[8,\"click\",\"clickHandler\"],[8,\"focusin\",\"focusHandler\"]]],[1,\"smoothly-filter-input\",{\"name\":[513],\"value\":[1025],\"type\":[513],\"required\":[1540],\"minLength\":[2,\"min-length\"],\"showLabel\":[516,\"show-label\"],\"maxLength\":[2,\"max-length\"],\"autocomplete\":[4],\"pattern\":[16],\"placeholder\":[1],\"disabled\":[4],\"readonly\":[516],\"currency\":[513],\"comparison\":[1],\"criteria\":[32],\"clear\":[64]}],[2,\"smoothly-back-to-top\",{\"opacity\":[1],\"bottom\":[1],\"right\":[1],\"visible\":[32]}],[6,\"smoothly-input-clear\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-tab\",{\"label\":[1],\"open\":[1540]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-tab-switch\",{\"selectedElement\":[32]},[[0,\"expansionOpen\",\"openChanged\"]]],[6,\"smoothly-table-expandable-row\",{\"align\":[1],\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[6,\"smoothly-table-footer\"],[2,\"smoothly-theme-color-variant\",{\"color\":[513],\"variant\":[513]}],[0,\"smoothly-tuple\",{\"tuple\":[16]}],[6,\"smoothly-picker-menu\",{\"looks\":[1],\"open\":[516],\"multiple\":[516],\"mutable\":[516],\"readonly\":[516],\"validator\":[16],\"backend\":[32],\"options\":[32],\"created\":[32],\"search\":[32],\"valid\":[32],\"display\":[32],\"flip\":[32],\"flipChecked\":[32]},[[9,\"scroll\",\"scrollHandler\"],[0,\"smoothlyPickerOptionLoad\",\"optionLoadHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[0,\"smoothlySlotEmpty\",\"emptyDisplayHandler\"]]],[2,\"smoothly-calendar\",{\"month\":[1025],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"doubleInput\":[516,\"double-input\"],\"firstSelected\":[32]}],[6,\"smoothly-table-cell\"],[6,\"smoothly-table-expandable-cell\",{\"align\":[1],\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"click\",\"onClick\"],[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[2,\"smoothly-display\",{\"type\":[1],\"value\":[8],\"currency\":[1],\"country\":[1],\"format\":[16]}],[6,\"smoothly-table\",{\"root\":[1540],\"color\":[1537],\"align\":[513],\"open\":[1540]},[[0,\"smoothlyExpandableLoad\",\"handleExpandableLoaded\"],[0,\"smoothlyExpandableChange\",\"handleExpandableState\"],[0,\"smoothlySpotlightChange\",\"handleSpotlightState\"],[0,\"smoothlyNestedTable\",\"handleNestedTable\"],[0,\"smoothlyExpansionLoad\",\"handleEvents\"],[0,\"smoothlyExpansionOpen\",\"handleEvents\"]]],[6,\"smoothly-table-header\",{\"name\":[1]}],[6,\"smoothly-table-row\",{\"open\":[1540]},[[0,\"smoothlyExpansionLoad\",\"onExpansionLoad\"],[0,\"smoothlyExpandableChange\",\"onExpansionChange\"],[0,\"smoothlyExpansionOpen\",\"onExpansionOpen\"]]],[2,\"smoothly-input-month\",{\"value\":[1025]}],[1,\"smoothly-picker-option\",{\"selected\":[1540],\"visible\":[1540],\"value\":[1032],\"search\":[1040],\"position\":[514],\"required\":[516],\"readonly\":[32],\"slotted\":[32],\"clickHandler\":[64]}],[6,\"smoothly-slot-elements\",{\"clone\":[4],\"nodes\":[1040]}],[6,\"smoothly-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"prevent\":[4]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-item\",{\"value\":[8],\"selected\":[1540],\"marked\":[1540],\"filter\":[64]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-slotted-elements\",{\"clone\":[4]}],[4,\"smoothly-form\",{\"color\":[1537],\"value\":[1040],\"looks\":[513],\"name\":[1],\"method\":[1],\"action\":[1],\"processing\":[1540],\"prevent\":[4],\"changed\":[1540],\"notice\":[32],\"submit\":[64],\"clear\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlySubmit\",\"smoothlySubmitHandler\"],[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"]]],[6,\"smoothly-input-select\",{\"name\":[1],\"color\":[1537],\"looks\":[1537],\"type\":[1537],\"showSelected\":[1540,\"show-selected\"],\"initialPrompt\":[1,\"initial-prompt\"],\"initialValue\":[16],\"opened\":[32],\"selectedElement\":[32],\"missing\":[32],\"filter\":[32],\"reset\":[64]},[[0,\"click\",\"onClick\"],[0,\"smoothlyItemSelect\",\"onItemSelect\"],[0,\"keydown\",\"onKeyDown\"]]],[6,\"smoothly-button\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"link\":[1]}],[2,\"smoothly-spinner\",{\"active\":[516],\"size\":[513]}],[2,\"smoothly-notification\",{\"notice\":[16],\"closable\":[4],\"icon\":[4],\"tick\":[32]},[[0,\"trigger\",\"onTrigger\"]]],[6,\"smoothly-trigger\",{\"color\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-input\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1032],\"type\":[513],\"required\":[1540],\"minLength\":[1026,\"min-length\"],\"showLabel\":[516,\"show-label\"],\"maxLength\":[1026,\"max-length\"],\"autocomplete\":[1028],\"pattern\":[1040],\"placeholder\":[1537],\"disabled\":[1028],\"readonly\":[1540],\"currency\":[513],\"changed\":[1540],\"formatter\":[32],\"initialValue\":[32],\"clear\":[64],\"getFormData\":[64],\"setKeepFocusOnReRender\":[64],\"setSelectionRange\":[64]},[[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"]]],[2,\"smoothly-icon\",{\"color\":[513],\"fill\":[513],\"name\":[513],\"size\":[513],\"toolTip\":[1,\"tool-tip\"],\"document\":[32]}]]],[\"smoothly-addresses.cjs\",[[2,\"smoothly-addresses\",{\"value\":[16],\"editable\":[16]}]]],[\"smoothly-color.cjs\",[[6,\"smoothly-color\",{\"color\":[513]}]]],[\"smoothly-country.cjs\",[[2,\"smoothly-country\",{\"value\":[1],\"text\":[1],\"language\":[32]}]]],[\"smoothly-display-date-time.cjs\",[[2,\"smoothly-display-date-time\",{\"datetime\":[1]}]]],[\"smoothly-google-font.cjs\",[[2,\"smoothly-google-font\",{\"value\":[1]}]]],[\"smoothly-radio-group.cjs\",[[4,\"smoothly-radio-group\",{\"orientation\":[513]}]]],[\"smoothly-reorder.cjs\",[[0,\"smoothly-reorder\"]]],[\"smoothly-trigger-sink.cjs\",[[6,\"smoothly-trigger-sink\",{\"context\":[16],\"destination\":[1],\"filter\":[1]},[[0,\"trigger\",\"TriggerListener\"]]]]],[\"smoothly-trigger-source.cjs\",[[6,\"smoothly-trigger-source\",{\"listen\":[1]}]]],[\"smoothly-address-display.cjs\",[[2,\"smoothly-address-display\",{\"value\":[16],\"editable\":[4]}]]],[\"smoothly-address.cjs\",[[2,\"smoothly-address\",{\"value\":[16],\"editable\":[4]}]]]]"), options);
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -175,7 +175,7 @@ const SmoothlyApp = class {
|
|
|
175
175
|
this.menuOpen = false;
|
|
176
176
|
}
|
|
177
177
|
render() {
|
|
178
|
-
return (index.h("smoothly-notifier", null, index.h("header", { color: this.color }, index.h("h1", null, index.h("a", { href: "" }, this.label)), index.h("slot", { name: "header" }), index.h("nav", { ref: e => (this.navElement = e), class: { "menu-open": this.menuOpen } }, index.h("ul", null, index.h("div", { class: "nav-start-container" }, index.h("slot", { name: "nav-start" })), index.h("slot", null, " "), index.h("div", { class: "nav-end-container" }, index.h("slot", { name: "nav-end" })))), index.h("smoothly-burger", { ref: e => (this.burgerElement = e), open: this.menuOpen,
|
|
178
|
+
return (index.h("smoothly-notifier", null, index.h("header", { color: this.color }, index.h("h1", null, index.h("a", { href: "" }, this.label)), index.h("slot", { name: "header" }), index.h("nav", { ref: e => (this.navElement = e), class: { "menu-open": this.menuOpen } }, index.h("ul", null, index.h("div", { class: "nav-start-container" }, index.h("slot", { name: "nav-start" })), index.h("slot", null, " "), index.h("div", { class: "nav-end-container" }, index.h("slot", { name: "nav-end" })))), index.h("smoothly-burger", { ref: e => (this.burgerElement = e), open: this.menuOpen, onSmoothlyNavStatus: e => this.burgerStatusHandler(e), onSmoothlyVisibleStatus: e => this.burgerVisibilityHandler(e) })), index.h("main", { ref: e => (this.mainElement = e) })));
|
|
179
179
|
}
|
|
180
180
|
static get watchers() { return {
|
|
181
181
|
"selected": ["selectedChanged"]
|
|
@@ -1490,8 +1490,8 @@ const styleCss$_ = "[visible].sc-smoothly-burger-h{display:flex;justify-content:
|
|
|
1490
1490
|
const SmoothlyBurger = class {
|
|
1491
1491
|
constructor(hostRef) {
|
|
1492
1492
|
index.registerInstance(this, hostRef);
|
|
1493
|
-
this.
|
|
1494
|
-
this.
|
|
1493
|
+
this.smoothlyNavStatus = index.createEvent(this, "smoothlyNavStatus", 7);
|
|
1494
|
+
this.smoothlyVisibleStatus = index.createEvent(this, "smoothlyVisibleStatus", 7);
|
|
1495
1495
|
this.visible = undefined;
|
|
1496
1496
|
this.open = false;
|
|
1497
1497
|
this.mediaQuery = "(max-width: 900px)";
|
|
@@ -1503,11 +1503,11 @@ const SmoothlyBurger = class {
|
|
|
1503
1503
|
this.visible = false;
|
|
1504
1504
|
else
|
|
1505
1505
|
this.visible = true;
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1506
|
+
this.smoothlyNavStatus.emit(!this.visible);
|
|
1507
|
+
this.smoothlyVisibleStatus.emit(this.visible);
|
|
1508
1508
|
}
|
|
1509
1509
|
openChanged() {
|
|
1510
|
-
this.
|
|
1510
|
+
this.smoothlyNavStatus.emit(this.open);
|
|
1511
1511
|
}
|
|
1512
1512
|
clickHandler(event) {
|
|
1513
1513
|
if (this.visible)
|
|
@@ -1524,8 +1524,8 @@ const SmoothlyBurger = class {
|
|
|
1524
1524
|
this.visible = false;
|
|
1525
1525
|
this.open = false;
|
|
1526
1526
|
}
|
|
1527
|
-
this.
|
|
1528
|
-
this.
|
|
1527
|
+
this.smoothlyVisibleStatus.emit(this.visible);
|
|
1528
|
+
this.smoothlyNavStatus.emit(!this.visible);
|
|
1529
1529
|
}
|
|
1530
1530
|
this.history = result;
|
|
1531
1531
|
}
|
|
@@ -1666,11 +1666,11 @@ const styleCss$X = ".sc-smoothly-calendar-h{display:block;--other-month-opacity:
|
|
|
1666
1666
|
const Calendar = class {
|
|
1667
1667
|
constructor(hostRef) {
|
|
1668
1668
|
index.registerInstance(this, hostRef);
|
|
1669
|
-
this.
|
|
1670
|
-
this.
|
|
1671
|
-
this.
|
|
1672
|
-
this.
|
|
1673
|
-
this.
|
|
1669
|
+
this.smoothlyValueChange = index.createEvent(this, "smoothlyValueChange", 7);
|
|
1670
|
+
this.smoothlyStartChange = index.createEvent(this, "smoothlyStartChange", 7);
|
|
1671
|
+
this.smoothlyEndChange = index.createEvent(this, "smoothlyEndChange", 7);
|
|
1672
|
+
this.smoothlyDateSet = index.createEvent(this, "smoothlyDateSet", 7);
|
|
1673
|
+
this.smoothlyDateRangeSet = index.createEvent(this, "smoothlyDateRangeSet", 7);
|
|
1674
1674
|
this.clickCounter = 0;
|
|
1675
1675
|
this.month = undefined;
|
|
1676
1676
|
this.value = getLanguage.Date.now();
|
|
@@ -1682,13 +1682,13 @@ const Calendar = class {
|
|
|
1682
1682
|
this.firstSelected = undefined;
|
|
1683
1683
|
}
|
|
1684
1684
|
onStart(next) {
|
|
1685
|
-
this.
|
|
1685
|
+
this.smoothlyStartChange.emit(next);
|
|
1686
1686
|
}
|
|
1687
1687
|
onEnd(next) {
|
|
1688
|
-
this.
|
|
1688
|
+
this.smoothlyEndChange.emit(next);
|
|
1689
1689
|
}
|
|
1690
1690
|
onClick(date) {
|
|
1691
|
-
this.
|
|
1691
|
+
this.smoothlyValueChange.emit((this.value = date));
|
|
1692
1692
|
this.clickCounter += 1;
|
|
1693
1693
|
if (this.doubleInput) {
|
|
1694
1694
|
if (this.clickCounter % 2 == 1)
|
|
@@ -1700,12 +1700,12 @@ const Calendar = class {
|
|
|
1700
1700
|
this.start = date;
|
|
1701
1701
|
}
|
|
1702
1702
|
}
|
|
1703
|
-
!this.doubleInput && this.
|
|
1703
|
+
!this.doubleInput && this.smoothlyDateSet.emit(this.value);
|
|
1704
1704
|
this.doubleInput &&
|
|
1705
1705
|
this.clickCounter % 2 == 0 &&
|
|
1706
1706
|
this.start &&
|
|
1707
1707
|
this.end &&
|
|
1708
|
-
this.
|
|
1708
|
+
this.smoothlyDateRangeSet.emit({ start: this.start, end: this.end });
|
|
1709
1709
|
}
|
|
1710
1710
|
onHover(date) {
|
|
1711
1711
|
if (this.doubleInput && this.clickCounter % 2 == 1) {
|
|
@@ -1722,7 +1722,7 @@ const Calendar = class {
|
|
|
1722
1722
|
render() {
|
|
1723
1723
|
var _a, _b;
|
|
1724
1724
|
return [
|
|
1725
|
-
index.h("smoothly-input-month", { value: (_a = this.month) !== null && _a !== void 0 ? _a : this.value,
|
|
1725
|
+
index.h("smoothly-input-month", { value: (_a = this.month) !== null && _a !== void 0 ? _a : this.value, onSmoothlyValueChange: event => {
|
|
1726
1726
|
this.month = event.detail;
|
|
1727
1727
|
event.stopPropagation();
|
|
1728
1728
|
} }),
|
|
@@ -9231,7 +9231,7 @@ const styleCss$K = ".sc-smoothly-input-date-h{box-sizing:border-box}.sc-smoothly
|
|
|
9231
9231
|
const InputDate = class {
|
|
9232
9232
|
constructor(hostRef) {
|
|
9233
9233
|
index.registerInstance(this, hostRef);
|
|
9234
|
-
this.
|
|
9234
|
+
this.smoothlyValueChange = index.createEvent(this, "smoothlyValueChange", 7);
|
|
9235
9235
|
this.smoothlyInput = index.createEvent(this, "smoothlyInput", 7);
|
|
9236
9236
|
this.smoothlyInputLooks = index.createEvent(this, "smoothlyInputLooks", 7);
|
|
9237
9237
|
this.color = undefined;
|
|
@@ -9251,7 +9251,7 @@ const InputDate = class {
|
|
|
9251
9251
|
this.value = undefined;
|
|
9252
9252
|
}
|
|
9253
9253
|
onStart(next) {
|
|
9254
|
-
this.
|
|
9254
|
+
this.smoothlyValueChange.emit(next);
|
|
9255
9255
|
this.smoothlyInput.emit({ [this.name]: next });
|
|
9256
9256
|
}
|
|
9257
9257
|
smoothlyInputHandler(event) {
|
|
@@ -9273,7 +9273,7 @@ const InputDate = class {
|
|
|
9273
9273
|
this.open && !this.disabled
|
|
9274
9274
|
? [
|
|
9275
9275
|
index.h("div", { onClick: () => (this.open = false) }),
|
|
9276
|
-
index.h("nav", null, index.h("div", { class: "arrow" }), index.h("smoothly-calendar", { doubleInput: false, value: (_a = this.value) !== null && _a !== void 0 ? _a : getLanguage.Date.now(),
|
|
9276
|
+
index.h("nav", null, index.h("div", { class: "arrow" }), index.h("smoothly-calendar", { doubleInput: false, value: (_a = this.value) !== null && _a !== void 0 ? _a : getLanguage.Date.now(), onSmoothlyValueChange: event => {
|
|
9277
9277
|
this.value = event.detail;
|
|
9278
9278
|
event.stopPropagation();
|
|
9279
9279
|
}, max: this.max, min: this.min })),
|
|
@@ -9293,7 +9293,7 @@ const styleCss$J = ".sc-smoothly-input-date-range-h{box-sizing:border-box}.sc-sm
|
|
|
9293
9293
|
const InputDateRange = class {
|
|
9294
9294
|
constructor(hostRef) {
|
|
9295
9295
|
index.registerInstance(this, hostRef);
|
|
9296
|
-
this.
|
|
9296
|
+
this.smoothlyValueChange = index.createEvent(this, "smoothlyValueChange", 7);
|
|
9297
9297
|
this.smoothlyInput = index.createEvent(this, "smoothlyInput", 7);
|
|
9298
9298
|
this.smoothlyInputLooks = index.createEvent(this, "smoothlyInputLooks", 7);
|
|
9299
9299
|
this.color = undefined;
|
|
@@ -9319,7 +9319,7 @@ const InputDateRange = class {
|
|
|
9319
9319
|
this.smoothlyInput.emit({ [this.name]: { start: this.start, end: this.end } });
|
|
9320
9320
|
}
|
|
9321
9321
|
onValue(next) {
|
|
9322
|
-
this.
|
|
9322
|
+
this.smoothlyValueChange.emit(next);
|
|
9323
9323
|
}
|
|
9324
9324
|
smoothlyInputHandler(event) {
|
|
9325
9325
|
if (event.target != this.element)
|
|
@@ -9342,7 +9342,7 @@ const InputDateRange = class {
|
|
|
9342
9342
|
}
|
|
9343
9343
|
render() {
|
|
9344
9344
|
var _a;
|
|
9345
|
-
return (index.h(index.Host, { tabindex: 0 }, index.h("section", { onClick: () => (this.open = !this.open) }, index.h("smoothly-input", { type: "date", name: "start", value: this.start, looks: this.looks, showLabel: this.showLabel, onSmoothlyInput: e => (this.start = e.detail.start) }, `${this.labelStart}`), index.h("span", null, "\u2013"), index.h("smoothly-input", { type: "date", name: "end", value: this.end, looks: this.looks, showLabel: this.showLabel, onSmoothlyInput: e => (this.end = e.detail.end) }, `${this.labelEnd}`)), this.open ? index.h("div", { onClick: () => (this.open = false) }) : [], this.open ? (index.h("nav", null, index.h("div", { class: "arrow" }), index.h("smoothly-calendar", { doubleInput: true, value: (_a = this.value) !== null && _a !== void 0 ? _a : getLanguage.Date.now(),
|
|
9345
|
+
return (index.h(index.Host, { tabindex: 0 }, index.h("section", { onClick: () => (this.open = !this.open) }, index.h("smoothly-input", { type: "date", name: "start", value: this.start, looks: this.looks, showLabel: this.showLabel, onSmoothlyInput: e => (this.start = e.detail.start) }, `${this.labelStart}`), index.h("span", null, "\u2013"), index.h("smoothly-input", { type: "date", name: "end", value: this.end, looks: this.looks, showLabel: this.showLabel, onSmoothlyInput: e => (this.end = e.detail.end) }, `${this.labelEnd}`)), this.open ? index.h("div", { onClick: () => (this.open = false) }) : [], this.open ? (index.h("nav", null, index.h("div", { class: "arrow" }), index.h("smoothly-calendar", { doubleInput: true, value: (_a = this.value) !== null && _a !== void 0 ? _a : getLanguage.Date.now(), onSmoothlyValueChange: event => {
|
|
9346
9346
|
this.value = event.detail;
|
|
9347
9347
|
event.stopPropagation();
|
|
9348
9348
|
}, start: this.start, end: this.end, max: this.max, min: this.min }))) : ([])));
|
|
@@ -9444,11 +9444,11 @@ const styleCss$G = ".sc-smoothly-input-month-h{display:flex;justify-content:spac
|
|
|
9444
9444
|
const MonthSelector = class {
|
|
9445
9445
|
constructor(hostRef) {
|
|
9446
9446
|
index.registerInstance(this, hostRef);
|
|
9447
|
-
this.
|
|
9447
|
+
this.smoothlyValueChange = index.createEvent(this, "smoothlyValueChange", 7);
|
|
9448
9448
|
this.value = undefined;
|
|
9449
9449
|
}
|
|
9450
9450
|
onValueChanged(next) {
|
|
9451
|
-
this.
|
|
9451
|
+
this.smoothlyValueChange.emit(next);
|
|
9452
9452
|
}
|
|
9453
9453
|
adjustMonth(delta) {
|
|
9454
9454
|
var _a;
|
|
@@ -9460,8 +9460,8 @@ const MonthSelector = class {
|
|
|
9460
9460
|
var _a, _b;
|
|
9461
9461
|
return [
|
|
9462
9462
|
index.h("div", { onClick: () => this.adjustMonth(-1) }, index.h("smoothly-icon", { name: "caret-back-outline", size: "small" })),
|
|
9463
|
-
index.h("smoothly-input-select", {
|
|
9464
|
-
index.h("smoothly-input-select", {
|
|
9463
|
+
index.h("smoothly-input-select", { onSmoothlySelect: (e) => (this.value = e.detail) }, years((_a = this.value) !== null && _a !== void 0 ? _a : getLanguage.Date.now()).map(year => (index.h("smoothly-item", { value: year.date, selected: year.selected }, year.name)))),
|
|
9464
|
+
index.h("smoothly-input-select", { onSmoothlySelect: (e) => (this.value = e.detail) }, months((_b = this.value) !== null && _b !== void 0 ? _b : getLanguage.Date.now()).map(month => (index.h("smoothly-item", { value: month.date, selected: month.selected }, month.name)))),
|
|
9465
9465
|
index.h("div", { onClick: () => this.adjustMonth(1) }, index.h("smoothly-icon", { name: "caret-forward-outline", size: "small" })),
|
|
9466
9466
|
];
|
|
9467
9467
|
}
|
|
@@ -9505,7 +9505,7 @@ const styleCss$E = ".sc-smoothly-input-select-h{box-sizing:border-box}.sc-smooth
|
|
|
9505
9505
|
const SmoothlyInputSelect = class {
|
|
9506
9506
|
constructor(hostRef) {
|
|
9507
9507
|
index.registerInstance(this, hostRef);
|
|
9508
|
-
this.
|
|
9508
|
+
this.smoothlySelect = index.createEvent(this, "smoothlySelect", 7);
|
|
9509
9509
|
this.smoothlyInput = index.createEvent(this, "smoothlyInput", 7);
|
|
9510
9510
|
this.smoothlyInputLooks = index.createEvent(this, "smoothlyInputLooks", 7);
|
|
9511
9511
|
this.items = [];
|
|
@@ -9534,7 +9534,7 @@ const SmoothlyInputSelect = class {
|
|
|
9534
9534
|
onSelectedChange(value, old) {
|
|
9535
9535
|
if (old)
|
|
9536
9536
|
old.selected = false;
|
|
9537
|
-
this.
|
|
9537
|
+
this.smoothlySelect.emit(value === null || value === void 0 ? void 0 : value.value);
|
|
9538
9538
|
this.smoothlyInput.emit({ [this.name]: value === null || value === void 0 ? void 0 : value.value });
|
|
9539
9539
|
}
|
|
9540
9540
|
async onFilterChange(value) {
|
|
@@ -9550,7 +9550,7 @@ const SmoothlyInputSelect = class {
|
|
|
9550
9550
|
event.stopPropagation();
|
|
9551
9551
|
this.opened = !this.opened;
|
|
9552
9552
|
}
|
|
9553
|
-
|
|
9553
|
+
onItemSelect(event) {
|
|
9554
9554
|
this.selectedElement && (this.selectedElement.hidden = false);
|
|
9555
9555
|
this.selectedElement = event.target;
|
|
9556
9556
|
!this.showSelected && (this.selectedElement.hidden = true);
|
|
@@ -9652,22 +9652,22 @@ const styleCss$D = "[selected].sc-smoothly-item-h{background-color:rgb(var(--smo
|
|
|
9652
9652
|
const Item = class {
|
|
9653
9653
|
constructor(hostRef) {
|
|
9654
9654
|
index.registerInstance(this, hostRef);
|
|
9655
|
-
this.
|
|
9655
|
+
this.smoothlyItemSelect = index.createEvent(this, "smoothlyItemSelect", 7);
|
|
9656
9656
|
this.value = undefined;
|
|
9657
9657
|
this.selected = undefined;
|
|
9658
9658
|
this.marked = undefined;
|
|
9659
9659
|
}
|
|
9660
9660
|
onSelectedChanged(value, old) {
|
|
9661
9661
|
if (value && !old)
|
|
9662
|
-
this.
|
|
9662
|
+
this.smoothlyItemSelect.emit();
|
|
9663
9663
|
}
|
|
9664
9664
|
onClick() {
|
|
9665
9665
|
this.selected = true;
|
|
9666
|
-
this.
|
|
9666
|
+
this.smoothlyItemSelect.emit();
|
|
9667
9667
|
}
|
|
9668
9668
|
componentDidLoad() {
|
|
9669
9669
|
if (this.selected)
|
|
9670
|
-
this.
|
|
9670
|
+
this.smoothlyItemSelect.emit();
|
|
9671
9671
|
}
|
|
9672
9672
|
async filter(filter) {
|
|
9673
9673
|
const result = !(this.element.hidden = filter
|
|
@@ -10297,7 +10297,7 @@ const styleCss$t = ".sc-smoothly-radio-h{display:block;position:relative}[hidden
|
|
|
10297
10297
|
const SmoothlyRadio = class {
|
|
10298
10298
|
constructor(hostRef) {
|
|
10299
10299
|
index.registerInstance(this, hostRef);
|
|
10300
|
-
this.
|
|
10300
|
+
this.smoothlySelect = index.createEvent(this, "smoothlySelect", 7);
|
|
10301
10301
|
this.name = undefined;
|
|
10302
10302
|
this.value = undefined;
|
|
10303
10303
|
this.checked = undefined;
|
|
@@ -10305,7 +10305,7 @@ const SmoothlyRadio = class {
|
|
|
10305
10305
|
}
|
|
10306
10306
|
async onInput(e) {
|
|
10307
10307
|
if (e.target && e.target.value && (this.checked = e.target.checked))
|
|
10308
|
-
this.
|
|
10308
|
+
this.smoothlySelect.emit({ name: this.name, value: this.value });
|
|
10309
10309
|
return true;
|
|
10310
10310
|
}
|
|
10311
10311
|
render() {
|