bromcom-ui 2.8.0-rc.9 → 3.0.0-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 (715) 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/global/helper/toast.ts +2 -2
  4. package/dist/bromcom-ui/p-00f07dc3.entry.js +5 -0
  5. package/dist/bromcom-ui/p-0279271c.entry.js +5 -0
  6. package/dist/bromcom-ui/p-05b4cd11.entry.js +5 -0
  7. package/dist/bromcom-ui/p-105de77c.entry.js +5 -0
  8. package/dist/bromcom-ui/p-10bf821f.js +5 -0
  9. package/dist/bromcom-ui/p-1442fe54.entry.js +5 -0
  10. package/dist/bromcom-ui/p-17afa7f6.entry.js +5 -0
  11. package/dist/bromcom-ui/p-19a8ae51.entry.js +5 -0
  12. package/dist/bromcom-ui/p-215d04da.entry.js +5 -0
  13. package/dist/bromcom-ui/{p-04d4c6e7.entry.js → p-24ba554d.entry.js} +1 -1
  14. package/dist/bromcom-ui/p-24f3a77e.entry.js +5 -0
  15. package/dist/bromcom-ui/p-276547d8.entry.js +5 -0
  16. package/dist/bromcom-ui/p-287c4271.js +5 -0
  17. package/dist/bromcom-ui/p-28c49c8f.entry.js +5 -0
  18. package/dist/bromcom-ui/p-2efa36f1.entry.js +5 -0
  19. package/dist/bromcom-ui/p-30431c71.entry.js +5 -0
  20. package/dist/bromcom-ui/p-31a0e7ba.entry.js +5 -0
  21. package/dist/bromcom-ui/p-32354ea1.js +5 -0
  22. package/dist/bromcom-ui/p-37ef1da1.entry.js +5 -0
  23. package/dist/bromcom-ui/{p-8c018ae0.js → p-3c7a0345.js} +1 -1
  24. package/dist/bromcom-ui/{p-a60a2dd0.js → p-3cde7f38.js} +1 -1
  25. package/dist/bromcom-ui/p-3f170366.entry.js +5 -0
  26. package/dist/bromcom-ui/p-41fc7f04.entry.js +5 -0
  27. package/dist/bromcom-ui/{p-14a0a646.entry.js → p-46c96fed.entry.js} +1 -1
  28. package/dist/bromcom-ui/p-4e55fc9e.js +5 -0
  29. package/dist/bromcom-ui/p-5145a391.entry.js +5 -0
  30. package/dist/bromcom-ui/{p-0716606a.js → p-52ad7164.js} +1 -1
  31. package/dist/bromcom-ui/p-53fbc706.entry.js +5 -0
  32. package/dist/bromcom-ui/{p-c23b6240.js → p-54c0916c.js} +1 -1
  33. package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
  34. package/dist/bromcom-ui/p-5bebc25f.entry.js +5 -0
  35. package/dist/bromcom-ui/p-5bffe176.entry.js +5 -0
  36. package/dist/bromcom-ui/p-5c46d081.entry.js +5 -0
  37. package/dist/bromcom-ui/p-5e9262f1.entry.js +5 -0
  38. package/dist/bromcom-ui/p-62c1fa8c.entry.js +5 -0
  39. package/dist/bromcom-ui/{p-8e2540d8.entry.js → p-630cbe30.entry.js} +1 -1
  40. package/dist/bromcom-ui/p-6554c2d3.entry.js +5 -0
  41. package/dist/bromcom-ui/p-67408ca5.entry.js +5 -0
  42. package/dist/bromcom-ui/p-6835650f.entry.js +5 -0
  43. package/dist/bromcom-ui/{p-e8a668b7.js → p-69b5544d.js} +1 -1
  44. package/dist/bromcom-ui/p-6a353bb6.js +5 -0
  45. package/dist/bromcom-ui/{p-da1055cb.js → p-6d7fe687.js} +1 -1
  46. package/dist/bromcom-ui/p-7000163b.entry.js +5 -0
  47. package/dist/bromcom-ui/p-7240b562.entry.js +5 -0
  48. package/dist/bromcom-ui/p-75b85862.entry.js +5 -0
  49. package/dist/bromcom-ui/p-77ed76f5.entry.js +5 -0
  50. package/dist/bromcom-ui/{p-dbc4c30c.js → p-78ce966b.js} +1 -1
  51. package/dist/bromcom-ui/p-79fe882b.entry.js +5 -0
  52. package/dist/bromcom-ui/p-7bcbb142.entry.js +5 -0
  53. package/dist/bromcom-ui/p-7e978e98.entry.js +5 -0
  54. package/dist/bromcom-ui/p-81623cde.entry.js +5 -0
  55. package/dist/bromcom-ui/{p-976f682f.entry.js → p-8206f068.entry.js} +1 -1
  56. package/dist/bromcom-ui/p-821f3fb6.entry.js +5 -0
  57. package/dist/bromcom-ui/p-8431b63c.js +5 -0
  58. package/dist/bromcom-ui/p-8a5fe91c.entry.js +5 -0
  59. package/dist/bromcom-ui/p-8cbef7a6.entry.js +5 -0
  60. package/dist/bromcom-ui/p-8ef8b497.entry.js +5 -0
  61. package/dist/bromcom-ui/p-90b4c7c9.entry.js +5 -0
  62. package/dist/bromcom-ui/p-937d971a.entry.js +5 -0
  63. package/dist/bromcom-ui/p-978011dd.js +5 -0
  64. package/dist/bromcom-ui/p-98ea4ff6.js +5 -0
  65. package/dist/bromcom-ui/p-98ff24c9.entry.js +5 -0
  66. package/dist/bromcom-ui/p-9b8d1b13.entry.js +5 -0
  67. package/dist/bromcom-ui/p-9f6b4476.js +5 -0
  68. package/dist/bromcom-ui/p-a57afe94.entry.js +5 -0
  69. package/dist/bromcom-ui/p-a70f02c2.entry.js +5 -0
  70. package/dist/bromcom-ui/p-a831bd5d.js +5 -0
  71. package/dist/bromcom-ui/p-abf80382.entry.js +5 -0
  72. package/dist/bromcom-ui/p-ad3ac171.entry.js +5 -0
  73. package/dist/bromcom-ui/p-b030b897.entry.js +5 -0
  74. package/dist/bromcom-ui/p-b5ae4583.entry.js +5 -0
  75. package/dist/bromcom-ui/p-b78fb80e.entry.js +5 -0
  76. package/dist/bromcom-ui/p-b9f08edd.entry.js +5 -0
  77. package/dist/bromcom-ui/p-ba3faef7.entry.js +5 -0
  78. package/dist/bromcom-ui/{p-8c77e8a8.js → p-bd0d939f.js} +1 -1
  79. package/dist/bromcom-ui/p-bd6be9db.entry.js +5 -0
  80. package/dist/bromcom-ui/p-c2ae2973.js +5 -0
  81. package/dist/bromcom-ui/p-c2e3346a.entry.js +5 -0
  82. package/dist/bromcom-ui/p-c7410110.entry.js +5 -0
  83. package/dist/bromcom-ui/p-cace6ebd.js +5 -0
  84. package/dist/bromcom-ui/{p-221448f8.entry.js → p-cfce9a65.entry.js} +1 -1
  85. package/dist/bromcom-ui/p-d24db173.entry.js +5 -0
  86. package/dist/bromcom-ui/p-d472ca66.entry.js +5 -0
  87. package/dist/bromcom-ui/p-d55299d2.entry.js +5 -0
  88. package/dist/bromcom-ui/p-d55de67d.entry.js +5 -0
  89. package/dist/bromcom-ui/p-d6ea0ab5.entry.js +5 -0
  90. package/dist/bromcom-ui/p-d82b164a.js +5 -0
  91. package/dist/bromcom-ui/p-d9dfd77d.entry.js +10 -0
  92. package/dist/bromcom-ui/{p-1e264881.entry.js → p-dc8c9f18.entry.js} +1 -1
  93. package/dist/bromcom-ui/{p-39eda493.entry.js → p-df67e1ec.entry.js} +1 -1
  94. package/dist/bromcom-ui/p-df79894d.entry.js +5 -0
  95. package/dist/bromcom-ui/{p-8d0ca8c2.js → p-dfbc34e2.js} +1 -1
  96. package/dist/bromcom-ui/{p-4fcf03c1.entry.js → p-ea4d8a18.entry.js} +1 -1
  97. package/dist/bromcom-ui/p-f68b9e28.entry.js +5 -0
  98. package/dist/bromcom-ui/p-f68c2cdc.entry.js +5 -0
  99. package/dist/bromcom-ui/p-f9e4fae2.entry.js +5 -0
  100. package/dist/bromcom-ui/p-fa5daf9b.entry.js +5 -0
  101. package/dist/bromcom-ui/p-fed9ee6b.entry.js +5 -0
  102. package/dist/bromcom-ui/p-ff560908.entry.js +5 -0
  103. package/dist/bromcom-ui/p-ffe65dfc.entry.js +5 -0
  104. package/dist/cjs/bcm-accordion.cjs.entry.js +4 -3
  105. package/dist/cjs/bcm-alert.cjs.entry.js +54 -75
  106. package/dist/cjs/bcm-attendance.cjs.entry.js +31 -9
  107. package/dist/cjs/bcm-avatar_6.cjs.entry.js +751 -0
  108. package/dist/cjs/bcm-badge.cjs.entry.js +83 -0
  109. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +4 -3
  110. package/dist/cjs/bcm-button-group.cjs.entry.js +22 -19
  111. package/dist/cjs/bcm-button.cjs.entry.js +202 -316
  112. package/dist/cjs/bcm-card.cjs.entry.js +8 -7
  113. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +213 -345
  114. package/dist/cjs/bcm-checkbox.cjs.entry.js +174 -0
  115. package/dist/cjs/bcm-chip.cjs.entry.js +24 -33
  116. package/dist/cjs/bcm-collapse.cjs.entry.js +4 -3
  117. package/dist/cjs/bcm-color-input.cjs.entry.js +8 -7
  118. package/dist/cjs/bcm-colorful_2.cjs.entry.js +11 -10
  119. package/dist/cjs/bcm-colorpicker.cjs.entry.js +1 -1
  120. package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -4
  121. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
  122. package/dist/cjs/bcm-default.cjs.entry.js +4 -3
  123. package/dist/cjs/bcm-drawer.cjs.entry.js +24 -26
  124. package/dist/cjs/bcm-dropdown.cjs.entry.js +22 -25
  125. package/dist/cjs/{bcm-634604e3.js → bcm-e4cbab88.js} +6 -0
  126. package/dist/cjs/bcm-error-layout.cjs.entry.js +12 -35
  127. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +7 -6
  128. package/dist/cjs/bcm-form.cjs.entry.js +137 -419
  129. package/dist/cjs/bcm-icon.cjs.entry.js +10 -6
  130. package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -2
  131. package/dist/cjs/bcm-input.cjs.entry.js +10 -9
  132. package/dist/cjs/bcm-item.cjs.entry.js +6 -5
  133. package/dist/cjs/bcm-items.cjs.entry.js +6 -5
  134. package/dist/cjs/bcm-label_2.cjs.entry.js +14 -19
  135. package/dist/cjs/bcm-link.cjs.entry.js +37 -23
  136. package/dist/cjs/bcm-list.cjs.entry.js +26 -26
  137. package/dist/cjs/{bcm-checkbox-lite_9.cjs.entry.js → bcm-listbox_4.cjs.entry.js} +10 -652
  138. package/dist/cjs/bcm-menu.cjs.entry.js +11 -10
  139. package/dist/cjs/bcm-modal-footer.cjs.entry.js +51 -0
  140. package/dist/cjs/bcm-modal-header.cjs.entry.js +50 -0
  141. package/dist/cjs/bcm-modal.cjs.entry.js +119 -90
  142. package/dist/cjs/bcm-old-form-group.cjs.entry.js +46 -0
  143. package/dist/cjs/bcm-old-input.cjs.entry.js +2 -2
  144. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +2 -2
  145. package/dist/cjs/bcm-overlay_2.cjs.entry.js +48 -0
  146. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +9 -8
  147. package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -4
  148. package/dist/cjs/bcm-popover.cjs.entry.js +9 -8
  149. package/dist/cjs/bcm-progress.cjs.entry.js +7 -6
  150. package/dist/cjs/bcm-radio-group.cjs.entry.js +10 -9
  151. package/dist/cjs/bcm-radio.cjs.entry.js +9 -8
  152. package/dist/cjs/bcm-range.cjs.entry.js +5 -4
  153. package/dist/cjs/bcm-result.cjs.entry.js +48 -45
  154. package/dist/cjs/bcm-search.cjs.entry.js +14 -13
  155. package/dist/cjs/bcm-select-group.cjs.entry.js +1 -1
  156. package/dist/cjs/bcm-select-option.cjs.entry.js +1 -1
  157. package/dist/cjs/bcm-select.cjs.entry.js +3 -3
  158. package/dist/cjs/bcm-skeleton.cjs.entry.js +3 -2
  159. package/dist/cjs/bcm-step.cjs.entry.js +4 -3
  160. package/dist/cjs/bcm-stepper.cjs.entry.js +17 -16
  161. package/dist/cjs/bcm-switch.cjs.entry.js +8 -6
  162. package/dist/cjs/bcm-tab-group.cjs.entry.js +8 -7
  163. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +8 -7
  164. package/dist/cjs/bcm-tab-item.cjs.entry.js +8 -7
  165. package/dist/cjs/bcm-tab-pane.cjs.entry.js +1 -1
  166. package/dist/cjs/bcm-tab.cjs.entry.js +1 -1
  167. package/dist/cjs/bcm-table.cjs.entry.js +1 -1
  168. package/dist/cjs/bcm-tabs-content.cjs.entry.js +1 -1
  169. package/dist/cjs/bcm-tabs.cjs.entry.js +1 -1
  170. package/dist/cjs/bcm-tag.cjs.entry.js +5 -4
  171. package/dist/cjs/bcm-text.cjs.entry.js +6 -6
  172. package/dist/cjs/bcm-textarea.cjs.entry.js +7 -6
  173. package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -4
  174. package/dist/cjs/bcm-timeline-item.cjs.entry.js +1 -1
  175. package/dist/cjs/bcm-timeline.cjs.entry.js +1 -1
  176. package/dist/cjs/bcm-toast.cjs.entry.js +6 -5
  177. package/dist/cjs/bcm-typography.cjs.entry.js +35 -0
  178. package/dist/cjs/bromcom-ui.cjs.js +1 -1
  179. package/dist/cjs/caption-template-3cfa638c.js +32 -0
  180. package/dist/cjs/{color-helper-0097a7c2.js → color-helper-8c8675e5.js} +8 -8
  181. package/dist/cjs/{colors-43b24668.js → colors-f0a07cbe.js} +17 -11
  182. package/dist/cjs/{floating-ui-74eb26d6.js → floating-ui-54bb620a.js} +67 -78
  183. package/dist/cjs/{generate-b39bfd65.js → generate-59e65204.js} +17 -55
  184. package/dist/cjs/icon-template-9d3d546d.js +15 -0
  185. package/dist/cjs/{input-template-7c7cfb83.js → input-template-2d413cf8.js} +5 -3
  186. package/dist/cjs/{json-parse-decarator-3b0b8500.js → json-parse-decarator-d31c2be8.js} +5 -5
  187. package/dist/cjs/label-template-2db9d086.js +24 -0
  188. package/dist/cjs/loader.cjs.js +1 -1
  189. package/dist/cjs/number-helper-07df86a9.js +20 -0
  190. package/dist/cjs/old-bcm-form.cjs.entry.js +487 -0
  191. package/dist/cjs/{popover-placement-3c8f3a72.js → popover-placement-07720aeb.js} +1 -1
  192. package/dist/cjs/{slot-template-3e59d7d8.js → slot-template-b36cf392.js} +1 -1
  193. package/dist/cjs/snq.es5-da53ce70.js +20 -0
  194. package/dist/cjs/{stepper-states-538d8ba5.js → stepper-states-741ebc34.js} +4 -3
  195. package/dist/cjs/{string-helper-45cffee0.js → string-helper-8893dc39.js} +1 -1
  196. package/dist/cjs/{tooltip-helper-c3879175.js → tooltip-helper-e85cd3f8.js} +7 -7
  197. package/dist/cjs/{validators-7e8e9603.js → validators-cd7d5c69.js} +2 -2
  198. package/dist/collection/collection-manifest.json +8 -9
  199. package/dist/collection/components/atoms/avatar/avatar.js +59 -57
  200. package/dist/collection/components/atoms/badge/badge.js +48 -97
  201. package/dist/collection/components/atoms/button/button.js +381 -257
  202. package/dist/collection/components/atoms/button/types.js +110 -143
  203. package/dist/collection/components/atoms/chip/chip.js +40 -57
  204. package/dist/collection/components/atoms/divider/divider.js +12 -21
  205. package/dist/collection/components/atoms/icon/icon.js +5 -34
  206. package/dist/collection/components/atoms/label/label.js +17 -30
  207. package/dist/collection/components/atoms/link/link.js +99 -47
  208. package/dist/collection/components/molecules/accordion/accordion.css +0 -11
  209. package/dist/collection/components/molecules/alert/alert.js +156 -136
  210. package/dist/collection/components/molecules/breadcrumb/breadcrumb.css +0 -11
  211. package/dist/collection/components/molecules/button-group/button-group.js +49 -36
  212. package/dist/collection/components/molecules/card/card.css +0 -263
  213. package/dist/collection/components/molecules/checkbox/{group.js → checkbox-group.js} +405 -314
  214. package/dist/collection/components/molecules/checkbox/checkbox.js +40 -54
  215. package/dist/collection/components/molecules/colorful/colorful.css +39 -882
  216. package/dist/collection/components/molecules/drawer/drawer.js +40 -32
  217. package/dist/collection/components/molecules/dropdown/dropdown.js +40 -51
  218. package/dist/collection/components/molecules/empty/empty.js +61 -4
  219. package/dist/collection/components/molecules/error-layout/error-layout.js +40 -79
  220. package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -263
  221. package/dist/collection/components/molecules/input/input.css +38 -881
  222. package/dist/collection/components/molecules/item/item.css +0 -263
  223. package/dist/collection/components/molecules/linked/linked.js +1 -1
  224. package/dist/collection/components/molecules/menu/menu.css +0 -263
  225. package/dist/collection/components/molecules/modal/modal-footer.js +54 -0
  226. package/dist/collection/components/molecules/modal/modal-header.js +53 -0
  227. package/dist/collection/components/molecules/modal/modal.js +192 -129
  228. package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +0 -263
  229. package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +1 -1
  230. package/dist/collection/components/molecules/popconfirm/popconfirm.css +0 -11
  231. package/dist/collection/components/molecules/progress/progress.css +10 -273
  232. package/dist/collection/components/molecules/progress/progress.js +1 -1
  233. package/dist/collection/components/molecules/radio/radio-group.js +1 -1
  234. package/dist/collection/components/molecules/radio/radio.js +1 -1
  235. package/dist/collection/components/molecules/range/range.css +0 -263
  236. package/dist/collection/components/molecules/result/result.js +121 -71
  237. package/dist/collection/components/molecules/search/search.css +38 -881
  238. package/dist/collection/components/molecules/stepper/stepper.css +75 -306
  239. package/dist/collection/components/molecules/stepper/stepper.js +1 -1
  240. package/dist/collection/components/molecules/switch/switch.css +14 -867
  241. package/dist/collection/components/molecules/switch/switch.js +2 -1
  242. package/dist/collection/components/molecules/textarea/textarea.css +38 -881
  243. package/dist/collection/components/molecules/timeline/timeline-item.css +1 -12
  244. package/dist/collection/components/molecules/timeline/timeline.css +0 -11
  245. package/dist/collection/components/organism/date-picker/date-picker.css +0 -11
  246. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -856
  247. package/dist/collection/components/organism/form/form.js +133 -494
  248. package/dist/collection/components/organism/list/list.css +0 -1108
  249. package/dist/collection/components/organism/time-picker/time-picker.css +0 -11
  250. package/dist/collection/components/other/attendance/attendance.js +78 -24
  251. package/dist/collection/components/other/data-table/table.css +0 -11
  252. package/dist/collection/components/other/default/default.css +0 -11
  253. package/dist/collection/components/other/overlay/overlay.js +101 -0
  254. package/dist/collection/components/other/scroll-area/scroll-area.js +77 -0
  255. package/dist/collection/components/other/toast/toast.js +1 -1
  256. package/dist/collection/components/other/typography/typography.js +1 -1
  257. package/dist/collection/components/other_deprecated/collapse/collapse.css +0 -11
  258. package/dist/collection/components/other_deprecated/colorpicker/colorpicker.css +0 -11
  259. package/dist/collection/components/other_deprecated/listbox/listbox-group.css +0 -11
  260. package/dist/collection/components/other_deprecated/listbox/listbox-item.css +0 -11
  261. package/dist/collection/components/other_deprecated/listbox/listbox.css +0 -11
  262. package/dist/collection/components/{organism/form-2/form-2.css → other_deprecated/old-form/old-form-group.css} +4 -11
  263. package/dist/collection/components/{organism/form/form-group.js → other_deprecated/old-form/old-form-group.js} +5 -5
  264. package/dist/collection/components/{organism/form/form.css → other_deprecated/old-form/old-form.css} +0 -11
  265. package/dist/collection/components/other_deprecated/old-form/old-form.js +695 -0
  266. package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -864
  267. package/dist/collection/components/other_deprecated/old-search/old-search.css +0 -11
  268. package/dist/collection/components/other_deprecated/old-tag/old-tag.css +0 -19
  269. package/dist/collection/components/other_deprecated/select/group.css +0 -11
  270. package/dist/collection/components/other_deprecated/select/option.css +0 -11
  271. package/dist/collection/components/other_deprecated/select/select-box.css +0 -11
  272. package/dist/collection/components/other_deprecated/select/select.css +5 -16
  273. package/dist/collection/components/other_deprecated/tabs/tab-pane.css +0 -11
  274. package/dist/collection/components/other_deprecated/tabs/tab.css +5 -268
  275. package/dist/collection/components/other_deprecated/tabs/tabs-content.css +0 -11
  276. package/dist/collection/components/other_deprecated/tabs/tabs.css +0 -11
  277. package/dist/collection/components/other_deprecated/text/text.css +0 -263
  278. package/dist/collection/components/other_deprecated/treeview/treeview-item.css +0 -11
  279. package/dist/collection/components/other_deprecated/treeview/treeview.css +0 -11
  280. package/dist/collection/global/components/_checkbox.css +0 -263
  281. package/dist/collection/global/helper/toast.ts +2 -2
  282. package/dist/collection/helper/generate.js +13 -20
  283. package/dist/collection/models/bcm.js +8 -0
  284. package/dist/collection/templates/caption-template.js +15 -11
  285. package/dist/collection/templates/icon-template.js +4 -19
  286. package/dist/collection/templates/input-template.js +1 -1
  287. package/dist/collection/templates/label-template.js +5 -3
  288. package/dist/collection/templates/step-template.js +1 -1
  289. package/dist/components/avatar.js +56 -55
  290. package/dist/components/badge.js +43 -49
  291. package/dist/components/bcm-accordion.js +1 -1
  292. package/dist/components/bcm-alert.js +58 -87
  293. package/dist/components/bcm-attendance.js +29 -10
  294. package/dist/components/bcm-breadcrumb.js +1 -1
  295. package/dist/components/bcm-button-group.js +27 -23
  296. package/dist/components/bcm-card.js +1 -1
  297. package/dist/components/bcm-checkbox-group.js +229 -363
  298. package/dist/components/bcm-chip.js +29 -47
  299. package/dist/components/bcm-collapse.js +1 -1
  300. package/dist/components/bcm-color-input.js +1 -2
  301. package/dist/components/bcm-colorpicker.js +1 -1
  302. package/dist/components/bcm-date-picker.js +3 -3
  303. package/dist/components/bcm-default.js +1 -1
  304. package/dist/components/bcm-drawer.js +23 -26
  305. package/dist/components/bcm-dropdown.js +18 -22
  306. package/dist/components/bcm-error-layout.js +15 -40
  307. package/dist/components/bcm-expansion-panel.js +1 -1
  308. package/dist/components/bcm-form.js +140 -427
  309. package/dist/components/bcm-item.js +2 -2
  310. package/dist/components/bcm-items.js +2 -1
  311. package/dist/components/bcm-list.js +5 -6
  312. package/dist/components/{bcm-form-group.d.ts → bcm-modal-footer.d.ts} +4 -4
  313. package/dist/components/{typography.js → bcm-modal-footer.js} +23 -9
  314. package/dist/components/bcm-modal-header.d.ts +11 -0
  315. package/dist/components/bcm-modal-header.js +58 -0
  316. package/dist/components/bcm-modal.js +1 -162
  317. package/dist/components/{bcm-notification.d.ts → bcm-old-form-group.d.ts} +4 -4
  318. package/dist/components/bcm-old-form-group.js +66 -0
  319. package/dist/components/{bcm-message.d.ts → bcm-overlay.d.ts} +4 -4
  320. package/dist/components/bcm-overlay.js +10 -0
  321. package/dist/components/bcm-popconfirm.js +2 -2
  322. package/dist/components/bcm-popover.js +2 -3
  323. package/dist/components/bcm-progress.js +3 -3
  324. package/dist/components/bcm-radio-group.js +3 -5
  325. package/dist/components/bcm-range.js +2 -2
  326. package/dist/components/bcm-result.js +66 -57
  327. package/dist/components/{old-bcm-popover.d.ts → bcm-scroll-area.d.ts} +4 -4
  328. package/dist/components/bcm-scroll-area.js +10 -0
  329. package/dist/components/bcm-select-group.js +1 -1
  330. package/dist/components/bcm-select-option.js +1 -1
  331. package/dist/components/bcm-select.js +39 -45
  332. package/dist/components/bcm-stepper.js +8 -9
  333. package/dist/components/bcm-switch.js +4 -3
  334. package/dist/components/bcm-tab-group.js +2 -3
  335. package/dist/components/bcm-tab-item-header.js +2 -3
  336. package/dist/components/bcm-tab-item.js +1 -2
  337. package/dist/components/bcm-tab-pane.js +1 -1
  338. package/dist/components/bcm-tab.js +2 -2
  339. package/dist/components/bcm-table.js +1 -1
  340. package/dist/components/bcm-tabs-content.js +2 -2
  341. package/dist/components/bcm-tabs.js +2 -2
  342. package/dist/components/bcm-tag.js +2 -2
  343. package/dist/components/bcm-textarea.js +2 -2
  344. package/dist/components/bcm-time-picker.js +2 -2
  345. package/dist/components/bcm-timeline-item.js +1 -1
  346. package/dist/components/bcm-timeline.js +1 -1
  347. package/dist/components/bcm-toast.js +2 -2
  348. package/dist/components/bcm-typography.js +39 -1
  349. package/dist/components/bcm.js +7 -1
  350. package/dist/components/button.js +227 -333
  351. package/dist/components/caption-template.js +15 -17
  352. package/dist/components/checkbox-lite.js +2 -2
  353. package/dist/components/checkbox.js +36 -43
  354. package/dist/components/color-helper.js +8 -8
  355. package/dist/components/colorful.js +1 -1
  356. package/dist/components/colors2.js +17 -11
  357. package/dist/components/datetime-picker.js +3 -4
  358. package/dist/components/divider.js +8 -10
  359. package/dist/components/element-dragger.js +30 -1
  360. package/dist/components/empty.js +11 -9
  361. package/dist/components/floating-ui.js +67 -78
  362. package/dist/components/generate.js +17 -54
  363. package/dist/components/icon-template.js +13 -0
  364. package/dist/components/icon.js +9 -9
  365. package/dist/components/index.d.ts +7 -8
  366. package/dist/components/index.js +6 -7
  367. package/dist/components/input-template.js +4 -2
  368. package/dist/components/input.js +3 -3
  369. package/dist/components/json-parse-decarator.js +1 -1
  370. package/dist/components/label-template.js +7 -6
  371. package/dist/components/label.js +13 -19
  372. package/dist/components/link.js +40 -35
  373. package/dist/components/linked.js +3 -4
  374. package/dist/components/listbox-group.js +1 -1
  375. package/dist/components/listbox-item.js +1 -1
  376. package/dist/components/listbox.js +33 -39
  377. package/dist/components/menu.js +2 -3
  378. package/dist/components/modal.js +202 -0
  379. package/dist/components/number-helper.js +1 -1
  380. package/dist/components/{bcm-form-2.d.ts → old-bcm-form.d.ts} +4 -4
  381. package/dist/components/old-bcm-form.js +511 -0
  382. package/dist/components/old-input.js +1 -1
  383. package/dist/components/old-search.js +1 -1
  384. package/dist/components/old-tag.js +1 -1
  385. package/dist/components/overlay.js +47 -0
  386. package/dist/components/popconfirm-box.js +2 -2
  387. package/dist/components/radio.js +3 -4
  388. package/dist/components/scroll-area.js +40 -0
  389. package/dist/components/search.js +4 -3
  390. package/dist/components/select-box.js +35 -41
  391. package/dist/components/snq.es5.js +18 -0
  392. package/dist/components/step.js +2 -1
  393. package/dist/components/string-helper.js +1 -1
  394. package/dist/components/text.js +1 -1
  395. package/dist/components/tooltip-helper.js +1 -2
  396. package/dist/components/tooltip.js +2 -3
  397. package/dist/components/treeview-item.js +1 -1
  398. package/dist/components/treeview.js +21 -27
  399. package/dist/components/types.js +28 -1
  400. package/dist/components/types2.js +25 -25
  401. package/dist/esm/{bcm-9f50af9c.js → bcm-a29f0eef.js} +6 -0
  402. package/dist/esm/bcm-accordion.entry.js +6 -5
  403. package/dist/esm/bcm-alert.entry.js +52 -73
  404. package/dist/esm/bcm-attendance.entry.js +33 -11
  405. package/dist/esm/bcm-avatar_6.entry.js +742 -0
  406. package/dist/esm/bcm-badge.entry.js +79 -0
  407. package/dist/esm/bcm-box.entry.js +2 -2
  408. package/dist/esm/bcm-breadcrumb.entry.js +6 -5
  409. package/dist/esm/bcm-button-group.entry.js +23 -20
  410. package/dist/esm/bcm-button.entry.js +204 -318
  411. package/dist/esm/bcm-card.entry.js +11 -10
  412. package/dist/esm/bcm-checkbox-group.entry.js +207 -339
  413. package/dist/esm/bcm-checkbox.entry.js +170 -0
  414. package/dist/esm/bcm-chip.entry.js +27 -36
  415. package/dist/esm/bcm-collapse-group.entry.js +3 -3
  416. package/dist/esm/bcm-collapse.entry.js +6 -5
  417. package/dist/esm/bcm-color-input.entry.js +11 -10
  418. package/dist/esm/bcm-colorful_2.entry.js +15 -14
  419. package/dist/esm/bcm-colorpicker.entry.js +5 -5
  420. package/dist/esm/bcm-date-picker.entry.js +8 -7
  421. package/dist/esm/bcm-datetime-picker.entry.js +12 -12
  422. package/dist/esm/bcm-default.entry.js +6 -5
  423. package/dist/esm/bcm-drawer.entry.js +28 -30
  424. package/dist/esm/bcm-dropdown.entry.js +24 -27
  425. package/dist/esm/bcm-error-layout.entry.js +13 -36
  426. package/dist/esm/bcm-expansion-panel.entry.js +10 -9
  427. package/dist/esm/bcm-form.entry.js +139 -421
  428. package/dist/esm/bcm-icon.entry.js +12 -8
  429. package/dist/esm/bcm-input-custom.entry.js +5 -4
  430. package/dist/esm/bcm-input.entry.js +13 -12
  431. package/dist/esm/bcm-item.entry.js +9 -8
  432. package/dist/esm/bcm-items.entry.js +7 -6
  433. package/dist/esm/bcm-label_2.entry.js +18 -23
  434. package/dist/esm/bcm-link.entry.js +37 -23
  435. package/dist/esm/bcm-list.entry.js +20 -20
  436. package/dist/esm/{bcm-checkbox-lite_9.entry.js → bcm-listbox_4.entry.js} +13 -650
  437. package/dist/esm/bcm-menu.entry.js +15 -14
  438. package/dist/esm/bcm-modal-footer.entry.js +47 -0
  439. package/dist/esm/bcm-modal-header.entry.js +46 -0
  440. package/dist/esm/bcm-modal.entry.js +119 -90
  441. package/dist/esm/bcm-old-form-group.entry.js +42 -0
  442. package/dist/esm/bcm-old-input.entry.js +5 -5
  443. package/dist/esm/bcm-old-tag_2.entry.js +5 -5
  444. package/dist/esm/bcm-overlay_2.entry.js +43 -0
  445. package/dist/esm/bcm-popconfirm-box.entry.js +12 -11
  446. package/dist/esm/bcm-popconfirm.entry.js +7 -6
  447. package/dist/esm/bcm-popover.entry.js +13 -12
  448. package/dist/esm/bcm-progress.entry.js +10 -9
  449. package/dist/esm/bcm-radio-group.entry.js +14 -13
  450. package/dist/esm/bcm-radio.entry.js +12 -11
  451. package/dist/esm/bcm-range.entry.js +8 -7
  452. package/dist/esm/bcm-result.entry.js +49 -46
  453. package/dist/esm/bcm-search.entry.js +11 -10
  454. package/dist/esm/bcm-select-group.entry.js +2 -2
  455. package/dist/esm/bcm-select-option.entry.js +2 -2
  456. package/dist/esm/bcm-select.entry.js +6 -6
  457. package/dist/esm/bcm-skeleton.entry.js +5 -4
  458. package/dist/esm/bcm-step.entry.js +7 -6
  459. package/dist/esm/bcm-stepper.entry.js +19 -18
  460. package/dist/esm/bcm-switch.entry.js +11 -9
  461. package/dist/esm/bcm-tab-group.entry.js +12 -11
  462. package/dist/esm/bcm-tab-item-header.entry.js +12 -11
  463. package/dist/esm/bcm-tab-item.entry.js +12 -11
  464. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  465. package/dist/esm/bcm-tab.entry.js +3 -3
  466. package/dist/esm/bcm-table.entry.js +4 -4
  467. package/dist/esm/bcm-tabs-content.entry.js +4 -4
  468. package/dist/esm/bcm-tabs.entry.js +4 -4
  469. package/dist/esm/bcm-tag.entry.js +8 -7
  470. package/dist/esm/bcm-text.entry.js +9 -9
  471. package/dist/esm/bcm-textarea.entry.js +10 -9
  472. package/dist/esm/bcm-time-picker.entry.js +8 -7
  473. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  474. package/dist/esm/bcm-timeline.entry.js +3 -3
  475. package/dist/esm/bcm-toast.entry.js +9 -8
  476. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  477. package/dist/esm/bcm-typography.entry.js +31 -0
  478. package/dist/esm/bromcom-ui.js +3 -3
  479. package/dist/esm/caption-template-62c75b98.js +30 -0
  480. package/dist/esm/{color-helper-4fa5dd0d.js → color-helper-85f2eddb.js} +9 -9
  481. package/dist/esm/{colors-fa05fe33.js → colors-e780e48d.js} +17 -11
  482. package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
  483. package/dist/esm/{floating-ui-e7341329.js → floating-ui-065b36f9.js} +67 -78
  484. package/dist/esm/{generate-5f415340.js → generate-7be7919a.js} +17 -54
  485. package/dist/esm/icon-template-0f1f5828.js +13 -0
  486. package/dist/esm/{index-93e36fdb.js → index-0052017c.js} +1 -1
  487. package/dist/esm/{index-39133086.js → index-348b16ad.js} +1 -1
  488. package/dist/esm/{input-template-5d9e6648.js → input-template-5ed08d5c.js} +5 -3
  489. package/dist/esm/{is-load-decorator-bc14ec4b.js → is-load-decorator-07d3502a.js} +1 -1
  490. package/dist/esm/{json-parse-decarator-94b458ca.js → json-parse-decarator-fa15277b.js} +2 -2
  491. package/dist/esm/label-template-253d4ed9.js +22 -0
  492. package/dist/esm/loader.js +3 -3
  493. package/dist/esm/{number-helper-cdcb2700.js → number-helper-cc915c62.js} +1 -1
  494. package/dist/esm/old-bcm-form.entry.js +483 -0
  495. package/dist/esm/{popover-placement-78f86f15.js → popover-placement-3ba8a0d9.js} +1 -1
  496. package/dist/esm/{slot-template-5b2db362.js → slot-template-94ad4a24.js} +2 -2
  497. package/dist/esm/snq.es5-d6023241.js +18 -0
  498. package/dist/esm/{stepper-states-0ef7bf68.js → stepper-states-4db164ca.js} +4 -3
  499. package/dist/esm/{string-helper-6bd24967.js → string-helper-8e053b44.js} +1 -1
  500. package/dist/esm/{tooltip-helper-b7db775c.js → tooltip-helper-6ed9a1a0.js} +9 -9
  501. package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
  502. package/dist/esm/{validators-10185191.js → validators-37bd26a4.js} +1 -1
  503. package/dist/types/components/atoms/avatar/avatar.d.ts +3 -7
  504. package/dist/types/components/atoms/badge/badge.d.ts +4 -8
  505. package/dist/types/components/atoms/button/button.d.ts +50 -20
  506. package/dist/types/components/atoms/button/types.d.ts +16 -16
  507. package/dist/types/components/atoms/chip/chip.d.ts +5 -16
  508. package/dist/types/components/atoms/divider/divider.d.ts +3 -2
  509. package/dist/types/components/atoms/icon/icon.d.ts +0 -1
  510. package/dist/types/components/atoms/label/label.d.ts +2 -3
  511. package/dist/types/components/atoms/link/link.d.ts +8 -4
  512. package/dist/types/components/molecules/alert/alert.d.ts +16 -15
  513. package/dist/types/components/molecules/button-group/button-group.d.ts +4 -3
  514. package/dist/types/components/molecules/checkbox/checkbox-group.d.ts +61 -0
  515. package/dist/types/components/molecules/checkbox/checkbox.d.ts +1 -4
  516. package/dist/types/components/molecules/drawer/drawer.d.ts +3 -2
  517. package/dist/types/components/molecules/dropdown/dropdown.d.ts +6 -6
  518. package/dist/types/components/molecules/empty/empty.d.ts +6 -2
  519. package/dist/types/components/molecules/error-layout/error-layout.d.ts +5 -19
  520. package/dist/types/components/molecules/modal/modal-footer.d.ts +7 -0
  521. package/dist/types/components/molecules/modal/modal-header.d.ts +7 -0
  522. package/dist/types/components/molecules/modal/modal.d.ts +23 -16
  523. package/dist/types/components/molecules/result/result.d.ts +12 -10
  524. package/dist/types/components/organism/form/form.d.ts +17 -26
  525. package/dist/types/components/other/attendance/attendance.d.ts +11 -2
  526. package/dist/types/components/other/overlay/overlay.d.ts +8 -0
  527. package/dist/types/components/other/scroll-area/scroll-area.d.ts +7 -0
  528. package/dist/types/components/{organism/form/form-group.d.ts → other_deprecated/old-form/old-form-group.d.ts} +1 -1
  529. package/dist/types/components/other_deprecated/old-form/old-form.d.ts +34 -0
  530. package/dist/types/components.d.ts +287 -370
  531. package/dist/types/global/helper/toast.d.ts +2 -2
  532. package/dist/types/helper/generate.d.ts +1 -4
  533. package/dist/types/models/bcm-types.d.ts +1 -0
  534. package/dist/types/models/bcm.d.ts +6 -0
  535. package/dist/types/templates/caption-template.d.ts +1 -1
  536. package/dist/types/templates/icon-template.d.ts +2 -2
  537. package/helper/toast.d.ts +2 -2
  538. package/helper/toast.d.ts.map +1 -1
  539. package/package.json +7 -29
  540. package/dist/bromcom-ui/p-01107ccf.entry.js +0 -5
  541. package/dist/bromcom-ui/p-0557b296.entry.js +0 -5
  542. package/dist/bromcom-ui/p-0a16fcfa.entry.js +0 -5
  543. package/dist/bromcom-ui/p-0b663779.entry.js +0 -5
  544. package/dist/bromcom-ui/p-106ac30f.entry.js +0 -5
  545. package/dist/bromcom-ui/p-11645edd.entry.js +0 -5
  546. package/dist/bromcom-ui/p-14ec06cb.entry.js +0 -5
  547. package/dist/bromcom-ui/p-16e7c6fb.entry.js +0 -5
  548. package/dist/bromcom-ui/p-1cb948c7.entry.js +0 -5
  549. package/dist/bromcom-ui/p-1cfafa49.entry.js +0 -5
  550. package/dist/bromcom-ui/p-24aefda6.js +0 -5
  551. package/dist/bromcom-ui/p-28a43882.entry.js +0 -5
  552. package/dist/bromcom-ui/p-290b295e.entry.js +0 -5
  553. package/dist/bromcom-ui/p-31226526.entry.js +0 -5
  554. package/dist/bromcom-ui/p-3126bfd0.entry.js +0 -5
  555. package/dist/bromcom-ui/p-34d91cc3.entry.js +0 -5
  556. package/dist/bromcom-ui/p-3c651065.entry.js +0 -5
  557. package/dist/bromcom-ui/p-41bf36cc.entry.js +0 -5
  558. package/dist/bromcom-ui/p-4639e2e7.entry.js +0 -5
  559. package/dist/bromcom-ui/p-47857754.entry.js +0 -5
  560. package/dist/bromcom-ui/p-4e214c36.entry.js +0 -5
  561. package/dist/bromcom-ui/p-533cb826.entry.js +0 -5
  562. package/dist/bromcom-ui/p-584db3af.entry.js +0 -5
  563. package/dist/bromcom-ui/p-58651d85.entry.js +0 -5
  564. package/dist/bromcom-ui/p-58ed1d0b.entry.js +0 -5
  565. package/dist/bromcom-ui/p-5b549e78.entry.js +0 -5
  566. package/dist/bromcom-ui/p-61da178c.entry.js +0 -5
  567. package/dist/bromcom-ui/p-64067354.entry.js +0 -5
  568. package/dist/bromcom-ui/p-6814967d.entry.js +0 -5
  569. package/dist/bromcom-ui/p-692a0269.js +0 -5
  570. package/dist/bromcom-ui/p-6b7a9d96.entry.js +0 -5
  571. package/dist/bromcom-ui/p-6cc73d59.entry.js +0 -5
  572. package/dist/bromcom-ui/p-722b4241.entry.js +0 -5
  573. package/dist/bromcom-ui/p-740d46f0.entry.js +0 -5
  574. package/dist/bromcom-ui/p-76358e74.js +0 -5
  575. package/dist/bromcom-ui/p-77756f31.entry.js +0 -5
  576. package/dist/bromcom-ui/p-79fd816c.js +0 -5
  577. package/dist/bromcom-ui/p-7bdda715.entry.js +0 -5
  578. package/dist/bromcom-ui/p-7f658fed.entry.js +0 -5
  579. package/dist/bromcom-ui/p-8515ecef.entry.js +0 -5
  580. package/dist/bromcom-ui/p-88503d48.entry.js +0 -5
  581. package/dist/bromcom-ui/p-88ace511.entry.js +0 -5
  582. package/dist/bromcom-ui/p-88f5facd.entry.js +0 -5
  583. package/dist/bromcom-ui/p-89edeb2b.entry.js +0 -5
  584. package/dist/bromcom-ui/p-8f88c3b5.js +0 -5
  585. package/dist/bromcom-ui/p-93ff886a.entry.js +0 -5
  586. package/dist/bromcom-ui/p-94958b01.entry.js +0 -5
  587. package/dist/bromcom-ui/p-97933e31.entry.js +0 -5
  588. package/dist/bromcom-ui/p-9874bde7.entry.js +0 -5
  589. package/dist/bromcom-ui/p-9bb6ed5b.entry.js +0 -5
  590. package/dist/bromcom-ui/p-a14ba057.js +0 -5
  591. package/dist/bromcom-ui/p-a3f1abc7.entry.js +0 -10
  592. package/dist/bromcom-ui/p-a429e85b.js +0 -5
  593. package/dist/bromcom-ui/p-a7d1a083.entry.js +0 -5
  594. package/dist/bromcom-ui/p-aad63720.entry.js +0 -5
  595. package/dist/bromcom-ui/p-b0098cb3.entry.js +0 -5
  596. package/dist/bromcom-ui/p-b60bcecf.js +0 -5
  597. package/dist/bromcom-ui/p-bc840f30.entry.js +0 -5
  598. package/dist/bromcom-ui/p-c004ac8e.entry.js +0 -5
  599. package/dist/bromcom-ui/p-c3feb3ff.entry.js +0 -5
  600. package/dist/bromcom-ui/p-c6974976.entry.js +0 -5
  601. package/dist/bromcom-ui/p-c82ad9af.entry.js +0 -5
  602. package/dist/bromcom-ui/p-c85b8abc.entry.js +0 -5
  603. package/dist/bromcom-ui/p-c85d5bb2.entry.js +0 -5
  604. package/dist/bromcom-ui/p-c8e13fd7.js +0 -5
  605. package/dist/bromcom-ui/p-d1752924.entry.js +0 -5
  606. package/dist/bromcom-ui/p-d644b6d9.entry.js +0 -5
  607. package/dist/bromcom-ui/p-d98eb190.entry.js +0 -5
  608. package/dist/bromcom-ui/p-da40b2f9.entry.js +0 -5
  609. package/dist/bromcom-ui/p-dd913770.js +0 -5
  610. package/dist/bromcom-ui/p-de311d1e.entry.js +0 -5
  611. package/dist/bromcom-ui/p-e19e9dc1.entry.js +0 -5
  612. package/dist/bromcom-ui/p-e7558537.entry.js +0 -5
  613. package/dist/bromcom-ui/p-f529ded0.entry.js +0 -5
  614. package/dist/bromcom-ui/p-f8c20298.entry.js +0 -5
  615. package/dist/bromcom-ui/p-fafcca5f.entry.js +0 -5
  616. package/dist/bromcom-ui/p-fb79631d.entry.js +0 -5
  617. package/dist/bromcom-ui/p-fbe878ff.entry.js +0 -5
  618. package/dist/bromcom-ui/p-fd739176.js +0 -5
  619. package/dist/bromcom-ui/p-ff1acc28.entry.js +0 -5
  620. package/dist/cjs/bcm-autocomplete.cjs.entry.js +0 -156
  621. package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -166
  622. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -206
  623. package/dist/cjs/bcm-form-2.cjs.entry.js +0 -207
  624. package/dist/cjs/bcm-form-group.cjs.entry.js +0 -46
  625. package/dist/cjs/bcm-message.cjs.entry.js +0 -96
  626. package/dist/cjs/bcm-notification.cjs.entry.js +0 -105
  627. package/dist/cjs/caption-template-8d099fd6.js +0 -34
  628. package/dist/cjs/label-template-cc69bc21.js +0 -23
  629. package/dist/cjs/number-helper-6fb59969.js +0 -20
  630. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +0 -168
  631. package/dist/cjs/old-bcm-popover.cjs.entry.js +0 -104
  632. package/dist/collection/components/atoms/avatar/avatar.css +0 -450
  633. package/dist/collection/components/atoms/badge/badge.css +0 -483
  634. package/dist/collection/components/atoms/button/button.css +0 -654
  635. package/dist/collection/components/atoms/chip/chip.css +0 -455
  636. package/dist/collection/components/atoms/divider/divider.css +0 -142
  637. package/dist/collection/components/atoms/icon/icon.css +0 -127
  638. package/dist/collection/components/atoms/label/label.css +0 -410
  639. package/dist/collection/components/atoms/link/link.css +0 -421
  640. package/dist/collection/components/atoms/states/button.states.js +0 -31
  641. package/dist/collection/components/external-source/bcm-toast-helper.js +0 -20
  642. package/dist/collection/components/external-source/test.js/bcm-toast-helper.js +0 -20
  643. package/dist/collection/components/molecules/alert/alert.css +0 -191
  644. package/dist/collection/components/molecules/alert/types.js +0 -23
  645. package/dist/collection/components/molecules/button-group/button-group.css +0 -429
  646. package/dist/collection/components/molecules/checkbox/checkbox.css +0 -1287
  647. package/dist/collection/components/molecules/checkbox/group.css +0 -156
  648. package/dist/collection/components/molecules/drawer/drawer.css +0 -504
  649. package/dist/collection/components/molecules/dropdown/dropdown.css +0 -421
  650. package/dist/collection/components/molecules/error-layout/error-layout.css +0 -398
  651. package/dist/collection/components/molecules/error-layout/types.js +0 -1
  652. package/dist/collection/components/molecules/message/message.css +0 -165
  653. package/dist/collection/components/molecules/message/message.js +0 -227
  654. package/dist/collection/components/molecules/message/types.js +0 -14
  655. package/dist/collection/components/molecules/modal/modal.css +0 -528
  656. package/dist/collection/components/molecules/notification/notification.css +0 -183
  657. package/dist/collection/components/molecules/notification/notification.js +0 -250
  658. package/dist/collection/components/molecules/notification/types.js +0 -15
  659. package/dist/collection/components/molecules/result/result.css +0 -164
  660. package/dist/collection/components/molecules/result/types.js +0 -22
  661. package/dist/collection/components/molecules/states/alert.states.js +0 -25
  662. package/dist/collection/components/molecules/states/checkbox-group.states.js +0 -199
  663. package/dist/collection/components/organism/autocomplete/autocomplete.css +0 -168
  664. package/dist/collection/components/organism/autocomplete/autocomplete.js +0 -412
  665. package/dist/collection/components/organism/form/form-group.css +0 -131
  666. package/dist/collection/components/organism/form-2/form-2.js +0 -344
  667. package/dist/collection/components/other/attendance/attendance.css +0 -435
  668. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +0 -584
  669. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +0 -440
  670. package/dist/collection/components/other_deprecated/old-popover/old-popover.css +0 -127
  671. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +0 -308
  672. package/dist/collection/models/states/atoms/bcm-atoms-state.js +0 -1
  673. package/dist/components/bcm-autocomplete.d.ts +0 -11
  674. package/dist/components/bcm-autocomplete.js +0 -294
  675. package/dist/components/bcm-form-2.js +0 -226
  676. package/dist/components/bcm-form-group.js +0 -66
  677. package/dist/components/bcm-message.js +0 -123
  678. package/dist/components/bcm-notification.js +0 -138
  679. package/dist/components/old-bcm-popover-box.d.ts +0 -11
  680. package/dist/components/old-bcm-popover-box.js +0 -10
  681. package/dist/components/old-bcm-popover.js +0 -131
  682. package/dist/components/old-popover-box.js +0 -190
  683. package/dist/components/types3.js +0 -32
  684. package/dist/components/validators.js +0 -35
  685. package/dist/esm/bcm-autocomplete.entry.js +0 -152
  686. package/dist/esm/bcm-avatar_2.entry.js +0 -161
  687. package/dist/esm/bcm-checkbox_2.entry.js +0 -201
  688. package/dist/esm/bcm-form-2.entry.js +0 -203
  689. package/dist/esm/bcm-form-group.entry.js +0 -42
  690. package/dist/esm/bcm-message.entry.js +0 -92
  691. package/dist/esm/bcm-notification.entry.js +0 -101
  692. package/dist/esm/caption-template-da16ba7b.js +0 -32
  693. package/dist/esm/label-template-d74fe788.js +0 -21
  694. package/dist/esm/old-bcm-popover-box.entry.js +0 -164
  695. package/dist/esm/old-bcm-popover.entry.js +0 -100
  696. package/dist/types/components/atoms/states/button.states.d.ts +0 -7
  697. package/dist/types/components/external-source/bcm-toast-helper.d.ts +0 -12
  698. package/dist/types/components/external-source/test.js/bcm-toast-helper.d.ts +0 -12
  699. package/dist/types/components/molecules/alert/types.d.ts +0 -25
  700. package/dist/types/components/molecules/checkbox/group.d.ts +0 -56
  701. package/dist/types/components/molecules/error-layout/types.d.ts +0 -4
  702. package/dist/types/components/molecules/message/message.d.ts +0 -32
  703. package/dist/types/components/molecules/message/types.d.ts +0 -13
  704. package/dist/types/components/molecules/notification/notification.d.ts +0 -42
  705. package/dist/types/components/molecules/notification/types.d.ts +0 -14
  706. package/dist/types/components/molecules/result/types.d.ts +0 -19
  707. package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
  708. package/dist/types/components/molecules/states/checkbox-group.states.d.ts +0 -53
  709. package/dist/types/components/organism/autocomplete/autocomplete.d.ts +0 -31
  710. package/dist/types/components/organism/form-2/form-2.d.ts +0 -25
  711. package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +0 -26
  712. package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +0 -22
  713. package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +0 -34
  714. /package/dist/collection/components/organism/{form-2 → form}/bcm-form-components.js +0 -0
  715. /package/dist/types/components/organism/{form-2 → form}/bcm-form-components.d.ts +0 -0
