smoothly 1.0.0-alpha.216 → 1.0.0-alpha.218

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.
Files changed (29) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/smoothly-app_80.cjs.entry.js +110 -54
  3. package/dist/cjs/smoothly-app_80.cjs.entry.js.map +1 -1
  4. package/dist/cjs/smoothly.cjs.js +1 -1
  5. package/dist/collection/components/filter/picker/index.js +36 -16
  6. package/dist/collection/components/filter/picker/index.js.map +1 -1
  7. package/dist/collection/components/icon/index.js +38 -1
  8. package/dist/collection/components/icon/index.js.map +1 -1
  9. package/dist/collection/components/icon/style.css +15 -0
  10. package/dist/collection/components/icon-demo/index.js +2 -0
  11. package/dist/collection/components/icon-demo/index.js.map +1 -1
  12. package/dist/collection/components/table/demo/filtered/index.js +11 -2
  13. package/dist/collection/components/table/demo/filtered/index.js.map +1 -1
  14. package/dist/custom-elements/index.js +204 -148
  15. package/dist/custom-elements/index.js.map +1 -1
  16. package/dist/esm/loader.js +1 -1
  17. package/dist/esm/smoothly-app_80.entry.js +110 -54
  18. package/dist/esm/smoothly-app_80.entry.js.map +1 -1
  19. package/dist/esm/smoothly.js +1 -1
  20. package/dist/smoothly/p-661684df.entry.js +2 -0
  21. package/dist/smoothly/p-661684df.entry.js.map +1 -0
  22. package/dist/smoothly/smoothly.esm.js +1 -1
  23. package/dist/smoothly/smoothly.esm.js.map +1 -1
  24. package/dist/types/components/filter/picker/index.d.ts +1 -0
  25. package/dist/types/components/icon/index.d.ts +2 -0
  26. package/dist/types/components.d.ts +6 -0
  27. package/package.json +2 -2
  28. package/dist/smoothly/p-8bb62cda.entry.js +0 -2
  29. package/dist/smoothly/p-8bb62cda.entry.js.map +0 -1
