bromcom-ui 2.8.0-rc.10-e → 2.8.0-rc.10-f

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 (325) 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-00081c8f.entry.js +5 -0
  4. package/dist/bromcom-ui/{p-979c517d.entry.js → p-00a0bbb0.entry.js} +1 -1
  5. package/dist/bromcom-ui/p-0244ec6a.entry.js +5 -0
  6. package/dist/bromcom-ui/{p-0d3a847b.entry.js → p-05851404.entry.js} +1 -1
  7. package/dist/bromcom-ui/p-08841042.entry.js +5 -0
  8. package/dist/bromcom-ui/{p-0b06a718.entry.js → p-10f8e27d.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-12bdaed1.entry.js +5 -0
  10. package/dist/bromcom-ui/p-1748fa48.entry.js +5 -0
  11. package/dist/bromcom-ui/{p-230b4d0b.entry.js → p-19769caf.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-eb6f8ddf.js → p-1c09af4f.js} +1 -1
  13. package/dist/bromcom-ui/p-1d0bf823.entry.js +5 -0
  14. package/dist/bromcom-ui/{p-38dc893a.entry.js → p-2a01c091.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-98cb5854.entry.js → p-39b8a477.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-64d74851.entry.js → p-3bf3f141.entry.js} +1 -1
  17. package/dist/bromcom-ui/p-3fc76873.entry.js +5 -0
  18. package/dist/bromcom-ui/p-40d09bfc.entry.js +5 -0
  19. package/dist/bromcom-ui/p-40ed6269.entry.js +5 -0
  20. package/dist/bromcom-ui/p-4af70ae2.entry.js +5 -0
  21. package/dist/bromcom-ui/{p-fd3a7ac3.entry.js → p-4b76af90.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-ac746e1f.entry.js → p-4f77fafe.entry.js} +1 -1
  23. package/dist/bromcom-ui/p-58efe9aa.entry.js +5 -0
  24. package/dist/bromcom-ui/p-59c7e787.entry.js +5 -0
  25. package/dist/bromcom-ui/{p-bdca15df.entry.js → p-625da564.entry.js} +1 -1
  26. package/dist/bromcom-ui/p-6612ed29.entry.js +5 -0
  27. package/dist/bromcom-ui/p-67667db7.entry.js +5 -0
  28. package/dist/bromcom-ui/p-68870edd.entry.js +5 -0
  29. package/dist/bromcom-ui/{p-47d31034.js → p-6ee5b075.js} +1 -1
  30. package/dist/bromcom-ui/{p-2251de8e.entry.js → p-7093021e.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-c8ca32d0.js → p-76b12489.js} +1 -1
  32. package/dist/bromcom-ui/p-79e7cb18.entry.js +5 -0
  33. package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
  34. package/dist/bromcom-ui/p-8383a0df.entry.js +5 -0
  35. package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
  36. package/dist/bromcom-ui/{p-4737685a.entry.js → p-8d00f15c.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-95115abd.entry.js → p-8e85c2be.entry.js} +1 -1
  38. package/dist/bromcom-ui/p-9486d6a0.entry.js +5 -0
  39. package/dist/bromcom-ui/{p-5e9f06c4.entry.js → p-96a6ea7b.entry.js} +1 -1
  40. package/dist/bromcom-ui/p-993b7cc2.entry.js +5 -0
  41. package/dist/bromcom-ui/{p-182f2e54.js → p-9c761970.js} +1 -1
  42. package/dist/bromcom-ui/p-9d177c47.entry.js +5 -0
  43. package/dist/bromcom-ui/p-a0d8a598.entry.js +5 -0
  44. package/dist/bromcom-ui/p-a5bc6810.entry.js +5 -0
  45. package/dist/bromcom-ui/p-a8e3e1b5.js +5 -0
  46. package/dist/bromcom-ui/p-ad191dd1.entry.js +5 -0
  47. package/dist/bromcom-ui/p-af43509f.entry.js +5 -0
  48. package/dist/bromcom-ui/p-b465caeb.js +5 -0
  49. package/dist/bromcom-ui/p-bafdd186.entry.js +5 -0
  50. package/dist/bromcom-ui/{p-61050b86.entry.js → p-be390f36.entry.js} +1 -1
  51. package/dist/bromcom-ui/p-bf793f02.entry.js +5 -0
  52. package/dist/bromcom-ui/p-c09a1784.entry.js +5 -0
  53. package/dist/bromcom-ui/{p-a5c337be.entry.js → p-c282ccd5.entry.js} +1 -1
  54. package/dist/bromcom-ui/p-c526e41e.entry.js +5 -0
  55. package/dist/bromcom-ui/{p-f9aec5ea.entry.js → p-c7e245a3.entry.js} +1 -1
  56. package/dist/bromcom-ui/p-ce7c926c.entry.js +5 -0
  57. package/dist/bromcom-ui/{p-9431336c.entry.js → p-ce86d569.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-abff8ac0.js → p-d0750f4d.js} +1 -1
  59. package/dist/bromcom-ui/{p-88097c57.entry.js → p-d091119c.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-493db9b2.entry.js → p-d3492737.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-07f866f0.entry.js → p-d5f9c429.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-ee9eec69.entry.js → p-dc16be5b.entry.js} +1 -1
  63. package/dist/bromcom-ui/p-e4924a0c.entry.js +5 -0
  64. package/dist/bromcom-ui/{p-e9a4fe7f.js → p-ea722b84.js} +1 -1
  65. package/dist/bromcom-ui/p-eb0ab3d9.entry.js +5 -0
  66. package/dist/bromcom-ui/p-ec8f3c78.entry.js +5 -0
  67. package/dist/bromcom-ui/p-ec920bc7.entry.js +5 -0
  68. package/dist/bromcom-ui/{p-3d554134.entry.js → p-f0ff7f44.entry.js} +1 -1
  69. package/dist/bromcom-ui/p-fa8efda9.entry.js +5 -0
  70. package/dist/bromcom-ui/p-fd21becc.entry.js +5 -0
  71. package/dist/bromcom-ui/p-fd931091.entry.js +5 -0
  72. package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
  73. package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
  74. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  75. package/dist/cjs/bcm-avatar_2.cjs.entry.js +5 -5
  76. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
  77. package/dist/cjs/bcm-button-group.cjs.entry.js +2 -2
  78. package/dist/cjs/bcm-button.cjs.entry.js +2 -2
  79. package/dist/cjs/bcm-card.cjs.entry.js +2 -2
  80. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +1 -1
  81. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
  82. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +2 -2
  83. package/dist/cjs/bcm-chip.cjs.entry.js +17 -4
  84. package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
  85. package/dist/cjs/bcm-date-picker.cjs.entry.js +179 -0
  86. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1436 -0
  87. package/dist/cjs/bcm-default.cjs.entry.js +1 -1
  88. package/dist/cjs/bcm-drawer.cjs.entry.js +4 -4
  89. package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
  90. package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
  91. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +2 -2
  92. package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
  93. package/dist/cjs/bcm-icon.cjs.entry.js +41 -0
  94. package/dist/cjs/bcm-input.cjs.entry.js +5 -5
  95. package/dist/cjs/bcm-item.cjs.entry.js +2 -2
  96. package/dist/cjs/bcm-items.cjs.entry.js +1 -1
  97. package/dist/{bromcom-ui/p-59cf94ef.entry.js → cjs/bcm-label_2.cjs.entry.js} +118 -1
  98. package/dist/cjs/bcm-link.cjs.entry.js +1 -1
  99. package/dist/cjs/bcm-linked_2.cjs.entry.js +25 -25
  100. package/dist/cjs/bcm-list.cjs.entry.js +14 -8
  101. package/dist/cjs/bcm-modal.cjs.entry.js +2 -2
  102. package/dist/cjs/bcm-old-input.cjs.entry.js +411 -0
  103. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +2 -2
  104. package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
  105. package/dist/cjs/bcm-popover.cjs.entry.js +7 -7
  106. package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
  107. package/dist/cjs/bcm-radio-group.cjs.entry.js +2 -2
  108. package/dist/cjs/bcm-radio.cjs.entry.js +2 -2
  109. package/dist/cjs/bcm-range.cjs.entry.js +2 -2
  110. package/dist/cjs/bcm-search.cjs.entry.js +3 -3
  111. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  112. package/dist/cjs/bcm-step.cjs.entry.js +2 -2
  113. package/dist/cjs/bcm-stepper.cjs.entry.js +3 -3
  114. package/dist/cjs/bcm-switch.cjs.entry.js +2 -2
  115. package/dist/cjs/bcm-tab-group.cjs.entry.js +47 -47
  116. package/dist/cjs/bcm-tab.cjs.entry.js +1 -1
  117. package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
  118. package/dist/cjs/bcm-text.cjs.entry.js +1 -1
  119. package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
  120. package/dist/cjs/bcm-time-picker.cjs.entry.js +147 -0
  121. package/dist/cjs/bromcom-ui.cjs.js +1 -1
  122. package/dist/cjs/{generate-73f0e7fa.js → generate-43262f69.js} +1 -1
  123. package/dist/cjs/{input-template-80bdebb9.js → input-template-82b06cc3.js} +1 -1
  124. package/dist/cjs/{json-parse-decarator-5ddb904f.js → json-parse-decarator-9bc2ee93.js} +1 -1
  125. package/dist/cjs/loader.cjs.js +1 -1
  126. package/dist/cjs/{number-helper-9ec79895.js → number-helper-fa69ea24.js} +1 -1
  127. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
  128. package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
  129. package/dist/cjs/{stepper-states-4dd53227.js → stepper-states-d7f6c19a.js} +1 -1
  130. package/dist/cjs/{tooltip-helper-7a083cfa.js → tooltip-helper-9f6a9b2d.js} +3 -3
  131. package/dist/cjs/{validators-749ec256.js → validators-97891f43.js} +1 -1
  132. package/dist/collection/components/atoms/avatar/avatar.css +3 -1
  133. package/dist/collection/components/atoms/badge/badge.css +3 -1
  134. package/dist/collection/components/atoms/button/button.css +3 -1
  135. package/dist/collection/components/atoms/chip/chip.css +3 -1
  136. package/dist/collection/components/atoms/chip/chip.js +61 -3
  137. package/dist/collection/components/atoms/label/label.css +3 -1
  138. package/dist/collection/components/atoms/link/link.css +3 -1
  139. package/dist/collection/components/molecules/button-group/button-group.css +7 -1
  140. package/dist/collection/components/molecules/card/card.css +3 -1
  141. package/dist/collection/components/molecules/checkbox/checkbox.css +9 -3
  142. package/dist/collection/components/molecules/drawer/drawer.css +3 -1
  143. package/dist/collection/components/molecules/dropdown/dropdown.css +3 -1
  144. package/dist/collection/components/molecules/error-layout/error-layout.css +3 -1
  145. package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +3 -1
  146. package/dist/collection/components/molecules/input/input.css +9 -3
  147. package/dist/collection/components/molecules/item/item.css +3 -1
  148. package/dist/collection/components/molecules/linked/linked.js +28 -28
  149. package/dist/collection/components/molecules/menu/menu.css +3 -1
  150. package/dist/collection/components/molecules/modal/modal.css +3 -1
  151. package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +3 -1
  152. package/dist/collection/components/molecules/popover/popover.js +11 -11
  153. package/dist/collection/components/molecules/progress/progress.css +3 -1
  154. package/dist/collection/components/molecules/radio/group.css +6 -2
  155. package/dist/collection/components/molecules/radio/radio.css +9 -3
  156. package/dist/collection/components/molecules/range/range.css +3 -1
  157. package/dist/collection/components/molecules/search/search.css +9 -3
  158. package/dist/collection/components/molecules/skeleton/skeleton.js +8 -8
  159. package/dist/collection/components/molecules/stepper/stepper.css +5 -2
  160. package/dist/collection/components/molecules/switch/switch.css +9 -3
  161. package/dist/collection/components/molecules/tab-group/tab-group.js +52 -52
  162. package/dist/collection/components/molecules/textarea/textarea.css +9 -3
  163. package/dist/collection/components/molecules/tooltip/tooltip.js +9 -9
  164. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +9 -3
  165. package/dist/collection/components/organism/list/list.css +12 -4
  166. package/dist/collection/components/other/attendance/attendance.css +3 -1
  167. package/dist/collection/components/other_deprecated/old-input/old-input.css +9 -3
  168. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +3 -1
  169. package/dist/collection/components/other_deprecated/tabs/tab.css +3 -1
  170. package/dist/collection/components/other_deprecated/text/text.css +3 -1
  171. package/dist/collection/global/components/_checkbox.css +3 -1
  172. package/dist/collection/templates/list-template.js +8 -2
  173. package/dist/components/avatar.js +1 -1
  174. package/dist/components/badge.js +1 -1
  175. package/dist/components/bcm-attendance.js +1 -1
  176. package/dist/components/bcm-button-group.js +1 -1
  177. package/dist/components/bcm-card.js +1 -1
  178. package/dist/components/bcm-chip.js +17 -4
  179. package/dist/components/bcm-drawer.js +1 -1
  180. package/dist/components/bcm-dropdown.js +1 -1
  181. package/dist/components/bcm-error-layout.js +1 -1
  182. package/dist/components/bcm-expansion-panel.js +1 -1
  183. package/dist/components/bcm-input.js +1 -1
  184. package/dist/components/bcm-item.js +1 -1
  185. package/dist/components/bcm-list.js +9 -3
  186. package/dist/components/bcm-modal.js +1 -1
  187. package/dist/components/bcm-popover.js +4 -4
  188. package/dist/components/bcm-progress.js +1 -1
  189. package/dist/components/bcm-radio-group.js +1 -1
  190. package/dist/components/bcm-range.js +1 -1
  191. package/dist/components/bcm-stepper.js +1 -1
  192. package/dist/components/bcm-switch.js +1 -1
  193. package/dist/components/bcm-tab-group.js +46 -46
  194. package/dist/components/bcm-tab.js +1 -1
  195. package/dist/components/bcm-textarea.js +1 -1
  196. package/dist/components/button.js +1 -1
  197. package/dist/components/checkbox-lite.js +1 -1
  198. package/dist/components/checkbox.js +1 -1
  199. package/dist/components/datetime-picker.js +1 -1
  200. package/dist/components/generate.js +1 -1
  201. package/dist/components/label.js +1 -1
  202. package/dist/components/link.js +1 -1
  203. package/dist/components/linked.js +20 -20
  204. package/dist/components/menu.js +1 -1
  205. package/dist/components/old-input.js +1 -1
  206. package/dist/components/old-popover-box.js +1 -1
  207. package/dist/components/popconfirm-box.js +1 -1
  208. package/dist/components/radio.js +1 -1
  209. package/dist/components/search.js +1 -1
  210. package/dist/components/skeleton.js +5 -5
  211. package/dist/components/text.js +1 -1
  212. package/dist/components/tooltip.js +3 -3
  213. package/dist/esm/bcm-accordion.entry.js +1 -1
  214. package/dist/esm/bcm-alert.entry.js +1 -1
  215. package/dist/esm/bcm-attendance.entry.js +2 -2
  216. package/dist/esm/bcm-avatar_2.entry.js +8 -8
  217. package/dist/esm/bcm-breadcrumb.entry.js +1 -1
  218. package/dist/esm/bcm-button-group.entry.js +2 -2
  219. package/dist/esm/bcm-button.entry.js +4 -4
  220. package/dist/esm/bcm-card.entry.js +4 -4
  221. package/dist/esm/bcm-checkbox-group.entry.js +2 -2
  222. package/dist/esm/bcm-checkbox-lite_9.entry.js +3 -3
  223. package/dist/esm/bcm-checkbox_2.entry.js +4 -4
  224. package/dist/esm/bcm-chip.entry.js +20 -7
  225. package/dist/esm/bcm-collapse-group.entry.js +1 -1
  226. package/dist/esm/bcm-collapse.entry.js +1 -1
  227. package/dist/esm/bcm-colorpicker.entry.js +2 -2
  228. package/dist/esm/bcm-date-picker.entry.js +175 -0
  229. package/dist/esm/bcm-datetime-picker.entry.js +1432 -0
  230. package/dist/esm/bcm-default.entry.js +1 -1
  231. package/dist/esm/bcm-drawer.entry.js +7 -7
  232. package/dist/esm/bcm-dropdown.entry.js +3 -3
  233. package/dist/esm/bcm-error-layout.entry.js +1 -1
  234. package/dist/esm/bcm-expansion-panel.entry.js +4 -4
  235. package/dist/esm/bcm-form-2.entry.js +1 -1
  236. package/dist/esm/bcm-form.entry.js +1 -1
  237. package/dist/esm/bcm-icon.entry.js +37 -0
  238. package/dist/esm/bcm-input.entry.js +6 -6
  239. package/dist/esm/bcm-item.entry.js +4 -4
  240. package/dist/esm/bcm-items.entry.js +1 -1
  241. package/dist/esm/bcm-label_2.entry.js +117 -0
  242. package/dist/esm/bcm-link.entry.js +1 -1
  243. package/dist/esm/bcm-linked_2.entry.js +28 -28
  244. package/dist/esm/bcm-list.entry.js +17 -11
  245. package/dist/esm/bcm-modal.entry.js +2 -2
  246. package/dist/esm/bcm-old-input.entry.js +407 -0
  247. package/dist/esm/bcm-old-tag_2.entry.js +1 -1
  248. package/dist/esm/bcm-popconfirm-box.entry.js +4 -4
  249. package/dist/esm/bcm-popconfirm.entry.js +1 -1
  250. package/dist/esm/bcm-popover.entry.js +10 -10
  251. package/dist/esm/bcm-progress.entry.js +4 -4
  252. package/dist/esm/bcm-radio-group.entry.js +3 -3
  253. package/dist/esm/bcm-radio.entry.js +4 -4
  254. package/dist/esm/bcm-range.entry.js +3 -3
  255. package/dist/esm/bcm-search.entry.js +4 -4
  256. package/dist/esm/bcm-select.entry.js +1 -1
  257. package/dist/esm/bcm-skeleton.entry.js +6 -6
  258. package/dist/esm/bcm-step.entry.js +2 -2
  259. package/dist/esm/bcm-stepper.entry.js +4 -4
  260. package/dist/esm/bcm-switch.entry.js +3 -3
  261. package/dist/esm/bcm-tab-group.entry.js +47 -47
  262. package/dist/esm/bcm-tab.entry.js +1 -1
  263. package/dist/esm/bcm-table.entry.js +1 -1
  264. package/dist/esm/bcm-tabs-content.entry.js +1 -1
  265. package/dist/esm/bcm-tabs.entry.js +1 -1
  266. package/dist/esm/bcm-tag.entry.js +3 -3
  267. package/dist/esm/bcm-text.entry.js +3 -3
  268. package/dist/esm/bcm-textarea.entry.js +4 -4
  269. package/dist/esm/bcm-time-picker.entry.js +143 -0
  270. package/dist/esm/bromcom-ui.js +1 -1
  271. package/dist/esm/{color-helper-99e2372d.js → color-helper-cb1cfc1e.js} +1 -1
  272. package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
  273. package/dist/esm/{generate-8c14a484.js → generate-b0bd116a.js} +1 -1
  274. package/dist/esm/{input-template-b410853d.js → input-template-46ef248f.js} +1 -1
  275. package/dist/esm/{json-parse-decarator-46d7fb30.js → json-parse-decarator-012a2b54.js} +1 -1
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/{number-helper-a73a8afd.js → number-helper-c6129a13.js} +1 -1
  278. package/dist/esm/old-bcm-popover-box.entry.js +5 -5
  279. package/dist/esm/old-bcm-popover.entry.js +1 -1
  280. package/dist/esm/{stepper-states-72315d1c.js → stepper-states-4e165709.js} +1 -1
  281. package/dist/esm/{tooltip-helper-03815ca5.js → tooltip-helper-8bae18d3.js} +5 -5
  282. package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
  283. package/dist/esm/{validators-17c10ac3.js → validators-ae61406d.js} +1 -1
  284. package/dist/types/components/atoms/chip/chip.d.ts +6 -1
  285. package/dist/types/components/molecules/linked/linked.d.ts +2 -2
  286. package/dist/types/components/molecules/popover/popover.d.ts +3 -3
  287. package/dist/types/components/molecules/skeleton/skeleton.d.ts +1 -1
  288. package/dist/types/components/molecules/tab-group/tab-group.d.ts +2 -2
  289. package/dist/types/components/molecules/tooltip/tooltip.d.ts +3 -3
  290. package/dist/types/components.d.ts +7 -0
  291. package/package.json +103 -70
  292. package/dist/bromcom-ui/p-08766a3b.entry.js +0 -5
  293. package/dist/bromcom-ui/p-099b2c87.entry.js +0 -5
  294. package/dist/bromcom-ui/p-1ac26471.entry.js +0 -5
  295. package/dist/bromcom-ui/p-261210e9.entry.js +0 -5
  296. package/dist/bromcom-ui/p-26d5447f.entry.js +0 -5
  297. package/dist/bromcom-ui/p-29c28298.entry.js +0 -5
  298. package/dist/bromcom-ui/p-302dae1e.entry.js +0 -5
  299. package/dist/bromcom-ui/p-4b38917f.entry.js +0 -5
  300. package/dist/bromcom-ui/p-534adb40.entry.js +0 -5
  301. package/dist/bromcom-ui/p-55ad940b.entry.js +0 -5
  302. package/dist/bromcom-ui/p-571ba4fb.entry.js +0 -5
  303. package/dist/bromcom-ui/p-58fb96e0.entry.js +0 -5
  304. package/dist/bromcom-ui/p-64c899bf.entry.js +0 -5
  305. package/dist/bromcom-ui/p-64f16fde.entry.js +0 -5
  306. package/dist/bromcom-ui/p-65c4ae21.entry.js +0 -5
  307. package/dist/bromcom-ui/p-6876480b.entry.js +0 -5
  308. package/dist/bromcom-ui/p-6e7db831.js +0 -5
  309. package/dist/bromcom-ui/p-7e6e2600.entry.js +0 -5
  310. package/dist/bromcom-ui/p-7e8d8402.entry.js +0 -5
  311. package/dist/bromcom-ui/p-7edd1119.entry.js +0 -5
  312. package/dist/bromcom-ui/p-8dbccc6c.entry.js +0 -5
  313. package/dist/bromcom-ui/p-b4297fa5.entry.js +0 -5
  314. package/dist/bromcom-ui/p-bc2ceb90.entry.js +0 -5
  315. package/dist/bromcom-ui/p-bcec1564.entry.js +0 -5
  316. package/dist/bromcom-ui/p-c0ba4ab5.entry.js +0 -5
  317. package/dist/bromcom-ui/p-c44fa1a6.js +0 -5
  318. package/dist/bromcom-ui/p-ca6248ed.entry.js +0 -5
  319. package/dist/bromcom-ui/p-d8215408.entry.js +0 -5
  320. package/dist/bromcom-ui/p-d8d34ab0.entry.js +0 -5
  321. package/dist/bromcom-ui/p-da93061e.entry.js +0 -5
  322. package/dist/bromcom-ui/p-e16dc0df.entry.js +0 -5
  323. package/dist/bromcom-ui/p-f6c08ac8.entry.js +0 -5
  324. package/dist/cjs/bcm-date-picker_7.cjs.entry.js +0 -2257
  325. package/dist/esm/bcm-date-picker_7.entry.js +0 -2247
@@ -0,0 +1,175 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-85cce099.js';
6
+ import { c as classnames } from './index-ed9652af.js';
7
+ import { I as IsLoad } from './is-load-decorator-87c09179.js';
8
+ import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
9
+ import { G as Generate } from './generate-b0bd116a.js';
10
+ import { B as Bcm } from './bcm-b8d8a236.js';
11
+ import { d as delay } from './utils-57652744.js';
12
+ import './_commonjsHelpers-3016b722.js';
13
+
14
+ const datePickerCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-block;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}";
15
+
16
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
17
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
18
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
19
+ r = Reflect.decorate(decorators, target, key, desc);
20
+ else
21
+ for (var i = decorators.length - 1; i >= 0; i--)
22
+ if (d = decorators[i])
23
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
24
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
25
+ };
26
+ const BcmDatePicker = class {
27
+ constructor(hostRef) {
28
+ registerInstance(this, hostRef);
29
+ this._id = Generate.UID();
30
+ this.date = new Date();
31
+ this.value = undefined;
32
+ this.endDate = null;
33
+ this.range = false;
34
+ this.hidden = false;
35
+ this.name = undefined;
36
+ this.fullWidth = false;
37
+ this.required = false;
38
+ this.label = undefined;
39
+ this.placeholder = undefined;
40
+ this.disabledDates = '';
41
+ this.disabled = false;
42
+ this.noCaption = false;
43
+ this.caption = '';
44
+ this.captionError = undefined;
45
+ this.captionType = 'default';
46
+ this.alignment = undefined;
47
+ this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
48
+ this.placement = Bcm.Placement['bottom-start'];
49
+ this.linkedComponent = undefined;
50
+ this.clearable = false;
51
+ this.stateStartDate = null;
52
+ this.stateEndDate = null;
53
+ }
54
+ handleStartDateChange() {
55
+ this.handleDate();
56
+ }
57
+ handleEndDateChange() {
58
+ this.handleDate();
59
+ }
60
+ /**
61
+ * @desc
62
+ */
63
+ handlePickerLoad() {
64
+ this.value = this.picker.value;
65
+ }
66
+ /**
67
+ * @desc
68
+ * @param event
69
+ */
70
+ handlePickerChange(event) {
71
+ this.value = event.detail;
72
+ }
73
+ /**
74
+ * @desc
75
+ * @param value
76
+ */
77
+ async set(value) {
78
+ return this.picker.set(value);
79
+ }
80
+ async get() {
81
+ var _a;
82
+ return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.timestamp) || null;
83
+ }
84
+ /**
85
+ * @desc
86
+ * @param disabled
87
+ */
88
+ async setDisabled(disabled) {
89
+ this.disabled = disabled;
90
+ }
91
+ async setClear() {
92
+ await this.picker.setClear();
93
+ await delay(10);
94
+ return Promise.resolve();
95
+ }
96
+ async setStartDate(dateOrTime) {
97
+ if (dateOrTime) {
98
+ dateOrTime = DateTimeHelper.convertTimeStampToDate(new Date(dateOrTime).getTime());
99
+ this.stateStartDate = dateOrTime;
100
+ }
101
+ else {
102
+ this.setClear();
103
+ }
104
+ }
105
+ async setEndDate(dateOrTime) {
106
+ if (dateOrTime) {
107
+ dateOrTime = DateTimeHelper.convertTimeStampToDate(new Date(dateOrTime).getTime());
108
+ this.stateEndDate = dateOrTime;
109
+ }
110
+ else {
111
+ this.setClear();
112
+ }
113
+ }
114
+ /* mp --- */
115
+ handleDate() {
116
+ if (this.range) {
117
+ if (this.stateStartDate && this.stateEndDate) {
118
+ this.set(this.stateStartDate + '-' + this.stateEndDate);
119
+ }
120
+ }
121
+ else {
122
+ this.set(this.stateStartDate);
123
+ }
124
+ }
125
+ /**
126
+ * @desc
127
+ */
128
+ async getInput() {
129
+ return await this.picker.getInput();
130
+ }
131
+ /**
132
+ * @desc
133
+ */
134
+ async open() {
135
+ return await this.picker.open();
136
+ }
137
+ /**
138
+ * @desc
139
+ */
140
+ async getValue() {
141
+ return this.value;
142
+ }
143
+ /**
144
+ * @desc
145
+ */
146
+ async isValid() {
147
+ return await this.picker.isValid();
148
+ }
149
+ async resetCaption() {
150
+ await delay(10);
151
+ await this.picker.resetCaption();
152
+ this.captionType = 'default';
153
+ this.captionError = null;
154
+ await delay(10);
155
+ return Promise.resolve();
156
+ }
157
+ render() {
158
+ const hostClasses = classnames(this.hidden ? 'hidden' : null, {
159
+ 'full-width': this.fullWidth,
160
+ 'linked-component': this.linkedComponent,
161
+ });
162
+ return (h(Host, { class: hostClasses }, h("bcm-datetime-picker", { "linked-component": this.linkedComponent, id: this._id, name: this.name, type: this.range ? 'range' : 'date', date: this.date, placeholder: this.placeholder, fullWidth: this.fullWidth, ref: el => (this.picker = el), required: this.required, clearable: this.clearable, label: this.label, "end-date": this.endDate, disabled: this.disabled, disabledDates: this.disabledDates, "on-bcm-load": () => this.handlePickerLoad(), "on-bcm-change": (e) => this.handlePickerChange(e), noCaption: this.noCaption, caption: this.caption, captionError: this.captionError, captionType: this.captionType, alignment: this.alignment, placement: this.placement })));
163
+ }
164
+ get el() { return getElement(this); }
165
+ static get watchers() { return {
166
+ "stateStartDate": ["handleStartDateChange"],
167
+ "stateEndDate": ["handleEndDateChange"]
168
+ }; }
169
+ };
170
+ __decorate([
171
+ IsLoad()
172
+ ], BcmDatePicker.prototype, "el", void 0);
173
+ BcmDatePicker.style = datePickerCss;
174
+
175
+ export { BcmDatePicker as bcm_date_picker };