bromcom-ui 2.10.1-rc.8 → 2.10.1

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 (433) 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/{p-a1cf7a95.js → p-025c8c2a.js} +1 -1
  4. package/dist/bromcom-ui/{p-7c5763cc.entry.js → p-03337609.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-6edf985f.js → p-034bbcdd.js} +1 -1
  6. package/dist/bromcom-ui/{p-3ef14eb8.js → p-07351315.js} +1 -1
  7. package/dist/bromcom-ui/{p-e5da6586.entry.js → p-07e0d057.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-14fe40fb.entry.js → p-09b8a530.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-0ae6bac4.entry.js +5 -0
  10. package/dist/bromcom-ui/{p-430c0a24.entry.js → p-0efc9196.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-c1a992e7.entry.js → p-107f11df.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-dab56656.entry.js → p-10a88b11.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-cc766928.entry.js → p-151b5e1b.entry.js} +1 -1
  14. package/dist/bromcom-ui/p-1596caaf.entry.js +5 -0
  15. package/dist/bromcom-ui/{p-7d18ce0e.entry.js → p-181f2f4a.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-2aaeb247.entry.js → p-188b9079.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-26290ed5.entry.js → p-18bc4e04.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-74e6d2b6.js → p-197aba37.js} +1 -1
  19. package/dist/bromcom-ui/{p-a664cc20.entry.js → p-1a33d7a3.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-55c2ceb3.entry.js → p-1b04f2bd.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-ee7deb92.js → p-1d1d917d.js} +1 -1
  22. package/dist/bromcom-ui/{p-fff1a0f9.entry.js → p-1e8559ac.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-5f3a31ac.entry.js → p-269f7c74.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-28cb759c.entry.js +5 -0
  25. package/dist/bromcom-ui/{p-a673ded0.entry.js → p-2e036fec.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-0afd0de5.entry.js → p-2ffff840.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-3182df7e.js +10 -0
  28. package/dist/bromcom-ui/p-35d6f83d.entry.js +5 -0
  29. package/dist/bromcom-ui/{p-8fc8465e.entry.js → p-37a49186.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-d44629f7.js → p-37df4996.js} +1 -1
  31. package/dist/bromcom-ui/{p-67343ad8.entry.js → p-3b079331.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-3c4e35c7.entry.js +5 -0
  33. package/dist/bromcom-ui/p-3c4fbed6.entry.js +5 -0
  34. package/dist/bromcom-ui/{p-8c018ae0.js → p-3c7a0345.js} +1 -1
  35. package/dist/bromcom-ui/{p-65e822e5.entry.js → p-3cb58e96.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-6019525e.entry.js → p-3ef90dfc.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-14cafd64.entry.js → p-4438d629.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-5699f67d.entry.js → p-468157a0.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-60530295.entry.js → p-46abab59.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-61db1f1f.js → p-4798d827.js} +1 -1
  41. package/dist/bromcom-ui/{p-69260d36.entry.js → p-48f5a3c9.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-5e10c0d0.entry.js → p-4c1a710e.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-ece578ef.entry.js → p-4d7ea23c.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-51b6a14a.entry.js → p-4ded5e14.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-4fc22565.entry.js +5 -0
  46. package/dist/bromcom-ui/p-509053bd.entry.js +5 -0
  47. package/dist/bromcom-ui/{p-47e635a4.js → p-536b15e0.js} +1 -1
  48. package/dist/bromcom-ui/p-5436ddd6.js +5 -0
  49. package/dist/bromcom-ui/p-545b73c2.entry.js +5 -0
  50. package/dist/bromcom-ui/p-551c72ee.entry.js +5 -0
  51. package/dist/bromcom-ui/{p-7a41aa71.entry.js → p-58af1aef.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
  53. package/dist/bromcom-ui/{p-90dab132.entry.js → p-5b0742ce.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-68783ef4.js → p-5b0cae60.js} +1 -1
  55. package/dist/bromcom-ui/p-5dac2714.entry.js +5 -0
  56. package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
  57. package/dist/bromcom-ui/p-5eeccb39.entry.js +5 -0
  58. package/dist/bromcom-ui/{p-6a95fe9c.entry.js → p-627fa674.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-d551a51d.entry.js → p-63138ee5.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-19f27bd8.entry.js → p-6de81bd3.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-ba9eff2a.entry.js → p-6e7bb16f.entry.js} +1 -1
  62. package/dist/bromcom-ui/p-6f00f65d.entry.js +5 -0
  63. package/dist/bromcom-ui/p-6f11eb8e.entry.js +5 -0
  64. package/dist/bromcom-ui/p-76edf59f.js +7 -0
  65. package/dist/bromcom-ui/p-77035c08.entry.js +5 -0
  66. package/dist/bromcom-ui/{p-b159de87.entry.js → p-78aa3b87.entry.js} +1 -1
  67. package/dist/bromcom-ui/{p-626b805d.entry.js → p-7a89243a.entry.js} +1 -1
  68. package/dist/bromcom-ui/p-7e3209a0.js +14 -0
  69. package/dist/bromcom-ui/{p-b93574f2.entry.js → p-895431f3.entry.js} +1 -1
  70. package/dist/bromcom-ui/{p-a25c8a55.js → p-8a92f2bf.js} +1 -1
  71. package/dist/bromcom-ui/{p-9850cbce.js → p-8e5e362a.js} +1 -1
  72. package/dist/bromcom-ui/p-90358ed5.entry.js +5 -0
  73. package/dist/bromcom-ui/{p-fb68d2b9.entry.js → p-927c1d95.entry.js} +1 -1
  74. package/dist/bromcom-ui/{p-157359d6.js → p-94554e42.js} +1 -1
  75. package/dist/bromcom-ui/{p-1c801d0c.entry.js → p-95a2c489.entry.js} +1 -1
  76. package/dist/bromcom-ui/{p-3ef0b082.entry.js → p-9691ee8f.entry.js} +1 -1
  77. package/dist/bromcom-ui/{p-773efa33.entry.js → p-9a72c525.entry.js} +1 -1
  78. package/dist/bromcom-ui/{p-52ff9dba.entry.js → p-9b8d0870.entry.js} +1 -1
  79. package/dist/bromcom-ui/{p-5333b8a9.entry.js → p-9e49975e.entry.js} +1 -1
  80. package/dist/bromcom-ui/{p-d60d61ef.entry.js → p-a274bcd9.entry.js} +1 -1
  81. package/dist/bromcom-ui/{p-6ae3b6a6.entry.js → p-a7a58c76.entry.js} +1 -1
  82. package/dist/bromcom-ui/p-a967a06e.entry.js +5 -0
  83. package/dist/bromcom-ui/{p-4fa87784.entry.js → p-b78c36e9.entry.js} +1 -1
  84. package/dist/bromcom-ui/{p-df3caf0b.entry.js → p-b90ca5bc.entry.js} +1 -1
  85. package/dist/bromcom-ui/p-baf4fb9c.js +5 -0
  86. package/dist/bromcom-ui/{p-5c671967.entry.js → p-bca72f17.entry.js} +1 -1
  87. package/dist/bromcom-ui/{p-6041dfd1.entry.js → p-bebb0c4e.entry.js} +1 -1
  88. package/dist/bromcom-ui/p-bed627ab.js +11 -0
  89. package/dist/bromcom-ui/{p-3572e61d.entry.js → p-bfccb78e.entry.js} +1 -1
  90. package/dist/bromcom-ui/{p-d524c5ad.entry.js → p-c0df6b14.entry.js} +1 -1
  91. package/dist/bromcom-ui/{p-e35d7cdb.entry.js → p-c55b0a94.entry.js} +1 -1
  92. package/dist/bromcom-ui/p-c8c05178.entry.js +5 -0
  93. package/dist/bromcom-ui/{p-8e1446c2.entry.js → p-cc8be50c.entry.js} +1 -1
  94. package/dist/bromcom-ui/{p-34b8c656.entry.js → p-cf8d291c.entry.js} +1 -1
  95. package/dist/bromcom-ui/{p-fbcabfc4.entry.js → p-cfc2188d.entry.js} +1 -1
  96. package/dist/bromcom-ui/p-cfe7a164.entry.js +5 -0
  97. package/dist/bromcom-ui/{p-7e5c626f.entry.js → p-d0f33e65.entry.js} +1 -1
  98. package/dist/bromcom-ui/p-d4d3c135.entry.js +5 -0
  99. package/dist/bromcom-ui/{p-40b85b9b.entry.js → p-dbea0599.entry.js} +1 -1
  100. package/dist/bromcom-ui/{p-9a4ec5cd.entry.js → p-dc8e177d.entry.js} +1 -1
  101. package/dist/bromcom-ui/{p-1a78f916.entry.js → p-de6b516a.entry.js} +1 -1
  102. package/dist/bromcom-ui/{p-170cf07d.js → p-e037ee2b.js} +1 -1
  103. package/dist/bromcom-ui/p-e18a6a5b.entry.js +5 -0
  104. package/dist/bromcom-ui/p-e1ce3cfc.js +5 -0
  105. package/dist/bromcom-ui/{p-1c9314bd.entry.js → p-e32ab4da.entry.js} +1 -1
  106. package/dist/bromcom-ui/{p-158e239a.js → p-e442fd4c.js} +1 -1
  107. package/dist/bromcom-ui/{p-85eedabc.js → p-e45c1546.js} +1 -1
  108. package/dist/bromcom-ui/{p-0bfcafe6.entry.js → p-e4639bad.entry.js} +1 -1
  109. package/dist/bromcom-ui/p-e4b42f26.js +5 -0
  110. package/dist/bromcom-ui/{p-38881f2d.entry.js → p-e53bafc8.entry.js} +1 -1
  111. package/dist/bromcom-ui/{p-959bd1f2.entry.js → p-eb956eea.entry.js} +1 -1
  112. package/dist/bromcom-ui/{p-14fd3758.entry.js → p-ec50e7e4.entry.js} +1 -1
  113. package/dist/bromcom-ui/{p-125d6ed0.js → p-ed9d082d.js} +1 -1
  114. package/dist/bromcom-ui/{p-2b732ae9.entry.js → p-efe995fb.entry.js} +1 -1
  115. package/dist/bromcom-ui/{p-287e0daf.entry.js → p-f2948b08.entry.js} +1 -1
  116. package/dist/bromcom-ui/{p-e2d8ea02.entry.js → p-f680271c.entry.js} +1 -1
  117. package/dist/bromcom-ui/{p-99824717.entry.js → p-f9119bec.entry.js} +1 -1
  118. package/dist/bromcom-ui/p-f93bcd16.entry.js +5 -0
  119. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  120. package/dist/cjs/bcm-alert.cjs.entry.js +2 -2
  121. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +136 -0
  122. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +101 -0
  123. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +330 -0
  124. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  125. package/dist/cjs/bcm-avatar_2.cjs.entry.js +4 -4
  126. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  127. package/dist/cjs/bcm-button-group.cjs.entry.js +2 -2
  128. package/dist/cjs/bcm-button.cjs.entry.js +372 -0
  129. package/dist/cjs/bcm-caption.cjs.entry.js +5 -5
  130. package/dist/cjs/bcm-card.cjs.entry.js +2 -2
  131. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +2 -2
  132. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2 -2
  133. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +194 -0
  134. package/dist/cjs/bcm-chip-group.cjs.entry.js +4 -4
  135. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  136. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  137. package/dist/cjs/bcm-color-input.cjs.entry.js +4 -4
  138. package/dist/cjs/bcm-colorful_2.cjs.entry.js +17440 -0
  139. package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -2
  140. package/dist/cjs/bcm-date.cjs.entry.js +182 -0
  141. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -3
  142. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  143. package/dist/cjs/bcm-drawer.cjs.entry.js +4 -4
  144. package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -3
  145. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +2 -2
  146. package/dist/cjs/bcm-form-2.cjs.entry.js +2 -2
  147. package/dist/cjs/bcm-form.cjs.entry.js +492 -0
  148. package/dist/cjs/bcm-icon.cjs.entry.js +39 -0
  149. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  150. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
  151. package/dist/cjs/bcm-input_2.cjs.entry.js +550 -0
  152. package/dist/cjs/bcm-item.cjs.entry.js +2 -2
  153. package/dist/cjs/bcm-items.cjs.entry.js +2 -2
  154. package/dist/cjs/bcm-label_2.cjs.entry.js +135 -0
  155. package/dist/cjs/bcm-list_3.cjs.entry.js +19 -17
  156. package/dist/cjs/bcm-menu.cjs.entry.js +5 -5
  157. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
  158. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
  159. package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
  160. package/dist/cjs/bcm-modal.cjs.entry.js +2 -2
  161. package/dist/cjs/bcm-number-input.cjs.entry.js +4 -4
  162. package/dist/cjs/bcm-old-input.cjs.entry.js +1 -1
  163. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +2 -2
  164. package/dist/cjs/bcm-popconfirm.cjs.entry.js +2 -2
  165. package/dist/cjs/bcm-popover.cjs.entry.js +4 -4
  166. package/dist/cjs/bcm-progress.cjs.entry.js +2 -2
  167. package/dist/cjs/bcm-radio-group.cjs.entry.js +4 -4
  168. package/dist/cjs/bcm-radio.cjs.entry.js +4 -4
  169. package/dist/cjs/bcm-range.cjs.entry.js +3 -3
  170. package/dist/cjs/bcm-rc-picker.cjs.entry.js +9391 -0
  171. package/dist/cjs/bcm-shortcut.cjs.entry.js +4 -4
  172. package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
  173. package/dist/cjs/bcm-step.cjs.entry.js +3 -3
  174. package/dist/cjs/bcm-stepper.cjs.entry.js +5 -5
  175. package/dist/cjs/bcm-switch.cjs.entry.js +151 -0
  176. package/dist/cjs/bcm-tab-group.cjs.entry.js +4 -4
  177. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +4 -4
  178. package/dist/cjs/bcm-tab-item.cjs.entry.js +4 -4
  179. package/dist/cjs/bcm-table.cjs.entry.js +4 -4
  180. package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
  181. package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -2
  182. package/dist/cjs/bcm-toast.cjs.entry.js +2 -2
  183. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  184. package/dist/cjs/{generate-519a6f60.js → generate-2ba77a51.js} +8 -12
  185. package/dist/cjs/{global-24e9cd51.js → global-83c7a742.js} +1 -1
  186. package/dist/cjs/index-3d67f613.js +1610 -0
  187. package/dist/cjs/{index-7eed931f.js → index-e05a7c6f.js} +24 -1625
  188. package/dist/cjs/{input-template-ca9b1a22.js → input-template-7cc31eec.js} +1 -1
  189. package/dist/cjs/{json-parse-decarator-317c4169.js → json-parse-decarator-7e7c2a0b.js} +1 -1
  190. package/dist/cjs/loader.cjs.js +3 -3
  191. package/dist/cjs/moment-d06b012f.js +4601 -0
  192. package/dist/cjs/{number-helper-2a2c064b.js → number-helper-af985650.js} +1 -1
  193. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
  194. package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
  195. package/dist/cjs/{package-ea2a6174.js → package-63c2f54e.js} +1 -1
  196. package/dist/cjs/{stepper-states-3728e4c6.js → stepper-states-ef6a0181.js} +1 -1
  197. package/dist/cjs/{tooltip-helper-51fdcf10.js → tooltip-helper-f38c67f4.js} +3 -3
  198. package/dist/cjs/{validators-d3fdc836.js → validators-e6dd5dca.js} +1 -1
  199. package/dist/collection/collection-manifest.json +3 -0
  200. package/dist/collection/components/atoms/label/label.js +1 -1
  201. package/dist/collection/components/molecules/linked/linked.js +23 -0
  202. package/dist/collection/components/molecules/range/range.js +1 -1
  203. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +47 -0
  204. package/dist/collection/components/organism/form/form.js +9 -0
  205. package/dist/collection/components/organism/list/list.js +4 -4
  206. package/dist/collection/components/other/attendance-actions/attendance-actions-comment.js +313 -0
  207. package/dist/collection/components/other/attendance-actions/attendance-actions-comment.style.js +27 -0
  208. package/dist/collection/components/other/attendance-actions/attendance-actions-dropdown.js +253 -0
  209. package/dist/collection/components/other/attendance-actions/attendance-actions-dropdown.style.js +34 -0
  210. package/dist/collection/components/other/attendance-actions/attendance-actions.css +0 -0
  211. package/dist/collection/components/other/attendance-actions/attendance-actions.js +363 -0
  212. package/dist/collection/components/other/attendance-actions/attendance-actions.style.js +143 -0
  213. package/dist/collection/components/other_deprecated/old-input/old-input.css +47 -0
  214. package/dist/collection/helper/generate.js +7 -11
  215. package/dist/collection/templates/list-item-template.js +3 -2
  216. package/dist/components/avatar.js +1 -1
  217. package/dist/components/badge.js +1 -1
  218. package/dist/components/bcm-attendance-actions-comment.d.ts +11 -0
  219. package/dist/components/bcm-attendance-actions-comment.js +208 -0
  220. package/dist/components/bcm-attendance-actions-dropdown.d.ts +11 -0
  221. package/dist/components/bcm-attendance-actions-dropdown.js +118 -0
  222. package/dist/components/bcm-attendance-actions.d.ts +11 -0
  223. package/dist/components/bcm-attendance-actions.js +346 -0
  224. package/dist/components/bcm-button-group.js +1 -1
  225. package/dist/components/bcm-caption.js +3 -3
  226. package/dist/components/bcm-checkbox-group.js +1 -1
  227. package/dist/components/bcm-chip-group.js +1 -1
  228. package/dist/components/bcm-date-picker.js +1 -1
  229. package/dist/components/bcm-date.js +1 -1
  230. package/dist/components/bcm-drawer.js +1 -1
  231. package/dist/components/bcm-dropdown.js +1 -1
  232. package/dist/components/bcm-form-2.js +1 -1
  233. package/dist/components/bcm-form.js +1 -504
  234. package/dist/components/bcm-input-dropdown.js +1 -1
  235. package/dist/components/bcm-item.js +1 -1
  236. package/dist/components/bcm-modal-2.js +1 -1
  237. package/dist/components/bcm-modal.js +1 -1
  238. package/dist/components/bcm-number-input.js +1 -1
  239. package/dist/components/bcm-popconfirm.js +1 -1
  240. package/dist/components/bcm-popover.js +1 -1
  241. package/dist/components/bcm-progress.js +1 -1
  242. package/dist/components/bcm-radio-group.js +1 -1
  243. package/dist/components/bcm-range.js +2 -2
  244. package/dist/components/bcm-shortcut.js +1 -1
  245. package/dist/components/bcm-stepper.js +1 -1
  246. package/dist/components/bcm-switch.js +1 -1
  247. package/dist/components/bcm-tab-group.js +1 -1
  248. package/dist/components/bcm-tab-item-header.js +1 -1
  249. package/dist/components/bcm-tag.js +1 -1
  250. package/dist/components/bcm-time-picker.js +1 -1
  251. package/dist/components/bcm-toast.js +1 -1
  252. package/dist/components/bcm.js +1 -1
  253. package/dist/components/button.js +1 -1
  254. package/dist/components/checkbox-lite.js +1 -1
  255. package/dist/components/checkbox.js +1 -1
  256. package/dist/components/datetime-picker.js +2 -2
  257. package/dist/components/divider.js +1 -1
  258. package/dist/components/floating-ui.js +1 -1
  259. package/dist/components/form.js +513 -0
  260. package/dist/components/generate.js +8 -12
  261. package/dist/components/index.d.ts +3 -0
  262. package/dist/components/index.js +3 -0
  263. package/dist/components/input-template.js +1 -1
  264. package/dist/components/input.js +1 -1
  265. package/dist/components/label.js +2 -2
  266. package/dist/components/link.js +1 -1
  267. package/dist/components/linked.js +7 -1
  268. package/dist/components/list.js +8 -7
  269. package/dist/components/old-bcm-popover.js +1 -1
  270. package/dist/components/old-input.js +1 -1
  271. package/dist/components/radio.js +1 -1
  272. package/dist/components/rc-picker.js +1 -1
  273. package/dist/components/search.js +1 -1
  274. package/dist/components/string-helper.js +1 -1
  275. package/dist/components/textarea.js +1 -1
  276. package/dist/components/tooltip-helper.js +1 -1
  277. package/dist/components/tooltip.js +1 -1
  278. package/dist/esm/{_commonjsHelpers-7002e5de.js → _commonjsHelpers-be0d4ec8.js} +1 -1
  279. package/dist/esm/bcm-accordion.entry.js +5 -5
  280. package/dist/esm/bcm-alert.entry.js +8 -8
  281. package/dist/esm/bcm-attendance-actions-comment.entry.js +132 -0
  282. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +97 -0
  283. package/dist/esm/bcm-attendance-actions.entry.js +326 -0
  284. package/dist/esm/bcm-attendance.entry.js +5 -5
  285. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  286. package/dist/esm/bcm-avatar_2.entry.js +11 -11
  287. package/dist/esm/bcm-box.entry.js +1 -1
  288. package/dist/esm/bcm-breadcrumb.entry.js +6 -6
  289. package/dist/esm/bcm-button-group.entry.js +7 -7
  290. package/dist/esm/bcm-button.entry.js +368 -0
  291. package/dist/esm/bcm-caption.entry.js +14 -14
  292. package/dist/esm/bcm-card.entry.js +10 -10
  293. package/dist/esm/bcm-checkbox-group.entry.js +10 -10
  294. package/dist/esm/bcm-checkbox-lite_9.entry.js +7 -7
  295. package/dist/esm/bcm-checkbox_2.entry.js +189 -0
  296. package/dist/esm/bcm-chip-group.entry.js +14 -14
  297. package/dist/esm/bcm-chip.entry.js +8 -8
  298. package/dist/esm/bcm-collapse-group.entry.js +2 -2
  299. package/dist/esm/bcm-collapse.entry.js +6 -6
  300. package/dist/esm/bcm-color-input.entry.js +11 -11
  301. package/dist/esm/bcm-colorful_2.entry.js +17435 -0
  302. package/dist/esm/bcm-colorpicker.entry.js +5 -5
  303. package/dist/esm/bcm-content.entry.js +1 -1
  304. package/dist/esm/bcm-date-picker.entry.js +8 -8
  305. package/dist/esm/bcm-date.entry.js +178 -0
  306. package/dist/esm/bcm-datetime-picker.entry.js +13 -13
  307. package/dist/esm/bcm-default.entry.js +5 -5
  308. package/dist/esm/bcm-drawer.entry.js +12 -12
  309. package/dist/esm/bcm-dropdown.entry.js +8 -8
  310. package/dist/esm/bcm-error-layout.entry.js +3 -3
  311. package/dist/esm/bcm-expansion-panel.entry.js +9 -9
  312. package/dist/esm/bcm-form-2.entry.js +7 -7
  313. package/dist/esm/bcm-form-group.entry.js +1 -1
  314. package/dist/esm/bcm-form.entry.js +488 -0
  315. package/dist/esm/bcm-icon.entry.js +35 -0
  316. package/dist/esm/bcm-input-custom.entry.js +6 -6
  317. package/dist/esm/bcm-input-dropdown.entry.js +13 -13
  318. package/dist/esm/bcm-input_2.entry.js +545 -0
  319. package/dist/esm/bcm-item.entry.js +8 -8
  320. package/dist/esm/bcm-items.entry.js +6 -6
  321. package/dist/esm/bcm-label_2.entry.js +130 -0
  322. package/dist/esm/bcm-link.entry.js +3 -3
  323. package/dist/esm/bcm-list_3.entry.js +26 -24
  324. package/dist/esm/bcm-menu.entry.js +14 -14
  325. package/dist/esm/bcm-message.entry.js +3 -3
  326. package/dist/esm/bcm-modal-2-footer.entry.js +12 -12
  327. package/dist/esm/bcm-modal-2-header.entry.js +11 -11
  328. package/dist/esm/bcm-modal-2.entry.js +12 -12
  329. package/dist/esm/bcm-modal.entry.js +8 -8
  330. package/dist/esm/bcm-notification.entry.js +3 -3
  331. package/dist/esm/bcm-number-input.entry.js +13 -13
  332. package/dist/esm/bcm-old-input.entry.js +6 -6
  333. package/dist/esm/bcm-old-tag_2.entry.js +4 -4
  334. package/dist/esm/bcm-overlay_2.entry.js +4 -4
  335. package/dist/esm/bcm-popconfirm-box.entry.js +10 -10
  336. package/dist/esm/bcm-popconfirm.entry.js +6 -6
  337. package/dist/esm/bcm-popover.entry.js +11 -11
  338. package/dist/esm/bcm-progress.entry.js +8 -8
  339. package/dist/esm/bcm-radio-group.entry.js +14 -14
  340. package/dist/esm/bcm-radio.entry.js +12 -12
  341. package/dist/esm/bcm-range.entry.js +8 -8
  342. package/dist/esm/bcm-rc-picker.entry.js +9387 -0
  343. package/dist/esm/bcm-result.entry.js +3 -3
  344. package/dist/esm/bcm-select-group.entry.js +3 -3
  345. package/dist/esm/bcm-select-option.entry.js +3 -3
  346. package/dist/esm/bcm-select.entry.js +5 -5
  347. package/dist/esm/bcm-shortcut.entry.js +12 -12
  348. package/dist/esm/bcm-skeleton.entry.js +11 -11
  349. package/dist/esm/bcm-step.entry.js +8 -8
  350. package/dist/esm/bcm-stepper.entry.js +14 -14
  351. package/dist/esm/bcm-switch.entry.js +147 -0
  352. package/dist/esm/bcm-tab-group.entry.js +11 -11
  353. package/dist/esm/bcm-tab-item-header.entry.js +12 -12
  354. package/dist/esm/bcm-tab-item.entry.js +11 -11
  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 +12 -12
  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 +8 -8
  361. package/dist/esm/bcm-text.entry.js +8 -8
  362. package/dist/esm/bcm-time-picker.entry.js +8 -8
  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 +8 -8
  366. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  367. package/dist/esm/bromcom-ui.js +5 -5
  368. package/dist/esm/{caption-template-0c32ce16.js → caption-template-b5210fba.js} +2 -2
  369. package/dist/esm/{color-helper-845ba523.js → color-helper-c4fa9ebc.js} +2 -2
  370. package/dist/esm/{colors-ebea297f.js → colors-e1c31f79.js} +1 -1
  371. package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
  372. package/dist/esm/{generate-172d2481.js → generate-7b9db394.js} +9 -13
  373. package/dist/esm/{global-d0158081.js → global-5a56dbcb.js} +2 -2
  374. package/dist/esm/{index-0615c2b8.js → index-4614b7f0.js} +1 -1
  375. package/dist/esm/{index-e4b6a4ce.js → index-a6d9d0af.js} +26 -1612
  376. package/dist/esm/{index-00c8a8f7.js → index-b84bc8c9.js} +1 -1
  377. package/dist/esm/index-c4568336.js +1594 -0
  378. package/dist/esm/{index-7e71bbc8.js → index-f38e3364.js} +1 -1
  379. package/dist/esm/{input-template-6ce50c6f.js → input-template-56887e94.js} +3 -3
  380. package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-b8ca22f2.js} +1 -1
  381. package/dist/esm/{json-parse-decarator-3847d8d6.js → json-parse-decarator-70d0d84b.js} +2 -2
  382. package/dist/esm/{label-template-ad2e8119.js → label-template-b2e8f81d.js} +2 -2
  383. package/dist/esm/loader.js +5 -5
  384. package/dist/esm/moment-15cd9198.js +4598 -0
  385. package/dist/esm/{number-helper-36dd7ffd.js → number-helper-847951a8.js} +1 -1
  386. package/dist/esm/old-bcm-popover-box.entry.js +11 -11
  387. package/dist/esm/old-bcm-popover.entry.js +6 -6
  388. package/dist/esm/{package-1d2d00da.js → package-a6df69df.js} +1 -1
  389. package/dist/esm/{popover-placement-279ce860.js → popover-placement-e6ed184e.js} +1 -1
  390. package/dist/esm/{slot-template-9234df88.js → slot-template-481a5ac5.js} +2 -2
  391. package/dist/esm/{stepper-states-d326813d.js → stepper-states-f49a097b.js} +3 -3
  392. package/dist/esm/{string-helper-8f5da9ec.js → string-helper-3526c4fe.js} +1 -1
  393. package/dist/esm/{tooltip-helper-f35ebea5.js → tooltip-helper-b8b00aee.js} +7 -7
  394. package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
  395. package/dist/esm/{validators-6ce73b32.js → validators-74e39305.js} +1 -1
  396. package/dist/types/components/molecules/linked/linked.d.ts +1 -0
  397. package/dist/types/components/organism/form/form.d.ts +1 -0
  398. package/dist/types/components/organism/list/list.d.ts +1 -1
  399. package/dist/types/components/other/attendance-actions/attendance-actions-comment.d.ts +24 -0
  400. package/dist/types/components/other/attendance-actions/attendance-actions-comment.style.d.ts +52 -0
  401. package/dist/types/components/other/attendance-actions/attendance-actions-dropdown.d.ts +18 -0
  402. package/dist/types/components/other/attendance-actions/attendance-actions-dropdown.style.d.ts +100 -0
  403. package/dist/types/components/other/attendance-actions/attendance-actions.d.ts +29 -0
  404. package/dist/types/components/other/attendance-actions/attendance-actions.style.d.ts +242 -0
  405. package/dist/types/components.d.ts +104 -0
  406. package/dist/types/helper/generate.d.ts +2 -1
  407. package/dist/types/models/bcm.d.ts +4 -0
  408. package/package.json +1 -1
  409. package/dist/bromcom-ui/p-000670b6.js +0 -5
  410. package/dist/bromcom-ui/p-1217d1cc.entry.js +0 -5
  411. package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
  412. package/dist/bromcom-ui/p-3432a82d.js +0 -19
  413. package/dist/bromcom-ui/p-46f050bf.entry.js +0 -5
  414. package/dist/bromcom-ui/p-4e5c3c68.entry.js +0 -5
  415. package/dist/bromcom-ui/p-521ee4d5.entry.js +0 -7
  416. package/dist/bromcom-ui/p-64fad38b.js +0 -11
  417. package/dist/bromcom-ui/p-75e93eca.entry.js +0 -5
  418. package/dist/bromcom-ui/p-8c059c8f.entry.js +0 -5
  419. package/dist/bromcom-ui/p-8d3b9190.entry.js +0 -5
  420. package/dist/bromcom-ui/p-8fa8e79c.entry.js +0 -5
  421. package/dist/bromcom-ui/p-abc44b58.entry.js +0 -5
  422. package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
  423. package/dist/bromcom-ui/p-b80edd2e.js +0 -5
  424. package/dist/bromcom-ui/p-bdc3dfe7.entry.js +0 -5
  425. package/dist/bromcom-ui/p-d493a8eb.entry.js +0 -5
  426. package/dist/bromcom-ui/p-d85b6c3e.js +0 -5
  427. package/dist/bromcom-ui/p-f800e665.js +0 -5
  428. package/dist/cjs/bcm-button_12.cjs.entry.js +0 -33201
  429. package/dist/cjs/bcm-textarea.cjs.entry.js +0 -163
  430. package/dist/cjs/bcm-typography.cjs.entry.js +0 -21
  431. package/dist/esm/bcm-button_12.entry.js +0 -33186
  432. package/dist/esm/bcm-textarea.entry.js +0 -159
  433. package/dist/esm/bcm-typography.entry.js +0 -17
@@ -7,13 +7,13 @@ import { I as IsLoad } from './is-load-decorator.js';
7
7
  import { J as JsonParse } from './json-parse-decarator.js';
8
8
  import './color-helper.js';
9
9
  import { V as Validators } from './validators.js';
10
- import { s as snq, G as Generate } from './generate.js';
10
+ import { G as Generate, s as snq } from './generate.js';
11
11
  import { N as NumberHelper } from './number-helper.js';
12
12
  import { S as StringHelper } from './string-helper.js';
13
13
  import './element-dragger.js';
14
14
  import { g as getPlacement, s as setPosition } from './popover-placement.js';
15
15
  import { p as pluralize, d as delay } from './utils.js';
16
- import { B as Bcm, a as Bcm$1 } from './bcm.js';
16
+ import { a as Bcm, B as Bcm$1 } from './bcm.js';
17
17
  import { C as CaptionTemplate } from './caption-template.js';
18
18
  import { c as classnames } from './index2.js';
19
19
  import './types.js';
@@ -79,6 +79,7 @@ const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size, selecte
79
79
  intersection = match.filter(x => keys.includes(x));
80
80
  }
81
81
  text = item.isHtmlContent ? item.isHtmlContent : item.template && intersection.length > 0 ? StringHelper.templateParser(item.template, Object.assign(Object.assign({}, item.itemObject), { text })) : text;
82
+ const domText = item.template ? text : Generate.domParser(text);
82
83
  const unClickable = !treeview && item.type == "group" && !item.clickable;
83
84
  const disabled = item.disabled;
84
85
  const readonly = item.readonly;
@@ -107,7 +108,7 @@ const ListItemTemplate = ({ item, treeview, highlight, checkboxes, size, selecte
107
108
  h("div", { class: classnames('bcm-list__item-content-text', { treeview }), onClick: (e) => itemClick(e) },
108
109
  checkboxes && (treeview || (!treeview && item.type != 'group')) && (h("div", { class: "bcm-list__item-content-text-checkbox" },
109
110
  h(CheckboxTemplate, { indeterminate: item.indeterminate, checked: item.checked, disabled: item.disabled }))),
110
- h("span", Object.assign({ class: "bcm-list__item-content-text-inner" }, (item.title && { "title": item.title }), { innerHTML: text })))),
111
+ h("span", Object.assign({ class: "bcm-list__item-content-text-inner" }, (item.title && { "title": item.title }), { innerHTML: domText })))),
111
112
  (treeview || !treeview && item.type == "group") && isHaveChildren && (h("div", { class: "bcm-list__item-childs" }, (item.isSearching || item.open || (!treeview && item.type == "group")) &&
112
113
  item.items.map((item) => (h(ListItemTemplate, { highlight: highlight, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, size: size, selectedItem: selectedItem, checkedItem: checkedItem, openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) })))))));
