bromcom-ui 2.8.0-rc.8 → 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 (717) 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-0111d5cd.js → p-287c4271.js} +1 -1
  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-e5372f21.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-69b5544d.js +5 -0
  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-f607d7d7.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 +9 -7
  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-2f652f99.js → generate-59e65204.js} +17 -55
  184. package/dist/cjs/icon-template-9d3d546d.js +15 -0
  185. package/dist/cjs/{input-template-b531038e.js → input-template-2d413cf8.js} +5 -3
  186. package/dist/cjs/{json-parse-decarator-26187e13.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-17fb63ee.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-c64743ba.js → tooltip-helper-e85cd3f8.js} +7 -7
  197. package/dist/cjs/{validators-cadebc98.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/textarea/textarea.js +2 -1
  244. package/dist/collection/components/molecules/timeline/timeline-item.css +1 -12
  245. package/dist/collection/components/molecules/timeline/timeline.css +0 -11
  246. package/dist/collection/components/organism/date-picker/date-picker.css +0 -11
  247. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -856
  248. package/dist/collection/components/organism/form/form.js +133 -494
  249. package/dist/collection/components/organism/list/list.css +0 -1108
  250. package/dist/collection/components/organism/time-picker/time-picker.css +0 -11
  251. package/dist/collection/components/other/attendance/attendance.js +78 -24
  252. package/dist/collection/components/other/data-table/table.css +0 -11
  253. package/dist/collection/components/other/default/default.css +0 -11
  254. package/dist/collection/components/other/overlay/overlay.js +101 -0
  255. package/dist/collection/components/other/scroll-area/scroll-area.js +77 -0
  256. package/dist/collection/components/other/toast/toast.js +1 -1
  257. package/dist/collection/components/other/typography/typography.js +1 -1
  258. package/dist/collection/components/other_deprecated/collapse/collapse.css +0 -11
  259. package/dist/collection/components/other_deprecated/colorpicker/colorpicker.css +0 -11
  260. package/dist/collection/components/other_deprecated/listbox/listbox-group.css +0 -11
  261. package/dist/collection/components/other_deprecated/listbox/listbox-item.css +0 -11
  262. package/dist/collection/components/other_deprecated/listbox/listbox.css +0 -11
  263. package/dist/collection/components/{organism/form-2/form-2.css → other_deprecated/old-form/old-form-group.css} +4 -11
  264. package/dist/collection/components/{organism/form/form-group.js → other_deprecated/old-form/old-form-group.js} +5 -5
  265. package/dist/collection/components/{organism/form/form.css → other_deprecated/old-form/old-form.css} +0 -11
  266. package/dist/collection/components/other_deprecated/old-form/old-form.js +695 -0
  267. package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -864
  268. package/dist/collection/components/other_deprecated/old-search/old-search.css +0 -11
  269. package/dist/collection/components/other_deprecated/old-tag/old-tag.css +0 -19
  270. package/dist/collection/components/other_deprecated/select/group.css +0 -11
  271. package/dist/collection/components/other_deprecated/select/option.css +0 -11
  272. package/dist/collection/components/other_deprecated/select/select-box.css +0 -11
  273. package/dist/collection/components/other_deprecated/select/select.css +5 -16
  274. package/dist/collection/components/other_deprecated/tabs/tab-pane.css +0 -11
  275. package/dist/collection/components/other_deprecated/tabs/tab.css +5 -268
  276. package/dist/collection/components/other_deprecated/tabs/tabs-content.css +0 -11
  277. package/dist/collection/components/other_deprecated/tabs/tabs.css +0 -11
  278. package/dist/collection/components/other_deprecated/text/text.css +0 -263
  279. package/dist/collection/components/other_deprecated/treeview/treeview-item.css +0 -11
  280. package/dist/collection/components/other_deprecated/treeview/treeview.css +0 -11
  281. package/dist/collection/global/components/_checkbox.css +0 -263
  282. package/dist/collection/global/helper/toast.ts +2 -2
  283. package/dist/collection/helper/generate.js +13 -20
  284. package/dist/collection/models/bcm.js +8 -0
  285. package/dist/collection/templates/caption-template.js +15 -11
  286. package/dist/collection/templates/icon-template.js +4 -19
  287. package/dist/collection/templates/input-template.js +1 -1
  288. package/dist/collection/templates/label-template.js +5 -3
  289. package/dist/collection/templates/step-template.js +1 -1
  290. package/dist/components/avatar.js +56 -55
  291. package/dist/components/badge.js +43 -49
  292. package/dist/components/bcm-accordion.js +1 -1
  293. package/dist/components/bcm-alert.js +58 -87
  294. package/dist/components/bcm-attendance.js +29 -10
  295. package/dist/components/bcm-breadcrumb.js +1 -1
  296. package/dist/components/bcm-button-group.js +27 -23
  297. package/dist/components/bcm-card.js +1 -1
  298. package/dist/components/bcm-checkbox-group.js +229 -363
  299. package/dist/components/bcm-chip.js +29 -47
  300. package/dist/components/bcm-collapse.js +1 -1
  301. package/dist/components/bcm-color-input.js +1 -2
  302. package/dist/components/bcm-colorpicker.js +1 -1
  303. package/dist/components/bcm-date-picker.js +3 -3
  304. package/dist/components/bcm-default.js +1 -1
  305. package/dist/components/bcm-drawer.js +23 -26
  306. package/dist/components/bcm-dropdown.js +18 -22
  307. package/dist/components/bcm-error-layout.js +15 -40
  308. package/dist/components/bcm-expansion-panel.js +1 -1
  309. package/dist/components/bcm-form.js +140 -427
  310. package/dist/components/bcm-item.js +2 -2
  311. package/dist/components/bcm-items.js +2 -1
  312. package/dist/components/bcm-list.js +5 -6
  313. package/dist/components/{bcm-form-group.d.ts → bcm-modal-footer.d.ts} +4 -4
  314. package/dist/components/{typography.js → bcm-modal-footer.js} +23 -9
  315. package/dist/components/bcm-modal-header.d.ts +11 -0
  316. package/dist/components/bcm-modal-header.js +58 -0
  317. package/dist/components/bcm-modal.js +1 -162
  318. package/dist/components/{bcm-notification.d.ts → bcm-old-form-group.d.ts} +4 -4
  319. package/dist/components/bcm-old-form-group.js +66 -0
  320. package/dist/components/{bcm-message.d.ts → bcm-overlay.d.ts} +4 -4
  321. package/dist/components/bcm-overlay.js +10 -0
  322. package/dist/components/bcm-popconfirm.js +2 -2
  323. package/dist/components/bcm-popover.js +2 -3
  324. package/dist/components/bcm-progress.js +3 -3
  325. package/dist/components/bcm-radio-group.js +3 -5
  326. package/dist/components/bcm-range.js +2 -2
  327. package/dist/components/bcm-result.js +66 -57
  328. package/dist/components/{old-bcm-popover.d.ts → bcm-scroll-area.d.ts} +4 -4
  329. package/dist/components/bcm-scroll-area.js +10 -0
  330. package/dist/components/bcm-select-group.js +1 -1
  331. package/dist/components/bcm-select-option.js +1 -1
  332. package/dist/components/bcm-select.js +39 -45
  333. package/dist/components/bcm-stepper.js +8 -9
  334. package/dist/components/bcm-switch.js +4 -3
  335. package/dist/components/bcm-tab-group.js +2 -3
  336. package/dist/components/bcm-tab-item-header.js +2 -3
  337. package/dist/components/bcm-tab-item.js +1 -2
  338. package/dist/components/bcm-tab-pane.js +1 -1
  339. package/dist/components/bcm-tab.js +2 -2
  340. package/dist/components/bcm-table.js +1 -1
  341. package/dist/components/bcm-tabs-content.js +2 -2
  342. package/dist/components/bcm-tabs.js +2 -2
  343. package/dist/components/bcm-tag.js +2 -2
  344. package/dist/components/bcm-textarea.js +4 -3
  345. package/dist/components/bcm-time-picker.js +2 -2
  346. package/dist/components/bcm-timeline-item.js +1 -1
  347. package/dist/components/bcm-timeline.js +1 -1
  348. package/dist/components/bcm-toast.js +2 -2
  349. package/dist/components/bcm-typography.js +39 -1
  350. package/dist/components/bcm.js +7 -1
  351. package/dist/components/button.js +227 -333
  352. package/dist/components/caption-template.js +15 -17
  353. package/dist/components/checkbox-lite.js +2 -2
  354. package/dist/components/checkbox.js +36 -43
  355. package/dist/components/color-helper.js +8 -8
  356. package/dist/components/colorful.js +1 -1
  357. package/dist/components/colors2.js +17 -11
  358. package/dist/components/datetime-picker.js +3 -4
  359. package/dist/components/divider.js +8 -10
  360. package/dist/components/element-dragger.js +30 -1
  361. package/dist/components/empty.js +11 -9
  362. package/dist/components/floating-ui.js +67 -78
  363. package/dist/components/generate.js +17 -54
  364. package/dist/components/icon-template.js +13 -0
  365. package/dist/components/icon.js +9 -9
  366. package/dist/components/index.d.ts +7 -8
  367. package/dist/components/index.js +6 -7
  368. package/dist/components/input-template.js +4 -2
  369. package/dist/components/input.js +3 -3
  370. package/dist/components/json-parse-decarator.js +1 -1
  371. package/dist/components/label-template.js +7 -6
  372. package/dist/components/label.js +13 -19
  373. package/dist/components/link.js +40 -35
  374. package/dist/components/linked.js +3 -4
  375. package/dist/components/listbox-group.js +1 -1
  376. package/dist/components/listbox-item.js +1 -1
  377. package/dist/components/listbox.js +33 -39
  378. package/dist/components/menu.js +2 -3
  379. package/dist/components/modal.js +202 -0
  380. package/dist/components/number-helper.js +1 -1
  381. package/dist/components/{bcm-form-2.d.ts → old-bcm-form.d.ts} +4 -4
  382. package/dist/components/old-bcm-form.js +511 -0
  383. package/dist/components/old-input.js +1 -1
  384. package/dist/components/old-search.js +1 -1
  385. package/dist/components/old-tag.js +1 -1
  386. package/dist/components/overlay.js +47 -0
  387. package/dist/components/popconfirm-box.js +2 -2
  388. package/dist/components/radio.js +3 -4
  389. package/dist/components/scroll-area.js +40 -0
  390. package/dist/components/search.js +4 -3
  391. package/dist/components/select-box.js +35 -41
  392. package/dist/components/snq.es5.js +18 -0
  393. package/dist/components/step.js +2 -1
  394. package/dist/components/string-helper.js +1 -1
  395. package/dist/components/text.js +1 -1
  396. package/dist/components/tooltip-helper.js +1 -2
  397. package/dist/components/tooltip.js +2 -3
  398. package/dist/components/treeview-item.js +1 -1
  399. package/dist/components/treeview.js +21 -27
  400. package/dist/components/types.js +28 -1
  401. package/dist/components/types2.js +25 -25
  402. package/dist/esm/{bcm-9f50af9c.js → bcm-a29f0eef.js} +6 -0
  403. package/dist/esm/bcm-accordion.entry.js +6 -5
  404. package/dist/esm/bcm-alert.entry.js +52 -73
  405. package/dist/esm/bcm-attendance.entry.js +33 -11
  406. package/dist/esm/bcm-avatar_6.entry.js +742 -0
  407. package/dist/esm/bcm-badge.entry.js +79 -0
  408. package/dist/esm/bcm-box.entry.js +2 -2
  409. package/dist/esm/bcm-breadcrumb.entry.js +6 -5
  410. package/dist/esm/bcm-button-group.entry.js +23 -20
  411. package/dist/esm/bcm-button.entry.js +204 -318
  412. package/dist/esm/bcm-card.entry.js +11 -10
  413. package/dist/esm/bcm-checkbox-group.entry.js +207 -339
  414. package/dist/esm/bcm-checkbox.entry.js +170 -0
  415. package/dist/esm/bcm-chip.entry.js +27 -36
  416. package/dist/esm/bcm-collapse-group.entry.js +3 -3
  417. package/dist/esm/bcm-collapse.entry.js +6 -5
  418. package/dist/esm/bcm-color-input.entry.js +11 -10
  419. package/dist/esm/bcm-colorful_2.entry.js +15 -14
  420. package/dist/esm/bcm-colorpicker.entry.js +5 -5
  421. package/dist/esm/bcm-date-picker.entry.js +8 -7
  422. package/dist/esm/bcm-datetime-picker.entry.js +12 -12
  423. package/dist/esm/bcm-default.entry.js +6 -5
  424. package/dist/esm/bcm-drawer.entry.js +28 -30
  425. package/dist/esm/bcm-dropdown.entry.js +24 -27
  426. package/dist/esm/bcm-error-layout.entry.js +13 -36
  427. package/dist/esm/bcm-expansion-panel.entry.js +10 -9
  428. package/dist/esm/bcm-form.entry.js +139 -421
  429. package/dist/esm/bcm-icon.entry.js +12 -8
  430. package/dist/esm/bcm-input-custom.entry.js +5 -4
  431. package/dist/esm/bcm-input.entry.js +13 -12
  432. package/dist/esm/bcm-item.entry.js +9 -8
  433. package/dist/esm/bcm-items.entry.js +7 -6
  434. package/dist/esm/bcm-label_2.entry.js +18 -23
  435. package/dist/esm/bcm-link.entry.js +37 -23
  436. package/dist/esm/bcm-list.entry.js +20 -20
  437. package/dist/esm/{bcm-checkbox-lite_9.entry.js → bcm-listbox_4.entry.js} +13 -650
  438. package/dist/esm/bcm-menu.entry.js +15 -14
  439. package/dist/esm/bcm-modal-footer.entry.js +47 -0
  440. package/dist/esm/bcm-modal-header.entry.js +46 -0
  441. package/dist/esm/bcm-modal.entry.js +119 -90
  442. package/dist/esm/bcm-old-form-group.entry.js +42 -0
  443. package/dist/esm/bcm-old-input.entry.js +5 -5
  444. package/dist/esm/bcm-old-tag_2.entry.js +5 -5
  445. package/dist/esm/bcm-overlay_2.entry.js +43 -0
  446. package/dist/esm/bcm-popconfirm-box.entry.js +12 -11
  447. package/dist/esm/bcm-popconfirm.entry.js +7 -6
  448. package/dist/esm/bcm-popover.entry.js +13 -12
  449. package/dist/esm/bcm-progress.entry.js +10 -9
  450. package/dist/esm/bcm-radio-group.entry.js +14 -13
  451. package/dist/esm/bcm-radio.entry.js +12 -11
  452. package/dist/esm/bcm-range.entry.js +8 -7
  453. package/dist/esm/bcm-result.entry.js +49 -46
  454. package/dist/esm/bcm-search.entry.js +11 -10
  455. package/dist/esm/bcm-select-group.entry.js +2 -2
  456. package/dist/esm/bcm-select-option.entry.js +2 -2
  457. package/dist/esm/bcm-select.entry.js +6 -6
  458. package/dist/esm/bcm-skeleton.entry.js +5 -4
  459. package/dist/esm/bcm-step.entry.js +7 -6
  460. package/dist/esm/bcm-stepper.entry.js +19 -18
  461. package/dist/esm/bcm-switch.entry.js +11 -9
  462. package/dist/esm/bcm-tab-group.entry.js +12 -11
  463. package/dist/esm/bcm-tab-item-header.entry.js +12 -11
  464. package/dist/esm/bcm-tab-item.entry.js +12 -11
  465. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  466. package/dist/esm/bcm-tab.entry.js +3 -3
  467. package/dist/esm/bcm-table.entry.js +4 -4
  468. package/dist/esm/bcm-tabs-content.entry.js +4 -4
  469. package/dist/esm/bcm-tabs.entry.js +4 -4
  470. package/dist/esm/bcm-tag.entry.js +8 -7
  471. package/dist/esm/bcm-text.entry.js +9 -9
  472. package/dist/esm/bcm-textarea.entry.js +12 -10
  473. package/dist/esm/bcm-time-picker.entry.js +8 -7
  474. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  475. package/dist/esm/bcm-timeline.entry.js +3 -3
  476. package/dist/esm/bcm-toast.entry.js +9 -8
  477. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  478. package/dist/esm/bcm-typography.entry.js +31 -0
  479. package/dist/esm/bromcom-ui.js +3 -3
  480. package/dist/esm/caption-template-62c75b98.js +30 -0
  481. package/dist/esm/{color-helper-4fa5dd0d.js → color-helper-85f2eddb.js} +9 -9
  482. package/dist/esm/{colors-fa05fe33.js → colors-e780e48d.js} +17 -11
  483. package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
  484. package/dist/esm/{floating-ui-e7341329.js → floating-ui-065b36f9.js} +67 -78
  485. package/dist/esm/{generate-508e45d7.js → generate-7be7919a.js} +17 -54
  486. package/dist/esm/icon-template-0f1f5828.js +13 -0
  487. package/dist/esm/{index-93e36fdb.js → index-0052017c.js} +1 -1
  488. package/dist/esm/{index-39133086.js → index-348b16ad.js} +1 -1
  489. package/dist/esm/{input-template-04e8c524.js → input-template-5ed08d5c.js} +5 -3
  490. package/dist/esm/{is-load-decorator-bc14ec4b.js → is-load-decorator-07d3502a.js} +1 -1
  491. package/dist/esm/{json-parse-decarator-0159345f.js → json-parse-decarator-fa15277b.js} +2 -2
  492. package/dist/esm/label-template-253d4ed9.js +22 -0
  493. package/dist/esm/loader.js +3 -3
  494. package/dist/esm/{number-helper-b9dc0cca.js → number-helper-cc915c62.js} +1 -1
  495. package/dist/esm/old-bcm-form.entry.js +483 -0
  496. package/dist/esm/{popover-placement-78f86f15.js → popover-placement-3ba8a0d9.js} +1 -1
  497. package/dist/esm/{slot-template-5b2db362.js → slot-template-94ad4a24.js} +2 -2
  498. package/dist/esm/snq.es5-d6023241.js +18 -0
  499. package/dist/esm/{stepper-states-3bdf94bf.js → stepper-states-4db164ca.js} +4 -3
  500. package/dist/esm/{string-helper-6bd24967.js → string-helper-8e053b44.js} +1 -1
  501. package/dist/esm/{tooltip-helper-c3251673.js → tooltip-helper-6ed9a1a0.js} +9 -9
  502. package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
  503. package/dist/esm/{validators-89c43bb2.js → validators-37bd26a4.js} +1 -1
  504. package/dist/types/components/atoms/avatar/avatar.d.ts +3 -7
  505. package/dist/types/components/atoms/badge/badge.d.ts +4 -8
  506. package/dist/types/components/atoms/button/button.d.ts +50 -20
  507. package/dist/types/components/atoms/button/types.d.ts +16 -16
  508. package/dist/types/components/atoms/chip/chip.d.ts +5 -16
  509. package/dist/types/components/atoms/divider/divider.d.ts +3 -2
  510. package/dist/types/components/atoms/icon/icon.d.ts +0 -1
  511. package/dist/types/components/atoms/label/label.d.ts +2 -3
  512. package/dist/types/components/atoms/link/link.d.ts +8 -4
  513. package/dist/types/components/molecules/alert/alert.d.ts +16 -15
  514. package/dist/types/components/molecules/button-group/button-group.d.ts +4 -3
  515. package/dist/types/components/molecules/checkbox/checkbox-group.d.ts +61 -0
  516. package/dist/types/components/molecules/checkbox/checkbox.d.ts +1 -4
  517. package/dist/types/components/molecules/drawer/drawer.d.ts +3 -2
  518. package/dist/types/components/molecules/dropdown/dropdown.d.ts +6 -6
  519. package/dist/types/components/molecules/empty/empty.d.ts +6 -2
  520. package/dist/types/components/molecules/error-layout/error-layout.d.ts +5 -19
  521. package/dist/types/components/molecules/modal/modal-footer.d.ts +7 -0
  522. package/dist/types/components/molecules/modal/modal-header.d.ts +7 -0
  523. package/dist/types/components/molecules/modal/modal.d.ts +23 -16
  524. package/dist/types/components/molecules/result/result.d.ts +12 -10
  525. package/dist/types/components/molecules/textarea/textarea.d.ts +1 -1
  526. package/dist/types/components/organism/form/form.d.ts +17 -26
  527. package/dist/types/components/other/attendance/attendance.d.ts +11 -2
  528. package/dist/types/components/other/overlay/overlay.d.ts +8 -0
  529. package/dist/types/components/other/scroll-area/scroll-area.d.ts +7 -0
  530. package/dist/types/components/{organism/form/form-group.d.ts → other_deprecated/old-form/old-form-group.d.ts} +1 -1
  531. package/dist/types/components/other_deprecated/old-form/old-form.d.ts +34 -0
  532. package/dist/types/components.d.ts +287 -370
  533. package/dist/types/global/helper/toast.d.ts +2 -2
  534. package/dist/types/helper/generate.d.ts +1 -4
  535. package/dist/types/models/bcm-types.d.ts +1 -0
  536. package/dist/types/models/bcm.d.ts +6 -0
  537. package/dist/types/templates/caption-template.d.ts +1 -1
  538. package/dist/types/templates/icon-template.d.ts +2 -2
  539. package/helper/toast.d.ts +2 -2
  540. package/helper/toast.d.ts.map +1 -1
  541. package/package.json +7 -29
  542. package/dist/bromcom-ui/p-0474d8a8.entry.js +0 -5
  543. package/dist/bromcom-ui/p-0557b296.entry.js +0 -5
  544. package/dist/bromcom-ui/p-0a16fcfa.entry.js +0 -5
  545. package/dist/bromcom-ui/p-0b663779.entry.js +0 -5
  546. package/dist/bromcom-ui/p-11930706.entry.js +0 -5
  547. package/dist/bromcom-ui/p-18af92a9.entry.js +0 -5
  548. package/dist/bromcom-ui/p-198d17cf.entry.js +0 -5
  549. package/dist/bromcom-ui/p-19b258fa.entry.js +0 -5
  550. package/dist/bromcom-ui/p-19c2c7ec.entry.js +0 -5
  551. package/dist/bromcom-ui/p-24aefda6.js +0 -5
  552. package/dist/bromcom-ui/p-2722b2c7.entry.js +0 -5
  553. package/dist/bromcom-ui/p-29829587.entry.js +0 -5
  554. package/dist/bromcom-ui/p-2ea1274e.entry.js +0 -5
  555. package/dist/bromcom-ui/p-31226526.entry.js +0 -5
  556. package/dist/bromcom-ui/p-3bb63b25.entry.js +0 -5
  557. package/dist/bromcom-ui/p-3cbddb46.entry.js +0 -5
  558. package/dist/bromcom-ui/p-428a472e.entry.js +0 -5
  559. package/dist/bromcom-ui/p-44f2ea48.entry.js +0 -5
  560. package/dist/bromcom-ui/p-493fc64a.js +0 -5
  561. package/dist/bromcom-ui/p-533cb826.entry.js +0 -5
  562. package/dist/bromcom-ui/p-551bd870.entry.js +0 -5
  563. package/dist/bromcom-ui/p-58651d85.entry.js +0 -5
  564. package/dist/bromcom-ui/p-67a1b9fb.entry.js +0 -5
  565. package/dist/bromcom-ui/p-692a0269.js +0 -5
  566. package/dist/bromcom-ui/p-6af68be0.entry.js +0 -5
  567. package/dist/bromcom-ui/p-6b7a9d96.entry.js +0 -5
  568. package/dist/bromcom-ui/p-6cc73d59.entry.js +0 -5
  569. package/dist/bromcom-ui/p-6e0345b0.entry.js +0 -5
  570. package/dist/bromcom-ui/p-6e920b36.entry.js +0 -5
  571. package/dist/bromcom-ui/p-720059b9.entry.js +0 -5
  572. package/dist/bromcom-ui/p-73dd9b71.entry.js +0 -5
  573. package/dist/bromcom-ui/p-757f7936.entry.js +0 -5
  574. package/dist/bromcom-ui/p-76358e74.js +0 -5
  575. package/dist/bromcom-ui/p-766e3781.entry.js +0 -10
  576. package/dist/bromcom-ui/p-78522f83.entry.js +0 -5
  577. package/dist/bromcom-ui/p-79fd816c.js +0 -5
  578. package/dist/bromcom-ui/p-7a37fc46.entry.js +0 -5
  579. package/dist/bromcom-ui/p-7aca0f4e.entry.js +0 -5
  580. package/dist/bromcom-ui/p-7d25efd3.entry.js +0 -5
  581. package/dist/bromcom-ui/p-7eccf8ee.entry.js +0 -5
  582. package/dist/bromcom-ui/p-81eb449f.entry.js +0 -5
  583. package/dist/bromcom-ui/p-88ace511.entry.js +0 -5
  584. package/dist/bromcom-ui/p-9189c392.entry.js +0 -5
  585. package/dist/bromcom-ui/p-97933e31.entry.js +0 -5
  586. package/dist/bromcom-ui/p-9c629169.entry.js +0 -5
  587. package/dist/bromcom-ui/p-9c72f6f1.entry.js +0 -5
  588. package/dist/bromcom-ui/p-a429e85b.js +0 -5
  589. package/dist/bromcom-ui/p-a5b58ffc.entry.js +0 -5
  590. package/dist/bromcom-ui/p-ab0954e5.js +0 -5
  591. package/dist/bromcom-ui/p-b0525d89.entry.js +0 -5
  592. package/dist/bromcom-ui/p-b60bcecf.js +0 -5
  593. package/dist/bromcom-ui/p-ba35487f.entry.js +0 -5
  594. package/dist/bromcom-ui/p-bc840f30.entry.js +0 -5
  595. package/dist/bromcom-ui/p-c6515acd.js +0 -5
  596. package/dist/bromcom-ui/p-c85b8abc.entry.js +0 -5
  597. package/dist/bromcom-ui/p-c85d5bb2.entry.js +0 -5
  598. package/dist/bromcom-ui/p-c8e13fd7.js +0 -5
  599. package/dist/bromcom-ui/p-cd4b11f9.entry.js +0 -5
  600. package/dist/bromcom-ui/p-d21f0839.entry.js +0 -5
  601. package/dist/bromcom-ui/p-d644b6d9.entry.js +0 -5
  602. package/dist/bromcom-ui/p-d93dc796.entry.js +0 -5
  603. package/dist/bromcom-ui/p-deecea68.entry.js +0 -5
  604. package/dist/bromcom-ui/p-e19e9dc1.entry.js +0 -5
  605. package/dist/bromcom-ui/p-e6ca16b0.entry.js +0 -5
  606. package/dist/bromcom-ui/p-e84f277e.entry.js +0 -5
  607. package/dist/bromcom-ui/p-e8c5da52.js +0 -5
  608. package/dist/bromcom-ui/p-eb44664d.entry.js +0 -5
  609. package/dist/bromcom-ui/p-f280a1e6.entry.js +0 -5
  610. package/dist/bromcom-ui/p-f2edbbc1.entry.js +0 -5
  611. package/dist/bromcom-ui/p-f529ded0.entry.js +0 -5
  612. package/dist/bromcom-ui/p-f6732a5f.entry.js +0 -5
  613. package/dist/bromcom-ui/p-f74e5ed7.entry.js +0 -5
  614. package/dist/bromcom-ui/p-f8c20298.entry.js +0 -5
  615. package/dist/bromcom-ui/p-f995e773.entry.js +0 -5
  616. package/dist/bromcom-ui/p-f9d6fa4d.entry.js +0 -5
  617. package/dist/bromcom-ui/p-fafa77b7.entry.js +0 -5
  618. package/dist/bromcom-ui/p-fba7e2c7.entry.js +0 -5
  619. package/dist/bromcom-ui/p-fe382dcc.entry.js +0 -5
  620. package/dist/bromcom-ui/p-fed31df8.entry.js +0 -5
  621. package/dist/bromcom-ui/p-ff1acc28.entry.js +0 -5
  622. package/dist/cjs/bcm-autocomplete.cjs.entry.js +0 -156
  623. package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -166
  624. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -206
  625. package/dist/cjs/bcm-form-2.cjs.entry.js +0 -207
  626. package/dist/cjs/bcm-form-group.cjs.entry.js +0 -46
  627. package/dist/cjs/bcm-message.cjs.entry.js +0 -96
  628. package/dist/cjs/bcm-notification.cjs.entry.js +0 -105
  629. package/dist/cjs/caption-template-8d099fd6.js +0 -34
  630. package/dist/cjs/label-template-cc69bc21.js +0 -23
  631. package/dist/cjs/number-helper-d866e132.js +0 -20
  632. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +0 -168
  633. package/dist/cjs/old-bcm-popover.cjs.entry.js +0 -104
  634. package/dist/collection/components/atoms/avatar/avatar.css +0 -450
  635. package/dist/collection/components/atoms/badge/badge.css +0 -483
  636. package/dist/collection/components/atoms/button/button.css +0 -654
  637. package/dist/collection/components/atoms/chip/chip.css +0 -455
  638. package/dist/collection/components/atoms/divider/divider.css +0 -142
  639. package/dist/collection/components/atoms/icon/icon.css +0 -127
  640. package/dist/collection/components/atoms/label/label.css +0 -410
  641. package/dist/collection/components/atoms/link/link.css +0 -421
  642. package/dist/collection/components/atoms/states/button.states.js +0 -31
  643. package/dist/collection/components/external-source/bcm-toast-helper.js +0 -20
  644. package/dist/collection/components/external-source/test.js/bcm-toast-helper.js +0 -20
  645. package/dist/collection/components/molecules/alert/alert.css +0 -191
  646. package/dist/collection/components/molecules/alert/types.js +0 -23
  647. package/dist/collection/components/molecules/button-group/button-group.css +0 -429
  648. package/dist/collection/components/molecules/checkbox/checkbox.css +0 -1287
  649. package/dist/collection/components/molecules/checkbox/group.css +0 -156
  650. package/dist/collection/components/molecules/drawer/drawer.css +0 -504
  651. package/dist/collection/components/molecules/dropdown/dropdown.css +0 -421
  652. package/dist/collection/components/molecules/error-layout/error-layout.css +0 -398
  653. package/dist/collection/components/molecules/error-layout/types.js +0 -1
  654. package/dist/collection/components/molecules/message/message.css +0 -165
  655. package/dist/collection/components/molecules/message/message.js +0 -227
  656. package/dist/collection/components/molecules/message/types.js +0 -14
  657. package/dist/collection/components/molecules/modal/modal.css +0 -528
  658. package/dist/collection/components/molecules/notification/notification.css +0 -183
  659. package/dist/collection/components/molecules/notification/notification.js +0 -250
  660. package/dist/collection/components/molecules/notification/types.js +0 -15
  661. package/dist/collection/components/molecules/result/result.css +0 -164
  662. package/dist/collection/components/molecules/result/types.js +0 -22
  663. package/dist/collection/components/molecules/states/alert.states.js +0 -25
  664. package/dist/collection/components/molecules/states/checkbox-group.states.js +0 -199
  665. package/dist/collection/components/organism/autocomplete/autocomplete.css +0 -168
  666. package/dist/collection/components/organism/autocomplete/autocomplete.js +0 -412
  667. package/dist/collection/components/organism/form/form-group.css +0 -131
  668. package/dist/collection/components/organism/form-2/form-2.js +0 -344
  669. package/dist/collection/components/other/attendance/attendance.css +0 -435
  670. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +0 -584
  671. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +0 -440
  672. package/dist/collection/components/other_deprecated/old-popover/old-popover.css +0 -127
  673. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +0 -308
  674. package/dist/collection/models/states/atoms/bcm-atoms-state.js +0 -1
  675. package/dist/components/bcm-autocomplete.d.ts +0 -11
  676. package/dist/components/bcm-autocomplete.js +0 -294
  677. package/dist/components/bcm-form-2.js +0 -226
  678. package/dist/components/bcm-form-group.js +0 -66
  679. package/dist/components/bcm-message.js +0 -123
  680. package/dist/components/bcm-notification.js +0 -138
  681. package/dist/components/old-bcm-popover-box.d.ts +0 -11
  682. package/dist/components/old-bcm-popover-box.js +0 -10
  683. package/dist/components/old-bcm-popover.js +0 -131
  684. package/dist/components/old-popover-box.js +0 -190
  685. package/dist/components/types3.js +0 -32
  686. package/dist/components/validators.js +0 -35
  687. package/dist/esm/bcm-autocomplete.entry.js +0 -152
  688. package/dist/esm/bcm-avatar_2.entry.js +0 -161
  689. package/dist/esm/bcm-checkbox_2.entry.js +0 -201
  690. package/dist/esm/bcm-form-2.entry.js +0 -203
  691. package/dist/esm/bcm-form-group.entry.js +0 -42
  692. package/dist/esm/bcm-message.entry.js +0 -92
  693. package/dist/esm/bcm-notification.entry.js +0 -101
  694. package/dist/esm/caption-template-da16ba7b.js +0 -32
  695. package/dist/esm/label-template-d74fe788.js +0 -21
  696. package/dist/esm/old-bcm-popover-box.entry.js +0 -164
  697. package/dist/esm/old-bcm-popover.entry.js +0 -100
  698. package/dist/types/components/atoms/states/button.states.d.ts +0 -7
  699. package/dist/types/components/external-source/bcm-toast-helper.d.ts +0 -12
  700. package/dist/types/components/external-source/test.js/bcm-toast-helper.d.ts +0 -12
  701. package/dist/types/components/molecules/alert/types.d.ts +0 -25
  702. package/dist/types/components/molecules/checkbox/group.d.ts +0 -56
  703. package/dist/types/components/molecules/error-layout/types.d.ts +0 -4
  704. package/dist/types/components/molecules/message/message.d.ts +0 -32
  705. package/dist/types/components/molecules/message/types.d.ts +0 -13
  706. package/dist/types/components/molecules/notification/notification.d.ts +0 -42
  707. package/dist/types/components/molecules/notification/types.d.ts +0 -14
  708. package/dist/types/components/molecules/result/types.d.ts +0 -19
  709. package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
  710. package/dist/types/components/molecules/states/checkbox-group.states.d.ts +0 -53
  711. package/dist/types/components/organism/autocomplete/autocomplete.d.ts +0 -31
  712. package/dist/types/components/organism/form-2/form-2.d.ts +0 -25
  713. package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +0 -26
  714. package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +0 -22
  715. package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +0 -34
  716. /package/dist/collection/components/organism/{form-2 → form}/bcm-form-components.js +0 -0
  717. /package/dist/types/components/organism/{form-2 → form}/bcm-form-components.d.ts +0 -0
@@ -2,138 +2,15 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-39133086.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-348b16ad.js';
6
+ import { c as getChilds, d as delay } from './utils-b3338faf.js';
6
7
  import { c as classnames } from './index-ed9652af.js';
7
- import { G as Generate } from './generate-508e45d7.js';
8
- import { B as Bcm } from './bcm-9f50af9c.js';
9
- import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
10
- import { c as getChilds, d as delay } from './utils-57652744.js';
8
+ import { I as IsLoad } from './is-load-decorator-07d3502a.js';
11
9
  import './_commonjsHelpers-3016b722.js';
12
- import './colors-fa05fe33.js';
13
10
 
14
- const checkboxCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .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}:root,::after,::before{--bcm-new-ds-color-inherit:inherit;--bcm-new-ds-color-current:currentColor;--bcm-new-ds-color-transparent:transparent;--bcm-new-ds-color-black:#000;--bcm-new-ds-color-white:#fff;--bcm-new-ds-color-slate:#64748b;--bcm-new-ds-color-slate-50:#f8fafc;--bcm-new-ds-color-slate-100:#f1f5f9;--bcm-new-ds-color-slate-200:#e2e8f0;--bcm-new-ds-color-slate-300:#cbd5e1;--bcm-new-ds-color-slate-400:#94a3b8;--bcm-new-ds-color-slate-500:#64748b;--bcm-new-ds-color-slate-600:#475569;--bcm-new-ds-color-slate-700:#334155;--bcm-new-ds-color-slate-800:#1e293b;--bcm-new-ds-color-slate-900:#0f172a;--bcm-new-ds-color-gray:#6b7280;--bcm-new-ds-color-gray-50:#f9fafb;--bcm-new-ds-color-gray-100:#f3f4f6;--bcm-new-ds-color-gray-200:#e5e7eb;--bcm-new-ds-color-gray-300:#d1d5db;--bcm-new-ds-color-gray-400:#9ca3af;--bcm-new-ds-color-gray-500:#6b7280;--bcm-new-ds-color-gray-600:#4b5563;--bcm-new-ds-color-gray-700:#374151;--bcm-new-ds-color-gray-800:#1f2937;--bcm-new-ds-color-gray-900:#111827;--bcm-new-ds-color-zinc:#71717a;--bcm-new-ds-color-zinc-50:#fafafa;--bcm-new-ds-color-zinc-100:#f4f4f5;--bcm-new-ds-color-zinc-200:#e4e4e7;--bcm-new-ds-color-zinc-300:#d4d4d8;--bcm-new-ds-color-zinc-400:#a1a1aa;--bcm-new-ds-color-zinc-500:#71717a;--bcm-new-ds-color-zinc-600:#52525b;--bcm-new-ds-color-zinc-700:#3f3f46;--bcm-new-ds-color-zinc-800:#27272a;--bcm-new-ds-color-zinc-900:#18181b;--bcm-new-ds-color-neutral:#737373;--bcm-new-ds-color-neutral-50:#fafafa;--bcm-new-ds-color-neutral-100:#f5f5f5;--bcm-new-ds-color-neutral-200:#e5e5e5;--bcm-new-ds-color-neutral-300:#d4d4d4;--bcm-new-ds-color-neutral-400:#a3a3a3;--bcm-new-ds-color-neutral-500:#737373;--bcm-new-ds-color-neutral-600:#525252;--bcm-new-ds-color-neutral-700:#404040;--bcm-new-ds-color-neutral-800:#262626;--bcm-new-ds-color-neutral-900:#171717;--bcm-new-ds-color-stone:#78716c;--bcm-new-ds-color-stone-50:#fafaf9;--bcm-new-ds-color-stone-100:#f5f5f4;--bcm-new-ds-color-stone-200:#e7e5e4;--bcm-new-ds-color-stone-300:#d6d3d1;--bcm-new-ds-color-stone-400:#a8a29e;--bcm-new-ds-color-stone-500:#78716c;--bcm-new-ds-color-stone-600:#57534e;--bcm-new-ds-color-stone-700:#44403c;--bcm-new-ds-color-stone-800:#292524;--bcm-new-ds-color-stone-900:#1c1917;--bcm-new-ds-color-red:#ef4444;--bcm-new-ds-color-red-50:#fef2f2;--bcm-new-ds-color-red-100:#fee2e2;--bcm-new-ds-color-red-200:#fecaca;--bcm-new-ds-color-red-300:#fca5a5;--bcm-new-ds-color-red-400:#f87171;--bcm-new-ds-color-red-500:#ef4444;--bcm-new-ds-color-red-600:#dc2626;--bcm-new-ds-color-red-700:#b91c1c;--bcm-new-ds-color-red-800:#991b1b;--bcm-new-ds-color-red-900:#7f1d1d;--bcm-new-ds-color-orange:#f97316;--bcm-new-ds-color-orange-50:#fff7ed;--bcm-new-ds-color-orange-100:#ffedd5;--bcm-new-ds-color-orange-200:#fed7aa;--bcm-new-ds-color-orange-300:#fdba74;--bcm-new-ds-color-orange-400:#fb923c;--bcm-new-ds-color-orange-500:#f97316;--bcm-new-ds-color-orange-600:#ea580c;--bcm-new-ds-color-orange-700:#c2410c;--bcm-new-ds-color-orange-800:#9a3412;--bcm-new-ds-color-orange-900:#7c2d12;--bcm-new-ds-color-amber:#f59e0b;--bcm-new-ds-color-amber-50:#fffbeb;--bcm-new-ds-color-amber-100:#fef3c7;--bcm-new-ds-color-amber-200:#fde68a;--bcm-new-ds-color-amber-300:#fcd34d;--bcm-new-ds-color-amber-400:#fbbf24;--bcm-new-ds-color-amber-500:#f59e0b;--bcm-new-ds-color-amber-600:#d97706;--bcm-new-ds-color-amber-700:#b45309;--bcm-new-ds-color-amber-800:#92400e;--bcm-new-ds-color-amber-900:#78350f;--bcm-new-ds-color-yellow:#eab308;--bcm-new-ds-color-yellow-50:#fefce8;--bcm-new-ds-color-yellow-100:#fef9c3;--bcm-new-ds-color-yellow-200:#fef08a;--bcm-new-ds-color-yellow-300:#fde047;--bcm-new-ds-color-yellow-400:#facc15;--bcm-new-ds-color-yellow-500:#eab308;--bcm-new-ds-color-yellow-600:#ca8a04;--bcm-new-ds-color-yellow-700:#a16207;--bcm-new-ds-color-yellow-800:#854d0e;--bcm-new-ds-color-yellow-900:#713f12;--bcm-new-ds-color-lime:#84cc16;--bcm-new-ds-color-lime-50:#f7fee7;--bcm-new-ds-color-lime-100:#ecfccb;--bcm-new-ds-color-lime-200:#d9f99d;--bcm-new-ds-color-lime-300:#bef264;--bcm-new-ds-color-lime-400:#a3e635;--bcm-new-ds-color-lime-500:#84cc16;--bcm-new-ds-color-lime-600:#65a30d;--bcm-new-ds-color-lime-700:#4d7c0f;--bcm-new-ds-color-lime-800:#3f6212;--bcm-new-ds-color-lime-900:#365314;--bcm-new-ds-color-green:#22c55e;--bcm-new-ds-color-green-50:#f0fdf4;--bcm-new-ds-color-green-100:#dcfce7;--bcm-new-ds-color-green-200:#bbf7d0;--bcm-new-ds-color-green-300:#86efac;--bcm-new-ds-color-green-400:#4ade80;--bcm-new-ds-color-green-500:#22c55e;--bcm-new-ds-color-green-600:#16a34a;--bcm-new-ds-color-green-700:#15803d;--bcm-new-ds-color-green-800:#166534;--bcm-new-ds-color-green-900:#14532d;--bcm-new-ds-color-emerald:#10b981;--bcm-new-ds-color-emerald-50:#ecfdf5;--bcm-new-ds-color-emerald-100:#d1fae5;--bcm-new-ds-color-emerald-200:#a7f3d0;--bcm-new-ds-color-emerald-300:#6ee7b7;--bcm-new-ds-color-emerald-400:#34d399;--bcm-new-ds-color-emerald-500:#10b981;--bcm-new-ds-color-emerald-600:#059669;--bcm-new-ds-color-emerald-700:#047857;--bcm-new-ds-color-emerald-800:#065f46;--bcm-new-ds-color-emerald-900:#064e3b;--bcm-new-ds-color-teal:#14b8a6;--bcm-new-ds-color-teal-50:#f0fdfa;--bcm-new-ds-color-teal-100:#ccfbf1;--bcm-new-ds-color-teal-200:#99f6e4;--bcm-new-ds-color-teal-300:#5eead4;--bcm-new-ds-color-teal-400:#2dd4bf;--bcm-new-ds-color-teal-500:#14b8a6;--bcm-new-ds-color-teal-600:#0d9488;--bcm-new-ds-color-teal-700:#0f766e;--bcm-new-ds-color-teal-800:#115e59;--bcm-new-ds-color-teal-900:#134e4a;--bcm-new-ds-color-cyan:#06b6d4;--bcm-new-ds-color-cyan-50:#ecfeff;--bcm-new-ds-color-cyan-100:#cffafe;--bcm-new-ds-color-cyan-200:#a5f3fc;--bcm-new-ds-color-cyan-300:#67e8f9;--bcm-new-ds-color-cyan-400:#22d3ee;--bcm-new-ds-color-cyan-500:#06b6d4;--bcm-new-ds-color-cyan-600:#0891b2;--bcm-new-ds-color-cyan-700:#0e7490;--bcm-new-ds-color-cyan-800:#155e75;--bcm-new-ds-color-cyan-900:#164e63;--bcm-new-ds-color-sky:#0ea5e9;--bcm-new-ds-color-sky-50:#f0f9ff;--bcm-new-ds-color-sky-100:#e0f2fe;--bcm-new-ds-color-sky-200:#bae6fd;--bcm-new-ds-color-sky-300:#7dd3fc;--bcm-new-ds-color-sky-400:#38bdf8;--bcm-new-ds-color-sky-500:#0ea5e9;--bcm-new-ds-color-sky-600:#0284c7;--bcm-new-ds-color-sky-700:#0369a1;--bcm-new-ds-color-sky-800:#075985;--bcm-new-ds-color-sky-900:#0c4a6e;--bcm-new-ds-color-blue:#3b82f6;--bcm-new-ds-color-blue-50:#eff6ff;--bcm-new-ds-color-blue-100:#dbeafe;--bcm-new-ds-color-blue-200:#bfdbfe;--bcm-new-ds-color-blue-300:#93c5fd;--bcm-new-ds-color-blue-400:#60a5fa;--bcm-new-ds-color-blue-500:#3b82f6;--bcm-new-ds-color-blue-600:#2563eb;--bcm-new-ds-color-blue-700:#1d4ed8;--bcm-new-ds-color-blue-800:#1e40af;--bcm-new-ds-color-blue-900:#1e3a8a;--bcm-new-ds-color-indigo:#6366f1;--bcm-new-ds-color-indigo-50:#eef2ff;--bcm-new-ds-color-indigo-100:#e0e7ff;--bcm-new-ds-color-indigo-200:#c7d2fe;--bcm-new-ds-color-indigo-300:#a5b4fc;--bcm-new-ds-color-indigo-400:#818cf8;--bcm-new-ds-color-indigo-500:#6366f1;--bcm-new-ds-color-indigo-600:#4f46e5;--bcm-new-ds-color-indigo-700:#4338ca;--bcm-new-ds-color-indigo-800:#3730a3;--bcm-new-ds-color-indigo-900:#312e81;--bcm-new-ds-color-violet:#8b5cf6;--bcm-new-ds-color-violet-50:#f5f3ff;--bcm-new-ds-color-violet-100:#ede9fe;--bcm-new-ds-color-violet-200:#ddd6fe;--bcm-new-ds-color-violet-300:#c4b5fd;--bcm-new-ds-color-violet-400:#a78bfa;--bcm-new-ds-color-violet-500:#8b5cf6;--bcm-new-ds-color-violet-600:#7c3aed;--bcm-new-ds-color-violet-700:#6d28d9;--bcm-new-ds-color-violet-800:#5b21b6;--bcm-new-ds-color-violet-900:#4c1d95;--bcm-new-ds-color-purple:#a855f7;--bcm-new-ds-color-purple-50:#faf5ff;--bcm-new-ds-color-purple-100:#f3e8ff;--bcm-new-ds-color-purple-200:#e9d5ff;--bcm-new-ds-color-purple-300:#d8b4fe;--bcm-new-ds-color-purple-400:#c084fc;--bcm-new-ds-color-purple-500:#a855f7;--bcm-new-ds-color-purple-600:#9333ea;--bcm-new-ds-color-purple-700:#7e22ce;--bcm-new-ds-color-purple-800:#6b21a8;--bcm-new-ds-color-purple-900:#581c87;--bcm-new-ds-color-fuchsia:#d946ef;--bcm-new-ds-color-fuchsia-50:#fdf4ff;--bcm-new-ds-color-fuchsia-100:#fae8ff;--bcm-new-ds-color-fuchsia-200:#f5d0fe;--bcm-new-ds-color-fuchsia-300:#f0abfc;--bcm-new-ds-color-fuchsia-400:#e879f9;--bcm-new-ds-color-fuchsia-500:#d946ef;--bcm-new-ds-color-fuchsia-600:#c026d3;--bcm-new-ds-color-fuchsia-700:#a21caf;--bcm-new-ds-color-fuchsia-800:#86198f;--bcm-new-ds-color-fuchsia-900:#701a75;--bcm-new-ds-color-pink:#ec4899;--bcm-new-ds-color-pink-50:#fdf2f8;--bcm-new-ds-color-pink-100:#fce7f3;--bcm-new-ds-color-pink-200:#fbcfe8;--bcm-new-ds-color-pink-300:#f9a8d4;--bcm-new-ds-color-pink-400:#f472b6;--bcm-new-ds-color-pink-500:#ec4899;--bcm-new-ds-color-pink-600:#db2777;--bcm-new-ds-color-pink-700:#be185d;--bcm-new-ds-color-pink-800:#9d174d;--bcm-new-ds-color-pink-900:#831843;--bcm-new-ds-color-rose:#f43f5e;--bcm-new-ds-color-rose-50:#fff1f2;--bcm-new-ds-color-rose-100:#ffe4e6;--bcm-new-ds-color-rose-200:#fecdd3;--bcm-new-ds-color-rose-300:#fda4af;--bcm-new-ds-color-rose-400:#fb7185;--bcm-new-ds-color-rose-500:#f43f5e;--bcm-new-ds-color-rose-600:#e11d48;--bcm-new-ds-color-rose-700:#be123c;--bcm-new-ds-color-rose-800:#9f1239;--bcm-new-ds-color-rose-900:#881337}*{box-sizing:border-box}.bcm-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:\"\";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}";
11
+ const listboxCss = "@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}.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:block;width:fit-content;height:fit-content;background-color:#ffffff}:host(.hidden){display:none}:host(.flex){width:100%;height:100%}:host(.flex) .bcm-listbox{max-height:100%;max-width:100%;height:100%;min-width:100%}:host(.full-width){width:100%}:host(.full-width) .bcm-listbox{max-width:100%;min-width:100%}.bcm-listbox{flex:1;background-color:var(--bcm-color-grey-1);width:fit-content;display:flex;flex-direction:column;height:100%;width:100%;min-width:256px;max-width:256px;min-height:auto;max-height:300px;box-sizing:border-box;border:1px solid var(--bcm-color-grey-5)}.bcm-listbox-list{flex:1;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;border-bottom:none}.bcm-listbox-list.loading{min-height:150px;position:relative;margin:0 8px 8px 8px}.bcm-listbox-list .loading{display:none;align-items:center;justify-content:center;height:100%;width:100%;position:absolute;background-color:rgba(255, 255, 255, 0.03)}.bcm-listbox-list .loading.show{display:flex}.bcm-listbox-list .list-container.hidden{display:none}.bcm-listbox .search{padding:8px;padding-bottom:0}.bcm-listbox .search.hidden{display:none !important}.bcm-listbox .empty{display:none;align-items:center;justify-content:center;flex:1;height:100%}.bcm-listbox .empty.show{display:flex}.bcm-listbox-footer{text-align:right;padding:4px 8px;background-color:var(--bcm-color-grey-3)}.label{display:block;color:var(--bcm-color-grey-9);margin-bottom:4px}.listbox-item{display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;color:var(--bcm-color-grey-8);user-select:none;background-color:var(--bcm-color-grey-1)}.listbox-item.hidden{display:none}.listbox-item .divider{padding:0 8px}.listbox-item-container{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;padding-left:8px;width:100%}.listbox-item-container .check-content{display:flex;align-items:center;justify-content:flex-start;width:16px;min-width:16px;margin-right:4px}.listbox-item-container .check-content .indeterminate{width:16px;height:16px;position:relative;display:block;padding-right:8px;cursor:pointer}.listbox-item-container .check-content .indeterminate:after{content:\"\";position:absolute;top:50%;left:9px;width:10px;height:10px;background-color:var(--bcm-color-prime-blue-6);transform:translate(-50%, -50%);opacity:1;z-index:1}.listbox-item-container .check-content .indeterminate:before{content:\"\";position:absolute;top:-1px;left:0px;width:16px;height:100%;border-radius:2px;background-color:transparent;border:1px solid var(--bcm-color-grey-5);opacity:1;z-index:2}.listbox-item-container .check-content .indeterminate:hover:before{border-color:var(--bcm-color-prime-blue-6);box-shadow:0px 2px 4px rgba(54, 121, 171, 0.5)}.listbox-item-container-text-content{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;cursor:pointer;width:100%;padding:4px 8px 4px 4px}.listbox-item-container.disabled{color:var(--bcm-color-grey-6)}.listbox-item-container.selected{color:var(--bcm-color-prime-blue-6)}.listbox-item-container.selected:hover:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.listbox-item-container:hover:not(.disabled),.listbox-item-container:active:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.caption-area{margin-bottom:8px;min-height:20px}.input-caption{display:block}.error.label{color:var(--bcm-color-red-6) !important}.error.bcm-listbox{border:1px solid var(--bcm-color-red-6) !important}.caption-default{color:#8C8C8C}.caption-primary{color:#4293CF}.caption-success{color:#52C41A}.caption-warning{color:#FA8C16}.caption-error{color:#F5222D}.input-large{height:38px}.input-medium{height:30px}.input-small{height:20px}";
15
12
 
16
- const BcmCheckboxLite = class {
17
- constructor(hostRef) {
18
- registerInstance(this, hostRef);
19
- this._id = Generate.UID();
20
- this.checked = true;
21
- this.indeterminate = null;
22
- this.disabled = false;
23
- this.hidden = false;
24
- this.required = false;
25
- this.readOnly = false;
26
- this.captionType = Bcm.Status.default;
27
- }
28
- render() {
29
- const { disabled, checked, readOnly, required, indeterminate, hidden, captionType, _id } = this;
30
- // const hostClasses = cs(
31
- // 'bcm-checkbox',
32
- // 'bcm-checkbox__type-default',
33
- // {
34
- // 'error': captionType == Bcm.Status.error,
35
- // hidden,
36
- // checked,
37
- // disabled,
38
- // required,
39
- // readOnly,
40
- // }
41
- // )
42
- // const bcmCheckboxIconClass = cs(
43
- // 'bcm-checkbox__icon',
44
- // 'bcm-checkbox__icon-lite',
45
- // 'bcm-checkbox__icon-' + indeterminate,
46
- // {
47
- // checked
48
- // }
49
- // )
50
- // const bcmCheckboxLabelClass = cs(
51
- // 'bcm-checkbox__label'
52
- // )
53
- const bcmCheckboxClass = classnames('bcm-checkbox', `bcm-checkbox-size-medium`, {
54
- 'error': captionType == Bcm.Status.error,
55
- hidden,
56
- checked,
57
- disabled,
58
- required
59
- });
60
- const bcmCheckboxIconClass = classnames('bcm-checkbox__label-icon', 'bcm-checkbox__label-icon-lite', 'bcm-checkbox__label-icon-' + indeterminate, {
61
- 'bcm-checkbox__label-icon-checked': checked,
62
- });
63
- const bcmCheckboxLabelClass = classnames('bcm-checkbox__label');
64
- const bcmCheckboxInputClass = classnames('bcm-checkbox__input');
65
- return (h(Host, { class: bcmCheckboxClass, style: { 'margin': '0' } }, h("div", { class: bcmCheckboxInputClass, style: {
66
- 'padding-top': '5px'
67
- } }, h("input", { id: _id, type: "checkbox", checked: checked, disabled: disabled, required: required, readOnly: readOnly }), h("label", { class: bcmCheckboxLabelClass, htmlFor: _id }, h("span", { class: bcmCheckboxIconClass }, h("div", { style: {
68
- 'height': '12px',
69
- 'min-height': '12px',
70
- 'width': '12px',
71
- 'min-width': '12px'
72
- } }, h("svg", { class: "bcm-icon-lite", width: "100%", height: "100%", viewBox: "0 0 11 9", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M1.91308 4.03516H1.91326C1.99256 4.03525 2.07081 4.05331 2.14213 4.08798C2.21341 4.12262 2.27591 4.17295 2.32497 4.2352L1.91308 4.03516ZM1.91308 4.03516H1.09394C0.890308 4.03516 0.776602 4.26975 0.902321 4.4292L0.902371 4.42927L4.11214 8.49567L4.11218 8.49573C4.32247 8.76188 4.72568 8.76114 4.93667 8.49617L4.93708 8.49566L10.6597 1.24398C10.6598 1.24378 10.66 1.24358 10.6602 1.24338C10.7884 1.08295 10.6699 0.85 10.4689 0.85H9.6498C9.48941 0.85 9.33668 0.9235 9.2376 1.05044C9.23751 1.05055 9.23742 1.05066 9.23734 1.05077L4.52403 7.02157M1.91308 4.03516L4.52403 7.02157M4.52403 7.02157L2.32506 4.23531L4.52403 7.02157Z", fill: "#ffffff" }))))))));
73
- }
74
- get el() { return getElement(this); }
75
- };
76
- BcmCheckboxLite.style = checkboxCss;
77
-
78
- const dividerCss = "@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}.bcm-divider{display:block}.bcm-divider.hidden{display:none}.bcm-divider__direction-horizontal{width:100%;height:1px;margin:4px auto;border-top:1px solid var(--bcm-color-grey-5)}.bcm-divider__direction-vertical{height:auto;width:1px;margin:0 4px;border-left:1px solid var(--bcm-color-grey-5)}";
79
-
80
- var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
81
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
82
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
83
- r = Reflect.decorate(decorators, target, key, desc);
84
- else
85
- for (var i = decorators.length - 1; i >= 0; i--)
86
- if (d = decorators[i])
87
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
88
- return c > 3 && r && Object.defineProperty(target, key, r), r;
89
- };
90
- const BcmDivider = class {
91
- constructor(hostRef) {
92
- registerInstance(this, hostRef);
93
- this.hidden = false;
94
- this.direction = Bcm.Direction.horizontal;
95
- }
96
- render() {
97
- const { hidden, direction } = this;
98
- const hostClasses = classnames('bcm-divider', 'bcm-divider__direction-' + direction, {
99
- 'hidden': hidden
100
- });
101
- return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null))));
102
- }
103
- get el() { return getElement(this); }
104
- };
105
- __decorate$4([
106
- IsLoad()
107
- ], BcmDivider.prototype, "el", void 0);
108
- BcmDivider.style = dividerCss;
109
-
110
- var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
111
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
112
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
113
- r = Reflect.decorate(decorators, target, key, desc);
114
- else
115
- for (var i = decorators.length - 1; i >= 0; i--)
116
- if (d = decorators[i])
117
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
118
- return c > 3 && r && Object.defineProperty(target, key, r), r;
119
- };
120
- const BcmEmpty = class {
121
- constructor(hostRef) {
122
- registerInstance(this, hostRef);
123
- this.icon = undefined;
124
- }
125
- render() {
126
- return (h(Host, { class: "tw-h-full tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-full tw-flex-1 tw-bg-slate-50 tw-text-center tw-rounded tw-gap-3" }, this.icon && h("i", { class: `tw-text-8 tw-text-amber-400 ${this.icon}` }), h("bcm-typography", { class: "tw-text-slate-400 tw-text-2" }, h("slot", null))));
127
- }
128
- get el() { return getElement(this); }
129
- };
130
- __decorate$3([
131
- IsLoad()
132
- ], BcmEmpty.prototype, "el", void 0);
133
-
134
- const listboxCss = "@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:block;width:fit-content;height:fit-content;background-color:#ffffff}:host(.hidden){display:none}:host(.flex){width:100%;height:100%}:host(.flex) .bcm-listbox{max-height:100%;max-width:100%;height:100%;min-width:100%}:host(.full-width){width:100%}:host(.full-width) .bcm-listbox{max-width:100%;min-width:100%}.bcm-listbox{flex:1;background-color:var(--bcm-color-grey-1);width:fit-content;display:flex;flex-direction:column;height:100%;width:100%;min-width:256px;max-width:256px;min-height:auto;max-height:300px;box-sizing:border-box;border:1px solid var(--bcm-color-grey-5)}.bcm-listbox-list{flex:1;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;border-bottom:none}.bcm-listbox-list.loading{min-height:150px;position:relative;margin:0 8px 8px 8px}.bcm-listbox-list .loading{display:none;align-items:center;justify-content:center;height:100%;width:100%;position:absolute;background-color:rgba(255, 255, 255, 0.03)}.bcm-listbox-list .loading.show{display:flex}.bcm-listbox-list .list-container.hidden{display:none}.bcm-listbox .search{padding:8px;padding-bottom:0}.bcm-listbox .search.hidden{display:none !important}.bcm-listbox .empty{display:none;align-items:center;justify-content:center;flex:1;height:100%}.bcm-listbox .empty.show{display:flex}.bcm-listbox-footer{text-align:right;padding:4px 8px;background-color:var(--bcm-color-grey-3)}.label{display:block;color:var(--bcm-color-grey-9);margin-bottom:4px}.listbox-item{display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;color:var(--bcm-color-grey-8);user-select:none;background-color:var(--bcm-color-grey-1)}.listbox-item.hidden{display:none}.listbox-item .divider{padding:0 8px}.listbox-item-container{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;padding-left:8px;width:100%}.listbox-item-container .check-content{display:flex;align-items:center;justify-content:flex-start;width:16px;min-width:16px;margin-right:4px}.listbox-item-container .check-content .indeterminate{width:16px;height:16px;position:relative;display:block;padding-right:8px;cursor:pointer}.listbox-item-container .check-content .indeterminate:after{content:\"\";position:absolute;top:50%;left:9px;width:10px;height:10px;background-color:var(--bcm-color-prime-blue-6);transform:translate(-50%, -50%);opacity:1;z-index:1}.listbox-item-container .check-content .indeterminate:before{content:\"\";position:absolute;top:-1px;left:0px;width:16px;height:100%;border-radius:2px;background-color:transparent;border:1px solid var(--bcm-color-grey-5);opacity:1;z-index:2}.listbox-item-container .check-content .indeterminate:hover:before{border-color:var(--bcm-color-prime-blue-6);box-shadow:0px 2px 4px rgba(54, 121, 171, 0.5)}.listbox-item-container-text-content{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;cursor:pointer;width:100%;padding:4px 8px 4px 4px}.listbox-item-container.disabled{color:var(--bcm-color-grey-6)}.listbox-item-container.selected{color:var(--bcm-color-prime-blue-6)}.listbox-item-container.selected:hover:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.listbox-item-container:hover:not(.disabled),.listbox-item-container:active:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.caption-area{margin-bottom:8px;min-height:20px}.input-caption{display:block}.error.label{color:var(--bcm-color-red-6) !important}.error.bcm-listbox{border:1px solid var(--bcm-color-red-6) !important}.caption-default{color:#8C8C8C}.caption-primary{color:#4293CF}.caption-success{color:#52C41A}.caption-warning{color:#FA8C16}.caption-error{color:#F5222D}.input-large{height:38px}.input-medium{height:30px}.input-small{height:20px}";
135
-
136
- var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
13
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
137
14
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
138
15
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
139
16
  r = Reflect.decorate(decorators, target, key, desc);
@@ -147,7 +24,7 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
147
24
  * @desc
148
25
  * @param str
149
26
  */
150
- const lowercase$2 = (str) => str.toLowerCase();
27
+ const lowercase$1 = (str) => str.toLowerCase();
151
28
  const BcmListbox = class {
152
29
  constructor(hostRef) {
153
30
  registerInstance(this, hostRef);
@@ -856,8 +733,8 @@ const BcmListbox = class {
856
733
  searchValue = await e.detail;
857
734
  inputText = (inputText === null || inputText === void 0 ? void 0 : inputText.textContent) || (inputText === null || inputText === void 0 ? void 0 : inputText.innerText) || "";
858
735
  if (searchValue) {
859
- var cacheInputText = lowercase$2(inputText);
860
- var cacheSearchValue = lowercase$2(searchValue);
736
+ var cacheInputText = lowercase$1(inputText);
737
+ var cacheSearchValue = lowercase$1(searchValue);
861
738
  var index = cacheInputText.indexOf(cacheSearchValue);
862
739
  if (index >= 0) {
863
740
  inputText = inputText.substring(0, index) + "<span class='highlight'>" + inputText.substring(index, index + searchValue.length) + "</span>" + inputText.substring(index + searchValue.length);
@@ -1063,12 +940,12 @@ const BcmListbox = class {
1063
940
  "value": ["handleChange"]
1064
941
  }; }
1065
942
  };
1066
- __decorate$2([
943
+ __decorate$1([
1067
944
  IsLoad()
1068
945
  ], BcmListbox.prototype, "el", void 0);
1069
946
  BcmListbox.style = listboxCss;
1070
947
 
1071
- const listboxGroupCss = "@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:block}:host(.hidden){display:none}.listbox-group-title{padding:4px 16px;background-color:var(--bcm-color-grey-7);position:sticky;top:0;z-index:1}";
948
+ const listboxGroupCss = "@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}.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:block}:host(.hidden){display:none}.listbox-group-title{padding:4px 16px;background-color:var(--bcm-color-grey-7);position:sticky;top:0;z-index:1}";
1072
949
 
1073
950
  const uppercase = (str) => str.toUpperCase();
1074
951
  const BcmListboxGroup = class {
@@ -1091,7 +968,7 @@ const BcmListboxGroup = class {
1091
968
  };
1092
969
  BcmListboxGroup.style = listboxGroupCss;
1093
970
 
1094
- const listboxItemCss = "@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:flex;flex:1}:host(.hidden){display:none}.listbox-item{display:flex;flex:1;align-items:stretch;justify-content:flex-start;color:var(--bcm-color-grey-8);user-select:none;background-color:var(--bcm-color-grey-1);display:none}.listbox-item.display{display:flex}.listbox-item-container{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;padding-left:8px;flex:1}.listbox-item-container .avatar{margin-right:4px}.listbox-item-container .check-content{display:flex;align-items:center;justify-content:flex-start;width:16px;min-width:16px;margin-right:4px}.listbox-item-container .check-content .indeterminate{width:16px;height:16px;position:relative;display:block;padding-right:8px;cursor:pointer}.listbox-item-container .check-content .indeterminate:after{content:\"\";position:absolute;top:50%;left:9px;width:10px;height:10px;background-color:var(--bcm-color-prime-blue-6);transform:translate(-50%, -50%);opacity:1;z-index:1}.listbox-item-container .check-content .indeterminate:before{content:\"\";position:absolute;top:-1px;left:0px;width:16px;height:100%;border-radius:2px;background-color:transparent;border:1px solid var(--bcm-color-grey-5);opacity:1;z-index:2}.listbox-item-container .check-content .indeterminate:hover:not(.disabled):before{border-color:var(--bcm-color-prime-blue-6);box-shadow:0px 2px 4px rgba(54, 121, 171, 0.5)}.listbox-item-container-html-content{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;cursor:pointer;flex:1}.listbox-item-container-html-content #text .highlight{background-color:var(--bcm-color-yellow-5)}.listbox-item-container-html-content.small{padding:0 8px 0 4px;padding:4px 8px 4px 4px}.listbox-item-container-html-content.medium{padding:8px 8px 8px 4px}.listbox-item-container-html-content.large{padding:8px 8px 8px 4px}.listbox-item-container-text-content{display:flex;align-items:center;justify-content:space-between;flex-direction:row;cursor:pointer;width:100%}.listbox-item-container-text-content #text .highlight{background-color:var(--bcm-color-yellow-5)}.listbox-item-container-text-content.small{padding:0 8px 0 4px;padding:4px 8px 4px 4px}.listbox-item-container-text-content.medium{padding:8px 8px 8px 4px}.listbox-item-container-text-content.large{padding:8px 8px 8px 4px}.listbox-item-container-text-content .icon{text-align:center;margin-right:8px}.listbox-item-container-text-content>div{display:flex;align-items:center;flex-direction:row;word-wrap:break-word}.listbox-item-container.disabled{color:var(--bcm-color-grey-6)}.listbox-item-container.selected{color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.listbox-item-container.selected:hover:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.listbox-item-container:hover:not(.disabled),.listbox-item-container:active:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}";
971
+ const listboxItemCss = "@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}.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:flex;flex:1}:host(.hidden){display:none}.listbox-item{display:flex;flex:1;align-items:stretch;justify-content:flex-start;color:var(--bcm-color-grey-8);user-select:none;background-color:var(--bcm-color-grey-1);display:none}.listbox-item.display{display:flex}.listbox-item-container{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;padding-left:8px;flex:1}.listbox-item-container .avatar{margin-right:4px}.listbox-item-container .check-content{display:flex;align-items:center;justify-content:flex-start;width:16px;min-width:16px;margin-right:4px}.listbox-item-container .check-content .indeterminate{width:16px;height:16px;position:relative;display:block;padding-right:8px;cursor:pointer}.listbox-item-container .check-content .indeterminate:after{content:\"\";position:absolute;top:50%;left:9px;width:10px;height:10px;background-color:var(--bcm-color-prime-blue-6);transform:translate(-50%, -50%);opacity:1;z-index:1}.listbox-item-container .check-content .indeterminate:before{content:\"\";position:absolute;top:-1px;left:0px;width:16px;height:100%;border-radius:2px;background-color:transparent;border:1px solid var(--bcm-color-grey-5);opacity:1;z-index:2}.listbox-item-container .check-content .indeterminate:hover:not(.disabled):before{border-color:var(--bcm-color-prime-blue-6);box-shadow:0px 2px 4px rgba(54, 121, 171, 0.5)}.listbox-item-container-html-content{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;cursor:pointer;flex:1}.listbox-item-container-html-content #text .highlight{background-color:var(--bcm-color-yellow-5)}.listbox-item-container-html-content.small{padding:0 8px 0 4px;padding:4px 8px 4px 4px}.listbox-item-container-html-content.medium{padding:8px 8px 8px 4px}.listbox-item-container-html-content.large{padding:8px 8px 8px 4px}.listbox-item-container-text-content{display:flex;align-items:center;justify-content:space-between;flex-direction:row;cursor:pointer;width:100%}.listbox-item-container-text-content #text .highlight{background-color:var(--bcm-color-yellow-5)}.listbox-item-container-text-content.small{padding:0 8px 0 4px;padding:4px 8px 4px 4px}.listbox-item-container-text-content.medium{padding:8px 8px 8px 4px}.listbox-item-container-text-content.large{padding:8px 8px 8px 4px}.listbox-item-container-text-content .icon{text-align:center;margin-right:8px}.listbox-item-container-text-content>div{display:flex;align-items:center;flex-direction:row;word-wrap:break-word}.listbox-item-container.disabled{color:var(--bcm-color-grey-6)}.listbox-item-container.selected{color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.listbox-item-container.selected:hover:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.listbox-item-container:hover:not(.disabled),.listbox-item-container:active:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}";
1095
972
 
1096
973
  const BcmListboxItem = class {
1097
974
  constructor(hostRef) {
@@ -1244,177 +1121,7 @@ const BcmListboxItem = class {
1244
1121
  };
1245
1122
  BcmListboxItem.style = listboxItemCss;
1246
1123
 
1247
- const oldSearchCss = "@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:block}:host(.hidden){display:none}";
1248
-
1249
- var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1250
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1251
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1252
- r = Reflect.decorate(decorators, target, key, desc);
1253
- else
1254
- for (var i = decorators.length - 1; i >= 0; i--)
1255
- if (d = decorators[i])
1256
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1257
- return c > 3 && r && Object.defineProperty(target, key, r), r;
1258
- };
1259
- const lowercase$1 = (str) => str.toLowerCase();
1260
- const BcmOldSearch = class {
1261
- constructor(hostRef) {
1262
- registerInstance(this, hostRef);
1263
- this.bcmOnSearch = createEvent(this, "bcm-on-search", 7);
1264
- this.bcmOnSearchValue = createEvent(this, "bcm-on-search-value", 7);
1265
- this.data = [];
1266
- this.searchFields = ['text', 'value' /*, ...*/];
1267
- this.returnField = 'idx';
1268
- this.searchSub = null;
1269
- this.hidden = false;
1270
- this.onlyChild = false;
1271
- this.clearable = false;
1272
- this.searchValue = '';
1273
- this.searchPlaceholder = 'Search';
1274
- this.disabled = false;
1275
- this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
1276
- this.results = [];
1277
- }
1278
- getInput() {
1279
- return this.el.shadowRoot.querySelector('bcm-old-input');
1280
- }
1281
- componentDidLoad() {
1282
- this.getInput().clearable = this.clearable;
1283
- }
1284
- listenBcmChange(e) {
1285
- e.stopPropagation();
1286
- }
1287
- async setValue(value) {
1288
- await this.getInput().setValue(value);
1289
- return value;
1290
- }
1291
- async select() {
1292
- await this.getInput().select();
1293
- this.bcmOnSearch.emit(true);
1294
- return true;
1295
- }
1296
- async setClear() {
1297
- await this.getInput().setClear();
1298
- this.bcmOnSearch.emit(true);
1299
- return true;
1300
- }
1301
- async searchArray(value, idFields = null) {
1302
- // console.log(this.data)
1303
- let cacheSearchFields = this.searchFields;
1304
- let arrayResult = [];
1305
- if (idFields) {
1306
- this.searchFields = [idFields];
1307
- }
1308
- value.forEach(item => {
1309
- // item = {[idFields]:item}
1310
- this.results = [];
1311
- // console.log(this.data)
1312
- this.nestedSearch(this.data, item, true);
1313
- arrayResult.push(...this.results);
1314
- });
1315
- this.searchFields = cacheSearchFields;
1316
- return arrayResult;
1317
- // await this.getInput().setValue( value )
1318
- // return value
1319
- }
1320
- nestedSearch(items, value, equal = false) {
1321
- var result;
1322
- items && (items.map((item) => {
1323
- this.searchFields.map(searchField => {
1324
- if (searchField in item) {
1325
- // debugger;
1326
- item[searchField] = lowercase$1(String(item[searchField]));
1327
- if (this.onlyChild) {
1328
- if (item[this.searchSub]) {
1329
- var temp = this.nestedSearch(item[this.searchSub], value, equal);
1330
- if (temp) {
1331
- this.results.push((result = String(item[this.returnField])));
1332
- this.results.push(temp);
1333
- }
1334
- }
1335
- else {
1336
- if (equal) {
1337
- // console.log(value)
1338
- if (item[searchField] == lowercase$1(String(value))) {
1339
- // if (item == lowercase(value)) {
1340
- this.results.push((result = String(item[this.returnField])));
1341
- // this.results.push (result = String(item))
1342
- }
1343
- }
1344
- else {
1345
- if (item[searchField].indexOf(lowercase$1(value)) !== -1) {
1346
- this.results.push((result = String(item[this.returnField])));
1347
- }
1348
- }
1349
- }
1350
- }
1351
- else {
1352
- if (item[this.searchSub]) {
1353
- var temp = this.nestedSearch(item[this.searchSub], value, equal);
1354
- if (temp) {
1355
- this.results.push((result = String(item[this.returnField])));
1356
- this.results.push(temp);
1357
- }
1358
- }
1359
- if (equal) {
1360
- // console.log(value)
1361
- if (item[searchField] == lowercase$1(String(value))) {
1362
- // if (item == lowercase(value)) {
1363
- this.results.push((result = String(item[this.returnField])));
1364
- // this.results.push (result = String(item))
1365
- }
1366
- }
1367
- else {
1368
- if (item[searchField].indexOf(lowercase$1(value)) !== -1) {
1369
- this.results.push((result = String(item[this.returnField])));
1370
- }
1371
- }
1372
- }
1373
- }
1374
- });
1375
- }));
1376
- return result;
1377
- }
1378
- /**
1379
- * @desc
1380
- * @param value
1381
- */
1382
- inputChange(value) {
1383
- this.results = [];
1384
- // data prop'unda arama yapılacak (searchFields prop'u içerisindeki alanlar ile)
1385
- // arama sonucunda eşleyen itemların 'idx', index
1386
- // değerleri, array şeklinde root component'e
1387
- // event ile gönderilecek
1388
- // Örneğin value == 'to' olduğunda aşağıdaki
1389
- // sonuçlar filtrelenmeli
1390
- // -->
1391
- //{ text: 'Mateusz Eaton', idx: 2 },
1392
- //{ text: 'Tony Vickers', idx: 3 },
1393
- // result array'i eşleşen itemların
1394
- // index numaralarını tutacak
1395
- // results = [2, 3]
1396
- // Örnek arama
1397
- // #
1398
- this.nestedSearch(this.data, value);
1399
- this.results = Array.from(new Set(this.results));
1400
- (value && ((this.results.length > 0 && this.bcmOnSearch.emit(this.results)) || this.bcmOnSearch.emit([-1]))) || this.bcmOnSearch.emit(true);
1401
- this.bcmOnSearchValue.emit(value);
1402
- }
1403
- render() {
1404
- const hostClasses = classnames(this.hidden ? 'hidden' : null);
1405
- return (h(Host, { class: hostClasses }, h("bcm-old-input", { placeholder: this.searchPlaceholder, "no-caption": true, "no-margin": true, "full-width": true, disabled: this.disabled, type: "search", "on-bcm-change": e => this.inputChange(e.detail), value: this.searchValue })));
1406
- }
1407
- get el() { return getElement(this); }
1408
- static get watchers() { return {
1409
- "searchValue": ["inputChange"]
1410
- }; }
1411
- };
1412
- __decorate$1([
1413
- IsLoad()
1414
- ], BcmOldSearch.prototype, "el", void 0);
1415
- BcmOldSearch.style = oldSearchCss;
1416
-
1417
- const treeviewCss = "@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:flex;flex-direction:column;height:100%;max-height:100%;border:1px solid var(--bcm-color-grey-5);box-sizing:border-box;background-color:#ffffff}:host(.empty) .treeview{display:flex;align-items:center;justify-content:center}.search{padding:8px;padding-bottom:0;margin-bottom:4px}.treeview{height:100%;max-height:100%;overflow:auto;background-color:var(--bcm-color-grey-1);padding:0 8px 8px 0}.treeview.loading{min-height:150px;position:relative;margin:0 8px 8px 8px}.treeview .loading{display:none;align-items:center;justify-content:center;height:100%;width:100%;position:absolute;background-color:rgba(255, 255, 255, 0.03)}.treeview .loading.show{display:flex}.treeview .empty{display:none;align-items:center;justify-content:center;height:100%}.treeview .empty bcm-empty{width:fit-content;margin:auto}.treeview .empty.show{display:flex}footer{text-align:right;padding:4px 8px;background-color:var(--bcm-color-grey-3);user-select:none}";
1124
+ const treeviewCss = "@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}.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:flex;flex-direction:column;height:100%;max-height:100%;border:1px solid var(--bcm-color-grey-5);box-sizing:border-box;background-color:#ffffff}:host(.empty) .treeview{display:flex;align-items:center;justify-content:center}.search{padding:8px;padding-bottom:0;margin-bottom:4px}.treeview{height:100%;max-height:100%;overflow:auto;background-color:var(--bcm-color-grey-1);padding:0 8px 8px 0}.treeview.loading{min-height:150px;position:relative;margin:0 8px 8px 8px}.treeview .loading{display:none;align-items:center;justify-content:center;height:100%;width:100%;position:absolute;background-color:rgba(255, 255, 255, 0.03)}.treeview .loading.show{display:flex}.treeview .empty{display:none;align-items:center;justify-content:center;height:100%}.treeview .empty bcm-empty{width:fit-content;margin:auto}.treeview .empty.show{display:flex}footer{text-align:right;padding:4px 8px;background-color:var(--bcm-color-grey-3);user-select:none}";
1418
1125
 
1419
1126
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1420
1127
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -2235,348 +1942,4 @@ __decorate([
2235
1942
  ], Bcmtreeview.prototype, "el", void 0);
2236
1943
  Bcmtreeview.style = treeviewCss;
2237
1944
 
2238
- const treeviewItemCss = "@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(.hidden){display:none}.treeview-item{display:flex;align-items:stretch;justify-content:flex-start;color:var(--bcm-color-grey-8);padding-left:8px;user-select:none;background-color:var(--bcm-color-grey-1)}.treeview-item-context-menu{display:none;position:absolute;height:auto;background-color:#ffffff;align-items:center;justify-content:center;flex-direction:column;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25)}.treeview-item-context-menu.show{display:flex}.treeview-item-context-menu span{text-align:left;min-width:100px;padding:5px 8px;font-size:14px;line-height:22px;color:var(--bcm-color-grey-8)}.treeview-item-context-menu span:hover{cursor:pointer;color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.treeview-item.focus .treeview-item-container{border:2px solid var(--bcm-color-prime-blue-2)}.treeview-item-container{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.treeview-item-container.disabled{color:var(--bcm-color-grey-6)}.treeview-item-container.disabled .text-content{cursor:not-allowed}.treeview-item-container.selected:not(.disabled){color:var(--bcm-color-prime-blue-6)}.treeview-item-container.selected:not(.disabled):hover:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.treeview-item-container:hover:not(.disabled),.treeview-item-container:active:not(.disabled){color:var(--bcm-color-prime-blue-6);background-color:var(--bcm-color-prime-blue-1)}.treeview-item-container>section:not(.favicon){display:flex;align-items:stretch;justify-content:flex-start;border:2px solid transparent;flex:1}.treeview-item-container>section.favicon{display:flex;align-items:center;justify-content:center;padding:0 5px;height:100%;cursor:pointer}.treeview-item-container>section.favicon:not(.favorite){display:none}.treeview-item-container:hover:not(.disabled) .favicon{display:flex}.treeview-inner{display:none}.treeview-inner.open{display:block}.collapse-content{display:flex;align-items:center;justify-content:center;width:16px;min-width:16px}.collapse-content.child{cursor:pointer}.check-content{display:flex;align-items:center;justify-content:flex-start;width:24px;min-width:24px;padding-left:8px}.check-content .indeterminate{width:16px;height:16px;position:relative;display:block;padding-right:8px;cursor:pointer}.check-content .indeterminate:after{content:\"\";position:absolute;top:50%;left:9px;width:10px;height:10px;background-color:var(--bcm-color-prime-blue-6);transform:translate(-50%, -50%);opacity:1;z-index:1}.check-content .indeterminate:before{content:\"\";position:absolute;top:-1px;left:0px;width:16px;height:100%;border-radius:2px;background-color:transparent;border:1px solid var(--bcm-color-grey-5);opacity:1;z-index:2}.check-content .indeterminate:hover:not(.disabled):before{border-color:var(--bcm-color-prime-blue-6);box-shadow:0px 2px 4px rgba(54, 121, 171, 0.5)}.check-content .indeterminate.disabled{cursor:not-allowed;background:linear-gradient(90deg, var(--bcm-color-grey-3) 18px, transparent 0px);border-color:var(--bcm-color-grey-3)}.check-content .indeterminate.disabled:after{background-color:var(--bcm-color-grey-6)}.check-content .indeterminate.disabled bcm-icon{filter:brightness(0);opacity:0.3}.text-content{display:flex;align-items:center;justify-content:space-between;cursor:pointer;width:100%;flex:1}.text-content .favicon{display:flex;flex-direction:row;align-items:center;grid-gap:4px}.text-content #text .highlight{background-color:var(--bcm-color-yellow-5)}.text-content.small{padding:0 8px 0 4px}.text-content.medium{padding:4px 8px 4px 4px}.text-content.large{padding:8px 8px 8px 4px}.text-content .icon{text-align:center;margin-right:8px}";
2239
-
2240
- const BcmtreeviewItem = class {
2241
- constructor(hostRef) {
2242
- registerInstance(this, hostRef);
2243
- this.treeviewItemSelected = createEvent(this, "bcm-treeview-item-selected", 7);
2244
- this.treeviewUnchecked = createEvent(this, "bcm-treeview-unchecked", 7);
2245
- this.treeviewChecked = createEvent(this, "bcm-treeview-checked", 7);
2246
- this.treeviewChange = createEvent(this, "bcm-treeview-change", 7);
2247
- this.treeviewIndeterminateUnchecked = createEvent(this, "bcm-treeview-indeterminate-unchecked", 7);
2248
- this.treeviewIndeterminateChecked = createEvent(this, "bcm-treeview-indeterminate-checked", 7);
2249
- this.itemChecked = createEvent(this, "bcm-treeview-check-item-checked", 7);
2250
- this.itemUnchecked = createEvent(this, "bcm-treeview-check-item-unchecked", 7);
2251
- this.groupCheck = createEvent(this, "bcm-treeview-check-group-check", 7);
2252
- this.favoriteStatus = createEvent(this, "bcm-favorite-status", 7);
2253
- this.firstRun = true;
2254
- this.items = undefined;
2255
- this.itemObject = undefined;
2256
- this.text = undefined;
2257
- this.tooltipText = undefined;
2258
- this._id = (Math.random() * 4).toString(16).replace('.', '');
2259
- this.parentId = undefined;
2260
- this.hasChild = false;
2261
- this.size = 'medium';
2262
- this.icon = 'bug';
2263
- this.open = false;
2264
- this.selected = false;
2265
- this.checkboxes = false;
2266
- this.showIcon = false;
2267
- this.favicon = false;
2268
- this.favorite = false;
2269
- this.checked = false;
2270
- this.checkTrigger = false;
2271
- this.focused = false;
2272
- this.disabled = false;
2273
- this.contextMenuShow = false;
2274
- this._contextMenu = [];
2275
- this.indeterminateState = 'uncheck';
2276
- this._internal_id = "";
2277
- this.menuPadding = 0;
2278
- this.childLength = 0;
2279
- this.indeterminate = false;
2280
- this.hidden = false;
2281
- this.contextMenu = [];
2282
- this.contextOffsetLeft = 0;
2283
- this.contextOffsetTop = 0;
2284
- }
2285
- /**
2286
- * @ComponentMethod
2287
- */
2288
- componentWillLoad() {
2289
- this.menuPadding = 24;
2290
- this.childLength = this.el.children.length;
2291
- this.parseItems(this._contextMenu);
2292
- }
2293
- /**
2294
- * @ComponentMethod
2295
- */
2296
- componentDidLoad() {
2297
- // if (!this.disabled){
2298
- // // if (this.selected) this.treeviewItemSelected.emit(this.itemObject)
2299
- // if (this.checked){
2300
- // // this.treeviewChecked.emit(this._id)
2301
- // this.handleCheckMouseUp()
2302
- // }
2303
- // }
2304
- if (!this.disabled && this.firstRun && this.checkTrigger) {
2305
- this.firstRun = false;
2306
- this.handleCheckMouseUp();
2307
- }
2308
- }
2309
- /**
2310
- * @desc
2311
- * @returns {void}
2312
- */
2313
- /* setIndeterminateState() {
2314
- if(this.getAllChilds().length > 0) {
2315
-
2316
- let state: string = 'uncheck'
2317
- let allChecked: boolean = true
2318
- let allUnchecked: boolean = true
2319
-
2320
- this.getAllChilds().map((item) => {
2321
- item.checked && (allUnchecked = false)
2322
- !item.checked && (allChecked = false)
2323
- });
2324
-
2325
- !allChecked && !allUnchecked
2326
- ? state = 'indeterminate'
2327
- : allChecked
2328
- ? state = 'determinate'
2329
- : state = 'uncheck'
2330
-
2331
- this.indeterminateState = state as any;
2332
-
2333
- }
2334
- } */
2335
- /* @Watch('indeterminateState')
2336
- onCheckedChange() {
2337
- if (this.indeterminateState == 'determinate') {
2338
- this.treeviewChecked.emit(this._id)
2339
- }else if (this.indeterminateState == 'uncheck') {
2340
- this.treeviewIndeterminateUnchecked.emit(this._id)
2341
- this.checked = false
2342
- }else{
2343
- this.treeviewIndeterminateUnchecked.emit(this._id)
2344
- this.checked = false
2345
- }
2346
- } */
2347
- /**
2348
- * @descc
2349
- * @param event
2350
- */
2351
- handletreeviewClearSelecteds(event) {
2352
- if (!this.disabled) {
2353
- if (event.detail && event.detail !== this.itemObject)
2354
- this.selected = false;
2355
- }
2356
- }
2357
- /**
2358
- * @descc
2359
- * @param event
2360
- */
2361
- ListentreeviewChange() {
2362
- //this.setIndeterminateState();
2363
- }
2364
- /**
2365
- * @descc
2366
- * @param event
2367
- */
2368
- ListentreeviewShowContext(event) {
2369
- this.contextOffsetTop = event.detail[1];
2370
- this.contextOffsetLeft = event.detail[2];
2371
- if (event.detail[0] && event.detail[0] === this._id) {
2372
- this.contextMenuShow = true;
2373
- }
2374
- else {
2375
- this.contextMenuShow = false;
2376
- }
2377
- }
2378
- /**
2379
- * @desc
2380
- * @param event
2381
- */
2382
- handleWindowClick(event) {
2383
- const target = event.target;
2384
- if (target === this.el)
2385
- return;
2386
- this.contextMenuShow = false;
2387
- }
2388
- /**
2389
- * @desc
2390
- */
2391
- handleClick() {
2392
- if (!this.disabled) {
2393
- this.selected = true;
2394
- this.treeviewItemSelected.emit(this.itemObject);
2395
- }
2396
- }
2397
- /**
2398
- * @desc
2399
- */
2400
- handleFavClick(e) {
2401
- if (!this.disabled) {
2402
- this.favorite = !this.favorite;
2403
- if (!this.itemObject["rightSlot"]) {
2404
- this.itemObject["rightSlot"] = {};
2405
- }
2406
- this.itemObject["rightSlot"]["favorite"] = this.favorite;
2407
- this.favoriteStatus.emit(this.itemObject);
2408
- e.stopPropagation();
2409
- e.preventDefault();
2410
- }
2411
- }
2412
- /**
2413
- * @desc
2414
- */
2415
- handleOpen() {
2416
- this.open = !this.open;
2417
- }
2418
- getRootChilds(element = this.el) {
2419
- return getChilds(element, 'bcm-treeview-item');
2420
- }
2421
- getAllChilds(element = this.el) {
2422
- let returnAllItems = [];
2423
- getChilds(element, 'bcm-treeview-item').forEach(items => {
2424
- this.getAllChilds(items) && (returnAllItems = [...returnAllItems, ...this.getAllChilds(items)]);
2425
- returnAllItems = [...returnAllItems,
2426
- items
2427
- ];
2428
- });
2429
- return returnAllItems;
2430
- }
2431
- /**
2432
- * @desc
2433
- * -
2434
- */
2435
- checkGroupState() {
2436
- // debugger;
2437
- const childsRoot = this.getRootChilds();
2438
- let [state, allChecked, allUnchecked] = ['uncheck', true, true];
2439
- if (childsRoot.length > 0) {
2440
- childsRoot.forEach(checkbox => {
2441
- (checkbox.checked || checkbox.indeterminateState === 'indeterminate') && (allUnchecked = false);
2442
- !checkbox.checked && (allChecked = false);
2443
- });
2444
- !allChecked && !allUnchecked
2445
- ? state = 'indeterminate'
2446
- : allChecked
2447
- ? state = 'determinate'
2448
- : state = 'uncheck';
2449
- this.indeterminateState = state;
2450
- if (state === 'determinate') {
2451
- this.checked = true;
2452
- // if(this.checked) {
2453
- this.treeviewChecked.emit(this._id);
2454
- // }
2455
- }
2456
- else {
2457
- this.checked = false;
2458
- this.treeviewUnchecked.emit(this._id);
2459
- }
2460
- }
2461
- else {
2462
- if (this.checked) {
2463
- this.checked = false;
2464
- this.treeviewUnchecked.emit(this._id);
2465
- }
2466
- else {
2467
- this.checked = true;
2468
- this.treeviewChecked.emit(this._id);
2469
- }
2470
- }
2471
- }
2472
- /**
2473
- * @Event
2474
- * @desc
2475
- * -
2476
- */
2477
- handleCheckMouseUp() {
2478
- const checked = this.checked;
2479
- const state = this.indeterminateState;
2480
- if (!this.hasChild) {
2481
- !checked
2482
- ? this.checked = true
2483
- : this.checked = false;
2484
- if (this.checked) {
2485
- this.treeviewChecked.emit(this._id);
2486
- }
2487
- else {
2488
- this.treeviewUnchecked.emit(this._id);
2489
- }
2490
- this.groupCheck.emit(this.parentId);
2491
- return;
2492
- }
2493
- const childs = this.getAllChilds();
2494
- if (state === 'indeterminate' || state === 'uncheck') {
2495
- childs.forEach(child => {
2496
- child.checked = true;
2497
- // if(this.checked) {
2498
- this.treeviewChecked.emit(child._id);
2499
- // }
2500
- child.indeterminateState = 'determined';
2501
- });
2502
- }
2503
- else {
2504
- childs.forEach(child => {
2505
- child.checked = false;
2506
- this.treeviewUnchecked.emit(child._id);
2507
- child.indeterminateState = 'uncheck';
2508
- });
2509
- }
2510
- this.checkGroupState();
2511
- this.groupCheck.emit(this.parentId);
2512
- }
2513
- checkGroup(e) {
2514
- const { detail: groupId } = e;
2515
- if (!groupId || this._id !== groupId)
2516
- return;
2517
- this.checkGroupState();
2518
- this.groupCheck.emit(this.parentId);
2519
- }
2520
- /**
2521
- * @desc
2522
- * @param item
2523
- */
2524
- contextItemRenderer(item) {
2525
- return (h("span", null, item.title));
2526
- }
2527
- /**
2528
- * @desc
2529
- * @param newValue
2530
- * @returns {void}
2531
- */
2532
- parseItems(newValue) {
2533
- if (newValue) {
2534
- typeof newValue == 'string'
2535
- ? this.contextMenu = JSON.parse(newValue)
2536
- : this.contextMenu = newValue;
2537
- }
2538
- }
2539
- render() {
2540
- const { _id, text, tooltipText, size, icon, open, childLength, checkboxes, showIcon, checked, indeterminateState, focused, contextMenuShow } = this;
2541
- const menuPadding = this.menuPadding + 'px';
2542
- const textContent = classnames('text-content', size, 'size-2'
2543
- // {
2544
- // 'size-2': size === 'small' || size === 'medium',
2545
- // 'size-3': size === 'large',
2546
- // }
2547
- );
2548
- const classes = classnames('treeview-item', {
2549
- 'focus': focused,
2550
- 'open': open,
2551
- 'selected': this.selected
2552
- });
2553
- const treeviewContextMenu = classnames('treeview-item-context-menu', {
2554
- 'show': contextMenuShow
2555
- });
2556
- const treeviewInner = classnames('treeview-inner', {
2557
- 'open': open,
2558
- });
2559
- const indeterminate = classnames('indeterminate', {
2560
- 'disabled': this.disabled,
2561
- });
2562
- const treeviewItemContainer = classnames('treeview-item-container', {
2563
- 'selected': this.selected,
2564
- 'disabled': this.disabled
2565
- });
2566
- const collapseContent = classnames('collapse-content', {
2567
- 'child': childLength > 0,
2568
- });
2569
- const hostClasses = classnames(this.hidden ? 'hidden' : null);
2570
- const faviconClass = classnames("favicon", {
2571
- "favorite": this.favorite
2572
- });
2573
- return (h(Host, { class: hostClasses }, h("div", { class: classes }, h("div", { class: collapseContent, id: "collapse-button", onClick: () => childLength > 0 && this.handleOpen() }, childLength > 0 && (h("bcm-icon", { class: "collapse-icon", icon: `far fa-${open ? 'caret-down' : 'caret-right'}` }))), h("div", { class: treeviewItemContainer }, h("section", { onMouseUp: () => this.handleCheckMouseUp() }, checkboxes && (h("div", { class: "check-content" }, indeterminateState == 'indeterminate' && (h("span", { class: indeterminate })) || (h("bcm-checkbox", { id: 'check-' + _id, name: 'check-' + _id, checked: checked, disabled: this.disabled, noCaption: true })))), h("div", { class: textContent, onClick: () => this.handleClick(), title: tooltipText }, showIcon && icon && (h("bcm-icon", { class: "icon", icon: icon })), h("span", { id: "text" }, text))), this.favicon && (h("section", { class: faviconClass, onClick: (e) => this.handleFavClick(e) }, h("bcm-icon", { title: this.favorite ? "Click to remove from favorite list" : "Click to add to your favourites list", icon: "far fa-star" })))), !checkboxes && (h("div", { class: treeviewContextMenu, style: { top: this.contextOffsetTop + 'px', left: this.contextOffsetLeft + 'px' } }, this.contextMenu.length !== 0 && this.contextMenu.map((item) => (this.contextItemRenderer(item)))))), h("div", { class: treeviewInner, style: { paddingLeft: menuPadding } }, h("slot", null))));
2574
- }
2575
- get el() { return getElement(this); }
2576
- static get watchers() { return {
2577
- "_contextMenu": ["parseItems"]
2578
- }; }
2579
- };
2580
- BcmtreeviewItem.style = treeviewItemCss;
2581
-
2582
- export { BcmCheckboxLite as bcm_checkbox_lite, BcmDivider as bcm_divider, BcmEmpty as bcm_empty, BcmListbox as bcm_listbox, BcmListboxGroup as bcm_listbox_group, BcmListboxItem as bcm_listbox_item, BcmOldSearch as bcm_old_search, Bcmtreeview as bcm_treeview, BcmtreeviewItem as bcm_treeview_item };
1945
+ export { BcmListbox as bcm_listbox, BcmListboxGroup as bcm_listbox_group, BcmListboxItem as bcm_listbox_item, Bcmtreeview as bcm_treeview };