smoothly 1.1.1-alpha.144 → 1.1.1-alpha.145

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 (215) hide show
  1. package/dist/cjs/smoothly-app_104.cjs.entry.js +47 -47
  2. package/dist/cjs/smoothly-app_104.cjs.entry.js.map +1 -1
  3. package/dist/cjs/smoothly-picker-menu_3.cjs.entry.js +1 -1
  4. package/dist/cjs/smoothly-picker-menu_3.cjs.entry.js.map +1 -1
  5. package/dist/cjs/smoothly-picker.cjs.entry.js +3 -3
  6. package/dist/cjs/smoothly-picker.cjs.entry.js.map +1 -1
  7. package/dist/collection/components/filter/select/index.js +8 -9
  8. package/dist/collection/components/filter/select/index.js.map +1 -1
  9. package/dist/collection/components/form/index.js +5 -6
  10. package/dist/collection/components/form/index.js.map +1 -1
  11. package/dist/collection/components/input/Input.js.map +1 -1
  12. package/dist/collection/components/input/checkbox/index.js +8 -9
  13. package/dist/collection/components/input/checkbox/index.js.map +1 -1
  14. package/dist/collection/components/input/color/index.js +9 -10
  15. package/dist/collection/components/input/color/index.js.map +1 -1
  16. package/dist/collection/components/input/date/index.js +12 -13
  17. package/dist/collection/components/input/date/index.js.map +1 -1
  18. package/dist/collection/components/input/date/range/index.js +9 -10
  19. package/dist/collection/components/input/date/range/index.js.map +1 -1
  20. package/dist/collection/components/input/file/index.js +8 -9
  21. package/dist/collection/components/input/file/index.js.map +1 -1
  22. package/dist/collection/components/input/index.js +9 -10
  23. package/dist/collection/components/input/index.js.map +1 -1
  24. package/dist/collection/components/input/month/index.js +6 -6
  25. package/dist/collection/components/input/month/index.js.map +1 -1
  26. package/dist/collection/components/input/radio/index.js +8 -9
  27. package/dist/collection/components/input/radio/index.js.map +1 -1
  28. package/dist/collection/components/input/radio/item/index.js +5 -6
  29. package/dist/collection/components/input/radio/item/index.js.map +1 -1
  30. package/dist/collection/components/input/range/index.js +9 -10
  31. package/dist/collection/components/input/range/index.js.map +1 -1
  32. package/dist/collection/components/input/select/index.js +11 -12
  33. package/dist/collection/components/input/select/index.js.map +1 -1
  34. package/dist/collection/components/picker/index.js +8 -9
  35. package/dist/collection/components/picker/index.js.map +1 -1
  36. package/dist/collection/components/picker/menu/index.js +3 -3
  37. package/dist/collection/components/picker/menu/index.js.map +1 -1
  38. package/dist/components/{p-9c49e612.js → p-029aba2a.js} +6 -6
  39. package/dist/components/p-029aba2a.js.map +1 -0
  40. package/dist/components/{p-0dc6a580.js → p-02e6e1da.js} +4 -4
  41. package/dist/components/{p-0dc6a580.js.map → p-02e6e1da.js.map} +1 -1
  42. package/dist/components/{p-064ad075.js → p-06c37aa3.js} +3 -3
  43. package/dist/components/{p-064ad075.js.map → p-06c37aa3.js.map} +1 -1
  44. package/dist/components/{p-77118ec8.js → p-0bdde9ab.js} +6 -6
  45. package/dist/components/{p-77118ec8.js.map → p-0bdde9ab.js.map} +1 -1
  46. package/dist/components/{p-50b4b8e5.js → p-1037df70.js} +3 -3
  47. package/dist/components/{p-50b4b8e5.js.map → p-1037df70.js.map} +1 -1
  48. package/dist/components/{p-3eab9f52.js → p-10f7253f.js} +2 -2
  49. package/dist/components/{p-3eab9f52.js.map → p-10f7253f.js.map} +1 -1
  50. package/dist/components/{p-c1df829c.js → p-20463703.js} +9 -9
  51. package/dist/components/{p-c1df829c.js.map → p-20463703.js.map} +1 -1
  52. package/dist/components/{p-a0cfbfb1.js → p-216dc4e5.js} +8 -8
  53. package/dist/components/{p-a0cfbfb1.js.map → p-216dc4e5.js.map} +1 -1
  54. package/dist/components/{p-78305d11.js → p-21f8e14b.js} +5 -5
  55. package/dist/components/p-21f8e14b.js.map +1 -0
  56. package/dist/components/{p-b3c61604.js → p-253ca040.js} +8 -8
  57. package/dist/components/{p-b3c61604.js.map → p-253ca040.js.map} +1 -1
  58. package/dist/components/{p-5b32bce3.js → p-29530fcb.js} +12 -12
  59. package/dist/components/{p-5b32bce3.js.map → p-29530fcb.js.map} +1 -1
  60. package/dist/components/{p-deb3fa47.js → p-34f351a2.js} +2 -2
  61. package/dist/components/{p-deb3fa47.js.map → p-34f351a2.js.map} +1 -1
  62. package/dist/components/{p-049f2bc4.js → p-3cde06c0.js} +3 -3
  63. package/dist/components/{p-049f2bc4.js.map → p-3cde06c0.js.map} +1 -1
  64. package/dist/components/{p-2a0ef401.js → p-49c8125f.js} +20 -20
  65. package/dist/components/{p-2a0ef401.js.map → p-49c8125f.js.map} +1 -1
  66. package/dist/components/{p-7ba03719.js → p-4fad1e29.js} +3 -3
  67. package/dist/components/{p-7ba03719.js.map → p-4fad1e29.js.map} +1 -1
  68. package/dist/components/{p-fde8b50d.js → p-518f122d.js} +6 -6
  69. package/dist/components/p-518f122d.js.map +1 -0
  70. package/dist/components/{p-ab7ba000.js → p-520082cb.js} +4 -4
  71. package/dist/components/{p-ab7ba000.js.map → p-520082cb.js.map} +1 -1
  72. package/dist/components/{p-ada4633c.js → p-520c65bc.js} +4 -4
  73. package/dist/components/{p-ada4633c.js.map → p-520c65bc.js.map} +1 -1
  74. package/dist/components/{p-3d81320b.js → p-67c3dfc9.js} +3 -3
  75. package/dist/components/{p-3d81320b.js.map → p-67c3dfc9.js.map} +1 -1
  76. package/dist/components/{p-0a6b1a73.js → p-77ef1aa4.js} +4 -4
  77. package/dist/components/p-77ef1aa4.js.map +1 -0
  78. package/dist/components/{p-809996a3.js → p-7c697796.js} +7 -7
  79. package/dist/components/p-7c697796.js.map +1 -0
  80. package/dist/components/{p-282093b0.js → p-7d9663a0.js} +7 -7
  81. package/dist/components/p-7d9663a0.js.map +1 -0
  82. package/dist/components/{p-702b3951.js → p-7ffe97a1.js} +4 -4
  83. package/dist/components/p-7ffe97a1.js.map +1 -0
  84. package/dist/components/{p-e5626c82.js → p-8592b288.js} +2 -2
  85. package/dist/components/{p-e5626c82.js.map → p-8592b288.js.map} +1 -1
  86. package/dist/components/{p-47dcc502.js → p-86f9decf.js} +2 -2
  87. package/dist/components/{p-47dcc502.js.map → p-86f9decf.js.map} +1 -1
  88. package/dist/components/{p-b9baf30a.js → p-879e2677.js} +4 -4
  89. package/dist/components/{p-b9baf30a.js.map → p-879e2677.js.map} +1 -1
  90. package/dist/components/{p-056e349c.js → p-88c9a573.js} +4 -4
  91. package/dist/components/p-88c9a573.js.map +1 -0
  92. package/dist/components/{p-31245344.js → p-8fbacda5.js} +9 -9
  93. package/dist/components/{p-31245344.js.map → p-8fbacda5.js.map} +1 -1
  94. package/dist/components/{p-782a198d.js → p-98ac5d0d.js} +9 -9
  95. package/dist/components/p-98ac5d0d.js.map +1 -0
  96. package/dist/components/{p-4b6f0f31.js → p-9d6730de.js} +8 -8
  97. package/dist/components/{p-4b6f0f31.js.map → p-9d6730de.js.map} +1 -1
  98. package/dist/components/{p-63c6b0a2.js → p-ab205a76.js} +3 -3
  99. package/dist/components/p-ab205a76.js.map +1 -0
  100. package/dist/components/{p-e79201ff.js → p-abe804db.js} +4 -4
  101. package/dist/components/p-abe804db.js.map +1 -0
  102. package/dist/components/{p-4902e083.js → p-b38f0271.js} +12 -12
  103. package/dist/components/p-b38f0271.js.map +1 -0
  104. package/dist/components/{p-d2c0ced4.js → p-c9eaeb36.js} +23 -23
  105. package/dist/components/{p-d2c0ced4.js.map → p-c9eaeb36.js.map} +1 -1
  106. package/dist/components/{p-17ffb374.js → p-ccc410db.js} +10 -10
  107. package/dist/components/{p-17ffb374.js.map → p-ccc410db.js.map} +1 -1
  108. package/dist/components/{p-601f42fd.js → p-d036020c.js} +5 -5
  109. package/dist/components/p-d036020c.js.map +1 -0
  110. package/dist/components/{p-2f6bb6bd.js → p-de3e9a78.js} +6 -6
  111. package/dist/components/{p-2f6bb6bd.js.map → p-de3e9a78.js.map} +1 -1
  112. package/dist/components/{p-20bb9e36.js → p-e2c24eb2.js} +15 -15
  113. package/dist/components/{p-20bb9e36.js.map → p-e2c24eb2.js.map} +1 -1
  114. package/dist/components/{p-b7dcee2a.js → p-eda4e812.js} +2 -2
  115. package/dist/components/{p-b7dcee2a.js.map → p-eda4e812.js.map} +1 -1
  116. package/dist/components/{p-db859682.js → p-f0cfd27f.js} +3 -3
  117. package/dist/components/{p-db859682.js.map → p-f0cfd27f.js.map} +1 -1
  118. package/dist/components/{p-548895f3.js → p-f1b35aa4.js} +3 -3
  119. package/dist/components/p-f1b35aa4.js.map +1 -0
  120. package/dist/components/{p-4e7ae4a3.js → p-f62680da.js} +4 -4
  121. package/dist/components/{p-4e7ae4a3.js.map → p-f62680da.js.map} +1 -1
  122. package/dist/components/smoothly-app-demo.js +40 -40
  123. package/dist/components/smoothly-calendar.js +1 -1
  124. package/dist/components/smoothly-filter-field.js +1 -1
  125. package/dist/components/smoothly-filter-input.js +1 -1
  126. package/dist/components/smoothly-filter-select.js +1 -1
  127. package/dist/components/smoothly-filter.js +1 -1
  128. package/dist/components/smoothly-form-demo-all.js +1 -1
  129. package/dist/components/smoothly-form-demo-card.js +1 -1
  130. package/dist/components/smoothly-form-demo-controlled.js +1 -1
  131. package/dist/components/smoothly-form-demo-login.js +1 -1
  132. package/dist/components/smoothly-form-demo-prices.js +1 -1
  133. package/dist/components/smoothly-form-demo-transparent.js +1 -1
  134. package/dist/components/smoothly-form-demo-typed.js +1 -1
  135. package/dist/components/smoothly-form-demo.js +1 -1
  136. package/dist/components/smoothly-form.js +1 -1
  137. package/dist/components/smoothly-icon-demo.js +1 -1
  138. package/dist/components/smoothly-input-checkbox-demo.js +15 -15
  139. package/dist/components/smoothly-input-checkbox.js +1 -1
  140. package/dist/components/smoothly-input-clear.js +1 -1
  141. package/dist/components/smoothly-input-color-demo.js +1 -1
  142. package/dist/components/smoothly-input-color.js +1 -1
  143. package/dist/components/smoothly-input-date-range.js +1 -1
  144. package/dist/components/smoothly-input-date.js +1 -1
  145. package/dist/components/smoothly-input-demo-standard.js +1 -1
  146. package/dist/components/smoothly-input-demo.js +1 -1
  147. package/dist/components/smoothly-input-file.js +1 -1
  148. package/dist/components/smoothly-input-month.js +1 -1
  149. package/dist/components/smoothly-input-price-demo.js +1 -1
  150. package/dist/components/smoothly-input-radio-item.js +1 -1
  151. package/dist/components/smoothly-input-radio.js +1 -1
  152. package/dist/components/smoothly-input-range-demo.js +1 -1
  153. package/dist/components/smoothly-input-range.js +1 -1
  154. package/dist/components/smoothly-input-reset.js +1 -1
  155. package/dist/components/smoothly-input-select.js +1 -1
  156. package/dist/components/smoothly-input.js +1 -1
  157. package/dist/components/smoothly-next-demo.js +1 -1
  158. package/dist/components/smoothly-next-table-demo-filtered.js +1 -1
  159. package/dist/components/smoothly-picker-demo.js +5 -5
  160. package/dist/components/smoothly-picker-menu.js +1 -1
  161. package/dist/components/smoothly-picker.js +1 -1
  162. package/dist/components/smoothly-table-demo-filtered.js +1 -1
  163. package/dist/components/smoothly-table-demo.js +1 -1
  164. package/dist/components/smoothly-table-testing.js +1 -1
  165. package/dist/components/smoothly-theme-demo.js +1 -1
  166. package/dist/components/smoothly-theme-picker.js +1 -1
  167. package/dist/esm/smoothly-app_104.entry.js +47 -47
  168. package/dist/esm/smoothly-app_104.entry.js.map +1 -1
  169. package/dist/esm/smoothly-picker-menu_3.entry.js +1 -1
  170. package/dist/esm/smoothly-picker-menu_3.entry.js.map +1 -1
  171. package/dist/esm/smoothly-picker.entry.js +3 -3
  172. package/dist/esm/smoothly-picker.entry.js.map +1 -1
  173. package/dist/smoothly/{p-b5be10be.entry.js → p-1508fa4c.entry.js} +2 -2
  174. package/dist/smoothly/p-1508fa4c.entry.js.map +1 -0
  175. package/dist/smoothly/{p-cfe547e6.entry.js → p-6bc9065b.entry.js} +2 -2
  176. package/dist/smoothly/p-6bc9065b.entry.js.map +1 -0
  177. package/dist/smoothly/p-f13c223e.entry.js +2 -0
  178. package/dist/smoothly/p-f13c223e.entry.js.map +1 -0
  179. package/dist/smoothly/smoothly.esm.js +1 -1
  180. package/dist/types/components/filter/select/index.d.ts +3 -3
  181. package/dist/types/components/form/index.d.ts +2 -2
  182. package/dist/types/components/input/Input.d.ts +1 -1
  183. package/dist/types/components/input/checkbox/index.d.ts +2 -2
  184. package/dist/types/components/input/color/index.d.ts +2 -2
  185. package/dist/types/components/input/date/index.d.ts +2 -2
  186. package/dist/types/components/input/date/range/index.d.ts +2 -2
  187. package/dist/types/components/input/file/index.d.ts +2 -2
  188. package/dist/types/components/input/index.d.ts +2 -2
  189. package/dist/types/components/input/month/index.d.ts +3 -3
  190. package/dist/types/components/input/radio/index.d.ts +2 -2
  191. package/dist/types/components/input/radio/item/index.d.ts +1 -1
  192. package/dist/types/components/input/range/index.d.ts +2 -2
  193. package/dist/types/components/input/select/index.d.ts +2 -2
  194. package/dist/types/components/picker/index.d.ts +3 -3
  195. package/dist/types/components/picker/menu/index.d.ts +1 -1
  196. package/dist/types/components.d.ts +39 -39
  197. package/package.json +1 -1
  198. package/dist/components/p-056e349c.js.map +0 -1
  199. package/dist/components/p-0a6b1a73.js.map +0 -1
  200. package/dist/components/p-282093b0.js.map +0 -1
  201. package/dist/components/p-4902e083.js.map +0 -1
  202. package/dist/components/p-548895f3.js.map +0 -1
  203. package/dist/components/p-601f42fd.js.map +0 -1
  204. package/dist/components/p-63c6b0a2.js.map +0 -1
  205. package/dist/components/p-702b3951.js.map +0 -1
  206. package/dist/components/p-782a198d.js.map +0 -1
  207. package/dist/components/p-78305d11.js.map +0 -1
  208. package/dist/components/p-809996a3.js.map +0 -1
  209. package/dist/components/p-9c49e612.js.map +0 -1
  210. package/dist/components/p-e79201ff.js.map +0 -1
  211. package/dist/components/p-fde8b50d.js.map +0 -1
  212. package/dist/smoothly/p-3b2a9fbf.entry.js +0 -2
  213. package/dist/smoothly/p-3b2a9fbf.entry.js.map +0 -1
  214. package/dist/smoothly/p-b5be10be.entry.js.map +0 -1
  215. package/dist/smoothly/p-cfe547e6.entry.js.map +0 -1