113
114
  };
@@ -936,7 +937,7 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
936
937
  status: Bcm$1.Status.default,
937
938
  indeterminate: "uncheck",
938
939
  };
939
- this.shouldTriggerChange = true;
940
+ this.shouldTriggerChange = undefined;
940
941
  this.placement = Bcm$1.Placement["bottom-start"];
941
942
  this.disableChangeEvent = false;
942
943
  this.data = [];
@@ -979,7 +980,7 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
979
980
  return (_a = this.value) === null || _a === void 0 ? void 0 : _a.map(item => ({
980
981
  value: item.id,
981
982
  label: StringHelper.textLimitter(item.text, 7),
982
- text: item.tooltipMessage || item.tagTitle || item.text,
983
+ text: item.tooltipMessage || item.tagTitle || Generate.domParser(item.text),
983
984
  }));
984
985
  }, []);
985
986
  }
@@ -1419,7 +1420,7 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1419
1420
  this.totalRootData = totalRoots;
1420
1421
  this.value = this.checkboxes ? (await this.getCheckedList()).checkedList : listState.selectedItem(this._id) ? listState.selectedItem(this._id)[0] : null;
1421
1422
  if (!this.checkboxes) {
1422
- this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
1423
+ this.inputText = Generate.domParser((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
1423
1424
  }
1424
1425
  // checkli olan subparentların indeterminate kontrolü için
1425
1426
  if (this.checkboxes && ((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) > 0) {
@@ -1474,7 +1475,7 @@ const BcmList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1474
1475
  var _a;
1475
1476
  if (!this.checkboxes) {
1476
1477
  this.value = listState.selectedItem(this._id, itemId) ? listState.selectedItem(this._id, itemId)[0] : null;
1477
- this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
1478
+ this.inputText = Generate.domParser((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
1478
1479
  this.isOpen = false;
1479
1480
  this.markForCheck();
1480
1481
  if (this.type == "autocomplete" && this.value) {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
6
6
  import { c as classnames } from './index2.js';
7
- import { B as Bcm } from './bcm.js';
7
+ import { a as Bcm } from './bcm.js';
8
8
  import { G as Generate } from './generate.js';
9
9
  import { d as defineCustomElement$2 } from './old-popover-box.js';
10
10
 
@@ -10,7 +10,7 @@ import { d as defineCustomElement$3 } from './icon.js';
10
10
  import { d as defineCustomElement$2 } from './label.js';
11
11
  import { d as defineCustomElement$1 } from './tooltip.js';
12
12
 
13
- const oldInputCss = "@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}.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}*{box-sizing:border-box}.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}:host{display:inline-block;width:100%;margin:0 0 8px 0}:host(.hidden){display:none}:host(.no-margin){margin:0}.input-container{display:flex;flex-direction:column;width:100%;max-width:256px}.input-container.full-width{max-width:100%}.input-base{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;flex:1 1 auto;display:inline-flex;align-items:stretch;justify-content:start;position:relative;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;vertical-align:middle;overflow:hidden;padding:0 4px;cursor:text}.input-base.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.input-base.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-300)}.input-base.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.input-base.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.input-base:not(.disabled):hover .caret-container,.input-base:not(.disabled).focused .caret-container{opacity:1}.input-base:not(.disabled):hover .input-clear-button,.input-base:not(.disabled).focused .input-clear-button{opacity:1}.input-base:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.input-base:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.input-base.focused:not(.disabled) .caret-container{opacity:1}.input-base.focused:not(.disabled) .input-clear-button{opacity:1}.input-base:hover:not(.disabled) .caret-container{opacity:1}.input-base:hover:not(.disabled) .input-clear-button{opacity:1}.input-base.disabled{cursor:not-allowed}.input-base.readonly{cursor:default}.input-base.empty .input-clear-button{display:none}.input-base.invalid,.input-base.error{border-color:var(--bcm-new-ds-color-red-500)}.error .label{color:var(--bcm-new-ds-color-red-500) !important}.error .input-base{border-color:var(--bcm-new-ds-color-red-500) !important}.input-base input{color:var(--bcm-new-ds-color-slate-600);flex:1 1 auto;width:0%;border:none;border-radius:2px;background:none;box-shadow:none;padding:0;margin:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;appearance:none}.input-base input::-webkit-search-decoration,.input-base input::-webkit-search-cancel-button,.input-base input::-webkit-search-results-button,.input-base input::-webkit-search-results-decoration{-webkit-appearance:none}.input-base input::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.input-base input:focus{outline:none}input::-webkit-calendar-picker-indicator{-webkit-appearance:none;display:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}.input-prefix,.input-suffix{display:inline-flex;align-items:center;justify-content:center;cursor:default;color:var(--bcm-new-ds-color-slate-500)}.input-prefix ::slotted(*),.input-prefix>span{line-height:1;margin-left:4px}.input-suffix ::slotted(*),.input-suffix>span{line-height:1;margin-right:4px}.input-clear-button,.input-password-toggle{display:inline-flex;align-items:center;border:none;background:none;padding:0;cursor:pointer;margin-right:4px;transition:0.2s opacity}.input-clear-button:last-child,.input-clear-button:last-of-type,.input-password-toggle:last-child,.input-password-toggle:last-of-type{margin-right:8px}.input-clear-button:focus,.input-password-toggle:focus{outline:none}.input-clear-button{opacity:0}.label{display:flex;flex-direction:column;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;color:var(--bcm-new-ds-color-slate-600);margin-bottom:4px}.caption-area{min-height:20px}.input-caption{display:block}.unit.input-suffix{width:24px}.unit-prefix{display:inline-flex;flex:0 0 auto;align-items:center;cursor:default;color:var(--bcm-color-grey-8)}.caret-container{opacity:0;width:30px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-left:1px solid #D9D9D9;border-right:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box;margin-right:4px}.caret-container:last-of-type{margin-right:-space(\"xxxs\");border-right:none}.caret-container .caret{display:inline-flex;height:50%;width:100%;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer}.caret-container .caret:hover{color:var(--bcm-color-prime-blue-6)}.caret-container .caret:active{background-color:var(--bcm-color-grey-3)}.caret-container .caret:last-child{border-top:1px solid #D9D9D9}.caret-container.disabled{background-color:var(--bcm-color-grey-3)}.caret-container.disabled .caret{cursor:not-allowed}.default-icon{margin-right:8px}.input-large{height:40px}.input-medium{height:32px}.input-small{height:24px}";
13
+ const oldInputCss = "@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}.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}*{box-sizing:border-box}.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}:host{display:inline-block;width:100%;margin:0 0 8px 0}:host(.hidden){display:none}:host(.no-margin){margin:0}.input-container{display:flex;flex-direction:column;width:100%;max-width:256px}.input-container.full-width{max-width:100%}.input-base{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;flex:1 1 auto;display:inline-flex;align-items:stretch;justify-content:start;position:relative;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;vertical-align:middle;overflow:hidden;padding:0 4px;cursor:text}.input-base.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.input-base.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-300)}.input-base.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.input-base.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.input-base:not(.disabled):hover .caret-container,.input-base:not(.disabled).focused .caret-container{opacity:1}.input-base:not(.disabled):hover .input-clear-button,.input-base:not(.disabled).focused .input-clear-button{opacity:1}.input-base:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.input-base:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.input-base.focused:not(.disabled) .caret-container{opacity:1}.input-base.focused:not(.disabled) .input-clear-button{opacity:1}.input-base:hover:not(.disabled) .caret-container{opacity:1}.input-base:hover:not(.disabled) .input-clear-button{opacity:1}.input-base.disabled{cursor:not-allowed}.input-base.readonly{cursor:default}.input-base.empty .input-clear-button{display:none}.input-base.invalid,.input-base.error{border-color:var(--bcm-new-ds-color-red-500)}.error .label{color:var(--bcm-new-ds-color-red-500) !important}.error .input-base{border-color:var(--bcm-new-ds-color-red-500) !important}.input-base input{color:var(--bcm-new-ds-color-slate-600);flex:1 1 auto;width:0%;border:none;border-radius:2px;background:none;box-shadow:none;padding:0;margin:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;appearance:none}.input-base input::-webkit-search-decoration,.input-base input::-webkit-search-cancel-button,.input-base input::-webkit-search-results-button,.input-base input::-webkit-search-results-decoration{-webkit-appearance:none}.input-base input::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.input-base input:focus{outline:none}input::-webkit-calendar-picker-indicator{-webkit-appearance:none;display:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}input[type=number]{-moz-appearance:textfield}.input-prefix,.input-suffix{display:inline-flex;align-items:center;justify-content:center;cursor:default;color:var(--bcm-new-ds-color-slate-500)}.input-prefix ::slotted(*),.input-prefix>span{line-height:1;margin-left:4px}.input-suffix ::slotted(*),.input-suffix>span{line-height:1;margin-right:4px}.input-clear-button,.input-password-toggle{display:inline-flex;align-items:center;border:none;background:none;padding:0;cursor:pointer;margin-right:4px;transition:0.2s opacity}.input-clear-button:last-child,.input-clear-button:last-of-type,.input-password-toggle:last-child,.input-password-toggle:last-of-type{margin-right:8px}.input-clear-button:focus,.input-password-toggle:focus{outline:none}.input-clear-button{opacity:0}.label{display:flex;flex-direction:column;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;color:var(--bcm-new-ds-color-slate-600);margin-bottom:4px}.caption-area{min-height:20px}.input-caption{display:block}.unit.input-suffix{width:24px}.unit-prefix{display:inline-flex;flex:0 0 auto;align-items:center;cursor:default;color:var(--bcm-color-grey-8)}.caret-container{opacity:0;width:30px;display:flex;flex-direction:column;justify-content:center;align-items:center;border-left:1px solid #D9D9D9;border-right:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box;margin-right:4px}.caret-container:last-of-type{margin-right:-space(\"xxxs\");border-right:none}.caret-container .caret{display:inline-flex;height:50%;width:100%;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer}.caret-container .caret:hover{color:var(--bcm-color-prime-blue-6)}.caret-container .caret:active{background-color:var(--bcm-color-grey-3)}.caret-container .caret:last-child{border-top:1px solid #D9D9D9}.caret-container.disabled{background-color:var(--bcm-color-grey-3)}.caret-container.disabled .caret{cursor:not-allowed}.default-icon{margin-right:8px}.input-large{height:40px}.input-medium{height:32px}.input-small{height:24px}.bcm-label{font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin-bottom:4px;font-weight:500;color:#475569}.bcm-label.tw-text-1{font-size:10px;line-height:18px}.bcm-label.tw-text-2{font-size:12px;line-height:20px}.bcm-label.tw-text-3{font-size:14px;line-height:22px}.bcm-caption-area{color:#dc2626;font-weight:400;justify-content:space-between;align-items:flex-start;flex-direction:row;min-height:20px;display:flex;margin-top:4px;font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bcm-caption-area.tw-text-1{font-size:10px;line-height:18px}.bcm-caption-area.tw-text-2{font-size:12px;line-height:20px}.bcm-caption-area.tw-text-3{font-size:14px;line-height:22px}";
14
14
 
15
15
  let id = 0;
16
16
  const defaultIcons = {
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
6
- import { a as Bcm } from './bcm.js';
6
+ import { B as Bcm } from './bcm.js';
7
7
  import './color-helper.js';
8
8
  import './validators.js';
9
9
  import { G as Generate } from './generate.js';
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
5
  import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent } from '@stencil/core/internal/client';
6
- import { a as Bcm } from './bcm.js';
6
+ import { B as Bcm } from './bcm.js';
7
7
  import { c as classnames } from './index2.js';
8
8
  import { u as useEvent, b as useLayoutUpdateEffect, _ as _typeof$3, c as warningOnce, d as useMemo, w as wrapperRaf, a as useLayoutEffect, e as canUseDom, s as supportRef, f as useComposeRef, i as isDOM, g as fillRef, h as findDOMNode, R as RefResizeObserver, j as composeRef } from './raf.js';
9
9
  import { r as react, a as reactDom, R as React } from './index3.js';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
6
6
  import { s as snq, G as Generate } from './generate.js';
7
- import { B as Bcm } from './bcm.js';
7
+ import { a as Bcm } from './bcm.js';
8
8
  import { I as InputTemplate } from './input-template.js';
9
9
  import { d as delay } from './utils.js';
10
10
  import { c as createStore } from './index4.js';
@@ -2,7 +2,7 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { B as Bcm } from './bcm.js';
5
+ import { a as Bcm } from './bcm.js';
6
6
  import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers.js';
7
7
 
8
8
  var slugify = createCommonjsModule(function (module, exports) {
@@ -6,7 +6,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
6
6
  import { c as classnames } from './index2.js';
7
7
  import { I as IsLoad } from './is-load-decorator.js';
8
8
  import { G as Generate } from './generate.js';
9
- import { B as Bcm } from './bcm.js';
9
+ import { a as Bcm } from './bcm.js';
10
10
  import { C as CaptionTemplate } from './caption-template.js';
11
11
  import { I as InputTemplate } from './input-template.js';
12
12
  import { d as delay } from './utils.js';
@@ -10,7 +10,7 @@ import { C as ColorHelper } from './color-helper.js';
10
10
  import './validators.js';
11
11
  import { G as Generate } from './generate.js';
12
12
  import './number-helper.js';
13
- import { a as Bcm } from './bcm.js';
13
+ import { B as Bcm } from './bcm.js';
14
14
 
15
15
  class Tooltip {
16
16
  constructor({ message, targetId, placement = "top", color = "slate-700", trigger = "none", size = "medium", openDelay = 0, closeDelay = 0, autoHide = false, emitShow = () => { }, emitHide = () => { }, }) {
@@ -10,7 +10,7 @@ import './number-helper.js';
10
10
  import './string-helper.js';
11
11
  import { T as Tooltip } from './tooltip-helper.js';
12
12
  import './element-dragger.js';
13
- import { a as Bcm } from './bcm.js';
13
+ import { B as Bcm } from './bcm.js';
14
14
 
15
15
  const BcmTooltip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
16
16
  constructor() {
@@ -37,4 +37,4 @@ function commonjsRequire () {
37
37
  throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
38
38
  }
39
39
 
40
- export { commonjsGlobal as a, getDefaultExportFromCjs as b, createCommonjsModule as c, getAugmentedNamespace as g };
40
+ export { commonjsGlobal as a, getAugmentedNamespace as b, createCommonjsModule as c, getDefaultExportFromCjs as g };
@@ -2,11 +2,11 @@
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-0615c2b8.js';
6
- import { G as Generate } from './generate-172d2481.js';
7
- import './package-1d2d00da.js';
8
- import './colors-ebea297f.js';
9
- import './_commonjsHelpers-7002e5de.js';
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-4614b7f0.js';
6
+ import { G as Generate } from './generate-7b9db394.js';
7
+ import './package-a6df69df.js';
8
+ import './colors-e1c31f79.js';
9
+ import './_commonjsHelpers-be0d4ec8.js';
10
10
 
11
11
  const accordionCss = "@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}";
12
12
 
@@ -2,14 +2,14 @@
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-0615c2b8.js';
6
- import { G as Generate, s as snq, S as StatusProps, T as TypeProps } from './generate-172d2481.js';
7
- import { c as classnames } from './index-00c8a8f7.js';
8
- import { c as createStore } from './index-7e71bbc8.js';
9
- import { S as StringHelper } from './string-helper-8f5da9ec.js';
10
- import './package-1d2d00da.js';
11
- import './colors-ebea297f.js';
12
- import './_commonjsHelpers-7002e5de.js';
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, S as StatusProps, T as TypeProps } from './generate-7b9db394.js';
7
+ import { c as classnames } from './index-b84bc8c9.js';
8
+ import { c as createStore } from './index-f38e3364.js';
9
+ import { S as StringHelper } from './string-helper-3526c4fe.js';
10
+ import './package-a6df69df.js';
11
+ import './colors-e1c31f79.js';
12
+ import './_commonjsHelpers-be0d4ec8.js';
13
13
  import './bcm-0f9cc27c.js';
14
14
 
15
15
  const { state } = createStore({
@@ -0,0 +1,132 @@
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-7b9db394.js';
9
+ import './number-helper-847951a8.js';
10
+ import './string-helper-3526c4fe.js';
11
+ import './validators-74e39305.js';
12
+ import './element-dragger-7ea06c76.js';
13
+ import { F as FloatingUI } from './floating-ui-a4e67246.js';
14
+ import { a as Bcm } from './bcm-0f9cc27c.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-a6df69df.js';
21
+
22
+ const attendanceActionCommentStyle = ce({
23
+ slots: {
24
+ host: [
25
+ // "tw-flex tw-h-fit tw-w-full tw-min-w-[288px] tw-flex-col tw-items-start tw-rounded tw-p-4 tw-shadow-2",
26
+ "tw-w-fit",
27
+ "tw-absolute tw-left-0 tw-right-0 tw-z-tooltip tw-opacity-100 tw-transition-opacity tw-duration-300",
28
+ "tw-rounded tw-bg-white tw-shadow",
29
+ "bcm-ui-element bcm-attendance-actions tw-flex tw-flex-col tw-items-start tw-justify-start tw-p-4 tw-font-medium tw-text-slate-700",
30
+ ],
31
+ footer: ["tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-end tw-gap-2 "],
32
+ },
33
+ variants: {
34
+ size: {
35
+ small: {},
36
+ medium: {},
37
+ large: {},
38
+ },
39
+ },
40
+ defaultVariants: {
41
+ size: "medium",
42
+ },
43
+ });
44
+
45
+ const BcmAttendanceActionsComment = class {
46
+ constructor(hostRef) {
47
+ registerInstance(this, hostRef);
48
+ this.change = createEvent(this, "bcm-attendance-actions-comment-change", 3);
49
+ this.lateMinutes = null;
50
+ this.comment = null;
51
+ this._id = Generate.UID();
52
+ this.size = Bcm.Size.medium;
53
+ this.disabled = false;
54
+ this.selectedKey = null;
55
+ this.targetId = null;
56
+ this.isShow = false;
57
+ this.isLate = false;
58
+ this.selectedItem = null;
59
+ }
60
+ handleSave(lateMinutes, comment) {
61
+ this.change.emit({ lateMinutes, comment });
62
+ this.hide();
63
+ }
64
+ async show() {
65
+ const targetElement = document.getElementById(this.targetId);
66
+ FloatingUI({
67
+ ref: targetElement,
68
+ floating: this.el,
69
+ placement: "bottom-end",
70
+ offset: 8,
71
+ arrow: true,
72
+ arrowColor: "tw-bg-white",
73
+ });
74
+ this.isShow = true;
75
+ if (this.isLate) {
76
+ this.focusInput();
77
+ }
78
+ else {
79
+ this.focusTextarea();
80
+ }
81
+ }
82
+ focusInput() {
83
+ const input = this.el.querySelector("bcm-input");
84
+ input === null || input === void 0 ? void 0 : input.onBcmFocus();
85
+ }
86
+ focusTextarea() {
87
+ const textarea = this.el.querySelector("bcm-textarea");
88
+ textarea === null || textarea === void 0 ? void 0 : textarea.onBcmFocus();
89
+ }
90
+ async hide() {
91
+ if (this.isShow) {
92
+ this.el.remove();
93
+ }
94
+ }
95
+ handleClickOutside(event) {
96
+ if (!Generate.findEventPath(event, this.el)) {
97
+ this.hide();
98
+ }
99
+ }
100
+ async formSubmit() {
101
+ var _a, _b, _c;
102
+ const { lateMinutes, comment, isLate } = this;
103
+ if (isLate) {
104
+ if (lateMinutes) {
105
+ if (!(lateMinutes >= 0 && lateMinutes <= 200)) {
106
+ return;
107
+ }
108
+ }
109
+ }
110
+ const { isValid } = await ((_a = this.el.querySelector("bcm-form")) === null || _a === void 0 ? void 0 : _a.submit());
111
+ if (!isValid)
112
+ return;
113
+ this.handleSave(lateMinutes || ((_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.lateMin), comment || ((_c = this.selectedItem) === null || _c === void 0 ? void 0 : _c.comment));
114
+ }
115
+ render() {
116
+ var _a, _b;
117
+ const { size } = this;
118
+ const { host, footer } = attendanceActionCommentStyle({
119
+ size,
120
+ });
121
+ return (h(Host, { class: host() }, h("bcm-form", { validation: true, style: { width: "256px" } }, this.isLate ? (h("bcm-input", { label: "Minus Late", required: true, name: "lateMin", id: this._id + "-input-dropdown-late-content-input", type: "number", size: this.size, autocomplete: false, "no-margin": true, min: 0, max: 200, value: (_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.lateMin, placeholder: "Enter Minus Late", "onBcm-change": ({ detail }) => (this.lateMinutes = detail), onKeyDown: e => {
122
+ if (e.key === "Enter")
123
+ this.formSubmit();
124
+ } }, h("i", { slot: "prefix", class: "far fa-clock" }))) : null, h("bcm-textarea", { name: "comment", value: (_b = this.selectedItem) === null || _b === void 0 ? void 0 : _b.comment, size: this.size, "onBcm-change": ({ detail }) => (this.comment = detail), label: "Description", "no-caption": true, rows: 4, onKeyDown: e => {
125
+ if (e.key === "Enter")
126
+ this.formSubmit();
127
+ } }), h("footer", { class: footer() }, h("bcm-button", { class: "tw-order-2", icon: "fas fa-save", "icon-position": "prefix", size: this.size, onClick: () => this.formSubmit() }, "Save"), h("bcm-button", { class: "tw-order-1", icon: "fas fa-times", kind: "ghost", size: this.size, "icon-position": "prefix", onClick: () => this.hide() }, "Close")))));
128
+ }
129
+ get el() { return getElement(this); }
130
+ };
131
+
132
+ export { BcmAttendanceActionsComment as bcm_attendance_actions_comment };
@@ -0,0 +1,97 @@
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-7b9db394.js';
9
+ import './number-helper-847951a8.js';
10
+ import './string-helper-3526c4fe.js';
11
+ import './validators-74e39305.js';
12
+ import './element-dragger-7ea06c76.js';
13
+ import { F as FloatingUI } from './floating-ui-a4e67246.js';
14
+ import { a as Bcm } from './bcm-0f9cc27c.js';
15
+ import { c as classnames } from './index-b84bc8c9.js';
16
+ import { c as ce } from './index-3bc8c6e3.js';
17
+ import './colors-1d7854ea.js';
18
+ import './utils-b3338faf.js';
19
+ import './colors-e1c31f79.js';
20
+ import './_commonjsHelpers-be0d4ec8.js';
21
+ import './package-a6df69df.js';
22
+
23
+ const attendanceActionDropdownStyle = ce({
24
+ slots: {
25
+ host: [
26
+ "tw-w-fit",
27
+ "tw-absolute tw-left-0 tw-right-0 tw-z-tooltip tw-opacity-100 tw-transition-opacity tw-duration-300",
28
+ "tw-overscroll-contain tw-scroll-smooth tw-rounded tw-bg-white tw-shadow tw-max-h-64 tw-overflow-y-auto",
29
+ "bcm-ui-element bcm-attendance-actions tw-flex tw-flex-col tw-items-start tw-justify-start tw-p-2 tw-font-medium tw-text-slate-700"
30
+ ],
31
+ dataItem: ["tw-flex tw-w-full tw-cursor-pointer tw-flex-row tw-items-start tw-justify-start tw-gap-2 tw-rounded hover:tw-bg-blue-100"],
32
+ key: ["tw-font-mono tw-text-slate-600"],
33
+ selectedItem: ["tw-bg-blue-100"],
34
+ },
35
+ variants: {
36
+ size: {
37
+ small: {
38
+ dataItem: ["tw-text-2.5 tw-px-2.5 tw-py-2"],
39
+ },
40
+ medium: {
41
+ dataItem: ["tw-text-3 tw-px-3 tw-py-2"],
42
+ },
43
+ large: {
44
+ dataItem: ["tw-text-4 tw-px-4 tw-py-2"],
45
+ },
46
+ }
47
+ },
48
+ defaultVariants: {
49
+ size: "medium"
50
+ },
51
+ });
52
+
53
+ const BcmAttendanceActionsDropdown = class {
54
+ constructor(hostRef) {
55
+ registerInstance(this, hostRef);
56
+ this.change = createEvent(this, "bcm-attendance-actions-dropdown-change", 3);
57
+ this._id = Generate.UID();
58
+ this.size = Bcm.Size.medium;
59
+ this.disabled = false;
60
+ this.selectedKey = null;
61
+ this.targetId = null;
62
+ this.isShow = false;
63
+ this.data = [];
64
+ }
65
+ handleSelectItem(item) {
66
+ this.selectedKey = item.key;
67
+ this.change.emit(item);
68
+ }
69
+ async show() {
70
+ const targetElement = document.getElementById(this.targetId);
71
+ FloatingUI({
72
+ ref: targetElement,
73
+ floating: this.el,
74
+ placement: "bottom-end",
75
+ offset: 4,
76
+ });
77
+ this.isShow = true;
78
+ }
79
+ async hide() {
80
+ if (this.isShow) {
81
+ this.el.remove();
82
+ }
83
+ }
84
+ handleClickOutside() {
85
+ this.hide();
86
+ }
87
+ render() {
88
+ const { size } = this;
89
+ const { host, dataItem, selectedItem, key } = attendanceActionDropdownStyle({
90
+ size,
91
+ });
92
+ return (h(Host, { class: host() }, this.data.map((item) => (h("div", { class: classnames(dataItem(), this.selectedKey === item.key && selectedItem()), onClick: () => this.handleSelectItem(item) }, h("span", { class: key() }, item.key, " - "), h("span", null, item.value))))));
93
+ }
94
+ get el() { return getElement(this); }
95
+ };
96
+
97
+ export { BcmAttendanceActionsDropdown as bcm_attendance_actions_dropdown };