@@ -12,197 +12,245 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
12
12
  r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
13
13
  return c > 3 && r && Object.defineProperty(target, key, r), r;
14
14
  };
15
- import { h, Host } from '@stencil/core';
16
- import cs from 'classnames';
17
- import { Generate } from '../../../helper/generate';
18
- import Bcm from '../../../models/bcm';
19
- import { delay, getChildElements } from '../../../utils/utils';
20
- import checkBoxGroupState from "../states/checkbox-group.states";
21
- import { CheckboxGroupTemplate } from '../../../templates/checkbox-group-template';
22
- import snq from 'snq';
23
- import { LabelTemplate } from '../../../templates/label-template';
24
- import { IsLoad } from '../../../decorators/is-load-decorator';
25
- export class BcmCheckboxGroup {
15
+ import { IsLoad } from "@bcm/decorator";
16
+ import { Generate } from "@bcm/helpers";
17
+ import { Bcm } from "@bcm/model";
18
+ import { CaptionTemplate, LabelTemplate } from "@bcm/template";
19
+ import { Host, h } from "@stencil/core";
20
+ import cs from "classnames";
21
+ export class BcmCheckBoxGroup {
26
22
  constructor() {
27
23
  this._id = Generate.UID();
28
- this.direction = Bcm.Direction.horizontal;
29
- this.items = [];
30
- this.indeterminate = false;
31
24
  this.name = undefined;
32
- this.value = undefined;
33
25
  this.disabled = false;
34
26
  this.readonly = false;
35
27
  this.hidden = false;
36
28
  this.required = false;
29
+ this.checked = false;
30
+ this.value = undefined;
31
+ this.defaultValue = undefined;
37
32
  this.label = undefined;
33
+ this.direction = Bcm.Direction.horizontal;
38
34
  this.gap = undefined;
39
- this.defaultValue = undefined;
40
35
  this.fullWidth = false;
41
- this.optionType = 'default';
42
- this.buttonStyle = 'solid';
43
36
  this.size = Bcm.Size.medium;
37
+ this.items = [];
44
38
  this.caption = undefined;
45
39
  this.noCaption = false;
46
40
  this.captionType = Bcm.Status.default;
47
- this.tick = {};
41
+ this.captionError = undefined;
42
+ this.indeterminate = false;
43
+ this.indeterminateText = "Check All";
44
+ this.inderminateStatus = undefined;
45
+ }
46
+ get checkboxes() {
47
+ return Array.from(this.el.querySelectorAll("bcm-checkbox")).filter(checkbox => checkbox.id !== `checbox-group-indeterminate-${this._id}`);
48
+ }
49
+ get checkedItems() {
50
+ return this.checkboxes.filter(checkbox => checkbox.checked);
48
51
  }
49
- componentDidLoad() {
50
- this.initState();
52
+ get itemList() {
53
+ return typeof this.items === "string" ? JSON.parse(this.items) : this.items;
51
54
  }
52
- disconnectedCallback() {
53
- checkBoxGroupState.removeState(this._id);
55
+ get val() {
56
+ const value = {};
57
+ this.checkboxes.forEach(checkbox => {
58
+ value[checkbox.name] = {
59
+ value: checkbox.checked,
60
+ name: checkbox.name,
61
+ };
62
+ });
63
+ return value;
64
+ }
65
+ get defaultValues() {
66
+ const { defaultValue } = this;
67
+ if (defaultValue) {
68
+ return typeof defaultValue === "string" ? defaultValue.split(",") : defaultValue;
69
+ }
54
70
  }
55
- componentShouldUpdate(newVal, oldVal, propName) {
56
- if (propName == 'tick' && newVal !== oldVal) {
57
- const isHaveChild = snq(() => checkBoxGroupState.getProperty(this._id).childs.length > 0, false);
58
- if (isHaveChild) {
59
- this.getValue().then(values => this.value = values);
71
+ get checkedList() {
72
+ const value = {};
73
+ this.checkboxes.forEach(checkbox => {
74
+ if (checkbox.checked) {
75
+ value[checkbox.name] = {
76
+ value: checkbox.checked,
77
+ name: checkbox.name,
78
+ };
60
79
  }
80
+ });
81
+ return value;
82
+ }
83
+ componentWillLoad() {
84
+ this.setDefaultValue();
85
+ this.updateValue();
86
+ this.initOptions();
87
+ }
88
+ initOptions() {
89
+ var _a;
90
+ (_a = this.checkboxes) === null || _a === void 0 ? void 0 : _a.forEach(checkbox => {
91
+ checkbox.noCaption = checkbox.noCaption || this.noCaption;
92
+ checkbox.disabled = checkbox.disabled || this.disabled;
93
+ checkbox.readonly = checkbox.readonly || this.readonly;
94
+ checkbox.required = checkbox.required || this.required;
95
+ checkbox.size = this.size;
96
+ });
97
+ }
98
+ componentShouldUpdate(newVal, _oldVal, propName) {
99
+ var _a;
100
+ const allowed = ["disabled", "readonly", "required", "size", "noCaption"];
101
+ if (allowed.includes(propName)) {
102
+ (_a = this.checkboxes) === null || _a === void 0 ? void 0 : _a.forEach(checkbox => {
103
+ if (allowed.includes(propName)) {
104
+ checkbox[propName] = newVal;
105
+ }
106
+ });
61
107
  }
62
- if (this.getOptions().indexOf(propName) > -1 && newVal !== oldVal) {
63
- this.initState();
108
+ }
109
+ setDefaultValue() {
110
+ var _a;
111
+ const { defaultValues } = this;
112
+ if (defaultValues) {
113
+ (_a = this.checkboxes) === null || _a === void 0 ? void 0 : _a.forEach(checkbox => {
114
+ if (defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.includes(checkbox.name)) {
115
+ checkbox.checked = true;
116
+ }
117
+ });
118
+ this.updateValue();
119
+ this.emitChange();
64
120
  }
65
121
  }
66
- getOptions() {
67
- return snq(() => checkBoxGroupState.getStatesKeys(this._id), []);
68
- }
69
- async initState() {
70
- const { fullWidth, optionType, buttonStyle, size, noCaption, defaultValue, label, required, captionType, hidden, direction, indeterminate, gap, items } = this;
71
- const defaultCheckedItems = defaultValue && (typeof defaultValue == 'string' ? JSON.parse(defaultValue) : defaultValue);
72
- const childElements = items.length > 0 ? items : await this.getCheckboxes();
73
- await checkBoxGroupState.setValue({
74
- id: this._id,
75
- el: this.el,
76
- indeterminate,
77
- fullWidth,
78
- optionType,
79
- buttonStyle,
80
- size,
81
- defaultCheckedItems,
82
- label,
83
- noCaption,
84
- required,
85
- captionType,
86
- hidden,
87
- gap,
88
- direction,
89
- childs: childElements
90
- });
91
- const slotArea = this.el.querySelector(`#bcm-checkbox-group__items-${this._id}`);
92
- if (slotArea) {
93
- slotArea.innerHTML && (slotArea.innerHTML = '');
122
+ updateValue() {
123
+ this.value = this.val;
124
+ this.indeterminate && this.controlIndeterminate();
125
+ }
126
+ controlIndeterminate() {
127
+ var _a, _b, _c, _d, _e;
128
+ if (this.indeterminate) {
129
+ this.inderminateStatus =
130
+ ((_a = this.checkedItems) === null || _a === void 0 ? void 0 : _a.length) > 0
131
+ ? ((_b = this.checkedItems) === null || _b === void 0 ? void 0 : _b.length) == ((_c = this.checkboxes) === null || _c === void 0 ? void 0 : _c.length)
132
+ ? "determinate"
133
+ : ((_d = this.checkedItems) === null || _d === void 0 ? void 0 : _d.length) < ((_e = this.checkboxes) === null || _e === void 0 ? void 0 : _e.length)
134
+ ? "indeterminate"
135
+ : "uncheck"
136
+ : "uncheck";
94
137
  }
95
- this.value = await this.getValue();
96
138
  }
97
- async markForCheck() {
98
- await delay(10);
99
- this.tick = Generate.UID();
139
+ checkIndeterminate(e) {
140
+ var _a, _b, _c;
141
+ const checked = (_b = (_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.checked) !== null && _b !== void 0 ? _b : false;
142
+ (_c = this.checkboxes) === null || _c === void 0 ? void 0 : _c.forEach(checkbox => {
143
+ checkbox.checked = checked;
144
+ });
145
+ this.inderminateStatus = checked ? "determinate" : "uncheck";
146
+ this.handleChange(e);
100
147
  }
101
- async onBcmFocus() {
102
- //focus first item
103
- const childs = this.getCheckboxes();
104
- if (childs.length > 0) {
105
- childs[0].onBcmFocus();
148
+ emitChange() {
149
+ var _a;
150
+ if (!this.disabled && !this.readonly) {
151
+ this.change.emit({ value: this.value, changed: (_a = this.el) !== null && _a !== void 0 ? _a : {} });
152
+ this.groupCheckedList.emit(this.checkedList);
106
153
  }
107
154
  }
108
- async onBcmBlur() {
109
- this.el.blur();
155
+ watchDefaultValue() {
156
+ this.setDefaultValue();
110
157
  }
111
- async setClear() {
112
- checkBoxGroupState.setClear(this._id);
113
- await delay(10);
114
- this.getCheckboxes().forEach(item => {
115
- item.setClear();
116
- });
117
- this.markForCheck();
118
- await delay(10);
119
- return Promise.resolve();
158
+ handleChange(e) {
159
+ e.preventDefault();
160
+ e.stopPropagation();
161
+ this.updateValue();
162
+ this.emitChange();
120
163
  }
121
- async resetCaption() {
122
- await delay(10);
123
- this.getCheckboxes().forEach(item => {
124
- item.resetCaption();
125
- });
126
- await delay(10);
127
- return Promise.resolve();
164
+ async get() {
165
+ var _a;
166
+ return (_a = this.checkedItems) === null || _a === void 0 ? void 0 : _a.map(item => item.name);
128
167
  }
129
168
  async set(data) {
130
169
  if (Array.isArray(data)) {
131
- await this.check(data, true, true);
170
+ await this.check(data);
132
171
  }
133
172
  }
134
- async get() {
135
- const checklist = await this.getCheckedList() && Object.keys(await this.getCheckedList());
136
- return checklist.length > 0 ? checklist : [];
173
+ async uncheckAll() {
174
+ var _a;
175
+ (_a = this.checkboxes) === null || _a === void 0 ? void 0 : _a.forEach(checkbox => {
176
+ checkbox.checked = false;
177
+ });
178
+ this.updateValue();
179
+ this.emitChange();
137
180
  }
138
- async check(items, checked = true, reset = false) {
139
- checkBoxGroupState.setCheckedItems(this._id, items, checked, reset);
140
- this.markForCheck();
181
+ async check(items) {
182
+ var _a, _b;
183
+ if (items) {
184
+ if (Array.isArray(items)) {
185
+ items.forEach(item => {
186
+ var _a;
187
+ (_a = this.checkboxes) === null || _a === void 0 ? void 0 : _a.forEach(checkbox => {
188
+ var _a;
189
+ if (checkbox.name == item.name) {
190
+ checkbox.checked = (_a = item === null || item === void 0 ? void 0 : item.checked) !== null && _a !== void 0 ? _a : true;
191
+ }
192
+ });
193
+ });
194
+ }
195
+ else {
196
+ (_a = this.checkboxes) === null || _a === void 0 ? void 0 : _a.forEach(checkbox => {
197
+ if (checkbox.name == items) {
198
+ checkbox.checked = true;
199
+ }
200
+ });
201
+ }
202
+ }
203
+ else {
204
+ (_b = this.checkboxes) === null || _b === void 0 ? void 0 : _b.forEach(checkbox => {
205
+ checkbox.checked = false;
206
+ });
207
+ }
208
+ this.updateValue();
209
+ this.emitChange();
141
210
  }
142
211
  async getValue(name) {
143
- return Promise.resolve(checkBoxGroupState.getValue(this._id, name));
212
+ return name ? this.val[name] : this.val;
144
213
  }
145
214
  async getCheckedList() {
146
- return checkBoxGroupState.getCheckedList(this._id);
215
+ return this.checkedList;
147
216
  }
148
- handleItemsChange() {
149
- this.initState();
150
- }
151
- getCheckboxes() {
152
- return getChildElements(this.el, 'bcm-checkbox:not(#bcm-indeterminate-element)');
153
- }
154
- async getCheckbox(id) {
155
- const element = this.el.querySelector(`bcm-checkbox[id="${id}"]`);
156
- if (element) {
157
- const name = element["name"];
158
- const value = await this.getValue(name);
159
- return { element, event: snq(() => value[name], null) };
160
- }
161
- return {};
217
+ async onBcmFocus() {
218
+ var _a, _b;
219
+ (_b = (_a = this.checkboxes) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.onBcmFocus();
162
220
  }
163
- async indeterminateClick() {
164
- checkBoxGroupState.changeIndeterminate(this._id);
165
- this.markForCheck();
221
+ async onBcmBlur() {
222
+ this.el.blur();
166
223
  }
167
- async changeCheckBox(id) {
168
- checkBoxGroupState.onChange({ id: this._id, childId: id });
169
- this.markForCheck();
170
- await delay(10);
171
- this.value = await this.getValue();
172
- this.change.emit({ value: this.value, changed: Object.assign({}, await this.getCheckbox(id)) });
173
- this.groupCheckedList.emit(await this.getCheckedList());
224
+ async setClear() {
225
+ var _a;
226
+ (_a = this.checkboxes) === null || _a === void 0 ? void 0 : _a.forEach(checkbox => {
227
+ checkbox.checked && (checkbox.checked = false);
228
+ });
229
+ this.updateValue();
230
+ this.emitChange();
174
231
  }
175
- getItems() {
176
- return checkBoxGroupState.getProperty(this._id);
232
+ async resetCaption() {
233
+ var _a;
234
+ (_a = this.checkboxes) === null || _a === void 0 ? void 0 : _a.forEach(async (checkbox) => {
235
+ await checkbox.resetCaption();
236
+ });
177
237
  }
178
238
  render() {
179
- const items = this.getItems();
180
- const { disabled, captionType, label, indeterminate, indeterminateState, required, direction, optionType, hidden, fullWidth, gap } = items;
181
- const bcmChechboxGroup = cs('bcm-checkbox-group', direction, optionType, {
182
- hidden,
183
- 'full-width': fullWidth
184
- });
185
- const bcmChechboxGroupContainer = cs('bcm-checkbox-group__container', optionType, {
186
- [direction]: optionType === 'default',
187
- indeterminate,
188
- hidden,
189
- 'full-width': fullWidth
190
- });
191
- return (h(Host, { class: bcmChechboxGroup }, h("span", { hidden: true, id: `bcm-checkbox-group__items-${this._id}` }, h("slot", null)), h("div", { class: "bcm-checkbox-group__label" }, label &&
192
- h("div", null, h(LabelTemplate, { size: this.size, type: captionType, value: label, required: required }))), indeterminate &&
193
- h("bcm-checkbox", { onClick: (e) => { this.indeterminateClick(), e.preventDefault(); }, "no-caption": true, id: "bcm-indeterminate-element", indeterminate: indeterminateState, disabled: disabled }, "Check All"), h(CheckboxGroupTemplate, { items: items, groupContainerClasses: bcmChechboxGroupContainer, customStyle: gap && ({ 'gap': gap }), onBcmSelect: (id) => this.changeCheckBox(id) })));
239
+ var _a, _b;
240
+ const { _id, label, size, required, captionType, direction, indeterminate, disabled, readonly, indeterminateText, inderminateStatus, caption, noCaption, captionError, hidden, fullWidth, } = this;
241
+ let gap = ((_a = this.gap) !== null && _a !== void 0 ? _a : direction == Bcm.Direction.vertical) ? "4px" : "8px";
242
+ return (h(Host, { class: cs("tw-mb-2 tw-flex tw-w-full tw-flex-col tw-items-start", {
243
+ "tw-hidden": hidden,
244
+ }) }, label && (h("div", null, h(LabelTemplate, { size: size, type: captionType, value: label, required: required }))), indeterminate && (h("div", null, h("bcm-checkbox", Object.assign({ id: `checbox-group-indeterminate-${_id}`, onChange: e => !disabled && !readonly && this.checkIndeterminate(e) }, { size, disabled, readonly, indeterminate: inderminateStatus, noCaption: true }), indeterminateText))), h("div", { class: cs("tw-flex tw-w-full tw-items-start", {
245
+ "tw-flex-col": direction == Bcm.Direction.vertical,
246
+ "tw-flex-row": direction == Bcm.Direction.horizontal,
247
+ "tw-w-full": fullWidth,
248
+ }), style: { gap: gap } }, h("slot", null), (_b = this.itemList) === null || _b === void 0 ? void 0 :
249
+ _b.map((item, index) => {
250
+ return (h("bcm-checkbox", Object.assign({ key: index, name: item === null || item === void 0 ? void 0 : item.name, value: item === null || item === void 0 ? void 0 : item.value, checked: item === null || item === void 0 ? void 0 : item.checked, disabled: item === null || item === void 0 ? void 0 : item.disabled, readonly: item === null || item === void 0 ? void 0 : item.readonly, "no-caption": true }, { size, disabled, readonly }), (item === null || item === void 0 ? void 0 : item.slot) || (item === null || item === void 0 ? void 0 : item.label) || (item === null || item === void 0 ? void 0 : item.name) || (item === null || item === void 0 ? void 0 : item.value)));
251
+ })), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
194
252
  }
195
253
  static get is() { return "bcm-checkbox-group"; }
196
- static get originalStyleUrls() {
197
- return {
198
- "$": ["group.scss"]
199
- };
200
- }
201
- static get styleUrls() {
202
- return {
203
- "$": ["group.css"]
204
- };
205
- }
206
254
  static get properties() {
207
255
  return {
208
256
  "_id": {
@@ -219,44 +267,17 @@ export class BcmCheckboxGroup {
219
267
  "tags": [],
220
268
  "text": ""
221
269
  },
222
- "attribute": "_id",
223
- "reflect": false,
270
+ "attribute": "id",
271
+ "reflect": true,
224
272
  "defaultValue": "Generate.UID()"
225
273
  },
226
- "direction": {
227
- "type": "string",
228
- "mutable": true,
229
- "complexType": {
230
- "original": "DirectionTypes",
231
- "resolved": "\"horizontal\" | \"vertical\"",
232
- "references": {
233
- "DirectionTypes": {
234
- "location": "import",
235
- "path": "../../../models/bcm-types"
236
- }
237
- }
238
- },
239
- "required": false,
240
- "optional": false,
241
- "docs": {
242
- "tags": [],
243
- "text": ""
244
- },
245
- "attribute": "direction",
246
- "reflect": false,
247
- "defaultValue": "Bcm.Direction.horizontal"
248
- },
249
- "items": {
274
+ "name": {
250
275
  "type": "string",
251
- "mutable": true,
276
+ "mutable": false,
252
277
  "complexType": {
253
- "original": "Array<object> | string",
254
- "resolved": "object[] | string",
255
- "references": {
256
- "Array": {
257
- "location": "global"
258
- }
259
- }
278
+ "original": "string",
279
+ "resolved": "string",
280
+ "references": {}
260
281
  },
261
282
  "required": false,
262
283
  "optional": false,
@@ -264,13 +285,12 @@ export class BcmCheckboxGroup {
264
285
  "tags": [],
265
286
  "text": ""
266
287
  },
267
- "attribute": "items",
268
- "reflect": false,
269
- "defaultValue": "[]"
288
+ "attribute": "name",
289
+ "reflect": false
270
290
  },
271
- "indeterminate": {
291
+ "disabled": {
272
292
  "type": "boolean",
273
- "mutable": true,
293
+ "mutable": false,
274
294
  "complexType": {
275
295
  "original": "boolean",
276
296
  "resolved": "boolean",
@@ -282,16 +302,16 @@ export class BcmCheckboxGroup {
282
302
  "tags": [],
283
303
  "text": ""
284
304
  },
285
- "attribute": "indeterminate",
305
+ "attribute": "disabled",
286
306
  "reflect": false,
287
307
  "defaultValue": "false"
288
308
  },
289
- "name": {
290
- "type": "string",
291
- "mutable": true,
309
+ "readonly": {
310
+ "type": "boolean",
311
+ "mutable": false,
292
312
  "complexType": {
293
- "original": "string",
294
- "resolved": "string",
313
+ "original": "boolean",
314
+ "resolved": "boolean",
295
315
  "references": {}
296
316
  },
297
317
  "required": false,
@@ -300,15 +320,16 @@ export class BcmCheckboxGroup {
300
320
  "tags": [],
301
321
  "text": ""
302
322
  },
303
- "attribute": "name",
304
- "reflect": false
323
+ "attribute": "readonly",
324
+ "reflect": false,
325
+ "defaultValue": "false"
305
326
  },
306
- "value": {
307
- "type": "any",
308
- "mutable": true,
327
+ "hidden": {
328
+ "type": "boolean",
329
+ "mutable": false,
309
330
  "complexType": {
310
- "original": "any",
311
- "resolved": "any",
331
+ "original": "boolean",
332
+ "resolved": "boolean",
312
333
  "references": {}
313
334
  },
314
335
  "required": false,
@@ -317,12 +338,13 @@ export class BcmCheckboxGroup {
317
338
  "tags": [],
318
339
  "text": ""
319
340
  },
320
- "attribute": "value",
321
- "reflect": false
341
+ "attribute": "hidden",
342
+ "reflect": false,
343
+ "defaultValue": "false"
322
344
  },
323
- "disabled": {
345
+ "required": {
324
346
  "type": "boolean",
325
- "mutable": true,
347
+ "mutable": false,
326
348
  "complexType": {
327
349
  "original": "boolean",
328
350
  "resolved": "boolean",
@@ -334,11 +356,11 @@ export class BcmCheckboxGroup {
334
356
  "tags": [],
335
357
  "text": ""
336
358
  },
337
- "attribute": "disabled",
359
+ "attribute": "required",
338
360
  "reflect": false,
339
361
  "defaultValue": "false"
340
362
  },
341
- "readonly": {
363
+ "checked": {
342
364
  "type": "boolean",
343
365
  "mutable": true,
344
366
  "complexType": {
@@ -352,16 +374,16 @@ export class BcmCheckboxGroup {
352
374
  "tags": [],
353
375
  "text": ""
354
376
  },
355
- "attribute": "readonly",
377
+ "attribute": "checked",
356
378
  "reflect": false,
357
379
  "defaultValue": "false"
358
380
  },
359
- "hidden": {
360
- "type": "boolean",
381
+ "value": {
382
+ "type": "any",
361
383
  "mutable": true,
362
384
  "complexType": {
363
- "original": "boolean",
364
- "resolved": "boolean",
385
+ "original": "any",
386
+ "resolved": "any",
365
387
  "references": {}
366
388
  },
367
389
  "required": false,
@@ -370,17 +392,20 @@ export class BcmCheckboxGroup {
370
392
  "tags": [],
371
393
  "text": ""
372
394
  },
373
- "attribute": "hidden",
374
- "reflect": false,
375
- "defaultValue": "false"
395
+ "attribute": "value",
396
+ "reflect": false
376
397
  },
377
- "required": {
378
- "type": "boolean",
379
- "mutable": true,
398
+ "defaultValue": {
399
+ "type": "string",
400
+ "mutable": false,
380
401
  "complexType": {
381
- "original": "boolean",
382
- "resolved": "boolean",
383
- "references": {}
402
+ "original": "string | Array<string>",
403
+ "resolved": "string | string[]",
404
+ "references": {
405
+ "Array": {
406
+ "location": "global"
407
+ }
408
+ }
384
409
  },
385
410
  "required": false,
386
411
  "optional": false,
@@ -388,13 +413,12 @@ export class BcmCheckboxGroup {
388
413
  "tags": [],
389
414
  "text": ""
390
415
  },
391
- "attribute": "required",
392
- "reflect": false,
393
- "defaultValue": "false"
416
+ "attribute": "default-value",
417
+ "reflect": false
394
418
  },
395
419
  "label": {
396
420
  "type": "string",
397
- "mutable": true,
421
+ "mutable": false,
398
422
  "complexType": {
399
423
  "original": "string",
400
424
  "resolved": "string",
@@ -409,13 +433,18 @@ export class BcmCheckboxGroup {
409
433
  "attribute": "label",
410
434
  "reflect": false
411
435
  },
412
- "gap": {
436
+ "direction": {
413
437
  "type": "string",
414
- "mutable": true,
438
+ "mutable": false,
415
439
  "complexType": {
416
- "original": "string",
417
- "resolved": "string",
418
- "references": {}
440
+ "original": "DirectionTypes",
441
+ "resolved": "\"horizontal\" | \"vertical\"",
442
+ "references": {
443
+ "DirectionTypes": {
444
+ "location": "import",
445
+ "path": "@bcm/model"
446
+ }
447
+ }
419
448
  },
420
449
  "required": false,
421
450
  "optional": false,
@@ -423,12 +452,13 @@ export class BcmCheckboxGroup {
423
452
  "tags": [],
424
453
  "text": ""
425
454
  },
426
- "attribute": "gap",
427
- "reflect": false
455
+ "attribute": "direction",
456
+ "reflect": false,
457
+ "defaultValue": "Bcm.Direction.horizontal"
428
458
  },
429
- "defaultValue": {
459
+ "gap": {
430
460
  "type": "string",
431
- "mutable": true,
461
+ "mutable": false,
432
462
  "complexType": {
433
463
  "original": "string",
434
464
  "resolved": "string",
@@ -440,12 +470,12 @@ export class BcmCheckboxGroup {
440
470
  "tags": [],
441
471
  "text": ""
442
472
  },
443
- "attribute": "default-value",
473
+ "attribute": "gap",
444
474
  "reflect": false
445
475
  },
446
476
  "fullWidth": {
447
477
  "type": "any",
448
- "mutable": true,
478
+ "mutable": false,
449
479
  "complexType": {
450
480
  "original": "boolean | \"flex\"",
451
481
  "resolved": "\"flex\" | boolean",
@@ -461,31 +491,18 @@ export class BcmCheckboxGroup {
461
491
  "reflect": true,
462
492
  "defaultValue": "false"
463
493
  },
464
- "optionType": {
465
- "type": "string",
466
- "mutable": true,
467
- "complexType": {
468
- "original": "'default' | 'button'",
469
- "resolved": "\"button\" | \"default\"",
470
- "references": {}
471
- },
472
- "required": false,
473
- "optional": false,
474
- "docs": {
475
- "tags": [],
476
- "text": ""
477
- },
478
- "attribute": "option-type",
479
- "reflect": false,
480
- "defaultValue": "'default'"
481
- },
482
- "buttonStyle": {
494
+ "size": {
483
495
  "type": "string",
484
- "mutable": true,
496
+ "mutable": false,
485
497
  "complexType": {
486
- "original": "'solid' | 'outline'",
487
- "resolved": "\"outline\" | \"solid\"",
488
- "references": {}
498
+ "original": "SizeTypes",
499
+ "resolved": "\"large\" | \"medium\" | \"small\"",
500
+ "references": {
501
+ "SizeTypes": {
502
+ "location": "import",
503
+ "path": "@bcm/model"
504
+ }
505
+ }
489
506
  },
490
507
  "required": false,
491
508
  "optional": false,
@@ -493,20 +510,19 @@ export class BcmCheckboxGroup {
493
510
  "tags": [],
494
511
  "text": ""
495
512
  },
496
- "attribute": "button-style",
513
+ "attribute": "size",
497
514
  "reflect": false,
498
- "defaultValue": "'solid'"
515
+ "defaultValue": "Bcm.Size.medium"
499
516
  },
500
- "size": {
517
+ "items": {
501
518
  "type": "string",
502
- "mutable": true,
519
+ "mutable": false,
503
520
  "complexType": {
504
- "original": "SizeTypes",
505
- "resolved": "\"large\" | \"medium\" | \"small\"",
521
+ "original": "Array<object> | string",
522
+ "resolved": "object[] | string",
506
523
  "references": {
507
- "SizeTypes": {
508
- "location": "import",
509
- "path": "../../../models/bcm-types"
524
+ "Array": {
525
+ "location": "global"
510
526
  }
511
527
  }
512
528
  },
@@ -516,13 +532,13 @@ export class BcmCheckboxGroup {
516
532
  "tags": [],
517
533
  "text": ""
518
534
  },
519
- "attribute": "size",
535
+ "attribute": "items",
520
536
  "reflect": false,
521
- "defaultValue": "Bcm.Size.medium"
537
+ "defaultValue": "[]"
522
538
  },
523
539
  "caption": {
524
540
  "type": "string",
525
- "mutable": true,
541
+ "mutable": false,
526
542
  "complexType": {
527
543
  "original": "string",
528
544
  "resolved": "string",
@@ -539,7 +555,7 @@ export class BcmCheckboxGroup {
539
555
  },
540
556
  "noCaption": {
541
557
  "type": "boolean",
542
- "mutable": true,
558
+ "mutable": false,
543
559
  "complexType": {
544
560
  "original": "boolean",
545
561
  "resolved": "boolean",
@@ -557,14 +573,14 @@ export class BcmCheckboxGroup {
557
573
  },
558
574
  "captionType": {
559
575
  "type": "string",
560
- "mutable": true,
576
+ "mutable": false,
561
577
  "complexType": {
562
578
  "original": "StatusTypes",
563
579
  "resolved": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
564
580
  "references": {
565
581
  "StatusTypes": {
566
582
  "location": "import",
567
- "path": "../../../models/bcm-types"
583
+ "path": "@bcm/model"
568
584
  }
569
585
  }
570
586
  },
@@ -577,12 +593,65 @@ export class BcmCheckboxGroup {
577
593
  "attribute": "caption-type",
578
594
  "reflect": false,
579
595
  "defaultValue": "Bcm.Status.default"
596
+ },
597
+ "captionError": {
598
+ "type": "string",
599
+ "mutable": false,
600
+ "complexType": {
601
+ "original": "string",
602
+ "resolved": "string",
603
+ "references": {}
604
+ },
605
+ "required": false,
606
+ "optional": false,
607
+ "docs": {
608
+ "tags": [],
609
+ "text": ""
610
+ },
611
+ "attribute": "caption-error",
612
+ "reflect": false
613
+ },
614
+ "indeterminate": {
615
+ "type": "boolean",
616
+ "mutable": false,
617
+ "complexType": {
618
+ "original": "boolean",
619
+ "resolved": "boolean",
620
+ "references": {}
621
+ },
622
+ "required": false,
623
+ "optional": false,
624
+ "docs": {
625
+ "tags": [],
626
+ "text": ""
627
+ },
628
+ "attribute": "indeterminate",
629
+ "reflect": false,
630
+ "defaultValue": "false"
631
+ },
632
+ "indeterminateText": {
633
+ "type": "string",
634
+ "mutable": false,
635
+ "complexType": {
636
+ "original": "string",
637
+ "resolved": "string",
638
+ "references": {}
639
+ },
640
+ "required": false,
641
+ "optional": false,
642
+ "docs": {
643
+ "tags": [],
644
+ "text": ""
645
+ },
646
+ "attribute": "indeterminate-text",
647
+ "reflect": false,
648
+ "defaultValue": "\"Check All\""
580
649
  }
581
650
  };
582
651
  }
583
652
  static get states() {
584
653
  return {
585
- "tick": {}
654
+ "inderminateStatus": {}
586
655
  };
587
656
  }
588
657
  static get events() {
@@ -620,26 +689,29 @@ export class BcmCheckboxGroup {
620
689
  }
621
690
  static get methods() {
622
691
  return {
623
- "onBcmFocus": {
692
+ "get": {
624
693
  "complexType": {
625
- "signature": "() => Promise<void>",
694
+ "signature": "() => Promise<string[]>",
626
695
  "parameters": [],
627
696
  "references": {
628
697
  "Promise": {
629
698
  "location": "global"
630
699
  }
631
700
  },
632
- "return": "Promise<void>"
701
+ "return": "Promise<string[]>"
633
702
  },
634
703
  "docs": {
635
704
  "text": "",
636
705
  "tags": []
637
706
  }
638
707
  },
639
- "onBcmBlur": {
708
+ "set": {
640
709
  "complexType": {
641
- "signature": "() => Promise<void>",
642
- "parameters": [],
710
+ "signature": "(data: any) => Promise<void>",
711
+ "parameters": [{
712
+ "tags": [],
713
+ "text": ""
714
+ }],
643
715
  "references": {
644
716
  "Promise": {
645
717
  "location": "global"
@@ -652,7 +724,7 @@ export class BcmCheckboxGroup {
652
724
  "tags": []
653
725
  }
654
726
  },
655
- "setClear": {
727
+ "uncheckAll": {
656
728
  "complexType": {
657
729
  "signature": "() => Promise<void>",
658
730
  "parameters": [],
@@ -668,13 +740,22 @@ export class BcmCheckboxGroup {
668
740
  "tags": []
669
741
  }
670
742
  },
671
- "resetCaption": {
743
+ "check": {
672
744
  "complexType": {
673
- "signature": "() => Promise<void>",
674
- "parameters": [],
745
+ "signature": "(items: Array<CheckItem> | string) => Promise<void>",
746
+ "parameters": [{
747
+ "tags": [],
748
+ "text": ""
749
+ }],
675
750
  "references": {
676
751
  "Promise": {
677
752
  "location": "global"
753
+ },
754
+ "Array": {
755
+ "location": "global"
756
+ },
757
+ "CheckItem": {
758
+ "location": "global"
678
759
  }
679
760
  },
680
761
  "return": "Promise<void>"
@@ -684,9 +765,9 @@ export class BcmCheckboxGroup {
684
765
  "tags": []
685
766
  }
686
767
  },
687
- "set": {
768
+ "getValue": {
688
769
  "complexType": {
689
- "signature": "(data: any) => Promise<void>",
770
+ "signature": "(name?: string) => Promise<any>",
690
771
  "parameters": [{
691
772
  "tags": [],
692
773
  "text": ""
@@ -696,47 +777,51 @@ export class BcmCheckboxGroup {
696
777
  "location": "global"
697
778
  }
698
779
  },
699
- "return": "Promise<void>"
780
+ "return": "Promise<any>"
700
781
  },
701
782
  "docs": {
702
783
  "text": "",
703
784
  "tags": []
704
785
  }
705
786
  },
706
- "get": {
787
+ "getCheckedList": {
707
788
  "complexType": {
708
- "signature": "() => Promise<string[]>",
789
+ "signature": "() => Promise<{}>",
709
790
  "parameters": [],
710
791
  "references": {
711
792
  "Promise": {
712
793
  "location": "global"
713
794
  }
714
795
  },
715
- "return": "Promise<string[]>"
796
+ "return": "Promise<{}>"
716
797
  },
717
798
  "docs": {
718
799
  "text": "",
719
800
  "tags": []
720
801
  }
721
802
  },
722
- "check": {
803
+ "onBcmFocus": {
723
804
  "complexType": {
724
- "signature": "(items: Array<object> | string, checked?: boolean, reset?: boolean) => Promise<void>",
725
- "parameters": [{
726
- "tags": [],
727
- "text": ""
728
- }, {
729
- "tags": [],
730
- "text": ""
731
- }, {
732
- "tags": [],
733
- "text": ""
734
- }],
805
+ "signature": "() => Promise<void>",
806
+ "parameters": [],
735
807
  "references": {
736
808
  "Promise": {
737
809
  "location": "global"
738
- },
739
- "Array": {
810
+ }
811
+ },
812
+ "return": "Promise<void>"
813
+ },
814
+ "docs": {
815
+ "text": "",
816
+ "tags": []
817
+ }
818
+ },
819
+ "onBcmBlur": {
820
+ "complexType": {
821
+ "signature": "() => Promise<void>",
822
+ "parameters": [],
823
+ "references": {
824
+ "Promise": {
740
825
  "location": "global"
741
826
  }
742
827
  },
@@ -747,35 +832,32 @@ export class BcmCheckboxGroup {
747
832
  "tags": []
748
833
  }
749
834
  },
750
- "getValue": {
835
+ "setClear": {
751
836
  "complexType": {
752
- "signature": "(name?: string) => Promise<any>",
753
- "parameters": [{
754
- "tags": [],
755
- "text": ""
756
- }],
837
+ "signature": "() => Promise<void>",
838
+ "parameters": [],
757
839
  "references": {
758
840
  "Promise": {
759
841
  "location": "global"
760
842
  }
761
843
  },
762
- "return": "Promise<any>"
844
+ "return": "Promise<void>"
763
845
  },
764
846
  "docs": {
765
847
  "text": "",
766
848
  "tags": []
767
849
  }
768
850
  },
769
- "getCheckedList": {
851
+ "resetCaption": {
770
852
  "complexType": {
771
- "signature": "() => Promise<any>",
853
+ "signature": "() => Promise<void>",
772
854
  "parameters": [],
773
855
  "references": {
774
856
  "Promise": {
775
857
  "location": "global"
776
858
  }
777
859
  },
778
- "return": "Promise<any>"
860
+ "return": "Promise<void>"
779
861
  },
780
862
  "docs": {
781
863
  "text": "",
@@ -787,11 +869,20 @@ export class BcmCheckboxGroup {
787
869
  static get elementRef() { return "el"; }
788
870
  static get watchers() {
789
871
  return [{
790
- "propName": "items",
791
- "methodName": "handleItemsChange"
872
+ "propName": "defaultValue",
873
+ "methodName": "watchDefaultValue"
874
+ }];
875
+ }
876
+ static get listeners() {
877
+ return [{
878
+ "name": "bcm-change-checkbox",
879
+ "method": "handleChange",
880
+ "target": undefined,
881
+ "capture": false,
882
+ "passive": false
792
883
  }];
793
884
  }
794
885
  }
795
886
  __decorate([
796
887
  IsLoad()
797
- ], BcmCheckboxGroup.prototype, "el", void 0);
888
+ ], BcmCheckBoxGroup.prototype, "el", void 0);