smoothly 1.40.0 → 1.42.0
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-app_100.cjs.entry.js +31 -12
- package/dist/cjs/smoothly-app_100.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/components/app/demo/index.js +13 -1
- package/dist/collection/components/app/demo/index.js.map +1 -1
- package/dist/collection/components/app/index.js +22 -3
- package/dist/collection/components/app/index.js.map +1 -1
- package/dist/collection/components/app/room/index.js +42 -6
- package/dist/collection/components/app/room/index.js.map +1 -1
- package/dist/collection/components/form/demo/pet/index.js +1 -1
- package/dist/collection/components/form/demo/pet/index.js.map +1 -1
- package/dist/collection/components/input/demo/index.js +22 -4
- package/dist/collection/components/input/demo/index.js.map +1 -1
- package/dist/components/{p-6fb190ff.js → p-03c28d63.js} +18 -5
- package/dist/components/p-03c28d63.js.map +1 -0
- package/dist/components/{p-621dbf78.js → p-29915bd8.js} +2 -2
- package/dist/components/{p-621dbf78.js.map → p-29915bd8.js.map} +1 -1
- package/dist/components/p-39cf15c2.js +246 -0
- package/dist/components/p-39cf15c2.js.map +1 -0
- package/dist/components/{p-5d5d893a.js → p-54eef69e.js} +7 -5
- package/dist/components/p-54eef69e.js.map +1 -0
- package/dist/components/{p-2d9e6d7d.js → p-d1db29ee.js} +2 -2
- package/dist/components/p-d1db29ee.js.map +1 -0
- package/dist/components/smoothly-app-demo.js +10 -7
- package/dist/components/smoothly-app-demo.js.map +1 -1
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/smoothly-app_100.entry.js +32 -13
- package/dist/esm/smoothly-app_100.entry.js.map +1 -1
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/p-b3be3564.entry.js +2 -0
- package/dist/smoothly/p-b3be3564.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/app/demo/index.d.ts +1 -0
- package/dist/types/components/app/index.d.ts +3 -0
- package/dist/types/components/app/room/index.d.ts +8 -0
- package/dist/types/components/input/demo/index.d.ts +5 -0
- package/dist/types/components.d.ts +36 -2
- package/package.json +1 -1
- package/dist/components/p-2d9e6d7d.js.map +0 -1
- package/dist/components/p-5d5d893a.js.map +0 -1
- package/dist/components/p-6fb190ff.js.map +0 -1
- package/dist/components/p-7775ae63.js +0 -245
- package/dist/components/p-7775ae63.js.map +0 -1
- package/dist/smoothly/p-4e22e5c1.entry.js +0 -2
- package/dist/smoothly/p-4e22e5c1.entry.js.map +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-699f76e0.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy(JSON.parse("[[\"smoothly-app_100.cjs\",[[0,\"smoothly-app-demo\",{\"baseUrl\":[1,\"base-url\"]}],[2,\"smoothly-form-demo\"],[2,\"smoothly-table-demo\"],[2,\"smoothly-input-demo\",{\"duration\":[32],\"alphanumeric\":[32]}],[0,\"smoothly-button-demo\"],[2,\"smoothly-icon-demo\",{\"display\":[32],\"props\":[32]}],[2,\"smoothly-theme-demo\"],[0,\"smoothly-display-demo\",{\"downloadingSpinner\":[32]}],[2,\"smoothly-dialog-demo\",{\"openModal\":[32],\"openTallModal\":[32],\"showFrame\":[32]}],[4,\"smoothly-app\",{\"label\":[513],\"color\":[1],\"home\":[1],\"menuOpen\":[1540,\"menu-open\"],\"selected\":[32],\"selectRoom\":[64]},[[8,\"popstate\",\"locationChangeHandler\"],[0,\"smoothlyRoomSelect\",\"roomSelectedHandler\"],[0,\"smoothlyRoomLoad\",\"roomLoadedHandler\"],[8,\"click\",\"clickHandler\"]],{\"selected\":[\"selectedChanged\"]}],[6,\"smoothly-app-room\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"path\":[1],\"selected\":[1540],\"content\":[16],\"getContent\":[64],\"setSelected\":[64]}],[2,\"smoothly-tabs-demo\",{\"extraTab1\":[32],\"extraTab2\":[32]}],[2,\"smoothly-form-demo-pet\",{\"hasOwner\":[32],\"owner\":[32],\"value\":[32]}],[2,\"smoothly-input-demo-standard\",{\"duration\":[32],\"options\":[32]}],[2,\"smoothly-form-demo-all\"],[2,\"smoothly-table-demo-filtered\",{\"criteria\":[32],\"cats\":[32],\"selector\":[32]},[[0,\"smoothlyFilter\",\"onFilterUpdate\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"]]],[2,\"smoothly-table-demo-group\"],[2,\"smoothly-form-demo-transparent\"],[2,\"smoothly-form-demo-schedule\"],[2,\"smoothly-form-demo-typed\"],[2,\"smoothly-table-demo-colspan\"],[2,\"smoothly-table-demo-simple\"],[2,\"smoothly-form-demo-controlled\",{\"name\":[32],\"currency\":[32],\"date\":[32]},null,{\"name\":[\"nameChanged\"]}],[2,\"smoothly-form-demo-date\"],[2,\"smoothly-form-demo-date-range\"],[2,\"smoothly-table-demo-filler-row\",{\"cats\":[32]}],[2,\"smoothly-table-demo-nested-no-cell\"],[2,\"smoothly-button-demo-standard\",{\"props\":[32],\"heightText\":[32],\"lastButton\":[32]},null,{\"props\":[\"updateInputHeightText\"]}],[0,\"smoothly-input-color-demo\"],[0,\"smoothly-input-range-demo\"],[2,\"smoothly-form-demo-login\"],[2,\"smoothly-form-demo-prices\"],[2,\"smoothly-form-demo-card\"],[0,\"smoothly-display-demo-json\"],[2,\"smoothly-theme-guide\"],[2,\"smoothly-input-price-demo\",{\"currencies\":[32],\"currency\":[32]}],[6,\"smoothly-notifier\",{\"icon\":[4],\"notices\":[32]},[[0,\"notice\",\"onNotice\"],[0,\"remove\",\"onRemove\"]]],[6,\"smoothly-theme-picker\",{\"element\":[1]}],[6,\"smoothly-dialog\",{\"color\":[513],\"open\":[1540],\"closable\":[516],\"header\":[513]},[[0,\"trigger\",\"TriggerListener\"]]],[2,\"smoothly-theme-colors\"],[2,\"smoothly-toggle-switch-demo\"],[2,\"smoothly-burger\",{\"visible\":[1540],\"open\":[1540],\"mediaQuery\":[513,\"media-query\"],\"history\":[32]},[[0,\"click\",\"clickHandler\"],[9,\"resize\",\"resizeHandler\"]],{\"open\":[\"openChanged\"]}],[6,\"smoothly-modal\",{\"open\":[1540],\"closable\":[516],\"align\":[513]},null,{\"open\":[\"openChanged\"]}],[2,\"smoothly-frame\",{\"url\":[1],\"name\":[513],\"origin\":[1],\"send\":[64]}],[6,\"smoothly-label\",{\"hue\":[2],\"description\":[1],\"shape\":[513]}],[2,\"smoothly-table-demo-nested-no-cell-inner\",{\"data\":[16]}],[6,\"smoothly-filter\",{\"detailChildren\":[32],\"criteria\":[32],\"expanded\":[32]},[[0,\"smoothlyFilterUpdate\",\"updateHandler\"],[0,\"smoothlyFilterManipulate\",\"manipulateHandler\"],[0,\"smoothlyFilterField\",\"filterFieldHandler\"]]],[6,\"smoothly-filter-select\",{\"label\":[1],\"property\":[1],\"menuHeight\":[1,\"menu-height\"],\"multiple\":[4],\"type\":[1],\"looks\":[1025]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"]]],[6,\"smoothly-filter-input\",{\"label\":[1],\"property\":[1],\"placeholder\":[1],\"needle\":[32]}],[2,\"smoothly-notification\",{\"notice\":[16],\"closable\":[4],\"icon\":[4],\"tick\":[32]},[[0,\"trigger\",\"onTrigger\"]],{\"notice\":[\"onUpdatedNotice\"]}],[6,\"smoothly-table-filler-row\"],[2,\"smoothly-back-to-top\",{\"opacity\":[1],\"bottom\":[1],\"right\":[1],\"visible\":[32]}],[2,\"smoothly-filter-toggle\",{\"icon\":[1],\"properties\":[16],\"tooltip\":[1],\"not\":[4],\"flip\":[516],\"active\":[1028]}],[2,\"smoothly-theme-color\",{\"color\":[1]}],[6,\"smoothly-table-row-group\",{\"align\":[516],\"open\":[1540]}],[2,\"smoothly-filter-field\",{\"criteria\":[8],\"clear\":[64]}],[6,\"smoothly-tab\",{\"label\":[1],\"name\":[1],\"tooltip\":[1],\"open\":[1540],\"disabled\":[516]},[[0,\"smoothlyInputLoad\",\"onInputLoad\"],[0,\"smoothlyInput\",\"onInputLoad\"]],{\"open\":[\"openHandler\"]}],[6,\"smoothly-tabs\",{\"tabs\":[513],\"tabElements\":[32],\"selectedElement\":[32],\"removeTab\":[64]},[[0,\"smoothlyTabLoad\",\"onInputLoad\"],[0,\"smoothlyTabOpen\",\"openChanged\"]],{\"selectedElement\":[\"onSelectedChange\"]}],[2,\"smoothly-theme-color-variant\",{\"color\":[513],\"variant\":[513]}],[6,\"smoothly-input-date-time\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"invalid\":[516],\"errorMessage\":[513,\"error-message\"],\"value\":[1025],\"open\":[1028],\"showLabel\":[516,\"show-label\"],\"min\":[1],\"max\":[1],\"date\":[32],\"hour\":[32],\"minute\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"listen\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[8,\"click\",\"onWindowClick\"]],{\"name\":[\"nameChange\"],\"date\":[\"handleChange\"],\"hour\":[\"handleChange\"],\"minute\":[\"handleChange\"],\"value\":[\"valueChange\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"]}],[6,\"smoothly-input-edit\",{\"color\":[1],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"type\":[513],\"size\":[513],\"tooltip\":[1]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-lazy\",{\"show\":[1028],\"content\":[16]}],[6,\"smoothly-summary\",{\"open\":[1540],\"color\":[1],\"fill\":[1],\"size\":[1]},[[0,\"smoothlyInputLoad\",\"onInputLoad\"],[0,\"smoothlyInput\",\"onInputLoad\"]]],[6,\"smoothly-table-foot\"],[2,\"smoothly-load-more\",{\"triggerMode\":[1,\"trigger-mode\"],\"name\":[1],\"multiple\":[4],\"inView\":[32]}],[6,\"smoothly-table-expandable-cell\",{\"span\":[514],\"open\":[1540],\"close\":[64]},null,{\"open\":[\"openChange\"]}],[6,\"smoothly-table-expandable-row\",{\"open\":[1540]},null,{\"open\":[\"openChange\"]}],[6,\"smoothly-trigger\",{\"color\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-input-color\",{\"value\":[1025],\"looks\":[1537],\"color\":[1537],\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"output\":[1],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"open\":[32],\"sliderMode\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[8,\"click\",\"onWindowClick\"]],{\"name\":[\"nameChange\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"],\"value\":[\"valueChanged\"]}],[6,\"smoothly-input-date-range\",{\"name\":[513],\"color\":[1537],\"looks\":[1537],\"readonly\":[1540],\"disabled\":[516],\"showLabel\":[516,\"show-label\"],\"start\":[1025],\"end\":[1025],\"placeholder\":[1],\"invalid\":[4],\"max\":[1],\"min\":[1],\"changed\":[1028],\"value\":[32],\"open\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64],\"clear\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[8,\"click\",\"onWindowClick\"]],{\"start\":[\"updateValue\"],\"end\":[\"updateValue\"],\"value\":[\"valueChanged\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"],\"name\":[\"nameChange\"]}],[6,\"smoothly-input-file\",{\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"accept\":[1],\"color\":[1537],\"looks\":[1537],\"camera\":[513],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"value\":[1040],\"placeholder\":[1537],\"dragging\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64],\"binary\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"]],{\"name\":[\"nameChange\"],\"value\":[\"valueChanged\"]}],[6,\"smoothly-table-body\"],[6,\"smoothly-table-cell\",{\"span\":[514]}],[6,\"smoothly-input-checkbox\",{\"name\":[513],\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"checked\":[1028],\"value\":[4],\"looks\":[1537],\"color\":[1537],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},null,{\"name\":[\"nameChange\"],\"checked\":[\"elementCheck\"]}],[6,\"smoothly-table\",{\"columns\":[2]},[[0,\"smoothlyTableExpandableRowChange\",\"smoothlyTableExpandableRowChange\"],[0,\"smoothlyTableExpandableCellChange\",\"smoothlyTableExpandableCellChange\"]]],[6,\"smoothly-table-head\",{\"scrolled\":[32]}],[6,\"smoothly-input-date\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"invalid\":[4],\"errorMessage\":[513,\"error-message\"],\"value\":[1025],\"open\":[1028],\"max\":[1025],\"min\":[1025],\"showLabel\":[516,\"show-label\"],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"listen\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[8,\"click\",\"onWindowClick\"],[0,\"smoothlyDateSet\",\"dateSetHandler\"]],{\"name\":[\"nameChange\"],\"value\":[\"onStart\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"]}],[6,\"smoothly-input-clear\",{\"color\":[1],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513],\"tooltip\":[1]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-input-reset\",{\"color\":[1],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513],\"tooltip\":[1]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-input-radio-item\",{\"value\":[1032],\"selected\":[1540],\"looks\":[1537],\"name\":[1025],\"disabled\":[32]}],[6,\"smoothly-input-radio\",{\"changed\":[1028],\"value\":[1032],\"looks\":[1537],\"color\":[1537],\"clearable\":[4],\"readonly\":[1540],\"disabled\":[516],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"listen\":[64],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyRadioItemRegister\",\"handleRegister\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlySelect\",\"smoothlyRadioInputHandler\"]],{\"name\":[\"nameChange\"],\"value\":[\"valueChanged\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"]}],[6,\"smoothly-table-row\",null,[[0,\"smoothlyTableExpandableCellRegister\",\"smoothlyTableExpandableCellRegisterHandler\"],[0,\"smoothlyTableExpandableCellChange\",\"smoothlyTableExpandableCellChangeHandler\"]]],[6,\"smoothly-input-range\",{\"value\":[1026],\"looks\":[1537],\"color\":[1537],\"changed\":[1028],\"defined\":[1028],\"readonly\":[1540],\"disabled\":[516],\"type\":[1],\"min\":[2],\"max\":[2],\"name\":[513],\"step\":[2],\"outputSide\":[1,\"output-side\"],\"label\":[1],\"showInput\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"]],{\"name\":[\"nameChange\"],\"value\":[\"valueChanged\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"]}],[2,\"smoothly-toggle-switch\",{\"checkmark\":[516],\"selected\":[1540],\"disabled\":[516],\"size\":[513],\"color\":[513],\"fill\":[513]}],[6,\"smoothly-calendar\",{\"month\":[1025],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"doubleInput\":[516,\"double-input\"],\"firstSelected\":[32]},null,{\"start\":[\"onStart\"],\"end\":[\"onEnd\"]}],[6,\"smoothly-input-submit\",{\"delete\":[516],\"color\":[1],\"icon\":[8],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"size\":[513],\"tooltip\":[1]}],[6,\"smoothly-input-month\",{\"readonly\":[1540],\"color\":[513],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"max\":[1025],\"min\":[1025],\"next\":[516],\"previous\":[516],\"inCalendar\":[516,\"in-calendar\"],\"showLabel\":[516,\"show-label\"],\"allowPreviousMonth\":[32],\"allowNextMonth\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"]],{\"value\":[\"valueChanged\",\"setAllowPreviousMonth\",\"setAllowNextMonth\"],\"min\":[\"setAllowPreviousMonth\"],\"max\":[\"setAllowNextMonth\"],\"name\":[\"nameChange\"]}],[6,\"smoothly-button-confirm\",{\"color\":[1],\"name\":[513],\"doubleClickTime\":[2,\"double-click-time\"],\"expand\":[513],\"fill\":[1],\"disabled\":[516],\"shape\":[1],\"size\":[1],\"clickTimeStamp\":[32]}],[4,\"smoothly-form\",{\"color\":[1537],\"value\":[1040],\"action\":[1],\"validator\":[16],\"type\":[1],\"readonly\":[1028],\"looks\":[513],\"name\":[513],\"prevent\":[4],\"changed\":[1028],\"processing\":[1040],\"removeInput\":[64],\"listen\":[64],\"submit\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyKeydown\",\"smoothlyKeydownHandler\"],[8,\"smoothlyFormSubmit\",\"windowSubmitHandler\"],[0,\"smoothlyFormSubmit\",\"submitHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyFormDisable\",\"smoothlyFormDisableHandler\"]],{\"value\":[\"watchValue\"],\"readonly\":[\"watchReadonly\"]}],[2,\"smoothly-display\",{\"type\":[1],\"label\":[1],\"value\":[8],\"collapseDepth\":[2,\"collapse-depth\"],\"toInteger\":[4,\"to-integer\"],\"currency\":[1],\"country\":[1],\"format\":[16]}],[2,\"smoothly-display-json\",{\"value\":[8],\"collapseDepth\":[2,\"collapse-depth\"]}],[2,\"smoothly-spinner\",{\"size\":[513],\"overlay\":[516]}],[2,\"smoothly-display-json-object\",{\"value\":[16],\"collapseDepth\":[2,\"collapse-depth\"],\"open\":[32],\"empty\":[32]}],[6,\"smoothly-input-select\",{\"invalid\":[516],\"errorMessage\":[513,\"error-message\"],\"name\":[513],\"color\":[1537],\"looks\":[1537],\"showLabel\":[516,\"show-label\"],\"showSelected\":[1540,\"show-selected\"],\"readonly\":[1540],\"disabled\":[516],\"inCalendar\":[516,\"in-calendar\"],\"ordered\":[516],\"multiple\":[4],\"clearable\":[4],\"changed\":[1028],\"defined\":[1028],\"placeholder\":[520],\"menuHeight\":[1,\"menu-height\"],\"required\":[4],\"searchDisabled\":[4,\"search-disabled\"],\"mutable\":[4],\"open\":[32],\"selected\":[32],\"filter\":[32],\"addedItems\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"getItems\":[64],\"listen\":[64],\"reset\":[64],\"clear\":[64],\"edit\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[8,\"click\",\"onWindowClick\"],[0,\"smoothlyItemDOMChange\",\"onItemDomChange\"],[0,\"smoothlyItemSelect\",\"onItemSelect\"],[0,\"keydown\",\"onKeyDown\"]],{\"name\":[\"nameChange\"],\"selected\":[\"onSelectedChange\"],\"required\":[\"onRequiredChange\"],\"filter\":[\"onFilterChange\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"],\"open\":[\"onClosed\"]}],[2,\"smoothly-display-json-primitive\",{\"value\":[8]}],[2,\"smoothly-display-json-record-key\",{\"value\":[8]}],[6,\"smoothly-item\",{\"value\":[8],\"selected\":[1540],\"marked\":[1540],\"disabled\":[516],\"deselectable\":[4],\"filter\":[64]},[[0,\"click\",\"clickHandler\"]],{\"selected\":[\"selectedWatcher\"]}],[6,\"smoothly-button\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"link\":[1]}],[6,\"smoothly-input\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1032],\"type\":[513],\"required\":[516],\"showLabel\":[516,\"show-label\"],\"autocomplete\":[1],\"placeholder\":[513],\"disabled\":[516],\"readonly\":[1540],\"toInteger\":[4,\"to-integer\"],\"currency\":[513],\"min\":[2],\"max\":[2],\"pad\":[2],\"invalid\":[516],\"changed\":[1028],\"errorMessage\":[513,\"error-message\"],\"copyable\":[516],\"initialValue\":[32],\"state\":[32],\"copied\":[32],\"getValue\":[64],\"setValue\":[64],\"setFocus\":[64],\"setSelection\":[64],\"listen\":[64],\"register\":[64],\"unregister\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64],\"setCustomInitialValue\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"input\",\"onEvent\"],[0,\"beforeinput\",\"onEvent\"]],{\"name\":[\"nameChange\"],\"currency\":[\"typeChange\"],\"type\":[\"typeChange\"],\"state\":[\"stateChange\"],\"value\":[\"valueChange\"],\"disabled\":[\"readonlyChange\"],\"readonly\":[\"readonlyChange\"]}],[2,\"smoothly-icon\",{\"color\":[513],\"fill\":[513],\"name\":[513],\"size\":[513],\"rotate\":[514],\"flip\":[513],\"tooltip\":[1],\"latestPromise\":[32]},null,{\"tooltip\":[\"nameChanged\"],\"name\":[\"nameChanged\"]}]]],[\"smoothly-input-checkbox-demo.cjs\",[[2,\"smoothly-input-checkbox-demo\"]]],[\"smoothly-checkbox.cjs\",[[6,\"smoothly-checkbox\",{\"size\":[1],\"checked\":[1540],\"intermediate\":[1540],\"unavailable\":[516],\"disabled\":[516],\"name\":[513],\"value\":[8],\"t\":[32],\"toggle\":[64],\"clear\":[64]},null,{\"checked\":[\"unavailableChanged\"],\"unavailable\":[\"unavailableChanged\"]}]]],[\"smoothly-color.cjs\",[[6,\"smoothly-color\",{\"color\":[513]}]]],[\"smoothly-country.cjs\",[[2,\"smoothly-country\",{\"value\":[1],\"text\":[1],\"language\":[32]}]]],[\"smoothly-submit.cjs\",[[6,\"smoothly-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"prevent\":[4]},[[0,\"click\",\"clickHandler\"]]]]],[\"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]}]]]]"), options);
|
|
11
|
+
return index.bootstrapLazy(JSON.parse("[[\"smoothly-app_100.cjs\",[[0,\"smoothly-app-demo\",{\"baseUrl\":[1,\"base-url\"]},[[8,\"smoothlyUrlChange\",\"urlChangeHandler\"]]],[2,\"smoothly-form-demo\"],[2,\"smoothly-table-demo\"],[2,\"smoothly-input-demo\",{\"duration\":[32],\"alphanumeric\":[32]}],[0,\"smoothly-button-demo\"],[2,\"smoothly-icon-demo\",{\"display\":[32],\"props\":[32]}],[2,\"smoothly-theme-demo\"],[0,\"smoothly-display-demo\",{\"downloadingSpinner\":[32]}],[2,\"smoothly-dialog-demo\",{\"openModal\":[32],\"openTallModal\":[32],\"showFrame\":[32]}],[4,\"smoothly-app\",{\"label\":[513],\"color\":[1],\"home\":[1],\"menuOpen\":[1540,\"menu-open\"],\"selected\":[32],\"selectRoom\":[64]},[[8,\"popstate\",\"locationChangeHandler\"],[0,\"smoothlyRoomSelect\",\"roomSelectedHandler\"],[0,\"smoothlyRoomLoad\",\"roomLoadedHandler\"],[8,\"click\",\"clickHandler\"]],{\"selected\":[\"selectedChanged\"]}],[6,\"smoothly-app-room\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"path\":[1],\"selected\":[1540],\"content\":[16],\"getContent\":[64],\"setSelected\":[64]},[[8,\"smoothlyUrlUpdate\",\"setQuery\"]]],[2,\"smoothly-tabs-demo\",{\"extraTab1\":[32],\"extraTab2\":[32]}],[2,\"smoothly-form-demo-pet\",{\"hasOwner\":[32],\"owner\":[32],\"value\":[32]}],[2,\"smoothly-input-demo-standard\",{\"duration\":[32],\"options\":[32]}],[2,\"smoothly-form-demo-all\"],[2,\"smoothly-table-demo-filtered\",{\"criteria\":[32],\"cats\":[32],\"selector\":[32]},[[0,\"smoothlyFilter\",\"onFilterUpdate\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"]]],[2,\"smoothly-table-demo-group\"],[2,\"smoothly-form-demo-transparent\"],[2,\"smoothly-form-demo-schedule\"],[2,\"smoothly-form-demo-typed\"],[2,\"smoothly-table-demo-colspan\"],[2,\"smoothly-table-demo-simple\"],[2,\"smoothly-form-demo-controlled\",{\"name\":[32],\"currency\":[32],\"date\":[32]},null,{\"name\":[\"nameChanged\"]}],[2,\"smoothly-form-demo-date\"],[2,\"smoothly-form-demo-date-range\"],[2,\"smoothly-table-demo-filler-row\",{\"cats\":[32]}],[2,\"smoothly-table-demo-nested-no-cell\"],[2,\"smoothly-button-demo-standard\",{\"props\":[32],\"heightText\":[32],\"lastButton\":[32]},null,{\"props\":[\"updateInputHeightText\"]}],[0,\"smoothly-input-color-demo\"],[0,\"smoothly-input-range-demo\"],[2,\"smoothly-form-demo-login\"],[2,\"smoothly-form-demo-prices\"],[2,\"smoothly-form-demo-card\"],[0,\"smoothly-display-demo-json\"],[2,\"smoothly-theme-guide\"],[2,\"smoothly-input-price-demo\",{\"currencies\":[32],\"currency\":[32]}],[6,\"smoothly-notifier\",{\"icon\":[4],\"notices\":[32]},[[0,\"notice\",\"onNotice\"],[0,\"remove\",\"onRemove\"]]],[6,\"smoothly-theme-picker\",{\"element\":[1]}],[6,\"smoothly-dialog\",{\"color\":[513],\"open\":[1540],\"closable\":[516],\"header\":[513]},[[0,\"trigger\",\"TriggerListener\"]]],[2,\"smoothly-theme-colors\"],[2,\"smoothly-toggle-switch-demo\"],[2,\"smoothly-burger\",{\"visible\":[1540],\"open\":[1540],\"mediaQuery\":[513,\"media-query\"],\"history\":[32]},[[0,\"click\",\"clickHandler\"],[9,\"resize\",\"resizeHandler\"]],{\"open\":[\"openChanged\"]}],[6,\"smoothly-modal\",{\"open\":[1540],\"closable\":[516],\"align\":[513]},null,{\"open\":[\"openChanged\"]}],[2,\"smoothly-frame\",{\"url\":[1],\"name\":[513],\"origin\":[1],\"send\":[64]}],[6,\"smoothly-label\",{\"hue\":[2],\"description\":[1],\"shape\":[513]}],[2,\"smoothly-table-demo-nested-no-cell-inner\",{\"data\":[16]}],[6,\"smoothly-filter\",{\"detailChildren\":[32],\"criteria\":[32],\"expanded\":[32]},[[0,\"smoothlyFilterUpdate\",\"updateHandler\"],[0,\"smoothlyFilterManipulate\",\"manipulateHandler\"],[0,\"smoothlyFilterField\",\"filterFieldHandler\"]]],[6,\"smoothly-filter-select\",{\"label\":[1],\"property\":[1],\"menuHeight\":[1,\"menu-height\"],\"multiple\":[4],\"type\":[1],\"looks\":[1025]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"]]],[6,\"smoothly-filter-input\",{\"label\":[1],\"property\":[1],\"placeholder\":[1],\"needle\":[32]}],[2,\"smoothly-notification\",{\"notice\":[16],\"closable\":[4],\"icon\":[4],\"tick\":[32]},[[0,\"trigger\",\"onTrigger\"]],{\"notice\":[\"onUpdatedNotice\"]}],[6,\"smoothly-table-filler-row\"],[2,\"smoothly-back-to-top\",{\"opacity\":[1],\"bottom\":[1],\"right\":[1],\"visible\":[32]}],[2,\"smoothly-filter-toggle\",{\"icon\":[1],\"properties\":[16],\"tooltip\":[1],\"not\":[4],\"flip\":[516],\"active\":[1028]}],[2,\"smoothly-theme-color\",{\"color\":[1]}],[6,\"smoothly-table-row-group\",{\"align\":[516],\"open\":[1540]}],[2,\"smoothly-filter-field\",{\"criteria\":[8],\"clear\":[64]}],[6,\"smoothly-tab\",{\"label\":[1],\"name\":[1],\"tooltip\":[1],\"open\":[1540],\"disabled\":[516]},[[0,\"smoothlyInputLoad\",\"onInputLoad\"],[0,\"smoothlyInput\",\"onInputLoad\"]],{\"open\":[\"openHandler\"]}],[6,\"smoothly-tabs\",{\"tabs\":[513],\"tabElements\":[32],\"selectedElement\":[32],\"removeTab\":[64]},[[0,\"smoothlyTabLoad\",\"onInputLoad\"],[0,\"smoothlyTabOpen\",\"openChanged\"]],{\"selectedElement\":[\"onSelectedChange\"]}],[2,\"smoothly-theme-color-variant\",{\"color\":[513],\"variant\":[513]}],[6,\"smoothly-input-date-time\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"invalid\":[516],\"errorMessage\":[513,\"error-message\"],\"value\":[1025],\"open\":[1028],\"showLabel\":[516,\"show-label\"],\"min\":[1],\"max\":[1],\"date\":[32],\"hour\":[32],\"minute\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"listen\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[8,\"click\",\"onWindowClick\"]],{\"name\":[\"nameChange\"],\"date\":[\"handleChange\"],\"hour\":[\"handleChange\"],\"minute\":[\"handleChange\"],\"value\":[\"valueChange\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"]}],[6,\"smoothly-input-edit\",{\"color\":[1],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"type\":[513],\"size\":[513],\"tooltip\":[1]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-lazy\",{\"show\":[1028],\"content\":[16]}],[6,\"smoothly-summary\",{\"open\":[1540],\"color\":[1],\"fill\":[1],\"size\":[1]},[[0,\"smoothlyInputLoad\",\"onInputLoad\"],[0,\"smoothlyInput\",\"onInputLoad\"]]],[6,\"smoothly-table-foot\"],[2,\"smoothly-load-more\",{\"triggerMode\":[1,\"trigger-mode\"],\"name\":[1],\"multiple\":[4],\"inView\":[32]}],[6,\"smoothly-table-expandable-cell\",{\"span\":[514],\"open\":[1540],\"close\":[64]},null,{\"open\":[\"openChange\"]}],[6,\"smoothly-table-expandable-row\",{\"open\":[1540]},null,{\"open\":[\"openChange\"]}],[6,\"smoothly-trigger\",{\"color\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-input-color\",{\"value\":[1025],\"looks\":[1537],\"color\":[1537],\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"output\":[1],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"open\":[32],\"sliderMode\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[8,\"click\",\"onWindowClick\"]],{\"name\":[\"nameChange\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"],\"value\":[\"valueChanged\"]}],[6,\"smoothly-input-date-range\",{\"name\":[513],\"color\":[1537],\"looks\":[1537],\"readonly\":[1540],\"disabled\":[516],\"showLabel\":[516,\"show-label\"],\"start\":[1025],\"end\":[1025],\"placeholder\":[1],\"invalid\":[4],\"max\":[1],\"min\":[1],\"changed\":[1028],\"value\":[32],\"open\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64],\"clear\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[8,\"click\",\"onWindowClick\"]],{\"start\":[\"updateValue\"],\"end\":[\"updateValue\"],\"value\":[\"valueChanged\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"],\"name\":[\"nameChange\"]}],[6,\"smoothly-input-file\",{\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"accept\":[1],\"color\":[1537],\"looks\":[1537],\"camera\":[513],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"value\":[1040],\"placeholder\":[1537],\"dragging\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64],\"binary\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"]],{\"name\":[\"nameChange\"],\"value\":[\"valueChanged\"]}],[6,\"smoothly-table-body\"],[6,\"smoothly-table-cell\",{\"span\":[514]}],[6,\"smoothly-input-checkbox\",{\"name\":[513],\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"checked\":[1028],\"value\":[4],\"looks\":[1537],\"color\":[1537],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},null,{\"name\":[\"nameChange\"],\"checked\":[\"elementCheck\"]}],[6,\"smoothly-table\",{\"columns\":[2]},[[0,\"smoothlyTableExpandableRowChange\",\"smoothlyTableExpandableRowChange\"],[0,\"smoothlyTableExpandableCellChange\",\"smoothlyTableExpandableCellChange\"]]],[6,\"smoothly-table-head\",{\"scrolled\":[32]}],[6,\"smoothly-input-date\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"changed\":[1028],\"readonly\":[1540],\"disabled\":[516],\"invalid\":[4],\"errorMessage\":[513,\"error-message\"],\"value\":[1025],\"open\":[1028],\"max\":[1025],\"min\":[1025],\"showLabel\":[516,\"show-label\"],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"listen\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[8,\"click\",\"onWindowClick\"],[0,\"smoothlyDateSet\",\"dateSetHandler\"]],{\"name\":[\"nameChange\"],\"value\":[\"onStart\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"]}],[6,\"smoothly-input-clear\",{\"color\":[1],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513],\"tooltip\":[1]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-input-reset\",{\"color\":[1],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513],\"tooltip\":[1]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-input-radio-item\",{\"value\":[1032],\"selected\":[1540],\"looks\":[1537],\"name\":[1025],\"disabled\":[32]}],[6,\"smoothly-input-radio\",{\"changed\":[1028],\"value\":[1032],\"looks\":[1537],\"color\":[1537],\"clearable\":[4],\"readonly\":[1540],\"disabled\":[516],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"listen\":[64],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyRadioItemRegister\",\"handleRegister\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlySelect\",\"smoothlyRadioInputHandler\"]],{\"name\":[\"nameChange\"],\"value\":[\"valueChanged\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"]}],[6,\"smoothly-table-row\",null,[[0,\"smoothlyTableExpandableCellRegister\",\"smoothlyTableExpandableCellRegisterHandler\"],[0,\"smoothlyTableExpandableCellChange\",\"smoothlyTableExpandableCellChangeHandler\"]]],[6,\"smoothly-input-range\",{\"value\":[1026],\"looks\":[1537],\"color\":[1537],\"changed\":[1028],\"defined\":[1028],\"readonly\":[1540],\"disabled\":[516],\"type\":[1],\"min\":[2],\"max\":[2],\"name\":[513],\"step\":[2],\"outputSide\":[1,\"output-side\"],\"label\":[1],\"showInput\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"]],{\"name\":[\"nameChange\"],\"value\":[\"valueChanged\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"]}],[2,\"smoothly-toggle-switch\",{\"checkmark\":[516],\"selected\":[1540],\"disabled\":[516],\"size\":[513],\"color\":[513],\"fill\":[513]}],[6,\"smoothly-calendar\",{\"month\":[1025],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"doubleInput\":[516,\"double-input\"],\"firstSelected\":[32]},null,{\"start\":[\"onStart\"],\"end\":[\"onEnd\"]}],[6,\"smoothly-input-submit\",{\"delete\":[516],\"color\":[1],\"icon\":[8],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"size\":[513],\"tooltip\":[1]}],[6,\"smoothly-input-month\",{\"readonly\":[1540],\"color\":[513],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"max\":[1025],\"min\":[1025],\"next\":[516],\"previous\":[516],\"inCalendar\":[516,\"in-calendar\"],\"showLabel\":[516,\"show-label\"],\"allowPreviousMonth\":[32],\"allowNextMonth\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"]],{\"value\":[\"valueChanged\",\"setAllowPreviousMonth\",\"setAllowNextMonth\"],\"min\":[\"setAllowPreviousMonth\"],\"max\":[\"setAllowNextMonth\"],\"name\":[\"nameChange\"]}],[6,\"smoothly-button-confirm\",{\"color\":[1],\"name\":[513],\"doubleClickTime\":[2,\"double-click-time\"],\"expand\":[513],\"fill\":[1],\"disabled\":[516],\"shape\":[1],\"size\":[1],\"clickTimeStamp\":[32]}],[4,\"smoothly-form\",{\"color\":[1537],\"value\":[1040],\"action\":[1],\"validator\":[16],\"type\":[1],\"readonly\":[1028],\"looks\":[513],\"name\":[513],\"prevent\":[4],\"changed\":[1028],\"processing\":[1040],\"removeInput\":[64],\"listen\":[64],\"submit\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyKeydown\",\"smoothlyKeydownHandler\"],[8,\"smoothlyFormSubmit\",\"windowSubmitHandler\"],[0,\"smoothlyFormSubmit\",\"submitHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyFormDisable\",\"smoothlyFormDisableHandler\"]],{\"value\":[\"watchValue\"],\"readonly\":[\"watchReadonly\"]}],[2,\"smoothly-display\",{\"type\":[1],\"label\":[1],\"value\":[8],\"collapseDepth\":[2,\"collapse-depth\"],\"toInteger\":[4,\"to-integer\"],\"currency\":[1],\"country\":[1],\"format\":[16]}],[2,\"smoothly-display-json\",{\"value\":[8],\"collapseDepth\":[2,\"collapse-depth\"]}],[2,\"smoothly-spinner\",{\"size\":[513],\"overlay\":[516]}],[2,\"smoothly-display-json-object\",{\"value\":[16],\"collapseDepth\":[2,\"collapse-depth\"],\"open\":[32],\"empty\":[32]}],[6,\"smoothly-input-select\",{\"invalid\":[516],\"errorMessage\":[513,\"error-message\"],\"name\":[513],\"color\":[1537],\"looks\":[1537],\"showLabel\":[516,\"show-label\"],\"showSelected\":[1540,\"show-selected\"],\"readonly\":[1540],\"disabled\":[516],\"inCalendar\":[516,\"in-calendar\"],\"ordered\":[516],\"multiple\":[4],\"clearable\":[4],\"changed\":[1028],\"defined\":[1028],\"placeholder\":[520],\"menuHeight\":[1,\"menu-height\"],\"required\":[4],\"searchDisabled\":[4,\"search-disabled\"],\"mutable\":[4],\"open\":[32],\"selected\":[32],\"filter\":[32],\"addedItems\":[32],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"getItems\":[64],\"listen\":[64],\"reset\":[64],\"clear\":[64],\"edit\":[64],\"setInitialValue\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[8,\"click\",\"onWindowClick\"],[0,\"smoothlyItemDOMChange\",\"onItemDomChange\"],[0,\"smoothlyItemSelect\",\"onItemSelect\"],[0,\"keydown\",\"onKeyDown\"]],{\"name\":[\"nameChange\"],\"selected\":[\"onSelectedChange\"],\"required\":[\"onRequiredChange\"],\"filter\":[\"onFilterChange\"],\"disabled\":[\"watchingReadonly\"],\"readonly\":[\"watchingReadonly\"],\"open\":[\"onClosed\"]}],[2,\"smoothly-display-json-primitive\",{\"value\":[8]}],[2,\"smoothly-display-json-record-key\",{\"value\":[8]}],[6,\"smoothly-item\",{\"value\":[8],\"selected\":[1540],\"marked\":[1540],\"disabled\":[516],\"deselectable\":[4],\"filter\":[64]},[[0,\"click\",\"clickHandler\"]],{\"selected\":[\"selectedWatcher\"]}],[6,\"smoothly-button\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"link\":[1]}],[6,\"smoothly-input\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1032],\"type\":[513],\"required\":[516],\"showLabel\":[516,\"show-label\"],\"autocomplete\":[1],\"placeholder\":[513],\"disabled\":[516],\"readonly\":[1540],\"toInteger\":[4,\"to-integer\"],\"currency\":[513],\"min\":[2],\"max\":[2],\"pad\":[2],\"invalid\":[516],\"changed\":[1028],\"errorMessage\":[513,\"error-message\"],\"copyable\":[516],\"initialValue\":[32],\"state\":[32],\"copied\":[32],\"getValue\":[64],\"setValue\":[64],\"setFocus\":[64],\"setSelection\":[64],\"listen\":[64],\"register\":[64],\"unregister\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64],\"setCustomInitialValue\":[64]},[[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"input\",\"onEvent\"],[0,\"beforeinput\",\"onEvent\"]],{\"name\":[\"nameChange\"],\"currency\":[\"typeChange\"],\"type\":[\"typeChange\"],\"state\":[\"stateChange\"],\"value\":[\"valueChange\"],\"disabled\":[\"readonlyChange\"],\"readonly\":[\"readonlyChange\"]}],[2,\"smoothly-icon\",{\"color\":[513],\"fill\":[513],\"name\":[513],\"size\":[513],\"rotate\":[514],\"flip\":[513],\"tooltip\":[1],\"latestPromise\":[32]},null,{\"tooltip\":[\"nameChanged\"],\"name\":[\"nameChanged\"]}]]],[\"smoothly-input-checkbox-demo.cjs\",[[2,\"smoothly-input-checkbox-demo\"]]],[\"smoothly-checkbox.cjs\",[[6,\"smoothly-checkbox\",{\"size\":[1],\"checked\":[1540],\"intermediate\":[1540],\"unavailable\":[516],\"disabled\":[516],\"name\":[513],\"value\":[8],\"t\":[32],\"toggle\":[64],\"clear\":[64]},null,{\"checked\":[\"unavailableChanged\"],\"unavailable\":[\"unavailableChanged\"]}]]],[\"smoothly-color.cjs\",[[6,\"smoothly-color\",{\"color\":[513]}]]],[\"smoothly-country.cjs\",[[2,\"smoothly-country\",{\"value\":[1],\"text\":[1],\"language\":[32]}]]],[\"smoothly-submit.cjs\",[[6,\"smoothly-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"prevent\":[4]},[[0,\"click\",\"clickHandler\"]]]]],[\"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]}]]]]"), options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -29,6 +29,7 @@ const SmoothlyAppStyle0 = styleCss$1m;
|
|
|
29
29
|
const SmoothlyApp = class {
|
|
30
30
|
constructor(hostRef) {
|
|
31
31
|
index.registerInstance(this, hostRef);
|
|
32
|
+
this.smoothlyUrlChange = index.createEvent(this, "smoothlyUrlChange", 7);
|
|
32
33
|
this.rooms = {};
|
|
33
34
|
this.label = undefined;
|
|
34
35
|
this.color = undefined;
|
|
@@ -66,6 +67,7 @@ const SmoothlyApp = class {
|
|
|
66
67
|
async locationChangeHandler(event) {
|
|
67
68
|
var _a;
|
|
68
69
|
(_a = this.rooms[event.state.smoothlyPath]) === null || _a === void 0 ? void 0 : _a.element.setSelected(true, { history: true });
|
|
70
|
+
this.smoothlyUrlChange.emit(window.location.href);
|
|
69
71
|
}
|
|
70
72
|
roomSelectedHandler(event) {
|
|
71
73
|
this.selected = { element: event.target };
|
|
@@ -75,14 +77,14 @@ const SmoothlyApp = class {
|
|
|
75
77
|
const path = this.selected.element.path.toString();
|
|
76
78
|
const location = new URL(window.location.pathname == path ? window.location.href : window.location.origin);
|
|
77
79
|
location.pathname = path;
|
|
78
|
-
|
|
80
|
+
location.search = event.detail.query ? `?${event.detail.query}` : "";
|
|
81
|
+
window.history.pushState({ smoothlyPath: path, smoothlyQuery: event.detail.query || "" }, "", location.href);
|
|
79
82
|
}
|
|
80
83
|
}
|
|
81
84
|
roomLoadedHandler(event) {
|
|
82
85
|
const room = (this.rooms[event.target.path.toString()] = { element: event.target });
|
|
83
86
|
if (room.element.selected) {
|
|
84
87
|
this.selected = room;
|
|
85
|
-
window.history.replaceState({ smoothlyPath: room.element.path }, "", window.location.href);
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
90
|
clickHandler(event) {
|
|
@@ -90,7 +92,7 @@ const SmoothlyApp = class {
|
|
|
90
92
|
this.menuOpen = false;
|
|
91
93
|
}
|
|
92
94
|
render() {
|
|
93
|
-
return (index.h("smoothly-notifier", { key: '
|
|
95
|
+
return (index.h("smoothly-notifier", { key: 'd75053b6696c2e8a6b70f605471c629e0245cd79' }, index.h("header", { key: '2abc90cea0e212a0028a9687434d4544f616612e', color: this.color }, index.h("h1", { key: '09c1abd28b34d15f2ecba14d0b3fc9d1b3b0b1a0' }, index.h("a", { key: '7e16e6dd2b5046a0a60065b7e3a809388e084247', href: "" }, this.label)), index.h("slot", { key: '998a863024b6e4fc19f52f3563ce00b6758fc002', name: "header" }), index.h("nav", { key: '7c415a3efb11f2c5a3947df02e30f02c1de440ad', ref: e => (this.navElement = e) }, index.h("ul", { key: '3c5121358be5c39e55d27bc244f7d6969f5c892f' }, index.h("div", { key: '6aa322f6d0eaf32fb304b8979c4f2f9e3c44553d', class: "nav-start-container" }, index.h("slot", { key: '51dff00c0fd8422e01528859b3c21b21c0cfc8a2', name: "nav-start" })), index.h("slot", { key: '0d3555c362aa940f7eb6e0b94dbbafcaaabd341f' }), index.h("div", { key: 'bcb9a9817ff6efa43ee3ae56bb575603fb57cb3e', class: "nav-end-container" }, index.h("slot", { key: 'e0880a116650b5246825f16f2d778169d206509b', name: "nav-end" })))), index.h("smoothly-burger", { key: '7159fe41db364265a7421bb77b7e333556087312', ref: e => (this.burgerElement = e), open: this.menuOpen, onSmoothlyNavStatus: e => this.burgerStatusHandler(e), onSmoothlyVisibleStatus: e => this.burgerVisibilityHandler(e) })), index.h("main", { key: '04aa4e3c43286c0e22ed14f3a11c56a152e5e3c4', ref: e => (this.mainElement = e) })));
|
|
94
96
|
}
|
|
95
97
|
static get watchers() { return {
|
|
96
98
|
"selected": ["selectedChanged"]
|
|
@@ -103,8 +105,11 @@ const SmoothlyAppDemo = class {
|
|
|
103
105
|
index.registerInstance(this, hostRef);
|
|
104
106
|
this.baseUrl = undefined;
|
|
105
107
|
}
|
|
108
|
+
urlChangeHandler(event) {
|
|
109
|
+
console.log("smoothlyUrlChange", event.detail);
|
|
110
|
+
}
|
|
106
111
|
render() {
|
|
107
|
-
return (index.h("smoothly-app", { key: '
|
|
112
|
+
return (index.h("smoothly-app", { key: 'a2ce0c818d9180281a299f32758ceaa25416b126', color: "dark", label: "Smoothly Demo", home: "/root", ref: e => (this.app = e) }, index.h("smoothly-app-room", { key: '24b96bb7d1746d1b5117ee076513e6fbf924fa0c', path: "/" }, index.h("section", { key: '0ee1088c6b21efa058f50f8d62a8859d29b7f217', style: { padding: "1em", maxWidth: "32em", margin: "0 auto" } }, index.h("header", { key: '70e8e3e5fce5219fb8a0ff2bfa8abc0f06adade9' }, index.h("h1", { key: 'c5de8e096fecacb4ced77097224b19ec5cafd621' }, "Welcome")), index.h("p", { key: '436a395d394eb50acdeaa38f783f4ca747a4efb6' }, "Smoothly is a component library written in ", index.h("a", { key: '5907340e5f39cf8605db950ea978d468158472c2', href: "http://stenciljs.com" }, "Stencil"), ". It can therefore be used across web based frontend toolchains such as React, Vue, Angular, Svelte, and even plain HTML."), index.h("p", { key: '47891f096a1700892f732898fd31567ffa5acbcf' }, "This is particularly useful when trying to unifying the user experience across projects written in different technology stacks. It is also written to minimize the amount of code you need to write to achieve a nice user experience."))), index.h("smoothly-app-room", { key: '982de5957dc7ca9ad7dcc5995a568d5bac64c2a6', path: "/form", label: "Forms", content: index.h("smoothly-form-demo", null) }), index.h("smoothly-app-room", { key: 'c75c6dbe5f9c33139172bda0a01350b3f0884fc7', path: "/input", label: "Inputs", content: index.h("smoothly-input-demo", null) }), index.h("smoothly-app-room", { key: '4539b49b59c73f9ab4e38af5e489e3aaf667fb72', path: "/table", label: "Tables", content: index.h("smoothly-table-demo", null) }), index.h("smoothly-app-room", { key: '229fd38d2dcb436cd9627f2b793a147c92c84931', path: "/button", label: "Buttons", content: index.h("smoothly-button-demo", null) }), index.h("smoothly-app-room", { key: '8d6e7b1f60309fd815d7db356a07eb8410f0e31f', path: "/icon", label: "Icons", content: index.h("smoothly-icon-demo", null) }), index.h("smoothly-app-room", { key: '94f85d6b90f7417bd7b5f5447ac370103c7cb7eb', path: "/theme", label: "Theming", content: index.h("smoothly-theme-demo", null) }), index.h("smoothly-app-room", { key: '162f8f03e2e545c4fb5c80cf4e3879e1b6d90a13', path: "/dialog", label: "Dialogs", content: index.h("smoothly-dialog-demo", null), slot: "nav-end" }), index.h("smoothly-app-room", { key: '174bccf3b5aa51b9126796f2d0476354a0011759', path: "/display", label: "Display", content: index.h("smoothly-display-demo", null), slot: "nav-end" }), index.h("smoothly-app-room", { key: '85c0f81635c406c386786c4fe899aa9243f3ba15', path: "/tabs", label: "Tabs", slot: "nav-end" }, index.h("smoothly-tabs-demo", { key: '5b014fc76c23fdf445cf332dcbbb327247cdd6f7' })), index.h("smoothly-app-room", { key: '5d7fc0eb2d25d144ec0ee2e188d763132caffe9f', path: "/links", label: "Links", slot: "nav-end" }, index.h("smoothly-input", { key: 'eed619a2f0628e1bb16e0af5e2a55d4ef1b75e9b', type: "text" }, "Default"), index.h("div", { key: '5eb0e4b142d44cdb8ae4248ca70d9616cf8cd46c', style: { padding: "1em", maxWidth: "12em" } }, index.h("smoothly-button", { key: '3f8849508cf6fbed6b2a7fe6a83841b65555bde7', fill: "solid", color: "danger", link: "https://google.com" }, "open"), index.h("smoothly-button", { key: '4809f862144676012d4d4d9073d50397683b1643', fill: "solid", color: "danger", link: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf", type: "download" }, "download"), index.h("smoothly-button", { key: '3b5c653636388ec5fc9c640de2a0f562af1f2ead', fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), index.h("smoothly-button", { key: 'ec8b47d2ffe1ad4c2512697e968945100e303280', disabled: true, fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), index.h("smoothly-button", { key: 'c7482028872ac3ff162c7d501a94a4222bf86c65', type: "link", fill: "clear", color: "danger", onClick: () => alert("clicked") }, "action link"))), index.h("smoothly-app-room", { key: 'ab6b94fabd773c9cfed1a45e6d32e2eb398f519d', path: "/redirect", label: "Redirect", slot: "nav-end" }, index.h("smoothly-button", { key: '846eaa6b9eb0cdc27e8b74019fd8d99028399e37', type: "link", link: "/input" }, "To input"), index.h("smoothly-button", { key: '229c941f8c8cc936d16776347f541b766f71aa3d', type: "link", link: "../button" }, "To button"), index.h("smoothly-button", { key: 'bbbcc98ee10d158137c7814804da407954bef2f6', type: "link", link: new URL("/hidden", window.location.origin).href }, "To hidden"), index.h("smoothly-button", { key: '044f50e918c4839f4d7113d8416f19af9367371d', type: "link", link: "/redirect" }, "To redirect"), index.h("smoothly-button", { key: 'ce7e71efb2f8d82625173ab061b9d8e0c5bc0012', type: "link", link: "nested" }, "To redirect nested, relative path")), index.h("smoothly-app-room", { key: '3a1ca03f500f37c2ec9c8793cfad81901cf36f1b', path: "/hidden" }, index.h("p", { key: '80b1eef3b10bdc51aec097ef87420c29e284931c' }, "hello world!")), index.h("smoothly-app-room", { key: 'c37391f28d9154e5abecc775005d9252f2d4720d', path: "/redirect/nested" }, "this is a nested room")));
|
|
108
113
|
}
|
|
109
114
|
};
|
|
110
115
|
|
|
@@ -1533,6 +1538,7 @@ const SmoothlyAppRoom = class {
|
|
|
1533
1538
|
index.registerInstance(this, hostRef);
|
|
1534
1539
|
this.smoothlyRoomSelect = index.createEvent(this, "smoothlyRoomSelect", 7);
|
|
1535
1540
|
this.smoothlyRoomLoad = index.createEvent(this, "smoothlyRoomLoad", 7);
|
|
1541
|
+
this.smoothlyUrlChange = index.createEvent(this, "smoothlyUrlChange", 7);
|
|
1536
1542
|
this.label = undefined;
|
|
1537
1543
|
this.icon = undefined;
|
|
1538
1544
|
this.disabled = undefined;
|
|
@@ -1540,17 +1546,29 @@ const SmoothlyAppRoom = class {
|
|
|
1540
1546
|
this.selected = undefined;
|
|
1541
1547
|
this.content = undefined;
|
|
1542
1548
|
}
|
|
1549
|
+
componentDidRender() {
|
|
1550
|
+
this.selected && this.smoothlyUrlChange.emit(window.location.href);
|
|
1551
|
+
}
|
|
1543
1552
|
componentWillLoad() {
|
|
1544
1553
|
this.selected = (typeof this.path == "string" ? new URLPattern({ pathname: this.path }) : this.path).test(window.location);
|
|
1545
1554
|
this.smoothlyRoomLoad.emit({ selected: this.selected });
|
|
1555
|
+
this.selected && window.history.replaceState({ smoothlyPath: this.path }, "", window.location.href);
|
|
1546
1556
|
}
|
|
1547
1557
|
async getContent() {
|
|
1548
1558
|
return this.contentElement;
|
|
1549
1559
|
}
|
|
1550
1560
|
async setSelected(selected, options) {
|
|
1551
1561
|
this.selected = selected;
|
|
1552
|
-
if (selected)
|
|
1553
|
-
this.smoothlyRoomSelect.emit({ history: !!(options === null || options === void 0 ? void 0 : options.history) });
|
|
1562
|
+
if (selected) {
|
|
1563
|
+
this.smoothlyRoomSelect.emit({ history: !!(options === null || options === void 0 ? void 0 : options.history), query: this.query });
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
async setQuery(event) {
|
|
1567
|
+
if (event.detail.path == this.path && this.query != event.detail.query) {
|
|
1568
|
+
this.query = event.detail.query;
|
|
1569
|
+
window.history.pushState({ smoothlyPath: this.path, smoothlyQuery: this.query }, "", `${window.location.pathname}${this.query ? `?${this.query}` : ""}`);
|
|
1570
|
+
this.smoothlyUrlChange.emit(window.location.href);
|
|
1571
|
+
}
|
|
1554
1572
|
}
|
|
1555
1573
|
clickHandler(event) {
|
|
1556
1574
|
if (!event.metaKey && !event.ctrlKey && event.which != 2 && event.button != 1) {
|
|
@@ -1559,7 +1577,7 @@ const SmoothlyAppRoom = class {
|
|
|
1559
1577
|
}
|
|
1560
1578
|
}
|
|
1561
1579
|
render() {
|
|
1562
|
-
return (index.h(index.Host, { key: '
|
|
1580
|
+
return (index.h(index.Host, { key: 'c01b902eb148bb3744745e4456a38454d034a4fe' }, index.h("li", { key: 'b81aecbcee004c4c167543c238142cbcfa2fa2ff' }, index.h("a", { key: 'c4d8795213726c6b81be5d2ddc3a919ec7dd8da0', href: typeof this.path == "string" ? this.path : this.path.pathname, onClick: e => this.clickHandler(e) }, this.icon && index.h("smoothly-icon", { key: 'fcf8bdcd88811198d433afcb712da9a0f611c25d', name: this.icon }), this.label && index.h("span", { key: '479d63bf5bf9501e3774a9377642e1f58fe695a8', class: "label" }, this.label))), index.h("div", { key: '9ec4cb3fcad536d2aea82885efe1a2264f6b68ce', ref: e => (this.contentElement = e) }, this.content && index.h("smoothly-lazy", { key: 'a20c354a63b1765fb5097c8603902fd1537b9a23', content: this.content }), index.h("slot", { key: '49af8d2d6f4cef14c07f0ea3c966ac71883ad753' }))));
|
|
1563
1581
|
}
|
|
1564
1582
|
};
|
|
1565
1583
|
SmoothlyAppRoom.style = SmoothlyAppRoomStyle0;
|
|
@@ -8566,7 +8584,7 @@ const SmoothlyFormDemoPet = class {
|
|
|
8566
8584
|
return (index.h(index.Host, { key: 'c0ec0ee4aa7810158c6424e92e5803a802e2b6e8' }, index.h("h2", { key: '77fe9d95a8414ca451b44886f8fc9623f246c838' }, "Pet"), index.h("h3", { key: 'c5936689ee6e744d0d81f300b5ac9f6f9b453dde' }, "Value"), index.h("smoothly-form", { key: '497eeaf8bf99aaffefcd719ace68237a402ba1e5', looks: "border", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)), onSmoothlyFormInput: e => (this.value = Object.assign({}, e.detail)) }, index.h("smoothly-input", { key: '215951448fdcf2bf79c78cfec1ef66578ab57953', type: "text", name: "name.first" }, "Name"), index.h("smoothly-input", { key: 'a0613024cbe7c149e9542ef0e81a095354c2e5fc', type: "integer", name: "age" }, "Age (Years)"), index.h("smoothly-input-checkbox", { key: 'a69c3a5f0362aff5bc312ff2d9c68f360672e98a', name: "hasOwner", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
8567
8585
|
this.hasOwner = e.detail.hasOwner;
|
|
8568
8586
|
e.stopPropagation();
|
|
8569
|
-
} }, "Has Owner"), this.hasOwner && (index.h(index.Fragment, { key: 'fe43c2ba50ba74b548dd1ecd5df40c2f4a4bd20d' }, index.h("smoothly-input", { key: '4524ae16a0fe3fd88e91378eee47354f2308b8a6', type: "text", name: "owner.firstName", value: this.owner.firstName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { firstName: e.detail["owner.firstName"] })) }, "Owner First Name"), index.h("smoothly-input", { key: '4d5b5cf8641bd5a115a67d1b1bd180d276968058', type: "text", name: "owner.lastName", value: this.owner.lastName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { lastName: e.detail["owner.lastName"] })) }, "Owner Last Name"), index.h("smoothly-input-file", { key: '57a55a8c4fb520848c6b2b7e0514dd92160b4e3a', name: "owner.picture" }, index.h("span", { key: '53cb2e993c58fb9c136a27ba9202584a0d69726f', slot: "label" }, "Owner picture")), index.h("smoothly-input-date", { key: '182971414e6da4add9cab294a19010b5d5601357', name: "owner.birthday", value: this.owner.birthday, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { birthday: e.detail["owner.birthday"] })) }, "Owner birthday"), index.h("smoothly-input-date-range", { key: 'b5477201de188a46836c7a4b499110427b6f3fe5', name: "owner.ownedRange", start: (_a = this.owner.ownedRange) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.owner.ownedRange) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { ownedRange: e.detail["owner.ownedRange"] })) }, "Owner ownedRange"), index.h("smoothly-input-range", { key: 'cc68bf9ea549e8320ea6265f9c9a5440da3b02b6', name: "owner.height", step: 1, max: 250, value: this.owner.height, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { height: e.detail["owner.height"] })) }, "Owner's Height"), index.h("smoothly-input-select", { key: '2332e386e840739913d14c500df577b9b21a151c', name: "owner.favoriteHat" }, index.h("span", { key: 'dd4b22cb403d57c3fc9502366bde70ab01a90954', slot: "label" }, "Owner's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index$1) => (index.h("smoothly-item", { value: value, key: index$1, selected: this.owner.favoriteHat == value }, value)))), index.h("smoothly-input-color", { key: '14ccc18bf8ca19974a40a6ad76467c642cf8cf39', name: "owner.favoriteColor", value: this.owner.favoriteColor ? Scrollable.RGB.toHex(this.owner.favoriteColor) : undefined, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoriteColor: e.detail["owner.favoriteColor"] })) }, "Owner's Favorite Color"), index.h("smoothly-input-radio", { key: '362200b79b9ea88903e049fd651f78ba4d257e09', name: "owner.favoritePizza", value: this.owner.favoritePizza, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoritePizza: e.detail["owner.favoritePizza"] })) }, index.h("span", { key: '1d85e0aa829c40ab6ad8de3ecfc24c4f30cfb3bf', slot: "label" }, "Owner's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index$1) => (index.h("smoothly-input-radio-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-checkbox", { key: '6354bf7db83fa32bde94157bf0a884ac971318a3', name: "owner.hasPet", checked: this.owner.hasPet, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { hasPet: e.detail["owner.hasPet"] })) }, "Has Pet"))), index.h("smoothly-summary", { key: '55f1d4246ccea13d24b7c898a8c024fb30a5bef9' }, index.h("span", { key: 'adfef87fab010c21df4f32f0586c029b0a67394c', slot: "summary" }, "Summary"), index.h("div", { key: 'a366c34468bd7374724e9865f6aa8ba25f7f5ebc', slot: "content" }, index.h("smoothly-input", { key: '5aa1dc5924ea9cfe6c0eb4b2dc8520794e3b58f8', type: "price", name: "summary.price", currency: "EUR" }, "Summary Price"), index.h("smoothly-input-file", { key: 'b56d9dcaf7594f7c97587f3e17a151bb422d0f10', name: "summary.picture" }, index.h("span", { key: 'd7babb16763f6195e966bc7a22fdfd6db3a238cf', slot: "label" }, "Summary picture")), index.h("smoothly-input-date", { key: '1355706ac2b748d5e9551e055d0a361727453094', name: "summary.birthday" }, "Summary birthday"), index.h("smoothly-input-date-range", { key: 'fdb4a2281657eb1a5764b3dced9aa16d286dccf5', name: "summary.ownedRange" }, "Summary ownedRange"), index.h("smoothly-input-range", { key: '7287562ae0ab08cdbd7f192c66a48fc218c4032d', name: "summary.height", label: "Height" }), index.h("smoothly-input-select", { key: 'b289b3663fcdda7cda1d8f0391ddc57fa23810ab', name: "summary.favoriteHat" }, index.h("span", { key: '55f730bdaf874ba82fc1613917d555193c38e27f', slot: "label" }, "Summary's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index$1) => (index.h("smoothly-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-month", { key: '17bc8294d4721a3deff6318e17081a846f995ce3', name: "summary.month" }, index.h("span", { key: '089e71be8aa8d09035cf2c09a71ff4b01508ad0d', slot: "month-label" }, "Summary month")), index.h("smoothly-input-color", { key: '37848038508eb45c2b38f7fe9a7c1cc65287408c', name: "summary.color" }, "Summary Color"), index.h("smoothly-input-radio", { key: '16d9bdc62e89356fcf384886ededdede1979d2cb', name: "summary.favoritePizza" }, index.h("span", { key: '4c6f64e35f193fe249ff889aee2c02ec3cec29ba', slot: "label" }, "Summary's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index$1) => (index.h("smoothly-input-radio-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-checkbox", { key: '7b57bb355921a6f464c3f363104c5846b8579931', name: "summary.hasPet" }, "Has Pet"))), index.h("smoothly-tabs", { key: '
|
|
8587
|
+
} }, "Has Owner"), this.hasOwner && (index.h(index.Fragment, { key: 'fe43c2ba50ba74b548dd1ecd5df40c2f4a4bd20d' }, index.h("smoothly-input", { key: '4524ae16a0fe3fd88e91378eee47354f2308b8a6', type: "text", name: "owner.firstName", value: this.owner.firstName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { firstName: e.detail["owner.firstName"] })) }, "Owner First Name"), index.h("smoothly-input", { key: '4d5b5cf8641bd5a115a67d1b1bd180d276968058', type: "text", name: "owner.lastName", value: this.owner.lastName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { lastName: e.detail["owner.lastName"] })) }, "Owner Last Name"), index.h("smoothly-input-file", { key: '57a55a8c4fb520848c6b2b7e0514dd92160b4e3a', name: "owner.picture" }, index.h("span", { key: '53cb2e993c58fb9c136a27ba9202584a0d69726f', slot: "label" }, "Owner picture")), index.h("smoothly-input-date", { key: '182971414e6da4add9cab294a19010b5d5601357', name: "owner.birthday", value: this.owner.birthday, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { birthday: e.detail["owner.birthday"] })) }, "Owner birthday"), index.h("smoothly-input-date-range", { key: 'b5477201de188a46836c7a4b499110427b6f3fe5', name: "owner.ownedRange", start: (_a = this.owner.ownedRange) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.owner.ownedRange) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { ownedRange: e.detail["owner.ownedRange"] })) }, "Owner ownedRange"), index.h("smoothly-input-range", { key: 'cc68bf9ea549e8320ea6265f9c9a5440da3b02b6', name: "owner.height", step: 1, max: 250, value: this.owner.height, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { height: e.detail["owner.height"] })) }, "Owner's Height"), index.h("smoothly-input-select", { key: '2332e386e840739913d14c500df577b9b21a151c', name: "owner.favoriteHat" }, index.h("span", { key: 'dd4b22cb403d57c3fc9502366bde70ab01a90954', slot: "label" }, "Owner's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index$1) => (index.h("smoothly-item", { value: value, key: index$1, selected: this.owner.favoriteHat == value }, value)))), index.h("smoothly-input-color", { key: '14ccc18bf8ca19974a40a6ad76467c642cf8cf39', name: "owner.favoriteColor", value: this.owner.favoriteColor ? Scrollable.RGB.toHex(this.owner.favoriteColor) : undefined, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoriteColor: e.detail["owner.favoriteColor"] })) }, "Owner's Favorite Color"), index.h("smoothly-input-radio", { key: '362200b79b9ea88903e049fd651f78ba4d257e09', name: "owner.favoritePizza", value: this.owner.favoritePizza, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoritePizza: e.detail["owner.favoritePizza"] })) }, index.h("span", { key: '1d85e0aa829c40ab6ad8de3ecfc24c4f30cfb3bf', slot: "label" }, "Owner's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index$1) => (index.h("smoothly-input-radio-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-checkbox", { key: '6354bf7db83fa32bde94157bf0a884ac971318a3', name: "owner.hasPet", checked: this.owner.hasPet, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { hasPet: e.detail["owner.hasPet"] })) }, "Has Pet"))), index.h("smoothly-summary", { key: '55f1d4246ccea13d24b7c898a8c024fb30a5bef9' }, index.h("span", { key: 'adfef87fab010c21df4f32f0586c029b0a67394c', slot: "summary" }, "Summary"), index.h("div", { key: 'a366c34468bd7374724e9865f6aa8ba25f7f5ebc', slot: "content" }, index.h("smoothly-input", { key: '5aa1dc5924ea9cfe6c0eb4b2dc8520794e3b58f8', type: "price", name: "summary.price", currency: "EUR" }, "Summary Price"), index.h("smoothly-input-file", { key: 'b56d9dcaf7594f7c97587f3e17a151bb422d0f10', name: "summary.picture" }, index.h("span", { key: 'd7babb16763f6195e966bc7a22fdfd6db3a238cf', slot: "label" }, "Summary picture")), index.h("smoothly-input-date", { key: '1355706ac2b748d5e9551e055d0a361727453094', name: "summary.birthday" }, "Summary birthday"), index.h("smoothly-input-date-range", { key: 'fdb4a2281657eb1a5764b3dced9aa16d286dccf5', name: "summary.ownedRange" }, "Summary ownedRange"), index.h("smoothly-input-range", { key: '7287562ae0ab08cdbd7f192c66a48fc218c4032d', name: "summary.height", label: "Height" }), index.h("smoothly-input-select", { key: 'b289b3663fcdda7cda1d8f0391ddc57fa23810ab', name: "summary.favoriteHat" }, index.h("span", { key: '55f730bdaf874ba82fc1613917d555193c38e27f', slot: "label" }, "Summary's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index$1) => (index.h("smoothly-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-month", { key: '17bc8294d4721a3deff6318e17081a846f995ce3', name: "summary.month" }, index.h("span", { key: '089e71be8aa8d09035cf2c09a71ff4b01508ad0d', slot: "month-label" }, "Summary month")), index.h("smoothly-input-color", { key: '37848038508eb45c2b38f7fe9a7c1cc65287408c', name: "summary.color" }, "Summary Color"), index.h("smoothly-input-radio", { key: '16d9bdc62e89356fcf384886ededdede1979d2cb', name: "summary.favoritePizza" }, index.h("span", { key: '4c6f64e35f193fe249ff889aee2c02ec3cec29ba', slot: "label" }, "Summary's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index$1) => (index.h("smoothly-input-radio-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-checkbox", { key: '7b57bb355921a6f464c3f363104c5846b8579931', name: "summary.hasPet" }, "Has Pet"))), index.h("smoothly-tabs", { key: 'a85c7809d3c9048a07ecccd580f4a546dfc04d1a' }, index.h("smoothly-tab", { key: '4c5a0e043eb1bcbd05444fc56c62a3933f0887fb', label: "Dog", name: "dog" }, index.h("smoothly-input", { key: 'c1f8fbfe4527410de37fefd3305c7e5d069de1f8', type: "text", name: "dog.breed" }, "Breed"), index.h("smoothly-input-file", { key: '7084e2cdbc64dbe5e8bf6b60df1a0303ce9c4371', name: "dog.picture" }, index.h("span", { key: 'b8dc5a71d0ee39cb9d1c19a76a6cdf07ea52a676', slot: "label" }, "Dog picture")), index.h("smoothly-input-date-time", { key: '2fff25fd417629f078a85fd2176e547c2337b3e1', name: "dog.lastWalk" }, "Time of last walk"), index.h("smoothly-input-date", { key: '7b32af0014600703493128ff1e4124469f50df07', name: "dog.birthday" }, "Dog birthday"), index.h("smoothly-input-date-range", { key: '69535bd7615551a57b47b27e39d2e8615f0a6222', name: "dog.dateRange" }, "Dog date range"), index.h("smoothly-input-select", { key: '152eb4018a287b1f2822157077e32a66475b51ef', name: "dog.favoriteHat" }, index.h("span", { key: '7cf44d963025a275885fc44198b9305b9ffb8996', slot: "label" }, "Dog's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index$1) => (index.h("smoothly-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-color", { key: '93dc6b5a874e7f880ec042a4fe1aefca9427358a', name: "dog.favoriteColor" }, "Dog's Favorite Color"), index.h("smoothly-input-radio", { key: 'deb4f70a97477497601a0660370d4bfce3db02a3', name: "dog.favoritePizza" }, index.h("span", { key: 'dc73775574ce1089a07b52355cb97a5a2410c1eb', slot: "label" }, "Dog's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index$1) => (index.h("smoothly-input-radio-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-checkbox", { key: 'ee958f71bb2255c5983054b67ea384086cfec9fb', name: "dog.hasPet" }, "Has Pet")), index.h("smoothly-tab", { key: 'a9f584def1b3eb1059d1fd239b20d1668f7b2525', label: "Cat", name: "cat", open: true }, index.h("smoothly-input", { key: '830d94844a244117445159c51b395047b70c7a76', name: "cat.favoriteFood" }, "Favorite Food"))), index.h("smoothly-input-submit", { key: '0b6a59b663a12fdcdd18971881ff566e07b81412', size: "icon", slot: "submit", color: "success", fill: "solid" })), index.h("smoothly-display", { key: '38df2a84ca804b68208c1d4d95abc43a07b71c40', type: "json", value: this.value })));
|
|
8570
8588
|
}
|
|
8571
8589
|
};
|
|
8572
8590
|
SmoothlyFormDemoPet.style = SmoothlyFormDemoPetStyle0;
|
|
@@ -9924,19 +9942,20 @@ const SmoothlyInputDemoStyle0 = styleCss$N;
|
|
|
9924
9942
|
const SmoothlyInputDemo = class {
|
|
9925
9943
|
constructor(hostRef) {
|
|
9926
9944
|
index.registerInstance(this, hostRef);
|
|
9945
|
+
this.smoothlyUrlUpdate = index.createEvent(this, "smoothlyUrlUpdate", 7);
|
|
9927
9946
|
this.numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9];
|
|
9928
9947
|
this.duration = { hours: 8 };
|
|
9929
9948
|
this.alphanumeric = "!@##";
|
|
9930
9949
|
}
|
|
9931
9950
|
render() {
|
|
9932
|
-
return (index.h(index.Host, { key: '
|
|
9951
|
+
return (index.h(index.Host, { key: 'dc772956e1f625959b0dbdf632c704c9d3bc61d8' }, index.h("smoothly-input-demo-standard", { key: 'edef69da9baecbdb48275aa9a4c40aab465a333c' }), index.h("div", { key: '655aa026ac8001e76854a23a65c8d62b1fb9de2f', class: "inputs" }, index.h("h2", { key: 'a57d0525257783bd7a7e8bff141b600584a61e65' }, "Calendar"), index.h("smoothly-input-date", { key: '9ae404463afe2e48c4260a5754db212ef02a9ad2', name: "some-date" }, "Calendar"), index.h("smoothly-input-date-time", { key: '3ab859e1e5d608776f701de8cfe994299b126662', name: "someDateTime", value: TimeZone.DateTime.now() }, "DateTime"), index.h("h2", { key: '85bbb5976d0572b2f7d851e5473e097db9be3905' }, "Date Range"), index.h("smoothly-input-date-range", { key: '7d112ae708317d2b986e494cd3599e574200c4e2', name: "testing", start: TimeZone.Date.now(), end: TimeZone.Date.nextMonth(TimeZone.Date.now()), min: "2021-10-01", max: "2025-01-31" }), index.h("smoothly-input-date-range", { key: '4781ea63abfa9de98e36e600da1530a4dafd794f', name: "testing", start: TimeZone.Date.now(), end: TimeZone.Date.nextMonth(TimeZone.Date.now()), min: "2021-10-10", max: "2024-12-30" }, index.h("smoothly-input-reset", { key: 'e5e26fc4c903e9a747be043f5918f4869d062dcd', slot: "end", size: "icon" })), index.h("smoothly-input-date-range", { key: '8a7b2f362e1cc5aff2b409b1c878f25e80e33712', looks: "grid", start: TimeZone.Date.now(), end: TimeZone.Date.nextMonth(TimeZone.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
9933
9952
|
"--smoothly-input-border-radius": "0.5rem",
|
|
9934
|
-
} }, index.h("smoothly-input-clear", { key: '
|
|
9953
|
+
} }, index.h("smoothly-input-clear", { key: '40876fc952cfb87eba4f3cc5856adaa0837bd7c9', slot: "end", size: "icon" })), index.h("h2", { key: '91d150b0d2c01e628850a90a75bf7f631db8a131' }, "Date"), index.h("smoothly-input-date", { key: '36b5d0dfcadf63dd69a47a4ad6d9c4865074e52b' }, "Date"), index.h("smoothly-input-date", { key: 'cfd538953fbbf1cfbec1ce8401c9b25d2bea2aec', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), index.h("smoothly-input-date", { key: '2c11695112bfca7234684cfc08dad584c6240c67', value: "2021-10-28" }, "Date", index.h("smoothly-input-reset", { key: '19a6a0507dc6b56a5b6db02d06d5ab50b02c065e', slot: "end", size: "icon" })), index.h("smoothly-input-date", { key: 'ee8d58a29038445ea120182632fe2e2cd4d02d1c', value: "2021-10-28" }, "Date", index.h("smoothly-input-clear", { key: '955f78e5f9c2c3b2dbc81164fefe8de3d1c8338e', slot: "end", size: "icon" })), index.h("h2", { key: '3d194c83ef43959b71c19b2b91fad48027df2121' }, "Select"), index.h("div", { key: '2a49f2d83fbf2d786b674d429b3611c6369f83d4', class: "select-div" }, index.h("smoothly-input-select", { key: 'fb702c0e1b4cb2b7235327447877f61a32e03e11', name: "select-dessert", looks: "border" }, index.h("label", { key: 'f865e5ca262aaaa74c9b7854d35ec30b74c2a4ee', slot: "label" }, "Select with clear button"), index.h("smoothly-item", { key: '7b234b9093f2881f54d6802b8277fb0b1ba8aa78', value: "1" }, "Ice cream"), index.h("smoothly-item", { key: 'e52e2752a0024ed862449af0f51937d7ad40e647', value: "2" }, "Sponge cake"), index.h("smoothly-item", { key: '85fd1a7d83ffb18b91266696cbf6046151ac7874', value: "3", disabled: true }, "Disabled Item"), index.h("smoothly-item", { key: '1b58edf37d0eb4a3fd7e52ce483aba973a94d94d', value: "4" }, "Cookie"), index.h("smoothly-item", { key: 'e8fdad15e48b263f71741615e7e6cc360f24a03d', value: "5" }, "Croissant"), index.h("smoothly-item", { key: '8b092782ee1a6bc4571b586bc5678fddf8e66d8a', value: "6" }, "Chocolate fondue"), index.h("smoothly-input-clear", { key: '888e048c1b49a2cad804118df805060de607a190', size: "icon", slot: "end" })), index.h("smoothly-input-select", { key: 'ace7e817551a24af4d985841287d5afc280c7eea', multiple: true, name: "select-dessert-multiple", looks: "border" }, index.h("label", { key: '9f10f9d1999254d6b2e22cc7dd2c7bc0afc12ef0', slot: "label" }, "Select multiple with reset button"), index.h("smoothly-item", { key: 'aae860f288bec61ccca91cd13a7aca1244254fd9', value: "ice cream" }, "Ice cream"), index.h("smoothly-item", { key: '481af659ce756452d4310a95233da88a9b33c8e2', value: "sponge cake" }, "Sponge cake"), index.h("smoothly-item", { key: 'aeff7e848cd66d8b03003890b29983a1110bb68f', selected: true, value: "cookie" }, "Cookie"), index.h("smoothly-item", { key: 'a77c8890402ee441530a07282dda51ce0ae3b704', value: "croissant" }, "Croissant"), index.h("smoothly-item", { key: '3ec331cc0214a8f1489563b81f31277d9d39c549', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), index.h("smoothly-input-reset", { key: '1ac87dbbb3399e85d9328ebdddc40bb298bc8cfd', size: "icon", slot: "end" })), index.h("smoothly-input-select", { key: '5d55d715983adf821a7b98486958f0ede0c98251', name: "spirit-animals", looks: "border", mutable: true }, index.h("label", { key: '971bc07c388e93ffa2d8d5b00e3072398d37011f', slot: "label" }, "Select or add new options"), index.h("smoothly-item", { key: '377526c5ba417f590efb43a6547bbf57802c64c9', value: "manatee" }, "Manatee"), index.h("smoothly-item", { key: '526138c399d1fd581b2fb757fb2952ba57614189', selected: true, value: "cthulu" }, "Cthulu")), index.h("smoothly-input-select", { key: '2a3c4b1a00abb18a0ccff769176972c6ff7ab269', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: '2f0205ef460e4000d221ca7fd8a726ed94a90bac', value: "folder", selected: true }, index.h("smoothly-icon", { key: 'e19e37fe910fd182ba8fd109724d8bac035f325c', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: '966af781d3fc009dfe2f97c147a0419f87fbb155', value: "camera" }, index.h("smoothly-icon", { key: 'e7d3318ee25dd3cc22b0caa6869f8cfaa2f88fe8', size: "small", name: "camera-outline" }))), index.h("smoothly-input-select", { key: '155fcf02a82c5980e759ae0a862fbb365942d3d4', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: '0b100e1351a7d57ce61991e805a34fbdde255400', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
9935
9954
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
9936
|
-
.map(char => (index.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index.h("smoothly-input-select", { key: '
|
|
9955
|
+
.map(char => (index.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index.h("smoothly-input-select", { key: 'daf0303a36f1f19570165216bec386998e16fc73', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: '6f450a1a1faddf94932214871476b7c684c3e9e9', slot: "label" }, "Month multiple select"), index.h("smoothly-item", { key: 'b03c5531d119619c3f952c3e6f1f14914846f6b2', value: "1" }, "January"), index.h("smoothly-item", { key: '6dfef18539f6fdbeb22b6c0f19b84833b5edf528', value: "2" }, "February"), index.h("smoothly-item", { key: '458c5c170c5f75ae70432e9157cac61b348a4209', value: "3" }, "March"), index.h("smoothly-item", { key: '2ae5cfca6c4c49d733da4f8812e7349d93571601', value: "4" }, "April"), index.h("smoothly-item", { key: '340c0879a308fdf73ec584965f88ca6de023cd68', value: "5" }, "May"), index.h("smoothly-item", { key: '46fa80e9846967bcaa737db8356736f15130a66b', value: "6" }, "June"), index.h("smoothly-item", { key: '150ddcbc43eaf7c0a573826adc4e01ed94b1c3ab', value: "7" }, "July"), index.h("smoothly-item", { key: 'cb0f6f4c8c56d81c9a51a37826784543b072d761', value: "8" }, "August"), index.h("smoothly-item", { key: '2a0c9e121779d7709a68fc5fd7a2813ff44422b1', value: "9" }, "September"), index.h("smoothly-item", { key: 'a5cb03158bf44944ce4522fcaf6c5af2fa5aaf01', value: "10" }, "October"), index.h("smoothly-item", { key: 'f06e47b58eb936609b21ee50c5b92db4776acb1a', value: "11" }, "November"), index.h("smoothly-item", { key: 'e7e2e39a47b90c9b798b43016eeaa885b88c9ce2', value: "12" }, "December")), index.h("div", { key: '9316ce7ec9b14a29e4488ad6498e8480f1a418f7', class: "select-div-row" }, index.h("smoothly-input-select", { key: '42bd283b808d51bff5fb091c4ff608e6b9975579', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: 'a53725eebc509057b63bc899bc75e4911d6cb1c0', value: "folder", selected: true }, index.h("smoothly-icon", { key: '6066704417b72a2809d4e1cef1e7750aa5a8b2c4', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: 'f5c3d502c1083bf5d20121fab93dcc6ca242635b', value: "camera" }, index.h("smoothly-icon", { key: '57cb3c8a72fa8d9b880ae4540e29cc7ca7990ed6', size: "small", name: "camera-outline" })), index.h("smoothly-item", { key: '72b1680009f76bd8940afcecfc1d077a3eb730dd', value: "boat" }, index.h("smoothly-icon", { key: 'f5b91b80b65bffeb1d38de8d3f3f98d104035298', size: "small", name: "boat-outline" }))), index.h("smoothly-input-select", { key: '07e3f7fcfc69771dcde892e3b439413eea3a6f7e', name: "select-number", clearable: false }, this.numbers.map(number => (index.h("smoothly-item", { value: "number", selected: number === 3 }, number)))), index.h("smoothly-input", { key: '0543ebf42bf4387c6330cf71be57b87aec7c255d', name: "name", value: "Sten Qvist" }, "Name"))), index.h("h2", { key: '8f44c098862d5627057623609d5db384e9f7af69' }, "Duration"), index.h("smoothly-input", { key: 'affc7e09e1463774b387af61f2f2d4fefc51428d', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => (this.duration = e.detail.duration) }, "Duration"), index.h("smoothly-input", { key: '9c3710b1de1153bc1733946a1952fd6a140a9f9f', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
9937
9956
|
const duration = e.detail.duration;
|
|
9938
9957
|
this.duration = duration;
|
|
9939
|
-
} }, "Duration"), index.h("h2", { key: '
|
|
9958
|
+
} }, "Duration"), index.h("h2", { key: 'f6a6a1a0b9597e5d55e93c94928856b9cecb9ef8' }, "Integer with Min/Max"), index.h("smoothly-input", { key: '420aa29784b8154e93cfb52762818fd77ecad218', name: "days", type: "integer", min: 0, max: 365 }, "Days per year (0-365)"), index.h("smoothly-input", { key: '3f0badd2885d5c776c26505d52fcf798e0e8c57a', name: "hour", type: "integer", min: 0, max: 23 }, "Hours per day (0-23)"), index.h("smoothly-input", { key: '757e50d8c6ea2ec8fdfe40fa7aa5e737758764c5', name: "minute", type: "integer", min: 0, max: 59 }, "Minutes per hour (0-59)"), index.h("smoothly-input", { key: '44f821ce7135e1798fe09300ae99ecc8e59b30d8', name: "minute", type: "integer", min: 18, max: 120 }, "Age (18-120)"), index.h("h2", { key: 'f4443853bc03153e477a5a6195b77c5c8cb01fcd' }, "Invalid text with warning icon and tooltip"), index.h("smoothly-input", { key: 'f312b5c2c542b3daec4924252c21bf6593a11759', copyable: true, name: "alphanumeric", invalid: !/^[a-zA-Z0-9]+$/.test(this.alphanumeric), errorMessage: "Only alphanumeric allowed", value: this.alphanumeric, onSmoothlyInput: e => (this.alphanumeric = e.detail.alphanumeric) }, "Alphanumeric"), index.h("h2", { key: '1af25a52cafb737c2072e6851b290ed064f93ad3' }, "Identifiers"), index.h("smoothly-input", { key: '67acad54759aefb90c860f74a117a2ebb70dfcf0', type: "identifier-code" }, "Code"), index.h("smoothly-input", { key: '3761f5ea87d64db41822cbf4b3cd92f6ab1dec0b', type: "identifier-attribute" }, "Attribute"), index.h("smoothly-input", { key: '6e0799be15b8666182529b1a8a6f4976b3bb21f1', type: "identifier-snake" }, "Snake"), index.h("smoothly-input", { key: 'ca714dcdcac751f89b38bf152994a77fffc4c03c', type: "identifier-pascal" }, "Pascal"), index.h("smoothly-input", { key: 'f40f523915091cecb040f607a546cd785fa1318d', type: "identifier-camel" }, "Camel"), index.h("h2", { key: 'ada8b1c4525095a7ad25085910418c8e2506d5a1' }, "Input Alternatives"), index.h("smoothly-input", { key: '9f89ed70e75c9ebe808f30dc3a4c6e58f8e307a3', type: "text", name: "name.last" }, index.h("smoothly-icon", { key: 'aa6926f9e75557113c22039ebbc46b0f06085195', name: "checkmark-circle", slot: "start" }), "First Name"), index.h("smoothly-input", { key: '259630f45dfb6be3567d9ca0425d460118e37699', type: "text", name: "name.first" }, "Last Name", index.h("smoothly-icon", { key: 'e7bf41260eaf6148dd85a8b95aaa5cb6f2ea53c0', name: "checkmark-circle", slot: "end" })), index.h("smoothly-input", { key: 'b950e4adaaaab5d7c4425f2b34b0197ddbaa1c2f', type: "text", name: "name.first", placeholder: "Smith" }, "Last Name", index.h("smoothly-icon", { key: '15ff90d7f789dcbdb1ef8d4e534dc0c844cb7355', name: "checkmark-circle", slot: "end" })), index.h("smoothly-input", { key: 'ee8d06b702e0cf4247ec06be4422aaeeeb17efbd', placeholder: "test" }), index.h("smoothly-input-submit", { key: 'ad44d5ce10bebc485500105f17c92b4e6bab2a70', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), index.h("h4", { key: '74f2ae514bfa070b333d1ef228695d5d4ea5d4ec' }, "Smoothly checkboxes"), index.h("div", { key: '8fe5f5a2a4dff3be0a22b621891fde950cc2fa5e', class: "checkbox-group" }, index.h("smoothly-input-checkbox", { key: '6792abab97e426f0d87a4e9f5544ac571166e64c', disabled: true, name: "first-checkbox" }, index.h("smoothly-icon", { key: '5062932ea8c7b9d41640b723bd26b500d613e7f2', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), index.h("smoothly-input-checkbox", { key: '1a8d40342d541b74e397be702dcdf0551693c3f8', name: "second-checkbox", checked: true }, index.h("smoothly-icon", { key: '68da1debda21d1b536fd3c5304282592b309c5b8', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", index.h("smoothly-input-clear", { key: '142a4acd0e9482523888f399bda945a7dd41b235', size: "icon", slot: "end" })), index.h("smoothly-input-checkbox", { key: 'dc0c4584e260cd3224786294462df103efaf52dd', name: "third-checkbox" }, "3rd")), index.h("h4", { key: 'a4064bc81679eca623f40aa2bd57ff26437136ba' }, "Smoothly Radio Buttons"), index.h("smoothly-input-radio", { key: 'cfefc652ec88d925740be8416d8b00a908dfa370', clearable: true, name: "radioFirstInput" }, index.h("smoothly-icon", { key: 'ef9db154cdf3c02b1218e39835067048bfd2c854', name: "checkmark-circle", slot: "start" }), index.h("label", { key: '3222cb3fe56a3cfd7d7ebf216defdb1871deaba2', slot: "label" }, "Clearable"), index.h("smoothly-input-radio-item", { key: 'eabb2790afa9b4dd80b1efb5c6bcc849f16f4bb4', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: 'c2a0866ad2e4f90d316cb448a502c3b762ef6e10', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: 'ee9f021e1793c3d91f7343bf6876711cce1b4172', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: '3380a6b96df58b1c7ab5287e95ce7ca727c3afee', size: "icon", slot: "end" })), index.h("smoothly-input-radio", { key: '7e61dbc0f45bdbc871088fac61deb6fd2cdb1636', name: "radioSecondInput" }, index.h("label", { key: 'bfff33e8ed886be8905d59e6d9e49a3da88c93cd', slot: "label" }, "Not clearable"), index.h("smoothly-input-radio-item", { key: '9bc2ae73255574968c9ccf63b4e2c8d21cff24f3', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '7e000f013f8d77110e6b2564163af3f3e3fe780d', value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: 'dc4e385f7ca1b9830bc3abb98849bee82d8830ca', value: "third" }, "Label 3"), index.h("smoothly-input-radio-item", { key: 'e3656fd7206c5a3e50be82122b3f5163b2b5744e', value: "fourth" }, "Label 4"), index.h("smoothly-input-radio-item", { key: '5e7038dff30c505611a82e5ca099b28046c027d8', value: "fifth" }, "Label 5"), index.h("smoothly-input-radio-item", { key: '5729ae1b24f03034a9690b72d1409686e589c74d', value: "sixth" }, "Label 6")), index.h("smoothly-input-range-demo", { key: 'cc4e8c002875fa3ec345e9a5033d2f253e0f51bf' }), index.h("smoothly-input-color-demo", { key: '533fe19ff35546b6a778428b1a3d997e6c705c46' }), index.h("smoothly-input-price-demo", { key: '839b6dffa9f397ff0b5dd76431fbdaf209282817' }), index.h("smoothly-back-to-top", { key: 'e1c8ee3ea9a5bea1984714b889dcd8645ff0535f' }))));
|
|
9940
9959
|
}
|
|
9941
9960
|
};
|
|
9942
9961
|
SmoothlyInputDemo.style = SmoothlyInputDemoStyle0;
|