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
@@ -0,0 +1,326 @@
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-4614b7f0.js';
6
+ import './color-helper-c4fa9ebc.js';
7
+ import './datetime-helper-df25808a.js';
8
+ import { G as Generate } from './generate-80faf723.js';
9
+ import './number-helper-b1a0b969.js';
10
+ import './string-helper-85990695.js';
11
+ import './validators-cc82d552.js';
12
+ import './element-dragger-7ea06c76.js';
13
+ import { a as Bcm } from './bcm-a50d55ba.js';
14
+ import { c as classnames } from './index-b84bc8c9.js';
15
+ import { c as ce } from './index-3bc8c6e3.js';
16
+ import './colors-1d7854ea.js';
17
+ import './utils-b3338faf.js';
18
+ import './colors-e1c31f79.js';
19
+ import './_commonjsHelpers-be0d4ec8.js';
20
+ import './package-20190b9f.js';
21
+
22
+ // --bcm-attendance-actions-button-bg: #F1F5F9; /* slate-100 */
23
+ // --bcm-attendance-actions-button-text: #334155; /* slate-700 */
24
+ // --bcm-attendance-actions-button-border: #CBD5E1; /* slate-300 */
25
+ // --bcm-attendance-actions-button-hover-bg: #E2E8F0; /* slate-200 */
26
+ // --bcm-attendance-actions-button-active-bg: #CBD5E1; /* slate-300 */
27
+ // --bcm-attendance-actions-button-disabled-bg: #CBD5E1; /* slate-300 */
28
+ // --bcm-attendance-actions-button-disabled-text: #64748B; /* slate-500 */
29
+ const attendanceActionStyle = ce({
30
+ slots: {
31
+ 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"],
32
+ base: "",
33
+ buttonContainer: "tw-flex tw-flex-row tw-items-center tw-justify-center tw-w-full tw-max-w-[168px]",
34
+ button: [
35
+ "",
36
+ "tw-button-reset",
37
+ "tw-flex-1 last:tw-flex-none",
38
+ "tw-bg-[--bcm-attendance-actions-button-bg]",
39
+ "tw-text-[--bcm-attendance-actions-button-text]",
40
+ "tw-border tw-border-solid tw-border-[--bcm-attendance-actions-button-border]",
41
+ "hover:tw-bg-[--bcm-attendance-actions-button-hover-bg]",
42
+ "active:tw-bg-[--bcm-attendance-actions-button-active-bg]",
43
+ "focus-visible:tw-ring-2 focus-visible:tw-ring-offset-2 focus-visible:tw-z-10",
44
+ "tw-flex tw-flex-row tw-items-center tw-justify-center",
45
+ "first:tw-rounded-l last:tw-rounded-r",
46
+ "tw-font-medium",
47
+ "-tw-ml-[1px] first:tw-ml-0",
48
+ ],
49
+ dropdownButton: "",
50
+ mainButton: "",
51
+ commentIcon: "",
52
+ },
53
+ variants: {
54
+ selected: {
55
+ true: {
56
+ button: [
57
+ "tw-text-white tw-border-transparent last:tw-ml-[1px]",
58
+ "first:tw-justify-start",
59
+ ],
60
+ mainButton: [
61
+ "tw-min-w-[calc(theme(spacing.12)-1px)]"
62
+ ],
63
+ },
64
+ false: {
65
+ button: [
66
+ ""
67
+ ],
68
+ },
69
+ },
70
+ size: {
71
+ small: {
72
+ button: [
73
+ "tw-text-2",
74
+ "tw-min-h-6",
75
+ "tw-gap-2",
76
+ ],
77
+ mainButton: [
78
+ "tw-px-3",
79
+ ],
80
+ dropdownButton: [
81
+ "tw-px-2.5"
82
+ ],
83
+ },
84
+ medium: {
85
+ button: [
86
+ "tw-text-3",
87
+ "tw-min-h-8",
88
+ "tw-gap-2",
89
+ ],
90
+ mainButton: [
91
+ "tw-px-3",
92
+ ],
93
+ dropdownButton: [
94
+ "tw-px-2.5"
95
+ ],
96
+ },
97
+ large: {
98
+ button: [
99
+ "tw-text-4",
100
+ "tw-min-h-10",
101
+ "tw-gap-2.5",
102
+ ],
103
+ mainButton: [
104
+ "tw-px-3",
105
+ ],
106
+ dropdownButton: [
107
+ "tw-px-3"
108
+ ],
109
+ },
110
+ },
111
+ disabled: {
112
+ true: {},
113
+ false: {}
114
+ }
115
+ },
116
+ compoundVariants: [
117
+ {
118
+ disabled: true,
119
+ class: {
120
+ buttonContainer: [
121
+ "tw-cursor-not-allowed tw-pointer-events-none",
122
+ ],
123
+ button: [
124
+ "tw-cursor-not-allowed",
125
+ "tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
126
+ "tw-text-[--bcm-attendance-actions-button-disabled-text]",
127
+ "tw-border-transparent",
128
+ "hover:tw-bg-[--bcm-attendance-actions-button-disabled-bg]",
129
+ ],
130
+ mainButton: [
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
+ "tw-cursor-not-allowed",
136
+ ],
137
+ host: [
138
+ "tw-cursor-not-allowed",
139
+ ],
140
+ commentIcon: [
141
+ "tw-cursor-not-allowed tw-pointer-events-none",
142
+ ],
143
+ }
144
+ },
145
+ {
146
+ disabled: false,
147
+ class: {
148
+ button: [
149
+ "tw-cursor-pointer",
150
+ ],
151
+ }
152
+ }
153
+ ],
154
+ defaultVariants: {
155
+ selected: false,
156
+ size: "medium",
157
+ disabled: false,
158
+ },
159
+ });
160
+
161
+ const attendanceActionsCss = "";
162
+
163
+ const BcmAttendanceActions = class {
164
+ constructor(hostRef) {
165
+ registerInstance(this, hostRef);
166
+ this.change = createEvent(this, "bcm-attendance-change", 3);
167
+ this._id = Generate.UID();
168
+ this.size = Bcm.Size.medium;
169
+ this.disabled = false;
170
+ this.data = [
171
+ { key: "P", value: "Present", color: "emerald", icon: "fa-solid fa-check", priority: 0 },
172
+ { key: "A", value: "Absent", color: "red", icon: "fa-solid fa-times", priority: 1 },
173
+ { key: "L", value: "Late", color: "amber", icon: "fa-solid fa-clock", priority: 2 },
174
+ { key: "C", value: "Other Authorised Circumstance", color: "blue", icon: "fa-solid fa-question" },
175
+ { key: "E", value: "Exlude", color: "blue", icon: "fa-solid fa-minus" },
176
+ { key: "G", value: "Family Holiday", color: "blue", icon: "fa-solid fa-minus" },
177
+ { key: "H", value: "Family Holiday (Agreed)", color: "blue", icon: "fa-solid fa-minus" },
178
+ { key: "I", value: "Illness", color: "blue", icon: "fa-solid fa-minus" },
179
+ { key: "J", value: "Intervier", color: "blue", icon: "fa-solid fa-minus" },
180
+ { key: "M", value: "Medical / Dental", color: "blue", icon: "fa-solid fa-minus" },
181
+ { key: "N", value: "No Reason yet PRovided", color: "blue", icon: "fa-solid fa-minus" },
182
+ { key: "O", value: "Unauthrised Absence", color: "blue", icon: "fa-solid fa-minus" },
183
+ { key: "U", value: "Late after Reg. Closed", color: "blue", icon: "fa-solid fa-minus" },
184
+ { key: "X", value: "Non-comp School Age Absence", color: "blue", icon: "fa-solid fa-minus" },
185
+ ];
186
+ this.lateKeys = "L";
187
+ this.hideComment = false;
188
+ }
189
+ get selectedItem() {
190
+ return this.data.find(item => item.selected);
191
+ }
192
+ get priorityButtons() {
193
+ return this.data.filter(item => item.priority !== undefined).sort((a, b) => a.priority - b.priority);
194
+ }
195
+ get renderButtons() {
196
+ const { selectedItem, priorityButtons } = this;
197
+ return [...(selectedItem ? [selectedItem] : priorityButtons.length ? priorityButtons : this.data.slice(0, 3))];
198
+ }
199
+ get lateKeysMap() {
200
+ return this.lateKeys.toLocaleLowerCase().split(",");
201
+ }
202
+ get isLate() {
203
+ var _a, _b;
204
+ return this.lateKeysMap.includes((_b = (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.key) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase());
205
+ }
206
+ get dropdownMenuElement() {
207
+ return document.getElementById("attendance-dropdown-" + this._id);
208
+ }
209
+ get commentAreaElement() {
210
+ return document.getElementById("comment-" + this._id);
211
+ }
212
+ handleSelectItem(item, triggerChange = true, showComment = true) {
213
+ var _a, _b;
214
+ 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()) })); })];
215
+ (_a = this.dropdownMenuElement) === null || _a === void 0 ? void 0 : _a.hide();
216
+ (_b = this.commentAreaElement) === null || _b === void 0 ? void 0 : _b.hide();
217
+ if (!this.isLate)
218
+ return triggerChange && this.changed();
219
+ !this.hideComment && showComment && this.commentArea();
220
+ }
221
+ changed() {
222
+ this.change.emit(this.selectedItem);
223
+ }
224
+ hasDataForKey(key) {
225
+ return !!this.data.find(item => item.key.toLocaleLowerCase() === key.toLocaleLowerCase());
226
+ }
227
+ handleKeyPress({ key }) {
228
+ if (!this.hasDataForKey(key))
229
+ return;
230
+ 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()); });
231
+ this.handleSelectItem(item);
232
+ }
233
+ handleSave(lateMinutes, comment) {
234
+ this.data = [...this.data].map(item => {
235
+ var _a, _b, _c;
236
+ 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())) {
237
+ return Object.assign(Object.assign({}, item), { lateMin: lateMinutes, comment });
238
+ }
239
+ return item;
240
+ });
241
+ this.changed();
242
+ }
243
+ dropdownMenu() {
244
+ var _a;
245
+ const dropdownMenu = Generate.createComponent("bcm-attendance-actions-dropdown", {
246
+ id: "attendance-dropdown-" + this._id,
247
+ size: this.size,
248
+ data: this.data,
249
+ selectedKey: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.key,
250
+ targetId: "attendance-dropdown-button-" + this._id,
251
+ });
252
+ dropdownMenu.addEventListener("bcm-attendance-actions-dropdown-change", ({ detail }) => {
253
+ this.handleSelectItem(detail);
254
+ });
255
+ dropdownMenu.show();
256
+ }
257
+ commentArea() {
258
+ var _a, _b;
259
+ const commentArea = Generate.createComponent("bcm-attendance-actions-comment", {
260
+ id: "comment-" + this._id,
261
+ size: this.size,
262
+ isLate: this.isLate,
263
+ targetId: "comment-area-" + this._id,
264
+ selectedItem: this.selectedItem,
265
+ lateMinutes: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.lateMin,
266
+ comment: (_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.comment,
267
+ });
268
+ commentArea.addEventListener("bcm-attendance-actions-comment-change", ({ detail }) => {
269
+ this.handleSave(detail.lateMinutes, detail.comment);
270
+ });
271
+ commentArea.show();
272
+ }
273
+ async set(key, triggerChange = true) {
274
+ if (!this.hasDataForKey(key))
275
+ return;
276
+ 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()); });
277
+ this.handleSelectItem(item, triggerChange, false);
278
+ }
279
+ async get() {
280
+ return this.selectedItem;
281
+ }
282
+ render() {
283
+ var _a, _b, _c;
284
+ const { selectedItem, renderButtons, disabled, hideComment, size } = this;
285
+ const { host, buttonContainer, button, dropdownButton, commentIcon, mainButton } = attendanceActionStyle({
286
+ selected: !!selectedItem,
287
+ size,
288
+ disabled,
289
+ });
290
+ const buttonStyle = !!selectedItem
291
+ ? Generate.getTwColor({
292
+ color: (_a = selectedItem.color) !== null && _a !== void 0 ? _a : "blue",
293
+ tones: {
294
+ 600: ["bg"],
295
+ 700: ["hover-bg"],
296
+ 800: ["active-bg"],
297
+ },
298
+ variable: "--bcm-attendance-actions-button",
299
+ })
300
+ : {};
301
+ const buttonAttributes = {
302
+ class: classnames(button(), mainButton()),
303
+ style: Object.assign({}, buttonStyle),
304
+ disabled,
305
+ type: "button",
306
+ };
307
+ const iconButtonAttributes = Object.assign(Object.assign({}, buttonAttributes), { class: classnames(button(), dropdownButton()) });
308
+ const isShowCommentIcon = !hideComment && !!selectedItem;
309
+ 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) ` : ""}` : "";
310
+ return (h(Host, { class: host(), onKeyPress: this.handleKeyPress.bind(this) }, h("div", { class: buttonContainer() }, renderButtons === null || renderButtons === void 0 ? void 0 :
311
+ renderButtons.map(item => {
312
+ return (h("button", Object.assign({}, buttonAttributes, { onClick: () => this.handleSelectItem(item), title: item.value }), h("i", { class: classnames(item.icon || "fa-solid fa-minus", "!tw-leading-[inherit]") }), item.selected && h("span", { class: "tw-truncate" }, item.value)));
313
+ }), h("button", Object.assign({ id: "attendance-dropdown-button-" + this._id }, iconButtonAttributes, { onClick: () => this.dropdownMenu(), title: "More" }), h("i", { class: classnames("fa-solid fa-angle-down !tw-leading-[inherit]") }))), h("div", { id: "comment-area-" + this._id, class: classnames(commentIcon(), {
314
+ "tw-cursor-default": !isShowCommentIcon,
315
+ "tw-cursor-pointer": isShowCommentIcon,
316
+ }), onClick: () => isShowCommentIcon && this.commentArea() }, h("i", { title: isShowCommentIcon ? commentTooltip : "", class: classnames("fa-solid fa-comment", {
317
+ "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)),
318
+ "tw-visible": isShowCommentIcon,
319
+ "tw-invisible": !isShowCommentIcon,
320
+ }) }))));
321
+ }
322
+ get el() { return getElement(this); }
323
+ };
324
+ BcmAttendanceActions.style = attendanceActionsCss;
325
+
326
+ export { BcmAttendanceActions as bcm_attendance_actions };
@@ -3,8 +3,8 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-4614b7f0.js';
6
- import { G as Generate } from './generate-4cecdf46.js';
7
- import './package-324454ca.js';
6
+ import { G as Generate } from './generate-80faf723.js';
7
+ import './package-20190b9f.js';
8
8
  import './colors-e1c31f79.js';
