bromcom-ui 2.9.0-rc.8 → 2.9.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 (495) 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/global.js +6 -0
  4. package/dist/bromcom-ui/global/helper/toast.ts +2 -0
  5. package/dist/bromcom-ui/p-08c75801.js +5 -0
  6. package/dist/bromcom-ui/p-0dacfdbc.entry.js +5 -0
  7. package/dist/bromcom-ui/{p-24f0e23a.entry.js → p-13f6e1a7.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-5c3e9ac9.entry.js → p-14cafd64.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-170cf07d.js +6 -0
  10. package/dist/bromcom-ui/p-19634d99.js +5 -0
  11. package/dist/bromcom-ui/{p-e4477593.entry.js → p-1c801d0c.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-48f85544.entry.js → p-1c9314bd.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-6bcaf906.entry.js → p-1cfe5a5d.entry.js} +1 -1
  14. package/dist/bromcom-ui/p-20ba9769.entry.js +5 -0
  15. package/dist/bromcom-ui/{p-8ded5483.entry.js → p-228c74e9.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-65f01d32.entry.js → p-22eb4e12.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-f331e009.entry.js → p-26290ed5.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-240151d4.entry.js → p-2aaeb247.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-73ca7c0a.entry.js → p-2b822458.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-dbc4c30c.js → p-2c5a0863.js} +1 -1
  21. package/dist/bromcom-ui/p-304bfa08.entry.js +5 -0
  22. package/dist/bromcom-ui/p-3432a82d.js +19 -0
  23. package/dist/bromcom-ui/p-399bce44.entry.js +5 -0
  24. package/dist/bromcom-ui/p-41cea609.entry.js +7 -0
  25. package/dist/bromcom-ui/{p-6c3e9e10.entry.js → p-430c0a24.entry.js} +1 -1
  26. package/dist/bromcom-ui/p-434c170e.js +5 -0
  27. package/dist/bromcom-ui/{p-d0bb9a84.entry.js → p-440bbaaa.entry.js} +1 -1
  28. package/dist/bromcom-ui/p-47400be4.entry.js +5 -0
  29. package/dist/bromcom-ui/{p-f5bed571.entry.js → p-4a2de9ce.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-4f42085a.entry.js +5 -0
  31. package/dist/bromcom-ui/{p-ff48f5b2.entry.js → p-5232e011.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-53e91ae6.js +5 -0
  33. package/dist/bromcom-ui/{p-c75519d5.js → p-54211561.js} +1 -1
  34. package/dist/bromcom-ui/{p-dc2c4b14.entry.js → p-5699f67d.entry.js} +1 -1
  35. package/dist/bromcom-ui/p-5871767a.entry.js +5 -0
  36. package/dist/bromcom-ui/{p-45767d1d.entry.js → p-588165ef.entry.js} +1 -1
  37. package/dist/bromcom-ui/p-5916e844.entry.js +5 -0
  38. package/dist/bromcom-ui/{p-499bb928.entry.js → p-5fb0f815.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-2fc584c4.js → p-61db1f1f.js} +1 -1
  40. package/dist/bromcom-ui/{p-89e1d8c5.entry.js → p-626b805d.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-d389b202.entry.js → p-647de93f.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-64fad38b.js +11 -0
  43. package/dist/bromcom-ui/{p-03134b6f.entry.js → p-67343ad8.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-bd51d347.entry.js → p-69260d36.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-6cf1e8a2.entry.js +5 -0
  46. package/dist/bromcom-ui/{p-4aa0e6b1.js → p-6edf985f.js} +1 -1
  47. package/dist/bromcom-ui/p-73ec379d.entry.js +5 -0
  48. package/dist/bromcom-ui/{p-3cde7f38.js → p-74e6d2b6.js} +1 -1
  49. package/dist/bromcom-ui/p-75ec5cc6.entry.js +5 -0
  50. package/dist/bromcom-ui/p-784a7bb0.entry.js +5 -0
  51. package/dist/bromcom-ui/p-78f0fe00.js +5 -0
  52. package/dist/bromcom-ui/p-7b05abe8.entry.js +5 -0
  53. package/dist/bromcom-ui/{p-d995750a.entry.js → p-7c5763cc.entry.js} +1 -1
  54. package/dist/bromcom-ui/p-7cb30513.js +5 -0
  55. package/dist/bromcom-ui/{p-81eeccfa.entry.js → p-7d18ce0e.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
  57. package/dist/bromcom-ui/p-80ee3d97.entry.js +5 -0
  58. package/dist/bromcom-ui/p-822d590f.entry.js +5 -0
  59. package/dist/bromcom-ui/p-85eedabc.js +5 -0
  60. package/dist/bromcom-ui/p-89a28750.entry.js +5 -0
  61. package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
  62. package/dist/bromcom-ui/p-8f45ba5f.entry.js +5 -0
  63. package/dist/bromcom-ui/p-9075a184.entry.js +5 -0
  64. package/dist/bromcom-ui/{p-f58c1fbe.entry.js → p-913c55ee.entry.js} +1 -1
  65. package/dist/bromcom-ui/p-9164639f.entry.js +5 -0
  66. package/dist/bromcom-ui/p-9850cbce.js +5 -0
  67. package/dist/bromcom-ui/{p-8bcfe3b3.entry.js → p-99824717.entry.js} +1 -1
  68. package/dist/bromcom-ui/p-9bd5f3b4.entry.js +5 -0
  69. package/dist/bromcom-ui/{p-6aeaef2a.entry.js → p-a006e404.entry.js} +1 -1
  70. package/dist/bromcom-ui/{p-e9842c26.js → p-a0ba474b.js} +1 -1
  71. package/dist/bromcom-ui/{p-b60bcecf.js → p-a1b1750c.js} +1 -1
  72. package/dist/bromcom-ui/{p-8fcb5846.js → p-a2c364af.js} +1 -1
  73. package/dist/bromcom-ui/p-a40a5474.entry.js +5 -0
  74. package/dist/bromcom-ui/{p-7c6e3ae5.entry.js → p-a664cc20.entry.js} +1 -1
  75. package/dist/bromcom-ui/p-a9eb0321.js +315 -0
  76. package/dist/bromcom-ui/{p-2acd6bee.entry.js → p-ab0b4d1e.entry.js} +1 -1
  77. package/dist/bromcom-ui/{p-ea4d8a18.entry.js → p-ae57f046.entry.js} +1 -1
  78. package/dist/bromcom-ui/{p-2caa75a4.entry.js → p-b4f033b4.entry.js} +1 -1
  79. package/dist/bromcom-ui/p-b81e8f91.js +5 -0
  80. package/dist/bromcom-ui/{p-503feae9.entry.js → p-b8a8bd1d.entry.js} +1 -1
  81. package/dist/bromcom-ui/{p-b4ac5904.js → p-b901e1ce.js} +1 -1
  82. package/dist/bromcom-ui/p-ba74a838.entry.js +5 -0
  83. package/dist/bromcom-ui/{p-c42dffea.entry.js → p-ba949d4a.entry.js} +1 -1
  84. package/dist/bromcom-ui/{p-f4538abb.entry.js → p-ba9eff2a.entry.js} +1 -1
  85. package/dist/bromcom-ui/{p-fb4b5224.entry.js → p-bd2b6de5.entry.js} +1 -1
  86. package/dist/bromcom-ui/{p-ebee9f45.entry.js → p-c1a992e7.entry.js} +1 -1
  87. package/dist/bromcom-ui/{p-908b1b5d.js → p-c8751181.js} +1 -1
  88. package/dist/bromcom-ui/p-ccf0872d.js +5 -0
  89. package/dist/bromcom-ui/p-cf659967.entry.js +5 -0
  90. package/dist/bromcom-ui/{p-8d0ca8c2.js → p-d153c7fc.js} +1 -1
  91. package/dist/bromcom-ui/p-d3db9e02.entry.js +5 -0
  92. package/dist/bromcom-ui/{p-7ddaedb7.entry.js → p-d551a51d.entry.js} +1 -1
  93. package/dist/bromcom-ui/{p-ec36d0c0.entry.js → p-d68c2c0a.entry.js} +1 -1
  94. package/dist/bromcom-ui/{p-e5a0d8f6.entry.js → p-d724cfa9.entry.js} +1 -1
  95. package/dist/bromcom-ui/{p-af0a447d.entry.js → p-d7ca94e1.entry.js} +1 -1
  96. package/dist/bromcom-ui/p-dd49ae28.entry.js +5 -0
  97. package/dist/bromcom-ui/p-e2294927.entry.js +5 -0
  98. package/dist/bromcom-ui/{p-1b1f4b44.entry.js → p-e688b044.entry.js} +1 -1
  99. package/dist/bromcom-ui/p-ec0224fb.entry.js +5 -0
  100. package/dist/bromcom-ui/{p-6ca980dd.entry.js → p-ece578ef.entry.js} +1 -1
  101. package/dist/bromcom-ui/{p-1be22601.entry.js → p-ef8c5b55.entry.js} +1 -1
  102. package/dist/bromcom-ui/p-f711588b.js +5 -0
  103. package/dist/bromcom-ui/p-fe1f2413.entry.js +5 -0
  104. package/dist/bromcom-ui/{p-a82f2b2a.entry.js → p-fe83cdd3.entry.js} +1 -1
  105. package/dist/bromcom-ui/{p-f619f9f9.entry.js → p-fff1a0f9.entry.js} +1 -1
  106. package/dist/bromcom-ui/static/message-bot.svg +2 -2
  107. package/dist/cjs/{_commonjsHelpers-bd20f4c0.js → _commonjsHelpers-ed84c3ca.js} +16 -0
  108. package/dist/cjs/{bcm-ab921827.js → bcm-7f703055.js} +33 -31
  109. package/dist/cjs/bcm-accordion.cjs.entry.js +5 -5
  110. package/dist/cjs/bcm-alert.cjs.entry.js +9 -9
  111. package/dist/cjs/bcm-attendance.cjs.entry.js +5 -5
  112. package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -3
  113. package/dist/cjs/bcm-avatar_2.cjs.entry.js +209 -0
  114. package/dist/cjs/bcm-box.cjs.entry.js +1 -1
  115. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +6 -6
  116. package/dist/cjs/bcm-button-group.cjs.entry.js +11 -11
  117. package/dist/cjs/bcm-button_15.cjs.entry.js +35172 -0
  118. package/dist/cjs/bcm-card.cjs.entry.js +10 -10
  119. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +29 -29
  120. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +10 -10
  121. package/dist/cjs/{bcm-checkbox.cjs.entry.js → bcm-checkbox_2.cjs.entry.js} +28 -17
  122. package/dist/cjs/bcm-chip-group.cjs.entry.js +15 -16
  123. package/dist/cjs/bcm-chip.cjs.entry.js +7 -7
  124. package/dist/cjs/bcm-collapse-group.cjs.entry.js +1 -1
  125. package/dist/cjs/bcm-collapse.cjs.entry.js +6 -6
  126. package/dist/cjs/bcm-color-input.cjs.entry.js +10 -11
  127. package/dist/cjs/bcm-colorpicker.cjs.entry.js +3 -3
  128. package/dist/cjs/bcm-content.cjs.entry.js +1 -1
  129. package/dist/cjs/bcm-default.cjs.entry.js +5 -5
  130. package/dist/cjs/bcm-drawer.cjs.entry.js +13 -14
  131. package/dist/cjs/bcm-dropdown.cjs.entry.js +119 -0
  132. package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
  133. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +9 -9
  134. package/dist/cjs/bcm-form-group.cjs.entry.js +1 -1
  135. package/dist/cjs/bcm-input-custom.cjs.entry.js +6 -6
  136. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +309 -0
  137. package/dist/cjs/bcm-item.cjs.entry.js +72 -0
  138. package/dist/cjs/bcm-items.cjs.entry.js +49 -0
  139. package/dist/cjs/bcm-link.cjs.entry.js +6 -6
  140. package/dist/cjs/bcm-list_3.cjs.entry.js +169 -1691
  141. package/dist/cjs/bcm-menu.cjs.entry.js +150 -0
  142. package/dist/cjs/bcm-message.cjs.entry.js +3 -3
  143. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +11 -12
  144. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +10 -11
  145. package/dist/cjs/bcm-modal-2.cjs.entry.js +12 -13
  146. package/dist/cjs/bcm-modal.cjs.entry.js +11 -11
  147. package/dist/cjs/bcm-notification.cjs.entry.js +3 -3
  148. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +3 -3
  149. package/dist/cjs/bcm-overlay_2.cjs.entry.js +4 -4
  150. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +10 -10
  151. package/dist/cjs/bcm-popconfirm.cjs.entry.js +9 -9
  152. package/dist/cjs/bcm-popover.cjs.entry.js +229 -0
  153. package/dist/cjs/bcm-progress.cjs.entry.js +9 -9
  154. package/dist/cjs/bcm-radio-group.cjs.entry.js +17 -18
  155. package/dist/cjs/bcm-radio.cjs.entry.js +18 -19
  156. package/dist/cjs/bcm-range.cjs.entry.js +10 -10
  157. package/dist/cjs/bcm-result.cjs.entry.js +3 -3
  158. package/dist/cjs/bcm-select-group.cjs.entry.js +3 -3
  159. package/dist/cjs/bcm-select-option.cjs.entry.js +3 -3
  160. package/dist/cjs/bcm-select.cjs.entry.js +5 -5
  161. package/dist/cjs/bcm-skeleton.cjs.entry.js +5 -5
  162. package/dist/cjs/bcm-step.cjs.entry.js +8 -8
  163. package/dist/cjs/bcm-stepper.cjs.entry.js +15 -16
  164. package/dist/cjs/bcm-switch.cjs.entry.js +15 -15
  165. package/dist/cjs/bcm-tab-group.cjs.entry.js +209 -0
  166. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +58 -0
  167. package/dist/cjs/bcm-tab-item.cjs.entry.js +90 -0
  168. package/dist/cjs/bcm-tab-pane.cjs.entry.js +3 -3
  169. package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
  170. package/dist/cjs/bcm-table.cjs.entry.js +7648 -38
  171. package/dist/cjs/bcm-tabs-content.cjs.entry.js +3 -3
  172. package/dist/cjs/bcm-tabs.cjs.entry.js +3 -3
  173. package/dist/cjs/bcm-tag.cjs.entry.js +19 -19
  174. package/dist/cjs/bcm-text.cjs.entry.js +49 -0
  175. package/dist/cjs/bcm-textarea.cjs.entry.js +13 -13
  176. package/dist/cjs/bcm-timeline-item.cjs.entry.js +3 -3
  177. package/dist/cjs/bcm-timeline.cjs.entry.js +3 -3
  178. package/dist/cjs/bcm-toast.cjs.entry.js +38 -19
  179. package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
  180. package/dist/cjs/bromcom-ui.cjs.js +5 -4
  181. package/dist/cjs/{caption-template-8d099fd6.js → caption-template-81dbc490.js} +2 -2
  182. package/dist/cjs/{color-helper-7ab15732.js → color-helper-c3a819ea.js} +1 -1
  183. package/dist/cjs/{colors-e1d142ad.js → colors-078851ec.js} +1 -1
  184. package/dist/cjs/{floating-ui-c9fc2202.js → floating-ui-b441ea7c.js} +2 -2
  185. package/dist/cjs/{generate-cae9c0fb.js → generate-1dfe001a.js} +2 -2
  186. package/dist/cjs/{global-3ce50f9f.js → global-4a6abd46.js} +6 -1
  187. package/dist/cjs/index-5279dea2.js +2571 -0
  188. package/dist/cjs/{index-906fb4e5.js → index-7eed931f.js} +1631 -25
  189. package/dist/cjs/{index-fdbf5226.js → index-95ae50d0.js} +1 -1
  190. package/dist/cjs/{index-ddfd6d8f.js → index-c591ecec.js} +4 -0
  191. package/dist/cjs/{index-4506fcd7.js → index-d321de96.js} +1 -1
  192. package/dist/cjs/{input-template-a7f8f2e9.js → input-template-41868c68.js} +8 -8
  193. package/dist/cjs/{is-load-decorator-137dded1.js → is-load-decorator-15036f37.js} +3 -2
  194. package/dist/cjs/{json-parse-decarator-34a3d26e.js → json-parse-decarator-f29c368a.js} +2 -2
  195. package/dist/cjs/{label-template-4d5f99a5.js → label-template-80235581.js} +5 -5
  196. package/dist/cjs/loader.cjs.js +5 -4
  197. package/dist/cjs/{number-helper-101d8aa8.js → number-helper-2b9c1f9d.js} +1 -1
  198. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +11 -11
  199. package/dist/cjs/old-bcm-popover.cjs.entry.js +9 -9
  200. package/dist/cjs/{package-ed8b3296.js → package-66b81414.js} +1 -1
  201. package/dist/cjs/{popover-placement-ccb40073.js → popover-placement-f20020a6.js} +1 -1
  202. package/dist/cjs/{slot-template-d70ea082.js → slot-template-873b0cd5.js} +2 -2
  203. package/dist/cjs/{stepper-states-308c8d3e.js → stepper-states-6ccb8ab3.js} +3 -3
  204. package/dist/cjs/{string-helper-d681e5c7.js → string-helper-fda7cbba.js} +5 -5
  205. package/dist/cjs/tooltip-helper-0eb3ef13.js +157 -0
  206. package/dist/cjs/{validators-26badb68.js → validators-97a46a9e.js} +6 -1
  207. package/dist/cjs/watermark-2c23c8f1.js +47499 -0
  208. package/dist/collection/assets/csv.svg +9 -0
  209. package/dist/collection/assets/excel.svg +9 -0
  210. package/dist/collection/assets/pdf.svg +9 -0
  211. package/dist/collection/collection-manifest.json +5 -2
  212. package/dist/collection/components/atoms/avatar/avatar.js +21 -23
  213. package/dist/collection/components/atoms/avatar/avatar.style.js +24 -21
  214. package/dist/collection/components/atoms/badge/badge.js +2 -1
  215. package/dist/collection/components/atoms/badge/badge.style.js +36 -24
  216. package/dist/collection/components/atoms/button/button.css +55 -0
  217. package/dist/collection/components/atoms/button/button.js +1 -1
  218. package/dist/collection/components/atoms/icon/static/message-bot.svg +2 -2
  219. package/dist/collection/components/molecules/dropdown/dropdown.js +1 -1
  220. package/dist/collection/components/molecules/input/input.js +0 -2
  221. package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +291 -0
  222. package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +751 -0
  223. package/dist/collection/components/molecules/input-dropdown/input-dropdown.style.js +73 -0
  224. package/dist/collection/components/molecules/linked/linked.js +5 -29
  225. package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
  226. package/dist/collection/components/molecules/popover/popover.js +1 -1
  227. package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
  228. package/dist/collection/components/organism/date-picker/date-picker.css +1 -1
  229. package/dist/collection/components/organism/date-picker/date-picker.js +20 -1
  230. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +13 -1
  231. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +21 -1
  232. package/dist/collection/components/organism/form/form.js +1 -0
  233. package/dist/collection/components/organism/form-2/bcm-form-components.js +4 -1
  234. package/dist/collection/components/organism/list/list.css +1 -1
  235. package/dist/collection/components/organism/list/list.js +63 -22
  236. package/dist/collection/components/organism/time-picker/time-picker.css +1 -1
  237. package/dist/collection/components/organism/time-picker/time-picker.js +20 -1
  238. package/dist/collection/components/other/toast/toast.js +48 -11
  239. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +1 -1
  240. package/dist/collection/components/third-parts/rc-picker/date.js +862 -0
  241. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +1009 -0
  242. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +550 -0
  243. package/dist/collection/components/third-parts/table/table-definations.js +42 -0
  244. package/dist/collection/components/third-parts/table/table.css +136 -0
  245. package/dist/collection/components/third-parts/table/table.js +288 -0
  246. package/dist/collection/decorators/bcm-decorator.js +28 -0
  247. package/dist/collection/decorators/event-decorator.js +31 -0
  248. package/dist/collection/decorators/index.js +1 -0
  249. package/dist/collection/decorators/is-load-decorator.js +2 -1
  250. package/dist/collection/global/global.js +6 -0
  251. package/dist/collection/global/helper/toast.js +1 -0
  252. package/dist/collection/global/helper/toast.ts +2 -0
  253. package/dist/collection/helper/string-helper.js +2 -2
  254. package/dist/collection/models/bcm.js +29 -27
  255. package/dist/collection/templates/index.js +2 -0
  256. package/dist/collection/templates/toolbar-hamburger-template.js +14 -0
  257. package/dist/collection/templates/toolbar-template.js +15 -0
  258. package/dist/components/_commonjsHelpers.js +16 -1
  259. package/dist/components/avatar.js +46 -44
  260. package/dist/components/badge.js +39 -70
  261. package/dist/components/bcm-chip-group.js +14 -8
  262. package/dist/components/bcm-date-picker.js +4 -2
  263. package/dist/components/bcm-date.d.ts +11 -0
  264. package/dist/components/bcm-date.js +232 -0
  265. package/dist/components/bcm-form-2.js +4 -1
  266. package/dist/components/bcm-form.js +1 -0
  267. package/dist/components/bcm-input-dropdown.d.ts +11 -0
  268. package/dist/components/bcm-input-dropdown.js +395 -0
  269. package/dist/components/bcm-rc-picker.d.ts +11 -0
  270. package/dist/components/bcm-rc-picker.js +10 -0
  271. package/dist/components/bcm-table.js +55128 -41
  272. package/dist/components/bcm-textarea.js +1 -214
  273. package/dist/components/bcm-time-picker.js +4 -2
  274. package/dist/components/bcm-toast.js +30 -10
  275. package/dist/components/bcm.js +29 -27
  276. package/dist/components/button.js +1 -1
  277. package/dist/components/chip.js +12 -6
  278. package/dist/components/colors2.js +1 -1
  279. package/dist/components/datetime-picker.js +5 -2
  280. package/dist/components/generate.js +1 -1
  281. package/dist/components/index.d.ts +4 -1
  282. package/dist/components/index.js +9 -1
  283. package/dist/components/index3.js +5 -1
  284. package/dist/components/index5.js +2569 -0
  285. package/dist/components/input.js +0 -2
  286. package/dist/components/is-load-decorator.js +2 -1
  287. package/dist/components/linked.js +5 -11
  288. package/dist/components/list.js +22 -8
  289. package/dist/components/raf.js +1594 -0
  290. package/dist/components/rc-overflow.js +32 -1557
  291. package/dist/components/rc-picker.js +14030 -0
  292. package/dist/components/string-helper.js +2 -2
  293. package/dist/components/textarea.js +220 -0
  294. package/dist/esm/{_commonjsHelpers-3016b722.js → _commonjsHelpers-7002e5de.js} +16 -1
  295. package/dist/esm/bcm-accordion.entry.js +5 -5
  296. package/dist/esm/bcm-alert.entry.js +9 -9
  297. package/dist/esm/bcm-attendance.entry.js +5 -5
  298. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  299. package/dist/esm/bcm-avatar_2.entry.js +204 -0
  300. package/dist/esm/bcm-box.entry.js +1 -1
  301. package/dist/esm/bcm-breadcrumb.entry.js +6 -6
  302. package/dist/esm/bcm-button-group.entry.js +8 -8
  303. package/dist/esm/bcm-button_15.entry.js +35154 -0
  304. package/dist/esm/bcm-card.entry.js +11 -11
  305. package/dist/esm/bcm-checkbox-group.entry.js +19 -19
  306. package/dist/esm/bcm-checkbox-lite_9.entry.js +8 -8
  307. package/dist/esm/{bcm-checkbox.entry.js → bcm-checkbox_2.entry.js} +24 -14
  308. package/dist/esm/bcm-chip-group.entry.js +16 -17
  309. package/dist/esm/bcm-chip.entry.js +8 -8
  310. package/dist/esm/bcm-collapse-group.entry.js +2 -2
  311. package/dist/esm/bcm-collapse.entry.js +6 -6
  312. package/dist/esm/bcm-color-input.entry.js +12 -13
  313. package/dist/esm/bcm-colorpicker.entry.js +5 -5
  314. package/dist/esm/bcm-content.entry.js +1 -1
  315. package/dist/esm/{bcm-9f50af9c.js → bcm-d45dc47d.js} +30 -28
  316. package/dist/esm/bcm-default.entry.js +5 -5
  317. package/dist/esm/bcm-drawer.entry.js +13 -14
  318. package/dist/esm/bcm-dropdown.entry.js +115 -0
  319. package/dist/esm/bcm-error-layout.entry.js +3 -3
  320. package/dist/esm/bcm-expansion-panel.entry.js +10 -10
  321. package/dist/esm/bcm-form-group.entry.js +1 -1
  322. package/dist/esm/bcm-input-custom.entry.js +6 -6
  323. package/dist/esm/bcm-input-dropdown.entry.js +305 -0
  324. package/dist/esm/bcm-item.entry.js +68 -0
  325. package/dist/esm/bcm-items.entry.js +45 -0
  326. package/dist/esm/bcm-link.entry.js +4 -4
  327. package/dist/esm/bcm-list_3.entry.js +93 -1615
  328. package/dist/esm/bcm-menu.entry.js +146 -0
  329. package/dist/esm/bcm-message.entry.js +3 -3
  330. package/dist/esm/bcm-modal-2-footer.entry.js +13 -14
  331. package/dist/esm/bcm-modal-2-header.entry.js +12 -13
  332. package/dist/esm/bcm-modal-2.entry.js +13 -14
  333. package/dist/esm/bcm-modal.entry.js +9 -9
  334. package/dist/esm/bcm-notification.entry.js +3 -3
  335. package/dist/esm/bcm-old-tag_2.entry.js +4 -4
  336. package/dist/esm/bcm-overlay_2.entry.js +4 -4
  337. package/dist/esm/bcm-popconfirm-box.entry.js +11 -11
  338. package/dist/esm/bcm-popconfirm.entry.js +7 -7
  339. package/dist/esm/bcm-popover.entry.js +225 -0
  340. package/dist/esm/bcm-progress.entry.js +9 -9
  341. package/dist/esm/bcm-radio-group.entry.js +15 -16
  342. package/dist/esm/bcm-radio.entry.js +13 -14
  343. package/dist/esm/bcm-range.entry.js +8 -8
  344. package/dist/esm/bcm-result.entry.js +3 -3
  345. package/dist/esm/bcm-select-group.entry.js +3 -3
  346. package/dist/esm/bcm-select-option.entry.js +3 -3
  347. package/dist/esm/bcm-select.entry.js +6 -6
  348. package/dist/esm/bcm-skeleton.entry.js +5 -5
  349. package/dist/esm/bcm-step.entry.js +8 -8
  350. package/dist/esm/bcm-stepper.entry.js +15 -16
  351. package/dist/esm/bcm-switch.entry.js +10 -10
  352. package/dist/esm/bcm-tab-group.entry.js +205 -0
  353. package/dist/esm/bcm-tab-item-header.entry.js +54 -0
  354. package/dist/esm/bcm-tab-item.entry.js +86 -0
  355. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  356. package/dist/esm/bcm-tab.entry.js +3 -3
  357. package/dist/esm/bcm-table.entry.js +7649 -39
  358. package/dist/esm/bcm-tabs-content.entry.js +4 -4
  359. package/dist/esm/bcm-tabs.entry.js +4 -4
  360. package/dist/esm/bcm-tag.entry.js +9 -9
  361. package/dist/esm/bcm-text.entry.js +45 -0
  362. package/dist/esm/bcm-textarea.entry.js +11 -11
  363. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  364. package/dist/esm/bcm-timeline.entry.js +3 -3
  365. package/dist/esm/bcm-toast.entry.js +38 -19
  366. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  367. package/dist/esm/bromcom-ui.js +6 -5
  368. package/dist/esm/{caption-template-34a1cb44.js → caption-template-d47f338f.js} +2 -2
  369. package/dist/esm/{color-helper-116755ed.js → color-helper-845ba523.js} +2 -2
  370. package/dist/esm/{colors-44c95e7e.js → colors-ebea297f.js} +1 -1
  371. package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
  372. package/dist/esm/{floating-ui-e7341329.js → floating-ui-8a0c54d6.js} +1 -1
  373. package/dist/esm/{generate-e008f24f.js → generate-7a1258c4.js} +2 -2
  374. package/dist/esm/{global-9c04f017.js → global-032592ad.js} +6 -1
  375. package/dist/esm/{index-ed9652af.js → index-00c8a8f7.js} +1 -1
  376. package/dist/esm/{index-348b16ad.js → index-0615c2b8.js} +3 -1
  377. package/dist/esm/index-3bc8c6e3.js +2569 -0
  378. package/dist/esm/{index-0052017c.js → index-7e71bbc8.js} +1 -1
  379. package/dist/esm/{index-6310a048.js → index-e4b6a4ce.js} +1616 -26
  380. package/dist/esm/{input-template-0bdd4dda.js → input-template-68c29fde.js} +4 -4
  381. package/dist/esm/{is-load-decorator-07d3502a.js → is-load-decorator-8277e3b8.js} +3 -2
  382. package/dist/esm/{json-parse-decarator-40fc5701.js → json-parse-decarator-2945634b.js} +2 -2
  383. package/dist/esm/{label-template-98dafeb3.js → label-template-946d4062.js} +4 -4
  384. package/dist/esm/loader.js +6 -5
  385. package/dist/esm/{number-helper-ddce4326.js → number-helper-fe7d1aca.js} +1 -1
  386. package/dist/esm/old-bcm-popover-box.entry.js +13 -13
  387. package/dist/esm/old-bcm-popover.entry.js +7 -7
  388. package/dist/esm/{package-00ece356.js → package-acbf2052.js} +1 -1
  389. package/dist/esm/{popover-placement-78f86f15.js → popover-placement-be68c848.js} +1 -1
  390. package/dist/esm/{slot-template-672e941d.js → slot-template-fcc7846e.js} +2 -2
  391. package/dist/esm/{stepper-states-56644bc7.js → stepper-states-9ab8511e.js} +3 -3
  392. package/dist/esm/{string-helper-6bd24967.js → string-helper-b0e05041.js} +4 -4
  393. package/dist/esm/tooltip-helper-e5246812.js +155 -0
  394. package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
  395. package/dist/esm/{validators-77fbe47e.js → validators-22975416.js} +6 -2
  396. package/dist/esm/watermark-f2c6a1f9.js +47477 -0
  397. package/dist/types/components/atoms/avatar/avatar.d.ts +0 -2
  398. package/dist/types/components/atoms/avatar/avatar.style.d.ts +181 -5
  399. package/dist/types/components/atoms/badge/badge.style.d.ts +174 -4
  400. package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +51 -0
  401. package/dist/types/components/molecules/input-dropdown/input-dropdown.style.d.ts +307 -0
  402. package/dist/types/components/molecules/linked/linked.d.ts +1 -3
  403. package/dist/types/components/organism/date-picker/date-picker.d.ts +1 -0
  404. package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +1 -0
  405. package/dist/types/components/organism/list/list.d.ts +4 -0
  406. package/dist/types/components/organism/time-picker/time-picker.d.ts +1 -0
  407. package/dist/types/components/other/toast/toast.d.ts +2 -0
  408. package/dist/types/components/third-parts/rc-picker/date.d.ts +175 -0
  409. package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +47 -0
  410. package/dist/types/components/third-parts/table/table-definations.d.ts +28 -0
  411. package/dist/types/components/third-parts/table/table.d.ts +37 -0
  412. package/dist/types/components.d.ts +244 -3
  413. package/dist/types/decorators/bcm-decorator.d.ts +2 -0
  414. package/dist/types/decorators/event-decorator.d.ts +2 -0
  415. package/dist/types/decorators/index.d.ts +1 -0
  416. package/dist/types/global/helper/toast.d.ts +2 -0
  417. package/dist/types/models/bcm.d.ts +256 -236
  418. package/dist/types/templates/index.d.ts +2 -0
  419. package/dist/types/templates/toolbar-hamburger-template.d.ts +12 -0
  420. package/dist/types/templates/toolbar-template.d.ts +13 -0
  421. package/helper/toast.d.ts +2 -0
  422. package/helper/toast.d.ts.map +1 -1
  423. package/helper/toast.js +1 -0
  424. package/package.json +9 -3
  425. package/dist/bromcom-ui/p-019b44bb.entry.js +0 -5
  426. package/dist/bromcom-ui/p-01a50abe.entry.js +0 -5
  427. package/dist/bromcom-ui/p-065e0f32.entry.js +0 -5
  428. package/dist/bromcom-ui/p-0cb5a92d.entry.js +0 -5
  429. package/dist/bromcom-ui/p-0f52bab9.entry.js +0 -5
  430. package/dist/bromcom-ui/p-15758356.entry.js +0 -5
  431. package/dist/bromcom-ui/p-1eabd5dc.js +0 -10
  432. package/dist/bromcom-ui/p-235023cc.entry.js +0 -5
  433. package/dist/bromcom-ui/p-2a7bdc8b.entry.js +0 -5
  434. package/dist/bromcom-ui/p-32028f4f.entry.js +0 -5
  435. package/dist/bromcom-ui/p-3a68eca1.js +0 -5
  436. package/dist/bromcom-ui/p-4484ed7d.entry.js +0 -5
  437. package/dist/bromcom-ui/p-4f8b00bc.entry.js +0 -5
  438. package/dist/bromcom-ui/p-4fd78dbb.entry.js +0 -5
  439. package/dist/bromcom-ui/p-54c0916c.js +0 -5
  440. package/dist/bromcom-ui/p-5d89f348.entry.js +0 -5
  441. package/dist/bromcom-ui/p-61c4745d.entry.js +0 -5
  442. package/dist/bromcom-ui/p-626a65e9.js +0 -5
  443. package/dist/bromcom-ui/p-663766cf.entry.js +0 -5
  444. package/dist/bromcom-ui/p-6d7fe687.js +0 -6
  445. package/dist/bromcom-ui/p-6f56f8ca.js +0 -5
  446. package/dist/bromcom-ui/p-74b2d896.js +0 -5
  447. package/dist/bromcom-ui/p-7f529bbe.entry.js +0 -5
  448. package/dist/bromcom-ui/p-9fe802bc.entry.js +0 -5
  449. package/dist/bromcom-ui/p-a19320bb.entry.js +0 -13
  450. package/dist/bromcom-ui/p-a429e85b.js +0 -5
  451. package/dist/bromcom-ui/p-a56e8c98.js +0 -5
  452. package/dist/bromcom-ui/p-a8033cda.entry.js +0 -5
  453. package/dist/bromcom-ui/p-a9692ed3.entry.js +0 -5
  454. package/dist/bromcom-ui/p-b1c83bb8.entry.js +0 -5
  455. package/dist/bromcom-ui/p-bddbd954.entry.js +0 -5
  456. package/dist/bromcom-ui/p-c49d038e.js +0 -5
  457. package/dist/bromcom-ui/p-c799b397.entry.js +0 -5
  458. package/dist/bromcom-ui/p-cf0ab7f0.entry.js +0 -5
  459. package/dist/bromcom-ui/p-d65a1e21.js +0 -11
  460. package/dist/bromcom-ui/p-d7f10f7f.js +0 -5
  461. package/dist/bromcom-ui/p-dd422dd1.js +0 -5
  462. package/dist/bromcom-ui/p-e09fa0dc.entry.js +0 -5
  463. package/dist/bromcom-ui/p-e32d9cfc.js +0 -5
  464. package/dist/bromcom-ui/p-ec6b45ba.entry.js +0 -5
  465. package/dist/bromcom-ui/p-f645d9ae.entry.js +0 -5
  466. package/dist/bromcom-ui/p-fdc3e5b8.entry.js +0 -5
  467. package/dist/cjs/bcm-avatar.cjs.entry.js +0 -127
  468. package/dist/cjs/bcm-badge_15.cjs.entry.js +0 -1739
  469. package/dist/cjs/bcm-colorful.cjs.entry.js +0 -17227
  470. package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -181
  471. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1449
  472. package/dist/cjs/bcm-form-2.cjs.entry.js +0 -209
  473. package/dist/cjs/bcm-form.cjs.entry.js +0 -488
  474. package/dist/cjs/bcm-input.cjs.entry.js +0 -371
  475. package/dist/cjs/bcm-label.cjs.entry.js +0 -45
  476. package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
  477. package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -149
  478. package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
  479. package/dist/cjs/index-b08b037a.js +0 -52
  480. package/dist/collection/components/other/data-table/table.css +0 -130
  481. package/dist/collection/components/other/data-table/table.js +0 -88
  482. package/dist/esm/bcm-avatar.entry.js +0 -123
  483. package/dist/esm/bcm-badge_15.entry.js +0 -1721
  484. package/dist/esm/bcm-colorful.entry.js +0 -17223
  485. package/dist/esm/bcm-date-picker.entry.js +0 -177
  486. package/dist/esm/bcm-datetime-picker.entry.js +0 -1445
  487. package/dist/esm/bcm-form-2.entry.js +0 -205
  488. package/dist/esm/bcm-form.entry.js +0 -484
  489. package/dist/esm/bcm-input.entry.js +0 -367
  490. package/dist/esm/bcm-label.entry.js +0 -41
  491. package/dist/esm/bcm-old-input.entry.js +0 -393
  492. package/dist/esm/bcm-time-picker.entry.js +0 -145
  493. package/dist/esm/datetime-helper-df25808a.js +0 -9
  494. package/dist/esm/index-962dec74.js +0 -50
  495. package/dist/types/components/other/data-table/table.d.ts +0 -8
@@ -0,0 +1,115 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
+ import { c as classnames } from './index-00c8a8f7.js';
7
+ import { I as IsLoad } from './is-load-decorator-8277e3b8.js';
8
+ import { J as JsonParse } from './json-parse-decarator-2945634b.js';
9
+ import { G as Generate } from './generate-7a1258c4.js';
10
+ import { B as Bcm } from './bcm-d45dc47d.js';
11
+ import './_commonjsHelpers-7002e5de.js';
12
+ import './package-acbf2052.js';
13
+ import './colors-ebea297f.js';
14
+
15
+ const dropdownCss = "@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}*{box-sizing:border-box}.bcm-dropdown{width:fit-content;display:inline-flex;flex-direction:row}.bcm-dropdown.hidden{display:none}.bcm-dropdown.no-style{cursor:pointer}.bcm-dropdown.full-width{width:100%}.bcm-dropdown.full-width .bcm-button__container-text{flex:1;justify-content:space-between}.bcm-dropdown__type-split .main-button .bcm-button__container{border-top-right-radius:0;border-bottom-right-radius:0}.bcm-dropdown__type-split .split-button .bcm-button__container{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:1px;min-width:auto}.bcm-dropdown__icon{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;transform:rotate(0deg);transition:transform 0.2s ease}.bcm-dropdown__icon--open{transform:rotate(180deg)}";
16
+
17
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
18
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
20
+ r = Reflect.decorate(decorators, target, key, desc);
21
+ else
22
+ for (var i = decorators.length - 1; i >= 0; i--)
23
+ if (d = decorators[i])
24
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
25
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
26
+ };
27
+ const BcmDropdown = class {
28
+ constructor(hostRef) {
29
+ registerInstance(this, hostRef);
30
+ this.bcmClick = createEvent(this, "bcm-click", 7);
31
+ this.bcmDropdownChange = createEvent(this, "bcm-dropdown-change", 7);
32
+ this.isOpen = undefined;
33
+ this._id = Generate.UID();
34
+ this.menuId = Generate.UID();
35
+ this.hidden = false;
36
+ this.type = 'dropdown';
37
+ this.size = Bcm.Size.medium;
38
+ this.disabled = false;
39
+ this.kind = Bcm.Kind.solid;
40
+ this.icon = undefined;
41
+ this.href = undefined;
42
+ this.target = undefined;
43
+ this.value = undefined;
44
+ this.noStyle = false;
45
+ this.dropdownIcon = 'fas fa-angle-down';
46
+ this.linkedComponent = undefined;
47
+ this.loading = false;
48
+ this.variant = undefined;
49
+ this.dataDismiss = false;
50
+ this.fullWidth = false;
51
+ this.iconPosition = Bcm.IconPosition.prefix;
52
+ this.placement = undefined;
53
+ this.height = undefined;
54
+ this.maxHeight = '500px';
55
+ this.minHeight = '50px';
56
+ this.stopDeepClean = false;
57
+ this.selectable = true;
58
+ this.gap = '4px';
59
+ this.color = undefined;
60
+ this.activeItem = null;
61
+ this.data = [];
62
+ }
63
+ async dataChanged(newValue) {
64
+ if (newValue) {
65
+ this.data = newValue;
66
+ }
67
+ }
68
+ async setActive(id = null) {
69
+ var _a, _b;
70
+ (_b = (_a = document
71
+ .getElementById(`${this.menuId}`)) === null || _a === void 0 ? void 0 : _a.querySelectorAll('bcm-menu')) === null || _b === void 0 ? void 0 : _b.forEach(item => {
72
+ item.setActive(id);
73
+ });
74
+ }
75
+ async getActive() {
76
+ return this.activeItem;
77
+ }
78
+ handleSlotItems({ detail }) {
79
+ this.data = detail;
80
+ }
81
+ setActiveAttribute(e) {
82
+ if (e.detail) {
83
+ this.bcmDropdownChange.emit(e.detail);
84
+ this.activeItem = e.detail;
85
+ }
86
+ }
87
+ ;
88
+ render() {
89
+ const { size, kind, disabled, icon, color, href, target, loading, type, variant, fullWidth, isOpen } = this;
90
+ const hostClasses = classnames('bcm-dropdown', 'bcm-dropdown__type-' + type, {
91
+ 'full-width': fullWidth,
92
+ 'no-style': this.noStyle,
93
+ 'hidden': this.hidden || this.linkedComponent,
94
+ });
95
+ const attributes = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (disabled && { disabled })), (loading && { loading })), (kind && { kind })), (size && { size })), (variant && { variant })), (color && { color })), (this.menuId && { 'menu-id': this.menuId }));
96
+ const iconClasses = classnames('bcm-dropdown__icon', {
97
+ 'bcm-dropdown__icon--open': isOpen,
98
+ });
99
+ const dropdownIcon = (h("span", { class: iconClasses }, h("bcm-icon", { icon: this.dropdownIcon })));
100
+ return (h(Host, { class: hostClasses }, h("span", { hidden: true }, h("slot", null)), this.noStyle && h("slot", null), !this.noStyle && (h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail), "onBcm-menu-change": e => this.setActiveAttribute(e), gap: this.gap, dropdown: true }), h("slot", { name: "content" }))));
101
+ }
102
+ get el() { return getElement(this); }
103
+ static get watchers() { return {
104
+ "data": ["dataChanged"]
105
+ }; }
106
+ };
107
+ __decorate([
108
+ IsLoad()
109
+ ], BcmDropdown.prototype, "el", void 0);
110
+ __decorate([
111
+ JsonParse('data', true)
112
+ ], BcmDropdown.prototype, "dataChanged", null);
113
+ BcmDropdown.style = dropdownCss;
114
+
115
+ export { BcmDropdown as bcm_dropdown };
@@ -2,9 +2,9 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, h, H as Host, g as getElement } from './index-348b16ad.js';
6
- import { c as classnames } from './index-ed9652af.js';
7
- import './_commonjsHelpers-3016b722.js';
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
+ import { c as classnames } from './index-00c8a8f7.js';
7
+ import './_commonjsHelpers-7002e5de.js';
8
8
 