@@ -15,7 +15,7 @@ const patchEsm = () => {
15
15
  const defineCustomElements = (win, options) => {
16
16
  if (typeof window === 'undefined') return Promise.resolve();
17
17
  return patchEsm().then(() => {
18
- return index.bootstrapLazy(JSON.parse("[[\"smoothly-addresses.cjs\",[[2,\"smoothly-addresses\",{\"value\":[16],\"editable\":[16]}]]],[\"smoothly-checkbox.cjs\",[[6,\"smoothly-checkbox\",{\"size\":[1],\"checked\":[1540],\"intermediate\":[1540],\"unavailable\":[516],\"disabled\":[516],\"name\":[1],\"value\":[8],\"t\":[32],\"toggle\":[64],\"clear\":[64]}]]],[\"smoothly-accordion.cjs\",[[6,\"smoothly-accordion\",{\"value\":[1025],\"removeItem\":[64]},[[0,\"smoothlyOpen\",\"handleOpenClose\"],[0,\"smoothlyClose\",\"handleOpenClose\"],[0,\"smoothlyAccordionItemWillLoad\",\"onAccordionItemDidLoad\"]]]]],[\"smoothly-accordion-item.cjs\",[[6,\"smoothly-accordion-item\",{\"name\":[1],\"brand\":[1],\"open\":[1540]}]]],[\"smoothly-color.cjs\",[[6,\"smoothly-color\",{\"color\":[513]}]]],[\"smoothly-country.cjs\",[[2,\"smoothly-country\",{\"value\":[1],\"text\":[1],\"language\":[32]}]]],[\"smoothly-display-date-time.cjs\",[[2,\"smoothly-display-date-time\",{\"datetime\":[1]}]]],[\"smoothly-google-font.cjs\",[[2,\"smoothly-google-font\",{\"value\":[1]}]]],[\"smoothly-reorder.cjs\",[[0,\"smoothly-reorder\"]]],[\"smoothly-trigger-sink.cjs\",[[6,\"smoothly-trigger-sink\",{\"context\":[16],\"destination\":[1],\"filter\":[1]},[[0,\"trigger\",\"TriggerListener\"]]]]],[\"smoothly-trigger-source.cjs\",[[6,\"smoothly-trigger-source\",{\"listen\":[1]}]]],[\"smoothly-app_80.cjs\",[[0,\"smoothly-app-demo\",{\"baseUrl\":[1,\"base-url\"]}],[0,\"smoothly-input-demo\",{\"duration\":[32]}],[2,\"smoothly-table-demo\"],[0,\"smoothly-display-demo\"],[0,\"smoothly-button-demo\"],[4,\"smoothly-app\",{\"label\":[1],\"color\":[1],\"home\":[1],\"menuOpen\":[1540,\"menu-open\"],\"selected\":[32],\"selectRoom\":[64]},[[8,\"popstate\",\"locationChangeHandler\"],[0,\"smoothlyRoomSelected\",\"roomSelectedHandler\"],[0,\"smoothlyRoomLoaded\",\"roomLoadedHandler\"],[8,\"click\",\"clickHandler\"]]],[0,\"smoothly-dialog-demo\"],[6,\"smoothly-app-room\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"path\":[1],\"to\":[1],\"selected\":[1540],\"content\":[16],\"getContent\":[64],\"setSelected\":[64]}],[2,\"smoothly-select-demo\"],[2,\"smoothly-theme-colors\"],[6,\"smoothly-theme-picker\",{\"element\":[1]}],[2,\"smoothly-icon-demo\"],[2,\"smoothly-table-demo-filtered\",{\"criteria\":[32],\"cats\":[32],\"selector\":[32]},[[0,\"smoothlyFilter\",\"onFilterUpdate\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"]]],[2,\"smoothly-table-testing\",{\"counter\":[32]}],[2,\"smoothly-picker-demo\",{\"counter\":[32],\"data\":[32],\"change\":[32]},[[0,\"smoothlyFormSubmit\",\"submitHandler\"]]],[6,\"smoothly-input-date\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"open\":[1028],\"max\":[1025],\"min\":[1025],\"showLabel\":[516,\"show-label\"],\"disabled\":[1028],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyDateSet\",\"dateSetHandler\"]]],[2,\"smoothly-input-date-range\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"open\":[1028],\"showLabel\":[516,\"show-label\"],\"labelStart\":[1,\"label-start\"],\"labelEnd\":[1,\"label-end\"],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyStartChange\",\"onStartChanged\"],[0,\"smoothlyEndChange\",\"onEndChanged\"],[0,\"smoothlyDateRangeSet\",\"onDateRangeSet\"]]],[6,\"smoothly-notifier\",{\"notices\":[32]},[[0,\"notice\",\"onNotice\"],[0,\"remove\",\"onRemove\"]]],[6,\"smoothly-button-confirm\",{\"color\":[1],\"name\":[513],\"doubleClickTime\":[2,\"double-click-time\"],\"expand\":[513],\"fill\":[1],\"disabled\":[516],\"shape\":[1],\"type\":[1],\"size\":[1],\"clickTimeStamp\":[32]}],[6,\"smoothly-dialog\",{\"color\":[513],\"open\":[1540],\"closable\":[516],\"header\":[513]},[[0,\"trigger\",\"TriggerListener\"]]],[2,\"smoothly-input-color\",{\"value\":[1025],\"looks\":[1537],\"name\":[1],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"]]],[2,\"smoothly-burger\",{\"visible\":[1540],\"open\":[1540],\"mediaQuery\":[513,\"media-query\"],\"history\":[32]},[[0,\"click\",\"clickHandler\"],[9,\"resize\",\"resizeHandler\"]]],[6,\"smoothly-input-checkbox\",{\"name\":[1],\"changed\":[1028],\"readonly\":[1540],\"checked\":[1028],\"value\":[4],\"looks\":[1537],\"disabled\":[516],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64]}],[6,\"smoothly-input-file\",{\"accept\":[1],\"color\":[1537],\"looks\":[1537],\"camera\":[513],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"value\":[1040],\"placeholder\":[1537],\"dragging\":[32],\"clear\":[64]}],[6,\"smoothly-input-radio-item\",{\"value\":[1032],\"selected\":[1028],\"looks\":[1537],\"name\":[1025]}],[6,\"smoothly-summary\",{\"open\":[1540],\"color\":[1],\"fill\":[1],\"size\":[1]}],[2,\"smoothly-theme-color\",{\"color\":[1]}],[1,\"smoothly-toggle-switch\",{\"checkmark\":[516],\"selected\":[1540],\"disabled\":[516],\"size\":[513],\"color\":[513],\"fill\":[513]}],[0,\"smoothly-urlencoded\",{\"data\":[1]}],[2,\"smoothly-display-amount\",{\"amount\":[8],\"currency\":[1],\"toInteger\":[4,\"to-integer\"]}],[2,\"smoothly-frame\",{\"url\":[1],\"name\":[1],\"origin\":[1],\"send\":[64]}],[6,\"smoothly-input-edit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"type\":[513],\"size\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-input-radio\",{\"changed\":[1028],\"value\":[1032],\"looks\":[1537],\"clearable\":[4],\"readonly\":[1540],\"name\":[1],\"listen\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64]},[[0,\"smoothlyRadioButtonRegister\",\"handleRegister\"],[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"],[0,\"smoothlySelect\",\"smoothlyRadioInputHandler\"]]],[6,\"smoothly-input-range\",{\"value\":[1026],\"looks\":[1537],\"changed\":[1028],\"readonly\":[1540],\"min\":[2],\"max\":[2],\"name\":[1],\"labelText\":[1,\"label-text\"],\"step\":[8],\"outputSide\":[1,\"output-side\"],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64]}],[6,\"smoothly-input-reset\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-input-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"type\":[513],\"size\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-label\",{\"hue\":[2],\"description\":[1],\"shape\":[513]}],[6,\"smoothly-popup\",{\"visible\":[1540],\"direction\":[1537],\"cssVariables\":[32]}],[6,\"smoothly-quiet\",{\"color\":[1]}],[2,\"smoothly-skeleton\",{\"widths\":[16],\"width\":[1025],\"color\":[1],\"period\":[2],\"distance\":[1],\"align\":[513]}],[2,\"smoothly-svg\",{\"url\":[513],\"size\":[513],\"color\":[1]}],[6,\"smoothly-toggle\",{\"selected\":[1540],\"shape\":[513],\"disabled\":[516],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-filter-picker\",{\"label\":[1],\"property\":[1],\"multiple\":[4]},[[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"]]],[6,\"smoothly-filter\",{\"detailChildren\":[32],\"criteria\":[32],\"expanded\":[32]},[[0,\"smoothlyFilterUpdate\",\"updateHandler\"],[0,\"smoothlyFilterManipulate\",\"manipulateHandler\"],[0,\"smoothlyFilterField\",\"filterFieldHandler\"]]],[6,\"smoothly-filter-input\",{\"property\":[1],\"placeholder\":[1],\"needle\":[32]}],[2,\"smoothly-notification\",{\"notice\":[16],\"closable\":[4],\"icon\":[4],\"tick\":[32]},[[0,\"trigger\",\"onTrigger\"]]],[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]}],[6,\"smoothly-lazy\",{\"show\":[1028],\"content\":[16]}],[6,\"smoothly-input-clear\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-tab\",{\"label\":[1],\"open\":[1540]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-tab-switch\",{\"selectedElement\":[32]},[[0,\"expansionOpen\",\"openChanged\"]]],[6,\"smoothly-table-expandable-row\",{\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[2,\"smoothly-theme-color-variant\",{\"color\":[513],\"variant\":[513]}],[0,\"smoothly-tuple\",{\"tuple\":[16]}],[2,\"smoothly-calendar\",{\"month\":[1025],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"doubleInput\":[516,\"double-input\"],\"firstSelected\":[32]}],[2,\"smoothly-filter-field\",{\"criteria\":[8],\"clear\":[64]}],[6,\"smoothly-table-cell\"],[6,\"smoothly-table-expandable-cell\",{\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"click\",\"onClick\"],[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[2,\"smoothly-load-more\",{\"offset\":[1],\"name\":[1],\"multiple\":[4]}],[6,\"smoothly-table\",{\"root\":[1540],\"color\":[1537],\"align\":[513],\"open\":[1540]},[[0,\"smoothlyExpandableLoad\",\"handleExpandableLoaded\"],[0,\"smoothlyExpandableChange\",\"handleExpandableState\"],[0,\"smoothlySpotlightChange\",\"handleSpotlightState\"],[0,\"smoothlyNestedTable\",\"handleNestedTable\"],[0,\"smoothlyExpansionLoad\",\"handleEvents\"],[0,\"smoothlyExpansionOpen\",\"handleEvents\"]]],[6,\"smoothly-table-footer\"],[6,\"smoothly-table-header\",{\"name\":[1]}],[6,\"smoothly-table-row\",{\"open\":[1540]},[[0,\"smoothlyExpansionLoad\",\"onExpansionLoad\"],[0,\"smoothlyExpandableChange\",\"onExpansionChange\"],[0,\"smoothlyExpansionOpen\",\"onExpansionOpen\"]]],[2,\"smoothly-input-month\",{\"value\":[1025]}],[2,\"smoothly-display\",{\"type\":[1],\"value\":[8],\"currency\":[1],\"country\":[1],\"format\":[16]}],[6,\"smoothly-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"prevent\":[4]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-picker\",{\"looks\":[1537],\"name\":[513],\"open\":[1540],\"mutable\":[516],\"multiple\":[516],\"readonly\":[516],\"validator\":[16],\"selected\":[32],\"display\":[32],\"clear\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyPickerMenuLoaded\",\"menuLoadedHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[8,\"click\",\"clickHandler\"],[8,\"focusin\",\"focusHandler\"]]],[4,\"smoothly-form\",{\"color\":[1537],\"value\":[1040],\"readonly\":[1540],\"looks\":[513],\"name\":[1],\"method\":[1],\"action\":[1],\"processing\":[1540],\"prevent\":[4],\"changed\":[1028],\"listen\":[64],\"submit\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlySubmit\",\"smoothlySubmitHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyFormDisable\",\"smoothlyFormDisableHandler\"]]],[6,\"smoothly-button\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"link\":[1]}],[6,\"smoothly-item\",{\"value\":[8],\"selected\":[1540],\"marked\":[1540],\"filter\":[64]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-trigger\",{\"color\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-picker-menu\",{\"looks\":[1],\"open\":[516],\"multiple\":[516],\"mutable\":[516],\"readonly\":[516],\"validator\":[16],\"backend\":[32],\"options\":[32],\"created\":[32],\"search\":[32],\"valid\":[32],\"display\":[32],\"flip\":[32],\"flipChecked\":[32]},[[9,\"scroll\",\"scrollHandler\"],[0,\"smoothlyPickerOptionLoad\",\"optionLoadHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[0,\"smoothlySlotEmpty\",\"emptyDisplayHandler\"]]],[6,\"smoothly-input-select\",{\"name\":[1],\"color\":[1537],\"looks\":[1537],\"showSelected\":[1540,\"show-selected\"],\"readonly\":[1540],\"clearable\":[4],\"changed\":[1028],\"placeholder\":[8],\"menuHeight\":[1,\"menu-height\"],\"opened\":[32],\"selectedElement\":[32],\"missing\":[32],\"filter\":[32],\"listen\":[64],\"reset\":[64],\"clear\":[64],\"edit\":[64]},[[0,\"click\",\"onClick\"],[0,\"smoothlyItemSelect\",\"onItemSelect\"],[0,\"keydown\",\"onKeyDown\"]]],[1,\"smoothly-picker-option\",{\"selected\":[1540],\"visible\":[1540],\"value\":[1032],\"search\":[1040],\"position\":[514],\"required\":[516],\"readonly\":[32],\"slotted\":[32],\"clickHandler\":[64]}],[6,\"smoothly-slot-elements\",{\"clone\":[4],\"nodes\":[1040]}],[2,\"smoothly-spinner\",{\"active\":[516],\"size\":[513]}],[6,\"smoothly-slotted-elements\",{\"clone\":[4]}],[6,\"smoothly-input\",{\"color\":[1537],\"delay\":[2],\"looks\":[1537],\"name\":[513],\"value\":[1032],\"type\":[513],\"required\":[516],\"showLabel\":[516,\"show-label\"],\"autocomplete\":[4],\"placeholder\":[513],\"disabled\":[4],\"readonly\":[1540],\"currency\":[513],\"changed\":[1028],\"formatter\":[32],\"initialValue\":[32],\"listen\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"getFormData\":[64],\"setKeepFocusOnReRender\":[64],\"setSelectionRange\":[64]},[[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"]]],[2,\"smoothly-icon\",{\"color\":[513],\"fill\":[513],\"name\":[513],\"size\":[513],\"toolTip\":[1,\"tool-tip\"],\"document\":[32]}]]],[\"smoothly-address-display.cjs\",[[2,\"smoothly-address-display\",{\"value\":[16],\"editable\":[4]}]]],[\"smoothly-address.cjs\",[[2,\"smoothly-address\",{\"value\":[16],\"editable\":[4]}]]]]"), options);
18
+ return index.bootstrapLazy(JSON.parse("[[\"smoothly-addresses.cjs\",[[2,\"smoothly-addresses\",{\"value\":[16],\"editable\":[16]}]]],[\"smoothly-checkbox.cjs\",[[6,\"smoothly-checkbox\",{\"size\":[1],\"checked\":[1540],\"intermediate\":[1540],\"unavailable\":[516],\"disabled\":[516],\"name\":[1],\"value\":[8],\"t\":[32],\"toggle\":[64],\"clear\":[64]}]]],[\"smoothly-accordion.cjs\",[[6,\"smoothly-accordion\",{\"value\":[1025],\"removeItem\":[64]},[[0,\"smoothlyOpen\",\"handleOpenClose\"],[0,\"smoothlyClose\",\"handleOpenClose\"],[0,\"smoothlyAccordionItemWillLoad\",\"onAccordionItemDidLoad\"]]]]],[\"smoothly-accordion-item.cjs\",[[6,\"smoothly-accordion-item\",{\"name\":[1],\"brand\":[1],\"open\":[1540]}]]],[\"smoothly-color.cjs\",[[6,\"smoothly-color\",{\"color\":[513]}]]],[\"smoothly-country.cjs\",[[2,\"smoothly-country\",{\"value\":[1],\"text\":[1],\"language\":[32]}]]],[\"smoothly-display-date-time.cjs\",[[2,\"smoothly-display-date-time\",{\"datetime\":[1]}]]],[\"smoothly-google-font.cjs\",[[2,\"smoothly-google-font\",{\"value\":[1]}]]],[\"smoothly-reorder.cjs\",[[0,\"smoothly-reorder\"]]],[\"smoothly-trigger-sink.cjs\",[[6,\"smoothly-trigger-sink\",{\"context\":[16],\"destination\":[1],\"filter\":[1]},[[0,\"trigger\",\"TriggerListener\"]]]]],[\"smoothly-trigger-source.cjs\",[[6,\"smoothly-trigger-source\",{\"listen\":[1]}]]],[\"smoothly-app_80.cjs\",[[0,\"smoothly-app-demo\",{\"baseUrl\":[1,\"base-url\"]}],[0,\"smoothly-input-demo\",{\"duration\":[32]}],[2,\"smoothly-table-demo\"],[0,\"smoothly-display-demo\"],[0,\"smoothly-button-demo\"],[4,\"smoothly-app\",{\"label\":[1],\"color\":[1],\"home\":[1],\"menuOpen\":[1540,\"menu-open\"],\"selected\":[32],\"selectRoom\":[64]},[[8,\"popstate\",\"locationChangeHandler\"],[0,\"smoothlyRoomSelected\",\"roomSelectedHandler\"],[0,\"smoothlyRoomLoaded\",\"roomLoadedHandler\"],[8,\"click\",\"clickHandler\"]]],[0,\"smoothly-dialog-demo\"],[6,\"smoothly-app-room\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"path\":[1],\"to\":[1],\"selected\":[1540],\"content\":[16],\"getContent\":[64],\"setSelected\":[64]}],[2,\"smoothly-select-demo\"],[2,\"smoothly-theme-colors\"],[6,\"smoothly-theme-picker\",{\"element\":[1]}],[2,\"smoothly-icon-demo\"],[2,\"smoothly-table-demo-filtered\",{\"criteria\":[32],\"cats\":[32],\"selector\":[32]},[[0,\"smoothlyFilter\",\"onFilterUpdate\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"]]],[2,\"smoothly-table-testing\",{\"counter\":[32]}],[2,\"smoothly-picker-demo\",{\"counter\":[32],\"data\":[32],\"change\":[32]},[[0,\"smoothlyFormSubmit\",\"submitHandler\"]]],[6,\"smoothly-input-date\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"open\":[1028],\"max\":[1025],\"min\":[1025],\"showLabel\":[516,\"show-label\"],\"disabled\":[1028],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyDateSet\",\"dateSetHandler\"]]],[2,\"smoothly-input-date-range\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"open\":[1028],\"showLabel\":[516,\"show-label\"],\"labelStart\":[1,\"label-start\"],\"labelEnd\":[1,\"label-end\"],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyStartChange\",\"onStartChanged\"],[0,\"smoothlyEndChange\",\"onEndChanged\"],[0,\"smoothlyDateRangeSet\",\"onDateRangeSet\"]]],[6,\"smoothly-notifier\",{\"notices\":[32]},[[0,\"notice\",\"onNotice\"],[0,\"remove\",\"onRemove\"]]],[6,\"smoothly-button-confirm\",{\"color\":[1],\"name\":[513],\"doubleClickTime\":[2,\"double-click-time\"],\"expand\":[513],\"fill\":[1],\"disabled\":[516],\"shape\":[1],\"type\":[1],\"size\":[1],\"clickTimeStamp\":[32]}],[6,\"smoothly-dialog\",{\"color\":[513],\"open\":[1540],\"closable\":[516],\"header\":[513]},[[0,\"trigger\",\"TriggerListener\"]]],[2,\"smoothly-input-color\",{\"value\":[1025],\"looks\":[1537],\"name\":[1],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"]]],[2,\"smoothly-burger\",{\"visible\":[1540],\"open\":[1540],\"mediaQuery\":[513,\"media-query\"],\"history\":[32]},[[0,\"click\",\"clickHandler\"],[9,\"resize\",\"resizeHandler\"]]],[6,\"smoothly-input-checkbox\",{\"name\":[1],\"changed\":[1028],\"readonly\":[1540],\"checked\":[1028],\"value\":[4],\"looks\":[1537],\"disabled\":[516],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64]}],[6,\"smoothly-input-file\",{\"accept\":[1],\"color\":[1537],\"looks\":[1537],\"camera\":[513],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"value\":[1040],\"placeholder\":[1537],\"dragging\":[32],\"clear\":[64]}],[6,\"smoothly-input-radio-item\",{\"value\":[1032],\"selected\":[1028],\"looks\":[1537],\"name\":[1025]}],[6,\"smoothly-summary\",{\"open\":[1540],\"color\":[1],\"fill\":[1],\"size\":[1]}],[2,\"smoothly-theme-color\",{\"color\":[1]}],[1,\"smoothly-toggle-switch\",{\"checkmark\":[516],\"selected\":[1540],\"disabled\":[516],\"size\":[513],\"color\":[513],\"fill\":[513]}],[0,\"smoothly-urlencoded\",{\"data\":[1]}],[2,\"smoothly-display-amount\",{\"amount\":[8],\"currency\":[1],\"toInteger\":[4,\"to-integer\"]}],[2,\"smoothly-frame\",{\"url\":[1],\"name\":[1],\"origin\":[1],\"send\":[64]}],[6,\"smoothly-input-edit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"type\":[513],\"size\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-input-radio\",{\"changed\":[1028],\"value\":[1032],\"looks\":[1537],\"clearable\":[4],\"readonly\":[1540],\"name\":[1],\"listen\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64]},[[0,\"smoothlyRadioButtonRegister\",\"handleRegister\"],[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"],[0,\"smoothlySelect\",\"smoothlyRadioInputHandler\"]]],[6,\"smoothly-input-range\",{\"value\":[1026],\"looks\":[1537],\"changed\":[1028],\"readonly\":[1540],\"min\":[2],\"max\":[2],\"name\":[1],\"labelText\":[1,\"label-text\"],\"step\":[8],\"outputSide\":[1,\"output-side\"],\"clear\":[64],\"listen\":[64],\"edit\":[64],\"reset\":[64]}],[6,\"smoothly-input-reset\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-input-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"display\":[1540],\"shape\":[513],\"type\":[513],\"size\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-label\",{\"hue\":[2],\"description\":[1],\"shape\":[513]}],[6,\"smoothly-popup\",{\"visible\":[1540],\"direction\":[1537],\"cssVariables\":[32]}],[6,\"smoothly-quiet\",{\"color\":[1]}],[2,\"smoothly-skeleton\",{\"widths\":[16],\"width\":[1025],\"color\":[1],\"period\":[2],\"distance\":[1],\"align\":[513]}],[2,\"smoothly-svg\",{\"url\":[513],\"size\":[513],\"color\":[1]}],[6,\"smoothly-toggle\",{\"selected\":[1540],\"shape\":[513],\"disabled\":[516],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-filter-picker\",{\"label\":[1],\"property\":[1],\"multiple\":[4],\"type\":[1]},[[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"]]],[6,\"smoothly-filter\",{\"detailChildren\":[32],\"criteria\":[32],\"expanded\":[32]},[[0,\"smoothlyFilterUpdate\",\"updateHandler\"],[0,\"smoothlyFilterManipulate\",\"manipulateHandler\"],[0,\"smoothlyFilterField\",\"filterFieldHandler\"]]],[6,\"smoothly-filter-input\",{\"property\":[1],\"placeholder\":[1],\"needle\":[32]}],[2,\"smoothly-notification\",{\"notice\":[16],\"closable\":[4],\"icon\":[4],\"tick\":[32]},[[0,\"trigger\",\"onTrigger\"]]],[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]}],[6,\"smoothly-lazy\",{\"show\":[1028],\"content\":[16]}],[6,\"smoothly-input-clear\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-tab\",{\"label\":[1],\"open\":[1540]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-tab-switch\",{\"selectedElement\":[32]},[[0,\"expansionOpen\",\"openChanged\"]]],[6,\"smoothly-table-expandable-row\",{\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[2,\"smoothly-theme-color-variant\",{\"color\":[513],\"variant\":[513]}],[0,\"smoothly-tuple\",{\"tuple\":[16]}],[2,\"smoothly-calendar\",{\"month\":[1025],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"doubleInput\":[516,\"double-input\"],\"firstSelected\":[32]}],[2,\"smoothly-filter-field\",{\"criteria\":[8],\"clear\":[64]}],[6,\"smoothly-table-cell\"],[6,\"smoothly-table-expandable-cell\",{\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"click\",\"onClick\"],[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[2,\"smoothly-load-more\",{\"offset\":[1],\"name\":[1],\"multiple\":[4]}],[6,\"smoothly-table\",{\"root\":[1540],\"color\":[1537],\"align\":[513],\"open\":[1540]},[[0,\"smoothlyExpandableLoad\",\"handleExpandableLoaded\"],[0,\"smoothlyExpandableChange\",\"handleExpandableState\"],[0,\"smoothlySpotlightChange\",\"handleSpotlightState\"],[0,\"smoothlyNestedTable\",\"handleNestedTable\"],[0,\"smoothlyExpansionLoad\",\"handleEvents\"],[0,\"smoothlyExpansionOpen\",\"handleEvents\"]]],[6,\"smoothly-table-footer\"],[6,\"smoothly-table-header\",{\"name\":[1]}],[6,\"smoothly-table-row\",{\"open\":[1540]},[[0,\"smoothlyExpansionLoad\",\"onExpansionLoad\"],[0,\"smoothlyExpandableChange\",\"onExpansionChange\"],[0,\"smoothlyExpansionOpen\",\"onExpansionOpen\"]]],[2,\"smoothly-input-month\",{\"value\":[1025]}],[2,\"smoothly-display\",{\"type\":[1],\"value\":[8],\"currency\":[1],\"country\":[1],\"format\":[16]}],[6,\"smoothly-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"prevent\":[4]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-picker\",{\"looks\":[1537],\"name\":[513],\"open\":[1540],\"mutable\":[516],\"multiple\":[516],\"readonly\":[516],\"validator\":[16],\"selected\":[32],\"display\":[32],\"clear\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyPickerMenuLoaded\",\"menuLoadedHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[8,\"click\",\"clickHandler\"],[8,\"focusin\",\"focusHandler\"]]],[4,\"smoothly-form\",{\"color\":[1537],\"value\":[1040],\"readonly\":[1540],\"looks\":[513],\"name\":[1],\"method\":[1],\"action\":[1],\"processing\":[1540],\"prevent\":[4],\"changed\":[1028],\"listen\":[64],\"submit\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlySubmit\",\"smoothlySubmitHandler\"],[0,\"smoothlyInputLoad\",\"smoothlyInputLoadHandler\"],[0,\"smoothlyFormDisable\",\"smoothlyFormDisableHandler\"]]],[6,\"smoothly-button\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"link\":[1]}],[6,\"smoothly-item\",{\"value\":[8],\"selected\":[1540],\"marked\":[1540],\"filter\":[64]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-trigger\",{\"color\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-picker-menu\",{\"looks\":[1],\"open\":[516],\"multiple\":[516],\"mutable\":[516],\"readonly\":[516],\"validator\":[16],\"backend\":[32],\"options\":[32],\"created\":[32],\"search\":[32],\"valid\":[32],\"display\":[32],\"flip\":[32],\"flipChecked\":[32]},[[9,\"scroll\",\"scrollHandler\"],[0,\"smoothlyPickerOptionLoad\",\"optionLoadHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[0,\"smoothlySlotEmpty\",\"emptyDisplayHandler\"]]],[6,\"smoothly-input-select\",{\"name\":[1],\"color\":[1537],\"looks\":[1537],\"showSelected\":[1540,\"show-selected\"],\"readonly\":[1540],\"clearable\":[4],\"changed\":[1028],\"placeholder\":[8],\"menuHeight\":[1,\"menu-height\"],\"opened\":[32],\"selectedElement\":[32],\"missing\":[32],\"filter\":[32],\"listen\":[64],\"reset\":[64],\"clear\":[64],\"edit\":[64]},[[0,\"click\",\"onClick\"],[0,\"smoothlyItemSelect\",\"onItemSelect\"],[0,\"keydown\",\"onKeyDown\"]]],[1,\"smoothly-picker-option\",{\"selected\":[1540],\"visible\":[1540],\"value\":[1032],\"search\":[1040],\"position\":[514],\"required\":[516],\"readonly\":[32],\"slotted\":[32],\"clickHandler\":[64]}],[6,\"smoothly-slot-elements\",{\"clone\":[4],\"nodes\":[1040]}],[2,\"smoothly-spinner\",{\"active\":[516],\"size\":[513]}],[6,\"smoothly-slotted-elements\",{\"clone\":[4]}],[6,\"smoothly-input\",{\"color\":[1537],\"delay\":[2],\"looks\":[1537],\"name\":[513],\"value\":[1032],\"type\":[513],\"required\":[516],\"showLabel\":[516,\"show-label\"],\"autocomplete\":[4],\"placeholder\":[513],\"disabled\":[4],\"readonly\":[1540],\"currency\":[513],\"changed\":[1028],\"formatter\":[32],\"initialValue\":[32],\"listen\":[64],\"clear\":[64],\"edit\":[64],\"reset\":[64],\"getFormData\":[64],\"setKeepFocusOnReRender\":[64],\"setSelectionRange\":[64]},[[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"]]],[2,\"smoothly-icon\",{\"color\":[513],\"fill\":[513],\"name\":[513],\"size\":[513],\"rotate\":[514],\"flip\":[513],\"toolTip\":[1,\"tool-tip\"],\"document\":[32]}]]],[\"smoothly-address-display.cjs\",[[2,\"smoothly-address-display\",{\"value\":[16],\"editable\":[4]}]]],[\"smoothly-address.cjs\",[[2,\"smoothly-address\",{\"value\":[16],\"editable\":[4]}]]]]"), options);
19
19
  });