9
9
  import './_commonjsHelpers-be0d4ec8.js';
10
10
 
@@ -5,18 +5,18 @@
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-4614b7f0.js';
6
6
  import { C as ColorHelper } from './color-helper-c4fa9ebc.js';
7
7
  import './datetime-helper-df25808a.js';
8
- import { G as Generate } from './generate-4cecdf46.js';
9
- import './number-helper-11c1236c.js';
8
+ import { G as Generate } from './generate-80faf723.js';
9
+ import './number-helper-b1a0b969.js';
10
10
  import './string-helper-85990695.js';
11
- import './validators-aadf3740.js';
11
+ import './validators-cc82d552.js';
12
12
  import './element-dragger-7ea06c76.js';
13
- import { B as Bcm } from './bcm-a50d55ba.js';
13
+ import { a as Bcm } from './bcm-a50d55ba.js';
14
14
  import { c as ce } from './index-3bc8c6e3.js';
15
15
  import './colors-1d7854ea.js';
16
16
  import './utils-b3338faf.js';
17
17
  import './colors-e1c31f79.js';
18
18
  import './_commonjsHelpers-be0d4ec8.js';
19
- import './package-324454ca.js';
19
+ import './package-20190b9f.js';
20
20
 
21
21
  const avatarStyle = ce({
22
22
  slots: {
@@ -4,9 +4,9 @@
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4614b7f0.js';
6
6
  import { c as classnames } from './index-b84bc8c9.js';
7
- import { G as Generate } from './generate-4cecdf46.js';
7
+ import { G as Generate } from './generate-80faf723.js';
8
8
  import './_commonjsHelpers-be0d4ec8.js';
9
- import './package-324454ca.js';
9
+ import './package-20190b9f.js';
10
10
  import './colors-e1c31f79.js';
11
11
 
12
12
  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%}";
@@ -3,11 +3,11 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-4614b7f0.js';
6
- import { G as Generate, s as snq } from './generate-4cecdf46.js';
7
- import { a as Bcm } from './bcm-a50d55ba.js';
6
+ import { G as Generate, s as snq } from './generate-80faf723.js';
7
+ import { B as Bcm } from './bcm-a50d55ba.js';
8
8
  import { c as classnames } from './index-b84bc8c9.js';
9
9
  import { S as StringHelper } from './string-helper-85990695.js';
10
- import './package-324454ca.js';
10
+ import './package-20190b9f.js';
11
11
  import './colors-e1c31f79.js';
12
12
  import './_commonjsHelpers-be0d4ec8.js';
13
13