@@ -7229,10 +7229,10 @@ const SmoothlyFilterSelect = class {
7229
7229
  this.menuHeight = undefined;
7230
7230
  this.multiple = false;
7231
7231
  this.type = "string";
7232
- this.looks = "plain";
7232
+ this.looks = undefined;
7233
7233
  }
7234
7234
  componentWillLoad() {
7235
- this.smoothlyInputLooks.emit(looks => (this.looks = looks));
7235
+ this.smoothlyInputLooks.emit(looks => { var _a; return (this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks); });
7236
7236
  }
7237
7237
  async componentDidLoad() {
7238
7238
  this.smoothlyFilterUpdate.emit(this.update.bind(this));
@@ -7317,7 +7317,7 @@ const SmoothlyFilterSelect = class {
7317
7317
  return result && this.property.split(".").reduceRight((r, e) => property(e, r), result);
7318
7318
  }
7319
7319
  render() {
7320
- return (index.h("smoothly-input-select", { key: '8155bce7bef1180ea40265bb34d8da22933673cf', ref: e => (this.selectElement = e), name: this.property, looks: this.looks, multiple: this.multiple, menuHeight: this.menuHeight, onSmoothlyInputLooks: e => e.stopPropagation(), onSmoothlyItemSelect: e => e.stopPropagation(), onSmoothlyInput: e => this.selectHandler(e) }, this.label && (index.h("span", { key: '7261192cd4eeb00d4c68f7aa506e18377de6a3ab', slot: "label" }, [this.label.slice(0, 1).toUpperCase(), this.label.slice(1, this.label.length)].join(""))), index.h("slot", { key: '4cd5211fae5017c648a7df9e854f024257099906', name: "items" })));
7320
+ return (index.h("smoothly-input-select", { key: '7ae9928e80c12151cf0565c25742882ab9e58b8a', ref: e => (this.selectElement = e), name: this.property, looks: this.looks, multiple: this.multiple, menuHeight: this.menuHeight, onSmoothlyInputLooks: e => e.stopPropagation(), onSmoothlyItemSelect: e => e.stopPropagation(), onSmoothlyInput: e => this.selectHandler(e) }, this.label && (index.h("span", { key: 'b312b8873cb50ad55de7ec2e7ad70d2799d08346', slot: "label" }, [this.label.slice(0, 1).toUpperCase(), this.label.slice(1, this.label.length)].join(""))), index.h("slot", { key: 'c68e541981ac0714557f981bedd4ea27b35561d1', name: "items" })));
7321
7321
  }
7322
7322
  get element() { return index.getElement(this); }
7323
7323
  };