9
9
  const errorLayoutCss = "@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}*{box-sizing:border-box}.error-layout{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);padding:12px;background:var(--bcm-new-ds-color-red-100);border:2px solid var(--bcm-new-ds-color-red-200);box-sizing:border-box;border-radius:4px;color:var(--bcm-new-ds-color-red-400)}.error-layout li>span{margin-left:-4px}";
10
10
 
@@ -2,17 +2,17 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-348b16ad.js';
6
- import { G as Generate } from './generate-e008f24f.js';
7
- import { c as classnames } from './index-ed9652af.js';
8
- import { S as StringHelper } from './string-helper-6bd24967.js';
9
- import { C as ColorHelper } from './color-helper-116755ed.js';
10
- import './package-00ece356.js';
11
- import './colors-44c95e7e.js';
12
- import './_commonjsHelpers-3016b722.js';
13
- import './bcm-9f50af9c.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
+ import { G as Generate } from './generate-7a1258c4.js';
7
+ import { c as classnames } from './index-00c8a8f7.js';
8
+ import { S as StringHelper } from './string-helper-b0e05041.js';
9
+ import { C as ColorHelper } from './color-helper-845ba523.js';
10
+ import './package-acbf2052.js';
11
+ import './colors-ebea297f.js';
12
+ import './_commonjsHelpers-7002e5de.js';
13
+ import './bcm-d45dc47d.js';
14
14
  import './colors-1d7854ea.js';
