bromcom-ui 2.11.1-rc.3 → 2.11.1-rc.4

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 (275) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-6c00649d.entry.js → p-01ee1dd7.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-d8078aad.entry.js → p-0b7da7e9.entry.js} +1 -1
  4. package/dist/bromcom-ui/p-0ec94937.entry.js +5 -0
  5. package/dist/bromcom-ui/{p-22fca42a.entry.js → p-13f17585.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-8a92f2bf.js → p-1cac8ccc.js} +1 -1
  7. package/dist/bromcom-ui/{p-772e0ac0.entry.js → p-20e3612c.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-3d84b432.js → p-24dbee53.js} +1 -1
  9. package/dist/bromcom-ui/{p-1365fcd1.entry.js → p-2cd5679e.entry.js} +1 -1
  10. package/dist/bromcom-ui/p-3089e9c7.js +1 -1
  11. package/dist/bromcom-ui/{p-ff7a0518.entry.js → p-3b72a082.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-5d6485b0.entry.js → p-3c54d2cb.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-27bd3558.entry.js → p-3d54d452.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-53379ec3.entry.js → p-48300ee3.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-b3cb130f.entry.js → p-485a89a0.entry.js} +1 -1
  16. package/dist/bromcom-ui/p-48d59736.entry.js +5 -0
  17. package/dist/bromcom-ui/p-4d8067b9.entry.js +5 -0
  18. package/dist/bromcom-ui/{p-dfcea8e4.entry.js → p-4eaebf4c.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-7682e5f4.entry.js → p-4fa1fbbb.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-9fe98e8c.entry.js → p-5199f537.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-e9ab38fd.entry.js → p-55463e1e.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-24a073cd.entry.js → p-56385a5a.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-e019251c.entry.js → p-588a3308.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-58b266db.entry.js +5 -0
  25. package/dist/bromcom-ui/{p-ddcda6e6.entry.js → p-5fc5d112.entry.js} +1 -1
  26. package/dist/bromcom-ui/p-6acbf272.entry.js +5 -0
  27. package/dist/bromcom-ui/{p-62fbf683.entry.js → p-6b1f78ba.entry.js} +1 -1
  28. package/dist/bromcom-ui/p-6b5ed4d8.js +1 -1
  29. package/dist/bromcom-ui/{p-c99c97c4.entry.js → p-6cab6add.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-ce3a35d8.entry.js → p-6ce60388.entry.js} +1 -1
  31. package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
  32. package/dist/bromcom-ui/{p-970e32f8.entry.js → p-6f3efe64.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-ce64aadd.entry.js → p-73ab46f4.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-bceff6ac.entry.js → p-75e272cd.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-0d9d2b83.entry.js → p-76644372.entry.js} +1 -1
  36. package/dist/bromcom-ui/p-7a552679.entry.js +5 -0
  37. package/dist/bromcom-ui/{p-1a4d3d4b.entry.js → p-7b2eedee.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-b64fb627.js → p-82628edc.js} +1 -1
  39. package/dist/bromcom-ui/{p-ab62dbf4.entry.js → p-8f7f2584.entry.js} +1 -1
  40. package/dist/bromcom-ui/p-90afef52.entry.js +5 -0
  41. package/dist/bromcom-ui/{p-0c5a0aa3.entry.js → p-97e20839.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-b70ce8a8.entry.js → p-981f0059.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-dd3e80e4.entry.js → p-a2476a2e.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-7a335951.entry.js → p-a2cf0b20.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-a313fba6.js +1 -1
  46. package/dist/bromcom-ui/p-a91ec696.entry.js +5 -0
  47. package/dist/bromcom-ui/p-ac5fa5d7.entry.js +5 -0
  48. package/dist/bromcom-ui/{p-7c1acd0c.entry.js → p-adacab59.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-f4363375.js → p-b2b711af.js} +1 -1
  50. package/dist/bromcom-ui/{p-c5dc4334.entry.js → p-b2c37ec3.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-cdae8b98.entry.js → p-b3d1d0bd.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-4aac21d5.entry.js → p-b7999ba9.entry.js} +1 -1
  53. package/dist/bromcom-ui/p-b9249ee3.entry.js +5 -0
  54. package/dist/bromcom-ui/p-bcd34205.entry.js +5 -0
  55. package/dist/bromcom-ui/p-bd771c5d.js +5 -0
  56. package/dist/bromcom-ui/{p-a9632cd3.js → p-c5a2a4d3.js} +1 -1
  57. package/dist/bromcom-ui/{p-5e195721.entry.js → p-c5ec482d.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-1aeb3b84.entry.js → p-cae42fa5.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-5c79fb9a.entry.js → p-cbd18e81.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-3c58d022.entry.js → p-cc8316af.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-979af47a.js → p-cca60157.js} +1 -1
  62. package/dist/bromcom-ui/{p-b51a5ffe.entry.js → p-cf29d3a3.entry.js} +1 -1
  63. package/dist/bromcom-ui/p-cfabc98e.js +5 -0
  64. package/dist/bromcom-ui/{p-7750d6c9.entry.js → p-d3ae97d2.entry.js} +1 -1
  65. package/dist/bromcom-ui/{p-fa937fc9.entry.js → p-d5beae62.entry.js} +1 -1
  66. package/dist/bromcom-ui/{p-6bcd722c.entry.js → p-d7d57996.entry.js} +1 -1
  67. package/dist/bromcom-ui/{p-23697f6e.entry.js → p-d8a6eb19.entry.js} +1 -1
  68. package/dist/bromcom-ui/p-e1b92293.entry.js +5 -0
  69. package/dist/bromcom-ui/{p-ecdd078d.js → p-e1c55578.js} +1 -1
  70. package/dist/bromcom-ui/{p-42385d2c.js → p-e379c615.js} +1 -1
  71. package/dist/bromcom-ui/{p-e707a4cb.entry.js → p-e7dd2f8a.entry.js} +1 -1
  72. package/dist/bromcom-ui/{p-9242e8a4.entry.js → p-eb982b4b.entry.js} +1 -1
  73. package/dist/bromcom-ui/{p-23d97a8f.entry.js → p-ebd6b7af.entry.js} +1 -1
  74. package/dist/bromcom-ui/{p-cddf5e9d.entry.js → p-efa62773.entry.js} +1 -1
  75. package/dist/bromcom-ui/{p-1b977778.entry.js → p-f07dc559.entry.js} +1 -1
  76. package/dist/bromcom-ui/{p-fec2e602.entry.js → p-f0bb5539.entry.js} +1 -1
  77. package/dist/bromcom-ui/{p-f9782984.entry.js → p-f41cdd9b.entry.js} +1 -1
  78. package/dist/bromcom-ui/{p-283d69bd.entry.js → p-f6960d79.entry.js} +1 -1
  79. package/dist/bromcom-ui/{p-dbea0599.entry.js → p-fb529ec0.entry.js} +1 -1
  80. package/dist/cjs/{bcm-1d1fcf21.js → bcm-489c9b1a.js} +4 -4
  81. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  82. package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
  83. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -8
  84. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -8
  85. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +330 -0
  86. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  87. package/dist/cjs/bcm-avatar_2.cjs.entry.js +10 -10
  88. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  89. package/dist/cjs/bcm-button-group.cjs.entry.js +7 -7
  90. package/dist/cjs/{bcm-attendance-actions_2.cjs.entry.js → bcm-button_2.cjs.entry.js} +56 -327
  91. package/dist/cjs/bcm-caption.cjs.entry.js +9 -9
  92. package/dist/cjs/bcm-card.cjs.entry.js +5 -5
  93. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +7 -7
  94. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +6 -6
  95. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +11 -11
  96. package/dist/cjs/bcm-chip-group.cjs.entry.js +9 -9
  97. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  98. package/dist/cjs/bcm-color-input.cjs.entry.js +6 -6
  99. package/dist/cjs/bcm-colorful_2.cjs.entry.js +12 -12
  100. package/dist/cjs/bcm-date-picker.cjs.entry.js +4 -4
  101. package/dist/cjs/bcm-date.cjs.entry.js +9 -9
  102. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +9 -9
  103. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  104. package/dist/cjs/bcm-drawer.cjs.entry.js +8 -8
  105. package/dist/cjs/bcm-dropdown.cjs.entry.js +7 -7
  106. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
  107. package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
  108. package/dist/cjs/bcm-form.cjs.entry.js +2 -2
  109. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  110. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +9 -9
  111. package/dist/cjs/bcm-input_2.cjs.entry.js +16 -16
  112. package/dist/cjs/bcm-item.cjs.entry.js +4 -4
  113. package/dist/cjs/bcm-items.cjs.entry.js +4 -4
  114. package/dist/cjs/bcm-label_2.cjs.entry.js +13 -13
  115. package/dist/cjs/bcm-link.cjs.entry.js +3 -3
  116. package/dist/cjs/bcm-list_3.cjs.entry.js +35 -27
  117. package/dist/cjs/bcm-menu.cjs.entry.js +8 -8
  118. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
  119. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
  120. package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -7
  121. package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
  122. package/dist/cjs/bcm-number-input.cjs.entry.js +9 -9
  123. package/dist/cjs/bcm-old-input.cjs.entry.js +1 -1
  124. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +5 -5
  125. package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -5
  126. package/dist/cjs/bcm-popover.cjs.entry.js +9 -9
  127. package/dist/cjs/bcm-progress.cjs.entry.js +4 -4
  128. package/dist/cjs/bcm-radio-group.cjs.entry.js +11 -11
  129. package/dist/cjs/bcm-radio.cjs.entry.js +13 -13
  130. package/dist/cjs/bcm-range.cjs.entry.js +6 -6
  131. package/dist/cjs/bcm-rc-picker.cjs.entry.js +2 -2
  132. package/dist/cjs/bcm-select.cjs.entry.js +2 -2
  133. package/dist/cjs/bcm-shortcut.cjs.entry.js +10 -10
  134. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  135. package/dist/cjs/bcm-step.cjs.entry.js +3 -3
  136. package/dist/cjs/bcm-stepper.cjs.entry.js +9 -9
  137. package/dist/cjs/bcm-switch.cjs.entry.js +10 -10
  138. package/dist/cjs/bcm-tab-group.cjs.entry.js +7 -7
  139. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +10 -10
  140. package/dist/cjs/bcm-tab-item.cjs.entry.js +6 -6
  141. package/dist/cjs/bcm-table.cjs.entry.js +6 -6
  142. package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
  143. package/dist/cjs/bcm-text.cjs.entry.js +3 -3
  144. package/dist/cjs/bcm-time-picker.cjs.entry.js +4 -4
  145. package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
  146. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  147. package/dist/cjs/{caption-template-6f535b93.js → caption-template-086e9cac.js} +1 -1
  148. package/dist/cjs/{floating-ui-5b396838.js → floating-ui-21890d11.js} +2 -2
  149. package/dist/cjs/{generate-794c57b1.js → generate-6049d4ea.js} +1 -1
  150. package/dist/cjs/{global-c8462cce.js → global-3da2bb83.js} +1 -1
  151. package/dist/cjs/{input-template-c6c22a3e.js → input-template-124db066.js} +6 -6
  152. package/dist/cjs/{json-parse-decarator-55cde592.js → json-parse-decarator-81231a37.js} +1 -1
  153. package/dist/cjs/{label-template-3b970f86.js → label-template-94b3d775.js} +2 -2
  154. package/dist/cjs/loader.cjs.js +3 -3
  155. package/dist/cjs/{number-helper-9d81ab60.js → number-helper-6003ce3c.js} +1 -1
  156. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
  157. package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
  158. package/dist/cjs/{package-38271f86.js → package-dfacf86b.js} +1 -1
  159. package/dist/cjs/{popover-placement-02e6101b.js → popover-placement-e7d6eabd.js} +1 -1
  160. package/dist/cjs/{slot-template-df7b5b59.js → slot-template-c8e2816c.js} +1 -1
  161. package/dist/cjs/{stepper-states-e9eb3b78.js → stepper-states-00da997b.js} +1 -1
  162. package/dist/cjs/{string-helper-9cdfb273.js → string-helper-f9184277.js} +2 -2
  163. package/dist/cjs/{tooltip-helper-e0d71511.js → tooltip-helper-5ab24701.js} +9 -9
  164. package/dist/cjs/{validators-b8329cff.js → validators-e395ef8b.js} +1 -1
  165. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +1 -1
  166. package/dist/collection/components/organism/list/list.css +3 -5
  167. package/dist/collection/components/organism/list/list.js +6 -0
  168. package/dist/collection/components/other_deprecated/collapse/collapse.css +7 -0
  169. package/dist/collection/components/other_deprecated/collapse/collapse.js +16 -8
  170. package/dist/collection/templates/caption-template.js +1 -1
  171. package/dist/collection/templates/list-item-template.js +3 -0
  172. package/dist/components/bcm-collapse.js +14 -6
  173. package/dist/components/caption-template.js +1 -1
  174. package/dist/components/datetime-picker.js +1 -1
  175. package/dist/components/generate.js +1 -1
  176. package/dist/components/list.js +10 -1
  177. package/dist/esm/bcm-a50d55ba.js +1 -1
  178. package/dist/esm/bcm-accordion.entry.js +2 -2
  179. package/dist/esm/bcm-alert.entry.js +2 -2
  180. package/dist/esm/bcm-attendance-actions-comment.entry.js +5 -5
  181. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +5 -5
  182. package/dist/esm/bcm-attendance-actions.entry.js +326 -0
  183. package/dist/esm/bcm-attendance.entry.js +2 -2
  184. package/dist/esm/bcm-avatar_2.entry.js +5 -5
  185. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  186. package/dist/esm/bcm-button-group.entry.js +3 -3
  187. package/dist/esm/{bcm-attendance-actions_2.entry.js → bcm-button_2.entry.js} +54 -325
  188. package/dist/esm/bcm-caption.entry.js +6 -6
  189. package/dist/esm/bcm-card.entry.js +2 -2
  190. package/dist/esm/bcm-checkbox-group.entry.js +3 -3
  191. package/dist/esm/bcm-checkbox-lite_9.entry.js +3 -3
  192. package/dist/esm/bcm-checkbox_2.entry.js +4 -4
  193. package/dist/esm/bcm-chip-group.entry.js +6 -6
  194. package/dist/esm/bcm-chip.entry.js +2 -2
  195. package/dist/esm/bcm-color-input.entry.js +4 -4
  196. package/dist/esm/bcm-colorful_2.entry.js +5 -5
  197. package/dist/esm/bcm-date-picker.entry.js +3 -3
  198. package/dist/esm/bcm-date.entry.js +6 -6
  199. package/dist/esm/bcm-datetime-picker.entry.js +4 -4
  200. package/dist/esm/bcm-default.entry.js +2 -2
  201. package/dist/esm/bcm-drawer.entry.js +5 -5
  202. package/dist/esm/bcm-dropdown.entry.js +4 -4
  203. package/dist/esm/bcm-expansion-panel.entry.js +2 -2
  204. package/dist/esm/bcm-form-2.entry.js +3 -3
  205. package/dist/esm/bcm-input-custom.entry.js +2 -2
  206. package/dist/esm/bcm-input-dropdown.entry.js +6 -6
  207. package/dist/esm/bcm-input_2.entry.js +7 -7
  208. package/dist/esm/bcm-item.entry.js +3 -3
  209. package/dist/esm/bcm-items.entry.js +2 -2
  210. package/dist/esm/bcm-label_2.entry.js +6 -6
  211. package/dist/esm/bcm-link.entry.js +1 -1
  212. package/dist/esm/bcm-list_3.entry.js +17 -9
  213. package/dist/esm/bcm-menu.entry.js +5 -5
  214. package/dist/esm/bcm-modal-2-footer.entry.js +4 -4
  215. package/dist/esm/bcm-modal-2-header.entry.js +4 -4
  216. package/dist/esm/bcm-modal-2.entry.js +5 -5
  217. package/dist/esm/bcm-modal.entry.js +3 -3
  218. package/dist/esm/bcm-number-input.entry.js +6 -6
  219. package/dist/esm/bcm-old-input.entry.js +1 -1
  220. package/dist/esm/bcm-popconfirm-box.entry.js +2 -2
  221. package/dist/esm/bcm-popconfirm.entry.js +3 -3
  222. package/dist/esm/bcm-popover.entry.js +5 -5
  223. package/dist/esm/bcm-progress.entry.js +3 -3
  224. package/dist/esm/bcm-radio-group.entry.js +6 -6
  225. package/dist/esm/bcm-radio.entry.js +5 -5
  226. package/dist/esm/bcm-range.entry.js +3 -3
  227. package/dist/esm/bcm-rc-picker.entry.js +1 -1
  228. package/dist/esm/bcm-shortcut.entry.js +5 -5
  229. package/dist/esm/bcm-skeleton.entry.js +4 -4
  230. package/dist/esm/bcm-step.entry.js +3 -3
  231. package/dist/esm/bcm-stepper.entry.js +6 -6
  232. package/dist/esm/bcm-switch.entry.js +4 -4
  233. package/dist/esm/bcm-tab-group.entry.js +5 -5
  234. package/dist/esm/bcm-tab-item-header.entry.js +5 -5
  235. package/dist/esm/bcm-tab-item.entry.js +4 -4
  236. package/dist/esm/bcm-table.entry.js +4 -4
  237. package/dist/esm/bcm-tag.entry.js +4 -4
  238. package/dist/esm/bcm-time-picker.entry.js +3 -3
  239. package/dist/esm/bcm-toast.entry.js +3 -3
  240. package/dist/esm/bromcom-ui.js +3 -3
  241. package/dist/esm/{caption-template-b5210fba.js → caption-template-caa3bc94.js} +1 -1
  242. package/dist/esm/floating-ui-3f4394da.js +1 -1
  243. package/dist/esm/{generate-4cecdf46.js → generate-80faf723.js} +1 -1
  244. package/dist/esm/{global-38baa9be.js → global-5b97a4f6.js} +1 -1
  245. package/dist/esm/{input-template-96eea581.js → input-template-645d4d3e.js} +2 -2
  246. package/dist/esm/{json-parse-decarator-7fe3bbec.js → json-parse-decarator-2a9a3d68.js} +1 -1
  247. package/dist/esm/label-template-737576c4.js +1 -1
  248. package/dist/esm/loader.js +3 -3
  249. package/dist/esm/{number-helper-11c1236c.js → number-helper-b1a0b969.js} +1 -1
  250. package/dist/esm/old-bcm-popover-box.entry.js +3 -3
  251. package/dist/esm/old-bcm-popover.entry.js +3 -3
  252. package/dist/esm/{package-324454ca.js → package-20190b9f.js} +1 -1
  253. package/dist/esm/{stepper-states-6887e3b8.js → stepper-states-b4b535fc.js} +1 -1
  254. package/dist/esm/string-helper-85990695.js +1 -1
  255. package/dist/esm/{tooltip-helper-3fcc4880.js → tooltip-helper-088f4c50.js} +4 -4
  256. package/dist/esm/{validators-aadf3740.js → validators-cc82d552.js} +1 -1
  257. package/dist/types/components/organism/list/list.d.ts +1 -0
  258. package/dist/types/components/other_deprecated/collapse/collapse.d.ts +3 -1
  259. package/package.json +1 -1
  260. package/dist/bromcom-ui/p-01bd2fbb.entry.js +0 -5
  261. package/dist/bromcom-ui/p-110fb2e6.entry.js +0 -5
  262. package/dist/bromcom-ui/p-29e07b1c.entry.js +0 -5
  263. package/dist/bromcom-ui/p-3d1debbc.entry.js +0 -5
  264. package/dist/bromcom-ui/p-45854285.entry.js +0 -5
  265. package/dist/bromcom-ui/p-5c59f8e5.js +0 -5
  266. package/dist/bromcom-ui/p-a3b08549.entry.js +0 -5
  267. package/dist/bromcom-ui/p-a7e8b56c.entry.js +0 -5
  268. package/dist/bromcom-ui/p-ab52f0fd.entry.js +0 -5
  269. package/dist/bromcom-ui/p-c360185a.entry.js +0 -5
  270. package/dist/bromcom-ui/p-d9055031.entry.js +0 -5
  271. package/dist/bromcom-ui/p-f320ed14.entry.js +0 -5
  272. package/dist/bromcom-ui/p-fc2bfd97.entry.js +0 -5
  273. package/dist/bromcom-ui/p-fd2abdda.js +0 -5
  274. package/dist/cjs/bcm-collapse.cjs.entry.js +0 -46
  275. package/dist/esm/bcm-collapse.entry.js +0 -42
@@ -7,8 +7,8 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-c591ecec.js');
10
- const generate = require('./generate-794c57b1.js');
11
- require('./package-38271f86.js');
10
+ const generate = require('./generate-6049d4ea.js');
11
+ require('./package-dfacf86b.js');
12
12
  require('./colors-078851ec.js');
13
13
  require('./_commonjsHelpers-ed84c3ca.js');
14
14
 
@@ -9,18 +9,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
  const index$1 = require('./index-c591ecec.js');
10
10
  const colorHelper = require('./color-helper-c3a819ea.js');
11
11
  require('./datetime-helper-eaf4fadb.js');
12
- const generate = require('./generate-794c57b1.js');
13
- require('./number-helper-9d81ab60.js');
14
- require('./string-helper-9cdfb273.js');
15
- require('./validators-b8329cff.js');
12
+ const generate = require('./generate-6049d4ea.js');
13
+ require('./number-helper-6003ce3c.js');
14
+ require('./string-helper-f9184277.js');
15
+ require('./validators-e395ef8b.js');
16
16
  require('./element-dragger-a8562f82.js');
17
- const bcm = require('./bcm-1d1fcf21.js');
17
+ const bcm = require('./bcm-489c9b1a.js');
18
18
  const index = require('./index-5279dea2.js');
19
19
  require('./colors-56282b00.js');
20
20
  require('./utils-fc077139.js');
21
21
  require('./colors-078851ec.js');
22
22
  require('./_commonjsHelpers-ed84c3ca.js');
23
- require('./package-38271f86.js');
23
+ require('./package-dfacf86b.js');
24
24
 
25
25
  const avatarStyle = index.ce({
26
26
  slots: {
@@ -67,8 +67,8 @@ const BcmAvatar = class {
67
67
  this.image = undefined;
68
68
  this.name = undefined;
69
69
  this.alt = undefined;
70
- this.shape = bcm.Bcm.Shape.ellipse;
71
- this.size = bcm.Bcm.Size.medium;
70
+ this.shape = bcm.Bcm$1.Shape.ellipse;
71
+ this.size = bcm.Bcm$1.Size.medium;
72
72
  this.color = undefined;
73
73
  this.icon = "fas fa-user";
74
74
  this.status = undefined;
@@ -94,7 +94,7 @@ const BcmAvatar = class {
94
94
  },
95
95
  variable: "--bcm-avatar",
96
96
  });
97
- const customSize = !Object.keys(bcm.Bcm.BaseSize).includes(size)
97
+ const customSize = !Object.keys(bcm.Bcm$1.BaseSize).includes(size)
98
98
  ? {
99
99
  width: `${size}px`,
100
100
  height: `${size}px`,
@@ -185,7 +185,7 @@ const BcmBadge = class {
185
185
  this.blink = false;
186
186
  this.value = undefined;
187
187
  this.color = undefined;
188
- this.size = bcm.Bcm.Size.medium;
188
+ this.size = bcm.Bcm$1.Size.medium;
189
189
  this.status = undefined;
190
190
  }
191
191
  render() {
@@ -8,9 +8,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-c591ecec.js');
10
10
  const index$1 = require('./index-95ae50d0.js');
11
- const generate = require('./generate-794c57b1.js');
11
+ const generate = require('./generate-6049d4ea.js');
12
12
  require('./_commonjsHelpers-ed84c3ca.js');
13
- require('./package-38271f86.js');
13
+ require('./package-dfacf86b.js');
14
14
  require('./colors-078851ec.js');
15
15
 
16
16
  const breadcrumbCss = "@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-breadcrumb{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;color:var(--bcm-color-grey-7)}.bcm-breadcrumb__item{display:flex;align-items:center}.bcm-breadcrumb .seperator{cursor:default;display:inline-flex;align-items:center;justify-content:center;margin-left:8px;margin-right:8px;color:var(--bcm-color-grey-7)}.bcm-breadcrumb bcm-link:hover{color:var(--bcm-color-grey-7)}.bcm-breadcrumb .active{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .active:hover{color:var(--bcm-color-grey-8)}.bcm-breadcrumb .is-link:hover{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb .is-link:hover bcm-link,.bcm-breadcrumb .is-link:hover bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item{position:relative;display:inline-flex}.bcm-breadcrumb__dropdown-item summary{display:inline-flex;align-items:center;cursor:pointer}.bcm-breadcrumb__dropdown-item summary>span{display:inline-flex;align-items:center}.bcm-breadcrumb__dropdown-item summary::-webkit-details-marker{display:none}.bcm-breadcrumb__dropdown-item summary:focus{outline:none}.bcm-breadcrumb__dropdown-item summary.open bcm-link,.bcm-breadcrumb__dropdown-item summary.open bcm-icon{color:var(--bcm-color-prime-blue-6)}.bcm-breadcrumb__dropdown-item summary .down-icon{margin-left:4px}.bcm-breadcrumb__dropdown-submenu{position:absolute;min-width:140px;background-color:var(--bcm-color-grey-1);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.25);margin-top:4px}.bcm-breadcrumb__dropdown-submenu .dropdown-item{display:flex;padding:4px 8px}.bcm-breadcrumb__dropdown-submenu .dropdown-item bcm-link{width:100%}";
@@ -7,11 +7,11 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-c591ecec.js');
10
- const generate = require('./generate-794c57b1.js');
11
- const bcm = require('./bcm-1d1fcf21.js');
10
+ const generate = require('./generate-6049d4ea.js');
11
+ const bcm = require('./bcm-489c9b1a.js');
12
12
  const index$1 = require('./index-95ae50d0.js');
13
- const stringHelper = require('./string-helper-9cdfb273.js');
14
- require('./package-38271f86.js');
13
+ const stringHelper = require('./string-helper-f9184277.js');
14
+ require('./package-dfacf86b.js');
15
15
  require('./colors-078851ec.js');
16
16
  require('./_commonjsHelpers-ed84c3ca.js');
17
17
 
@@ -22,11 +22,11 @@ const BcmButtonGroup = class {
22
22
  index.registerInstance(this, hostRef);
23
23
  this.bcmChange = index.createEvent(this, "bcm-change", 7);
24
24
  this._id = generate.Generate.UID();
25
- this.size = bcm.Bcm$1.Size.medium;
25
+ this.size = bcm.Bcm.Size.medium;
26
26
  this.type = 'button';
27
27
  this.color = undefined;
28
28
  this.disabled = undefined;
29
- this.direction = bcm.Bcm$1.Direction.horizontal;
29
+ this.direction = bcm.Bcm.Direction.horizontal;
30
30
  }
31
31
  componentWillLoad() {
32
32
  const { size, color } = this;
@@ -81,7 +81,7 @@ const BcmButtonGroup = class {
81
81
  }
82
82
  render() {
83
83
  const hostClasses = index$1.classnames('bcm-button-group', {
84
- 'bcm-button-group__vertical': this.direction === bcm.Bcm$1.Direction.vertical,
84
+ 'bcm-button-group__vertical': this.direction === bcm.Bcm.Direction.vertical,
85
85
  });
86
86
  return (index.h(index.Host, { class: hostClasses }, index.h("slot", null)));
87
87
  }
@@ -7,327 +7,18 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index$1 = require('./index-c591ecec.js');
10
- const colorHelper = require('./color-helper-c3a819ea.js');
11
- require('./datetime-helper-eaf4fadb.js');
12
- const generate = require('./generate-794c57b1.js');
13
- require('./number-helper-9d81ab60.js');
14
- require('./string-helper-9cdfb273.js');
15
- require('./validators-b8329cff.js');
16
- require('./element-dragger-a8562f82.js');
17
- const bcm = require('./bcm-1d1fcf21.js');
10
+ const generate = require('./generate-6049d4ea.js');
11
+ const bcm = require('./bcm-489c9b1a.js');
18
12
  const index$2 = require('./index-95ae50d0.js');
19
- const index = require('./index-5279dea2.js');
20
- const index$3 = require('./index-d321de96.js');
21
- const slotTemplate = require('./slot-template-df7b5b59.js');
22
- require('./colors-56282b00.js');
23
- require('./utils-fc077139.js');
13
+ const index = require('./index-d321de96.js');
14
+ const slotTemplate = require('./slot-template-c8e2816c.js');
15
+ const colorHelper = require('./color-helper-c3a819ea.js');
16
+ require('./package-dfacf86b.js');
24
17
  require('./colors-078851ec.js');
25
18
  require('./_commonjsHelpers-ed84c3ca.js');
26
- require('./package-38271f86.js');
27
-
28
- // --bcm-attendance-actions-button-bg: #F1F5F9; /* slate-100 */
29
- // --bcm-attendance-actions-button-text: #334155; /* slate-700 */
30
- // --bcm-attendance-actions-button-border: #CBD5E1; /* slate-300 */
31
- // --bcm-attendance-actions-button-hover-bg: #E2E8F0; /* slate-200 */
32
- // --bcm-attendance-actions-button-active-bg: #CBD5E1; /* slate-300 */
33
- // --bcm-attendance-actions-button-disabled-bg: #CBD5E1; /* slate-300 */
34
- // --bcm-attendance-actions-button-disabled-text: #64748B; /* slate-500 */
35
- const attendanceActionStyle = index.ce({
36
- slots: {
37
- host: ["tw-flex tw-flex-row tw-items-center tw-justify-center tw-w-full tw-max-w-48 tw-gap-2", "bcm-ui-element bcm-attendance-actions"],
38
- base: "",
39
- buttonContainer: "tw-flex tw-flex-row tw-items-center tw-justify-center tw-w-full tw-max-w-[168px]",
40
- button: [
41
- "",
42
- "tw-button-reset",
43
- "tw-flex-1 last:tw-flex-none",
44
- "tw-bg-[--bcm-attendance-actions-button-bg]",
45
- "tw-text-[--bcm-attendance-actions-button-text]",
46
- "tw-border tw-border-solid tw-border-[--bcm-attendance-actions-button-border]",
47
- "hover:tw-bg-[--bcm-attendance-actions-button-hover-bg]",
48
- "active:tw-bg-[--bcm-attendance-actions-button-active-bg]",
49
- "focus-visible:tw-ring-2 focus-visible:tw-ring-offset-2 focus-visible:tw-z-10",
50
- "tw-flex tw-flex-row tw-items-center tw-justify-center",
51
- "first:tw-rounded-l last:tw-rounded-r",
52
- "tw-font-medium",
53
- "-tw-ml-[1px] first:tw-ml-0",
54
- ],
55
- dropdownButton: "",
56
- mainButton: "",
57
- commentIcon: "",
58
- },
59
- variants: {
60
- selected: {
61
- true: {
62
- button: [
63
- "tw-text-white tw-border-transparent last:tw-ml-[1px]",
64
- "first:tw-justify-start",
65
- ],
66
- mainButton: [
67
- "tw-min-w-[calc(theme(spacing.12)-1px)]"
68
- ],
69
- },
70
- false: {
71
- button: [
72
- ""
73
- ],
74
- },
75
- },
76
- size: {
77
- small: {
78
- button: [
79
- "tw-text-2",
80
- "tw-min-h-6",
81
- "tw-gap-2",
82
- ],
83
- mainButton: [
84
- "tw-px-3",
85
- ],
86
- dropdownButton: [
87
- "tw-px-2.5"
88
- ],
89
- },
90
- medium: {
91
- button: [
92
- "tw-text-3",
93
- "tw-min-h-8",
94
- "tw-gap-2",
95
- ],
96
- mainButton: [
97
- "tw-px-3",
98
- ],
99
- dropdownButton: [
100
- "tw-px-2.5"
101
- ],
102
- },
103
- large: {
104
- button: [
105
- "tw-text-4",
106
- "tw-min-h-10",
107
- "tw-gap-2.5",
108
- ],
109
- mainButton: [
110
- "tw-px-3",
111
- ],
112
- dropdownButton: [
113
- "tw-px-3"
114
- ],
115
- },
116
- },
117
- disabled: {
118
- true: {},
119
- false: {}
120
- }
121
- },
122
- compoundVariants: [
123
- {
124
- disabled: true,
125
- class: {
126
- buttonContainer: [
127
- "tw-cursor-not-allowed tw-pointer-events-none",
128
- ],
129
- button: [
130
- "tw-cursor-not-allowed",
131
- "tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
132
- "tw-text-[--bcm-attendance-actions-button-disabled-text]",
133
- "tw-border-transparent",
134
- "hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
135
- ],
136
- mainButton: [
137
- "tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
138
- "tw-text-[--bcm-attendance-actions-button-disabled-text]",
139
- "tw-border-transparent",
140
- "hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
141
- "tw-cursor-not-allowed",
142
- ],
143
- host: [
144
- "tw-cursor-not-allowed",
145
- ],
146
- commentIcon: [
147
- "tw-cursor-not-allowed tw-pointer-events-none",
148
- ],
149
- }
150
- },
151
- {
152
- disabled: false,
153
- class: {
154
- button: [
155
- "tw-cursor-pointer",
156
- ],
157
- }
158
- }
159
- ],
160
- defaultVariants: {
161
- selected: false,
162
- size: "medium",
163
- disabled: false,
164
- },
165
- });
166
-
167
- const attendanceActionsCss = "";
168
-
169
- const BcmAttendanceActions = class {
170
- constructor(hostRef) {
171
- index$1.registerInstance(this, hostRef);
172
- this.change = index$1.createEvent(this, "bcm-attendance-change", 3);
173
- this._id = generate.Generate.UID();
174
- this.size = bcm.Bcm.Size.medium;
175
- this.disabled = false;
176
- this.data = [
177
- { key: "P", value: "Present", color: "emerald", icon: "fa-solid fa-check", priority: 0 },
178
- { key: "A", value: "Absent", color: "red", icon: "fa-solid fa-times", priority: 1 },
179
- { key: "L", value: "Late", color: "amber", icon: "fa-solid fa-clock", priority: 2 },
180
- { key: "C", value: "Other Authorised Circumstance", color: "blue", icon: "fa-solid fa-question" },
181
- { key: "E", value: "Exlude", color: "blue", icon: "fa-solid fa-minus" },
182
- { key: "G", value: "Family Holiday", color: "blue", icon: "fa-solid fa-minus" },
183
- { key: "H", value: "Family Holiday (Agreed)", color: "blue", icon: "fa-solid fa-minus" },
184
- { key: "I", value: "Illness", color: "blue", icon: "fa-solid fa-minus" },
185
- { key: "J", value: "Intervier", color: "blue", icon: "fa-solid fa-minus" },
186
- { key: "M", value: "Medical / Dental", color: "blue", icon: "fa-solid fa-minus" },
187
- { key: "N", value: "No Reason yet PRovided", color: "blue", icon: "fa-solid fa-minus" },
188
- { key: "O", value: "Unauthrised Absence", color: "blue", icon: "fa-solid fa-minus" },
189
- { key: "U", value: "Late after Reg. Closed", color: "blue", icon: "fa-solid fa-minus" },
190
- { key: "X", value: "Non-comp School Age Absence", color: "blue", icon: "fa-solid fa-minus" },
191
- ];
192
- this.lateKeys = "L";
193
- this.hideComment = false;
194
- }
195
- get selectedItem() {
196
- return this.data.find(item => item.selected);
197
- }
198
- get priorityButtons() {
199
- return this.data.filter(item => item.priority !== undefined).sort((a, b) => a.priority - b.priority);
200
- }
201
- get renderButtons() {
202
- const { selectedItem, priorityButtons } = this;
203
- return [...(selectedItem ? [selectedItem] : priorityButtons.length ? priorityButtons : this.data.slice(0, 3))];
204
- }
205
- get lateKeysMap() {
206
- return this.lateKeys.toLocaleLowerCase().split(",");
207
- }
208
- get isLate() {
209
- var _a, _b;
210
- return this.lateKeysMap.includes((_b = (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.key) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase());
211
- }
212
- get dropdownMenuElement() {
213
- return document.getElementById("attendance-dropdown-" + this._id);
214
- }
215
- get commentAreaElement() {
216
- return document.getElementById("comment-" + this._id);
217
- }
218
- handleSelectItem(item, triggerChange = true, showComment = true) {
219
- var _a, _b;
220
- this.data = [...this.data.map(data => { var _a, _b; return (Object.assign(Object.assign({}, data), { selected: ((_a = item.key) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === ((_b = data.key) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase()) })); })];
221
- (_a = this.dropdownMenuElement) === null || _a === void 0 ? void 0 : _a.hide();
222
- (_b = this.commentAreaElement) === null || _b === void 0 ? void 0 : _b.hide();
223
- if (!this.isLate)
224
- return triggerChange && this.changed();
225
- !this.hideComment && showComment && this.commentArea();
226
- }
227
- changed() {
228
- this.change.emit(this.selectedItem);
229
- }
230
- hasDataForKey(key) {
231
- return !!this.data.find(item => item.key.toLocaleLowerCase() === key.toLocaleLowerCase());
232
- }
233
- handleKeyPress({ key }) {
234
- if (!this.hasDataForKey(key))
235
- return;
236
- const item = this.data.find(item => { var _a; return ((_a = item.key) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === (key === null || key === void 0 ? void 0 : key.toLocaleLowerCase()); });
237
- this.handleSelectItem(item);
238
- }
239
- handleSave(lateMinutes, comment) {
240
- this.data = [...this.data].map(item => {
241
- var _a, _b, _c;
242
- if (((_a = item.key) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === ((_c = (_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.key) === null || _c === void 0 ? void 0 : _c.toLocaleLowerCase())) {
243
- return Object.assign(Object.assign({}, item), { lateMin: lateMinutes, comment });
244
- }
245
- return item;
246
- });
247
- this.changed();
248
- }
249
- dropdownMenu() {
250
- var _a;
251
- const dropdownMenu = generate.Generate.createComponent("bcm-attendance-actions-dropdown", {
252
- id: "attendance-dropdown-" + this._id,
253
- size: this.size,
254
- data: this.data,
255
- selectedKey: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.key,
256
- targetId: "attendance-dropdown-button-" + this._id,
257
- });
258
- dropdownMenu.addEventListener("bcm-attendance-actions-dropdown-change", ({ detail }) => {
259
- this.handleSelectItem(detail);
260
- });
261
- dropdownMenu.show();
262
- }
263
- commentArea() {
264
- var _a, _b;
265
- const commentArea = generate.Generate.createComponent("bcm-attendance-actions-comment", {
266
- id: "comment-" + this._id,
267
- size: this.size,
268
- isLate: this.isLate,
269
- targetId: "comment-area-" + this._id,
270
- selectedItem: this.selectedItem,
271
- lateMinutes: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.lateMin,
272
- comment: (_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.comment,
273
- });
274
- commentArea.addEventListener("bcm-attendance-actions-comment-change", ({ detail }) => {
275
- this.handleSave(detail.lateMinutes, detail.comment);
276
- });
277
- commentArea.show();
278
- }
279
- async set(key, triggerChange = true) {
280
- if (!this.hasDataForKey(key))
281
- return;
282
- const item = this.data.find(item => { var _a; return ((_a = item.key) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === (key === null || key === void 0 ? void 0 : key.toLocaleLowerCase()); });
283
- this.handleSelectItem(item, triggerChange, false);
284
- }
285
- async get() {
286
- return this.selectedItem;
287
- }
288
- render() {
289
- var _a, _b, _c;
290
- const { selectedItem, renderButtons, disabled, hideComment, size } = this;
291
- const { host, buttonContainer, button, dropdownButton, commentIcon, mainButton } = attendanceActionStyle({
292
- selected: !!selectedItem,
293
- size,
294
- disabled,
295
- });
296
- const buttonStyle = !!selectedItem
297
- ? generate.Generate.getTwColor({
298
- color: (_a = selectedItem.color) !== null && _a !== void 0 ? _a : "blue",
299
- tones: {
300
- 600: ["bg"],
301
- 700: ["hover-bg"],
302
- 800: ["active-bg"],
303
- },
304
- variable: "--bcm-attendance-actions-button",
305
- })
306
- : {};
307
- const buttonAttributes = {
308
- class: index$2.classnames(button(), mainButton()),
309
- style: Object.assign({}, buttonStyle),
310
- disabled,
311
- type: "button",
312
- };
313
- const iconButtonAttributes = Object.assign(Object.assign({}, buttonAttributes), { class: index$2.classnames(button(), dropdownButton()) });
314
- const isShowCommentIcon = !hideComment && !!selectedItem;
315
- const commentTooltip = (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.comment) || (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.lateMin) ? `${(selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.comment) || ""}${(selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.lateMin) ? ` (${selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.lateMin} min) ` : ""}` : "";
316
- return (index$1.h(index$1.Host, { class: host(), onKeyPress: this.handleKeyPress.bind(this) }, index$1.h("div", { class: buttonContainer() }, renderButtons === null || renderButtons === void 0 ? void 0 :
317
- renderButtons.map(item => {
318
- return (index$1.h("button", Object.assign({}, buttonAttributes, { onClick: () => this.handleSelectItem(item), title: item.value }), index$1.h("i", { class: index$2.classnames(item.icon || "fa-solid fa-minus", "!tw-leading-[inherit]") }), item.selected && index$1.h("span", { class: "tw-truncate" }, item.value)));
319
- }), index$1.h("button", Object.assign({ id: "attendance-dropdown-button-" + this._id }, iconButtonAttributes, { onClick: () => this.dropdownMenu(), title: "More" }), index$1.h("i", { class: index$2.classnames("fa-solid fa-angle-down !tw-leading-[inherit]") }))), index$1.h("div", { id: "comment-area-" + this._id, class: index$2.classnames(commentIcon(), {
320
- "tw-cursor-default": !isShowCommentIcon,
321
- "tw-cursor-pointer": isShowCommentIcon,
322
- }), onClick: () => isShowCommentIcon && this.commentArea() }, index$1.h("i", { title: isShowCommentIcon ? commentTooltip : "", class: index$2.classnames("fa-solid fa-comment", {
323
- "tw-text-gray-400": !(((_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.comment) || ((_c = this.selectedItem) === null || _c === void 0 ? void 0 : _c.lateMin)),
324
- "tw-visible": isShowCommentIcon,
325
- "tw-invisible": !isShowCommentIcon,
326
- }) }))));
327
- }
328
- get el() { return index$1.getElement(this); }
329
- };
330
- BcmAttendanceActions.style = attendanceActionsCss;
19
+ require('./string-helper-f9184277.js');
20
+ require('./colors-56282b00.js');
21
+ require('./utils-fc077139.js');
331
22
 
332
23
  const variantOptions = {
333
24
  save: {
@@ -496,7 +187,7 @@ var VariantProps;
496
187
  VariantProps["download"] = "download";
497
188
  })(VariantProps || (VariantProps = {}));
498
189
 
499
- const { state } = index$3.createStore({
190
+ const { state } = index.createStore({
500
191
  value: new Map(),
501
192
  setData: {},
502
193
  removeData: {}
@@ -505,7 +196,7 @@ const setValue = (val) => {
505
196
  const data = Object.assign(Object.assign({}, val), (variantOptions[val.variant] && {
506
197
  icon: variantOptions[val.variant].icon,
507
198
  value: variantOptions[val.variant].text,
508
- iconPosition: bcm.Bcm$1.IconPosition[variantOptions[val.variant].iconPosition],
199
+ iconPosition: bcm.Bcm.IconPosition[variantOptions[val.variant].iconPosition],
509
200
  variantColor: variantOptions[val.variant].color
510
201
  }));
511
202
  state.value.set(data.id, data);
@@ -521,8 +212,8 @@ const buttonState = {
521
212
  };
522
213
 
523
214
  const ButtonTemplate = ({ value, type, componentClass, disabled, href, target, loading, isIconOnly, icon, iconPosition, id }) => {
524
- const ButtonTagType = (href) ? bcm.Bcm$1.HtmlElementType.a : bcm.Bcm$1.HtmlElementType.button;
525
- return (index$1.h(ButtonTagType, Object.assign({ id: id }, (type == bcm.Bcm$1.HtmlElementType.button && { type }), { class: componentClass, disabled: disabled, href: href, target: target, tabindex: "0" }),
215
+ const ButtonTagType = (href) ? bcm.Bcm.HtmlElementType.a : bcm.Bcm.HtmlElementType.button;
216
+ return (index$1.h(ButtonTagType, Object.assign({ id: id }, (type == bcm.Bcm.HtmlElementType.button && { type }), { class: componentClass, disabled: disabled, href: href, target: target, tabindex: "0" }),
526
217
  index$1.h("span", { hidden: true },
527
218
  index$1.h("slot", null)),
528
219
  loading && index$1.h("span", { class: "bcm-button__container-loading" },
@@ -544,10 +235,10 @@ const BcmButton = class {
544
235
  this.bcmClick = index$1.createEvent(this, "bcm-click", 7);
545
236
  this._id = generate.Generate.UID();
546
237
  this.hidden = false;
547
- this.type = bcm.Bcm$1.ButtonType.button;
548
- this.size = bcm.Bcm$1.Size.medium;
238
+ this.type = bcm.Bcm.ButtonType.button;
239
+ this.size = bcm.Bcm.Size.medium;
549
240
  this.disabled = false;
550
- this.kind = bcm.Bcm$1.Kind.solid;
241
+ this.kind = bcm.Bcm.Kind.solid;
551
242
  this.outline = false;
552
243
  this.icon = undefined;
553
244
  this.href = undefined;
@@ -557,7 +248,7 @@ const BcmButton = class {
557
248
  this.variant = undefined;
558
249
  this.dataDismiss = false;
559
250
  this.fullWidth = false;
560
- this.iconPosition = bcm.Bcm$1.IconPosition.prefix;
251
+ this.iconPosition = bcm.Bcm.IconPosition.prefix;
561
252
  this.color = undefined;
562
253
  this.checked = false;
563
254
  }
@@ -678,5 +369,43 @@ const BcmButton = class {
678
369
  };
679
370
  BcmButton.style = buttonCss;
680
371
 
681
- exports.bcm_attendance_actions = BcmAttendanceActions;
372
+ const collapseCss = "@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([data-slot-empty]) .bcm-collapse__body{padding:0}:host([data-slot-empty]) .bcm-collapse--open{border-bottom:none}.bcm-collapse{display:block;border:1px solid var(--bcm-color-grey-5)}.bcm-collapse ::-webkit-details-marker{display:none}.bcm-collapse__header{display:flex;align-items:center;color:var(--bcm-color-grey-9);padding:16px;background-color:var(--bcm-color-grey-2);border-bottom:1px solid var(--bcm-color-grey-5);cursor:default;user-select:none}.bcm-collapse__header:focus{outline:none}.bcm-collapse__header .collapse-icon{margin-right:8px;display:flex;align-items:center;justify-content:center}.bcm-collapse__body{padding:16px;background-color:var(--bcm-color-grey-1);color:var(--bcm-color-grey-8)}.bcm-collapse--borderless{border:none}.bcm-collapse--borderless:not(.bcm-collapse--no-border){border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-collapse--borderless .bcm-collapse__header{border-bottom:none}.bcm-collapse--borderless .bcm-collapse__body{background-color:var(--bcm-color-grey-2);padding:0 40px 16px}.bcm-collapse:not(.bcm-collapse--open) .bcm-collapse__header{border-bottom:none}.bcm-collapse:not(:first-child) .collapse{border-top:none}.bcm-collapse.hidden{display:none}";
373
+
374
+ const BcmCollapse = class {
375
+ constructor(hostRef) {
376
+ index$1.registerInstance(this, hostRef);
377
+ this.bcmCollapseOpen = index$1.createEvent(this, "bcm-collapse-open", 7);
378
+ this._id = generate.Generate.UID();
379
+ this.borderless = false;
380
+ this.open = false;
381
+ this.noBorder = false;
382
+ this.hidden = false;
383
+ }
384
+ componentDidRender() {
385
+ this.open && this.bcmCollapseOpen.emit(this._id);
386
+ }
387
+ componentDidLoad() {
388
+ this.checkSlotEmpty();
389
+ }
390
+ checkSlotEmpty() {
391
+ const isSlotEmpty = this.el.querySelector('[slot="body"]') === null;
392
+ isSlotEmpty && this.el.setAttribute("data-slot-empty", String(isSlotEmpty));
393
+ !isSlotEmpty && this.el.removeAttribute("data-slot-empty");
394
+ }
395
+ render() {
396
+ const { hidden, borderless, open, noBorder, _id } = this;
397
+ const classes = index$2.classnames("bcm-collapse", {
398
+ "bcm-collapse--borderless": borderless,
399
+ "bcm-collapse--open": open,
400
+ "bcm-collapse--no-border": noBorder,
401
+ });
402
+ const caretDown = '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"/></svg>';
403
+ const caretRight = '<svg style="fill: #595959; width: 14px; height: 14px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"/></svg>';
404
+ return (index$1.h(index$1.Host, { class: { hidden }, id: _id }, index$1.h("details", { class: classes, open: open }, index$1.h("summary", { class: "bcm-collapse__header size-2", onClick: () => (this.open = !open) }, index$1.h("span", { class: "collapse-icon", innerHTML: open ? caretDown : caretRight }), index$1.h("slot", { name: "title" })), index$1.h("div", { class: "bcm-collapse__body" }, index$1.h("slot", { name: "body", onSlotchange: () => this.checkSlotEmpty() })))));
405
+ }
406
+ get el() { return index$1.getElement(this); }
407
+ };
408
+ BcmCollapse.style = collapseCss;
409
+
682
410
  exports.bcm_button = BcmButton;
411
+ exports.bcm_collapse = BcmCollapse;
@@ -7,34 +7,34 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-c591ecec.js');
10
- const bcm = require('./bcm-1d1fcf21.js');
11
- require('./string-helper-9cdfb273.js');
12
- const captionTemplate = require('./caption-template-6f535b93.js');
10
+ const bcm = require('./bcm-489c9b1a.js');
11
+ require('./string-helper-f9184277.js');
12
+ const captionTemplate = require('./caption-template-086e9cac.js');
13
13
  require('./index-95ae50d0.js');
14
14
  require('./types-cc4adee7.js');
15
15
  require('./color-helper-c3a819ea.js');
16
16
  require('./datetime-helper-eaf4fadb.js');
17
- require('./generate-794c57b1.js');
18
- require('./number-helper-9d81ab60.js');
19
- require('./validators-b8329cff.js');
17
+ require('./generate-6049d4ea.js');
18
+ require('./number-helper-6003ce3c.js');
19
+ require('./validators-e395ef8b.js');
20
20
  require('./element-dragger-a8562f82.js');
21
21
  require('./types-7523fd99.js');
22
22
  require('./_commonjsHelpers-ed84c3ca.js');
23
23
  require('./colors-56282b00.js');
24
24
  require('./utils-fc077139.js');
25
25
  require('./colors-078851ec.js');
26
- require('./package-38271f86.js');
26
+ require('./package-dfacf86b.js');
27
27
 
28
28
  const BcmCaption = class {
29
29
  constructor(hostRef) {
30
30
  index.registerInstance(this, hostRef);
31
31
  this.noCaption = false;
32
- this.captionType = bcm.Bcm$1.Status.default;
32
+ this.captionType = bcm.Bcm.Status.default;
33
33
  this.captionClasses = undefined;
34
34
  this.caption = undefined;
35
35
  this.captionError = undefined;
36
36
  this.customErrorMessage = undefined;
37
- this.size = bcm.Bcm$1.Size.medium;
37
+ this.size = bcm.Bcm.Size.medium;
38
38
  this.maxLength = undefined;
39
39
  this.value = undefined;
40
40
  }
@@ -9,15 +9,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
  const index = require('./index-c591ecec.js');
10
10
  const index$1 = require('./index-95ae50d0.js');
11
11
  const colorHelper = require('./color-helper-c3a819ea.js');
12
- const generate = require('./generate-794c57b1.js');
13
- const stringHelper = require('./string-helper-9cdfb273.js');
14
- const slotTemplate = require('./slot-template-df7b5b59.js');
12
+ const generate = require('./generate-6049d4ea.js');
13
+ const stringHelper = require('./string-helper-f9184277.js');
14
+ const slotTemplate = require('./slot-template-c8e2816c.js');
15
15
  require('./_commonjsHelpers-ed84c3ca.js');
16
16
  require('./colors-56282b00.js');
17
17
  require('./utils-fc077139.js');
18
18
  require('./colors-078851ec.js');
19
- require('./package-38271f86.js');
20
- require('./bcm-1d1fcf21.js');
19
+ require('./package-dfacf86b.js');
20
+ require('./bcm-489c9b1a.js');
21
21
 
22
22
  const cardCss = "@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-card{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;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1);box-sizing:border-box}.bcm-card__header,.bcm-card__body,.bcm-card__footer{display:block;width:100%}.bcm-card__header{border-radius:8px 8px 0 0;padding:12px 24px;color:var(--bcm-new-ds-color-slate-700);font-weight:600}.bcm-card__body{padding:12px 24px}.bcm-card__footer{padding:12px 24px;border-radius:0 0 8px 8px}";
23
23