@@ -8249,7 +8249,7 @@ const SmoothlyForm = class {
8249
8249
  this.validator = undefined;
8250
8250
  this.type = this.action ? "create" : undefined;
8251
8251
  this.readonly = false;
8252
- this.looks = "plain";
8252
+ this.looks = undefined;
8253
8253
  this.name = undefined;
8254
8254
  this.prevent = true;
8255
8255
  this.changed = false;
@@ -8379,7 +8379,7 @@ const SmoothlyForm = class {
8379
8379
  await Promise.all([...this.inputs.values()].map(input => Editable.Element.type.is(input) && input.setInitialValue()));
8380
8380
  }
8381
8381
  render() {
8382
- return (index.h(index.Host, { key: '1125747bc1e5a848277f3d0a11ea26c0fe4158a2' }, index.h("smoothly-spinner", { key: '5666246196ac9ccacc4621a5286b7756bdebc2e5', overlay: true, hidden: !this.processing }), index.h("form", { key: '64eebd5ef18f27ab67062f24bb5249f2cc397388', onSubmit: !this.prevent ? undefined : e => e.preventDefault(), name: this.name }, index.h("fieldset", { key: '347cd4d3b7b0a48deb08e311ba34cc9e2beba0f9' }, index.h("slot", { key: '76a85d0e0948728f229fa0f4443767316faec857' })), index.h("div", { key: '49ab78ae0ede2c4925a519f01166acc69427aa15' }, index.h("slot", { key: '3ec602e99f4fd9ea5844f0d20fddd10700560379', name: "clear" }), index.h("slot", { key: '0010671aeb36a484b6e26a84eec6ef292524aa70', name: "edit" }), index.h("slot", { key: '8eec2f2279d68a7eab7393ba81bea1e141a356e6', name: "reset" }), index.h("slot", { key: 'df3dd9ef691b92270e552ede0f391912a2ff3114', name: "delete" }), index.h("slot", { key: '23727f0747db5817bc6415ed37ce78cdb775ed6a', name: "submit" })))));
8382
+ return (index.h(index.Host, { key: '8db2bd988a6d36741f2db6c2e7a54bc5afa9f940' }, index.h("smoothly-spinner", { key: '0d17aa5f230cad7f94ed4adadb76091d8aef81e5', overlay: true, hidden: !this.processing }), index.h("form", { key: '09fab657f7f2d09eca3346ab65f6dbe6ad3fdf37', onSubmit: !this.prevent ? undefined : e => e.preventDefault(), name: this.name }, index.h("fieldset", { key: '97b089bde361133677f7848a0825e3fa6b1b5991' }, index.h("slot", { key: 'ce538fca925a608658ff6ddcb39e14b01a193fc1' })), index.h("div", { key: '2632d3fe7777acafaa402a937407e8bee9f59e0f' }, index.h("slot", { key: '9e14ffef6ead8b8859dc29da3726b348bb85a0ca', name: "clear" }), index.h("slot", { key: 'ded085da1c9059c448e136f2d92611c9ac8232af', name: "edit" }), index.h("slot", { key: '779b97b5e85d94cf9f3b055ff6bdf6ec11432181', name: "reset" }), index.h("slot", { key: '48d4b972be33e58de7bfd715f7ee9e9f1cfaaf31', name: "delete" }), index.h("slot", { key: 'ceaa9ab1727f375ac9efc533f4545321bb64e7b1', name: "submit" })))));
8383
8383
  }
8384
8384
  get element() { return index.getElement(this); }
8385
8385
  static get watchers() { return {
@@ -8653,7 +8653,7 @@ const SmoothlyInput = class {
8653
8653
  this.uneditable = this.readonly;
8654
8654
  this.listener = {};
8655
8655
  this.color = undefined;
8656
- this.looks = "plain";
8656
+ this.looks = undefined;
8657
8657
  this.name = undefined;
8658
8658
  this.value = undefined;
8659
8659
  this.type = "text";
@@ -8726,7 +8726,7 @@ const SmoothlyInput = class {
8726
8726
  value,
8727
8727
  selection: { start, end: start, direction: "none" },
8728
8728
  });
8729
- this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), !this.color && (this.color = color)));
8729
+ this.smoothlyInputLooks.emit((looks, color) => { var _a; return ((this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks), !this.color && (this.color = color)); });
8730
8730
  this.smoothlyInputLoad.emit(() => {
8731
8731
  return;
8732
8732
  });
@@ -8898,10 +8898,10 @@ const SmoothlyInput = class {
8898
8898
  }