15
- import './utils-b3338faf.js';
15
+ import './utils-57652744.js';
16
16
 
17
17
  const expansionPanelCss = "@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}*{box-sizing:border-box}.bcm-expansion-panel{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:block;width:100%;background-color:var(--bcm-new-ds-color-white);border-radius:8px;border:1px solid var(--bcm-new-ds-color-slate-300);box-sizing:border-box}.bcm-expansion-panel+.bcm-expansion-panel{margin-top:4px}.bcm-expansion-panel__header{display:flex;align-items:center;justify-content:flex-start;user-select:none;min-height:50px;border-radius:8px;padding:4px 24px;color:var(--bcm-new-ds-color-slate-700);font-weight:600}.bcm-expansion-panel__header-content{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:8px}.bcm-expansion-panel__header:hover{cursor:pointer}.bcm-expansion-panel__header-title{order:1;user-select:none;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:4px}.bcm-expansion-panel__header-title-description{margin-left:calc(4px / 2);color:var(--bcm-new-ds-color-slate-500);font-size:12px;line-height:calc(12px + 8px)}.bcm-expansion-panel__header-tooltip{line-height:1;color:var(--bcm-new-ds-color-slate-800)}.bcm-expansion-panel__header-toggle{height:100%;order:0;width:20px;display:flex;align-items:center;justify-content:center;transform:rotate(0deg);transition:transform 0.2s ease-in-out;font-size:12px}.bcm-expansion-panel__header-extra{display:none}.bcm-expansion-panel__header-extra:not(:empty){cursor:default;display:flex;align-items:center;order:5;line-height:1;padding:0 8px}.bcm-expansion-panel__header-extra .bcm-expansion-panel__extra-content{display:flex;align-items:center}.bcm-expansion-panel__body{display:none;padding:12px 24px}.bcm-expansion-panel--icon-right .bcm-expansion-panel__header{justify-content:space-between;padding-left:24px}.bcm-expansion-panel--icon-right .bcm-expansion-panel__header-toggle{order:6}.bcm-expansion-panel--invalid .bcm-expansion-panel__header-toggle,.bcm-expansion-panel--invalid .bcm-expansion-panel__header-content{color:var(--bcm-new-ds-color-red-500)}.bcm-expansion-panel--expanded{border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-expansion-panel--expanded .bcm-expansion-panel__header{border-radius:8px 8px 0 0}.bcm-expansion-panel--expanded .bcm-expansion-panel__header-toggle{transform:rotate(180deg)}.bcm-expansion-panel--expanded .bcm-expansion-panel__body{display:block}";
