smoothly 1.0.1-alpha.9 → 1.1.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.
Files changed (39) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/smoothly-app_81.cjs.entry.js +94 -23
  3. package/dist/cjs/smoothly-app_81.cjs.entry.js.map +1 -1
  4. package/dist/cjs/smoothly.cjs.js +1 -1
  5. package/dist/collection/components/form/index.js +27 -2
  6. package/dist/collection/components/form/index.js.map +1 -1
  7. package/dist/collection/components/input/Editable.js +4 -0
  8. package/dist/collection/components/input/Editable.js.map +1 -1
  9. package/dist/collection/components/input/Input.js +2 -0
  10. package/dist/collection/components/input/Input.js.map +1 -1
  11. package/dist/collection/components/input/date/index.js +21 -1
  12. package/dist/collection/components/input/date/index.js.map +1 -1
  13. package/dist/collection/components/input/date/range/index.js +21 -1
  14. package/dist/collection/components/input/date/range/index.js.map +1 -1
  15. package/dist/collection/components/input/demo/index.js +1 -1
  16. package/dist/collection/components/input/demo/index.js.map +1 -1
  17. package/dist/collection/components/input/file/index.js +223 -33
  18. package/dist/collection/components/input/file/index.js.map +1 -1
  19. package/dist/collection/components/input/file/style.css +10 -15
  20. package/dist/custom-elements/index.js +95 -24
  21. package/dist/custom-elements/index.js.map +1 -1
  22. package/dist/esm/loader.js +1 -1
  23. package/dist/esm/smoothly-app_81.entry.js +94 -23
  24. package/dist/esm/smoothly-app_81.entry.js.map +1 -1
  25. package/dist/esm/smoothly.js +1 -1
  26. package/dist/smoothly/p-7f49e208.entry.js +2 -0
  27. package/dist/smoothly/p-7f49e208.entry.js.map +1 -0
  28. package/dist/smoothly/smoothly.esm.js +1 -1
  29. package/dist/smoothly/smoothly.esm.js.map +1 -1
  30. package/dist/types/components/form/index.d.ts +5 -2
  31. package/dist/types/components/input/Editable.d.ts +4 -0
  32. package/dist/types/components/input/Input.d.ts +3 -0
  33. package/dist/types/components/input/date/index.d.ts +3 -2
  34. package/dist/types/components/input/date/range/index.d.ts +3 -2
  35. package/dist/types/components/input/file/index.d.ts +27 -8
  36. package/dist/types/components.d.ts +15 -2
  37. package/package.json +1 -1
  38. package/dist/smoothly/p-22644183.entry.js +0 -2
  39. package/dist/smoothly/p-22644183.entry.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{p as o,b as e}from"./p-5e387578.js";export{s as setNonce}from"./p-5e387578.js";import"./p-ede93d69.js";const l=()=>{const e=import.meta.url;const l={};if(e!==""){l.resourcesUrl=new URL(".",e).href}return o(l)};l().then((o=>e(JSON.parse('[["p-12182a73",[[2,"smoothly-addresses",{"value":[16],"editable":[16]}]]],["p-522b039a",[[6,"smoothly-checkbox",{"size":[1],"checked":[1540],"intermediate":[1540],"unavailable":[516],"disabled":[516],"name":[1],"value":[8],"t":[32],"toggle":[64],"clear":[64]}]]],["p-823e02b0",[[6,"smoothly-accordion",{"value":[1025],"removeItem":[64]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemWillLoad","onAccordionItemDidLoad"]]]]],["p-21905b32",[[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}]]],["p-6aebb818",[[6,"smoothly-color",{"color":[513]}]]],["p-935c5f16",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["p-eef1c80b",[[2,"smoothly-display-date-time",{"datetime":[1]}]]],["p-cb493516",[[2,"smoothly-google-font",{"value":[1]}]]],["p-b3eac6af",[[0,"smoothly-reorder"]]],["p-3e5ee006",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["p-d8028c80",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["p-22644183",[[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]}],[6,"smoothly-theme-picker",{"element":[1]}],[2,"smoothly-select-demo"],[2,"smoothly-theme-colors"],[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"]]],[2,"smoothly-input-demo-controlled-form",{"name":[32]}],[6,"smoothly-input-date",{"color":[1537],"looks":[1537],"name":[513],"value":[1025],"open":[1028],"max":[1025],"min":[1025],"showLabel":[516,"show-label"],"disabled":[1028],"clear":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyDateSet","dateSetHandler"]]],[2,"smoothly-input-date-range",{"color":[1537],"looks":[1537],"name":[513],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028],"showLabel":[516,"show-label"],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"],"clear":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyStartChange","onStartChanged"],[0,"smoothlyEndChange","onEndChanged"],[0,"smoothlyDateRangeSet","onDateRangeSet"]]],[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]],[2,"smoothly-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],"setInitialValue":[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-radio",{"changed":[1028],"value":[1032],"looks":[1537],"clearable":[4],"readonly":[1540],"name":[1],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[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],"setInitialValue":[64]}],[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-input-submit",{"delete":[516],"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"type":[513],"size":[513],"toolTip":[1,"tool-tip"]}],[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-input-edit",{"color":[513],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"type":[513],"size":[513],"toolTip":[1,"tool-tip"]},[[0,"click","clickHandler"]]],[6,"smoothly-input-reset",{"color":[513],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[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]}],[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]}],[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],"changed":[1028],"open":[1540],"mutable":[516],"multiple":[516],"readonly":[1540],"validator":[16],"selected":[32],"display":[32],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyPickerMenuLoaded","menuLoadedHandler"],[0,"smoothlyPickerOptionLoaded","optionLoadedHandler"],[0,"smoothlyPickerOptionChange","optionChangeHandler"],[8,"click","clickHandler"],[8,"focusin","focusHandler"]]],[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],"multiple":[4],"clearable":[4],"changed":[1028],"placeholder":[520],"menuHeight":[1,"menu-height"],"open":[32],"selected":[32],"filter":[32],"listen":[64],"reset":[64],"clear":[64],"edit":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyItemSelect","onItemSelect"],[0,"keydown","onKeyDown"]]],[4,"smoothly-form",{"color":[1537],"value":[1040],"action":[1],"type":[1],"readonly":[1028],"looks":[513],"name":[1],"prevent":[4],"changed":[1028],"processing":[32],"listen":[64],"submit":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInput","smoothlyInputHandler"],[8,"smoothlyFormSubmit","windowSubmitHandler"],[0,"smoothlyFormSubmit","submitHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyFormDisable","smoothlyFormDisableHandler"]]],[1,"smoothly-picker-option",{"selected":[1540],"visible":[1540],"value":[1032],"search":[1040],"position":[514],"required":[516],"readonly":[32],"slotted":[32],"clickHandler":[64]}],[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],"selectable":[4],"filter":[64]},[[0,"click","onClick"]]],[6,"smoothly-slot-elements",{"clone":[4],"nodes":[1040]}],[6,"smoothly-slotted-elements",{"clone":[4]}],[2,"smoothly-spinner",{"active":[516],"size":[513]}],[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],"setInitialValue":[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"],"latestPromise":[32],"document":[32]}]]],["p-7bf147bf",[[2,"smoothly-address-display",{"value":[16],"editable":[4]}]]],["p-47151a53",[[2,"smoothly-address",{"value":[16],"editable":[4]}]]]]'),o)));
