smoothly 1.8.0 → 1.10.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_99.cjs.entry.js +86 -38
- package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/components/input/Input.js +9 -4
- package/dist/collection/components/input/Input.js.map +1 -1
- package/dist/collection/components/input/checkbox/index.js +7 -1
- package/dist/collection/components/input/checkbox/index.js.map +1 -1
- package/dist/collection/components/input/color/index.js +8 -2
- package/dist/collection/components/input/color/index.js.map +1 -1
- package/dist/collection/components/input/date/index.js +9 -3
- package/dist/collection/components/input/date/index.js.map +1 -1
- package/dist/collection/components/input/date/range/index.js +8 -2
- package/dist/collection/components/input/date/range/index.js.map +1 -1
- package/dist/collection/components/input/date/time/index.js +11 -5
- package/dist/collection/components/input/date/time/index.js.map +1 -1
- package/dist/collection/components/input/file/index.js +7 -1
- package/dist/collection/components/input/file/index.js.map +1 -1
- package/dist/collection/components/input/index.js +8 -2
- package/dist/collection/components/input/index.js.map +1 -1
- package/dist/collection/components/input/month/index.js +8 -2
- package/dist/collection/components/input/month/index.js.map +1 -1
- package/dist/collection/components/input/radio/index.js +7 -1
- package/dist/collection/components/input/radio/index.js.map +1 -1
- package/dist/collection/components/input/range/index.js +10 -4
- package/dist/collection/components/input/range/index.js.map +1 -1
- package/dist/collection/components/input/select/index.js +9 -3
- package/dist/collection/components/input/select/index.js.map +1 -1
- package/dist/collection/components/tabs/demo/index.js +1 -1
- package/dist/collection/components/tabs/demo/index.js.map +1 -1
- package/dist/collection/components/tabs/tab/index.js +37 -10
- package/dist/collection/components/tabs/tab/index.js.map +1 -1
- package/dist/collection/components/tabs/tab/style.css +20 -2
- package/dist/components/{p-423c8468.js → p-01d789f2.js} +2 -2
- package/dist/components/{p-423c8468.js.map → p-01d789f2.js.map} +1 -1
- package/dist/components/{p-b2d6afb6.js → p-049c7099.js} +7 -7
- package/dist/components/{p-b2d6afb6.js.map → p-049c7099.js.map} +1 -1
- package/dist/components/{p-75554697.js → p-0beb3680.js} +4 -4
- package/dist/components/{p-75554697.js.map → p-0beb3680.js.map} +1 -1
- package/dist/components/{p-fbb3a2be.js → p-1612b22e.js} +8 -3
- package/dist/components/p-1612b22e.js.map +1 -0
- package/dist/components/{p-3a0b5aba.js → p-1980b9bf.js} +6 -6
- package/dist/components/{p-3a0b5aba.js.map → p-1980b9bf.js.map} +1 -1
- package/dist/components/{p-43adf18b.js → p-1a5324fc.js} +11 -6
- package/dist/components/p-1a5324fc.js.map +1 -0
- package/dist/components/{p-d647b460.js → p-2005022f.js} +12 -7
- package/dist/components/p-2005022f.js.map +1 -0
- package/dist/components/{p-9a477112.js → p-270ef8fb.js} +3 -3
- package/dist/components/{p-9a477112.js.map → p-270ef8fb.js.map} +1 -1
- package/dist/components/{p-898eafc0.js → p-349667be.js} +3 -3
- package/dist/components/{p-898eafc0.js.map → p-349667be.js.map} +1 -1
- package/dist/components/{p-13db92d0.js → p-3b0ee07b.js} +3 -3
- package/dist/components/{p-13db92d0.js.map → p-3b0ee07b.js.map} +1 -1
- package/dist/components/{p-1cf5f8a9.js → p-3dfdf752.js} +8 -8
- package/dist/components/{p-1cf5f8a9.js.map → p-3dfdf752.js.map} +1 -1
- package/dist/components/{p-60edd970.js → p-42d06264.js} +7 -7
- package/dist/components/{p-60edd970.js.map → p-42d06264.js.map} +1 -1
- package/dist/components/{p-8bb36a1a.js → p-4cef9eb1.js} +6 -6
- package/dist/components/{p-8bb36a1a.js.map → p-4cef9eb1.js.map} +1 -1
- package/dist/components/{p-92ee752f.js → p-4fae1791.js} +4 -4
- package/dist/components/{p-92ee752f.js.map → p-4fae1791.js.map} +1 -1
- package/dist/components/{p-ec334d20.js → p-5567c34a.js} +16 -16
- package/dist/components/{p-ec334d20.js.map → p-5567c34a.js.map} +1 -1
- package/dist/components/{p-3e843b88.js → p-586ea8d4.js} +2 -2
- package/dist/components/{p-3e843b88.js.map → p-586ea8d4.js.map} +1 -1
- package/dist/components/{p-4ff273d6.js → p-5a3a3df5.js} +2 -2
- package/dist/components/{p-4ff273d6.js.map → p-5a3a3df5.js.map} +1 -1
- package/dist/components/{p-192be1a4.js → p-5c955337.js} +20 -20
- package/dist/components/{p-192be1a4.js.map → p-5c955337.js.map} +1 -1
- package/dist/components/{p-2322ee32.js → p-63bc0638.js} +9 -9
- package/dist/components/{p-2322ee32.js.map → p-63bc0638.js.map} +1 -1
- package/dist/components/{p-a1e94266.js → p-69cbd3c5.js} +15 -10
- package/dist/components/p-69cbd3c5.js.map +1 -0
- package/dist/components/{p-ebe3d99d.js → p-69fc5f25.js} +2 -2
- package/dist/components/{p-ebe3d99d.js.map → p-69fc5f25.js.map} +1 -1
- package/dist/components/{p-11f9961e.js → p-6ed0f65c.js} +29 -29
- package/dist/components/{p-11f9961e.js.map → p-6ed0f65c.js.map} +1 -1
- package/dist/components/{p-d2651086.js → p-7d549be0.js} +10 -9
- package/dist/components/p-7d549be0.js.map +1 -0
- package/dist/components/{p-5d808dfc.js → p-7f270974.js} +8 -8
- package/dist/components/{p-5d808dfc.js.map → p-7f270974.js.map} +1 -1
- package/dist/components/{p-eb04a164.js → p-89163e5d.js} +4 -4
- package/dist/components/{p-eb04a164.js.map → p-89163e5d.js.map} +1 -1
- package/dist/components/{p-6a7b2dd8.js → p-8a10701c.js} +8 -8
- package/dist/components/{p-6a7b2dd8.js.map → p-8a10701c.js.map} +1 -1
- package/dist/components/{p-e8fcf4cd.js → p-8d70a701.js} +15 -15
- package/dist/components/{p-e8fcf4cd.js.map → p-8d70a701.js.map} +1 -1
- package/dist/components/{p-a769d683.js → p-8f79a437.js} +16 -11
- package/dist/components/p-8f79a437.js.map +1 -0
- package/dist/components/{p-ec6ba955.js → p-90514fe1.js} +8 -3
- package/dist/components/p-90514fe1.js.map +1 -0
- package/dist/components/{p-eaecf234.js → p-91668661.js} +9 -9
- package/dist/components/{p-eaecf234.js.map → p-91668661.js.map} +1 -1
- package/dist/components/{p-2c7eb977.js → p-986edfde.js} +2 -2
- package/dist/components/{p-2c7eb977.js.map → p-986edfde.js.map} +1 -1
- package/dist/components/{p-b33bdf50.js → p-99cca234.js} +12 -7
- package/dist/components/p-99cca234.js.map +1 -0
- package/dist/components/{p-a6fdf86e.js → p-a8b35a6f.js} +4 -4
- package/dist/components/{p-a6fdf86e.js.map → p-a8b35a6f.js.map} +1 -1
- package/dist/components/{p-b252d545.js → p-b714dc5b.js} +2 -2
- package/dist/components/{p-b252d545.js.map → p-b714dc5b.js.map} +1 -1
- package/dist/components/{p-702e5621.js → p-b731951c.js} +2 -2
- package/dist/components/{p-702e5621.js.map → p-b731951c.js.map} +1 -1
- package/dist/components/{p-2cce8e4d.js → p-ba110081.js} +3 -3
- package/dist/components/{p-2cce8e4d.js.map → p-ba110081.js.map} +1 -1
- package/dist/components/{p-3e6d0b51.js → p-d1db20c2.js} +10 -5
- package/dist/components/p-d1db20c2.js.map +1 -0
- package/dist/components/{p-9bef35c9.js → p-d2c0127a.js} +8 -3
- package/dist/components/p-d2c0127a.js.map +1 -0
- package/dist/components/{p-ce8584e3.js → p-d4196f35.js} +3 -3
- package/dist/components/p-d4196f35.js.map +1 -0
- package/dist/components/{p-9564052e.js → p-d887f91f.js} +9 -4
- package/dist/components/p-d887f91f.js.map +1 -0
- package/dist/components/{p-405f8dd6.js → p-d94160b8.js} +2 -2
- package/dist/components/{p-405f8dd6.js.map → p-d94160b8.js.map} +1 -1
- package/dist/components/{p-c24bc8bc.js → p-e891e911.js} +10 -5
- package/dist/components/p-e891e911.js.map +1 -0
- package/dist/components/{p-2a7e3ed3.js → p-f110c4e1.js} +14 -9
- package/dist/components/p-f110c4e1.js.map +1 -0
- package/dist/components/{p-5485ca81.js → p-f759b0b8.js} +11 -11
- package/dist/components/{p-5485ca81.js.map → p-f759b0b8.js.map} +1 -1
- package/dist/components/{p-69913a6d.js → p-fb344b4f.js} +3 -3
- package/dist/components/{p-69913a6d.js.map → p-fb344b4f.js.map} +1 -1
- package/dist/components/{p-5e6387d5.js → p-fd00c665.js} +2 -2
- package/dist/components/{p-5e6387d5.js.map → p-fd00c665.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +46 -46
- package/dist/components/smoothly-calendar.js +1 -1
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-filter-field.js +1 -1
- package/dist/components/smoothly-filter-input.js +1 -1
- package/dist/components/smoothly-filter-select.js +1 -1
- package/dist/components/smoothly-filter.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-schedule.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-form.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +14 -14
- package/dist/components/smoothly-input-checkbox.js +1 -1
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date-time.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-radio.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-summary.js +1 -1
- package/dist/components/smoothly-tab.js +1 -1
- package/dist/components/smoothly-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-tabs-demo.js +1 -1
- package/dist/components/smoothly-theme-demo.js +1 -1
- package/dist/components/smoothly-theme-picker.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/smoothly-app_99.entry.js +86 -38
- package/dist/esm/smoothly-app_99.entry.js.map +1 -1
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/p-b4dce362.entry.js +2 -0
- package/dist/smoothly/p-b4dce362.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/input/Input.d.ts +2 -1
- package/dist/types/components/input/checkbox/index.d.ts +1 -0
- package/dist/types/components/input/color/index.d.ts +1 -0
- package/dist/types/components/input/date/index.d.ts +1 -0
- package/dist/types/components/input/date/range/index.d.ts +1 -0
- package/dist/types/components/input/date/time/index.d.ts +1 -0
- package/dist/types/components/input/file/index.d.ts +1 -0
- package/dist/types/components/input/index.d.ts +1 -0
- package/dist/types/components/input/month/index.d.ts +1 -0
- package/dist/types/components/input/radio/index.d.ts +1 -0
- package/dist/types/components/input/range/index.d.ts +1 -0
- package/dist/types/components/input/select/index.d.ts +1 -0
- package/dist/types/components/tabs/tab/index.d.ts +2 -1
- package/dist/types/components.d.ts +4 -0
- package/package.json +1 -1
- package/dist/components/p-2a7e3ed3.js.map +0 -1
- package/dist/components/p-3e6d0b51.js.map +0 -1
- package/dist/components/p-43adf18b.js.map +0 -1
- package/dist/components/p-9564052e.js.map +0 -1
- package/dist/components/p-9bef35c9.js.map +0 -1
- package/dist/components/p-a1e94266.js.map +0 -1
- package/dist/components/p-a769d683.js.map +0 -1
- package/dist/components/p-b33bdf50.js.map +0 -1
- package/dist/components/p-c24bc8bc.js.map +0 -1
- package/dist/components/p-ce8584e3.js.map +0 -1
- package/dist/components/p-d2651086.js.map +0 -1
- package/dist/components/p-d647b460.js.map +0 -1
- package/dist/components/p-ec6ba955.js.map +0 -1
- package/dist/components/p-fbb3a2be.js.map +0 -1
- package/dist/smoothly/p-d468d71f.entry.js +0 -2
- package/dist/smoothly/p-d468d71f.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_99.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]}],[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]}],[0,\"smoothly-button-demo\"],[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\",{\"extraTab\":[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-nested\"],[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]}],[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-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,\"tool-tip\"],\"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],\"open\":[1540]},[[0,\"click\",\"onClick\"],[0,\"smoothlyInputLoad\",\"onInputLoad\"],[0,\"smoothlyInput\",\"onInputLoad\"]],{\"open\":[\"openHandler\"]}],[6,\"smoothly-tabs\",{\"tabs\":[513],\"tabElements\":[32],\"selectedElement\":[32]},[[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],\"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\"]],{\"date\":[\"handleChange\"],\"hour\":[\"handleChange\"],\"minute\":[\"handleChange\"],\"value\":[\"valueChange\"]}],[6,\"smoothly-input-edit\",{\"color\":[1],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"type\":[513],\"size\":[513],\"toolTip\":[1,\"tool-tip\"]},[[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-checkbox\",{\"name\":[513],\"changed\":[1028],\"readonly\":[1540],\"checked\":[1028],\"value\":[4],\"looks\":[1537],\"color\":[1537],\"disabled\":[516],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},null,{\"checked\":[\"elementCheck\"]}],[6,\"smoothly-input-color\",{\"value\":[1025],\"looks\":[1537],\"color\":[1537],\"changed\":[1028],\"readonly\":[1540],\"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\"]],{\"value\":[\"valueChanged\"]}],[6,\"smoothly-input-date-range\",{\"name\":[513],\"color\":[1537],\"looks\":[1537],\"readonly\":[1540],\"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\"]}],[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-file\",{\"changed\":[1028],\"readonly\":[1540],\"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\"]],{\"value\":[\"valueChanged\"]}],[6,\"smoothly-input-radio-item\",{\"value\":[1032],\"selected\":[1540],\"looks\":[1537],\"name\":[1025]}],[6,\"smoothly-input-radio\",{\"changed\":[1028],\"value\":[1032],\"looks\":[1537],\"color\":[1537],\"clearable\":[4],\"readonly\":[1540],\"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\"]],{\"value\":[\"valueChanged\"],\"readonly\":[\"watchingReadonly\"]}],[6,\"smoothly-table-body\"],[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],\"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\"]],{\"value\":[\"onStart\"]}],[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-table-cell\",{\"span\":[514]}],[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],\"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\"]],{\"value\":[\"valueChanged\"]}],[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,\"tool-tip\"]}],[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\"]}],[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-spinner\",{\"size\":[513],\"overlay\":[516]}],[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\"]}],[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],\"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,\"smoothlyItemSelect\",\"onItemSelect\"],[0,\"keydown\",\"onKeyDown\"]],{\"selected\":[\"onSelectedChange\"],\"required\":[\"onRequiredChange\"],\"filter\":[\"onFilterChange\"],\"readonly\":[\"watchingReadonly\"],\"open\":[\"onClosed\"]}],[6,\"smoothly-item\",{\"value\":[8],\"selected\":[1540],\"marked\":[1540],\"disabled\":[516],\"deselectable\":[4],\"filter\":[64]},[[0,\"click\",\"clickHandler\"]],{\"selected\":[\"selectedWatcher\"]}],[2,\"smoothly-display-json-object\",{\"value\":[16],\"collapseDepth\":[2,\"collapse-depth\"],\"open\":[32],\"empty\":[32]}],[2,\"smoothly-display-json-primitive\",{\"value\":[8]}],[2,\"smoothly-display-json-record-key\",{\"value\":[8]}],[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\":[4],\"readonly\":[1540],\"toInteger\":[4,\"to-integer\"],\"currency\":[513],\"min\":[2],\"max\":[2],\"pad\":[2],\"invalid\":[516],\"changed\":[1028],\"errorMessage\":[513,\"error-message\"],\"initialValue\":[32],\"state\":[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\"]],{\"currency\":[\"typeChange\"],\"type\":[\"typeChange\"],\"state\":[\"stateChange\"],\"value\":[\"valueChange\"],\"readonly\":[\"readonlyChange\"]}],[2,\"smoothly-icon\",{\"color\":[513],\"fill\":[513],\"name\":[513],\"size\":[513],\"rotate\":[514],\"flip\":[513],\"toolTip\":[1,\"tool-tip\"],\"latestPromise\":[32],\"document\":[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_99.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]}],[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]}],[0,\"smoothly-button-demo\"],[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\",{\"extraTab\":[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-nested\"],[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]}],[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-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,\"tool-tip\"],\"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],\"tooltip\":[1],\"open\":[1540],\"disabled\":[516]},[[0,\"smoothlyInputLoad\",\"onInputLoad\"],[0,\"smoothlyInput\",\"onInputLoad\"]],{\"open\":[\"openHandler\"]}],[6,\"smoothly-tabs\",{\"tabs\":[513],\"tabElements\":[32],\"selectedElement\":[32]},[[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],\"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\"]}],[6,\"smoothly-input-edit\",{\"color\":[1],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"type\":[513],\"size\":[513],\"toolTip\":[1,\"tool-tip\"]},[[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-checkbox\",{\"name\":[513],\"changed\":[1028],\"readonly\":[1540],\"checked\":[1028],\"value\":[4],\"looks\":[1537],\"color\":[1537],\"disabled\":[516],\"register\":[64],\"unregister\":[64],\"getValue\":[64],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64],\"setInitialValue\":[64]},null,{\"name\":[\"nameChange\"],\"checked\":[\"elementCheck\"]}],[6,\"smoothly-input-color\",{\"value\":[1025],\"looks\":[1537],\"color\":[1537],\"changed\":[1028],\"readonly\":[1540],\"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\"],\"value\":[\"valueChanged\"]}],[6,\"smoothly-input-date-range\",{\"name\":[513],\"color\":[1537],\"looks\":[1537],\"readonly\":[1540],\"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\"],\"name\":[\"nameChange\"]}],[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-file\",{\"changed\":[1028],\"readonly\":[1540],\"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-input-radio-item\",{\"value\":[1032],\"selected\":[1540],\"looks\":[1537],\"name\":[1025]}],[6,\"smoothly-input-radio\",{\"changed\":[1028],\"value\":[1032],\"looks\":[1537],\"color\":[1537],\"clearable\":[4],\"readonly\":[1540],\"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\"],\"readonly\":[\"watchingReadonly\"]}],[6,\"smoothly-table-body\"],[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],\"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\"]}],[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-table-cell\",{\"span\":[514]}],[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],\"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\"]}],[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,\"tool-tip\"]}],[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-spinner\",{\"size\":[513],\"overlay\":[516]}],[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\"]}],[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],\"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,\"smoothlyItemSelect\",\"onItemSelect\"],[0,\"keydown\",\"onKeyDown\"]],{\"name\":[\"nameChange\"],\"selected\":[\"onSelectedChange\"],\"required\":[\"onRequiredChange\"],\"filter\":[\"onFilterChange\"],\"readonly\":[\"watchingReadonly\"],\"open\":[\"onClosed\"]}],[6,\"smoothly-item\",{\"value\":[8],\"selected\":[1540],\"marked\":[1540],\"disabled\":[516],\"deselectable\":[4],\"filter\":[64]},[[0,\"click\",\"clickHandler\"]],{\"selected\":[\"selectedWatcher\"]}],[2,\"smoothly-display-json-object\",{\"value\":[16],\"collapseDepth\":[2,\"collapse-depth\"],\"open\":[32],\"empty\":[32]}],[2,\"smoothly-display-json-primitive\",{\"value\":[8]}],[2,\"smoothly-display-json-record-key\",{\"value\":[8]}],[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\":[4],\"readonly\":[1540],\"toInteger\":[4,\"to-integer\"],\"currency\":[513],\"min\":[2],\"max\":[2],\"pad\":[2],\"invalid\":[516],\"changed\":[1028],\"errorMessage\":[513,\"error-message\"],\"initialValue\":[32],\"state\":[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\"],\"readonly\":[\"readonlyChange\"]}],[2,\"smoothly-icon\",{\"color\":[513],\"fill\":[513],\"name\":[513],\"size\":[513],\"rotate\":[514],\"flip\":[513],\"toolTip\":[1,\"tool-tip\"],\"latestPromise\":[32],\"document\":[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;
|
|
@@ -8167,16 +8167,21 @@ var Input;
|
|
|
8167
8167
|
parent: Editable.type.optional(),
|
|
8168
8168
|
});
|
|
8169
8169
|
Input.is = Input.type.is;
|
|
8170
|
-
function formRemove(self) {
|
|
8171
|
-
if (self.parent instanceof SmoothlyForm)
|
|
8172
|
-
self.parent.removeInput(self.name);
|
|
8173
|
-
}
|
|
8170
|
+
function formRemove(self, name) {
|
|
8171
|
+
if (self.parent instanceof SmoothlyForm)
|
|
8172
|
+
self.parent.removeInput(name !== null && name !== void 0 ? name : self.name);
|
|
8174
8173
|
}
|
|
8175
8174
|
Input.formRemove = formRemove;
|
|
8176
8175
|
function formAdd(self) {
|
|
8177
8176
|
self.smoothlyInputLoad.emit(parent => (self.parent = parent));
|
|
8178
8177
|
}
|
|
8179
8178
|
Input.formAdd = formAdd;
|
|
8179
|
+
function formRename(self, oldName) {
|
|
8180
|
+
if (oldName)
|
|
8181
|
+
formRemove(self, oldName);
|
|
8182
|
+
formAdd(self);
|
|
8183
|
+
}
|
|
8184
|
+
Input.formRename = formRename;
|
|
8180
8185
|
function registerSubAction(self, event) {
|
|
8181
8186
|
if (!(event.target && "name" in event.target && event.target.name === self.name)) {
|
|
8182
8187
|
event.stopPropagation();
|
|
@@ -9049,6 +9054,9 @@ const SmoothlyInput = class {
|
|
|
9049
9054
|
this.listener[property] = listener;
|
|
9050
9055
|
listener(this);
|
|
9051
9056
|
}
|
|
9057
|
+
nameChange(_, oldName) {
|
|
9058
|
+
Input.formRename(this, oldName);
|
|
9059
|
+
}
|
|
9052
9060
|
async register() {
|
|
9053
9061
|
Input.formAdd(this);
|
|
9054
9062
|
}
|
|
@@ -9132,7 +9140,7 @@ const SmoothlyInput = class {
|
|
|
9132
9140
|
}
|
|
9133
9141
|
render() {
|
|
9134
9142
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
9135
|
-
return (index.h(index.Host, { key: '
|
|
9143
|
+
return (index.h(index.Host, { key: '8af5ce44e54d07840fe792f7ce5f256f551fbfbb', class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, index.h("slot", { key: '5aeb3777690300ee653501f94bad430d35e8bd5d', name: "start" }), index.h("div", { key: '6e67e16fd30272d48e78a859593976d2af1b5934', class: "smoothly-input-container" }, index.h("div", { key: '7559796f2ed55df85101e3d5e40166ba07d8efda', class: "ghost" }, index.h("div", { key: '4711fe37982ad2bac6d261c8acc095317b70f70d', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), index.h("div", { key: '364e93873860e8e145c6b654c6307a661c8b487e', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), index.h("input", { key: '4e9f599ed25b6f9166f7a9875d7b7d5eed19d848', ref: (el) => (this.inputElement = el), color: this.color, name: this.name, type: (_e = this.state) === null || _e === void 0 ? void 0 : _e.type, inputmode: (_f = this.state) === null || _f === void 0 ? void 0 : _f.inputmode, placeholder: this.placeholder, required: this.required, autocomplete: (_g = this.autocomplete) !== null && _g !== void 0 ? _g : (_h = this.state) === null || _h === void 0 ? void 0 : _h.autocomplete, disabled: this.disabled, readOnly: this.readonly, pattern: ((_j = this.state) === null || _j === void 0 ? void 0 : _j.pattern) && ((_k = this.state) === null || _k === void 0 ? void 0 : _k.pattern.source), onKeyDown: event => {
|
|
9136
9144
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
9137
9145
|
if (!this.readonly && !this.disabled)
|
|
9138
9146
|
this.smoothlyKeydown.emit(Key.create(this.name, event));
|
|
@@ -9145,10 +9153,11 @@ const SmoothlyInput = class {
|
|
|
9145
9153
|
if (Deep.notEqual(lastValue, this.stateHandler.getValue(this.state)))
|
|
9146
9154
|
this.smoothlyChange.emit({ [this.name]: this.stateHandler.getValue(this.state) });
|
|
9147
9155
|
}
|
|
9148
|
-
} }), index.h("label", { key: '
|
|
9156
|
+
} }), index.h("label", { key: '2b6ded570d6659b9a1f927f8f16f6eaf6cda9faa', class: "label float-on-focus", htmlFor: this.name }, index.h("slot", { key: '9b50a7cc4d4de47c65928950d3e772480a251eab' }))), index.h("smoothly-icon", { key: '059c47c5342ec46ae7ff905f3015805ae2898215', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage }), index.h("slot", { key: '4dfb4229fa5d92aa6baa4abf1af6130db4952cd8', name: "end" })));
|
|
9149
9157
|
}
|
|
9150
9158
|
get element() { return index.getElement(this); }
|
|
9151
9159
|
static get watchers() { return {
|
|
9160
|
+
"name": ["nameChange"],
|
|
9152
9161
|
"currency": ["typeChange"],
|
|
9153
9162
|
"type": ["typeChange"],
|
|
9154
9163
|
"state": ["stateChange"],
|
|
@@ -9190,6 +9199,9 @@ const SmoothlyInputCheckbox = class {
|
|
|
9190
9199
|
if (!this.element.isConnected)
|
|
9191
9200
|
await this.unregister();
|
|
9192
9201
|
}
|
|
9202
|
+
nameChange(_, oldName) {
|
|
9203
|
+
Input.formRename(this, oldName);
|
|
9204
|
+
}
|
|
9193
9205
|
async register() {
|
|
9194
9206
|
Input.formAdd(this);
|
|
9195
9207
|
}
|
|
@@ -9226,10 +9238,11 @@ const SmoothlyInputCheckbox = class {
|
|
|
9226
9238
|
!this.disabled && !this.readonly && (this.checked = !this.checked);
|
|
9227
9239
|
}
|
|
9228
9240
|
render() {
|
|
9229
|
-
return (index.h(index.Host, { key: '
|
|
9241
|
+
return (index.h(index.Host, { key: 'bafbb239e9b13ca92eb83d46973a9605418a1608', onMouseDown: (e) => (this.mouseDownPosition = { x: e.clientX, y: e.clientY }), onMouseUp: (e) => { var _a; return ((_a = this.mouseDownPosition) === null || _a === void 0 ? void 0 : _a.x) == e.clientX && this.mouseDownPosition.y == e.clientY && this.click(); } }, index.h("input", { key: '2f985ede013ebdb62fe511165a8c9a4be60b4a2e', type: "checkbox", checked: this.checked }), this.checked && index.h("smoothly-icon", { key: 'fdd9c392912537bbedc05fd04f4d85b03f0360bb', name: "checkmark-outline", size: "tiny" }), index.h("label", { key: '2dfe9e1fe36e00e35e01f212f8f96ce083b4b65d' }, index.h("slot", { key: 'b61fdcc480dc4e76e20f4cdf0689392996c39865' }))));
|
|
9230
9242
|
}
|
|
9231
9243
|
get element() { return index.getElement(this); }
|
|
9232
9244
|
static get watchers() { return {
|
|
9245
|
+
"name": ["nameChange"],
|
|
9233
9246
|
"checked": ["elementCheck"]
|
|
9234
9247
|
}; }
|
|
9235
9248
|
};
|
|
@@ -9327,6 +9340,9 @@ const SmoothlyInputColor = class {
|
|
|
9327
9340
|
if (!this.element.isConnected)
|
|
9328
9341
|
await this.unregister();
|
|
9329
9342
|
}
|
|
9343
|
+
nameChange(_, oldName) {
|
|
9344
|
+
Input.formRename(this, oldName);
|
|
9345
|
+
}
|
|
9330
9346
|
async register() {
|
|
9331
9347
|
Input.formAdd(this);
|
|
9332
9348
|
}
|
|
@@ -9426,7 +9442,7 @@ const SmoothlyInputColor = class {
|
|
|
9426
9442
|
}
|
|
9427
9443
|
render() {
|
|
9428
9444
|
var _a, _b, _c, _d, _e, _f;
|
|
9429
|
-
return (index.h(index.Host, { key: '
|
|
9445
|
+
return (index.h(index.Host, { key: '6a8e36e808cb31f11619b33ba9fe14fe0f52c64f', style: {
|
|
9430
9446
|
"--hexCode": this.value,
|
|
9431
9447
|
"--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
|
|
9432
9448
|
"--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
|
|
@@ -9435,10 +9451,11 @@ const SmoothlyInputColor = class {
|
|
|
9435
9451
|
"--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
|
|
9436
9452
|
"--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
|
|
9437
9453
|
"--element-height": `${this.element.clientHeight}px`,
|
|
9438
|
-
} }, index.h("smoothly-input", { key: '
|
|
9454
|
+
} }, index.h("smoothly-input", { key: '0bb82be3048b77abeb986bfbcaefc20b671ab945', value: this.value, name: this.name, looks: undefined, color: this.color, type: "hex-color", showLabel: this.showLabel, readonly: this.readonly, onSmoothlyInput: event => (event === null || event === void 0 ? void 0 : event.stopPropagation(), this.hexInputHandler(event.detail[this.name])) }, index.h("slot", { key: '30603f997525e1b740dab8df4b6b1a0d5b0b70e4' })), index.h("div", { key: 'e210d6bd08250f9081ad7d5a68473e5461590aee', class: "color-sample" }), index.h("smoothly-icon", { key: '723f2cf2a338f0df5782a9d2520a16c8cf2d80c8', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && this.openDropdown() }), index.h("div", { key: 'bc83072d6371f927bd4a82c55844d2df31b7e382' }, index.h("slot", { key: '99a2bd717f07cda36349e5c378f4128105c65224', name: "end" })), this.open && !this.readonly && (index.h("div", { key: '3f3025ae723e97f058cb9813a5a18b06a967fa51', class: "rgb-sliders" }, index.h("smoothly-toggle-switch", { key: '01f80e57b8f65e80f8d8a0a8dcbab441f39281ce', title: `${this.sliderMode === "rgb" ? "To HSL" : "To RGB"}`, onSmoothlyToggleSwitchChange: event => this.handleSwitchMode(event), size: "tiny", checkmark: false, selected: this.sliderMode === "hsl" }), Object.entries(this.rgb).map(([key, value]) => (index.h("smoothly-input-range", { style: this.sliderMode != "rgb" ? { display: "none" } : {}, name: key, min: 0, max: 255, color: undefined, type: "text", value: value, step: 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), label: key.toUpperCase() }))), Object.entries(this.hsl).map(([key, value]) => (index.h("smoothly-input-range", { style: this.sliderMode != "hsl" ? { display: "none" } : {}, name: key, min: 0, max: key === "h" ? 359 : 1, color: undefined, type: key === "s" || key === "l" ? "percent" : "text", value: (key === "s" || key === "l") && value ? value / 100 : value, step: key === "s" || key === "l" ? 0.01 : 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), label: key.toUpperCase() })))))));
|
|
9439
9455
|
}
|
|
9440
9456
|
get element() { return index.getElement(this); }
|
|
9441
9457
|
static get watchers() { return {
|
|
9458
|
+
"name": ["nameChange"],
|
|
9442
9459
|
"value": ["valueChanged"]
|
|
9443
9460
|
}; }
|
|
9444
9461
|
};
|
|
@@ -9491,6 +9508,9 @@ const SmoothlyInputDate = class {
|
|
|
9491
9508
|
if (!this.element.isConnected)
|
|
9492
9509
|
await this.unregister();
|
|
9493
9510
|
}
|
|
9511
|
+
nameChange(_, oldName) {
|
|
9512
|
+
Input.formRename(this, oldName);
|
|
9513
|
+
}
|
|
9494
9514
|
async register() {
|
|
9495
9515
|
Input.formAdd(this);
|
|
9496
9516
|
}
|
|
@@ -9542,16 +9562,17 @@ const SmoothlyInputDate = class {
|
|
|
9542
9562
|
event.stopPropagation();
|
|
9543
9563
|
}
|
|
9544
9564
|
render() {
|
|
9545
|
-
return (index.h(index.Host, { key: '
|
|
9565
|
+
return (index.h(index.Host, { key: '28caadfcfd1c2acb99fc0a4dd898d76480ce17bf' }, index.h("smoothly-input", { key: 'fdc4fe792151f8a58d5af596f39f04aa3c3e486c', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: this.name, onFocus: () => !this.readonly && (this.open = !this.open), onClick: () => !this.readonly && (this.open = !this.open), readonly: this.readonly, errorMessage: this.errorMessage, invalid: this.invalid, type: "date", value: this.value, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
9546
9566
|
e.stopPropagation();
|
|
9547
9567
|
this.value = e.detail[this.name];
|
|
9548
|
-
} }, index.h("slot", { key: '
|
|
9568
|
+
} }, index.h("slot", { key: '1354e8e75aed48b2a520a7854ea93159f622f7fd' })), index.h("span", { key: '7288c89967e9aa18e6b59a2c5d79486b2066a1b7', class: "icons" }, index.h("slot", { key: '5494c6f1b9b4b42fb3ee8032edff00e9e429dc5b', name: "end" })), this.open && !this.readonly && (index.h("nav", { key: 'c38b2b2fd04be03dd24a2969b646d8afb19bb579' }, index.h("smoothly-calendar", { key: '9a08cf063e8f79bedd4557b05b4796f9fa510db9', doubleInput: false, value: this.value, onSmoothlyValueChange: event => {
|
|
9549
9569
|
this.value = event.detail;
|
|
9550
9570
|
event.stopPropagation();
|
|
9551
|
-
}, max: this.max, min: this.min }, index.h("div", { key: '
|
|
9571
|
+
}, max: this.max, min: this.min }, index.h("div", { key: '2caf5071e3da53541d33559b2a8ca553f909094c', slot: "year-label" }, index.h("slot", { key: '46d552533595a5f2f1a5afb0d430abd18aa19e24', name: "year-label" })), index.h("div", { key: '105bd4afc928810e8b2c887f2b91633d4ae66619', slot: "month-label" }, index.h("slot", { key: '6a1a4ac812a2c605d4ab703e95131a68483ef1c7', name: "month-label" })))))));
|
|
9552
9572
|
}
|
|
9553
9573
|
get element() { return index.getElement(this); }
|
|
9554
9574
|
static get watchers() { return {
|
|
9575
|
+
"name": ["nameChange"],
|
|
9555
9576
|
"value": ["onStart"]
|
|
9556
9577
|
}; }
|
|
9557
9578
|
};
|
|
@@ -9622,6 +9643,9 @@ const SmoothlyInputDateRange = class {
|
|
|
9622
9643
|
if (!this.element.isConnected)
|
|
9623
9644
|
await this.unregister();
|
|
9624
9645
|
}
|
|
9646
|
+
nameChange(_, oldName) {
|
|
9647
|
+
Input.formRename(this, oldName);
|
|
9648
|
+
}
|
|
9625
9649
|
async register() {
|
|
9626
9650
|
Input.formAdd(this);
|
|
9627
9651
|
}
|
|
@@ -9654,12 +9678,12 @@ const SmoothlyInputDateRange = class {
|
|
|
9654
9678
|
}
|
|
9655
9679
|
render() {
|
|
9656
9680
|
const locale = navigator.language;
|
|
9657
|
-
return (index.h(index.Host, { key: '
|
|
9681
|
+
return (index.h(index.Host, { key: 'ef286830426f5d444c46187561450fa1875ed0db', tabindex: 0 }, index.h("section", { key: '94cffbe853b6475a5201e88c93b3a5c7ca75ed93', onClick: () => !this.readonly && (this.open = !this.open) }, index.h("smoothly-input", { key: 'e27048ab57746839feae76edeb42d1e24e658497', type: "text", name: "dateRangeInput", readonly: this.readonly, value: this.start && this.end
|
|
9658
9682
|
? `${format(this.start, "date", locale)} — ${format(this.end, "date", locale)}`
|
|
9659
9683
|
: undefined, invalid: this.invalid, placeholder: this.placeholder, showLabel: this.showLabel, onSmoothlyInput: e => {
|
|
9660
9684
|
e.stopPropagation();
|
|
9661
9685
|
this.inputHandler(e.detail);
|
|
9662
|
-
} }, index.h("slot", { key: '
|
|
9686
|
+
} }, index.h("slot", { key: '6abf95e7f5efa887f1bb96a343c245b0779c3ee4' }))), index.h("span", { key: 'a3f4311eed4bab2b2bda1845498a0e85fd285585', class: "icons" }, index.h("slot", { key: 'e962a1c40dc7489fee6388e406568ff0e8224fd2', name: "end" })), this.open && (index.h("nav", { key: '4806331bda39863fbf7b937ba1eaa7e2c5a242ff' }, index.h("smoothly-calendar", { key: '1b8dfb8c0d9e81781a0397aaa3c84c3db0782a04', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => {
|
|
9663
9687
|
e.stopPropagation();
|
|
9664
9688
|
this.start = e.detail;
|
|
9665
9689
|
}, onSmoothlyEndChange: e => {
|
|
@@ -9675,7 +9699,8 @@ const SmoothlyInputDateRange = class {
|
|
|
9675
9699
|
static get watchers() { return {
|
|
9676
9700
|
"start": ["updateValue"],
|
|
9677
9701
|
"end": ["updateValue"],
|
|
9678
|
-
"value": ["valueChanged"]
|
|
9702
|
+
"value": ["valueChanged"],
|
|
9703
|
+
"name": ["nameChange"]
|
|
9679
9704
|
}; }
|
|
9680
9705
|
};
|
|
9681
9706
|
SmoothlyInputDateRange.style = SmoothlyInputDateRangeStyle0;
|
|
@@ -9720,6 +9745,9 @@ const SmoothlyInputDateTime = class {
|
|
|
9720
9745
|
if (!this.element.isConnected)
|
|
9721
9746
|
await this.unregister();
|
|
9722
9747
|
}
|
|
9748
|
+
nameChange(_, oldName) {
|
|
9749
|
+
Input.formRename(this, oldName);
|
|
9750
|
+
}
|
|
9723
9751
|
async register() {
|
|
9724
9752
|
Input.formAdd(this);
|
|
9725
9753
|
}
|
|
@@ -9794,25 +9822,26 @@ const SmoothlyInputDateTime = class {
|
|
|
9794
9822
|
this.changed = false;
|
|
9795
9823
|
}
|
|
9796
9824
|
render() {
|
|
9797
|
-
return (index.h(index.Host, { key: '
|
|
9825
|
+
return (index.h(index.Host, { key: '08ddd777cfed59ed61f41ab743fa2f359e98fff7' }, index.h("smoothly-input", { key: '713f248cea961eef957edbd69716ca2559bbf3ad', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: "date", onFocus: () => !this.readonly && (this.open = !this.open), onClick: () => !this.readonly && (this.open = !this.open), readonly: this.readonly, type: "date", value: this.date, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
9798
9826
|
e.stopPropagation();
|
|
9799
9827
|
this.date = e.detail.date;
|
|
9800
|
-
} }, index.h("slot", { key: '
|
|
9828
|
+
} }, index.h("slot", { key: 'c5933dd17979ec8020284c64ea7e2757a15f6226' })), index.h("smoothly-input", { key: '2e0e77201255a57ace526a7a95c39e22e2f9a54c', name: "hour", type: "integer", max: 23, pad: 2, value: this.hour, placeholder: "hh", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
9801
9829
|
e.stopPropagation();
|
|
9802
9830
|
this.hour = e.detail.hour;
|
|
9803
|
-
} }), index.h("span", { key: '
|
|
9831
|
+
} }), index.h("span", { key: '3ce4e86a2b4860600d18f4bfb4d4b77beed151e0', class: "colon" }, ":"), index.h("smoothly-input", { key: 'd6bffda2ec45d77817e92b120be994562b01e923', name: "minute", type: "integer", max: 59, pad: 2, value: this.minute, placeholder: "mm", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
9804
9832
|
e.stopPropagation();
|
|
9805
9833
|
this.minute = e.detail.minute;
|
|
9806
|
-
} }), index.h("span", { key: '
|
|
9834
|
+
} }), index.h("span", { key: 'bec32cf991d0b3c33879c68937fd83e570bc87f1', class: "icons" }, index.h("smoothly-icon", { key: 'a7b825345c746187e6b3c908e1d962dfcaa2957a', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage }), index.h("slot", { key: '1e21364b2ac09ba8e7f57f3758c1a4142025c653', name: "end" })), this.open && !this.readonly && (index.h("nav", { key: 'd871aa7b50fa4104981e5c8991db484f248ba5ab' }, index.h("smoothly-calendar", { key: 'a2995e0fdda6de5b0c8d3f315c86fcf38087149f', doubleInput: false, value: this.value, min: this.min ? TimeZone.DateTime.getDate(this.min) : undefined, max: this.max ? TimeZone.DateTime.getDate(this.max) : undefined, onSmoothlyValueChange: e => {
|
|
9807
9835
|
this.date = e.detail;
|
|
9808
9836
|
e.stopPropagation();
|
|
9809
9837
|
}, onSmoothlyDateSet: e => {
|
|
9810
9838
|
this.open = false;
|
|
9811
9839
|
e.stopPropagation();
|
|
9812
|
-
} }, index.h("div", { key: '
|
|
9840
|
+
} }, index.h("div", { key: '69cfab08d279d63da367b51cc6c95473766b0a33', slot: "year-label" }, index.h("slot", { key: '41106c64656f927f8bbcb44219adbc1731c0c8e4', name: "year-label" })), index.h("div", { key: '75bbe3e4494efbe13e84f4076b94bf3261273bd1', slot: "month-label" }, index.h("slot", { key: '6b8f9a8f15a0c31734d8c455e0a80eae93764288', name: "month-label" })))))));
|
|
9813
9841
|
}
|
|
9814
9842
|
get element() { return index.getElement(this); }
|
|
9815
9843
|
static get watchers() { return {
|
|
9844
|
+
"name": ["nameChange"],
|
|
9816
9845
|
"date": ["handleChange"],
|
|
9817
9846
|
"hour": ["handleChange"],
|
|
9818
9847
|
"minute": ["handleChange"],
|
|
@@ -9951,6 +9980,9 @@ const SmoothlyInputFile = class {
|
|
|
9951
9980
|
if (!this.element.isConnected)
|
|
9952
9981
|
await this.unregister();
|
|
9953
9982
|
}
|
|
9983
|
+
nameChange(_, oldName) {
|
|
9984
|
+
Input.formRename(this, oldName);
|
|
9985
|
+
}
|
|
9954
9986
|
async register() {
|
|
9955
9987
|
Input.formAdd(this);
|
|
9956
9988
|
}
|
|
@@ -10021,10 +10053,11 @@ const SmoothlyInputFile = class {
|
|
|
10021
10053
|
}
|
|
10022
10054
|
render() {
|
|
10023
10055
|
var _a, _b, _c;
|
|
10024
|
-
return (index.h(index.Host, { key: '
|
|
10056
|
+
return (index.h(index.Host, { key: '473b576538b94d5689096214f98fefe16f480682', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, index.h("label", { key: '78b43a7bfd636c8613ae7e3ca7b538a0c9d63c47' }, index.h("slot", { key: '96a6c841059284791b579b418364416420d6b98d', name: "label" })), index.h("div", { key: '610f5cec81824c8c808fd202356ce0c064a47dec', class: "input" }, index.h("smoothly-button", { key: 'cfe61dee5270a38cd82ab1b301940b85df575c26', type: "button", color: this.color, fill: "clear", size: "flexible" }, index.h("slot", { key: '5d4d0570b347b4c32bef7d949195034bb83ce311', name: "button" })), index.h("span", { key: '8fd093895e3ab830ff778f4e0c725fd8f0da5954' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), index.h("div", { key: 'd652b30b1ad89c654b0106d42a15f8d3c1bfa954', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, index.h("smoothly-icon", { key: 'beebdea8104ba15ee1d6f6441e37ec7a4851b8c6', name: "document-attach-outline" })), index.h("input", { key: 'ea94ed5956c5ed9b13d6c626045ce1038d4b2501', ref: element => (this.input = element), type: "file", capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), index.h("div", { key: '523f50525f1ba62583863e19623585ed804207a0', class: "end", onClick: (e) => e.stopPropagation() }, index.h("slot", { key: '8c24ff6c89d7e8bde7d5eea70fe2e0778e8b5577', name: "end" }))));
|
|
10025
10057
|
}
|
|
10026
10058
|
get element() { return index.getElement(this); }
|
|
10027
10059
|
static get watchers() { return {
|
|
10060
|
+
"name": ["nameChange"],
|
|
10028
10061
|
"value": ["valueChanged"]
|
|
10029
10062
|
}; }
|
|
10030
10063
|
};
|
|
@@ -10088,6 +10121,9 @@ const SmoothlyInputMonth = class {
|
|
|
10088
10121
|
const maxMonth = (_b = this.max) === null || _b === void 0 ? void 0 : _b.substring(0, 7);
|
|
10089
10122
|
this.allowNextMonth = !maxMonth || nextMonth <= maxMonth;
|
|
10090
10123
|
}
|
|
10124
|
+
nameChange(_, oldName) {
|
|
10125
|
+
Input.formRename(this, oldName);
|
|
10126
|
+
}
|
|
10091
10127
|
async register() {
|
|
10092
10128
|
Input.formAdd(this);
|
|
10093
10129
|
}
|
|
@@ -10142,9 +10178,9 @@ const SmoothlyInputMonth = class {
|
|
|
10142
10178
|
}
|
|
10143
10179
|
render() {
|
|
10144
10180
|
var _a, _b;
|
|
10145
|
-
return (index.h(index.Host, { key: '
|
|
10181
|
+
return (index.h(index.Host, { key: '789b962996b65cb6eeebaaed34da6ac4145018da' }, index.h("smoothly-icon", { key: '62da4b66ef087adf4868c098047d193b0b38144c', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
10146
10182
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
10147
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index.h("smoothly-input-select", { key: '
|
|
10183
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index.h("smoothly-input-select", { key: 'b98a911d86f057f5718144ecd7e048ffa71747fa', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, changed: this.changed, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, index.h("div", { key: 'd519ae8613168bede303895191bae7ba4a2d08a5', slot: "label" }, index.h("slot", { key: 'bcf3ff408598496fa03ec3b20aee81847cd7094a', name: "year-label" })), years((_a = this.value) !== null && _a !== void 0 ? _a : TimeZone.Date.now(), this.min, this.max).map(year => (index.h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), index.h("smoothly-input-select", { key: 'c0a7ee2ea190cbf1fb9c06bf5dc0fc4b0f8d9d0b', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, changed: this.changed, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, index.h("div", { key: 'a7ed42da0af507df8fb458cab9d1d948f7d5fdf1', slot: "label" }, index.h("slot", { key: '15415014bd06faab89b69937165682a929067dc3', name: "month-label" })), months((_b = this.value) !== null && _b !== void 0 ? _b : TimeZone.Date.now()).map(month => (index.h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), index.h("smoothly-icon", { key: '5a2b5e2fdc13989beb19f9616707180e26555258', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
10148
10184
|
disabled: this.readonly || !this.allowNextMonth,
|
|
10149
10185
|
}, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
10150
10186
|
}
|
|
@@ -10152,7 +10188,8 @@ const SmoothlyInputMonth = class {
|
|
|
10152
10188
|
static get watchers() { return {
|
|
10153
10189
|
"value": ["valueChanged", "setAllowPreviousMonth", "setAllowNextMonth"],
|
|
10154
10190
|
"min": ["setAllowPreviousMonth"],
|
|
10155
|
-
"max": ["setAllowNextMonth"]
|
|
10191
|
+
"max": ["setAllowNextMonth"],
|
|
10192
|
+
"name": ["nameChange"]
|
|
10156
10193
|
}; }
|
|
10157
10194
|
};
|
|
10158
10195
|
SmoothlyInputMonth.style = SmoothlyInputMonthStyle0;
|
|
@@ -10234,6 +10271,9 @@ const SmoothlyInputRadio = class {
|
|
|
10234
10271
|
if (!this.element.isConnected)
|
|
10235
10272
|
await this.unregister();
|
|
10236
10273
|
}
|
|
10274
|
+
nameChange(_, oldName) {
|
|
10275
|
+
Input.formRename(this, oldName);
|
|
10276
|
+
}
|
|
10237
10277
|
async register() {
|
|
10238
10278
|
Input.formAdd(this);
|
|
10239
10279
|
}
|
|
@@ -10276,10 +10316,11 @@ const SmoothlyInputRadio = class {
|
|
|
10276
10316
|
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
10277
10317
|
}
|
|
10278
10318
|
render() {
|
|
10279
|
-
return (index.h(index.Host, { key: '
|
|
10319
|
+
return (index.h(index.Host, { key: 'c50a65412ab478bd60c1ed97498a488bdf2d3465', class: "floating-label" }, index.h("slot", { key: 'c865bc7ba334de57d59f8e403fe4a7445795ce5b', name: "start" }), index.h("div", { key: 'ca09207ad8247c43659492f3a95a7b9436214e97' }, index.h("slot", { key: '8ba9506e3b8ec2c4d129abcb6b1de12a287c0428', name: "label" }), index.h("div", { key: '7b335847b20af8ba46d10d99160741507f86d012', class: "options" }, index.h("slot", { key: '15d1a2ae30a6c740366502fa80abf00e4c944fd8' }))), index.h("slot", { key: '397c5fe6f76fe9762ad36b5b8e4b2bdf8560c33c', name: "end" })));
|
|
10280
10320
|
}
|
|
10281
10321
|
get element() { return index.getElement(this); }
|
|
10282
10322
|
static get watchers() { return {
|
|
10323
|
+
"name": ["nameChange"],
|
|
10283
10324
|
"value": ["valueChanged"],
|
|
10284
10325
|
"readonly": ["watchingReadonly"]
|
|
10285
10326
|
}; }
|
|
@@ -10362,6 +10403,9 @@ const SmoothlyInputRange = class {
|
|
|
10362
10403
|
if (!this.element.isConnected)
|
|
10363
10404
|
await this.unregister();
|
|
10364
10405
|
}
|
|
10406
|
+
nameChange(_, oldName) {
|
|
10407
|
+
Input.formRename(this, oldName);
|
|
10408
|
+
}
|
|
10365
10409
|
async register() {
|
|
10366
10410
|
Input.formAdd(this);
|
|
10367
10411
|
}
|
|
@@ -10411,20 +10455,21 @@ const SmoothlyInputRange = class {
|
|
|
10411
10455
|
}
|
|
10412
10456
|
render() {
|
|
10413
10457
|
var _a, _b, _c;
|
|
10414
|
-
return (index.h(index.Host, { key: '
|
|
10458
|
+
return (index.h(index.Host, { key: '22b8d5fd1665d6f6788e6ab846bf8b2ce44c6277', class: {
|
|
10415
10459
|
"output-side-right": this.outputSide === "right",
|
|
10416
10460
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
10417
|
-
} }, index.h("slot", { key: '
|
|
10461
|
+
} }, index.h("slot", { key: 'b0b1660a8a20bcb63aa21b095f85208125c55053', name: "start" }), index.h("div", { key: 'c420cce4d82edd3e5d1c7371559f21868af2a5b7' }, index.h("label", { key: 'd6fe1081d19ec39308c389eb8c00ea71ae383c3b', htmlFor: this.name }, this.label), index.h("smoothly-input", { key: '03c613001611621e6137bae41549f75dc7860a52', ref: e => (this.input = e), looks: undefined, color: this.color, name: this.name, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: async (e) => (e.stopPropagation(),
|
|
10418
10462
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
10419
10463
|
e.stopPropagation();
|
|
10420
10464
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
10421
|
-
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly }, this.label), index.h("smoothly-display", { key: '
|
|
10465
|
+
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly }, this.label), index.h("smoothly-display", { key: '9a570b6b11a96d750e15b36bb098c4f02ddc9780', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), index.h("input", { key: 'ba72049f0f9e43b582b74ae100e88f5e27acfa7f', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly, onInput: event => {
|
|
10422
10466
|
event.stopPropagation();
|
|
10423
10467
|
this.setValue(event.target.valueAsNumber);
|
|
10424
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: '
|
|
10468
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: '2f80944a3e518ddab0b1ec5755b200710db831f5', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), index.h("slot", { key: '4e6193a66a8e81d83247bdd749676d0469995927', name: "end" })));
|
|
10425
10469
|
}
|
|
10426
10470
|
get element() { return index.getElement(this); }
|
|
10427
10471
|
static get watchers() { return {
|
|
10472
|
+
"name": ["nameChange"],
|
|
10428
10473
|
"value": ["valueChanged"]
|
|
10429
10474
|
}; }
|
|
10430
10475
|
};
|
|
@@ -10571,6 +10616,9 @@ const SmoothlyInputSelect = class {
|
|
|
10571
10616
|
if (!this.element.isConnected)
|
|
10572
10617
|
await this.unregister();
|
|
10573
10618
|
}
|
|
10619
|
+
nameChange(_, oldName) {
|
|
10620
|
+
Input.formRename(this, oldName);
|
|
10621
|
+
}
|
|
10574
10622
|
async register() {
|
|
10575
10623
|
Input.formAdd(this);
|
|
10576
10624
|
}
|
|
@@ -10789,17 +10837,18 @@ const SmoothlyInputSelect = class {
|
|
|
10789
10837
|
this.addedItems = this.addedItems.concat(index.h("smoothly-item", { value: this.filter, selected: true }, this.filter));
|
|
10790
10838
|
}
|
|
10791
10839
|
render() {
|
|
10792
|
-
return (index.h(index.Host, { key: '
|
|
10840
|
+
return (index.h(index.Host, { key: '2e0bb410e5d230002cb3cb8ed02b3750da3a497c', tabIndex: 0, class: { "has-value": this.selected.length !== 0, open: this.open }, onClick: (event) => this.handleShowOptions(event) }, index.h("div", { key: '60e456a563560e640ece562dd1dead3f682b9eed', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), index.h("div", { key: '50da6f6b89c273e0b0ede047f22969e779d1b7f3', class: "icons", ref: element => (this.iconsDiv = element) }, index.h("smoothly-icon", { key: 'abd05fa779f4ce1cf8845c4b43f9f192959700f8', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage }), index.h("slot", { key: 'c0e19bedc57581c8cf939401121beecac7d45fdf', name: "end" }), this.looks == "border" && !this.readonly && (index.h("smoothly-icon", { key: 'b10e9fe42d3bc542984e838c6ad6f2e574b4bf90', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), index.h("slot", { key: 'de8cbe7840c4da3204c87c87ace3c33d5d997d14', name: "label" }), index.h("div", { key: '37da8bb72c6389198f8fb20d96edb7e2b3310eaa', class: { hidden: !this.open, options: true }, ref: (el) => (this.optionsDiv = el) }, this.filter.length > 0 && (index.h("div", { key: 'ad7ed57d81e0aba1093b48fd20ed0ba3de103ee3', class: "search-preview" }, index.h("smoothly-icon", { key: '3d979e5b5d84b245f3a67363289e971e1d7c1edc', name: "search-outline", size: "small" }), this.filter, index.h("smoothly-icon", { key: '83284299f76b4f68e566e61befe9a4755ee9adc3', name: "backspace-outline", size: "small", onClick: e => {
|
|
10793
10841
|
e.stopPropagation();
|
|
10794
10842
|
this.filter = "";
|
|
10795
10843
|
this.element.focus();
|
|
10796
|
-
} }), this.mutable && (index.h("smoothly-icon", { key: '
|
|
10844
|
+
} }), this.mutable && (index.h("smoothly-icon", { key: '59d524f8c30e35d4f21de6ff9da637560be6a245', name: "add", size: "small", onClick: e => {
|
|
10797
10845
|
e.stopPropagation();
|
|
10798
10846
|
this.addItem();
|
|
10799
|
-
} })))), index.h("slot", { key: '
|
|
10847
|
+
} })))), index.h("slot", { key: '4c8006fba5d4c3b890d6c3c656a3d804b392195d' }), this.addedItems)));
|
|
10800
10848
|
}
|
|
10801
10849
|
get element() { return index.getElement(this); }
|
|
10802
10850
|
static get watchers() { return {
|
|
10851
|
+
"name": ["nameChange"],
|
|
10803
10852
|
"selected": ["onSelectedChange"],
|
|
10804
10853
|
"required": ["onRequiredChange"],
|
|
10805
10854
|
"filter": ["onFilterChange"],
|
|
@@ -11141,7 +11190,7 @@ const SmoothlySummary = class {
|
|
|
11141
11190
|
};
|
|
11142
11191
|
SmoothlySummary.style = SmoothlySummaryStyle0;
|
|
11143
11192
|
|
|
11144
|
-
const styleCss$t = ".sc-smoothly-tab-h{display:contents;--line-width:3px}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child{grid-column:span 1;background-color:transparent;border-bottom-color:rgb(var(--smoothly-default-shade));border-bottom-width:var(--line-width);border-bottom-style:solid}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{display:
|
|
11193
|
+
const styleCss$t = ".sc-smoothly-tab-h{display:contents;--line-width:3px}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child{grid-column:span 1;background-color:transparent;border-bottom-color:rgb(var(--smoothly-default-shade));border-bottom-width:var(--line-width);border-bottom-style:solid}[disabled].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child{color:rgba(var(--smoothly-default-contrast), 0.6)}[disabled].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{cursor:not-allowed}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{display:flex;justify-content:center;padding:.5rem;width:fit-content;margin:auto;cursor:pointer;position:relative}[open].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{border-bottom:var(--line-width) solid rgb(var(--smoothly-primary-color));margin-bottom:calc(-1 * var(--line-width))}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label[data-smoothly-tooltip].sc-smoothly-tab:hover::after{content:attr(data-smoothly-tooltip);font-size:0.9rem;position:absolute;top:calc(100% + 0.25rem);padding:0.5rem 0.75rem;border-radius:0.5rem;background-color:rgb(var(--smoothly-medium-color));color:rgb(var(--smoothly-medium-contrast));white-space:nowrap}.sc-smoothly-tab-h>div.sc-smoothly-tab:nth-child(2){grid-row:2 / 3;grid-column:1 / -1}";
|
|
11145
11194
|
const SmoothlyTabStyle0 = styleCss$t;
|
|
11146
11195
|
|
|
11147
11196
|
const SmoothlyTab = class {
|
|
@@ -11151,7 +11200,9 @@ const SmoothlyTab = class {
|
|
|
11151
11200
|
this.smoothlyTabLoad = index.createEvent(this, "smoothlyTabLoad", 7);
|
|
11152
11201
|
this.inputs = {};
|
|
11153
11202
|
this.label = undefined;
|
|
11203
|
+
this.tooltip = undefined;
|
|
11154
11204
|
this.open = undefined;
|
|
11205
|
+
this.disabled = undefined;
|
|
11155
11206
|
}
|
|
11156
11207
|
async openHandler() {
|
|
11157
11208
|
if (this.open)
|
|
@@ -11160,9 +11211,6 @@ const SmoothlyTab = class {
|
|
|
11160
11211
|
? await Promise.all(Object.values(this.inputs).map(input => input.register()))
|
|
11161
11212
|
: await Promise.all(Object.values(this.inputs).map(input => input.unregister()));
|
|
11162
11213
|
}
|
|
11163
|
-
onClick() {
|
|
11164
|
-
this.open = true;
|
|
11165
|
-
}
|
|
11166
11214
|
connectedCallback() {
|
|
11167
11215
|
this.smoothlyTabLoad.emit();
|
|
11168
11216
|
}
|
|
@@ -11177,7 +11225,7 @@ const SmoothlyTab = class {
|
|
|
11177
11225
|
}
|
|
11178
11226
|
}
|
|
11179
11227
|
render() {
|
|
11180
|
-
return (index.h(index.Host, { key: '
|
|
11228
|
+
return (index.h(index.Host, { key: 'ddd39ea5788b35852344370c03f63037557bf03a' }, index.h("div", { key: '42cbdfe1dd72f73f699c6bd794e70603eb6a915c', onClick: () => !this.disabled && (this.open = true) }, index.h("label", { key: '6638cb5339a92b5f96ee8a6acf0df2faef308611', "data-smoothly-tooltip": this.tooltip }, this.label)), index.h("div", { key: '3b7a813d63b059dd48dac84ea3266a7201f77b74', hidden: !this.open }, index.h("slot", { key: '1840647f54119fa413d5a7f9bb915d9b225787fb' }))));
|
|
11181
11229
|
}
|
|
11182
11230
|
static get watchers() { return {
|
|
11183
11231
|
"open": ["openHandler"]
|
|
@@ -12630,7 +12678,7 @@ const SmoothlyTabsDemo = class {
|
|
|
12630
12678
|
this.extraTab = undefined;
|
|
12631
12679
|
}
|
|
12632
12680
|
render() {
|
|
12633
|
-
return (index.h(index.Host, { key: '9feee12ec58877a9c2b5954fdb646cfdd4448fa7' }, index.h("smoothly-tabs", { key: '0a6e41cea6c9221499b00b61f36c2a8a49e2e32b', tabs: "multiple" }, index.h("smoothly-tab", { key: '7275fa75a8488112e6e743901dd5964835a93494', label: "Single Tab", open: true }, index.h("strong", { key: '8c285057650607c4b4cf8489d5dae6b6ecd413e8' }, "Single Tab content here."), " If only one tab is available setting ", index.h("code", { key: '6223eb09fc7f7f9564ceb1b004b2d10e6d6676f5' }, "tabs"), " to", " ", index.h("code", { key: '366a99676a69e290466d483aff4b1adb5fa5ed6e' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly.", !this.extraTab && (index.h("div", { key: '503d1a0dc942c2fbb2b519d50079f1f1f1957925' }, index.h("smoothly-button", { key: 'ef7a097bbea557ccd0a0d31adcd520cedbd405e3', color: "primary", onClick: () => (this.extraTab = true) }, "Click to add extra tab")))), this.extraTab && (index.h("smoothly-tab", { key: '10d65bfee004d0bf735ca4304e8dc8a496e222ed', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), index.h("smoothly-tabs", { key: 'ee9ffc7faf8730934bdfee8f619e576a5f4175a0' }, index.h("smoothly-tab", { key: '
|
|
12681
|
+
return (index.h(index.Host, { key: '9feee12ec58877a9c2b5954fdb646cfdd4448fa7' }, index.h("smoothly-tabs", { key: '0a6e41cea6c9221499b00b61f36c2a8a49e2e32b', tabs: "multiple" }, index.h("smoothly-tab", { key: '7275fa75a8488112e6e743901dd5964835a93494', label: "Single Tab", open: true }, index.h("strong", { key: '8c285057650607c4b4cf8489d5dae6b6ecd413e8' }, "Single Tab content here."), " If only one tab is available setting ", index.h("code", { key: '6223eb09fc7f7f9564ceb1b004b2d10e6d6676f5' }, "tabs"), " to", " ", index.h("code", { key: '366a99676a69e290466d483aff4b1adb5fa5ed6e' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly.", !this.extraTab && (index.h("div", { key: '503d1a0dc942c2fbb2b519d50079f1f1f1957925' }, index.h("smoothly-button", { key: 'ef7a097bbea557ccd0a0d31adcd520cedbd405e3', color: "primary", onClick: () => (this.extraTab = true) }, "Click to add extra tab")))), this.extraTab && (index.h("smoothly-tab", { key: '10d65bfee004d0bf735ca4304e8dc8a496e222ed', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), index.h("smoothly-tabs", { key: 'ee9ffc7faf8730934bdfee8f619e576a5f4175a0' }, index.h("smoothly-tab", { key: '07d00936df7e498c0dd09800f2923251f641c0f8', label: "test1", tooltip: "Tooltip for test1", open: true }, "Hello world!"), index.h("smoothly-tab", { key: '361e46a829cfb45a911fafc77682571d34822b15', label: "test2" }, "this is a test message!"), index.h("smoothly-tab", { key: '968c7bd73bf383b2e6f6ac9db63e57cc0b685603', label: "Disabled tab", tooltip: "Tooltip for test3", disabled: true }, "this is a test message again!"))));
|
|
12634
12682
|
}
|
|
12635
12683
|
};
|
|
12636
12684
|
SmoothlyTabsDemo.style = SmoothlyTabsDemoStyle0;
|