18
18
 
@@ -2,7 +2,7 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, h, H as Host, g as getElement } from './index-348b16ad.js';
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
6
 
7
7
  const formGroupCss = "@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}";
8
8
 
@@ -2,12 +2,12 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, h, H as Host, g as getElement } from './index-348b16ad.js';
6
- import { G as Generate } from './generate-e008f24f.js';
7
- import { c as classnames } from './index-ed9652af.js';
8
- import './package-00ece356.js';
9
- import './colors-44c95e7e.js';
10
- import './_commonjsHelpers-3016b722.js';
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
+ import { G as Generate } from './generate-7a1258c4.js';
7
+ import { c as classnames } from './index-00c8a8f7.js';
8
+ import './package-acbf2052.js';
9
+ import './colors-ebea297f.js';
10
+ import './_commonjsHelpers-7002e5de.js';
11
11
 
12
12
  const BcmInputCustom = class {
13
13
  constructor(hostRef) {
@@ -0,0 +1,305 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement, F as Fragment } from './index-0615c2b8.js';
6
+ import './color-helper-845ba523.js';
7
+ import './validators-22975416.js';
8
+ import { G as Generate } from './generate-7a1258c4.js';
9
+ import './number-helper-fe7d1aca.js';
10
+ import './string-helper-b0e05041.js';
11
+ import './element-dragger-89bb52fd.js';
12
+ import { a as Bcm } from './bcm-d45dc47d.js';
13
+ import { C as CaptionTemplate } from './caption-template-d47f338f.js';
14
+ import { c as classnames } from './index-00c8a8f7.js';
15
+ import './types-6f06fa1a.js';
16
+ import './types-9493a7ed.js';
17
+ import { c as ce } from './index-3bc8c6e3.js';
18
+ import './colors-1d7854ea.js';
19
+ import './utils-57652744.js';
20
+ import './colors-ebea297f.js';
21
+ import './_commonjsHelpers-7002e5de.js';
22
+ import './package-acbf2052.js';
23
+
24
+ const inputDropdownStyle = ce({
25
+ slots: {
26
+ base: "tw-font-sans tw-flex tw-flex-col tw-items-start tw-justify-start tw-gap-2",
27
+ content: "tw-flex tw-flex-row tw-items-center tw-justify-start tw-gap-3",
28
+ inputArea: "tw-flex tw-flex-row tw-items-center tw-justify-start tw-gap-1 tw-box-content tw-border tw-border-solid tw-max-w-[100px] tw-uppercase tw-font-medium tw-text-center tw-border-gray-300 tw-rounded",
29
+ input: "tw-flex-1 tw-text-inherit tw-uppercase tw-font-semibold tw-text-center tw-border-none tw-bg-transparent tw-outline-none tw-w-full",
30
+ button: [
31
+ "input-dropdown-button tw-flex tw-flex-row tw-items-center tw-justify-center tw-gap-1 tw-rounded tw-outline-none tw-bg-slate-100",
32
+ "tw-border tw-border-solid tw-border-slate-300 tw-font-medium tw-text-slate-600",
33
+ "hover:tw-border-slate-400 hover:tw-bg-slate-200",
34
+ "tw-min-w-[32px]",
35
+ "tw-cursor-pointer",
36
+ "disabled:tw-cursor-not-allowed disabled:tw-text-slate-400 disabled:tw-pointer-events-none",
37
+ "readonly:tw-text-slate-700 readonly:tw-cursor-text",
38
+ ],
39
+ menu: "tw-mt-1 tw-flex tw-flex-col tw-items-start tw-justify-center tw-gap-2 tw-overflow-auto tw-bg-white tw-p-3 tw-font-sans tw-text-3 tw-text-slate-700",
40
+ menuItem: "tw-flex tw-w-full tw-cursor-pointer tw-flex-row tw-items-start tw-gap-1 tw-rounded tw-px-3 tw-py-1 tw-text-slate-700 hover:tw-bg-blue-100",
41
+ selectedItem: "tw-flex tw-w-full tw-flex-row tw-items-start tw-gap-1 tw-rounded tw-px-3 tw-py-1 tw-text-slate-700 tw-bg-primary-200",
42
+ disabledItem: "tw-flex tw-w-full tw-flex-row tw-items-start tw-gap-1 tw-rounded tw-px-3 tw-py-1 tw-cursor-not-allowed tw-text-slate-400 tw-bg-slate-100 hover:tw-bg-slate-100 tw-list-none",
43
+ commentArea: "tw-flex tw-h-fit tw-w-full tw-min-w-[288px] tw-flex-col tw-items-start tw-gap-3 tw-rounded tw-p-4 tw-shadow-2",
44
+ },
45
+ variants: {
46
+ size: {
47
+ small: {
48
+ button: "tw-h-[18px] tw-text-1 tw-leading-none",
49
+ },
50
+ medium: {
51
+ button: "tw-h-[24px] tw-text-2",
52
+ inputArea: "tw-p-0.5",
53
+ input: "tw-text-4",
54
+ },
55
+ large: {
56
+ button: "tw-h-[30px] tw-text-2",
57
+ inputArea: "tw-p-1",
58
+ input: "tw-text-6",
59
+ },
60
+ },
61
+ invalid: {
62
+ true: {
63
+ inputArea: "tw-border-red-600 tw-bg-red-50",
64
+ input: "tw-text-red-500",
65
+ },
66
+ },
67
+ disabled: {
68
+ true: {
69
+ base: "tw-opacity-50 tw-cursor-not-allowed",
70
+ input: "tw-cursor-not-allowed",
71
+ },
72
+ },
73
+ hideComment: {
74
+ true: {
75
+ base: "tw-min-w-[98px]",
76
+ },
77
+ false: {
78
+ base: "tw-min-w-[128px] ",
79
+ },
80
+ },
81
+ label: {
82
+ true: "",
83
+ },
84
+ },
85
+ defaultVariants: {
86
+ size: "medium",
87
+ invalid: false,
88
+ hideComment: false,
89
+ disabled: false,
90
+ },
91
+ });
92
+
93
+ const inputDropdownCss = "@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\"); @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}*{box-sizing:border-box}.bcm-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}:host{display:flex;flex-direction:column;width:100%;position:relative}.input-dropdown-button i{transition:transform 0.2s ease-in-out}.input-dropdown-button[linked-is-open]>i{transform:rotate(-180deg);transition:transform 0.2s ease-in-out}";
94
+
95
+ const BcmInputDropdown = class {
96
+ constructor(hostRef) {
97
+ registerInstance(this, hostRef);
98
+ this.change = createEvent(this, "bcm-change", 7);
99
+ this.onChangeDropdown = createEvent(this, "bcm-input-dropdown-change", 7);
100
+ this.handleKeyPress = e => {
101
+ var _a, _b;
102
+ if (((_b = (_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.length) >= +this.maxCharacterLimit) {
103
+ e.preventDefault();
104
+ return;
105
+ }
106
+ };
107
+ this._id = Generate.UID();
108
+ this.value = undefined;
109
+ this.defaultValue = {};
110
+ this.lateKeys = "L";
111
+ this.maxCharacterLimit = 1;
112
+ this.size = Bcm.Size.medium;
113
+ this.label = undefined;
114
+ this.placeholder = undefined;
115
+ this.name = undefined;
116
+ this.fullWidth = false;
117
+ this.hideComment = false;
118
+ this.hideCaption = true;
119
+ this.disabled = false;
120
+ this.required = false;
121
+ this.readonly = false;
122
+ this.data = [
123
+ { key: "/", value: "Present", color: "#00b050" },
124
+ { key: "B", value: "Educated off site (NOT dual registration)", color: "#ffc000" },
125
+ { key: "C", value: "Other authorised circumstance", color: "#ffc000" },
126
+ { key: "D", value: "Dual registration", color: "#0070c0" },
127
+ { key: "E", value: "Excluded", color: "#ff0000" },
128
+ { key: "F", value: "Free Study", color: "#ffc000" },
129
+ { key: "I", value: "Illness", color: "#ff0000" },
130
+ { key: "J", value: "Interview", color: "#ffc000" },
131
+ { key: "L", value: "Late before reg. closed", color: "#ffc000" },
132
+ ];
133
+ this.caption = undefined;
134
+ this.noCaption = false;
135
+ this.captionType = Bcm.Status.default;
136
+ this.captionError = undefined;
137
+ this.customErrorMessage = undefined;
138
+ this.captionCache = undefined;
139
+ this.captionTypeCache = undefined;
140
+ this.isOpenMenu = false;
141
+ this.invalid = false;
142
+ }
143
+ get overlayContainer() {
144
+ return document.getElementById("bcm-overlay-container");
145
+ }
146
+ get menuContent() {
147
+ var _a, _b;
148
+ return (_b = (_a = this.overlayContainer) === null || _a === void 0 ? void 0 : _a.querySelector("#" + `i-dropdown-menu-${this._id}`)) !== null && _b !== void 0 ? _b : this.el.querySelector("#" + `i-dropdown-menu-${this._id}`);
149
+ }
150
+ get keys() {
151
+ return this.lateKeys.toLocaleLowerCase().split(",");
152
+ }
153
+ get isLate() {
154
+ var _a, _b, _c, _d, _e, _f;
155
+ return (this.keys.includes((_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.key) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase()) ||
156
+ ((_d = (_c = this.data) === null || _c === void 0 ? void 0 : _c.find(item => { var _a, _b, _c; return ((_a = item === null || item === void 0 ? void 0 : item.key) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === ((_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.key) === null || _c === void 0 ? void 0 : _c.toLowerCase()); })) === null || _d === void 0 ? void 0 : _d.isLate) ||
157
+ ((_f = (_e = this.data) === null || _e === void 0 ? void 0 : _e.find(item => { var _a, _b, _c; return ((_a = item === null || item === void 0 ? void 0 : item.key) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === ((_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.key) === null || _c === void 0 ? void 0 : _c.toLowerCase()); })) === null || _f === void 0 ? void 0 : _f.lateMin) > 0);
158
+ }
159
+ componentWillLoad() {
160
+ var _a, _b;
161
+ this.captionCache = this.caption;
162
+ this.captionTypeCache = this.captionType;
163
+ if (((_a = Object.keys(this.defaultValue)) === null || _a === void 0 ? void 0 : _a.length) > 0) {
164
+ this.watchDefaultValueHandler(this.defaultValue);
165
+ }
166
+ else {
167
+ this.value = (_b = this.data) === null || _b === void 0 ? void 0 : _b.find(item => item.selected);
168
+ }
169
+ }
170
+ get commentContent() {
171
+ var _a, _b;
172
+ return (_b = (_a = this.overlayContainer) === null || _a === void 0 ? void 0 : _a.querySelector("#" + `i-dropdown-comment-${this._id}`)) !== null && _b !== void 0 ? _b : this.el.querySelector("#" + `i-dropdown-comment-${this._id}`);
173
+ }
174
+ clickListener(e) {
175
+ var _a, _b;
176
+ const isSelf = Generate.findEventPath(e, this.el);
177
+ const isLinked = Generate.findEventPathWithNodeName(e, "BCM-LINKED");
178
+ if (!isSelf && !isLinked && !this.keys.includes((_a = this.value) === null || _a === void 0 ? void 0 : _a.key)) {
179
+ (_b = this.commentContent) === null || _b === void 0 ? void 0 : _b.hide();
180
+ return;
181
+ }
182
+ }
183
+ watchDefaultValueHandler(newValue) {
184
+ var _a, _b;
185
+ if (newValue) {
186
+ this.value = (_a = this.data) === null || _a === void 0 ? void 0 : _a.find(item => { var _a, _b; return ((_a = item === null || item === void 0 ? void 0 : item.key) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === ((_b = newValue.key) === null || _b === void 0 ? void 0 : _b.toLowerCase()); });
187
+ this.data = this.data.map(data => {
188
+ if (data.key === (newValue === null || newValue === void 0 ? void 0 : newValue.key)) {
189
+ data = newValue;
190
+ data.selected = true;
191
+ }
192
+ else {
193
+ data.selected = false;
194
+ }
195
+ return data;
196
+ });
197
+ this.value = (_b = this.data) === null || _b === void 0 ? void 0 : _b.find(item => item === null || item === void 0 ? void 0 : item.selected);
198
+ forceUpdate(this.el);
199
+ }
200
+ }
201
+ async set(data) {
202
+ this.data = typeof data === "string" ? JSON.parse(data) : data;
203
+ }
204
+ async get() {
205
+ return this.value;
206
+ }
207
+ async setClear() {
208
+ this.value = null;
209
+ return Promise.resolve();
210
+ }
211
+ async resetCaption() {
212
+ this.caption = this.captionCache;
213
+ this.captionType = this.captionTypeCache;
214
+ this.captionError = null;
215
+ this.invalid = false;
216
+ return Promise.resolve();
217
+ }
218
+ onSelectItem(item) {
219
+ var _a;
220
+ this.invalid = false;
221
+ this.data = this.data.map(data => (Object.assign(Object.assign({}, data), { selected: data.key === item.key })));
222
+ this.value = (_a = this.data) === null || _a === void 0 ? void 0 : _a.find(item => item === null || item === void 0 ? void 0 : item.selected);
223
+ this.onChangeDropdown.emit(this.value);
224
+ this.change.emit();
225
+ }
226
+ async handleInput(e) {
227
+ var _a, _b, _c, _d, _e, _f, _g;
228
+ const value = (_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.value;
229
+ this.isOpenMenu = true;
230
+ const maxLengthExceeded = (value === null || value === void 0 ? void 0 : value.length) >= +this.maxCharacterLimit;
231
+ if (maxLengthExceeded) {
232
+ const item = (_b = this.data) === null || _b === void 0 ? void 0 : _b.find(item => { var _a; return ((_a = item === null || item === void 0 ? void 0 : item.key) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === value.toLowerCase(); });
233
+ if (item) {
234
+ await ((_c = this.menuContent) === null || _c === void 0 ? void 0 : _c.hide());
235
+ if (!(item === null || item === void 0 ? void 0 : item.hideComment)) {
236
+ (_d = this.commentContent) === null || _d === void 0 ? void 0 : _d.show();
237
+ }
238
+ this.onSelectItem(item);
239
+ }
240
+ else {
241
+ this.invalid = true;
242
+ this.value = e.target.value;
243
+ await ((_e = this.menuContent) === null || _e === void 0 ? void 0 : _e.show());
244
+ this._input.style.color = "#ff0000";
245
+ }
246
+ }
247
+ else {
248
+ (_f = this.commentContent) === null || _f === void 0 ? void 0 : _f.hide();
249
+ (_g = this.menuContent) === null || _g === void 0 ? void 0 : _g.hide();
250
+ this.value = null;
251
+ this._input.style.color = "#000000";
252
+ this.invalid = false;
253
+ }
254
+ this.change.emit();
255
+ }
256
+ onClickSave() {
257
+ var _a;
258
+ (_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.hide();
259
+ this.data = this.data.map(data => (Object.assign(Object.assign({}, data), (data.key === this.value.key && {
260
+ lateMin: this.value.lateMin,
261
+ comment: this.value.comment,
262
+ }))));
263
+ forceUpdate(this.el);
264
+ this.onChangeDropdown.emit(this.value);
265
+ this.change.emit();
266
+ }
267
+ async onClick(item) {
268
+ var _a, _b;
269
+ if (!(item === null || item === void 0 ? void 0 : item.hideComment)) {
270
+ (_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.show();
271
+ }
272
+ await ((_b = this.menuContent) === null || _b === void 0 ? void 0 : _b.hide());
273
+ this.onSelectItem(item);
274
+ }
275
+ render() {
276
+ var _a, _b, _c, _d, _e;
277
+ const { size, label, placeholder, required, disabled, readonly, _id, invalid, hideComment, noCaption, customErrorMessage, caption, captionType, captionError, hideCaption } = this;
278
+ const { base, inputArea, input, button, menu, menuItem, commentArea, disabledItem, content, selectedItem } = inputDropdownStyle({ size, invalid, hideComment, disabled });
279
+ const MenuTemplates = () => {
280
+ var _a;
281
+ return (h(Fragment, null, this.isOpenMenu ? (h("div", { class: menu() }, this.invalid && (h("li", { class: menuItem() + " tw-bg-red-100 hover:tw-bg-red-100" }, h("span", { class: "tw-text-red-900" }, h("i", { class: "far fa-exclamation-circle" })), h("span", null, "There is not mark you entered, please use"))), (_a = this.data) === null || _a === void 0 ? void 0 :
282
+ _a.map((item) => (h(Fragment, null, !(item === null || item === void 0 ? void 0 : item.disabled) ? (h("li", { class: (item === null || item === void 0 ? void 0 : item.selected) ? selectedItem() : menuItem(), onClick: () => this.onClick(item) }, h("span", null, item.key), " - ", h("span", null, item.value))) : (h("li", { class: disabledItem() }, h("span", null, item.key), " - ", h("span", null, item.value)))))))) : null));
283
+ };
284
+ const CommentTemplate = () => {
285
+ var _a, _b, _c;
286
+ return (h(Fragment, null, this.isOpenMenu ? (h("div", { class: commentArea() }, this.isLate ? (h(Fragment, null, h("bcm-input", { label: "Minus Late", required: true, id: this._id + "-input-dropdown-late-content-input", type: "number", "full-width": true, "no-caption": true, autocomplete: false, value: (_a = this.value) === null || _a === void 0 ? void 0 : _a.lateMin, placeholder: "Enter Minus Late", "onBcm-change": ({ detail }) => (this.value.lateMin = +detail) }, h("i", { slot: "prefix", class: "far fa-clock" })))) : null, h("bcm-textarea", { "full-width": true, value: (_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.comment) !== null && _c !== void 0 ? _c : "", "onBcm-change": ({ detail }) => (this.value.comment = detail), label: "Description", "no-caption": true, rows: 4 }), h("footer", { class: "tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-end tw-gap-2" }, h("bcm-button", { icon: "fas fa-times", kind: "ghost", "icon-position": "prefix", onClick: () => { var _a; return (_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.hide(); } }, "Close"), h("bcm-button", { icon: "fas fa-save", "icon-position": "prefix", onClick: () => this.onClickSave() }, "Save")))) : null));
287
+ };
288
+ return (h(Host, { class: base() }, label && h("bcm-label", { htmlFor: _id + "-dropdown-input", size: size, value: label, required: required }), h("div", { class: content() }, h("div", { class: inputArea() }, h("input", { id: _id + "-dropdown-input", class: input(), style: { color: (_a = this.value) === null || _a === void 0 ? void 0 : _a.color }, type: "text", tabIndex: -1, placeholder: placeholder, value: (_b = this.value) === null || _b === void 0 ? void 0 : _b.key, disabled: disabled, required: required, autoComplete: "off", readOnly: readonly, onKeyPress: e => this.handleKeyPress(e), onInput: e => this.handleInput(e), ref: el => (this._input = el) }), h("button", { disabled: disabled, id: `i-dropdown-button-${_id}`, class: button(), onClick: () => (this.isOpenMenu = true) }, h("i", { class: "fas fa-chevron-down" })), h("bcm-linked", { "onBcm-open": ({ detail }) => { var _a; return detail && ((_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.hide()); }, class: "tw-mt-1", id: `i-dropdown-menu-${_id}`, "target-id": `i-dropdown-button-${_id}`, placement: "bottom-start" }, h(MenuTemplates, null)), h("bcm-linked", { id: `i-dropdown-comment-${_id}`, "target-id": _id, trigger: "custom", placement: "left" }, h(CommentTemplate, null))), !this.hideComment ? (h("span", { onClick: () => {
289
+ var _a, _b;
290
+ if ((_a = this.value) === null || _a === void 0 ? void 0 : _a.key) {
291
+ this.isOpenMenu = true;
292
+ (_b = this.commentContent) === null || _b === void 0 ? void 0 : _b.show();
293
+ }
294
+ }, class: classnames(((_c = this.value) === null || _c === void 0 ? void 0 : _c.comment) || ((_d = this.value) === null || _d === void 0 ? void 0 : _d.lateMin) > 0 ? "tw-text-slate-600" : "tw-text-slate-400", {
295
+ "tw-cursor-pointer": (_e = this.value) === null || _e === void 0 ? void 0 : _e.key,
296
+ }) }, h("i", { class: "fas fa-comment" }))) : null), !hideCaption && h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: customErrorMessage })));
297
+ }
298
+ get el() { return getElement(this); }
299
+ static get watchers() { return {
300
+ "defaultValue": ["watchDefaultValueHandler"]
301
+ }; }
302
+ };
303
+ BcmInputDropdown.style = inputDropdownCss;
304
+
305
+ export { BcmInputDropdown as bcm_input_dropdown };
@@ -0,0 +1,68 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
+ import { G as Generate } from './generate-7a1258c4.js';
7
+ import { B as Bcm } from './bcm-d45dc47d.js';
8
+ import { c as classnames } from './index-00c8a8f7.js';
9
+ import { C as ColorHelper } from './color-helper-845ba523.js';
10
+ import './package-acbf2052.js';
11
+ import './colors-ebea297f.js';
12
+ import './_commonjsHelpers-7002e5de.js';
13
+ import './colors-1d7854ea.js';
14
+ import './utils-57652744.js';
15
+
16
+ const itemCss = "@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}*{box-sizing:border-box}.bcm-item{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;--bcm-item-color-default:var(--bcm-new-ds-color-white);--bcm-item-background-color-default:var(--bcm-new-ds-color-blue-500);--bcm-item-color-hover:var(--bcm-new-ds-color-white);--bcm-item-background-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-item-color-focus-visible:var(--bcm-new-ds-color-white);--bcm-item-background-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-item-color-active:var(--bcm-new-ds-color-white);--bcm-item-background-color-active:var(--bcm-new-ds-color-blue-700);--bcm-item-color-disabled:var(--bcm-new-ds-color-white);--bcm-item-background-color-disabled:var(--bcm-new-ds-color-slate-400);font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;border-radius:4px;outline:none;color:var(--bcm-item-color-default);background-color:var(--bcm-item-background-color-default)}.bcm-item-size-small{font-size:12px;line-height:calc(12px + 8px);padding:2px 12px;min-height:calc(calc(12px + 8px) + calc(2px) * 2)}.bcm-item-size-medium{font-size:14px;line-height:calc(14px + 8px);padding:5px 12px;min-height:calc(calc(14px + 8px) + calc(5px) * 2)}.bcm-item-size-large{font-size:16px;line-height:calc(16px + 8px);padding:8px 12px;min-height:calc(calc(16px + 8px) + calc(8px) * 2)}.bcm-item:default{color:var(--bcm-item-color-default);background-color:var(--bcm-item-background-color-default)}.bcm-item:hover{color:var(--bcm-item-color-hover);background-color:var(--bcm-item-background-color-hover)}.bcm-item:focus-visible{color:var(--bcm-item-color-focus-visible);background-color:var(--bcm-item-background-color-focus-visible)}.bcm-item:active{color:var(--bcm-item-color-active);background-color:var(--bcm-item-background-color-active)}.bcm-item:disabled{color:var(--bcm-item-color-disabled);background-color:var(--bcm-item-background-color-disabled)}.bcm-item:not(.static):hover{cursor:pointer}";
17
+
18
+ const BcmItem = class {
19
+ constructor(hostRef) {
20
+ registerInstance(this, hostRef);
21
+ this._id = Generate.UID();
22
+ this.size = Bcm.Size.medium;
23
+ this.color = undefined;
24
+ this.static = false;
25
+ }
26
+ setColor(color = this.color) {
27
+ if (!color)
28
+ return;
29
+ const prefix = `--bcm-item`;
30
+ if (color == "white") {
31
+ return {
32
+ [`${prefix}-color-default`]: ColorHelper.dsColor('slate-600'),
33
+ [`${prefix}-color-hover`]: ColorHelper.dsColor('slate-600'),
34
+ [`${prefix}-color-focus-visible`]: ColorHelper.dsColor('slate-600'),
35
+ [`${prefix}-color-active`]: ColorHelper.dsColor('slate-600'),
36
+ [`${prefix}-color-disabled`]: ColorHelper.dsColor('white'),
37
+ [`${prefix}-background-color-default`]: ColorHelper.dsColor(this.static ? 'white' : 'white'),
38
+ [`${prefix}-background-color-hover`]: ColorHelper.dsColor(this.static ? 'white' : 'slate-100'),
39
+ [`${prefix}-background-color-focus-visible`]: ColorHelper.dsColor(this.static ? 'white' : 'slate-200'),
40
+ [`${prefix}-background-color-active`]: ColorHelper.dsColor(this.static ? 'white' : 'slate-300'),
41
+ [`${prefix}-background-color-disabled`]: ColorHelper.dsColor('slate-400'),
42
+ };
43
+ }
44
+ return {
45
+ [`${prefix}-color-default`]: ColorHelper.dsColor('white'),
46
+ [`${prefix}-color-hover`]: ColorHelper.dsColor('white'),
47
+ [`${prefix}-color-focus-visible`]: ColorHelper.dsColor('white'),
48
+ [`${prefix}-color-active`]: ColorHelper.dsColor('white'),
49
+ [`${prefix}-color-disabled`]: ColorHelper.dsColor('white'),
50
+ [`${prefix}-background-color-default`]: ColorHelper.dsColor(color + '-500'),
51
+ [`${prefix}-background-color-hover`]: ColorHelper.dsColor(color + '-600'),
52
+ [`${prefix}-background-color-focus-visible`]: ColorHelper.dsColor(color + '-700'),
53
+ [`${prefix}-background-color-active`]: ColorHelper.dsColor(color + '-800'),
54
+ [`${prefix}-background-color-disabled`]: ColorHelper.dsColor('slate-400'),
55
+ };
56
+ }
57
+ disconnectedCallback() {
58
+ // this.el.remove()
59
+ }
60
+ render() {
61
+ const hostClasses = classnames('bcm-item', `bcm-item-size-${this.size}`);
62
+ return (h(Host, { class: hostClasses, style: this.setColor() }, h("slot", null)));
63
+ }
64
+ get el() { return getElement(this); }
65
+ };
66
+ BcmItem.style = itemCss;
67
+
68
+ export { BcmItem as bcm_item };
@@ -0,0 +1,45 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-0615c2b8.js';
6
+ import { G as Generate, s as snq } from './generate-7a1258c4.js';
7
+ import { S as StringHelper } from './string-helper-b0e05041.js';
8
+ import './package-acbf2052.js';
9
+ import './colors-ebea297f.js';
10
+ import './_commonjsHelpers-7002e5de.js';
11
+ import './bcm-d45dc47d.js';
12
+
13
+ const BcmItems = class {
14
+ constructor(hostRef) {
15
+ registerInstance(this, hostRef);
16
+ this.bcmItems = createEvent(this, "bcm-items", 7);
17
+ this._id = Generate.UID();
18
+ }
19
+ connectedCallback() {
20
+ if (this.el.children && this.el.children.length > 0) {
21
+ let slots = this.nestedItems(this.el);
22
+ this.bcmItems.emit(slots);
23
+ this.el.remove();
24
+ }
25
+ }
26
+ mapItems(element) {
27
+ var _a;
28
+ const item = element;
29
+ const textContent = (_a = item === null || item === void 0 ? void 0 : item.innerHTML) === null || _a === void 0 ? void 0 : _a.replace(/<bcm-item>.*<\/bcm-item>/g, '').replace(/<bcm-item .*>.*<\/bcm-item>/g, '').replace(/<!--(.|\s)*?-->/g, '').trim();
30
+ const checkAttr = (attr) => StringHelper.elementBooleanCheck(element.getAttribute(attr));
31
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ id: element.getAttribute('id') || Generate.UID(), text: element.getAttribute('text') || textContent }, (element.innerHTML.trim() && { isHtmlContent: element.textContent.length > 0 ? (element.innerHTML.trim()) : null })), (checkAttr('disabled') && { disabled: checkAttr('disabled') })), (checkAttr('selected') && { selected: checkAttr('selected') })), (checkAttr('hidden') && { hidden: checkAttr('hidden') })), (checkAttr('checked') && { checked: checkAttr('checked') })), (checkAttr('readonly') && { readonly: checkAttr('readonly') })), (checkAttr('active') && { active: checkAttr('active') })), (checkAttr('icon') && { icon: element.getAttribute('icon') })), (checkAttr('link') && { link: element.getAttribute('link') }));
32
+ }
33
+ nestedItems(element) {
34
+ return snq(() => Array.from(element === null || element === void 0 ? void 0 : element.children).map((child) => {
35
+ var _a;
36
+ return (Object.assign(Object.assign({}, (((_a = child === null || child === void 0 ? void 0 : child.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'bcm-item' && this.mapItems(child))), { items: this.nestedItems(child) }));
37
+ }), []);
38
+ }
39
+ render() {
40
+ return h("slot", null);
41
+ }
42
+ get el() { return getElement(this); }
43
+ };
44
+
45
+ export { BcmItems as bcm_items };