8899
8899
  render() {
8900
8900
  var _a, _b, _c, _d, _e, _f, _g, _h;
8901
- return (index.h(index.Host, { key: '59dd26ac853a9534c091f00a4d855ae67d7e8746', class: {
8901
+ return (index.h(index.Host, { key: '102a79826fbd94c20706c57edf720bed5e5f5955', class: {
8902
8902
  "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "",
8903
8903
  invalid: !!this.invalid,
8904
- }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, index.h("slot", { key: '23a5bbda5dc8504acf6897fc13fafd27870c9f38', name: "start" }), index.h("div", { key: '35c5afef08166e8d1a2b5cd378c3a4674800fd92' }, index.h("input", { key: '109d8a7693b8188438de4e0c1055a5c60bdf0ec2', color: this.color, name: this.name, type: (_c = this.state) === null || _c === void 0 ? void 0 : _c.type, inputmode: (_d = this.state) === null || _d === void 0 ? void 0 : _d.inputmode, placeholder: this.placeholder, required: this.required, autocomplete: this.autocomplete ? (_e = this.state) === null || _e === void 0 ? void 0 : _e.autocomplete : "off", disabled: this.disabled, readOnly: this.readonly, pattern: ((_f = this.state) === null || _f === void 0 ? void 0 : _f.pattern) && ((_g = this.state) === null || _g === void 0 ? void 0 : _g.pattern.source), value: (_h = this.state) === null || _h === void 0 ? void 0 : _h.value, onInput: (e) => this.onInput(e), onFocus: e => this.onFocus(e), onClick: e => this.onClick(e), onBlur: e => this.onBlur(e), onKeyDown: e => this.onKeyDown(e), ref: (el) => (this.inputElement = el), onPaste: e => this.onPaste(e) }), index.h("label", { key: 'fec88db835e34476c41d14e2e735b699f09f6fde', class: "label float-on-focus", htmlFor: this.name }, index.h("slot", { key: 'a9bb9da0f634fa432e2ea6f5b54b059454bbf8aa' })), index.h("smoothly-icon", { key: 'f5ba5b4fadfef45a3b1184e2a72d62bea9fbd77a', name: "alert-circle", color: "danger", fill: "clear", size: "small" })), index.h("slot", { key: 'ef529c86607c8dfe0f7701de15e61a0b51fa264f', name: "end" })));
8904
+ }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, index.h("slot", { key: '73f7a9644e1c7a21024da254aa466177b7384b68', name: "start" }), index.h("div", { key: '57794c3c882d031c8ec72352e80fb7f4f93258df' }, index.h("input", { key: 'b0b5e63efb83c48449034686bdb3fcd703bd156a', color: this.color, name: this.name, type: (_c = this.state) === null || _c === void 0 ? void 0 : _c.type, inputmode: (_d = this.state) === null || _d === void 0 ? void 0 : _d.inputmode, placeholder: this.placeholder, required: this.required, autocomplete: this.autocomplete ? (_e = this.state) === null || _e === void 0 ? void 0 : _e.autocomplete : "off", disabled: this.disabled, readOnly: this.readonly, pattern: ((_f = this.state) === null || _f === void 0 ? void 0 : _f.pattern) && ((_g = this.state) === null || _g === void 0 ? void 0 : _g.pattern.source), value: (_h = this.state) === null || _h === void 0 ? void 0 : _h.value, onInput: (e) => this.onInput(e), onFocus: e => this.onFocus(e), onClick: e => this.onClick(e), onBlur: e => this.onBlur(e), onKeyDown: e => this.onKeyDown(e), ref: (el) => (this.inputElement = el), onPaste: e => this.onPaste(e) }), index.h("label", { key: '842f25036ac8553d496196f27dfcfb70828118c5', class: "label float-on-focus", htmlFor: this.name }, index.h("slot", { key: 'e7b53446371776783029f3f88a918902537de64f' })), index.h("smoothly-icon", { key: '08bb54f7da7870f01299970011e193f2c66921a8', name: "alert-circle", color: "danger", fill: "clear", size: "small" })), index.h("slot", { key: '815adbc27facde011d4f7612634e115ecff1d5bc', name: "end" })));
8905
8905
  }
8906
8906
  static get watchers() { return {
8907
8907
  "currency": ["typeChange", "onCurrency"],
@@ -8932,7 +8932,7 @@ const SmoothlyInputCheckbox = class {
8932
8932
  this.readonly = false;
8933
8933
  this.checked = false;
8934
8934
  this.value = this.checked;
8935
- this.looks = "plain";
8935
+ this.looks = undefined;
8936
8936
  this.color = undefined;
8937
8937
  this.disabled = undefined;
8938
8938
  }
@@ -8940,7 +8940,7 @@ const SmoothlyInputCheckbox = class {
8940
8940
  var _a, _b;
8941
8941
  this.initialValue = this.checked;
8942
8942
  !this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly));
8943
- this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), (this.color = color)));
8943
+ this.smoothlyInputLooks.emit((looks, color) => { var _a; return ((this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks), !this.color && (this.color = color)); });
8944
8944
  this.smoothlyInputLoad.emit(() => {
8945
8945
  return;
8946
8946
  });
@@ -8973,7 +8973,7 @@ const SmoothlyInputCheckbox = class {
8973
8973
  !this.disabled && !this.readonly && (this.checked = !this.checked);
8974
8974
  }
8975
8975
  render() {
8976
- return (index.h(index.Host, { key: '72a575bc2b384195a9d0e6ea47dba4712ca74293', onClick: () => this.inputHandler() }, index.h("input", { key: '85d2905b106d5e200afdd9541cc2cde72f250b10', type: "checkbox", checked: this.checked }), this.checked && index.h("smoothly-icon", { key: 'cc8c645f2dad198df809b0410d55869e81d3e2d9', name: "checkmark-outline", size: "tiny" }), index.h("label", { key: 'f970b6121ec91c86a37317da5ef5c537027bd6b8' }, index.h("slot", { key: '653ea70bfc8aa7295493748429df8f9c003ca914' }))));
8976
+ return (index.h(index.Host, { key: 'a4d2b1536735268498128c427701c5a43d9db83e', onClick: () => this.inputHandler() }, index.h("input", { key: '6686fe73fe7a349ed4e391f90b7c9d9b7d6aafcd', type: "checkbox", checked: this.checked }), this.checked && index.h("smoothly-icon", { key: 'b02c92c0dc37759efb99a553db9a41f522f9e76b', name: "checkmark-outline", size: "tiny" }), index.h("label", { key: '317b14039a27eb6dc6fb3b002b61d3c1fe0cc0fd' }, index.h("slot", { key: 'adef65ba4451bfd065385a6ed1ea999e8be27b4e' }))));
8977
8977
  }