20
20
  };
21
21
 
@@ -5463,14 +5463,14 @@ class EndsWith extends Rule {
5463
5463
  return `*${this.needle}`;
5464
5464
  }
5465
5465
  }
5466
- function complete$e(tokens, string) {
5466
+ function complete$f(tokens, string) {
5467
5467
  return Completor.expressions(tokens, (tokens) => {
5468
5468
  return !tokens || (tokens[0].value == "*" && string.value && string.value.endsWith(tokens[1]?.value ?? ""))
5469
5469
  ? [Type.Completion.prepend("*", { value: string?.value ?? "", suggestion: { value: string?.value ?? "" } })]
5470
5470
  : [];
5471
5471
  }, { value: "*", suggestion: { value: "*", description: "endswith" } });
5472
5472
  }
5473
- Type.String.add(complete$e);
5473
+ Type.String.add(complete$f);
5474
5474
 
5475
5475
  class Every extends Rule {
5476
5476
  constructor(criteria) {
@@ -5486,7 +5486,7 @@ class Every extends Rule {
5486
5486
  return `every(${this.criteria.toString()})`;
5487
5487
  }
5488
5488
  }
5489
- function complete$d(tokens, type) {
5489
+ function complete$e(tokens, type) {
5490
5490
  const arrayArgumentor = (tokens) => type.array.some(Type.String.is) && tokens
5491
5491
  ? type.array
5492
5492
  .filter(Type.String.is)
@@ -5508,7 +5508,7 @@ function complete$d(tokens, type) {
5508
5508
  suggestion: { value: "every()" },
5509
5509
  });
5510
5510
  }
5511
- Type.Array.add(complete$d);
5511
+ Type.Array.add(complete$e);
5512
5512
 
5513
5513
  class FunctionCall extends Rule {
5514
5514
  constructor(identifier, argument, definition) {
@@ -5585,14 +5585,14 @@ class GreaterThan extends Rule {
5585
5585
  return this.value.toString();
5586
5586
  }
5587
5587
  }
5588
- function complete$c(tokens, type, baseObject) {
5588
+ function complete$d(tokens, type, baseObject) {
5589
5589
  return Type.Completor.operators(tokens, (tokens) => (tokens && baseObject ? baseObject?.complete(tokens, undefined, type) : []), {
5590
5590
  value: ">",
5591
5591
  suggestion: { value: ">" },
5592
5592
  });
5593
5593
  }
5594
- Type.Number.add(complete$c);
5595
- Type.String.add(complete$c);
5594
+ Type.Number.add(complete$d);
5595
+ Type.String.add(complete$d);
5596
5596
 
5597
5597
  class GreaterThanOrEqual extends Rule {
5598
5598
  constructor(value) {
@@ -5613,14 +5613,14 @@ class GreaterThanOrEqual extends Rule {
5613
5613
  return this.value.toString();
5614
5614
  }
5615
5615
  }
5616
- function complete$b(tokens, type, baseObject) {
5616
+ function complete$c(tokens, type, baseObject) {
5617
5617
  return Type.Completor.operators(tokens, (tokens) => (tokens && baseObject ? baseObject?.complete(tokens, undefined, type) : []), {
5618
5618
  value: ">=",
5619
5619
  suggestion: { value: ">=" },
5620
5620
  });
5621
5621
  }
5622
- Type.Number.add(complete$b);
5623
- Type.String.add(complete$b);
5622
+ Type.Number.add(complete$c);
5623
+ Type.String.add(complete$c);
5624
5624
 
5625
5625
  class Has extends Rule {
5626
5626
  constructor(property) {
@@ -5645,7 +5645,7 @@ class Has extends Rule {
5645
5645
  return `has(${this.property})`;
5646
5646
  }
5647
5647
  }
5648
- function complete$a(tokens, type, baseObject) {
5648
+ function complete$b(tokens, type, baseObject) {
5649
5649
  return baseObject && type?.class == "object"
5650
5650
  ? Completor.functions(tokens, (tokens) => type.completions.filter(c => c.value.startsWith(tokens ? tokens[0].value : "")), {
5651
5651
  value: "has()",
@@ -5654,7 +5654,7 @@ function complete$a(tokens, type, baseObject) {
5654
5654
  })
5655
5655
  : [];
5656
5656
  }
5657
- Type.Object.add(complete$a);
5657
+ Type.Object.add(complete$b);
5658
5658
 
5659
5659
  class Includes extends Rule {
5660
5660
  constructor(needle) {
@@ -5674,7 +5674,7 @@ function includes(needle, value) {
5674
5674
  const result = new Includes(needle);
5675
5675
  return value ? result.is(value) : result;
5676
5676
  }
5677
- function complete$9(tokens, string) {
5677
+ function complete$a(tokens, string) {
5678
5678
  return Completor.expressions(tokens, (tokens) => {
5679
5679
  return !tokens ||
5680
5680
  (tokens.length == 3 && string.value?.includes(tokens[1].value) && string.value != tokens[1].value) ||
@@ -5687,7 +5687,7 @@ function complete$9(tokens, string) {
5687
5687
  : [];
5688
5688
  }, { value: "**", cursor: 1, suggestion: { value: "**", description: "includes" } });
5689
5689
  }
5690
- Type.String.add(complete$9);
5690
+ Type.String.add(complete$a);
5691
5691
 
5692
5692
  class Some extends Rule {
5693
5693
  constructor(criteria) {
@@ -5707,7 +5707,7 @@ function some(criteria, value) {
5707
5707
  const result = new Some(create$1(criteria));
5708
5708
  return value ? result.is(value) : result;
5709
5709
  }
5710
- function complete$8(tokens, type, baseObject) {
5710
+ function complete$9(tokens, type, baseObject) {
5711
5711
  return tokens.length == 0
5712
5712
  ? [{ value: ":", suggestion: { value: ":" } }]
5713
5713
  : tokens[0].value != ":"
@@ -5724,7 +5724,7 @@ function complete$8(tokens, type, baseObject) {
5724
5724
  .map(e => ({ value: e?.value ?? "", suggestion: { value: e?.value ?? "" } })))
5725
5725
  : [];
5726
5726
  }
5727
- Type.Array.add(complete$8);
5727
+ Type.Array.add(complete$9);
5728
5728
 
5729
5729
  class Is extends Rule {
5730
5730
  constructor(value) {
@@ -5770,14 +5770,14 @@ class LesserThan extends Rule {
5770
5770
  return this.value.toString();
5771
5771
  }
5772
5772
  }
5773
- function complete$7(tokens, type, baseObject) {
5773
+ function complete$8(tokens, type, baseObject) {
5774
5774
  return Type.Completor.operators(tokens, (tokens) => (tokens && baseObject ? baseObject?.complete(tokens, undefined, type) : []), {
5775
5775
  value: "<",
5776
5776
  suggestion: { value: "<" },
5777
5777
  });
5778
5778
  }
5779
- Type.Number.add(complete$7);
5780
- Type.String.add(complete$7);
5779
+ Type.Number.add(complete$8);
5780
+ Type.String.add(complete$8);
5781
5781
 
5782
5782
  class LesserThanOrEqual extends Rule {
5783
5783
  constructor(value) {
@@ -5798,21 +5798,21 @@ class LesserThanOrEqual extends Rule {
5798
5798
  return this.value.toString();
5799
5799
  }
5800
5800
  }
5801
- function complete$6(tokens, type, baseObject) {
5801
+ function complete$7(tokens, type, baseObject) {
5802
5802
  return Type.Completor.operators(tokens, (tokens) => (tokens && baseObject ? baseObject?.complete(tokens, undefined, type) : []), {
5803
5803
  value: "<=",
5804
5804
  suggestion: { value: "<=" },
5805
5805
  });
5806
5806
  }
5807
- Type.Number.add(complete$6);
5808
- Type.String.add(complete$6);
5807
+ Type.Number.add(complete$7);
5808
+ Type.String.add(complete$7);
5809
5809
 
5810
- function complete$5(tokens, string) {
5810
+ function complete$6(tokens, string) {
5811
5811
  return Completor.expressions(tokens, (tokens) => {
5812
5812
  return tokens && tokens?.length == 1 && tokens[0].value == "/" ? [{ value: "//", cursor: 1 }] : [];
5813
5813
  }, { value: "//", cursor: 1, suggestion: { value: "//", description: "match" } });
5814
5814
  }
5815
- Type.String.add(complete$5);
5815
+ Type.String.add(complete$6);
5816
5816
 
5817
5817
  class Not extends Rule {
5818
5818
  constructor(criteria) {
@@ -5833,7 +5833,7 @@ function not(criteria, value) {
5833
5833
  const result = new Not(create$1(criteria));
5834
5834
  return value ? result.is(value) : result;
5835
5835
  }
5836
- function complete$4(tokens, type, baseObject) {
5836
+ function complete$5(tokens, type, baseObject) {
5837
5837
  return type && type.class != "object" && baseObject
5838
5838
  ? Completor.expressions(tokens, (tokens) => {
5839
5839
  return tokens[0].value != "!"
@@ -5842,10 +5842,10 @@ function complete$4(tokens, type, baseObject) {
5842
5842
  }, { value: "!", cursor: 1, suggestion: { value: "!", description: "not" } })
5843
5843
  : [];
5844
5844
  }
5845
- Type.String.add(complete$4);
5846
- Type.Number.add(complete$4);
5847
- Type.Boolean.add(complete$4);
5848
- Type.Object.add(complete$4);
5845
+ Type.String.add(complete$5);
5846
+ Type.Number.add(complete$5);
5847
+ Type.Boolean.add(complete$5);
5848
+ Type.Object.add(complete$5);
5849
5849
 
5850
5850
  class Or extends Rule {
5851
5851
  constructor(criterias) {
@@ -5862,13 +5862,13 @@ class Or extends Rule {
5862
5862
  }
5863
5863
  }
5864
5864
  Or.precedence = 30;
5865
- function complete$3(tokens, type, baseObject) {
5865
+ function complete$4(tokens, type, baseObject) {
5866
5866
  return Type.Completor.operators(tokens, (tokens) => (tokens && baseObject ? baseObject?.complete(tokens, undefined, undefined) : []), {
5867
5867
  value: " | ",
5868
5868
  suggestion: { value: "|", description: "or" },
5869
5869
  });
5870
5870
  }
5871
- Type.Number.addArgument(complete$3);
5871
+ Type.Number.addArgument(complete$4);
5872
5872
 
5873
5873
  class Source extends build.Utilities.BufferedEnumerator {
5874
5874
  constructor(tokens, errorHandler) {
@@ -6083,7 +6083,7 @@ function within(criteria, value) {
6083
6083
  const result = new Within(criteria);
6084
6084
  return value ? result.is(value) : result;
6085
6085
  }
6086
- function complete$2(tokens, type, baseObject) {
6086
+ function complete$3(tokens, type, baseObject) {
6087
6087
  return baseObject && type?.class
6088
6088
  ? Completor.functions(tokens, (tokens) => [], {
6089
6089
  value: "within()",
@@ -6092,8 +6092,8 @@ function complete$2(tokens, type, baseObject) {
6092
6092
  })
6093
6093
  : [];
6094
6094
  }
6095
- Type.String.add(complete$2);
6096
- Type.Number.add(complete$2);
6095
+ Type.String.add(complete$3);
6096
+ Type.Number.add(complete$3);
6097
6097
 
6098
6098
  add$2(source => {
6099
6099
  const fetched = source.fetchIf(":", "within", "(");
@@ -6108,6 +6108,46 @@ add$2(source => {
6108
6108
  return fetched && parameters ? new Within(parameters) : undefined;
6109
6109
  });
6110
6110
 
6111
+ class Contains extends Rule {
6112
+ constructor(criteria) {
6113
+ super();
6114
+ this.criteria = criteria;
6115
+ this.precedence = 85;
6116
+ this.class = "Contains";
6117
+ }
6118
+ is(value, object) {
6119
+ return Array.isArray(value) && this.criteria.every(c => value.some(v => c == v));
6120
+ }
6121
+ toString() {
6122
+ return `contains(${this.criteria.join(", ")})`;
6123
+ }
6124
+ }
6125
+ function contains(criteria, value) {
6126
+ const result = new Contains(criteria);
6127
+ return value ? result.is(value) : result;
6128
+ }
6129
+ function complete$2(tokens, type, baseObject) {
6130
+ return Completor.functions(tokens, () => [], {
6131
+ value: "contains()",
6132
+ cursor: 9,
6133
+ suggestion: { value: "contains()" },
6134
+ });
6135
+ }
6136
+ Type.Array.add(complete$2);
6137
+
6138
+ add$2(source => {
6139
+ const fetched = source.fetchIf(":", "contains", "(");
6140
+ const parameters = [];
6141
+ if (fetched && source.peek()) {
6142
+ do {
6143
+ parameters.push(source.fetchIf("any")?.value ?? "");
6144
+ } while (source.fetchIf(","));
6145
+ if (!source.fetchIf(")"))
6146
+ source.raise("Missing end of parenthesis.");
6147
+ }
6148
+ return fetched && parameters.length > 0 ? new Contains(parameters) : undefined;
6149
+ });
6150
+
6111
6151
  add$2(source => {
6112
6152
  const peek = source.peek(3)?.value;
6113
6153
  const fetched = [")", ",", "("].find(s => s == peek) || source.peek(2)?.value == ")" ? source.fetchIf("identifier", "(") : undefined;
@@ -6587,6 +6627,7 @@ const SmoothlyFilterPicker = class {
6587
6627
  this.label = undefined;
6588
6628
  this.property = undefined;
6589
6629
  this.multiple = false;
6630
+ this.type = "string";
6590
6631
  }
6591
6632
  componentDidLoad() {
6592
6633
  this.smoothlyFilterUpdate.emit(this.update.bind(this));
@@ -6602,7 +6643,8 @@ const SmoothlyFilterPicker = class {
6602
6643
  this.updating = true;
6603
6644
  if (expression instanceof And && expression.rules.length > 0)
6604
6645
  for (const option of this.options.values()) {
6605
- option.selected(expression.rules.some(r => r.is(option.state) && this.isCriteria(r, this.property, option.state)));
6646
+ option.selected(expression.rules.some(r => this.isCriteria(r, this.property, option.state) &&
6647
+ (this.type == "array" ? this.findInstanceOf(r, this.property) : r.is(option.state))));
6606
6648
  }
6607
6649
  else
6608
6650
  this.options.forEach(o => o.selected(false));
@@ -6610,14 +6652,12 @@ const SmoothlyFilterPicker = class {
6610
6652
  }
6611
6653
  isCriteria(criteria, key, value) {
6612
6654
  const [property, ...rest] = key.split(".");
6613
- return (criteria instanceof Property &&
6614
- criteria.name == property &&
6615
- ((!this.multiple && criteria.criteria instanceof Is && criteria.criteria.value == value[property]) ||
6616
- (this.multiple &&
6617
- criteria.criteria instanceof Within &&
6618
- criteria.criteria.value.some(e => e == value[property])) ||
6619
- (criteria.criteria instanceof Property &&
6620
- this.isCriteria(criteria.criteria, rest.join("."), value[property]))));
6655
+ return criteria instanceof Property && criteria.name == property
6656
+ ? this.isCriteria(criteria.criteria, rest.join("."), value[property])
6657
+ : this.multiple
6658
+ ? (criteria instanceof Within && criteria.value.some(e => e == value)) ||
6659
+ (this.type == "array" && criteria instanceof Contains && criteria.criteria.some(e => e == value))
6660
+ : criteria instanceof Is && criteria.value == value;
6621
6661
  }
6622
6662
  pickerHandler(event) {
6623
6663
  event.stopPropagation();
@@ -6626,16 +6666,17 @@ const SmoothlyFilterPicker = class {
6626
6666
  const manipulate = (criteria) => {
6627
6667
  let result = criteria;
6628
6668
  const newCriteria = this.getCriteria(argument);
6629
- if (!(result instanceof Rule)) {
6669
+ if (!(result instanceof Rule))
6630
6670
  result = newCriteria ? and(result, newCriteria) : result;
6631
- }
6632
6671
  else if (result instanceof And) {
6633
6672
  const index = result.rules.findIndex(r => this.findInstanceOf(r, this.property));
6634
- !newCriteria
6673
+ !newCriteria && index >= 0
6635
6674
  ? result.rules.splice(index, 1)
6636
- : index == -1
6637
- ? result.rules.push(newCriteria)
6638
- : (result.rules[index] = newCriteria);
6675
+ : !newCriteria
6676
+ ? undefined
6677
+ : index == -1
6678
+ ? result.rules.push(newCriteria)
6679
+ : (result.rules[index] = newCriteria);
6639
6680
  result = and(...result.rules);
6640
6681
  }
6641
6682
  return result;
@@ -6649,12 +6690,13 @@ const SmoothlyFilterPicker = class {
6649
6690
  criteria.name == property &&
6650
6691
  (criteria.criteria instanceof Within ||
6651
6692
  criteria.criteria instanceof Is ||
6693
+ criteria.criteria instanceof Contains ||
6652
6694
  (criteria.criteria instanceof Property && this.findInstanceOf(criteria.criteria, rest.join(".")))));
6653
6695
  }
6654
6696
  getCriteria(detail) {
6655
6697
  let result;
6656
6698
  if (this.multiple && Data.string().array({ criteria: "minLength", value: 1 }).is(detail))
6657
- result = within(detail);
6699
+ result = this.type == "array" ? contains(detail) : within(detail);
6658
6700
  else if (typeof detail == "string")
6659
6701
  result = is(detail);
6660
6702
  else
@@ -7720,7 +7762,7 @@ const SmoothlyFrame = class {
7720
7762
  };
7721
7763
  SmoothlyFrame.style = styleCss$V;
7722
7764
 
7723
- const styleCss$U = "[size].sc-smoothly-icon-h{background:none}.sc-smoothly-icon-h{display:block}[hidden].sc-smoothly-icon-h{display:none}[size=tiny].sc-smoothly-icon-h{width:1.2em;height:1.2em}[size=small].sc-smoothly-icon-h{width:1.4em;height:1.4em}[size=medium].sc-smoothly-icon-h{width:1.8em;height:1.8em}[size=large].sc-smoothly-icon-h{width:2.8em;height:2.8em}[size=xlarge].sc-smoothly-icon-h{width:4em;height:4em}";
7765
+ const styleCss$U = "[size].sc-smoothly-icon-h{background:none}.sc-smoothly-icon-h{display:block}[rotate].sc-smoothly-icon-h{--rotate:rotate(var(--rotation, 0deg));transform:var(--rotate)}[flip=x].sc-smoothly-icon-h{--flip:scaleX(-1);transform:var(--flip)}[flip=y].sc-smoothly-icon-h{--flip:scaleY(-1);transform:var(--flip)}[rotate][flip].sc-smoothly-icon-h{transform:var(--rotate)var(--flip)}[hidden].sc-smoothly-icon-h{display:none}[size=tiny].sc-smoothly-icon-h{width:1.2em;height:1.2em}[size=small].sc-smoothly-icon-h{width:1.4em;height:1.4em}[size=medium].sc-smoothly-icon-h{width:1.8em;height:1.8em}[size=large].sc-smoothly-icon-h{width:2.8em;height:2.8em}[size=xlarge].sc-smoothly-icon-h{width:4em;height:4em}";
7724
7766
 
7725
7767
  const SmoothlyIcon = class {
7726
7768
  constructor(hostRef) {
@@ -7729,6 +7771,8 @@ const SmoothlyIcon = class {
7729
7771
  this.fill = "solid";
7730
7772
  this.name = "empty";
7731
7773
  this.size = "medium";
7774
+ this.rotate = undefined;
7775
+ this.flip = undefined;
7732
7776
  this.toolTip = undefined;
7733
7777
  this.document = undefined;
7734
7778
  }
@@ -7748,7 +7792,8 @@ const SmoothlyIcon = class {
7748
7792
  </svg>`;
7749
7793
  }
7750
7794
  render() {
7751
- return index.h(index.Host, { innerHTML: this.document });
7795
+ var _a;
7796
+ return index.h(index.Host, { innerHTML: this.document, style: { ["--rotation"]: `${(_a = this.rotate) !== null && _a !== void 0 ? _a : 0}deg` } });
7752
7797
  }
7753
7798
  static get watchers() { return {
7754
7799
  "name": ["componentWillLoad"]
@@ -8235,6 +8280,8 @@ const SmoothlyIconDemo = class {
8235
8280
  ]
8236
8281
  .slice(this.page * 100, 100)
8237
8282
  .map(name => (index.h("smoothly-icon", { name: name, toolTip: name })))),
8283
+ index.h("h3", null, "Icon transforms"),
8284
+ index.h("div", null, index.h("smoothly-icon", { name: "bicycle", toolTip: "Normal" }), index.h("smoothly-icon", { name: "bicycle", toolTip: "Flipped horizontally", flip: "x" }), index.h("smoothly-icon", { name: "bicycle", toolTip: "Flipped vertically", flip: "y" }), index.h("smoothly-icon", { name: "bicycle", toolTip: "Rotated 180deg", rotate: 180 }), index.h("smoothly-icon", { name: "wine", toolTip: "Rotated 60deg", rotate: 60 }), index.h("smoothly-icon", { name: "wine", toolTip: "Rotated 213deg", rotate: 213 }), index.h("smoothly-icon", { name: "wine", toolTip: "Rotated -60deg", rotate: -60 }), index.h("smoothly-icon", { name: "musical-notes", toolTip: "Flipped horizontally and rotated 45deg", rotate: 45, flip: "x" })),
8238
8285
  ];
8239
8286
  }
8240
8287
  };
@@ -10514,7 +10561,10 @@ const TableDemoFiltered = class {
10514
10561
  const response = await fetch("https://catfact.ninja/breeds?limit=15");
10515
10562
  this.cats =
10516
10563
  response.status == 200 &&
10517
- (await response.body).data.map((cat) => (Object.assign(Object.assign({}, cat), { price: [...cat.breed].reduce((r, c) => r + c.charCodeAt(0), 0), nested: cat })));
10564
+ (await response.body).data.map((cat) => {
10565
+ var _a, _b;
10566
+ return (Object.assign(Object.assign({}, cat), { price: [...cat.breed].reduce((r, c) => r + c.charCodeAt(0), 0), nested: Object.assign(Object.assign({}, cat), { names: (_a = names[cat.country]) !== null && _a !== void 0 ? _a : [] }), names: (_b = names[cat.country]) !== null && _b !== void 0 ? _b : [] }));
10567
+ });
10518
10568
  }
10519
10569
  render() {
10520
10570
  const cats = this.cats && filter(this.criteria, this.cats);
@@ -10527,9 +10577,15 @@ const TableDemoFiltered = class {
10527
10577
  var _a;
10528
10578
  return ((_a = cat.nested) === null || _a === void 0 ? void 0 : _a.coat) && (index.h("smoothly-picker-option", { value: cat.nested.coat }, cat.nested.coat));
10529
10579
  })), index.h("smoothly-filter-picker", { label: "breed", property: "breed", multiple: false }, this.cats &&
10530
- this.cats.map(cat => cat.breed && index.h("smoothly-picker-option", { value: cat.breed }, cat.breed))), index.h("smoothly-filter-input", { property: "coat", placeholder: "ex. Short" }), index.h("smoothly-filter-input", { property: "nested.coat", placeholder: "ex. Rex" })))), !cats ? ("Failed to load data.") : (index.h("smoothly-table", null, index.h("smoothly-table-row", null, index.h("smoothly-table-header", null, this.selector.render(cats)), index.h("smoothly-table-header", null, "Breed"), index.h("smoothly-table-header", null, "Coat"), index.h("smoothly-table-header", null, "Price")), cats.map(cat => (index.h("smoothly-table-row", null, index.h("smoothly-table-cell", null, this.selector.render(cat)), index.h("smoothly-table-expandable-cell", null, cat.breed, index.h("div", { slot: "detail" }, "Country: ", cat.country)), index.h("smoothly-table-expandable-cell", null, cat.coat, index.h("div", { slot: "detail" }, "Pattern: ", cat.pattern)), index.h("smoothly-table-cell", null, index.h("smoothly-display", { type: "price", value: cat.price, currency: "SEK" }))))), index.h("smoothly-table-footer", null, index.h("td", { colSpan: 5 }, index.h("smoothly-display", { type: "text", value: `Selected: ${this.selector.selected.length != 0 ? this.selector.selected.length : cats ? cats.length : "?"}` })))))));
10580
+ this.cats.map(cat => cat.breed && index.h("smoothly-picker-option", { value: cat.breed }, cat.breed))), index.h("smoothly-filter-picker", { label: "names", property: "nested.names", multiple: true, type: "array" }, Object.values(names).flatMap(names => names.map(name => index.h("smoothly-picker-option", { value: name }, name)))), index.h("smoothly-filter-input", { property: "coat", placeholder: "ex. Short" }), index.h("smoothly-filter-input", { property: "nested.coat", placeholder: "ex. Rex" })))), !cats ? ("Failed to load data.") : (index.h("smoothly-table", null, index.h("smoothly-table-row", null, index.h("smoothly-table-header", null, this.selector.render(cats)), index.h("smoothly-table-header", null, "Breed"), index.h("smoothly-table-header", null, "Coat"), index.h("smoothly-table-header", null, "Price")), cats.map(cat => (index.h("smoothly-table-row", null, index.h("smoothly-table-cell", null, this.selector.render(cat)), index.h("smoothly-table-expandable-cell", null, cat.breed, index.h("div", { slot: "detail" }, "Country: ", cat.country)), index.h("smoothly-table-expandable-cell", null, cat.coat, index.h("div", { slot: "detail" }, "Pattern: ", cat.pattern)), index.h("smoothly-table-cell", null, index.h("smoothly-display", { type: "price", value: cat.price, currency: "SEK" }))))), index.h("smoothly-table-footer", null, index.h("td", { colSpan: 5 }, index.h("smoothly-display", { type: "text", value: `Selected: ${this.selector.selected.length != 0 ? this.selector.selected.length : cats ? cats.length : "?"}` })))))));
10531
10581
  }
10532
10582
  };
10583
+ const names = {
10584
+ "United States": ["bill", "bob", "brad", "joe", "molly"],
10585
+ Australia: ["nigel", "bruce", "sheila", "brad", "shane"],
10586
+ "United Kingdom": ["nigel", "james", "molly", "shane", "bob"],
10587
+ Greece: ["dionysius", "demetrius", "polikarpos"],
10588
+ };
10533
10589
  TableDemoFiltered.style = styleCss$d;
10534
10590
 
10535
10591
  const styleCss$c = ".sc-smoothly-table-expandable-cell-h{display:table-cell;padding:0.3rem 0 0.3rem 0;cursor:pointer;line-height:1.5rem}.sc-smoothly-table-expandable-cell-h:not([open]){box-shadow:0 1px 0 0 rgb(var(--smoothly-color-shade)), 0 1px 0 0 rgb(var(--smoothly-color-shade)) inset}[open].sc-smoothly-table-expandable-cell-h{position:relative;z-index:3;background-color:rgb(var(--smoothly-color));box-shadow:1px 0 0 0 rgb(var(--smoothly-color-shade)) inset, -1px 0 0 0 rgb(var(--smoothly-color-shade)) inset, 0 1px 0 0 rgb(var(--smoothly-color-shade)) inset}.sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{width:1em;padding:0 0.3rem;transition:transform 0.2s, opacity 0.1s;display:flex;height:auto;aspect-ratio:1 / 1;align-self:center;opacity:0.3}.sc-smoothly-table-expandable-cell-h:hover smoothly-icon.sc-smoothly-table-expandable-cell{opacity:1}[open].sc-smoothly-table-expandable-cell-h smoothly-icon.sc-smoothly-table-expandable-cell{transform:rotate(90deg)}.sc-smoothly-table-expandable-cell-h>div.sc-smoothly-table-expandable-cell{display:grid;grid-template-columns:auto 1fr;align-items:center}.hide.sc-smoothly-table-expandable-cell{display:none}td.sc-smoothly-table-expandable-cell-s>*{--expansion-width:1.5rem;--expansion-border-width:3px;position:relative;background-color:rgb(var(--smoothly-color));width:calc(100% + 3rem - 1px);top:1px;left:calc(-1 * var(--expansion-width) + 1px);box-sizing:border-box;padding:0.5rem calc(var(--expansion-width) - 1px);border-bottom:1px solid rgb(var(--smoothly-color-shade))}tr.spotlight>td.sc-smoothly-table-expandable-cell-s>*{box-shadow:calc(var(--expansion-border-width)) 0 0 0 rgb(var(--smoothly-tertiary-color)) inset}tr:not(.spotlight)>td.sc-smoothly-table-expandable-cell-s>*{box-shadow:-1px 0 0 0 rgb(var(--smoothly-tertiary-color)), 1px 0 0 0 rgb(var(--smoothly-tertiary-color))}td.sc-smoothly-table-expandable-cell-s>*::before{content:\"\";position:absolute;display:flex;top:-1px;bottom:0;left:-1px;width:calc(var(--expansion-width) + 1px);border-top:1px solid rgb(var(--smoothly-color-shade))}td.sc-smoothly-table-expandable-cell-s>*::after{content:\"\";position:absolute;display:flex;top:-1px;bottom:0;right:0;width:calc(var(--expansion-width) - 1px);border-top:1px solid rgb(var(--smoothly-color-shade));border-right:1px solid rgb(var(--smoothly-color-shade))}smoothly-table[align=bottom] .sc-smoothly-table-expandable-cell-h{vertical-align:bottom}smoothly-table[align=middle] .sc-smoothly-table-expandable-cell-h{vertical-align:middle}smoothly-table[align=top] .sc-smoothly-table-expandable-cell-h{vertical-align:top}";