bromcom-ui 2.7.37-rc.9 → 2.7.38-rc.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 (502) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/p-0122ae3d.js +6 -0
  4. package/dist/bromcom-ui/p-04c8b756.js +1 -1
  5. package/dist/bromcom-ui/p-0a29a882.entry.js +5 -0
  6. package/dist/bromcom-ui/p-0a46b931.entry.js +5 -0
  7. package/dist/bromcom-ui/{p-151d7bec.entry.js → p-0dff677e.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-2444a19c.js → p-0e8b8316.js} +1 -1
  9. package/dist/bromcom-ui/{p-ae327774.js → p-1192f094.js} +1 -1
  10. package/dist/bromcom-ui/p-13077a28.entry.js +5 -0
  11. package/dist/bromcom-ui/p-1978e4ae.entry.js +5 -0
  12. package/dist/bromcom-ui/p-1af75960.entry.js +5 -0
  13. package/dist/bromcom-ui/p-1c207a2d.entry.js +5 -0
  14. package/dist/bromcom-ui/{p-2b332236.entry.js → p-20c45a95.entry.js} +1 -1
  15. package/dist/bromcom-ui/p-24bfaf3c.entry.js +5 -0
  16. package/dist/bromcom-ui/{p-34b815f5.entry.js → p-2a7f29b6.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-b68fcefb.entry.js → p-2f4d6b32.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-341f55bf.entry.js +5 -0
  19. package/dist/bromcom-ui/p-38e67de7.entry.js +5 -0
  20. package/dist/bromcom-ui/p-3b07a0b1.entry.js +5 -0
  21. package/dist/bromcom-ui/p-3b43ad99.entry.js +5 -0
  22. package/dist/bromcom-ui/p-3e6e1e62.entry.js +5 -0
  23. package/dist/bromcom-ui/p-41df4c5d.entry.js +5 -0
  24. package/dist/bromcom-ui/p-42d537ac.entry.js +5 -0
  25. package/dist/bromcom-ui/p-44dd9f7a.entry.js +5 -0
  26. package/dist/bromcom-ui/p-455f416f.entry.js +5 -0
  27. package/dist/bromcom-ui/{p-fe3e3210.js → p-45704915.js} +1 -1
  28. package/dist/bromcom-ui/p-487f7b46.js +5 -0
  29. package/dist/bromcom-ui/{p-b2693a0f.js → p-4db160cc.js} +1 -1
  30. package/dist/bromcom-ui/p-4eb1b6e1.entry.js +5 -0
  31. package/dist/bromcom-ui/{p-6f30d39e.entry.js → p-516b3b59.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-52e9eb72.entry.js +5 -0
  33. package/dist/bromcom-ui/p-581f703b.entry.js +5 -0
  34. package/dist/bromcom-ui/p-59b121e1.entry.js +5 -0
  35. package/dist/bromcom-ui/{p-591b3100.entry.js → p-5c20b83c.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-b1e3b913.entry.js → p-5f002c1c.entry.js} +1 -1
  37. package/dist/bromcom-ui/p-62bb8bf1.entry.js +5 -0
  38. package/dist/bromcom-ui/{p-8255f60a.entry.js → p-6720d135.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-68ab7a63.entry.js +5 -0
  40. package/dist/bromcom-ui/p-68f57e0b.entry.js +5 -0
  41. package/dist/bromcom-ui/p-6c92a756.entry.js +5 -0
  42. package/dist/bromcom-ui/p-6f1b3d34.entry.js +5 -0
  43. package/dist/bromcom-ui/p-758a20ad.entry.js +5 -0
  44. package/dist/bromcom-ui/p-765ee6c1.js +5 -0
  45. package/dist/{esm/bcm-dropdown.entry.js → bromcom-ui/p-77e0d2b5.entry.js} +1 -231
  46. package/dist/bromcom-ui/p-78cf8966.entry.js +5 -0
  47. package/dist/bromcom-ui/{p-78d48636.entry.js → p-7b5e88c5.entry.js} +1 -1
  48. package/dist/bromcom-ui/p-7b7f4c29.entry.js +5 -0
  49. package/dist/bromcom-ui/{p-0cd7e628.entry.js → p-7df747c7.entry.js} +1 -1
  50. package/dist/bromcom-ui/p-906848af.entry.js +5 -0
  51. package/dist/bromcom-ui/p-937e2bed.js +5 -0
  52. package/dist/bromcom-ui/{p-cd0490e2.js → p-96287124.js} +1 -1
  53. package/dist/bromcom-ui/{p-a0c10e3e.entry.js → p-96525d60.entry.js} +1 -1
  54. package/dist/bromcom-ui/p-980e5824.entry.js +5 -0
  55. package/dist/bromcom-ui/p-99bed73b.entry.js +5 -0
  56. package/dist/bromcom-ui/p-9c6de630.js +5 -0
  57. package/dist/bromcom-ui/p-a2710121.entry.js +5 -0
  58. package/dist/bromcom-ui/p-a95d388e.js +5 -0
  59. package/dist/bromcom-ui/{p-f9cb7ae4.js → p-acb048b5.js} +1 -1
  60. package/dist/bromcom-ui/p-b1b377e8.entry.js +5 -0
  61. package/dist/bromcom-ui/p-c3fc854c.entry.js +5 -0
  62. package/dist/bromcom-ui/p-c78bc99b.js +5 -0
  63. package/dist/bromcom-ui/p-c9bd85e9.js +1 -1
  64. package/dist/bromcom-ui/{p-f1b09912.entry.js → p-cf337431.entry.js} +1 -1
  65. package/dist/bromcom-ui/p-da7603b0.entry.js +5 -0
  66. package/dist/bromcom-ui/p-dcf02363.entry.js +5 -0
  67. package/dist/bromcom-ui/p-e0cb6ac3.entry.js +5 -0
  68. package/dist/bromcom-ui/p-e14fb705.entry.js +5 -0
  69. package/dist/bromcom-ui/p-e2fe4755.entry.js +5 -0
  70. package/dist/bromcom-ui/p-e48c96b5.entry.js +5 -0
  71. package/dist/bromcom-ui/{p-f33f5581.entry.js → p-e6d92da4.entry.js} +1 -1
  72. package/dist/bromcom-ui/p-eb3aa16b.entry.js +5 -0
  73. package/dist/bromcom-ui/{p-3c60d68f.entry.js → p-eb639e76.entry.js} +1 -1
  74. package/dist/bromcom-ui/{p-993c912d.entry.js → p-f0b62f8e.entry.js} +1 -1
  75. package/dist/bromcom-ui/p-f495426e.entry.js +5 -0
  76. package/dist/bromcom-ui/{p-d9fb53c9.entry.js → p-f5ae5381.entry.js} +1 -1
  77. package/dist/bromcom-ui/p-f6685330.entry.js +5 -0
  78. package/dist/cjs/bcm-accordion.cjs.entry.js +3 -3
  79. package/dist/cjs/bcm-alert.cjs.entry.js +9 -10
  80. package/dist/cjs/bcm-attendance.cjs.entry.js +3 -7
  81. package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -2
  82. package/dist/cjs/bcm-avatar_15.cjs.entry.js +1954 -0
  83. package/dist/cjs/bcm-box.cjs.entry.js +2 -2
  84. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +4 -3
  85. package/dist/cjs/bcm-button-group.cjs.entry.js +10 -8
  86. package/dist/cjs/bcm-card.cjs.entry.js +9 -7
  87. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +17 -11
  88. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +44 -21
  89. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +18 -16
  90. package/dist/cjs/bcm-chip.cjs.entry.js +7 -3
  91. package/dist/cjs/bcm-collapse-group.cjs.entry.js +2 -2
  92. package/dist/cjs/bcm-collapse.cjs.entry.js +3 -3
  93. package/dist/cjs/bcm-colorpicker.cjs.entry.js +8 -9
  94. package/dist/cjs/bcm-date-picker.cjs.entry.js +12 -5
  95. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +19 -16
  96. package/dist/cjs/bcm-default.cjs.entry.js +3 -3
  97. package/dist/cjs/bcm-drawer.cjs.entry.js +10 -13
  98. package/dist/cjs/bcm-error-layout.cjs.entry.js +2 -2
  99. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +6 -5
  100. package/dist/cjs/{bcm-2c51bf0c.js → bcm-f00ec62c.js} +4 -4
  101. package/dist/cjs/bcm-form-2.cjs.entry.js +8 -8
  102. package/dist/cjs/bcm-form-group.cjs.entry.js +3 -2
  103. package/dist/cjs/bcm-input.cjs.entry.js +35 -18
  104. package/dist/cjs/bcm-link.cjs.entry.js +8 -5
  105. package/dist/cjs/bcm-list.cjs.entry.js +45 -43
  106. package/dist/cjs/bcm-message.cjs.entry.js +2 -5
  107. package/dist/cjs/{bcm-label_2.cjs.entry.js → bcm-modal.cjs.entry.js} +101 -78
  108. package/dist/cjs/bcm-notification.cjs.entry.js +4 -2
  109. package/dist/cjs/bcm-old-input.cjs.entry.js +17 -4
  110. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +4 -2
  111. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +11 -6
  112. package/dist/cjs/bcm-popconfirm.cjs.entry.js +7 -6
  113. package/dist/cjs/bcm-progress.cjs.entry.js +5 -5
  114. package/dist/cjs/bcm-radio-group.cjs.entry.js +19 -10
  115. package/dist/cjs/bcm-radio.cjs.entry.js +10 -9
  116. package/dist/cjs/bcm-range.cjs.entry.js +13 -7
  117. package/dist/cjs/bcm-result.cjs.entry.js +6 -2
  118. package/dist/cjs/bcm-search.cjs.entry.js +12 -16
  119. package/dist/cjs/bcm-select-group.cjs.entry.js +2 -1
  120. package/dist/cjs/bcm-select-option.cjs.entry.js +4 -1
  121. package/dist/cjs/bcm-select.cjs.entry.js +26 -15
  122. package/dist/cjs/bcm-skeleton.cjs.entry.js +3 -3
  123. package/dist/cjs/bcm-step.cjs.entry.js +10 -9
  124. package/dist/cjs/bcm-stepper.cjs.entry.js +8 -12
  125. package/dist/cjs/bcm-tab-group.cjs.entry.js +9 -9
  126. package/dist/cjs/bcm-tab-pane.cjs.entry.js +2 -2
  127. package/dist/cjs/bcm-tab.cjs.entry.js +2 -5
  128. package/dist/cjs/bcm-table.cjs.entry.js +2 -2
  129. package/dist/cjs/bcm-tabs-content.cjs.entry.js +2 -2
  130. package/dist/cjs/bcm-tabs.cjs.entry.js +2 -8
  131. package/dist/cjs/bcm-tag.cjs.entry.js +19 -16
  132. package/dist/cjs/bcm-textarea.cjs.entry.js +20 -10
  133. package/dist/cjs/bcm-time-picker.cjs.entry.js +12 -5
  134. package/dist/cjs/bcm-timeline-item.cjs.entry.js +3 -5
  135. package/dist/cjs/bcm-timeline.cjs.entry.js +3 -5
  136. package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
  137. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  138. package/dist/cjs/{caption-template-954d34bc.js → caption-template-95c791a2.js} +1 -1
  139. package/dist/cjs/{floating-ui-dae608ba.js → floating-ui-2a4a79ff.js} +4 -3
  140. package/dist/cjs/{generate-73db206b.js → generate-0d51cba6.js} +14 -14
  141. package/dist/cjs/{index-f8547ecd.js → index-1d2ce51d.js} +1 -1
  142. package/dist/cjs/{index-9d98aa56.js → index-1fda1524.js} +473 -275
  143. package/dist/cjs/{input-template-c8ceb3ff.js → input-template-d7f600a5.js} +7 -7
  144. package/dist/cjs/{is-load-decorator-65755a67.js → is-load-decorator-77664890.js} +1 -1
  145. package/dist/cjs/{label-template-1ed6a569.js → label-template-e56264b3.js} +4 -4
  146. package/dist/cjs/loader.cjs.js +3 -3
  147. package/dist/cjs/{number-helper-2253d3ad.js → number-helper-1d113d3e.js} +1 -1
  148. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +14 -8
  149. package/dist/cjs/old-bcm-popover.cjs.entry.js +9 -10
  150. package/dist/cjs/{popover-placement-87901bb3.js → popover-placement-ac98d407.js} +1 -1
  151. package/dist/cjs/{slot-template-2ff0d22a.js → slot-template-a4505c70.js} +2 -2
  152. package/dist/cjs/{stepper-states-c4dbafba.js → stepper-states-f66c2ae8.js} +2 -2
  153. package/dist/cjs/{string-helper-df40a475.js → string-helper-145cd64f.js} +2 -2
  154. package/dist/cjs/{tooltip-helper-88c00766.js → tooltip-helper-eff66c97.js} +37 -5
  155. package/dist/cjs/{validators-e5907199.js → validators-424a487a.js} +1 -1
  156. package/dist/collection/collection-manifest.json +2 -2
  157. package/dist/collection/components/atoms/avatar/avatar.js +197 -184
  158. package/dist/collection/components/atoms/badge/badge.js +174 -164
  159. package/dist/collection/components/atoms/box/box.js +8 -5
  160. package/dist/collection/components/atoms/button/button.js +392 -373
  161. package/dist/collection/components/atoms/chip/chip.js +143 -133
  162. package/dist/collection/components/atoms/divider/divider.js +61 -53
  163. package/dist/collection/components/atoms/icon/icon.js +57 -47
  164. package/dist/collection/components/atoms/label/label.js +192 -182
  165. package/dist/collection/components/atoms/link/link.js +138 -127
  166. package/dist/collection/components/atoms/tag/tag.js +286 -273
  167. package/dist/collection/components/atoms/typography/typography.js +8 -5
  168. package/dist/collection/components/molecules/accordion/accordion.js +72 -61
  169. package/dist/collection/components/molecules/alert/alert.js +218 -217
  170. package/dist/collection/components/molecules/breadcrumb/breadcrumb.js +110 -104
  171. package/dist/collection/components/molecules/breadcrumb/types.js +0 -4
  172. package/dist/collection/components/molecules/button-group/button-group.js +159 -144
  173. package/dist/collection/components/molecules/card/card.js +83 -73
  174. package/dist/collection/components/molecules/checkbox/checkbox-lite.js +175 -176
  175. package/dist/collection/components/molecules/checkbox/checkbox.js +536 -524
  176. package/dist/collection/components/molecules/checkbox/group.js +589 -571
  177. package/dist/collection/components/molecules/drawer/drawer.js +193 -189
  178. package/dist/collection/components/molecules/dropdown/dropdown.js +610 -782
  179. package/dist/collection/components/molecules/empty/empty.js +32 -26
  180. package/dist/collection/components/molecules/error-layout/error-layout.js +126 -111
  181. package/dist/collection/components/molecules/error-layout/types.js +0 -4
  182. package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +212 -212
  183. package/dist/collection/components/molecules/input/input.js +891 -857
  184. package/dist/collection/components/molecules/item/item.js +95 -85
  185. package/dist/collection/components/molecules/items/items.js +46 -38
  186. package/dist/collection/components/molecules/linked/linked.js +285 -241
  187. package/dist/collection/components/molecules/menu/menu.js +368 -538
  188. package/dist/collection/components/molecules/message/message.js +149 -144
  189. package/dist/collection/components/molecules/modal/modal.js +261 -252
  190. package/dist/collection/components/molecules/notification/notification.js +167 -161
  191. package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +299 -285
  192. package/dist/collection/components/molecules/popconfirm/popconfirm.js +293 -277
  193. package/dist/collection/components/molecules/popover/popover.js +190 -181
  194. package/dist/collection/components/molecules/progress/progress.js +255 -262
  195. package/dist/collection/components/molecules/radio/group.js +516 -494
  196. package/dist/collection/components/molecules/radio/radio.js +212 -207
  197. package/dist/collection/components/molecules/range/range.js +289 -285
  198. package/dist/collection/components/molecules/result/result.js +104 -97
  199. package/dist/collection/components/molecules/search/search.js +308 -295
  200. package/dist/collection/components/molecules/skeleton/skeleton.js +47 -52
  201. package/dist/collection/components/molecules/stepper/step.js +281 -271
  202. package/dist/collection/components/molecules/stepper/stepper.js +309 -300
  203. package/dist/collection/components/molecules/switch/switch.js +598 -583
  204. package/dist/collection/components/molecules/tab-group/tab-group.js +126 -120
  205. package/dist/collection/components/molecules/textarea/textarea.js +622 -597
  206. package/dist/collection/components/molecules/timeline/timeline-item.js +125 -120
  207. package/dist/collection/components/molecules/timeline/timeline.js +79 -71
  208. package/dist/collection/components/molecules/tooltip/tooltip.js +173 -164
  209. package/dist/collection/components/organism/autocomplete/autocomplete.js +260 -247
  210. package/dist/collection/components/organism/colorpicker/colorpicker.js +360 -368
  211. package/dist/collection/components/organism/date-picker/date-picker.js +626 -604
  212. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +750 -775
  213. package/dist/collection/components/organism/form/form-group.js +108 -99
  214. package/dist/collection/components/organism/form/form.js +253 -238
  215. package/dist/collection/components/organism/form-2/form-2.js +164 -149
  216. package/dist/collection/components/organism/list/list.js +1133 -1128
  217. package/dist/collection/components/organism/time-picker/time-picker.js +502 -484
  218. package/dist/collection/components/other/attendance/attendance.js +60 -61
  219. package/dist/collection/components/other/data-table/table.js +40 -30
  220. package/dist/collection/components/other/default/default.js +40 -32
  221. package/dist/collection/components/other_deprecated/collapse/collapse.js +125 -119
  222. package/dist/collection/components/other_deprecated/collapse/group.js +90 -83
  223. package/dist/collection/components/other_deprecated/listbox/listbox-group.js +68 -68
  224. package/dist/collection/components/other_deprecated/listbox/listbox-item.js +500 -495
  225. package/dist/collection/components/other_deprecated/listbox/listbox.js +1067 -1071
  226. package/dist/collection/components/other_deprecated/old-input/old-input.js +786 -775
  227. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +285 -267
  228. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +214 -202
  229. package/dist/collection/components/other_deprecated/old-search/old-search.js +333 -314
  230. package/dist/collection/components/other_deprecated/old-tag/old-tag.js +247 -241
  231. package/dist/collection/components/other_deprecated/select/group.js +68 -67
  232. package/dist/collection/components/other_deprecated/select/option.js +120 -111
  233. package/dist/collection/components/other_deprecated/select/select-box.js +77 -71
  234. package/dist/collection/components/other_deprecated/select/select.js +1096 -1093
  235. package/dist/collection/components/other_deprecated/tabs/tab-pane.js +121 -111
  236. package/dist/collection/components/other_deprecated/tabs/tab.js +229 -226
  237. package/dist/collection/components/other_deprecated/tabs/tabs-content.js +108 -98
  238. package/dist/collection/components/other_deprecated/tabs/tabs.js +423 -411
  239. package/dist/collection/components/other_deprecated/text/text.js +125 -117
  240. package/dist/collection/components/other_deprecated/treeview/treeview-group.js +11 -7
  241. package/dist/collection/components/other_deprecated/treeview/treeview-item.js +651 -646
  242. package/dist/collection/components/other_deprecated/treeview/treeview.js +882 -874
  243. package/dist/collection/index.js +0 -4
  244. package/dist/collection/models/bcm-types.js +0 -4
  245. package/dist/collection/models/states/atoms/bcm-atoms-state.js +0 -4
  246. package/dist/collection/models/states/molecules/bcm-molecules-state.js +0 -4
  247. package/dist/collection/models/states/organisms/bcm-organisms-state.js +0 -4
  248. package/dist/collection/templates/button-template.js +1 -12
  249. package/dist/collection/templates/caption-template.js +3 -14
  250. package/dist/collection/templates/checkbox-template.js +1 -5
  251. package/dist/collection/templates/info-footer-template.js +1 -6
  252. package/dist/collection/templates/input-template.js +8 -29
  253. package/dist/collection/templates/label-template.js +1 -5
  254. package/dist/collection/templates/list-item-template.js +2 -9
  255. package/dist/collection/templates/list-template.js +1 -14
  256. package/dist/collection/templates/slot-template.js +1 -2
  257. package/dist/collection/templates/step-template.js +1 -5
  258. package/dist/collection/templates/tag-template.js +1 -10
  259. package/dist/collection/types/index.js +0 -4
  260. package/dist/collection/utils/floating-ui.js +2 -1
  261. package/dist/components/avatar.js +5 -0
  262. package/dist/components/badge.js +4 -0
  263. package/dist/components/bcm-alert.js +3 -4
  264. package/dist/components/bcm-attendance.js +0 -4
  265. package/dist/components/bcm-autocomplete.js +1 -0
  266. package/dist/components/bcm-breadcrumb.js +1 -0
  267. package/dist/components/bcm-button-group.js +2 -0
  268. package/dist/components/bcm-card.js +3 -1
  269. package/dist/components/bcm-checkbox-group.js +6 -0
  270. package/dist/components/bcm-chip.js +4 -0
  271. package/dist/components/bcm-colorpicker.js +6 -7
  272. package/dist/components/bcm-date-picker.js +7 -0
  273. package/dist/components/bcm-drawer.js +1 -4
  274. package/dist/components/bcm-dropdown.js +38 -167
  275. package/dist/components/bcm-expansion-panel.js +1 -0
  276. package/dist/components/bcm-form-2.js +2 -2
  277. package/dist/components/bcm-form-group.js +1 -0
  278. package/dist/components/bcm-form.js +1 -0
  279. package/dist/components/bcm-input.js +22 -5
  280. package/dist/components/bcm-item.js +1 -0
  281. package/dist/components/bcm-linked.js +1 -192
  282. package/dist/components/bcm-list.js +15 -12
  283. package/dist/components/bcm-message.js +0 -3
  284. package/dist/components/bcm-modal.js +2 -0
  285. package/dist/components/bcm-notification.js +2 -0
  286. package/dist/components/bcm-popconfirm.js +1 -0
  287. package/dist/components/bcm-radio-group.js +9 -0
  288. package/dist/components/bcm-range.js +6 -0
  289. package/dist/components/bcm-result.js +4 -0
  290. package/dist/components/bcm-select-group.js +1 -0
  291. package/dist/components/bcm-select-option.js +3 -0
  292. package/dist/components/bcm-select.js +22 -11
  293. package/dist/components/bcm-stepper.js +0 -4
  294. package/dist/components/bcm-switch.js +11 -1
  295. package/dist/components/bcm-tab-group.js +1 -1
  296. package/dist/components/bcm-tab.js +0 -3
  297. package/dist/components/bcm-tabs.js +0 -6
  298. package/dist/components/bcm-tag.js +3 -0
  299. package/dist/components/bcm-textarea.js +11 -1
  300. package/dist/components/bcm-time-picker.js +7 -0
  301. package/dist/components/bcm-timeline-item.js +1 -3
  302. package/dist/components/bcm-timeline.js +1 -3
  303. package/dist/components/button.js +6 -0
  304. package/dist/components/checkbox.js +6 -4
  305. package/dist/components/datetime-picker.js +9 -6
  306. package/dist/components/empty.js +1 -0
  307. package/dist/components/floating-ui.js +2 -1
  308. package/dist/components/generate.js +1 -1
  309. package/dist/components/icon.js +1 -0
  310. package/dist/components/label.js +4 -1
  311. package/dist/components/link.js +3 -0
  312. package/dist/{esm/bcm-linked.entry.js → components/linked.js} +60 -22
  313. package/dist/components/listbox-group.js +1 -0
  314. package/dist/components/listbox-item.js +7 -0
  315. package/dist/components/listbox.js +16 -9
  316. package/dist/components/menu.js +11 -126
  317. package/dist/components/old-bcm-popover.js +3 -4
  318. package/dist/components/old-input.js +14 -1
  319. package/dist/components/old-popover-box.js +6 -0
  320. package/dist/components/old-tag.js +2 -0
  321. package/dist/components/popconfirm-box.js +5 -0
  322. package/dist/components/radio.js +3 -2
  323. package/dist/components/search.js +4 -8
  324. package/dist/components/step.js +5 -4
  325. package/dist/components/text.js +2 -0
  326. package/dist/components/treeview-item.js +5 -1
  327. package/dist/components/treeview.js +7 -4
  328. package/dist/esm/bcm-accordion.entry.js +3 -3
  329. package/dist/esm/bcm-alert.entry.js +7 -8
  330. package/dist/esm/bcm-attendance.entry.js +3 -7
  331. package/dist/esm/bcm-autocomplete.entry.js +3 -2
  332. package/dist/esm/bcm-avatar_15.entry.js +1936 -0
  333. package/dist/esm/bcm-b8d8a236.js +1 -1
  334. package/dist/esm/bcm-box.entry.js +2 -2
  335. package/dist/esm/bcm-breadcrumb.entry.js +4 -3
  336. package/dist/esm/bcm-button-group.entry.js +6 -4
  337. package/dist/esm/bcm-card.entry.js +7 -5
  338. package/dist/esm/bcm-checkbox-group.entry.js +13 -7
  339. package/dist/esm/bcm-checkbox-lite_9.entry.js +41 -18
  340. package/dist/esm/bcm-checkbox_2.entry.js +12 -10
  341. package/dist/esm/bcm-chip.entry.js +7 -3
  342. package/dist/esm/bcm-collapse-group.entry.js +2 -2
  343. package/dist/esm/bcm-collapse.entry.js +3 -3
  344. package/dist/esm/bcm-colorpicker.entry.js +8 -9
  345. package/dist/esm/bcm-date-picker.entry.js +11 -4
  346. package/dist/esm/bcm-datetime-picker.entry.js +15 -12
  347. package/dist/esm/bcm-default.entry.js +3 -3
  348. package/dist/esm/bcm-drawer.entry.js +7 -10
  349. package/dist/esm/bcm-error-layout.entry.js +2 -2
  350. package/dist/esm/bcm-expansion-panel.entry.js +4 -3
  351. package/dist/esm/bcm-form-2.entry.js +6 -6
  352. package/dist/esm/bcm-form-group.entry.js +3 -2
  353. package/dist/esm/bcm-input.entry.js +30 -13
  354. package/dist/esm/bcm-link.entry.js +6 -3
  355. package/dist/esm/bcm-list.entry.js +27 -25
  356. package/dist/esm/bcm-message.entry.js +2 -5
  357. package/dist/esm/{bcm-label_2.entry.js → bcm-modal.entry.js} +101 -77
  358. package/dist/esm/bcm-notification.entry.js +4 -2
  359. package/dist/esm/bcm-old-input.entry.js +17 -4
  360. package/dist/esm/bcm-old-tag_2.entry.js +4 -2
  361. package/dist/esm/bcm-popconfirm-box.entry.js +8 -3
  362. package/dist/esm/bcm-popconfirm.entry.js +5 -4
  363. package/dist/esm/bcm-progress.entry.js +4 -4
  364. package/dist/esm/bcm-radio-group.entry.js +15 -6
  365. package/dist/esm/bcm-radio.entry.js +8 -7
  366. package/dist/esm/bcm-range.entry.js +10 -4
  367. package/dist/esm/bcm-result.entry.js +6 -2
  368. package/dist/esm/bcm-search.entry.js +10 -14
  369. package/dist/esm/bcm-select-group.entry.js +2 -1
  370. package/dist/esm/bcm-select-option.entry.js +4 -1
  371. package/dist/esm/bcm-select.entry.js +24 -13
  372. package/dist/esm/bcm-skeleton.entry.js +3 -3
  373. package/dist/esm/bcm-step.entry.js +10 -9
  374. package/dist/esm/bcm-stepper.entry.js +6 -10
  375. package/dist/esm/bcm-tab-group.entry.js +5 -5
  376. package/dist/esm/bcm-tab-pane.entry.js +2 -2
  377. package/dist/esm/bcm-tab.entry.js +2 -5
  378. package/dist/esm/bcm-table.entry.js +2 -2
  379. package/dist/esm/bcm-tabs-content.entry.js +2 -2
  380. package/dist/esm/bcm-tabs.entry.js +2 -8
  381. package/dist/esm/bcm-tag.entry.js +8 -5
  382. package/dist/esm/bcm-textarea.entry.js +17 -7
  383. package/dist/esm/bcm-time-picker.entry.js +11 -4
  384. package/dist/esm/bcm-timeline-item.entry.js +3 -5
  385. package/dist/esm/bcm-timeline.entry.js +3 -5
  386. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  387. package/dist/esm/bromcom-ui.js +3 -3
  388. package/dist/esm/{caption-template-d54ee0c3.js → caption-template-e7d51661.js} +1 -1
  389. package/dist/esm/{floating-ui-f03a96ce.js → floating-ui-700d0b98.js} +3 -2
  390. package/dist/esm/{generate-a7f3d168.js → generate-30f32431.js} +14 -14
  391. package/dist/esm/{index-2a3eeccc.js → index-58077b32.js} +473 -275
  392. package/dist/esm/{index-6e950253.js → index-6bdec00d.js} +1 -1
  393. package/dist/esm/{input-template-928c8d17.js → input-template-0131cb6b.js} +3 -3
  394. package/dist/esm/{is-load-decorator-b990575a.js → is-load-decorator-d57b8f9e.js} +1 -1
  395. package/dist/esm/{label-template-e3eebfbc.js → label-template-f352ef5b.js} +3 -3
  396. package/dist/esm/loader.js +3 -3
  397. package/dist/esm/{number-helper-f3b67bd2.js → number-helper-49efb3a0.js} +1 -1
  398. package/dist/esm/old-bcm-popover-box.entry.js +11 -5
  399. package/dist/esm/old-bcm-popover.entry.js +7 -8
  400. package/dist/esm/polyfills/css-shim.js +1 -1
  401. package/dist/esm/{slot-template-877c4e01.js → slot-template-aee2ff75.js} +1 -1
  402. package/dist/esm/{stepper-states-e2489128.js → stepper-states-204a065e.js} +2 -2
  403. package/dist/esm/string-helper-74a1648f.js +1 -1
  404. package/dist/esm/{tooltip-helper-99202557.js → tooltip-helper-968148fa.js} +36 -5
  405. package/dist/esm/{validators-0f31a959.js → validators-e1c02a1a.js} +1 -1
  406. package/dist/types/components/molecules/dropdown/dropdown.d.ts +2 -15
  407. package/dist/types/components/molecules/linked/linked.d.ts +3 -1
  408. package/dist/types/components/molecules/menu/menu.d.ts +1 -13
  409. package/dist/types/components.d.ts +12 -13
  410. package/dist/types/stencil-public-runtime.d.ts +20 -4
  411. package/loader/package.json +1 -0
  412. package/package.json +1 -1
  413. package/dist/bromcom-ui/assets +0 -0
  414. package/dist/bromcom-ui/p-0031ea84.entry.js +0 -5
  415. package/dist/bromcom-ui/p-00fb02e5.entry.js +0 -5
  416. package/dist/bromcom-ui/p-02892da0.entry.js +0 -5
  417. package/dist/bromcom-ui/p-046bc94c.entry.js +0 -5
  418. package/dist/bromcom-ui/p-0594c485.entry.js +0 -5
  419. package/dist/bromcom-ui/p-0ae411fe.entry.js +0 -5
  420. package/dist/bromcom-ui/p-0d37438e.entry.js +0 -5
  421. package/dist/bromcom-ui/p-10caf4ce.js +0 -6
  422. package/dist/bromcom-ui/p-12e845fb.entry.js +0 -5
  423. package/dist/bromcom-ui/p-1507f99a.entry.js +0 -5
  424. package/dist/bromcom-ui/p-1808adae.entry.js +0 -5
  425. package/dist/bromcom-ui/p-23de3629.entry.js +0 -5
  426. package/dist/bromcom-ui/p-2b91dab0.entry.js +0 -5
  427. package/dist/bromcom-ui/p-2cfa8d1a.js +0 -5
  428. package/dist/bromcom-ui/p-3057e85a.entry.js +0 -5
  429. package/dist/bromcom-ui/p-34c2069d.entry.js +0 -5
  430. package/dist/bromcom-ui/p-35be5c95.entry.js +0 -5
  431. package/dist/bromcom-ui/p-3b581c7d.entry.js +0 -5
  432. package/dist/bromcom-ui/p-3bcefb6e.entry.js +0 -5
  433. package/dist/bromcom-ui/p-3ee2e4fe.entry.js +0 -5
  434. package/dist/bromcom-ui/p-41cbecc7.entry.js +0 -5
  435. package/dist/bromcom-ui/p-42197730.entry.js +0 -5
  436. package/dist/bromcom-ui/p-44d68311.js +0 -5
  437. package/dist/bromcom-ui/p-4533663c.entry.js +0 -5
  438. package/dist/bromcom-ui/p-4be4c5bf.js +0 -5
  439. package/dist/bromcom-ui/p-4caf9f93.js +0 -5
  440. package/dist/bromcom-ui/p-4dbbb202.entry.js +0 -5
  441. package/dist/bromcom-ui/p-522c96a2.js +0 -5
  442. package/dist/bromcom-ui/p-5273d935.entry.js +0 -5
  443. package/dist/bromcom-ui/p-52ffb8e1.js +0 -5
  444. package/dist/bromcom-ui/p-5ad079a6.entry.js +0 -5
  445. package/dist/bromcom-ui/p-640244fa.entry.js +0 -5
  446. package/dist/bromcom-ui/p-6ad01d01.entry.js +0 -5
  447. package/dist/bromcom-ui/p-6c7eb43f.entry.js +0 -5
  448. package/dist/bromcom-ui/p-6e89ceb2.entry.js +0 -5
  449. package/dist/bromcom-ui/p-70b13097.entry.js +0 -5
  450. package/dist/bromcom-ui/p-721534bd.entry.js +0 -5
  451. package/dist/bromcom-ui/p-7385899c.js +0 -5
  452. package/dist/bromcom-ui/p-751c94dd.entry.js +0 -5
  453. package/dist/bromcom-ui/p-799a5570.entry.js +0 -5
  454. package/dist/bromcom-ui/p-7d76a273.entry.js +0 -5
  455. package/dist/bromcom-ui/p-7f065a45.entry.js +0 -5
  456. package/dist/bromcom-ui/p-8907162c.entry.js +0 -5
  457. package/dist/bromcom-ui/p-92fa0a00.entry.js +0 -5
  458. package/dist/bromcom-ui/p-99a2cb36.entry.js +0 -5
  459. package/dist/bromcom-ui/p-9e2b4b55.entry.js +0 -5
  460. package/dist/bromcom-ui/p-9efe118a.entry.js +0 -5
  461. package/dist/bromcom-ui/p-a0042349.entry.js +0 -5
  462. package/dist/bromcom-ui/p-a1c849e7.js +0 -5
  463. package/dist/bromcom-ui/p-a628aed8.entry.js +0 -5
  464. package/dist/bromcom-ui/p-a98aecdf.entry.js +0 -5
  465. package/dist/bromcom-ui/p-b088a98d.entry.js +0 -5
  466. package/dist/bromcom-ui/p-b4cbf3bd.entry.js +0 -5
  467. package/dist/bromcom-ui/p-b9983e4b.entry.js +0 -5
  468. package/dist/bromcom-ui/p-be39c24b.entry.js +0 -5
  469. package/dist/bromcom-ui/p-bf30bf7f.entry.js +0 -5
  470. package/dist/bromcom-ui/p-c0e8c481.entry.js +0 -5
  471. package/dist/bromcom-ui/p-dbb106a4.entry.js +0 -5
  472. package/dist/bromcom-ui/p-e467d49f.entry.js +0 -5
  473. package/dist/bromcom-ui/p-e50f0098.entry.js +0 -5
  474. package/dist/bromcom-ui/p-ebb01d57.entry.js +0 -5
  475. package/dist/bromcom-ui/p-f4936482.entry.js +0 -5
  476. package/dist/bromcom-ui/p-fa42b2de.entry.js +0 -5
  477. package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -156
  478. package/dist/cjs/bcm-button_3.cjs.entry.js +0 -530
  479. package/dist/cjs/bcm-dropdown.cjs.entry.js +0 -239
  480. package/dist/cjs/bcm-form.cjs.entry.js +0 -486
  481. package/dist/cjs/bcm-item.cjs.entry.js +0 -83
  482. package/dist/cjs/bcm-items.cjs.entry.js +0 -61
  483. package/dist/cjs/bcm-linked.cjs.entry.js +0 -179
  484. package/dist/cjs/bcm-menu.cjs.entry.js +0 -248
  485. package/dist/cjs/bcm-popover.cjs.entry.js +0 -183
  486. package/dist/cjs/bcm-switch.cjs.entry.js +0 -139
  487. package/dist/cjs/bcm-text.cjs.entry.js +0 -60
  488. package/dist/cjs/json-parse-decarator-4d8d8097.js +0 -40
  489. package/dist/cjs/property-decorators-cb2155ed.js +0 -33
  490. package/dist/collection/assets +0 -0
  491. package/dist/components/property-decorators.js +0 -31
  492. package/dist/esm/bcm-avatar_2.entry.js +0 -151
  493. package/dist/esm/bcm-button_3.entry.js +0 -524
  494. package/dist/esm/bcm-form.entry.js +0 -482
  495. package/dist/esm/bcm-item.entry.js +0 -79
  496. package/dist/esm/bcm-items.entry.js +0 -57
  497. package/dist/esm/bcm-menu.entry.js +0 -244
  498. package/dist/esm/bcm-popover.entry.js +0 -179
  499. package/dist/esm/bcm-switch.entry.js +0 -135
  500. package/dist/esm/bcm-text.entry.js +0 -56
  501. package/dist/esm/json-parse-decarator-58394179.js +0 -38
  502. package/dist/esm/property-decorators-f3f1e7de.js +0 -31
@@ -4,11 +4,15 @@
4
4
  */
5
5
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
6
6
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
8
+ r = Reflect.decorate(decorators, target, key, desc);
9
+ else
10
+ for (var i = decorators.length - 1; i >= 0; i--)
11
+ if (d = decorators[i])
12
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
13
  return c > 3 && r && Object.defineProperty(target, key, r), r;
10
14
  };
11
- import { Component, Prop, h, State, Watch, Element, forceUpdate, Host, Method, Listen, Event } from '@stencil/core';
15
+ import { h, forceUpdate, Host } from '@stencil/core';
12
16
  import { ElementDragger, DragDirections } from '../../../utils/element-dragger';
13
17
  import { Months, Days, Types } from './types';
14
18
  import cs from 'classnames';
@@ -29,9 +33,6 @@ export class BcmDatetimePicker {
29
33
  this.dayNumbers = [];
30
34
  this.valueText = null;
31
35
  this.dataIsValid = false;
32
- /**
33
- * Component Properties
34
- */
35
36
  this._id = Generate.UID();
36
37
  this.date = new Date();
37
38
  this.endDate = null;
@@ -41,22 +42,28 @@ export class BcmDatetimePicker {
41
42
  this.value = null;
42
43
  this._open = false;
43
44
  this.hidden = false;
45
+ this.name = undefined;
44
46
  this.fullWidth = false;
45
47
  this.required = false;
48
+ this.label = undefined;
49
+ this.placeholder = undefined;
46
50
  this.minYear = 1900;
47
51
  this.maxYear = 2200;
48
52
  this.noCaption = false;
53
+ this.captionError = undefined;
49
54
  this.caption = '';
50
55
  this.captionType = 'default';
56
+ this.alignment = undefined;
51
57
  this.placement = Bcm.Placement['bottom-start'];
52
- /**
53
- * Component States
54
- */
58
+ this.linkedComponent = undefined;
55
59
  this.years = [];
56
60
  this.hours = [];
57
61
  this.minutes = [];
58
62
  this.hasDateModule = false;
59
63
  this.hasTimeModule = false;
64
+ this.renderDate = undefined;
65
+ this.selectedDate = undefined;
66
+ this.selectedEndDate = undefined;
60
67
  this.error = false;
61
68
  this.errorText = '';
62
69
  this.tick = {};
@@ -1348,824 +1355,792 @@ export class BcmDatetimePicker {
1348
1355
  const clockIcon = `<svg style="fill: #595959; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"/></svg>`;
1349
1356
  const calendarIcon = `<svg style="fill: #595959; width: 14px; height: 14px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>`;
1350
1357
  const inputIcon = this.type == "time" ? clockIcon : calendarIcon;
1351
- return (h(Host, { class: hostClasses, "bcm-internal-id": this.inputId },
1352
- this.label && (h("div", { class: "picker-label", onClick: () => this.openToggle() },
1353
- h(LabelTemplate, { size: "medium", type: this.captionType, value: this.label, required: this.required, htmlFor: this._id }))),
1354
- h("bcm-old-input", { ref: el => (this.inputElement = el), placeholder: this.placeholder || 'Select ' + (this.type === Types.datetime ? 'date and time' : '') + (this.type === Types.date ? 'date' : '') + (this.type === Types.time ? 'time' : '') + (this.type === Types.range ? 'date range' : ''), value: this.valueText, required: this.required, fullWidth: this.fullWidth, disabled: this.disabled, name: this.name, id: this.inputId, clearable: true, onClick: () => this.openPicker(), disableWatchValue: true, "on-bcm-clear": () => this.handleInputClear(), "on-bcm-change": (e) => this.handleInputChange(e),
1355
- // on-bcm-input={(e: CustomEvent) => this.handleInputInput(e.detail)}
1356
- noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType },
1357
- this.error && (h("span", { slot: "suffix" },
1358
- h("bcm-tooltip", { placement: "top", message: this.errorText, trigger: "hover" },
1359
- h("bcm-icon", {
1360
- // slot="suffix"
1361
- // title={this.errorText}
1362
- icon: "far fa-exclamation-circle" })))),
1363
- h("span", { slot: "suffix", onClick: () => this.openPicker() },
1364
- h("span", { id: "calender-icon", class: toggleClasses, innerHTML: inputIcon }))),
1365
- h("div", { id: "picker-vp-" + this._id, class: datetimePickerClasses, onWheel: (e) => this.handleWheel(e) },
1366
- h("div", { class: "modules" },
1367
- this.hasDateModule && (h("div", { class: "date-container" },
1368
- h("div", { class: "bcm-datetime-picker__header" },
1369
- h("span", null),
1370
- h("div", { class: "month-year" },
1371
- h("button", { onClick: () => this.getPrevMonth() },
1372
- h("bcm-icon", { icon: "far fa-chevron-left" })),
1373
- h("div", { class: "month-year-wrapper" },
1374
- h("span", { class: "month" }, this.getMonthText()),
1375
- ",",
1376
- h("span", { class: "year" }, this.date.getFullYear())),
1377
- h("button", { onClick: () => this.getNextMonth() },
1378
- h("bcm-icon", { icon: "far fa-chevron-right" }))),
1379
- h("span", { class: "today", onClick: () => this.setDateToday() }, "Today")),
1380
- h("div", { class: "bcm-datetime-picker__content" },
1381
- h("div", { class: "years", ref: el => (this.yearsWrapperElement = el) },
1382
- h("div", { class: "items", ref: el => (this.yearsElement = el) }, this.years.map((year, idx) => h("span", { onClick: () => this.yearClick(idx) }, year))),
1383
- h("div", { class: "select-strip", ref: el => (this.yearsStripElement = el) })),
1384
- h("div", { class: "days" },
1385
- h("div", { class: "day-labels" },
1386
- h("span", null, "Mo"),
1387
- h("span", null, "Tu"),
1388
- h("span", null, "We"),
1389
- h("span", null, "Th"),
1390
- h("span", null, "Fr"),
1391
- h("span", null, "Sa"),
1392
- h("span", null, "Su")),
1393
- h("div", { class: dayNumbersClasses }, this.dayNumbers.map(day => (h("span", { class: {
1394
- 'is-disabled-date': (this.type === Types.date || this.type === Types.datetime) && this.isDisabledDate(day.date),
1395
- 'not-this-month': !day.thisMonth,
1396
- 'is-weekend': day.isWeekend,
1397
- 'today': day.today,
1398
- 'selected': this.getSelected(day.date),
1399
- 'selected-start': this.getSelected(day.date) && this.selectedEndDate && this.type === Types.range,
1400
- 'selected-end': this.getSelected(day.date, true) && this.type === Types.range,
1401
- 'range': this.getDateIsInRange(day.date) && this.type === Types.range
1402
- }, onClick: () => this.handleDayNumber(day.date) },
1403
- h("span", { class: "number" }, day.day))))))))),
1404
- this.hasTimeModule && (h("div", { class: "time-container" },
1405
- h("div", { class: "bcm-datetime-picker__header" },
1406
- h("div", { class: "month-year" },
1407
- h("span", { class: "month" }, this.getTimeText())),
1408
- h("span", { class: "now", onClick: () => { this.setTime(), this.type == "time" && (this._open = false); } }, "Now")),
1409
- h("div", { class: "bcm-datetime-picker__content", onDblClick: (e) => { this.HourContentDblClick(e); } },
1410
- h("div", { class: "hours", ref: el => (this.hoursWrapperElement = el) },
1411
- h("div", { class: "items", ref: el => (this.hoursElement = el) }, this.hours.map((hour, idx) => h("span", { class: this.currentDate.hour === hour ? 'selected' : '', onClick: () => this.hourClick(idx) }, (hour < 10 && '0') + hour)))),
1412
- h("div", { class: "minutes", ref: el => (this.minutesWrapperElement = el) },
1413
- h("div", { class: "items", ref: el => (this.minutesElement = el) }, this.minutes.map((minute, idx) => h("span", { class: this.currentDate.minute === minute ? 'selected' : '', onClick: () => this.minuteClick(idx) }, (minute < 10 && '0') + minute)))),
1414
- h("div", { class: "select-strip", ref: el => (this.timeStripElement = el) }))))))));
1358
+ return (h(Host, { class: hostClasses, "bcm-internal-id": this.inputId }, this.label && (h("div", { class: "picker-label", onClick: () => this.openToggle() }, h(LabelTemplate, { size: "medium", type: this.captionType, value: this.label, required: this.required, htmlFor: this._id }))), h("bcm-old-input", { ref: el => (this.inputElement = el), placeholder: this.placeholder || 'Select ' + (this.type === Types.datetime ? 'date and time' : '') + (this.type === Types.date ? 'date' : '') + (this.type === Types.time ? 'time' : '') + (this.type === Types.range ? 'date range' : ''), value: this.valueText, required: this.required, fullWidth: this.fullWidth, disabled: this.disabled, name: this.name, id: this.inputId, clearable: true, onClick: () => this.openPicker(), disableWatchValue: true, "on-bcm-clear": () => this.handleInputClear(), "on-bcm-change": (e) => this.handleInputChange(e),
1359
+ // on-bcm-input={(e: CustomEvent) => this.handleInputInput(e.detail)}
1360
+ noCaption: this.noCaption, captionError: this.captionError, caption: this.caption, captionType: this.captionType }, this.error && (h("span", { slot: "suffix" }, h("bcm-tooltip", { placement: "top", message: this.errorText, trigger: "hover" }, h("bcm-icon", {
1361
+ // slot="suffix"
1362
+ // title={this.errorText}
1363
+ icon: "far fa-exclamation-circle"
1364
+ })))), h("span", { slot: "suffix", onClick: () => this.openPicker() }, h("span", { id: "calender-icon", class: toggleClasses, innerHTML: inputIcon }))), h("div", { id: "picker-vp-" + this._id, class: datetimePickerClasses, onWheel: (e) => this.handleWheel(e) }, h("div", { class: "modules" }, this.hasDateModule && (h("div", { class: "date-container" }, h("div", { class: "bcm-datetime-picker__header" }, h("span", null), h("div", { class: "month-year" }, h("button", { onClick: () => this.getPrevMonth() }, h("bcm-icon", { icon: "far fa-chevron-left" })), h("div", { class: "month-year-wrapper" }, h("span", { class: "month" }, this.getMonthText()), ",", h("span", { class: "year" }, this.date.getFullYear())), h("button", { onClick: () => this.getNextMonth() }, h("bcm-icon", { icon: "far fa-chevron-right" }))), h("span", { class: "today", onClick: () => this.setDateToday() }, "Today")), h("div", { class: "bcm-datetime-picker__content" }, h("div", { class: "years", ref: el => (this.yearsWrapperElement = el) }, h("div", { class: "items", ref: el => (this.yearsElement = el) }, this.years.map((year, idx) => h("span", { onClick: () => this.yearClick(idx) }, year))), h("div", { class: "select-strip", ref: el => (this.yearsStripElement = el) })), h("div", { class: "days" }, h("div", { class: "day-labels" }, h("span", null, "Mo"), h("span", null, "Tu"), h("span", null, "We"), h("span", null, "Th"), h("span", null, "Fr"), h("span", null, "Sa"), h("span", null, "Su")), h("div", { class: dayNumbersClasses }, this.dayNumbers.map(day => (h("span", { class: {
1365
+ 'is-disabled-date': (this.type === Types.date || this.type === Types.datetime) && this.isDisabledDate(day.date),
1366
+ 'not-this-month': !day.thisMonth,
1367
+ 'is-weekend': day.isWeekend,
1368
+ 'today': day.today,
1369
+ 'selected': this.getSelected(day.date),
1370
+ 'selected-start': this.getSelected(day.date) && this.selectedEndDate && this.type === Types.range,
1371
+ 'selected-end': this.getSelected(day.date, true) && this.type === Types.range,
1372
+ 'range': this.getDateIsInRange(day.date) && this.type === Types.range
1373
+ }, onClick: () => this.handleDayNumber(day.date) }, h("span", { class: "number" }, day.day))))))))), this.hasTimeModule && (h("div", { class: "time-container" }, h("div", { class: "bcm-datetime-picker__header" }, h("div", { class: "month-year" }, h("span", { class: "month" }, this.getTimeText())), h("span", { class: "now", onClick: () => { this.setTime(), this.type == "time" && (this._open = false); } }, "Now")), h("div", { class: "bcm-datetime-picker__content", onDblClick: (e) => { this.HourContentDblClick(e); } }, h("div", { class: "hours", ref: el => (this.hoursWrapperElement = el) }, h("div", { class: "items", ref: el => (this.hoursElement = el) }, this.hours.map((hour, idx) => h("span", { class: this.currentDate.hour === hour ? 'selected' : '', onClick: () => this.hourClick(idx) }, (hour < 10 && '0') + hour)))), h("div", { class: "minutes", ref: el => (this.minutesWrapperElement = el) }, h("div", { class: "items", ref: el => (this.minutesElement = el) }, this.minutes.map((minute, idx) => h("span", { class: this.currentDate.minute === minute ? 'selected' : '', onClick: () => this.minuteClick(idx) }, (minute < 10 && '0') + minute)))), h("div", { class: "select-strip", ref: el => (this.timeStripElement = el) }))))))));
1415
1374
  }
1416
1375
  static get is() { return "bcm-datetime-picker"; }
1417
1376
  static get encapsulation() { return "shadow"; }
1418
- static get originalStyleUrls() { return {
1419
- "$": ["datetime-picker.scss"]
1420
- }; }
1421
- static get styleUrls() { return {
1422
- "$": ["datetime-picker.css"]
1423
- }; }
1424
- static get properties() { return {
1425
- "_id": {
1426
- "type": "string",
1427
- "mutable": true,
1428
- "complexType": {
1429
- "original": "string",
1430
- "resolved": "string",
1431
- "references": {}
1432
- },
1433
- "required": false,
1434
- "optional": false,
1435
- "docs": {
1436
- "tags": [],
1437
- "text": "Component Properties"
1377
+ static get originalStyleUrls() {
1378
+ return {
1379
+ "$": ["datetime-picker.scss"]
1380
+ };
1381
+ }
1382
+ static get styleUrls() {
1383
+ return {
1384
+ "$": ["datetime-picker.css"]
1385
+ };
1386
+ }
1387
+ static get properties() {
1388
+ return {
1389
+ "_id": {
1390
+ "type": "string",
1391
+ "mutable": true,
1392
+ "complexType": {
1393
+ "original": "string",
1394
+ "resolved": "string",
1395
+ "references": {}
1396
+ },
1397
+ "required": false,
1398
+ "optional": false,
1399
+ "docs": {
1400
+ "tags": [],
1401
+ "text": "Component Properties"
1402
+ },
1403
+ "attribute": "id",
1404
+ "reflect": true,
1405
+ "defaultValue": "Generate.UID()"
1438
1406
  },
1439
- "attribute": "id",
1440
- "reflect": true,
1441
- "defaultValue": "Generate.UID()"
1442
- },
1443
- "date": {
1444
- "type": "string",
1445
- "mutable": true,
1446
- "complexType": {
1447
- "original": "string | Date",
1448
- "resolved": "Date | string",
1449
- "references": {
1450
- "Date": {
1451
- "location": "global"
1407
+ "date": {
1408
+ "type": "string",
1409
+ "mutable": true,
1410
+ "complexType": {
1411
+ "original": "string | Date",
1412
+ "resolved": "Date | string",
1413
+ "references": {
1414
+ "Date": {
1415
+ "location": "global"
1416
+ }
1452
1417
  }
1453
- }
1454
- },
1455
- "required": false,
1456
- "optional": false,
1457
- "docs": {
1458
- "tags": [],
1459
- "text": ""
1418
+ },
1419
+ "required": false,
1420
+ "optional": false,
1421
+ "docs": {
1422
+ "tags": [],
1423
+ "text": ""
1424
+ },
1425
+ "attribute": "date",
1426
+ "reflect": false,
1427
+ "defaultValue": "new Date()"
1460
1428
  },
1461
- "attribute": "date",
1462
- "reflect": false,
1463
- "defaultValue": "new Date()"
1464
- },
1465
- "endDate": {
1466
- "type": "string",
1467
- "mutable": true,
1468
- "complexType": {
1469
- "original": "string | Date",
1470
- "resolved": "Date | string",
1471
- "references": {
1472
- "Date": {
1473
- "location": "global"
1429
+ "endDate": {
1430
+ "type": "string",
1431
+ "mutable": true,
1432
+ "complexType": {
1433
+ "original": "string | Date",
1434
+ "resolved": "Date | string",
1435
+ "references": {
1436
+ "Date": {
1437
+ "location": "global"
1438
+ }
1474
1439
  }
1475
- }
1476
- },
1477
- "required": false,
1478
- "optional": false,
1479
- "docs": {
1480
- "tags": [],
1481
- "text": ""
1440
+ },
1441
+ "required": false,
1442
+ "optional": false,
1443
+ "docs": {
1444
+ "tags": [],
1445
+ "text": ""
1446
+ },
1447
+ "attribute": "end-date",
1448
+ "reflect": false,
1449
+ "defaultValue": "null"
1482
1450
  },
1483
- "attribute": "end-date",
1484
- "reflect": false,
1485
- "defaultValue": "null"
1486
- },
1487
- "type": {
1488
- "type": "string",
1489
- "mutable": true,
1490
- "complexType": {
1491
- "original": "Type",
1492
- "resolved": "\"date\" | \"datetime\" | \"range\" | \"time\"",
1493
- "references": {
1494
- "Type": {
1495
- "location": "import",
1496
- "path": "./types"
1451
+ "type": {
1452
+ "type": "string",
1453
+ "mutable": true,
1454
+ "complexType": {
1455
+ "original": "Type",
1456
+ "resolved": "\"date\" | \"datetime\" | \"range\" | \"time\"",
1457
+ "references": {
1458
+ "Type": {
1459
+ "location": "import",
1460
+ "path": "./types"
1461
+ }
1497
1462
  }
1498
- }
1499
- },
1500
- "required": false,
1501
- "optional": false,
1502
- "docs": {
1503
- "tags": [],
1504
- "text": ""
1505
- },
1506
- "attribute": "type",
1507
- "reflect": false,
1508
- "defaultValue": "Types.datetime"
1509
- },
1510
- "disabled": {
1511
- "type": "boolean",
1512
- "mutable": true,
1513
- "complexType": {
1514
- "original": "boolean",
1515
- "resolved": "boolean",
1516
- "references": {}
1517
- },
1518
- "required": false,
1519
- "optional": false,
1520
- "docs": {
1521
- "tags": [],
1522
- "text": ""
1523
- },
1524
- "attribute": "disabled",
1525
- "reflect": false,
1526
- "defaultValue": "false"
1527
- },
1528
- "disabledDates": {
1529
- "type": "any",
1530
- "mutable": true,
1531
- "complexType": {
1532
- "original": "any",
1533
- "resolved": "any",
1534
- "references": {}
1535
- },
1536
- "required": false,
1537
- "optional": false,
1538
- "docs": {
1539
- "tags": [],
1540
- "text": ""
1541
- },
1542
- "attribute": "disableddates",
1543
- "reflect": false,
1544
- "defaultValue": "''"
1545
- },
1546
- "value": {
1547
- "type": "any",
1548
- "mutable": true,
1549
- "complexType": {
1550
- "original": "any",
1551
- "resolved": "any",
1552
- "references": {}
1553
- },
1554
- "required": false,
1555
- "optional": false,
1556
- "docs": {
1557
- "tags": [],
1558
- "text": ""
1559
- },
1560
- "attribute": "value",
1561
- "reflect": false,
1562
- "defaultValue": "null"
1563
- },
1564
- "_open": {
1565
- "type": "boolean",
1566
- "mutable": true,
1567
- "complexType": {
1568
- "original": "boolean",
1569
- "resolved": "boolean",
1570
- "references": {}
1571
- },
1572
- "required": false,
1573
- "optional": false,
1574
- "docs": {
1575
- "tags": [],
1576
- "text": ""
1577
- },
1578
- "attribute": "open",
1579
- "reflect": false,
1580
- "defaultValue": "false"
1581
- },
1582
- "hidden": {
1583
- "type": "boolean",
1584
- "mutable": true,
1585
- "complexType": {
1586
- "original": "boolean",
1587
- "resolved": "boolean",
1588
- "references": {}
1589
- },
1590
- "required": false,
1591
- "optional": false,
1592
- "docs": {
1593
- "tags": [],
1594
- "text": ""
1595
- },
1596
- "attribute": "hidden",
1597
- "reflect": false,
1598
- "defaultValue": "false"
1599
- },
1600
- "name": {
1601
- "type": "string",
1602
- "mutable": true,
1603
- "complexType": {
1604
- "original": "string",
1605
- "resolved": "string",
1606
- "references": {}
1607
- },
1608
- "required": false,
1609
- "optional": false,
1610
- "docs": {
1611
- "tags": [],
1612
- "text": ""
1613
- },
1614
- "attribute": "name",
1615
- "reflect": true
1616
- },
1617
- "fullWidth": {
1618
- "type": "boolean",
1619
- "mutable": true,
1620
- "complexType": {
1621
- "original": "boolean",
1622
- "resolved": "boolean",
1623
- "references": {}
1624
- },
1625
- "required": false,
1626
- "optional": false,
1627
- "docs": {
1628
- "tags": [],
1629
- "text": ""
1630
- },
1631
- "attribute": "full-width",
1632
- "reflect": false,
1633
- "defaultValue": "false"
1634
- },
1635
- "required": {
1636
- "type": "boolean",
1637
- "mutable": true,
1638
- "complexType": {
1639
- "original": "boolean",
1640
- "resolved": "boolean",
1641
- "references": {}
1642
- },
1643
- "required": false,
1644
- "optional": false,
1645
- "docs": {
1646
- "tags": [],
1647
- "text": ""
1648
- },
1649
- "attribute": "required",
1650
- "reflect": false,
1651
- "defaultValue": "false"
1652
- },
1653
- "label": {
1654
- "type": "string",
1655
- "mutable": true,
1656
- "complexType": {
1657
- "original": "string",
1658
- "resolved": "string",
1659
- "references": {}
1660
- },
1661
- "required": false,
1662
- "optional": false,
1663
- "docs": {
1664
- "tags": [],
1665
- "text": ""
1666
- },
1667
- "attribute": "label",
1668
- "reflect": false
1669
- },
1670
- "placeholder": {
1671
- "type": "string",
1672
- "mutable": true,
1673
- "complexType": {
1674
- "original": "string",
1675
- "resolved": "string",
1676
- "references": {}
1677
- },
1678
- "required": false,
1679
- "optional": false,
1680
- "docs": {
1681
- "tags": [],
1682
- "text": ""
1683
- },
1684
- "attribute": "placeholder",
1685
- "reflect": false
1686
- },
1687
- "minYear": {
1688
- "type": "number",
1689
- "mutable": true,
1690
- "complexType": {
1691
- "original": "number",
1692
- "resolved": "number",
1693
- "references": {}
1694
- },
1695
- "required": false,
1696
- "optional": false,
1697
- "docs": {
1698
- "tags": [],
1699
- "text": ""
1700
- },
1701
- "attribute": "min-year",
1702
- "reflect": false,
1703
- "defaultValue": "1900"
1704
- },
1705
- "maxYear": {
1706
- "type": "number",
1707
- "mutable": true,
1708
- "complexType": {
1709
- "original": "number",
1710
- "resolved": "number",
1711
- "references": {}
1712
- },
1713
- "required": false,
1714
- "optional": false,
1715
- "docs": {
1716
- "tags": [],
1717
- "text": ""
1463
+ },
1464
+ "required": false,
1465
+ "optional": false,
1466
+ "docs": {
1467
+ "tags": [],
1468
+ "text": ""
1469
+ },
1470
+ "attribute": "type",
1471
+ "reflect": false,
1472
+ "defaultValue": "Types.datetime"
1718
1473
  },
1719
- "attribute": "max-year",
1720
- "reflect": false,
1721
- "defaultValue": "2200"
1722
- },
1723
- "noCaption": {
1724
- "type": "boolean",
1725
- "mutable": true,
1726
- "complexType": {
1727
- "original": "boolean",
1728
- "resolved": "boolean",
1729
- "references": {}
1474
+ "disabled": {
1475
+ "type": "boolean",
1476
+ "mutable": true,
1477
+ "complexType": {
1478
+ "original": "boolean",
1479
+ "resolved": "boolean",
1480
+ "references": {}
1481
+ },
1482
+ "required": false,
1483
+ "optional": false,
1484
+ "docs": {
1485
+ "tags": [],
1486
+ "text": ""
1487
+ },
1488
+ "attribute": "disabled",
1489
+ "reflect": false,
1490
+ "defaultValue": "false"
1730
1491
  },
1731
- "required": false,
1732
- "optional": false,
1733
- "docs": {
1734
- "tags": [],
1735
- "text": ""
1492
+ "disabledDates": {
1493
+ "type": "any",
1494
+ "mutable": true,
1495
+ "complexType": {
1496
+ "original": "any",
1497
+ "resolved": "any",
1498
+ "references": {}
1499
+ },
1500
+ "required": false,
1501
+ "optional": false,
1502
+ "docs": {
1503
+ "tags": [],
1504
+ "text": ""
1505
+ },
1506
+ "attribute": "disableddates",
1507
+ "reflect": false,
1508
+ "defaultValue": "''"
1736
1509
  },
1737
- "attribute": "no-caption",
1738
- "reflect": false,
1739
- "defaultValue": "false"
1740
- },
1741
- "captionError": {
1742
- "type": "string",
1743
- "mutable": true,
1744
- "complexType": {
1745
- "original": "string",
1746
- "resolved": "string",
1747
- "references": {}
1510
+ "value": {
1511
+ "type": "any",
1512
+ "mutable": true,
1513
+ "complexType": {
1514
+ "original": "any",
1515
+ "resolved": "any",
1516
+ "references": {}
1517
+ },
1518
+ "required": false,
1519
+ "optional": false,
1520
+ "docs": {
1521
+ "tags": [],
1522
+ "text": ""
1523
+ },
1524
+ "attribute": "value",
1525
+ "reflect": false,
1526
+ "defaultValue": "null"
1748
1527
  },
1749
- "required": false,
1750
- "optional": false,
1751
- "docs": {
1752
- "tags": [],
1753
- "text": ""
1528
+ "_open": {
1529
+ "type": "boolean",
1530
+ "mutable": true,
1531
+ "complexType": {
1532
+ "original": "boolean",
1533
+ "resolved": "boolean",
1534
+ "references": {}
1535
+ },
1536
+ "required": false,
1537
+ "optional": false,
1538
+ "docs": {
1539
+ "tags": [],
1540
+ "text": ""
1541
+ },
1542
+ "attribute": "open",
1543
+ "reflect": false,
1544
+ "defaultValue": "false"
1754
1545
  },
1755
- "attribute": "caption-error",
1756
- "reflect": false
1757
- },
1758
- "caption": {
1759
- "type": "string",
1760
- "mutable": true,
1761
- "complexType": {
1762
- "original": "string",
1763
- "resolved": "string",
1764
- "references": {}
1546
+ "hidden": {
1547
+ "type": "boolean",
1548
+ "mutable": true,
1549
+ "complexType": {
1550
+ "original": "boolean",
1551
+ "resolved": "boolean",
1552
+ "references": {}
1553
+ },
1554
+ "required": false,
1555
+ "optional": false,
1556
+ "docs": {
1557
+ "tags": [],
1558
+ "text": ""
1559
+ },
1560
+ "attribute": "hidden",
1561
+ "reflect": false,
1562
+ "defaultValue": "false"
1765
1563
  },
1766
- "required": false,
1767
- "optional": false,
1768
- "docs": {
1769
- "tags": [],
1770
- "text": ""
1564
+ "name": {
1565
+ "type": "string",
1566
+ "mutable": true,
1567
+ "complexType": {
1568
+ "original": "string",
1569
+ "resolved": "string",
1570
+ "references": {}
1571
+ },
1572
+ "required": false,
1573
+ "optional": false,
1574
+ "docs": {
1575
+ "tags": [],
1576
+ "text": ""
1577
+ },
1578
+ "attribute": "name",
1579
+ "reflect": true
1771
1580
  },
1772
- "attribute": "caption",
1773
- "reflect": false,
1774
- "defaultValue": "''"
1775
- },
1776
- "captionType": {
1777
- "type": "string",
1778
- "mutable": true,
1779
- "complexType": {
1780
- "original": "'primary' | 'success' | 'warning' | 'error' | 'default'",
1781
- "resolved": "\"default\" | \"error\" | \"primary\" | \"success\" | \"warning\"",
1782
- "references": {}
1581
+ "fullWidth": {
1582
+ "type": "boolean",
1583
+ "mutable": true,
1584
+ "complexType": {
1585
+ "original": "boolean",
1586
+ "resolved": "boolean",
1587
+ "references": {}
1588
+ },
1589
+ "required": false,
1590
+ "optional": false,
1591
+ "docs": {
1592
+ "tags": [],
1593
+ "text": ""
1594
+ },
1595
+ "attribute": "full-width",
1596
+ "reflect": false,
1597
+ "defaultValue": "false"
1783
1598
  },
1784
- "required": false,
1785
- "optional": false,
1786
- "docs": {
1787
- "tags": [],
1788
- "text": ""
1599
+ "required": {
1600
+ "type": "boolean",
1601
+ "mutable": true,
1602
+ "complexType": {
1603
+ "original": "boolean",
1604
+ "resolved": "boolean",
1605
+ "references": {}
1606
+ },
1607
+ "required": false,
1608
+ "optional": false,
1609
+ "docs": {
1610
+ "tags": [],
1611
+ "text": ""
1612
+ },
1613
+ "attribute": "required",
1614
+ "reflect": false,
1615
+ "defaultValue": "false"
1789
1616
  },
1790
- "attribute": "caption-type",
1791
- "reflect": false,
1792
- "defaultValue": "'default'"
1793
- },
1794
- "alignment": {
1795
- "type": "any",
1796
- "mutable": true,
1797
- "complexType": {
1798
- "original": "any",
1799
- "resolved": "any",
1800
- "references": {}
1617
+ "label": {
1618
+ "type": "string",
1619
+ "mutable": true,
1620
+ "complexType": {
1621
+ "original": "string",
1622
+ "resolved": "string",
1623
+ "references": {}
1624
+ },
1625
+ "required": false,
1626
+ "optional": false,
1627
+ "docs": {
1628
+ "tags": [],
1629
+ "text": ""
1630
+ },
1631
+ "attribute": "label",
1632
+ "reflect": false
1801
1633
  },
1802
- "required": false,
1803
- "optional": false,
1804
- "docs": {
1805
- "tags": [],
1806
- "text": ""
1634
+ "placeholder": {
1635
+ "type": "string",
1636
+ "mutable": true,
1637
+ "complexType": {
1638
+ "original": "string",
1639
+ "resolved": "string",
1640
+ "references": {}
1641
+ },
1642
+ "required": false,
1643
+ "optional": false,
1644
+ "docs": {
1645
+ "tags": [],
1646
+ "text": ""
1647
+ },
1648
+ "attribute": "placeholder",
1649
+ "reflect": false
1807
1650
  },
1808
- "attribute": "alignment",
1809
- "reflect": false
1810
- },
1811
- "placement": {
1812
- "type": "string",
1813
- "mutable": true,
1814
- "complexType": {
1815
- "original": "PlacementTypes",
1816
- "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
1817
- "references": {
1818
- "PlacementTypes": {
1819
- "location": "import",
1820
- "path": "../../../models/bcm-types"
1821
- }
1822
- }
1651
+ "minYear": {
1652
+ "type": "number",
1653
+ "mutable": true,
1654
+ "complexType": {
1655
+ "original": "number",
1656
+ "resolved": "number",
1657
+ "references": {}
1658
+ },
1659
+ "required": false,
1660
+ "optional": false,
1661
+ "docs": {
1662
+ "tags": [],
1663
+ "text": ""
1664
+ },
1665
+ "attribute": "min-year",
1666
+ "reflect": false,
1667
+ "defaultValue": "1900"
1823
1668
  },
1824
- "required": false,
1825
- "optional": false,
1826
- "docs": {
1827
- "tags": [],
1828
- "text": ""
1669
+ "maxYear": {
1670
+ "type": "number",
1671
+ "mutable": true,
1672
+ "complexType": {
1673
+ "original": "number",
1674
+ "resolved": "number",
1675
+ "references": {}
1676
+ },
1677
+ "required": false,
1678
+ "optional": false,
1679
+ "docs": {
1680
+ "tags": [],
1681
+ "text": ""
1682
+ },
1683
+ "attribute": "max-year",
1684
+ "reflect": false,
1685
+ "defaultValue": "2200"
1829
1686
  },
1830
- "attribute": "placement",
1831
- "reflect": false,
1832
- "defaultValue": "Bcm.Placement['bottom-start']"
1833
- },
1834
- "linkedComponent": {
1835
- "type": "string",
1836
- "mutable": true,
1837
- "complexType": {
1838
- "original": "string",
1839
- "resolved": "string",
1840
- "references": {}
1687
+ "noCaption": {
1688
+ "type": "boolean",
1689
+ "mutable": true,
1690
+ "complexType": {
1691
+ "original": "boolean",
1692
+ "resolved": "boolean",
1693
+ "references": {}
1694
+ },
1695
+ "required": false,
1696
+ "optional": false,
1697
+ "docs": {
1698
+ "tags": [],
1699
+ "text": ""
1700
+ },
1701
+ "attribute": "no-caption",
1702
+ "reflect": false,
1703
+ "defaultValue": "false"
1841
1704
  },
1842
- "required": false,
1843
- "optional": false,
1844
- "docs": {
1845
- "tags": [],
1846
- "text": ""
1705
+ "captionError": {
1706
+ "type": "string",
1707
+ "mutable": true,
1708
+ "complexType": {
1709
+ "original": "string",
1710
+ "resolved": "string",
1711
+ "references": {}
1712
+ },
1713
+ "required": false,
1714
+ "optional": false,
1715
+ "docs": {
1716
+ "tags": [],
1717
+ "text": ""
1718
+ },
1719
+ "attribute": "caption-error",
1720
+ "reflect": false
1847
1721
  },
1848
- "attribute": "linked-component",
1849
- "reflect": false
1850
- }
1851
- }; }
1852
- static get states() { return {
1853
- "years": {},
1854
- "hours": {},
1855
- "minutes": {},
1856
- "hasDateModule": {},
1857
- "hasTimeModule": {},
1858
- "renderDate": {},
1859
- "selectedDate": {},
1860
- "selectedEndDate": {},
1861
- "error": {},
1862
- "errorText": {},
1863
- "tick": {}
1864
- }; }
1865
- static get events() { return [{
1866
- "method": "load",
1867
- "name": "bcm-load",
1868
- "bubbles": true,
1869
- "cancelable": true,
1870
- "composed": true,
1871
- "docs": {
1872
- "tags": [{
1873
- "name": "desc",
1874
- "text": undefined
1875
- }],
1876
- "text": ""
1722
+ "caption": {
1723
+ "type": "string",
1724
+ "mutable": true,
1725
+ "complexType": {
1726
+ "original": "string",
1727
+ "resolved": "string",
1728
+ "references": {}
1729
+ },
1730
+ "required": false,
1731
+ "optional": false,
1732
+ "docs": {
1733
+ "tags": [],
1734
+ "text": ""
1735
+ },
1736
+ "attribute": "caption",
1737
+ "reflect": false,
1738
+ "defaultValue": "''"
1877
1739
  },
1878
- "complexType": {
1879
- "original": "any",
1880
- "resolved": "any",
1881
- "references": {}
1882
- }
1883
- }, {
1884
- "method": "change",
1885
- "name": "bcm-change",
1886
- "bubbles": true,
1887
- "cancelable": true,
1888
- "composed": true,
1889
- "docs": {
1890
- "tags": [],
1891
- "text": ""
1740
+ "captionType": {
1741
+ "type": "string",
1742
+ "mutable": true,
1743
+ "complexType": {
1744
+ "original": "'primary' | 'success' | 'warning' | 'error' | 'default'",
1745
+ "resolved": "\"default\" | \"error\" | \"primary\" | \"success\" | \"warning\"",
1746
+ "references": {}
1747
+ },
1748
+ "required": false,
1749
+ "optional": false,
1750
+ "docs": {
1751
+ "tags": [],
1752
+ "text": ""
1753
+ },
1754
+ "attribute": "caption-type",
1755
+ "reflect": false,
1756
+ "defaultValue": "'default'"
1892
1757
  },
1893
- "complexType": {
1894
- "original": "any",
1895
- "resolved": "any",
1896
- "references": {}
1897
- }
1898
- }, {
1899
- "method": "bcmOpen",
1900
- "name": "bcm-open",
1901
- "bubbles": true,
1902
- "cancelable": true,
1903
- "composed": true,
1904
- "docs": {
1905
- "tags": [],
1906
- "text": ""
1758
+ "alignment": {
1759
+ "type": "any",
1760
+ "mutable": true,
1761
+ "complexType": {
1762
+ "original": "any",
1763
+ "resolved": "any",
1764
+ "references": {}
1765
+ },
1766
+ "required": false,
1767
+ "optional": false,
1768
+ "docs": {
1769
+ "tags": [],
1770
+ "text": ""
1771
+ },
1772
+ "attribute": "alignment",
1773
+ "reflect": false
1907
1774
  },
1908
- "complexType": {
1909
- "original": "any",
1910
- "resolved": "any",
1911
- "references": {}
1912
- }
1913
- }]; }
1914
- static get methods() { return {
1915
- "open": {
1916
- "complexType": {
1917
- "signature": "() => Promise<void>",
1918
- "parameters": [],
1919
- "references": {
1920
- "Promise": {
1921
- "location": "global"
1775
+ "placement": {
1776
+ "type": "string",
1777
+ "mutable": true,
1778
+ "complexType": {
1779
+ "original": "PlacementTypes",
1780
+ "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
1781
+ "references": {
1782
+ "PlacementTypes": {
1783
+ "location": "import",
1784
+ "path": "../../../models/bcm-types"
1785
+ }
1922
1786
  }
1923
1787
  },
1924
- "return": "Promise<void>"
1788
+ "required": false,
1789
+ "optional": false,
1790
+ "docs": {
1791
+ "tags": [],
1792
+ "text": ""
1793
+ },
1794
+ "attribute": "placement",
1795
+ "reflect": false,
1796
+ "defaultValue": "Bcm.Placement['bottom-start']"
1925
1797
  },
1926
- "docs": {
1927
- "text": "",
1928
- "tags": [{
1929
- "name": "desc",
1930
- "text": undefined
1931
- }]
1798
+ "linkedComponent": {
1799
+ "type": "string",
1800
+ "mutable": true,
1801
+ "complexType": {
1802
+ "original": "string",
1803
+ "resolved": "string",
1804
+ "references": {}
1805
+ },
1806
+ "required": false,
1807
+ "optional": false,
1808
+ "docs": {
1809
+ "tags": [],
1810
+ "text": ""
1811
+ },
1812
+ "attribute": "linked-component",
1813
+ "reflect": false
1932
1814
  }
1933
- },
1934
- "close": {
1935
- "complexType": {
1936
- "signature": "() => Promise<void>",
1937
- "parameters": [],
1938
- "references": {
1939
- "Promise": {
1940
- "location": "global"
1941
- }
1815
+ };
1816
+ }
1817
+ static get states() {
1818
+ return {
1819
+ "years": {},
1820
+ "hours": {},
1821
+ "minutes": {},
1822
+ "hasDateModule": {},
1823
+ "hasTimeModule": {},
1824
+ "renderDate": {},
1825
+ "selectedDate": {},
1826
+ "selectedEndDate": {},
1827
+ "error": {},
1828
+ "errorText": {},
1829
+ "tick": {}
1830
+ };
1831
+ }
1832
+ static get events() {
1833
+ return [{
1834
+ "method": "load",
1835
+ "name": "bcm-load",
1836
+ "bubbles": true,
1837
+ "cancelable": true,
1838
+ "composed": true,
1839
+ "docs": {
1840
+ "tags": [{
1841
+ "name": "desc",
1842
+ "text": undefined
1843
+ }],
1844
+ "text": ""
1845
+ },
1846
+ "complexType": {
1847
+ "original": "any",
1848
+ "resolved": "any",
1849
+ "references": {}
1850
+ }
1851
+ }, {
1852
+ "method": "change",
1853
+ "name": "bcm-change",
1854
+ "bubbles": true,
1855
+ "cancelable": true,
1856
+ "composed": true,
1857
+ "docs": {
1858
+ "tags": [],
1859
+ "text": ""
1860
+ },
1861
+ "complexType": {
1862
+ "original": "any",
1863
+ "resolved": "any",
1864
+ "references": {}
1865
+ }
1866
+ }, {
1867
+ "method": "bcmOpen",
1868
+ "name": "bcm-open",
1869
+ "bubbles": true,
1870
+ "cancelable": true,
1871
+ "composed": true,
1872
+ "docs": {
1873
+ "tags": [],
1874
+ "text": ""
1875
+ },
1876
+ "complexType": {
1877
+ "original": "any",
1878
+ "resolved": "any",
1879
+ "references": {}
1880
+ }
1881
+ }];
1882
+ }
1883
+ static get methods() {
1884
+ return {
1885
+ "open": {
1886
+ "complexType": {
1887
+ "signature": "() => Promise<void>",
1888
+ "parameters": [],
1889
+ "references": {
1890
+ "Promise": {
1891
+ "location": "global"
1892
+ }
1893
+ },
1894
+ "return": "Promise<void>"
1942
1895
  },
1943
- "return": "Promise<void>"
1896
+ "docs": {
1897
+ "text": "",
1898
+ "tags": [{
1899
+ "name": "desc",
1900
+ "text": undefined
1901
+ }]
1902
+ }
1944
1903
  },
1945
- "docs": {
1946
- "text": "",
1947
- "tags": [{
1948
- "name": "desc",
1949
- "text": undefined
1950
- }]
1951
- }
1952
- },
1953
- "getValue": {
1954
- "complexType": {
1955
- "signature": "() => Promise<any>",
1956
- "parameters": [],
1957
- "references": {
1958
- "Promise": {
1959
- "location": "global"
1960
- }
1904
+ "close": {
1905
+ "complexType": {
1906
+ "signature": "() => Promise<void>",
1907
+ "parameters": [],
1908
+ "references": {
1909
+ "Promise": {
1910
+ "location": "global"
1911
+ }
1912
+ },
1913
+ "return": "Promise<void>"
1961
1914
  },
1962
- "return": "Promise<any>"
1915
+ "docs": {
1916
+ "text": "",
1917
+ "tags": [{
1918
+ "name": "desc",
1919
+ "text": undefined
1920
+ }]
1921
+ }
1963
1922
  },
1964
- "docs": {
1965
- "text": "",
1966
- "tags": [{
1967
- "name": "desc",
1968
- "text": undefined
1969
- }]
1970
- }
1971
- },
1972
- "setDisabled": {
1973
- "complexType": {
1974
- "signature": "(disabled: boolean) => Promise<void>",
1975
- "parameters": [{
1976
- "tags": [{
1977
- "name": "param",
1978
- "text": "disabled"
1979
- }],
1980
- "text": ""
1981
- }],
1982
- "references": {
1983
- "Promise": {
1984
- "location": "global"
1985
- }
1923
+ "getValue": {
1924
+ "complexType": {
1925
+ "signature": "() => Promise<any>",
1926
+ "parameters": [],
1927
+ "references": {
1928
+ "Promise": {
1929
+ "location": "global"
1930
+ }
1931
+ },
1932
+ "return": "Promise<any>"
1986
1933
  },
1987
- "return": "Promise<void>"
1934
+ "docs": {
1935
+ "text": "",
1936
+ "tags": [{
1937
+ "name": "desc",
1938
+ "text": undefined
1939
+ }]
1940
+ }
1988
1941
  },
1989
- "docs": {
1990
- "text": "",
1991
- "tags": [{
1992
- "name": "param",
1993
- "text": ""
1994
- }, {
1995
- "name": "param",
1996
- "text": "disabled"
1997
- }]
1998
- }
1999
- },
2000
- "set": {
2001
- "complexType": {
2002
- "signature": "(dateOrTime: any) => Promise<void>",
2003
- "parameters": [{
2004
- "tags": [{
2005
- "name": "param",
2006
- "text": "dateOrTime"
2007
- }],
2008
- "text": ""
2009
- }],
2010
- "references": {
2011
- "Promise": {
2012
- "location": "global"
2013
- }
1942
+ "setDisabled": {
1943
+ "complexType": {
1944
+ "signature": "(disabled: boolean) => Promise<void>",
1945
+ "parameters": [{
1946
+ "tags": [{
1947
+ "name": "param",
1948
+ "text": "disabled"
1949
+ }],
1950
+ "text": ""
1951
+ }],
1952
+ "references": {
1953
+ "Promise": {
1954
+ "location": "global"
1955
+ }
1956
+ },
1957
+ "return": "Promise<void>"
2014
1958
  },
2015
- "return": "Promise<void>"
1959
+ "docs": {
1960
+ "text": "",
1961
+ "tags": [{
1962
+ "name": "param",
1963
+ "text": ""
1964
+ }, {
1965
+ "name": "param",
1966
+ "text": "disabled"
1967
+ }]
1968
+ }
2016
1969
  },
2017
- "docs": {
2018
- "text": "",
2019
- "tags": [{
2020
- "name": "desc",
2021
- "text": undefined
2022
- }, {
2023
- "name": "param",
2024
- "text": "dateOrTime"
2025
- }]
2026
- }
2027
- },
2028
- "get": {
2029
- "complexType": {
2030
- "signature": "() => Promise<any>",
2031
- "parameters": [],
2032
- "references": {
2033
- "Promise": {
2034
- "location": "global"
2035
- }
1970
+ "set": {
1971
+ "complexType": {
1972
+ "signature": "(dateOrTime: any) => Promise<void>",
1973
+ "parameters": [{
1974
+ "tags": [{
1975
+ "name": "param",
1976
+ "text": "dateOrTime"
1977
+ }],
1978
+ "text": ""
1979
+ }],
1980
+ "references": {
1981
+ "Promise": {
1982
+ "location": "global"
1983
+ }
1984
+ },
1985
+ "return": "Promise<void>"
2036
1986
  },
2037
- "return": "Promise<any>"
1987
+ "docs": {
1988
+ "text": "",
1989
+ "tags": [{
1990
+ "name": "desc",
1991
+ "text": undefined
1992
+ }, {
1993
+ "name": "param",
1994
+ "text": "dateOrTime"
1995
+ }]
1996
+ }
2038
1997
  },
2039
- "docs": {
2040
- "text": "",
2041
- "tags": []
2042
- }
2043
- },
2044
- "setClear": {
2045
- "complexType": {
2046
- "signature": "() => Promise<void>",
2047
- "parameters": [],
2048
- "references": {
2049
- "Promise": {
2050
- "location": "global"
2051
- }
1998
+ "get": {
1999
+ "complexType": {
2000
+ "signature": "() => Promise<any>",
2001
+ "parameters": [],
2002
+ "references": {
2003
+ "Promise": {
2004
+ "location": "global"
2005
+ }
2006
+ },
2007
+ "return": "Promise<any>"
2052
2008
  },
2053
- "return": "Promise<void>"
2009
+ "docs": {
2010
+ "text": "",
2011
+ "tags": []
2012
+ }
2054
2013
  },
2055
- "docs": {
2056
- "text": "",
2057
- "tags": []
2058
- }
2059
- },
2060
- "getInput": {
2061
- "complexType": {
2062
- "signature": "() => Promise<HTMLBcmOldInputElement>",
2063
- "parameters": [],
2064
- "references": {
2065
- "Promise": {
2066
- "location": "global"
2014
+ "setClear": {
2015
+ "complexType": {
2016
+ "signature": "() => Promise<void>",
2017
+ "parameters": [],
2018
+ "references": {
2019
+ "Promise": {
2020
+ "location": "global"
2021
+ }
2067
2022
  },
2068
- "HTMLBcmOldInputElement": {
2069
- "location": "global"
2070
- }
2023
+ "return": "Promise<void>"
2071
2024
  },
2072
- "return": "Promise<HTMLBcmOldInputElement>"
2025
+ "docs": {
2026
+ "text": "",
2027
+ "tags": []
2028
+ }
2073
2029
  },
2074
- "docs": {
2075
- "text": "",
2076
- "tags": [{
2077
- "name": "desc",
2078
- "text": undefined
2079
- }]
2080
- }
2081
- },
2082
- "isValid": {
2083
- "complexType": {
2084
- "signature": "() => Promise<{ valid: boolean; error: boolean; errorText: string; }>",
2085
- "parameters": [],
2086
- "references": {
2087
- "Promise": {
2088
- "location": "global"
2089
- }
2030
+ "getInput": {
2031
+ "complexType": {
2032
+ "signature": "() => Promise<HTMLBcmOldInputElement>",
2033
+ "parameters": [],
2034
+ "references": {
2035
+ "Promise": {
2036
+ "location": "global"
2037
+ },
2038
+ "HTMLBcmOldInputElement": {
2039
+ "location": "global"
2040
+ }
2041
+ },
2042
+ "return": "Promise<HTMLBcmOldInputElement>"
2090
2043
  },
2091
- "return": "Promise<{ valid: boolean; error: boolean; errorText: string; }>"
2044
+ "docs": {
2045
+ "text": "",
2046
+ "tags": [{
2047
+ "name": "desc",
2048
+ "text": undefined
2049
+ }]
2050
+ }
2092
2051
  },
2093
- "docs": {
2094
- "text": "",
2095
- "tags": [{
2096
- "name": "desc",
2097
- "text": undefined
2098
- }, {
2099
- "name": "returns",
2100
- "text": undefined
2101
- }]
2102
- }
2103
- },
2104
- "resetCaption": {
2105
- "complexType": {
2106
- "signature": "() => Promise<void>",
2107
- "parameters": [],
2108
- "references": {
2109
- "Promise": {
2110
- "location": "global"
2111
- }
2052
+ "isValid": {
2053
+ "complexType": {
2054
+ "signature": "() => Promise<{ valid: boolean; error: boolean; errorText: string; }>",
2055
+ "parameters": [],
2056
+ "references": {
2057
+ "Promise": {
2058
+ "location": "global"
2059
+ }
2060
+ },
2061
+ "return": "Promise<{ valid: boolean; error: boolean; errorText: string; }>"
2112
2062
  },
2113
- "return": "Promise<void>"
2063
+ "docs": {
2064
+ "text": "",
2065
+ "tags": [{
2066
+ "name": "desc",
2067
+ "text": undefined
2068
+ }, {
2069
+ "name": "returns",
2070
+ "text": undefined
2071
+ }]
2072
+ }
2114
2073
  },
2115
- "docs": {
2116
- "text": "",
2117
- "tags": []
2074
+ "resetCaption": {
2075
+ "complexType": {
2076
+ "signature": "() => Promise<void>",
2077
+ "parameters": [],
2078
+ "references": {
2079
+ "Promise": {
2080
+ "location": "global"
2081
+ }
2082
+ },
2083
+ "return": "Promise<void>"
2084
+ },
2085
+ "docs": {
2086
+ "text": "",
2087
+ "tags": []
2088
+ }
2118
2089
  }
2119
- }
2120
- }; }
2090
+ };
2091
+ }
2121
2092
  static get elementRef() { return "el"; }
2122
- static get watchers() { return [{
2123
- "propName": "_open",
2124
- "methodName": "openChanged"
2125
- }, {
2126
- "propName": "renderDate",
2127
- "methodName": "renderDateChange"
2128
- }, {
2129
- "propName": "_open",
2130
- "methodName": "openChange"
2131
- }, {
2132
- "propName": "value",
2133
- "methodName": "valueChange"
2134
- }, {
2135
- "propName": "disabledDates",
2136
- "methodName": "disabledDatesChange"
2137
- }]; }
2138
- static get listeners() { return [{
2139
- "name": "click",
2140
- "method": "handleWindowClick",
2141
- "target": "window",
2142
- "capture": false,
2143
- "passive": false
2144
- }, {
2145
- "name": "resize",
2146
- "method": "handleResize",
2147
- "target": "window",
2148
- "capture": false,
2149
- "passive": true
2150
- }, {
2151
- "name": "scroll",
2152
- "method": "handleWheels",
2153
- "target": "document",
2154
- "capture": true,
2155
- "passive": true
2156
- }, {
2157
- "name": "wheel",
2158
- "method": "handleWheels",
2159
- "target": "document",
2160
- "capture": false,
2161
- "passive": false
2162
- }, {
2163
- "name": "keydown",
2164
- "method": "handleKeyDown",
2165
- "target": "window",
2166
- "capture": true,
2167
- "passive": false
2168
- }]; }
2093
+ static get watchers() {
2094
+ return [{
2095
+ "propName": "_open",
2096
+ "methodName": "openChanged"
2097
+ }, {
2098
+ "propName": "renderDate",
2099
+ "methodName": "renderDateChange"
2100
+ }, {
2101
+ "propName": "_open",
2102
+ "methodName": "openChange"
2103
+ }, {
2104
+ "propName": "value",
2105
+ "methodName": "valueChange"
2106
+ }, {
2107
+ "propName": "disabledDates",
2108
+ "methodName": "disabledDatesChange"
2109
+ }];
2110
+ }
2111
+ static get listeners() {
2112
+ return [{
2113
+ "name": "click",
2114
+ "method": "handleWindowClick",
2115
+ "target": "window",
2116
+ "capture": false,
2117
+ "passive": false
2118
+ }, {
2119
+ "name": "resize",
2120
+ "method": "handleResize",
2121
+ "target": "window",
2122
+ "capture": false,
2123
+ "passive": true
2124
+ }, {
2125
+ "name": "scroll",
2126
+ "method": "handleWheels",
2127
+ "target": "document",
2128
+ "capture": true,
2129
+ "passive": true
2130
+ }, {
2131
+ "name": "wheel",
2132
+ "method": "handleWheels",
2133
+ "target": "document",
2134
+ "capture": false,
2135
+ "passive": false
2136
+ }, {
2137
+ "name": "keydown",
2138
+ "method": "handleKeyDown",
2139
+ "target": "window",
2140
+ "capture": true,
2141
+ "passive": false
2142
+ }];
2143
+ }
2169
2144
  }
2170
2145
  __decorate([
2171
2146
  IsLoad()