1
+ import{p as o,b as e}from"./p-5e387578.js";export{s as setNonce}from"./p-5e387578.js";import"./p-ede93d69.js";const l=()=>{const e=import.meta.url;const l={};if(e!==""){l.resourcesUrl=new URL(".",e).href}return o(l)};l().then((o=>e(JSON.parse('[["p-12182a73",[[2,"smoothly-addresses",{"value":[16],"editable":[16]}]]],["p-522b039a",[[6,"smoothly-checkbox",{"size":[1],"checked":[1540],"intermediate":[1540],"unavailable":[516],"disabled":[516],"name":[1],"value":[8],"t":[32],"toggle":[64],"clear":[64]}]]],["p-823e02b0",[[6,"smoothly-accordion",{"value":[1025],"removeItem":[64]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemWillLoad","onAccordionItemDidLoad"]]]]],["p-21905b32",[[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}]]],["p-6aebb818",[[6,"smoothly-color",{"color":[513]}]]],["p-935c5f16",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["p-eef1c80b",[[2,"smoothly-display-date-time",{"datetime":[1]}]]],["p-cb493516",[[2,"smoothly-google-font",{"value":[1]}]]],["p-b3eac6af",[[0,"smoothly-reorder"]]],["p-3e5ee006",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["p-d8028c80",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["p-7f49e208",[[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]}],[6,"smoothly-theme-picker",{"element":[1]}],[2,"smoothly-select-demo"],[2,"smoothly-theme-colors"],[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"]]],[2,"smoothly-input-demo-controlled-form",{"name":[32]}],[6,"smoothly-input-date",{"color":[1537],"looks":[1537],"name":[513],"value":[1025],"open":[1028],"max":[1025],"min":[1025],"showLabel":[516,"show-label"],"disabled":[1028],"clear":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyDateSet","dateSetHandler"]]],[2,"smoothly-input-date-range",{"color":[1537],"looks":[1537],"name":[513],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028],"showLabel":[516,"show-label"],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"],"clear":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyStartChange","onStartChanged"],[0,"smoothlyEndChange","onEndChanged"],[0,"smoothlyDateRangeSet","onDateRangeSet"]]],[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]],[2,"smoothly-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],"setInitialValue":[64]}],[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],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"binary":[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-radio",{"changed":[1028],"value":[1032],"looks":[1537],"clearable":[4],"readonly":[1540],"name":[1],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[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],"setInitialValue":[64]}],[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-input-submit",{"delete":[516],"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"type":[513],"size":[513],"toolTip":[1,"tool-tip"]}],[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-input-edit",{"color":[513],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"type":[513],"size":[513],"toolTip":[1,"tool-tip"]},[[0,"click","clickHandler"]]],[6,"smoothly-input-reset",{"color":[513],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[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]}],[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]}],[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],"changed":[1028],"open":[1540],"mutable":[516],"multiple":[516],"readonly":[1540],"validator":[16],"selected":[32],"display":[32],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyPickerMenuLoaded","menuLoadedHandler"],[0,"smoothlyPickerOptionLoaded","optionLoadedHandler"],[0,"smoothlyPickerOptionChange","optionChangeHandler"],[8,"click","clickHandler"],[8,"focusin","focusHandler"]]],[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],"multiple":[4],"clearable":[4],"changed":[1028],"placeholder":[520],"menuHeight":[1,"menu-height"],"open":[32],"selected":[32],"filter":[32],"listen":[64],"reset":[64],"clear":[64],"edit":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyItemSelect","onItemSelect"],[0,"keydown","onKeyDown"]]],[4,"smoothly-form",{"color":[1537],"value":[1040],"action":[1],"type":[1],"readonly":[1028],"looks":[513],"name":[1],"prevent":[4],"changed":[1028],"processing":[32],"listen":[64],"submit":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInput","smoothlyInputHandler"],[8,"smoothlyFormSubmit","windowSubmitHandler"],[0,"smoothlyFormSubmit","submitHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyFormDisable","smoothlyFormDisableHandler"]]],[1,"smoothly-picker-option",{"selected":[1540],"visible":[1540],"value":[1032],"search":[1040],"position":[514],"required":[516],"readonly":[32],"slotted":[32],"clickHandler":[64]}],[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],"selectable":[4],"filter":[64]},[[0,"click","onClick"]]],[6,"smoothly-slot-elements",{"clone":[4],"nodes":[1040]}],[6,"smoothly-slotted-elements",{"clone":[4]}],[2,"smoothly-spinner",{"active":[516],"size":[513]}],[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],"setInitialValue":[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"],"latestPromise":[32],"document":[32]}]]],["p-7bf147bf",[[2,"smoothly-address-display",{"value":[16],"editable":[4]}]]],["p-47151a53",[[2,"smoothly-address",{"value":[16],"editable":[4]}]]]]'),o)));
2
2
  //# sourceMappingURL=smoothly.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","import","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","JSON","parse"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cssVarShim) {\n // shim css vars\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"8GAkBA,MAAMA,EAAe,KA6BjB,MAAMC,EAAaC,OAAOC,KAAKC,IAC/B,MAAMC,EAA6D,GAenE,GAAuBJ,IAAe,GAAI,CACtCI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IACrD,CAYI,OAAOC,EAAeJ,EAAK,ECzE/BL,IAAeU,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,kgZAAuCH"}