8978
8978
  static get watchers() { return {
8979
8979
  "checked": ["elementCheck"]
@@ -9041,7 +9041,7 @@ const SmoothlyInputColor = class {
9041
9041
  this.rgb = { r: undefined, g: undefined, b: undefined };
9042
9042
  this.hsl = { h: undefined, s: undefined, l: undefined };
9043
9043
  this.value = undefined;
9044
- this.looks = "plain";
9044
+ this.looks = undefined;
9045
9045
  this.color = undefined;
9046
9046
  this.changed = false;
9047
9047
  this.readonly = false;
@@ -9054,7 +9054,7 @@ const SmoothlyInputColor = class {
9054
9054
  componentWillLoad() {
9055
9055
  this.value && this.setInitialValue();
9056
9056
  this.value && (this.rgb = Scrollable.Color.Hex.toRGB(this.value));
9057
- this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), (this.color = color)));
9057
+ this.smoothlyInputLooks.emit((looks, color) => { var _a; return ((this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks), (this.color = color)); });
9058
9058
  this.smoothlyInput.emit({
9059
9059
  [this.name]: this.output === "rgb"
9060
9060
  ? {
@@ -9172,7 +9172,7 @@ const SmoothlyInputColor = class {
9172
9172
  }
9173
9173
  render() {
9174
9174
  var _a, _b, _c, _d, _e, _f;
9175
- return (index.h(index.Host, { key: 'f7e63191559122426b3347189c8ab6b1366d7dda', style: {
9175
+ return (index.h(index.Host, { key: 'f41ed020ed9b6ef9009e722b6cf1a4828f38987b', style: {
9176
9176
  "--hexCode": this.value,
9177
9177
  "--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
9178
9178
  "--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
@@ -9181,7 +9181,7 @@ const SmoothlyInputColor = class {
9181
9181
  "--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
9182
9182
  "--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
9183
9183
  "--element-height": `${this.element.clientHeight}px`,
9184
- } }, index.h("smoothly-input", { key: 'ff565277e21cc6b8b34df5922a53c1d140b4410d', value: this.value, name: this.name, looks: undefined, color: this.color, type: "hex-color", showLabel: this.showLabel, readonly: this.readonly, onSmoothlyInput: event => (event === null || event === void 0 ? void 0 : event.stopPropagation(), this.hexInputHandler(event.detail[this.name])) }, index.h("slot", { key: '594332a012667d2746c55ed7de574b837b69789d' })), index.h("div", { key: 'f4207e8a10e4ef16ac5f12abcf31b6eb20f533fa', class: "color-sample" }), index.h("smoothly-icon", { key: '50519a3c69276c9a43b3b61bcedcdf8968dafe4a', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && this.openDropdown() }), this.open && !this.readonly && (index.h("div", { key: '019db612d5ab85dd9dd8d7234ddc20924c8e05a3', class: "rgb-sliders" }, index.h("smoothly-toggle-switch", { key: '1cb7ffd4543ca6f1c09a085f7301c8427a5eda30', title: `${this.sliderMode === "rgb" ? "To HSL" : "To RGB"}`, onSmoothlyToggleSwitchChange: event => this.handleSwitchMode(event), size: "tiny", checkmark: false, selected: this.sliderMode === "hsl" }), Object.entries(this.rgb).map(([key, value]) => (index.h("smoothly-input-range", { style: this.sliderMode != "rgb" ? { display: "none" } : {}, name: key, min: 0, max: 255, color: undefined, type: "text", value: value, step: 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), label: key.toUpperCase() }))), Object.entries(this.hsl).map(([key, value]) => (index.h("smoothly-input-range", { style: this.sliderMode != "hsl" ? { display: "none" } : {}, name: key, min: 0, max: key === "h" ? 359 : 1, color: undefined, type: key === "s" || key === "l" ? "percent" : "text", value: (key === "s" || key === "l") && value ? value / 100 : value, step: key === "s" || key === "l" ? 0.01 : 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), label: key.toUpperCase() })))))));
9184
+ } }, index.h("smoothly-input", { key: '8eb1b0295940116951fcd4cd7c28d5898ea282d5', value: this.value, name: this.name, looks: undefined, color: this.color, type: "hex-color", showLabel: this.showLabel, readonly: this.readonly, onSmoothlyInput: event => (event === null || event === void 0 ? void 0 : event.stopPropagation(), this.hexInputHandler(event.detail[this.name])) }, index.h("slot", { key: 'abf902751a8b55b776c1609830aafb5355ba37c3' })), index.h("div", { key: '8cea7592d8e024cdf278e3cedc6db6649de91117', class: "color-sample" }), index.h("smoothly-icon", { key: '60591e7df9b318cad9a4999bb93bb8ad9b0dc411', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && this.openDropdown() }), this.open && !this.readonly && (index.h("div", { key: 'df84ce622ad29ff8ef2a0ea699b8f6de6c1b0598', class: "rgb-sliders" }, index.h("smoothly-toggle-switch", { key: '9777e50a6d3c5001e0f69c8acda3c89e3cf7cb22', title: `${this.sliderMode === "rgb" ? "To HSL" : "To RGB"}`, onSmoothlyToggleSwitchChange: event => this.handleSwitchMode(event), size: "tiny", checkmark: false, selected: this.sliderMode === "hsl" }), Object.entries(this.rgb).map(([key, value]) => (index.h("smoothly-input-range", { style: this.sliderMode != "rgb" ? { display: "none" } : {}, name: key, min: 0, max: 255, color: undefined, type: "text", value: value, step: 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), label: key.toUpperCase() }))), Object.entries(this.hsl).map(([key, value]) => (index.h("smoothly-input-range", { style: this.sliderMode != "hsl" ? { display: "none" } : {}, name: key, min: 0, max: key === "h" ? 359 : 1, color: undefined, type: key === "s" || key === "l" ? "percent" : "text", value: (key === "s" || key === "l") && value ? value / 100 : value, step: key === "s" || key === "l" ? 0.01 : 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), label: key.toUpperCase() })))))));
9185
9185
  }
9186
9186
  get element() { return index.getElement(this); }
9187
9187
  static get watchers() { return {
@@ -9213,7 +9213,7 @@ const SmoothlyInputDate = class {
9213
9213
  this.smoothlyFormDisable = index.createEvent(this, "smoothlyFormDisable", 7);
9214
9214
  this.listener = {};
9215
9215
  this.color = undefined;
9216
- this.looks = "plain";
9216
+ this.looks = undefined;
9217
9217
  this.name = undefined;
9218
9218
  this.changed = false;
9219
9219
  this.readonly = false;
@@ -9227,7 +9227,7 @@ const SmoothlyInputDate = class {
9227
9227
  componentWillLoad() {
9228
9228
  this.setInitialValue();
9229
9229
  this.smoothlyInputLoad.emit(_ => { });
9230
- this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), !this.color && (this.color = color)));
9230
+ this.smoothlyInputLooks.emit((looks, color) => { var _a; return ((this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks), !this.color && (this.color = color)); });
9231
9231
  !this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly));
9232
9232
  }
9233
9233
  async listen(property, listener) {
@@ -9273,16 +9273,16 @@ const SmoothlyInputDate = class {
9273
9273
  }
9274
9274
  render() {
9275
9275
  var _a;
9276
- return (index.h(index.Host, { key: '7887877017bcf97b118f43289bb288aeb5ca3827' }, index.h("smoothly-input", { key: 'be1c68c0537150e07907f0df71ef25b1efd5d129', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: this.name, onFocus: () => !this.readonly && (this.open = !this.open), onClick: () => !this.readonly && (this.open = !this.open), readonly: this.readonly, invalid: this.invalid, type: "date", value: this.value, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
9276
+ return (index.h(index.Host, { key: '5b2e64048cdf0dd5de9e581ab7dec03c1ecaeba2' }, index.h("smoothly-input", { key: 'f8196d27fb114f3448636e2786eccde3ef8d5c81', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: this.name, onFocus: () => !this.readonly && (this.open = !this.open), onClick: () => !this.readonly && (this.open = !this.open), readonly: this.readonly, invalid: this.invalid, type: "date", value: this.value, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
9277
9277
  e.stopPropagation();
9278
9278
  this.value = e.detail[this.name];
9279
- } }, index.h("slot", { key: 'f671b83d4351e839c4e6a2327208cf31c74d0e6e' })), index.h("span", { key: 'dda5f2992fd378823d9cd0673171d5be2885c0d6', class: "icons" }, index.h("slot", { key: 'a32b8beb5340a555e0268ce9dfba10c22c0f5442', name: "end" })), this.open &&
9279
+ } }, index.h("slot", { key: '5dc9d28afe1d9bd0956b034de1d249f29ea42147' })), index.h("span", { key: '8a95c5c9f67ef562984bcf38ec0c2feb9d773be7', class: "icons" }, index.h("slot", { key: '6555e8de4293358303d3defbbf671c90d797fa12', name: "end" })), this.open &&
9280
9280
  !this.readonly && [
9281
- index.h("div", { key: '697a704e31bd579a2a620debb800f6f264ca32d2', onClick: () => (this.open = false) }),
9282
- index.h("nav", { key: '5a820701ad94808453c7a883d43de2d83c263b90' }, index.h("div", { key: '6b01a461b3619c0d7e8d254a45f1ecf6d7d05356', class: "arrow" }), index.h("smoothly-calendar", { key: 'a52ca3d95e606fc99f47ae643ff67d8e66316d1a', doubleInput: false, value: (_a = this.value) !== null && _a !== void 0 ? _a : TimeZone.Date.now(), onSmoothlyValueChange: event => {
9281
+ index.h("div", { key: '26169dafb41be0c70e5badecb81cf05b9e3c6975', onClick: () => (this.open = false) }),
9282
+ index.h("nav", { key: '26e1b3a88b8ec7b1b88f66385b687d0ddeeaf362' }, index.h("div", { key: '12473d6b09401f03699c94abb1bceae1a53e23ea', class: "arrow" }), index.h("smoothly-calendar", { key: '079bfe2918ed52910fc1ecccd9f3155161f78854', doubleInput: false, value: (_a = this.value) !== null && _a !== void 0 ? _a : TimeZone.Date.now(), onSmoothlyValueChange: event => {
9283
9283
  this.value = event.detail;
9284
9284
  event.stopPropagation();
9285
- }, max: this.max, min: this.min }, index.h("div", { key: '57c43401cb70b4a0e1a79b36b0c44e8e461b3fdb', slot: "year-label" }, index.h("slot", { key: '95848615b6895f3c470797e4751283a0fb22f2f6', name: "year-label" })), index.h("div", { key: '5addd6a016499123bf8841819fa3f5f29d678734', slot: "month-label" }, index.h("slot", { key: 'ea175e3be4da00a74b234c427624f1a19fc75bb7', name: "month-label" })))),
9285
+ }, max: this.max, min: this.min }, index.h("div", { key: 'f8deed206e39fd524818545140af46e007152c98', slot: "year-label" }, index.h("slot", { key: 'dac08aac0c2ed1f361a36d18e593ee645ab46b39', name: "year-label" })), index.h("div", { key: 'f904f6e9f4b73f4c05f2310d6774fc8912336126', slot: "month-label" }, index.h("slot", { key: '92dfa1aa0a8de42b15f13da59ca573d86c526347', name: "month-label" })))),
9286
9286
  ]));
9287
9287
  }
9288
9288
  get element() { return index.getElement(this); }
@@ -9305,7 +9305,7 @@ const SmoothlyInputDateRange = class {
9305
9305
  this.listener = {};
9306
9306
  this.name = "dateRange";
9307
9307
  this.color = undefined;
9308
- this.looks = "plain";
9308
+ this.looks = undefined;
9309
9309
  this.readonly = false;
9310
9310
  this.showLabel = true;
9311
9311
  this.start = undefined;
@@ -9322,7 +9322,7 @@ const SmoothlyInputDateRange = class {
9322
9322
  this.setInitialValue();
9323
9323
  this.updateValue();
9324
9324
  this.smoothlyInputLoad.emit(_ => { });
9325
- this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), !this.color && (this.color = color)));
9325
+ this.smoothlyInputLooks.emit((looks, color) => { var _a; return ((this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks), !this.color && (this.color = color)); });
9326
9326
  this.start && this.end && this.smoothlyInput.emit({ [this.name]: { start: this.start, end: this.end } });
9327
9327
  !this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly));
