bromcom-ui 2.7.38-rc.5 → 2.7.38-rc.6

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 (321) 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-0552d776.entry.js +5 -0
  4. package/dist/bromcom-ui/{p-eaa34b84.entry.js → p-1978e4ae.entry.js} +1 -1
  5. package/dist/bromcom-ui/p-202a35f5.entry.js +5 -0
  6. package/dist/bromcom-ui/p-206ba944.entry.js +5 -0
  7. package/dist/bromcom-ui/{p-c29da4ac.entry.js → p-247dc023.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-98bc5080.entry.js → p-29f102ca.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-7d44d970.entry.js → p-32fd7928.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-51b7b796.entry.js → p-34ddda2c.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-2535fab3.entry.js → p-3889671a.entry.js} +1 -1
  12. package/dist/bromcom-ui/p-395c5af8.entry.js +5 -0
  13. package/dist/bromcom-ui/p-3b1c383d.entry.js +5 -0
  14. package/dist/bromcom-ui/p-3eb552e1.entry.js +5 -0
  15. package/dist/bromcom-ui/{p-569a770d.js → p-3f4cb185.js} +1 -1
  16. package/dist/bromcom-ui/p-4bebc821.entry.js +5 -0
  17. package/dist/bromcom-ui/p-5d49b575.entry.js +5 -0
  18. package/dist/bromcom-ui/{p-0da4b4f6.entry.js → p-66e177fa.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-375429c3.entry.js → p-6720d135.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-a24e8548.entry.js → p-746b8d13.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-76cc282d.entry.js +5 -0
  22. package/dist/bromcom-ui/p-7887788c.entry.js +5 -0
  23. package/dist/bromcom-ui/{p-9086c5e5.entry.js → p-78cf8966.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-cb975855.entry.js → p-7b5e88c5.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-32f45464.js → p-7c8b3850.js} +1 -1
  26. package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
  27. package/dist/bromcom-ui/p-80da815b.entry.js +5 -0
  28. package/dist/bromcom-ui/{p-faf0477b.entry.js → p-832d5db2.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-18b8a781.entry.js → p-8419365d.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-842a7205.entry.js +5 -0
  31. package/dist/bromcom-ui/{p-e6a8de73.entry.js → p-861bbeb4.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-87a2ca93.entry.js +5 -0
  33. package/dist/bromcom-ui/{p-fef7d1c2.js → p-8add2f07.js} +1 -1
  34. package/dist/bromcom-ui/p-8afdd032.entry.js +5 -0
  35. package/dist/bromcom-ui/p-8b6c9b3f.entry.js +5 -0
  36. package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
  37. package/dist/bromcom-ui/p-902e5178.entry.js +5 -0
  38. package/dist/bromcom-ui/{p-c64aa680.js → p-9893a7e0.js} +1 -1
  39. package/dist/bromcom-ui/{p-20a0dd5e.js → p-9a333950.js} +1 -1
  40. package/dist/bromcom-ui/{p-10a311a3.entry.js → p-9c3491c8.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-0dff677e.entry.js → p-9df55487.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-a262d557.entry.js +5 -0
  43. package/dist/bromcom-ui/{p-a8d1397d.js → p-a3ffcb0d.js} +1 -1
  44. package/dist/bromcom-ui/{p-8079d3c3.entry.js → p-a633eb0f.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-a8abc160.entry.js +5 -0
  46. package/dist/bromcom-ui/p-b0ee4b82.entry.js +5 -0
  47. package/dist/bromcom-ui/p-b1014f04.entry.js +5 -0
  48. package/dist/bromcom-ui/{p-cd228a80.entry.js → p-bd07fa7e.entry.js} +1 -1
  49. package/dist/bromcom-ui/p-bde3280f.entry.js +5 -0
  50. package/dist/bromcom-ui/p-c5e3161a.entry.js +5 -0
  51. package/dist/bromcom-ui/p-c600dbc4.entry.js +5 -0
  52. package/dist/bromcom-ui/{p-a69c178b.entry.js → p-cadb3b85.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-b99d105e.js → p-d62b511d.js} +1 -1
  54. package/dist/bromcom-ui/p-d82bfe4d.entry.js +5 -0
  55. package/dist/bromcom-ui/{p-9e6e812b.entry.js → p-da7603b0.entry.js} +1 -1
  56. package/dist/bromcom-ui/p-e2c4df6f.entry.js +5 -0
  57. package/dist/bromcom-ui/p-e377c5aa.entry.js +5 -0
  58. package/dist/bromcom-ui/p-e3d42795.entry.js +5 -0
  59. package/dist/bromcom-ui/{p-1a1ee7ac.entry.js → p-e48c96b5.entry.js} +1 -1
  60. package/dist/bromcom-ui/p-ea31a4c1.entry.js +5 -0
  61. package/dist/bromcom-ui/p-ea341359.entry.js +5 -0
  62. package/dist/bromcom-ui/{p-06d5b45b.js → p-eb0ca642.js} +1 -1
  63. package/dist/bromcom-ui/{p-c80351a4.entry.js → p-ecaf2ad8.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-b47a1f56.entry.js → p-f31ef56a.entry.js} +1 -1
  65. package/dist/bromcom-ui/{p-6bc8c9a5.entry.js → p-f5ae5381.entry.js} +1 -1
  66. package/dist/bromcom-ui/p-f62f236c.entry.js +5 -0
  67. package/dist/bromcom-ui/p-f8813732.entry.js +5 -0
  68. package/dist/bromcom-ui/p-f9508d68.entry.js +5 -0
  69. package/dist/bromcom-ui/p-fbb2529c.entry.js +5 -0
  70. package/dist/bromcom-ui/p-fc093746.entry.js +5 -0
  71. package/dist/bromcom-ui/{p-b1b449e5.entry.js → p-fc1ef08f.entry.js} +1 -1
  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-b7d57364.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-444f78d8.js → generate-30477ea5.js} +1 -1
  123. package/dist/cjs/{input-template-1c41f731.js → input-template-03566262.js} +1 -1
  124. package/dist/cjs/{json-parse-decarator-1df79b49.js → json-parse-decarator-cd45d5f3.js} +1 -1
  125. package/dist/cjs/loader.cjs.js +1 -1
  126. package/dist/cjs/{number-helper-61ad541b.js → number-helper-c595fb51.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-b820e69c.js → stepper-states-dbd85ea1.js} +1 -1
  130. package/dist/cjs/{tooltip-helper-22b169c4.js → tooltip-helper-57c183c2.js} +3 -3
  131. package/dist/cjs/{validators-3a5d3be9.js → validators-6a70f5f8.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-b5e9aa56.js → color-helper-7e202fd8.js} +1 -1
  272. package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
  273. package/dist/esm/{generate-3650d0a8.js → generate-e8056697.js} +1 -1
  274. package/dist/esm/{input-template-0a009dc3.js → input-template-ad71e08b.js} +1 -1
  275. package/dist/esm/{json-parse-decarator-8a38db81.js → json-parse-decarator-03fe6dfa.js} +1 -1
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/{number-helper-ad46adfd.js → number-helper-a38db352.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-808a6dce.js → stepper-states-9ba4f442.js} +1 -1
  281. package/dist/esm/{tooltip-helper-fe6a79f6.js → tooltip-helper-1f693a3d.js} +5 -5
  282. package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
  283. package/dist/esm/{validators-18fc528d.js → validators-66052fb7.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-02df0e61.entry.js +0 -5
  293. package/dist/bromcom-ui/p-09a7cbd8.entry.js +0 -5
  294. package/dist/bromcom-ui/p-0e47fd55.entry.js +0 -5
  295. package/dist/bromcom-ui/p-17c906e2.entry.js +0 -5
  296. package/dist/bromcom-ui/p-20ee086e.entry.js +0 -5
  297. package/dist/bromcom-ui/p-245639aa.entry.js +0 -5
  298. package/dist/bromcom-ui/p-2a7f29b6.entry.js +0 -5
  299. package/dist/bromcom-ui/p-2c31ab48.entry.js +0 -5
  300. package/dist/bromcom-ui/p-4416fc0a.entry.js +0 -5
  301. package/dist/bromcom-ui/p-46bc2218.entry.js +0 -5
  302. package/dist/bromcom-ui/p-5c8da4ba.entry.js +0 -5
  303. package/dist/bromcom-ui/p-910f82d6.entry.js +0 -5
  304. package/dist/bromcom-ui/p-975d3153.entry.js +0 -5
  305. package/dist/bromcom-ui/p-9d791103.entry.js +0 -5
  306. package/dist/bromcom-ui/p-9fd54986.entry.js +0 -5
  307. package/dist/bromcom-ui/p-a65d4efc.entry.js +0 -5
  308. package/dist/bromcom-ui/p-afdbe4b8.entry.js +0 -5
  309. package/dist/bromcom-ui/p-b00dce70.entry.js +0 -5
  310. package/dist/bromcom-ui/p-b1435ced.entry.js +0 -5
  311. package/dist/bromcom-ui/p-b42ba972.entry.js +0 -5
  312. package/dist/bromcom-ui/p-b8ac51ee.entry.js +0 -5
  313. package/dist/bromcom-ui/p-c0367eac.entry.js +0 -5
  314. package/dist/bromcom-ui/p-c59b1d70.entry.js +0 -5
  315. package/dist/bromcom-ui/p-dbb1b1c8.entry.js +0 -5
  316. package/dist/bromcom-ui/p-e92ea676.entry.js +0 -5
  317. package/dist/bromcom-ui/p-f25e022d.entry.js +0 -5
  318. package/dist/bromcom-ui/p-f8debd1c.entry.js +0 -5
  319. package/dist/bromcom-ui/p-fd1b7034.entry.js +0 -5
  320. package/dist/cjs/bcm-date-picker_7.cjs.entry.js +0 -2257
  321. 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-58077b32.js';
6
+ import { c as classnames } from './index-ba2edd32.js';
7
+ import { I as IsLoad } from './is-load-decorator-d57b8f9e.js';
8
+ import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
9
+ import { G as Generate } from './generate-e8056697.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 };