1
+ {"version":3,"names":["patchBrowser","importMeta","import","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","JSON","parse"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cssVarShim) {\n // shim css vars\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"8GAkBA,MAAMA,EAAe,KA6BjB,MAAMC,EAAaC,OAAOC,KAAKC,IAC/B,MAAMC,EAA6D,GAenE,GAAuBJ,IAAe,GAAI,CACtCI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IACrD,CAYI,OAAOC,EAAeJ,EAAK,ECzE/BL,IAAeU,MAAKC,GAEXC,EAAcC,KAAAC,MAAA,inZAAuCH"}
@@ -1,11 +1,11 @@
1
- import { EventEmitter } from "../../stencil-public-runtime";
1
+ import { ComponentWillLoad, EventEmitter } from "../../stencil-public-runtime";
2
2
  import { SmoothlyFormCustomEvent } from "../../components";
3
3
  import { Color, Data, Notice, Submit } from "../../model";
4
4
  import { Clearable } from "../input/Clearable";
5
5
  import { Editable } from "../input/Editable";
6
6
  import { Looks } from "../input/Looks";
7
7
  import { Submittable } from "../input/Submittable";
8
- export declare class SmoothlyForm implements Clearable, Submittable, Editable {
8
+ export declare class SmoothlyForm implements ComponentWillLoad, Clearable, Submittable, Editable {
9
9
  element: HTMLSmoothlyFormElement;
10
10
  color?: Color;
11
11
  value: Readonly<Data>;
@@ -17,15 +17,18 @@ export declare class SmoothlyForm implements Clearable, Submittable, Editable {
17
17
  prevent: boolean;
18
18
  changed: boolean;
19
19
  processing?: Promise<boolean>;
20
+ smoothlyFormDisable: EventEmitter<(disabled: boolean) => void>;
20
21
  smoothlyFormInput: EventEmitter<Data>;
21
22
  smoothlyFormSubmit: EventEmitter<Submit>;
22
23
  smoothlyFormReset: EventEmitter<void>;
23
24
  smoothlyFormEdit: EventEmitter<boolean>;
24
25
  smoothlyFormClear: EventEmitter<void>;
25
26
  notice: EventEmitter<Notice>;
27
+ private contentType;
26
28
  private inputs;
27
29
  private readonlyAtLoad;
28
30
  private listeners;
31
+ componentWillLoad(): void;
29
32
  listen(property: "changed", listener: (parent: Editable) => Promise<void>): Promise<void>;
30
33
  watchValue(): void;
31
34
  watchReadonly(): void;
@@ -1,7 +1,9 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
1
2
  import { isly } from "isly";
2
3
  export interface Editable extends Editable.Element {
3
4
  changed: boolean;
4
5
  value?: any;
6
+ smoothlyFormDisable: EventEmitter<(disabled: boolean) => void>;
5
7
  }
6
8
  export declare namespace Editable {
7
9
  interface Element {
@@ -13,9 +15,11 @@ export declare namespace Editable {
13
15
  }
14
16
  namespace Element {
15
17
  const type: isly.object.ExtendableType<Element>;
18
+ const is: isly.Type.IsFunction<Element>;
16
19
  }
17
20
  type Listen = (property: "changed", listener: (parent: Editable) => Promise<void>) => void;
18
21
  type Edit = (editable: boolean) => Promise<void>;
19
22
  type Reset = () => Promise<void>;
20
23
  const type: isly.object.ExtendableType<Editable>;
24
+ const is: isly.Type.IsFunction<Editable>;
21
25
  }
@@ -3,6 +3,7 @@ import { isly } from "isly";
3
3
  import { Color, Data } from "../../model";
4
4
  import { Looks } from "./Looks";
5
5
  export interface Input extends Input.Element {
6
+ smoothlyInputLoad: EventEmitter<(parent: HTMLElement) => void>;
6
7
  smoothlyInput: EventEmitter<Data>;
7
8
  smoothlyInputForm?: EventEmitter<Record<string, Data>>;
8
9
  }
@@ -12,11 +13,13 @@ export declare namespace Input {
12
13
  color?: Color;
13
14
  name: string;
14
15
  looks: Looks;
16
+ binary?: Binary;
15
17
  }
16
18
  namespace Element {
17
19
  const type: isly.object.ExtendableType<Element>;
18
20
  const is: isly.Type.IsFunction<Element>;
19
21
  }
22
+ type Binary = () => Promise<boolean>;
20
23
  const type: isly.object.ExtendableType<Input>;
21
24
  const is: isly.Type.IsFunction<Input>;
22
25
  }
@@ -1,10 +1,10 @@
1
- import { EventEmitter } from "../../../stencil-public-runtime";
1
+ import { ComponentWillLoad, EventEmitter } from "../../../stencil-public-runtime";
2
2
  import { Date } from "isoly";
3
3
  import { Color } from "../../../model";
4
4
  import { Clearable } from "../Clearable";
5
5
  import { Input } from "../Input";
6
6
  import { Looks } from "../Looks";
7
- export declare class InputDate implements Clearable, Input {
7
+ export declare class InputDate implements ComponentWillLoad, Clearable, Input {
8
8
  element: HTMLElement;
9
9
  color?: Color;
10
10
  looks: Looks;
@@ -15,6 +15,7 @@ export declare class InputDate implements Clearable, Input {
15
15
  min: Date;
16
16
  showLabel: boolean;
17
17
  disabled: boolean;
18
+ smoothlyInputLoad: EventEmitter<(parent: HTMLElement) => void>;
18
19
  smoothlyValueChange: EventEmitter<Date>;
19
20
  smoothlyInput: EventEmitter<Record<string, any>>;
20
21
  smoothlyInputLooks: EventEmitter<(looks: Looks, color: Color) => void>;
@@ -1,10 +1,10 @@
1
- import { EventEmitter } from "../../../../stencil-public-runtime";
1
+ import { ComponentWillLoad, EventEmitter } from "../../../../stencil-public-runtime";
2
2
  import { isoly } from "isoly";
3
3
  import { Clearable } from "../../Clearable";
4
4
  import { Input } from "../../Input";
5
5
  import { Looks } from "../../Looks";
6
6
  import { Color, Data } from "./../../../../model";
7
- export declare class InputDateRange implements Clearable, Input {
7
+ export declare class InputDateRange implements ComponentWillLoad, Clearable, Input {
8
8
  element: HTMLElement;
9
9
  color?: Color;
10
10
  looks: Looks;
@@ -18,6 +18,7 @@ export declare class InputDateRange implements Clearable, Input {
18
18
  showLabel: boolean;
19
19
  labelStart: string;
20
20
  labelEnd: string;
21
+ smoothlyInputLoad: EventEmitter<(parent: HTMLElement) => void>;
21
22
  smoothlyValueChange: EventEmitter<isoly.Date>;
22
23
  smoothlyInput: EventEmitter<Data>;
23
24
  smoothlyInputLooks: EventEmitter<(looks: Looks, color: Color) => void>;
@@ -1,12 +1,12 @@
1
- import { EventEmitter } from "../../../stencil-public-runtime";
1
+ import { ComponentWillLoad, EventEmitter, VNode } from "../../../stencil-public-runtime";
2
2
  import { Color } from "../../../model";
3
3
  import { Clearable } from "../Clearable";
4
+ import { Editable } from "../Editable";
4
5
  import { Input } from "../Input";
5
6
  import { Looks } from "../Looks";
6
- export declare class SmoothlyInputFile implements Clearable, Input {
7
- private transfer;
8
- private input?;
9
- dragging: boolean;
7
+ export declare class SmoothlyInputFile implements ComponentWillLoad, Input, Clearable, Editable {
8
+ changed: boolean;
9
+ readonly: boolean;
10
10
  accept?: string;
11
11
  color?: Color;
12
12
  looks: Looks;
@@ -15,10 +15,29 @@ export declare class SmoothlyInputFile implements Clearable, Input {
15
15
  showLabel: boolean;
16
16
  value?: File;
17
17
  placeholder: string | undefined;
18
+ dragging: boolean;
18
19
  smoothlyInputLooks: EventEmitter<(looks: Looks, color: Color) => void>;
19
- smoothlyInput: EventEmitter<Record<string, File>>;
20
- smoothlyChange: EventEmitter<Record<string, File>>;
20
+ smoothlyInput: EventEmitter<Record<string, any>>;
21
+ smoothlyInputLoad: EventEmitter<(parent: HTMLElement) => void>;
22
+ smoothlyFormDisable: EventEmitter<(disabled: boolean) => void>;
23
+ private listener;
24
+ private transfer;
25
+ private input?;
26
+ private initialValue;
27
+ private get files();
21
28
  componentWillLoad(): void;
22
29
  clear(): Promise<void>;
23
- render(): any;
30
+ listen(property: "changed", listener: (parent: Editable) => Promise<void>): Promise<void>;
31
+ edit(editable: boolean): Promise<void>;
32
+ reset(): Promise<void>;
33
+ setInitialValue(): Promise<void>;
34
+ binary(): Promise<boolean>;
35
+ valueChanged(): void;
36
+ inputHandler(event: Event): void;
37
+ dropHandler(event: DragEvent): void;
38
+ clickHandler(event: MouseEvent): void;
39
+ dragOverHandler(event: DragEvent): void;
40
+ dragEnterHandler(event: DragEvent): void;
41
+ dragLeaveHandler(event: DragEvent): void;
42
+ render(): VNode | VNode[];
24
43
  }
@@ -312,12 +312,19 @@ export namespace Components {
312
312
  }
313
313
  interface SmoothlyInputFile {
314
314
  "accept"?: string;
315
+ "binary": () => Promise<boolean>;
315
316
  "camera": "front" | "back";
317
+ "changed": boolean;
316
318
  "clear": () => Promise<void>;
317
319
  "color"?: Color;
320
+ "edit": (editable: boolean) => Promise<void>;
321
+ "listen": (property: "changed", listener: (parent: Editable) => Promise<void>) => Promise<void>;
318
322
  "looks": Looks;
319
323
  "name": string;
320
324
  "placeholder": string | undefined;
325
+ "readonly": boolean;
326
+ "reset": () => Promise<void>;
327
+ "setInitialValue": () => Promise<void>;
321
328
  "showLabel": boolean;
322
329
  "value"?: File;
323
330
  }
@@ -1634,6 +1641,7 @@ declare namespace LocalJSX {
1634
1641
  "name"?: string;
1635
1642
  "onNotice"?: (event: SmoothlyFormCustomEvent<Notice>) => void;
1636
1643
  "onSmoothlyFormClear"?: (event: SmoothlyFormCustomEvent<void>) => void;
1644
+ "onSmoothlyFormDisable"?: (event: SmoothlyFormCustomEvent<(disabled: boolean) => void>) => void;
1637
1645
  "onSmoothlyFormEdit"?: (event: SmoothlyFormCustomEvent<boolean>) => void;
1638
1646
  "onSmoothlyFormInput"?: (event: SmoothlyFormCustomEvent<Data>) => void;
1639
1647
  "onSmoothlyFormReset"?: (event: SmoothlyFormCustomEvent<void>) => void;
@@ -1726,6 +1734,7 @@ declare namespace LocalJSX {
1726
1734
  "min"?: Date;
1727
1735
  "name"?: string;
1728
1736
  "onSmoothlyInput"?: (event: SmoothlyInputDateCustomEvent<Record<string, any>>) => void;
1737
+ "onSmoothlyInputLoad"?: (event: SmoothlyInputDateCustomEvent<(parent: HTMLElement) => void>) => void;
1729
1738
  "onSmoothlyInputLooks"?: (event: SmoothlyInputDateCustomEvent<(looks: Looks, color: Color) => void>) => void;
1730
1739
  "onSmoothlyValueChange"?: (event: SmoothlyInputDateCustomEvent<Date>) => void;
1731
1740
  "open"?: boolean;
@@ -1742,6 +1751,7 @@ declare namespace LocalJSX {
1742
1751
  "min"?: isoly.Date;
1743
1752
  "name"?: string;
1744
1753
  "onSmoothlyInput"?: (event: SmoothlyInputDateRangeCustomEvent<Data>) => void;
1754
+ "onSmoothlyInputLoad"?: (event: SmoothlyInputDateRangeCustomEvent<(parent: HTMLElement) => void>) => void;
1745
1755
  "onSmoothlyInputLooks"?: (event: SmoothlyInputDateRangeCustomEvent<(looks: Looks, color: Color) => void>) => void;
1746
1756
  "onSmoothlyValueChange"?: (event: SmoothlyInputDateRangeCustomEvent<isoly.Date>) => void;
1747
1757
  "open"?: boolean;
@@ -1768,13 +1778,16 @@ declare namespace LocalJSX {
1768
1778
  interface SmoothlyInputFile {
1769
1779
  "accept"?: string;
1770
1780
  "camera"?: "front" | "back";
1781
+ "changed"?: boolean;
1771
1782
  "color"?: Color;
1772
1783
  "looks"?: Looks;
1773
1784
  "name"?: string;
1774
- "onSmoothlyChange"?: (event: SmoothlyInputFileCustomEvent<Record<string, File>>) => void;
1775
- "onSmoothlyInput"?: (event: SmoothlyInputFileCustomEvent<Record<string, File>>) => void;
1785
+ "onSmoothlyFormDisable"?: (event: SmoothlyInputFileCustomEvent<(disabled: boolean) => void>) => void;
1786
+ "onSmoothlyInput"?: (event: SmoothlyInputFileCustomEvent<Record<string, any>>) => void;
1787
+ "onSmoothlyInputLoad"?: (event: SmoothlyInputFileCustomEvent<(parent: HTMLElement) => void>) => void;
1776
1788
  "onSmoothlyInputLooks"?: (event: SmoothlyInputFileCustomEvent<(looks: Looks, color: Color) => void>) => void;
1777
1789
  "placeholder"?: string | undefined;
1790
+ "readonly"?: boolean;
1778
1791
  "showLabel"?: boolean;
1779
1792
  "value"?: File;
1780
1793
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smoothly",
3
- "version": "1.0.1-alpha.9",
3
+ "version": "1.1.0",
4
4
  "description": "Web component library written in Stencil.",
5
5
  "author": "PayFunc",
6
6
  "license": "MIT",