9328
9328
  }
@@ -9374,12 +9374,12 @@ const SmoothlyInputDateRange = class {
9374
9374
  }
9375
9375
  render() {
9376
9376
  const locale = navigator.language;
9377
- return (index.h(index.Host, { key: 'a24b8853d0336193972f10ef27e4ca06de6b0445', tabindex: 0 }, index.h("section", { key: 'b6de5b93597399607ddd453e969a43c7e64d165b', onClick: () => !this.readonly && (this.open = !this.open) }, index.h("smoothly-input", { key: '391a25ed4e565938262c31b59b39f3d128209fdb', type: "text", name: "dateRangeInput", readonly: this.readonly, value: this.start && this.end
9377
+ return (index.h(index.Host, { key: '0d13cfa842b849bfd9608be232d2d3a1667f0496', tabindex: 0 }, index.h("section", { key: '609e72b67c97b6f85f8e565e9fc3f96278c91cea', onClick: () => !this.readonly && (this.open = !this.open) }, index.h("smoothly-input", { key: '2beda4d2e6084b9ac9bad476940761aaafe8116d', type: "text", name: "dateRangeInput", readonly: this.readonly, value: this.start && this.end
9378
9378
  ? `${format(this.start, "date", locale)} — ${format(this.end, "date", locale)}`
9379
9379
  : undefined, invalid: this.invalid, placeholder: this.placeholder, showLabel: this.showLabel, onSmoothlyInput: e => {
9380
9380
  e.stopPropagation();
9381
9381
  this.inputHandler(e.detail);
9382
- } }, index.h("slot", { key: '16adb4f2517d9971e0d0b034ddbc7835cf30004d' }))), index.h("span", { key: 'ffcd3a97548dd2cfe12fe4fc163a0cebd7c773bf', class: "icons" }, index.h("slot", { key: 'dc5a2b8ccd1435dc469054451e1fe58b883cc194', name: "end" })), this.open && index.h("div", { key: '5c1d7908e77484e2e1c14df1b3317b9827e63897', onClick: () => (this.open = false) }), this.open && (index.h("nav", { key: 'da2b085f7d3ff1179ea8df650e978566cfab59a4' }, index.h("div", { key: '55895b562b055ca5d19711c1738c97bdab05d1b8', class: "arrow" }), index.h("smoothly-calendar", { key: '4173ccfef655a2144eb04064a2d6cf7eb011ea38', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => {
9382
+ } }, index.h("slot", { key: '48d70cd5debd4d2124db979027647c925eb92f61' }))), index.h("span", { key: '90ec3d16861f3335e4d36d88dc1001f37c053127', class: "icons" }, index.h("slot", { key: '0fb22022aa1a8f43d4c66fd9979100164cfb82a0', name: "end" })), this.open && index.h("div", { key: 'fe5ead0dedf79e5f3d5d969ae516a076a5b2d587', onClick: () => (this.open = false) }), this.open && (index.h("nav", { key: 'ea82a81aadaa3c76168a97f7b66b6d58c476e7f0' }, index.h("div", { key: '60dbba9c87ddd59e23150adf9ae455139d3aa09d', class: "arrow" }), index.h("smoothly-calendar", { key: '62027c9060591f71c7a509fb1a7db09adfc5c90c', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => {
9383
9383
  e.stopPropagation();
9384
9384
  this.start = e.detail;
9385
9385
  }, onSmoothlyEndChange: e => {
@@ -9507,7 +9507,7 @@ const SmoothlyInputFile = class {
9507
9507
  this.readonly = false;
9508
9508
  this.accept = undefined;
9509
9509
  this.color = undefined;
9510
- this.looks = "plain";
9510
+ this.looks = undefined;
9511
9511
  this.camera = undefined;
9512
9512
  this.name = undefined;
9513
9513
  this.showLabel = true;
@@ -9521,7 +9521,7 @@ const SmoothlyInputFile = class {
9521
9521
  return this.transfer.files;
9522
9522
  }
9523
9523
  componentWillLoad() {
9524
- this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), !this.color && (this.color = color)));
9524
+ this.smoothlyInputLooks.emit((looks, color) => { var _a; return ((this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks), !this.color && (this.color = color)); });
9525
9525
  this.smoothlyInput.emit({ [this.name]: this.value });
9526
9526
  this.smoothlyInputLoad.emit(() => { });
9527
9527
  !this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly));
@@ -9584,7 +9584,7 @@ const SmoothlyInputFile = class {
9584
9584
  }
9585
9585
  render() {
9586
9586
  var _a, _b, _c;
9587
- return (index.h(index.Host, { key: '9afeffc575ea1b2daf40c3614a07f5a490db04cb', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, index.h("label", { key: '30c3d3d86dbb89bfec7ed9ff58485824f6209c60' }, index.h("slot", { key: '1f6facb309c2f1d86effd784b0569374ce99a7db', name: "label" })), index.h("div", { key: '8f6d0b9b987b3d9e919230c5177e1a066014e7cb', class: "input" }, index.h("smoothly-button", { key: '282148e8c477a1dd9b55a92917ef2ef7965c84cc', color: this.color, fill: "clear", size: "flexible" }, index.h("slot", { key: '9dc6a19a34fb96931449f4e73f5f78e4609396f2', name: "button" })), index.h("span", { key: '4a118ab4d3ebc618b4b1c3eadbbb26aecef99d22' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), index.h("div", { key: 'a5afb2a9e3d9a70d91aab9791de76e25a3d90e46', class: "mask", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }), index.h("input", { key: '09e58ee22448b0c1b42265f94e21d110303e367c', ref: element => (this.input = element), type: "file", capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), index.h("slot", { key: '755909f1d8df0f2c710615db2ad396a4182bcaba' })));
9587
+ return (index.h(index.Host, { key: '3840a05fb38bbb94d9d7f922b70abd70bf68f3b9', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, index.h("label", { key: '796604782bb3896880bbb1a4877fea20f5b4a714' }, index.h("slot", { key: '3ed236d6e298fbb5bf4a182d263587ce876daaa9', name: "label" })), index.h("div", { key: '8f7fdec5e503c82f3ea062aff12b74b6cb39b190', class: "input" }, index.h("smoothly-button", { key: '39fa7e965699f944ff4d8abf6aa8ea481a4d17fb', color: this.color, fill: "clear", size: "flexible" }, index.h("slot", { key: 'e448ffeb5d43a243ac6be01944cec7ddf63f6542', name: "button" })), index.h("span", { key: 'a210009eda5924b32b0766504ac8de957479872e' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), index.h("div", { key: '78a9239678504e8f7a9af52d94c5702d95289d6e', class: "mask", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }), index.h("input", { key: 'f8e94fbd4ca9b082fee12ab5c470203011be3c85', ref: element => (this.input = element), type: "file", capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), index.h("slot", { key: 'a1b467bb31342406cac7ce6db6582624ae72b3ac' })));
9588
9588
  }
9589
9589
  static get watchers() { return {
9590
9590
  "value": ["valueChanged"]
@@ -9614,7 +9614,7 @@ const SmoothlyInputMonth = class {
9614
9614
  this.showLabel = true;
9615
9615
  }
9616
9616
  componentWillLoad() {
9617
- this.smoothlyInputLooks.emit(looks => (this.looks = looks));
9617
+ this.smoothlyInputLooks.emit(looks => { var _a; return (this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks); });
9618
9618
  this.smoothlyInputLoad.emit(() => { });
9619
9619
  !this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly));
9620
9620
  this.valueChanged();
@@ -9675,7 +9675,7 @@ const SmoothlyInputMonth = class {
9675
9675
  }
9676
9676
  render() {
9677
9677
  var _a, _b;
9678
- return (index.h(index.Host, { key: '45702b0d974a55b21d9ada8e43bc34fc0559eebe' }, index.h("smoothly-icon", { key: '3c884bd2c300483f8f67df1fae466beb2c5bbfa9', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly }, onClick: () => this.adjustMonth(-1) }), index.h("smoothly-input-select", { key: 'f3ff0b3f930b9a4627c66dbf7817732e1c5d57bb', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, changed: this.changed, menuHeight: "5.5items", required: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, index.h("div", { key: '64b70520aa2c671368d241b4a69fc4be33112d3d', slot: "label" }, index.h("slot", { key: 'e3bf0f9df5e961426292cc555919d467cc157b62', name: "year-label" })), years((_a = this.value) !== null && _a !== void 0 ? _a : TimeZone.Date.now()).map(year => (index.h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), index.h("smoothly-input-select", { key: '09d4079f14894b1fbd60046b0f818e928e435038', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, changed: this.changed, menuHeight: "5.5items", required: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, index.h("div", { key: '2a05ddea7c9ce02f8d8643499377fbd4d083eb6c', slot: "label" }, index.h("slot", { key: 'e2c3b87bb565cb5c7e90f5eb698b767afa74c250', name: "month-label" })), months((_b = this.value) !== null && _b !== void 0 ? _b : TimeZone.Date.now()).map(month => (index.h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), index.h("smoothly-icon", { key: '10711926ea090d82ec1c355c9ba807ea2e589e48', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly }, onClick: () => this.adjustMonth(1) })));
9678
+ return (index.h(index.Host, { key: '21e587a94e9a4dd53b05520be28c83ef29a54c19' }, index.h("smoothly-icon", { key: '4740d4a8825d9834fd6cf02e3197a49c8cde66bc', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly }, onClick: () => this.adjustMonth(-1) }), index.h("smoothly-input-select", { key: '6f783bfb05c7ce1f6bd5c5f99b03f653306d3950', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, changed: this.changed, menuHeight: "5.5items", required: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, index.h("div", { key: 'a7fb003ca92e5aba1e398c2cadf939d66b7c10b0', slot: "label" }, index.h("slot", { key: 'abb1f5efeefbff753f2a1cecfa6d015970cd1888', name: "year-label" })), years((_a = this.value) !== null && _a !== void 0 ? _a : TimeZone.Date.now()).map(year => (index.h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), index.h("smoothly-input-select", { key: 'fe9cd212596fd073cc16c6d37ddd932d985c52a8', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, changed: this.changed, menuHeight: "5.5items", required: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, index.h("div", { key: '9000e5459dd332c11cde2446a63ac7502ee967ad', slot: "label" }, index.h("slot", { key: '6ea59c87ac23f136bc645f3d5a2cedadec34a2f5', name: "month-label" })), months((_b = this.value) !== null && _b !== void 0 ? _b : TimeZone.Date.now()).map(month => (index.h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), index.h("smoothly-icon", { key: '39f22e5eb52257fb42fad7f0b3da004613046b56', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly }, onClick: () => this.adjustMonth(1) })));
9679
9679
  }
9680
9680
  get element() { return index.getElement(this); }
9681
9681
  static get watchers() { return {
@@ -9713,7 +9713,7 @@ const SmoothlyInputRadio = class {
9713
9713
  this.listener = {};
9714
9714
  this.changed = false;
9715
9715
  this.value = undefined;
9716
- this.looks = "plain";
9716
+ this.looks = undefined;
9717
9717
  this.color = undefined;
9718
9718
  this.clearable = undefined;
9719
9719
  this.readonly = false;
@@ -9722,7 +9722,7 @@ const SmoothlyInputRadio = class {
9722
9722
  }
9723
9723
  componentWillLoad() {
9724
9724
  var _a, _b;
9725
- this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), (this.color = color)));
9725
+ this.smoothlyInputLooks.emit((looks, color) => { var _a; return ((this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks), (this.color = color)); });
9726
9726
  !this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly));
9727
9727
  (_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
9728
9728
  }
@@ -9795,7 +9795,7 @@ const SmoothlyInputRadio = class {
9795
9795
  (_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
9796
9796
  }
9797
9797
  render() {
9798
- return (index.h(index.Host, { key: '0179c958b172dec2e528883d91bccc885fefea49', class: "floating-label" }, index.h("slot", { key: 'f700e38d8461c4e18dd8bf8ace95fed95237c6a7', name: "start" }), index.h("div", { key: '43f474763549a310333e941ec812542b1fda9b8f' }, index.h("slot", { key: 'f1d621352c82b8817f9065244c9e820937e9a8d1', name: "label" }), index.h("div", { key: '99d365ac00a4b7241974202aa6d1666437698551', class: "options" }, index.h("slot", { key: 'b34dd04d0f411180314dab22ae68bc3b0e97a29c' }))), index.h("slot", { key: '92c6522d45851f554de8a141d95a571c4ba80d31', name: "end" })));
9798
+ return (index.h(index.Host, { key: '1b05355d10542a1f45e96de12d96aecb6e79d4ca', class: "floating-label" }, index.h("slot", { key: 'd7f86c98b38271b65c30ceab7fb7e4faa333184a', name: "start" }), index.h("div", { key: 'f2d1a750872ef96d0d9eeae6505da0faa2739612' }, index.h("slot", { key: '608b188a348a38aee7d97b1df1fb54651d39d696', name: "label" }), index.h("div", { key: '6ae510fcade699b433860e8ce62f56171cabb25c', class: "options" }, index.h("slot", { key: '68cf98beaf5a3ea16c5216b79a1bb4cce3a79098' }))), index.h("slot", { key: '4c964a4447f2c23e620fd712a65b47a8932794a6', name: "end" })));
9799
9799
  }
9800
9800
  static get watchers() { return {
9801
9801
  "value": ["valueChanged"],
@@ -9814,7 +9814,7 @@ const SmoothlyInputRadioItem = class {
9814
9814
  this.smoothlyRadioButtonRegister = index.createEvent(this, "smoothlyRadioButtonRegister", 7);
9815
9815
  this.value = undefined;
9816
9816
  this.selected = false;
9817
- this.looks = "plain";
9817
+ this.looks = undefined;
9818
9818
  this.name = undefined;
9819
9819
  }
9820
9820
  componentWillLoad() {
@@ -9825,7 +9825,7 @@ const SmoothlyInputRadioItem = class {
9825
9825
  this.smoothlySelect.emit({ value: this.value, selected: this.selected, select: s => (this.selected = s) });
9826
9826
  }
9827
9827
  render() {
9828
- return (index.h(index.Host, { key: 'f628269e16f5f2dc09c7e1c894658a97d949fc0b', onClick: () => this.inputHandler() }, index.h("input", { key: '72968e34692677ec88e756edf931a08ffcb2971a', name: this.name, type: "radio", checked: this.selected }), index.h("smoothly-icon", { key: 'd3d52e12b05387b20d5a260f527bec3221e28397', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", fill: "outline", color: this.selected ? "success" : "medium", toolTip: "Select" }), index.h("label", { key: '47748599409c6f2260a3996b8d6f60325d6631b3' }, index.h("slot", { key: '6745a2798f7b7819303d9e6189bc03ad79813364' }))));
9828
+ return (index.h(index.Host, { key: 'e70574d5f3d746ff7777424f61d22258f6200adc', onClick: () => this.inputHandler() }, index.h("input", { key: 'c557567668427976b7ed8fc18b5d914283cfa663', name: this.name, type: "radio", checked: this.selected }), index.h("smoothly-icon", { key: 'f57bfccbe9131365095d85d23e2b0c16c7d9d3b9', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", fill: "outline", color: this.selected ? "success" : "medium", toolTip: "Select" }), index.h("label", { key: '9caf6cf93fc8bc15f4c05797635e4e2f94819656' }, index.h("slot", { key: '90910dc708da9124a135c8e28a557475a671e7c1' }))));
9829
9829
  }
9830
9830
  get element() { return index.getElement(this); }
9831
9831
  };
@@ -9844,7 +9844,7 @@ const SmoothlyInputRange = class {
9844
9844
  this.listener = {};
9845
9845
  this.initialValue = undefined;
9846
9846
  this.value = undefined;
9847
- this.looks = "plain";
9847
+ this.looks = undefined;
9848
9848
  this.color = undefined;
9849
9849
  this.changed = false;
9850
9850
  this.readonly = false;
@@ -9858,7 +9858,7 @@ const SmoothlyInputRange = class {
9858
9858
  this.showInput = false;
9859
9859
  }
9860
9860
  componentWillLoad() {
9861
- this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), (this.color = color)));
9861
+ this.smoothlyInputLooks.emit((looks, color) => { var _a; return ((this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks), (this.color = color)); });
9862
9862
  this.smoothlyInput.emit({ [this.name]: this.value });
9863
9863
  this.smoothlyInputLoad.emit(() => {
9864
9864
  return;
@@ -9918,10 +9918,10 @@ const SmoothlyInputRange = class {
9918
9918
  }
9919
9919
  render() {
9920
9920
  var _a, _b, _c;
9921
- return (index.h(index.Host, { key: '318907357362952f60773a02e3dc52c629f6fa0f', class: {
9921
+ return (index.h(index.Host, { key: 'a99802548f02e977fd84cfae1ad676e01d6f6eea', class: {
9922
9922
  "output-side-right": this.outputSide === "right",
9923
9923
  "show-label": this.outputSide === "left" && !!this.label,
9924
- } }, index.h("slot", { key: 'f914111fa8192bfe0a1b8b5306e2b5c6424315f7', name: "start" }), index.h("div", { key: '7d10d695e163e0907602fa8ac2bb236ca1c0247f' }, index.h("label", { key: '15c5315ca5c9e0c98a09d0f80077f4f2450ba0de', htmlFor: this.name }, this.label), index.h("smoothly-input", { key: '9d5a5a0d3bda6d0de8b8b1cf7b7b0f05fb643ed9', ref: e => (this.input = e), looks: undefined, color: this.color, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: e => (e.stopPropagation(), this.inputHandler(e)), onSmoothlyBlur: e => this.inputHandler(e), onSmoothlyInput: e => e.stopPropagation(), value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly }, this.label), index.h("smoothly-display", { key: 'e794fcb0b9be770112460e442fbbe9e5445c436d', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), index.h("input", { key: 'fec464e33a3fab7d613e50ac0ca3973daceda6b4', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly, onInput: event => this.inputHandler(event), value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: 'e39b933f79c8a46cd6625a683eab87730a3b6561', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), index.h("slot", { key: 'c0a25e972c02d41aaeae0e1c35c827c7708be900', name: "end" })));
9924
+ } }, index.h("slot", { key: '317a6c29a47f9e281e76854cfc8b1f6074555cc3', name: "start" }), index.h("div", { key: 'd1643a60528e10e658fa9feda0ce07b97ff1924c' }, index.h("label", { key: '56829bd6bcf336b6432802e1cddab7f94a4a19f6', htmlFor: this.name }, this.label), index.h("smoothly-input", { key: 'd84d5e707e583282af1d97b59c516717faf35ded', ref: e => (this.input = e), looks: undefined, color: this.color, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: e => (e.stopPropagation(), this.inputHandler(e)), onSmoothlyBlur: e => this.inputHandler(e), onSmoothlyInput: e => e.stopPropagation(), value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly }, this.label), index.h("smoothly-display", { key: '8e9d240630480623b90fe6938509b76edd5e1cfc', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), index.h("input", { key: '3c99580c646adbb5fb8fd6d7b1b9d8eb2d0029a9', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly, onInput: event => this.inputHandler(event), value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: 'c210a370cc76858a86a95d532ad17d1e4b4b9ce7', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), index.h("slot", { key: 'f30dcd70736c5df09d9b401251b6cb70c80fe1c2', name: "end" })));
9925
9925
  }
9926
9926
  get element() { return index.getElement(this); }
9927
9927
  static get watchers() { return {
@@ -10020,7 +10020,7 @@ const SmoothlyInputSelect = class {
10020
10020
  this.invalid = false;
10021
10021
  this.name = "selected";
10022
10022
  this.color = undefined;
10023
- this.looks = "plain";
10023
+ this.looks = undefined;
10024
10024
  this.showLabel = true;
10025
10025
  this.showSelected = true;
10026
10026
  this.readonly = false;
@@ -10041,7 +10041,7 @@ const SmoothlyInputSelect = class {
10041
10041
  }
10042
10042
  componentWillLoad() {
10043
10043
  var _a, _b;
10044
- this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), !this.color && (this.color = color)));
10044
+ this.smoothlyInputLooks.emit((looks, color) => { var _a; return ((this.looks = (_a = this.looks) !== null && _a !== void 0 ? _a : looks), !this.color && (this.color = color)); });
10045
10045
  this.smoothlyInputLoad.emit(() => {
10046
10046
  return;
10047
10047
  });
@@ -10263,16 +10263,16 @@ const SmoothlyInputSelect = class {
10263
10263
  this.addedItems = this.addedItems.concat(index.h("smoothly-item", { value: this.filter, selected: true }, this.filter));
10264
10264
  }
10265
10265
  render() {
10266
- return (index.h(index.Host, { key: '3d338d203d73080f448328976de280dfc19f2e3a', tabIndex: 0, class: { "has-value": this.selected.length !== 0, open: this.open, invalid: !!this.invalid }, onClick: (event) => this.handleShowOptions(event) }, index.h("div", { key: '12ea781eb8881089305bf71fa7ce75b4ae26c928', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), index.h("div", { key: '89f8838de5e941d374e67fcce8931110359a979c', class: "icons", ref: element => (this.iconsDiv = element) }, index.h("slot", { key: 'f43d5a95ae47cc0c907726267181614d822a75a2', name: "end" }), this.looks == "border" && !this.readonly && (index.h("smoothly-icon", { key: '81ef6bb48afa65fd6b774eff06939fe8e538e508', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" })), index.h("smoothly-icon", { key: '92d75ff10e21a46353a5e0767e50996b5bffac99', class: "invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small" })), index.h("slot", { key: '26b025c5c2cfc0edbd6151a297b48b67bd3efe4a', name: "label" }), index.h("div", { key: '087010ead1957973c49f3c1f631ea0fa2a4625f2', class: { hidden: !this.open, options: true }, ref: (el) => {
10266
+ return (index.h(index.Host, { key: 'ec468e4b702ea1ef7194eb2d318c4b0da53cb04a', tabIndex: 0, class: { "has-value": this.selected.length !== 0, open: this.open, invalid: !!this.invalid }, onClick: (event) => this.handleShowOptions(event) }, index.h("div", { key: '0fc0a92ae378a8a7450e1ad9a61e26ff3e186ddd', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), index.h("div", { key: '4abb30289ea9c2e8c3905f352b6e1a25469b1af2', class: "icons", ref: element => (this.iconsDiv = element) }, index.h("slot", { key: '0bf4675c6d472c85a6cd708f5d71c3eef5cbaa92', name: "end" }), this.looks == "border" && !this.readonly && (index.h("smoothly-icon", { key: 'a2960997d88802ee694e5e45b5c6107495883b58', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" })), index.h("smoothly-icon", { key: 'a39e0eb1112f1166399b6f238ad995e64b95912d', class: "invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small" })), index.h("slot", { key: '5d468e0ec3b82805ed98c08f07fe7a1df33f7a1e', name: "label" }), index.h("div", { key: '1edc208177418d3e4c30fb2e139b617311f05216', class: { hidden: !this.open, options: true }, ref: (el) => {
10267
10267
  this.optionsDiv = el;
10268
- } }, this.filter.length > 0 && (index.h("smoothly-item", { key: 'b587866fa6a90aa62fbf3a8ee7844f6d69f54131', selectable: false }, index.h("smoothly-icon", { key: '4e18f6ee9465933bac28a163252bb4228182492d', name: "search-outline", size: "small" }), this.filter, index.h("smoothly-icon", { key: '73bccce2aca53381d3ff65a78b115c0f0226db0e', name: "backspace-outline", size: "small", onClick: e => {
10268
+ } }, this.filter.length > 0 && (index.h("smoothly-item", { key: '1dec2882cf871c073eb8bc14623a60e41ea61ff1', selectable: false }, index.h("smoothly-icon", { key: '1db123a88644a570f4e9abfe082aeba729565803', name: "search-outline", size: "small" }), this.filter, index.h("smoothly-icon", { key: '196530525176e237dc3b8ada3dda485a088a2659', name: "backspace-outline", size: "small", onClick: e => {
10269
10269
  e.stopPropagation();
10270
10270
  this.filter = "";
10271
10271
  this.element.focus();
10272
- } }), this.mutable && (index.h("smoothly-icon", { key: '13840befb71be4230ac2cd8ecc87093d95bb51a6', name: "add", size: "small", onClick: e => {
10272
+ } }), this.mutable && (index.h("smoothly-icon", { key: '506456232544c188319ecd741ba05bbd8fc081fc', name: "add", size: "small", onClick: e => {
10273
10273
  e.stopPropagation();
10274
10274
  this.addItem();
10275
- } })))), index.h("slot", { key: '20745b94ac28db54547a9a76e91ebbaaf28f8477' }), this.addedItems)));
10275
+ } })))), index.h("slot", { key: '0b0dd3a5d2afe9773abdc30dd3f6204399cd7ac8' }), this.addedItems)));
10276
10276
  }
10277
10277
  get element() { return index.getElement(this); }
10278
10278
  static get watchers() { return {