bromcom-ui 2.10.1-rc.9 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) 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-cc556e65.entry.js → p-01c26454.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-086cda42.entry.js → p-02b30a5c.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-7c5763cc.entry.js → p-03337609.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-6edf985f.js → p-034bbcdd.js} +1 -1
  7. package/dist/bromcom-ui/{p-8d16573c.entry.js → p-0511936c.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-092f751e.js +5 -0
  9. package/dist/bromcom-ui/{p-430c0a24.entry.js → p-0efc9196.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-c1a992e7.entry.js → p-107f11df.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-d706b0bd.entry.js → p-13f868f7.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-39134670.entry.js → p-15302481.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-a9769aef.entry.js → p-17821ee9.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-7d18ce0e.entry.js → p-181f2f4a.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-2aaeb247.entry.js → p-188b9079.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-26290ed5.entry.js → p-18bc4e04.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-eb2c11e0.js → p-1920c1cd.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-fff1a0f9.entry.js → p-1e8559ac.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-8839e454.entry.js → p-258aca86.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-f327dd16.entry.js → p-2c4e5bb2.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-4c30ce4b.entry.js → p-2d776ab1.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-e32e4c09.entry.js → p-2fad0385.entry.js} +1 -1
  25. package/dist/bromcom-ui/p-3182df7e.js +10 -0
  26. package/dist/bromcom-ui/p-37565993.entry.js +5 -0
  27. package/dist/bromcom-ui/{p-b04dbde5.entry.js → p-396ef644.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-67343ad8.entry.js → p-3b079331.entry.js} +1 -1
  29. package/dist/bromcom-ui/p-3b30d329.entry.js +5 -0
  30. package/dist/bromcom-ui/{p-81a2c866.js → p-3b5a6c8e.js} +1 -1
  31. package/dist/bromcom-ui/{p-7cf44256.entry.js → p-3b643e9a.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-73789dbb.entry.js → p-3b7ac787.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-b4e67a0b.js → p-3bb8785d.js} +1 -1
  34. package/dist/bromcom-ui/p-3c4fbed6.entry.js +5 -0
  35. package/dist/bromcom-ui/{p-8c018ae0.js → p-3c7a0345.js} +1 -1
  36. package/dist/bromcom-ui/{p-f824e6bb.entry.js → p-422e697d.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-61db1f1f.js → p-4798d827.js} +1 -1
  40. package/dist/bromcom-ui/{p-69260d36.entry.js → p-48f5a3c9.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-d2b358ae.js → p-4a540b56.js} +1 -1
  42. package/dist/bromcom-ui/{p-ec2688a7.entry.js → p-4c2ecca2.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-4e40be76.entry.js +5 -0
  46. package/dist/bromcom-ui/p-4f96ee59.entry.js +5 -0
  47. package/dist/bromcom-ui/p-505709c6.entry.js +5 -0
  48. package/dist/bromcom-ui/p-5436ddd6.js +5 -0
  49. package/dist/bromcom-ui/{p-7e44e6b5.js → p-5ae0a59b.js} +1 -1
  50. package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
  51. package/dist/bromcom-ui/{p-f0a6db76.entry.js → p-62370fd0.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-d551a51d.entry.js → p-63138ee5.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-7a2ea416.entry.js → p-66964e5c.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-2f46157a.entry.js → p-687ea920.entry.js} +1 -1
  55. package/dist/bromcom-ui/p-6bea3bea.js +5 -0
  56. package/dist/bromcom-ui/{p-19f27bd8.entry.js → p-6de81bd3.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-ba9eff2a.entry.js → p-6e7bb16f.entry.js} +1 -1
  58. package/dist/bromcom-ui/p-6f11eb8e.entry.js +5 -0
  59. package/dist/bromcom-ui/{p-0a7346a7.entry.js → p-70b34e79.entry.js} +1 -1
  60. package/dist/bromcom-ui/p-73f5c339.entry.js +5 -0
  61. package/dist/bromcom-ui/p-76edf59f.js +7 -0
  62. package/dist/bromcom-ui/p-77035c08.entry.js +5 -0
  63. package/dist/bromcom-ui/{p-4bcb29c3.entry.js → p-79007b75.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-626b805d.entry.js → p-7a89243a.entry.js} +1 -1
  65. package/dist/bromcom-ui/{p-d65c93dd.entry.js → p-7aa06da2.entry.js} +1 -1
  66. package/dist/bromcom-ui/{p-84ff5d64.entry.js → p-7af84928.entry.js} +1 -1
  67. package/dist/bromcom-ui/p-7e3209a0.js +14 -0
  68. package/dist/bromcom-ui/{p-a25c8a55.js → p-8a92f2bf.js} +1 -1
  69. package/dist/bromcom-ui/{p-ce45a5a0.entry.js → p-8d4654ed.entry.js} +1 -1
  70. package/dist/bromcom-ui/{p-9850cbce.js → p-8e5e362a.js} +1 -1
  71. package/dist/bromcom-ui/{p-157359d6.js → p-94554e42.js} +1 -1
  72. package/dist/bromcom-ui/{p-1c801d0c.entry.js → p-95a2c489.entry.js} +1 -1
  73. package/dist/bromcom-ui/{p-8af69fbb.entry.js → p-964b3343.entry.js} +1 -1
  74. package/dist/bromcom-ui/{p-78ace67b.entry.js → p-a3960507.entry.js} +1 -1
  75. package/dist/bromcom-ui/{p-4e577842.entry.js → p-a3ce764f.entry.js} +1 -1
  76. package/dist/bromcom-ui/{p-377eec7f.entry.js → p-aa22dd85.entry.js} +1 -1
  77. package/dist/bromcom-ui/p-ad359555.entry.js +5 -0
  78. package/dist/bromcom-ui/p-ada3eed7.entry.js +5 -0
  79. package/dist/bromcom-ui/{p-6bbedf32.entry.js → p-aee35345.entry.js} +1 -1
  80. package/dist/bromcom-ui/{p-da0a6963.entry.js → p-b701b3aa.entry.js} +1 -1
  81. package/dist/bromcom-ui/{p-8ea1d342.entry.js → p-b851dcc2.entry.js} +1 -1
  82. package/dist/bromcom-ui/p-ba2ddaf6.js +5 -0
  83. package/dist/bromcom-ui/{p-5c671967.entry.js → p-bca72f17.entry.js} +1 -1
  84. package/dist/bromcom-ui/{p-d82d0c57.entry.js → p-bd6c967c.entry.js} +1 -1
  85. package/dist/bromcom-ui/p-bed627ab.js +11 -0
  86. package/dist/bromcom-ui/{p-f1829cae.entry.js → p-c439cb60.entry.js} +1 -1
  87. package/dist/bromcom-ui/p-c926e138.js +5 -0
  88. package/dist/bromcom-ui/{p-ea18d38d.entry.js → p-cad2f118.entry.js} +1 -1
  89. package/dist/bromcom-ui/{p-d0c1fcc5.entry.js → p-ccb3c2e2.entry.js} +1 -1
  90. package/dist/bromcom-ui/{p-c1b1c0b4.entry.js → p-cd75feb9.entry.js} +1 -1
  91. package/dist/bromcom-ui/p-dbc66238.js +5 -0
  92. package/dist/bromcom-ui/{p-40b85b9b.entry.js → p-dbea0599.entry.js} +1 -1
  93. package/dist/bromcom-ui/{p-769facbd.entry.js → p-dd1a1d12.entry.js} +1 -1
  94. package/dist/bromcom-ui/{p-170cf07d.js → p-e037ee2b.js} +1 -1
  95. package/dist/bromcom-ui/p-e082074a.entry.js +5 -0
  96. package/dist/bromcom-ui/p-e0a4da6d.entry.js +5 -0
  97. package/dist/bromcom-ui/{p-1c9314bd.entry.js → p-e32ab4da.entry.js} +1 -1
  98. package/dist/bromcom-ui/{p-85eedabc.js → p-e45c1546.js} +1 -1
  99. package/dist/bromcom-ui/p-e4ab4af0.entry.js +5 -0
  100. package/dist/bromcom-ui/p-e4b42f26.js +5 -0
  101. package/dist/bromcom-ui/p-e70821f7.entry.js +5 -0
  102. package/dist/bromcom-ui/{p-66929631.entry.js → p-e76bfd6b.entry.js} +1 -1
  103. package/dist/bromcom-ui/p-e920c9b9.entry.js +5 -0
  104. package/dist/bromcom-ui/{p-bc0e11d2.entry.js → p-eb4362ac.entry.js} +1 -1
  105. package/dist/bromcom-ui/{p-125d6ed0.js → p-ed9d082d.js} +1 -1
  106. package/dist/bromcom-ui/{p-c285ac3e.entry.js → p-f0177251.entry.js} +1 -1
  107. package/dist/bromcom-ui/p-f037abec.entry.js +5 -0
  108. package/dist/bromcom-ui/{p-b50bee51.entry.js → p-f2aca650.entry.js} +1 -1
  109. package/dist/bromcom-ui/{p-c658e7f0.entry.js → p-f3246837.entry.js} +1 -1
  110. package/dist/bromcom-ui/{p-7b02eb85.entry.js → p-f33d8f77.entry.js} +1 -1
  111. package/dist/bromcom-ui/{p-c40a820f.entry.js → p-f3423d98.entry.js} +1 -1
  112. package/dist/bromcom-ui/p-f5958c67.entry.js +5 -0
  113. package/dist/bromcom-ui/p-f650fed9.entry.js +5 -0
  114. package/dist/bromcom-ui/{p-6a6c51e1.entry.js → p-f68c1b66.entry.js} +1 -1
  115. package/dist/bromcom-ui/{p-99824717.entry.js → p-f9119bec.entry.js} +1 -1
  116. package/dist/bromcom-ui/p-f93bcd16.entry.js +5 -0
  117. package/dist/bromcom-ui/{p-eab01ad5.entry.js → p-fd1c3951.entry.js} +1 -1
  118. package/dist/bromcom-ui/p-fe22cf19.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 +140 -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 +4 -4
  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 +2544 -0
  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-a89cbf95.js → generate-183405cb.js} +4 -12
  185. package/dist/cjs/{global-12727d81.js → global-4a756c02.js} +1 -1
  186. package/dist/cjs/index-3d67f613.js +1610 -0
  187. package/dist/cjs/index-e05a7c6f.js +545 -0
  188. package/dist/cjs/{input-template-aed0898b.js → input-template-e36927b1.js} +1 -1
  189. package/dist/cjs/{json-parse-decarator-f6d01750.js → json-parse-decarator-4c1f74bb.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-ed1167a6.js → number-helper-ca52fadf.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-e3618032.js → package-4c68d5f8.js} +1 -1
  196. package/dist/cjs/{stepper-states-5cde5a5b.js → stepper-states-f97c457a.js} +1 -1
  197. package/dist/cjs/{tooltip-helper-8e999092.js → tooltip-helper-83971814.js} +3 -3
  198. package/dist/cjs/{validators-ca50c59e.js → validators-a31b53a5.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 +1 -1
  206. package/dist/collection/components/other/attendance-actions/attendance-actions-comment.js +317 -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 +3 -11
  215. package/dist/components/avatar.js +1 -1
  216. package/dist/components/badge.js +1 -1
  217. package/dist/components/bcm-attendance-actions-comment.d.ts +11 -0
  218. package/dist/components/bcm-attendance-actions-comment.js +213 -0
  219. package/dist/components/bcm-attendance-actions-dropdown.d.ts +11 -0
  220. package/dist/components/bcm-attendance-actions-dropdown.js +118 -0
  221. package/dist/components/bcm-attendance-actions.d.ts +11 -0
  222. package/dist/components/bcm-attendance-actions.js +346 -0
  223. package/dist/components/bcm-button-group.js +1 -1
  224. package/dist/components/bcm-caption.js +1 -1
  225. package/dist/components/bcm-checkbox-group.js +1 -1
  226. package/dist/components/bcm-chip-group.js +1 -1
  227. package/dist/components/bcm-date-picker.js +1 -1
  228. package/dist/components/bcm-date.js +1 -1
  229. package/dist/components/bcm-drawer.js +1 -1
  230. package/dist/components/bcm-dropdown.js +1 -1
  231. package/dist/components/bcm-form-2.js +1 -1
  232. package/dist/components/bcm-form.js +1 -504
  233. package/dist/components/bcm-input-dropdown.js +1 -1
  234. package/dist/components/bcm-item.js +1 -1
  235. package/dist/components/bcm-modal-2.js +1 -1
  236. package/dist/components/bcm-modal.js +1 -1
  237. package/dist/components/bcm-number-input.js +1 -1
  238. package/dist/components/bcm-popconfirm.js +1 -1
  239. package/dist/components/bcm-popover.js +1 -1
  240. package/dist/components/bcm-progress.js +1 -1
  241. package/dist/components/bcm-radio-group.js +1 -1
  242. package/dist/components/bcm-range.js +2 -2
  243. package/dist/components/bcm-shortcut.js +1 -1
  244. package/dist/components/bcm-stepper.js +1 -1
  245. package/dist/components/bcm-switch.js +1 -1
  246. package/dist/components/bcm-tab-group.js +1 -1
  247. package/dist/components/bcm-tab-item-header.js +1 -1
  248. package/dist/components/bcm-tag.js +1 -1
  249. package/dist/components/bcm-time-picker.js +1 -1
  250. package/dist/components/bcm-toast.js +1 -1
  251. package/dist/components/bcm.js +1 -1
  252. package/dist/components/button.js +1 -1
  253. package/dist/components/checkbox-lite.js +1 -1
  254. package/dist/components/checkbox.js +1 -1
  255. package/dist/components/datetime-picker.js +2 -2
  256. package/dist/components/divider.js +1 -1
  257. package/dist/components/floating-ui.js +1 -1
  258. package/dist/components/form.js +513 -0
  259. package/dist/components/generate.js +4 -12
  260. package/dist/components/index.d.ts +3 -0
  261. package/dist/components/index.js +3 -0
  262. package/dist/components/input-template.js +1 -1
  263. package/dist/components/input.js +1 -1
  264. package/dist/components/label.js +2 -2
  265. package/dist/components/link.js +1 -1
  266. package/dist/components/linked.js +7 -1
  267. package/dist/components/list.js +2 -2
  268. package/dist/components/old-bcm-popover.js +1 -1
  269. package/dist/components/old-input.js +1 -1
  270. package/dist/components/radio.js +1 -1
  271. package/dist/components/rc-picker.js +1 -1
  272. package/dist/components/search.js +1 -1
  273. package/dist/components/string-helper.js +1 -1
  274. package/dist/components/textarea.js +1 -1
  275. package/dist/components/tooltip-helper.js +1 -1
  276. package/dist/components/tooltip.js +1 -1
  277. package/dist/esm/{_commonjsHelpers-7002e5de.js → _commonjsHelpers-be0d4ec8.js} +1 -1
  278. package/dist/esm/bcm-accordion.entry.js +5 -5
  279. package/dist/esm/bcm-alert.entry.js +8 -8
  280. package/dist/esm/bcm-attendance-actions-comment.entry.js +136 -0
  281. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +97 -0
  282. package/dist/esm/bcm-attendance-actions.entry.js +326 -0
  283. package/dist/esm/bcm-attendance.entry.js +5 -5
  284. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  285. package/dist/esm/bcm-avatar_2.entry.js +11 -11
  286. package/dist/esm/bcm-box.entry.js +1 -1
  287. package/dist/esm/bcm-breadcrumb.entry.js +6 -6
  288. package/dist/esm/bcm-button-group.entry.js +7 -7
  289. package/dist/esm/bcm-button.entry.js +368 -0
  290. package/dist/esm/bcm-caption.entry.js +13 -13
  291. package/dist/esm/bcm-card.entry.js +10 -10
  292. package/dist/esm/bcm-checkbox-group.entry.js +10 -10
  293. package/dist/esm/bcm-checkbox-lite_9.entry.js +7 -7
  294. package/dist/esm/bcm-checkbox_2.entry.js +189 -0
  295. package/dist/esm/bcm-chip-group.entry.js +14 -14
  296. package/dist/esm/bcm-chip.entry.js +8 -8
  297. package/dist/esm/bcm-collapse-group.entry.js +2 -2
  298. package/dist/esm/bcm-collapse.entry.js +6 -6
  299. package/dist/esm/bcm-color-input.entry.js +11 -11
  300. package/dist/esm/bcm-colorful_2.entry.js +17435 -0
  301. package/dist/esm/bcm-colorpicker.entry.js +5 -5
  302. package/dist/esm/bcm-content.entry.js +1 -1
  303. package/dist/esm/bcm-date-picker.entry.js +8 -8
  304. package/dist/esm/bcm-date.entry.js +178 -0
  305. package/dist/esm/bcm-datetime-picker.entry.js +13 -13
  306. package/dist/esm/bcm-default.entry.js +5 -5
  307. package/dist/esm/bcm-drawer.entry.js +12 -12
  308. package/dist/esm/bcm-dropdown.entry.js +8 -8
  309. package/dist/esm/bcm-error-layout.entry.js +3 -3
  310. package/dist/esm/bcm-expansion-panel.entry.js +9 -9
  311. package/dist/esm/bcm-form-2.entry.js +7 -7
  312. package/dist/esm/bcm-form-group.entry.js +1 -1
  313. package/dist/esm/bcm-form.entry.js +488 -0
  314. package/dist/esm/bcm-icon.entry.js +35 -0
  315. package/dist/esm/bcm-input-custom.entry.js +6 -6
  316. package/dist/esm/bcm-input-dropdown.entry.js +13 -13
  317. package/dist/esm/bcm-input_2.entry.js +545 -0
  318. package/dist/esm/bcm-item.entry.js +8 -8
  319. package/dist/esm/bcm-items.entry.js +6 -6
  320. package/dist/esm/bcm-label_2.entry.js +130 -0
  321. package/dist/esm/bcm-link.entry.js +3 -3
  322. package/dist/esm/bcm-list_3.entry.js +2538 -0
  323. package/dist/esm/bcm-menu.entry.js +14 -14
  324. package/dist/esm/bcm-message.entry.js +3 -3
  325. package/dist/esm/bcm-modal-2-footer.entry.js +12 -12
  326. package/dist/esm/bcm-modal-2-header.entry.js +11 -11
  327. package/dist/esm/bcm-modal-2.entry.js +12 -12
  328. package/dist/esm/bcm-modal.entry.js +8 -8
  329. package/dist/esm/bcm-notification.entry.js +3 -3
  330. package/dist/esm/bcm-number-input.entry.js +13 -13
  331. package/dist/esm/bcm-old-input.entry.js +6 -6
  332. package/dist/esm/bcm-old-tag_2.entry.js +4 -4
  333. package/dist/esm/bcm-overlay_2.entry.js +4 -4
  334. package/dist/esm/bcm-popconfirm-box.entry.js +10 -10
  335. package/dist/esm/bcm-popconfirm.entry.js +6 -6
  336. package/dist/esm/bcm-popover.entry.js +11 -11
  337. package/dist/esm/bcm-progress.entry.js +8 -8
  338. package/dist/esm/bcm-radio-group.entry.js +14 -14
  339. package/dist/esm/bcm-radio.entry.js +12 -12
  340. package/dist/esm/bcm-range.entry.js +8 -8
  341. package/dist/esm/bcm-rc-picker.entry.js +9387 -0
  342. package/dist/esm/bcm-result.entry.js +3 -3
  343. package/dist/esm/bcm-select-group.entry.js +3 -3
  344. package/dist/esm/bcm-select-option.entry.js +3 -3
  345. package/dist/esm/bcm-select.entry.js +5 -5
  346. package/dist/esm/bcm-shortcut.entry.js +12 -12
  347. package/dist/esm/bcm-skeleton.entry.js +11 -11
  348. package/dist/esm/bcm-step.entry.js +8 -8
  349. package/dist/esm/bcm-stepper.entry.js +14 -14
  350. package/dist/esm/bcm-switch.entry.js +147 -0
  351. package/dist/esm/bcm-tab-group.entry.js +11 -11
  352. package/dist/esm/bcm-tab-item-header.entry.js +12 -12
  353. package/dist/esm/bcm-tab-item.entry.js +11 -11
  354. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  355. package/dist/esm/bcm-tab.entry.js +3 -3
  356. package/dist/esm/bcm-table.entry.js +12 -12
  357. package/dist/esm/bcm-tabs-content.entry.js +4 -4
  358. package/dist/esm/bcm-tabs.entry.js +4 -4
  359. package/dist/esm/bcm-tag.entry.js +8 -8
  360. package/dist/esm/bcm-text.entry.js +8 -8
  361. package/dist/esm/bcm-time-picker.entry.js +8 -8
  362. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  363. package/dist/esm/bcm-timeline.entry.js +3 -3
  364. package/dist/esm/bcm-toast.entry.js +8 -8
  365. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  366. package/dist/esm/bromcom-ui.js +5 -5
  367. package/dist/esm/{caption-template-0c32ce16.js → caption-template-b5210fba.js} +2 -2
  368. package/dist/esm/{color-helper-845ba523.js → color-helper-c4fa9ebc.js} +2 -2
  369. package/dist/esm/{colors-ebea297f.js → colors-e1c31f79.js} +1 -1
  370. package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-7ea06c76.js} +1 -1
  371. package/dist/esm/{generate-f51f2b02.js → generate-ea4b5630.js} +5 -13
  372. package/dist/esm/{global-d1c1614b.js → global-8fd9695e.js} +2 -2
  373. package/dist/esm/{index-0615c2b8.js → index-4614b7f0.js} +1 -1
  374. package/dist/esm/index-a6d9d0af.js +541 -0
  375. package/dist/esm/{index-00c8a8f7.js → index-b84bc8c9.js} +1 -1
  376. package/dist/esm/index-c4568336.js +1594 -0
  377. package/dist/esm/{index-7e71bbc8.js → index-f38e3364.js} +1 -1
  378. package/dist/esm/{input-template-43cf6972.js → input-template-2ac3ec12.js} +3 -3
  379. package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-b8ca22f2.js} +1 -1
  380. package/dist/esm/{json-parse-decarator-05d60871.js → json-parse-decarator-c5e5dae7.js} +2 -2
  381. package/dist/esm/{label-template-ad2e8119.js → label-template-b2e8f81d.js} +2 -2
  382. package/dist/esm/loader.js +5 -5
  383. package/dist/esm/moment-15cd9198.js +4598 -0
  384. package/dist/esm/{number-helper-96513ada.js → number-helper-148cd002.js} +1 -1
  385. package/dist/esm/old-bcm-popover-box.entry.js +11 -11
  386. package/dist/esm/old-bcm-popover.entry.js +6 -6
  387. package/dist/esm/{package-ebccec3c.js → package-b6a53fde.js} +1 -1
  388. package/dist/esm/{popover-placement-279ce860.js → popover-placement-e6ed184e.js} +1 -1
  389. package/dist/esm/{slot-template-9234df88.js → slot-template-481a5ac5.js} +2 -2
  390. package/dist/esm/{stepper-states-0860f554.js → stepper-states-f02df67c.js} +3 -3
  391. package/dist/esm/{string-helper-8f5da9ec.js → string-helper-3526c4fe.js} +1 -1
  392. package/dist/esm/{tooltip-helper-ab4dde34.js → tooltip-helper-4b53b00b.js} +7 -7
  393. package/dist/esm/{utils-57652744.js → utils-b3338faf.js} +1 -1
  394. package/dist/esm/{validators-f9fdca63.js → validators-78ec4f0a.js} +1 -1
  395. package/dist/types/components/molecules/linked/linked.d.ts +1 -0
  396. package/dist/types/components/organism/form/form.d.ts +1 -0
  397. package/dist/types/components/organism/list/list.d.ts +1 -1
  398. package/dist/types/components/other/attendance-actions/attendance-actions-comment.d.ts +24 -0
  399. package/dist/types/components/other/attendance-actions/attendance-actions-comment.style.d.ts +52 -0
  400. package/dist/types/components/other/attendance-actions/attendance-actions-dropdown.d.ts +18 -0
  401. package/dist/types/components/other/attendance-actions/attendance-actions-dropdown.style.d.ts +100 -0
  402. package/dist/types/components/other/attendance-actions/attendance-actions.d.ts +29 -0
  403. package/dist/types/components/other/attendance-actions/attendance-actions.style.d.ts +242 -0
  404. package/dist/types/components.d.ts +104 -0
  405. package/dist/types/helper/generate.d.ts +1 -1
  406. package/dist/types/models/bcm.d.ts +4 -0
  407. package/package.json +1 -1
  408. package/dist/bromcom-ui/p-000670b6.js +0 -5
  409. package/dist/bromcom-ui/p-1c26a0c1.js +0 -5
  410. package/dist/bromcom-ui/p-1e8ba7b1.js +0 -5
  411. package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
  412. package/dist/bromcom-ui/p-366262cb.entry.js +0 -5
  413. package/dist/bromcom-ui/p-48a57eb6.entry.js +0 -5
  414. package/dist/bromcom-ui/p-56655c71.js +0 -5
  415. package/dist/bromcom-ui/p-64fad38b.js +0 -11
  416. package/dist/bromcom-ui/p-6fe10a4c.entry.js +0 -21
  417. package/dist/bromcom-ui/p-761208cf.entry.js +0 -5
  418. package/dist/bromcom-ui/p-8348f7e8.entry.js +0 -5
  419. package/dist/bromcom-ui/p-9f886bdd.js +0 -5
  420. package/dist/bromcom-ui/p-a0d60a3c.js +0 -5
  421. package/dist/bromcom-ui/p-a55d0baf.entry.js +0 -5
  422. package/dist/bromcom-ui/p-abc44b58.entry.js +0 -5
  423. package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
  424. package/dist/bromcom-ui/p-ed3b97b0.entry.js +0 -5
  425. package/dist/bromcom-ui/p-f800e665.js +0 -5
  426. package/dist/bromcom-ui/p-fe585083.entry.js +0 -5
  427. package/dist/cjs/bcm-button_15.cjs.entry.js +0 -37832
  428. package/dist/cjs/bcm-textarea.cjs.entry.js +0 -163
  429. package/dist/cjs/bcm-typography.cjs.entry.js +0 -21
  430. package/dist/esm/bcm-button_15.entry.js +0 -37814
  431. package/dist/esm/bcm-textarea.entry.js +0 -159
  432. package/dist/esm/bcm-typography.entry.js +0 -17
@@ -0,0 +1,545 @@
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 { G as Generate } from './generate-ea4b5630.js';
7
+ import { N as NumberHelper } from './number-helper-148cd002.js';
8
+ import { S as StringHelper } from './string-helper-3526c4fe.js';
9
+ import { V as Validators } from './validators-78ec4f0a.js';
10
+ import { B as Bcm } from './bcm-0f9cc27c.js';
11
+ import { C as CaptionTemplate } from './caption-template-b5210fba.js';
12
+ import { I as InputTemplate } from './input-template-2ac3ec12.js';
13
+ import { c as classnames } from './index-b84bc8c9.js';
14
+ import { d as delay } from './utils-b3338faf.js';
15
+ import { I as IsLoad } from './is-load-decorator-b8ca22f2.js';
16
+ import './package-b6a53fde.js';
17
+ import './colors-e1c31f79.js';
18
+ import './_commonjsHelpers-be0d4ec8.js';
19
+ import './types-6f06fa1a.js';
20
+
21
+ const inputCss = "@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}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}";
22
+
23
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
24
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
25
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
26
+ r = Reflect.decorate(decorators, target, key, desc);
27
+ else
28
+ for (var i = decorators.length - 1; i >= 0; i--)
29
+ if (d = decorators[i])
30
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
31
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
32
+ };
33
+ const BcmInput = class {
34
+ constructor(hostRef) {
35
+ registerInstance(this, hostRef);
36
+ this.focus = createEvent(this, "bcm-focus", 7);
37
+ this.blur = createEvent(this, "bcm-blur", 7);
38
+ this.clear = createEvent(this, "bcm-clear", 7);
39
+ this.change = createEvent(this, "bcm-change", 7);
40
+ this.input = createEvent(this, "bcm-input", 7);
41
+ this.isBlur = false;
42
+ this._id = Generate.UID();
43
+ this._internal_id = Generate.UID();
44
+ this.value = '';
45
+ this.size = Bcm.Size.medium;
46
+ this.label = undefined;
47
+ this.pattern = undefined;
48
+ this.tooltip = undefined;
49
+ this.placeholder = undefined;
50
+ this.disabled = false;
51
+ this.readonly = false;
52
+ this.clearable = false;
53
+ this.autocomplete = false;
54
+ this.name = undefined;
55
+ this.type = Bcm.InputType.text;
56
+ this.hidden = false;
57
+ this.required = false;
58
+ this.fullWidth = false;
59
+ this.noDefaultIcon = undefined;
60
+ this.disableWatchValue = false // datetimepicker
61
+ ;
62
+ this.passwordToggle = false // type password
63
+ ;
64
+ this.maxLength = null;
65
+ this.minLength = null;
66
+ this.unitPrefix = null;
67
+ this.unit = undefined;
68
+ this.decimal = true;
69
+ this.min = undefined;
70
+ this.max = undefined;
71
+ this.step = undefined;
72
+ this.caption = undefined;
73
+ this.noCaption = false;
74
+ this.captionType = Bcm.Status.default;
75
+ this.captionError = undefined;
76
+ this.customErrorMessage = undefined;
77
+ this._prefix = undefined;
78
+ this._suffix = undefined;
79
+ this.captionCache = undefined;
80
+ this.captionTypeCache = undefined;
81
+ this.inValid = false;
82
+ this.valueCache = '';
83
+ this.focused = false;
84
+ this.isPasswordVisible = false;
85
+ }
86
+ connectedCallback() {
87
+ this.valueCache = this.value;
88
+ this.captionCache = this.caption;
89
+ this.captionTypeCache = this.captionType;
90
+ }
91
+ componentWillRender() {
92
+ const { type, isBlur, value } = this;
93
+ if (value) {
94
+ this.value.length > 0 && (this.checkPattern());
95
+ switch (type) {
96
+ case "number":
97
+ {
98
+ !this.checkValid("number") && (this.validationRange());
99
+ }
100
+ break;
101
+ case "email":
102
+ {
103
+ isBlur && (this.checkValid("email"));
104
+ }
105
+ break;
106
+ case "tel":
107
+ {
108
+ isBlur && (this.checkValid("phone"));
109
+ }
110
+ break;
111
+ case "text":
112
+ {
113
+ isBlur && (this.checkLength());
114
+ }
115
+ break;
116
+ }
117
+ }
118
+ else {
119
+ !this.required && (this.resetCaption());
120
+ }
121
+ }
122
+ async onBcmFocus() {
123
+ this.inputElement.focus();
124
+ }
125
+ async onBcmBlur() {
126
+ this.inputElement.blur();
127
+ }
128
+ async onBcmSelect() {
129
+ this.inputElement.select();
130
+ }
131
+ async set(data) {
132
+ await this.setValue(data);
133
+ }
134
+ async get() {
135
+ return this.value || null;
136
+ }
137
+ async setValue(value) {
138
+ this.inputElement.value = value;
139
+ this.handleChange();
140
+ return value;
141
+ }
142
+ async setClear() {
143
+ this.inputElement.value = '';
144
+ this.value = '';
145
+ await delay(10);
146
+ return Promise.resolve();
147
+ }
148
+ async resetCaption() {
149
+ await delay(10);
150
+ this.caption = this.captionCache;
151
+ this.captionType = this.captionTypeCache;
152
+ this.captionError = null;
153
+ this.inValid = false;
154
+ await delay(10);
155
+ return Promise.resolve();
156
+ }
157
+ async getValue() {
158
+ return this.value;
159
+ }
160
+ watchValue(newValue) {
161
+ this.inputElement.value = newValue;
162
+ if (!this.disableWatchValue && this.type != "number") {
163
+ this.handleChange();
164
+ }
165
+ }
166
+ listenKeyDown(e) {
167
+ if (!this.disabled && !this.readonly) {
168
+ this.onBcmFocus();
169
+ if (this.type == "number") {
170
+ var which = e.which || 0;
171
+ var key = e.key;
172
+ if (which == 38) { // up arrow
173
+ e.preventDefault(),
174
+ this.stepUpOrDown('up');
175
+ }
176
+ if (which == 40) { // down arrow
177
+ e.preventDefault(),
178
+ this.stepUpOrDown('down');
179
+ }
180
+ if ((which == 190 || which == 110 || key == ".") && this.value.indexOf(".") > -1) { //.
181
+ e.preventDefault();
182
+ }
183
+ if ((which == 189 || which == 109 || key == "-")) { //-
184
+ if (this.value.charAt(0) == '-' || this.value.indexOf("-") > -1) {
185
+ e.preventDefault();
186
+ }
187
+ }
188
+ }
189
+ }
190
+ }
191
+ handleFocus() {
192
+ this.focused = true;
193
+ this.focus.emit();
194
+ this.whatchHasFocus();
195
+ }
196
+ handleBlur() {
197
+ this.focused = false;
198
+ this.isBlur = true;
199
+ this.whatchHasFocus();
200
+ this.blur.emit();
201
+ }
202
+ handleChange() {
203
+ this.valueSync();
204
+ }
205
+ handleInput() {
206
+ if (this.type == "number" && this.maxLength) {
207
+ const inputValue = this.inputElement.value;
208
+ if (inputValue && inputValue.length > 0 && inputValue.length > this.maxLength) {
209
+ this.inputElement.value = inputValue.substring(0, this.maxLength);
210
+ }
211
+ }
212
+ this.valueSync();
213
+ }
214
+ valueSync() {
215
+ if (this.value != this.inputElement.value) {
216
+ this.value = this.inputElement.value;
217
+ this.change.emit(this.value);
218
+ return true;
219
+ }
220
+ this.input.emit(this.value);
221
+ return false;
222
+ }
223
+ handleClear(e) {
224
+ this.inputElement.value = '';
225
+ this.value = '';
226
+ this.inputElement.focus();
227
+ this.clear.emit(e);
228
+ this.change.emit(this.value);
229
+ e.stopPropagation();
230
+ }
231
+ changePasswordVisibility() {
232
+ this.isPasswordVisible = !this.isPasswordVisible;
233
+ }
234
+ setCaption(caption = null, captionType = null) {
235
+ this.caption = caption || this.captionCache;
236
+ this.captionType = captionType || this.captionTypeCache;
237
+ this.captionError = captionType == "error" ? caption : null;
238
+ }
239
+ stepUpOrDown(type) {
240
+ if (!this.inValid && !this.disabled && !this.readonly) {
241
+ let step = +(this.step) || 1;
242
+ let val = +(this.value);
243
+ if (type == 'up') {
244
+ val = +(val + step);
245
+ }
246
+ else {
247
+ val = +(val - step);
248
+ }
249
+ this.value = val.toString();
250
+ this.change.emit(this.value);
251
+ }
252
+ }
253
+ validationRange() {
254
+ const { min, max, value } = this;
255
+ if (value !== undefined) {
256
+ if ((min !== undefined) && (max !== undefined)) {
257
+ if (value < min || value > max) {
258
+ this.setCaption(StringHelper.getMessage('between', [min, max]), "error");
259
+ return false;
260
+ }
261
+ }
262
+ else if (min !== undefined) {
263
+ if (value < min) {
264
+ this.setCaption(StringHelper.getMessage('min', [min]), "error");
265
+ return false;
266
+ }
267
+ }
268
+ else if (max !== undefined) {
269
+ if (value > max) {
270
+ this.setCaption(StringHelper.getMessage('max', [max]), "error");
271
+ return false;
272
+ }
273
+ }
274
+ }
275
+ this.setCaption();
276
+ return true;
277
+ }
278
+ checkLength() {
279
+ const { minLength, maxLength, value } = this;
280
+ if (minLength && maxLength) {
281
+ if (value.length < minLength || value.length > maxLength) {
282
+ this.setCaption(StringHelper.getMessage('betweenlength', [minLength, maxLength]), "error");
283
+ this.inValid = true;
284
+ }
285
+ else {
286
+ this.setCaption();
287
+ this.inValid = false;
288
+ }
289
+ }
290
+ else if (minLength) {
291
+ if (value.length < minLength) {
292
+ this.setCaption(StringHelper.getMessage('minlength', [minLength]), "error");
293
+ this.inValid = true;
294
+ }
295
+ else {
296
+ this.setCaption();
297
+ this.inValid = false;
298
+ }
299
+ }
300
+ else if (maxLength) {
301
+ if (value.length > maxLength) {
302
+ this.setCaption(StringHelper.getMessage('maxlength', [maxLength]), "error");
303
+ this.inValid = true;
304
+ }
305
+ else {
306
+ this.setCaption();
307
+ this.inValid = false;
308
+ }
309
+ }
310
+ }
311
+ checkPattern() {
312
+ const { pattern, value } = this;
313
+ if (pattern) {
314
+ if (Validators.pattern(value, pattern)) {
315
+ this.setCaption();
316
+ this.inValid = false;
317
+ }
318
+ else {
319
+ this.setCaption(StringHelper.getMessage('pattern'), "error");
320
+ this.inValid = true;
321
+ }
322
+ }
323
+ }
324
+ checkValid(type) {
325
+ const { value } = this;
326
+ if (Validators.isValidate(value, type)) {
327
+ this.setCaption();
328
+ this.inValid = false;
329
+ }
330
+ else {
331
+ this.setCaption(StringHelper.getMessage(type), "error");
332
+ this.inValid = true;
333
+ }
334
+ return this.inValid;
335
+ }
336
+ whatchHasFocus() {
337
+ const { type, focused, valueCache, inValid } = this;
338
+ if (type == Bcm.InputType.number && inValid) {
339
+ if (focused) {
340
+ this.value = '';
341
+ }
342
+ else {
343
+ if (!StringHelper.isNullOrEmpty(this.value)) {
344
+ this.value = this.value ? this.fixToNumber(this.value) : '';
345
+ }
346
+ else {
347
+ this.value = valueCache;
348
+ }
349
+ }
350
+ }
351
+ }
352
+ fixToNumber(val) {
353
+ if (val) {
354
+ const decLen = NumberHelper.getDecimalLength(this.step);
355
+ return decLen > 0 ? NumberHelper.parseFloatFixed(val, decLen) : val;
356
+ }
357
+ return val;
358
+ }
359
+ eyeDropper() {
360
+ const eyeDropper = new window.EyeDropper();
361
+ eyeDropper
362
+ .open()
363
+ .then((color) => {
364
+ this.setValue(color.sRGBHex);
365
+ })
366
+ .catch((error) => {
367
+ if (error.name === "NotAllowedError") {
368
+ console.log("Permission to access sensor was denied.");
369
+ }
370
+ else if (error.name === "NotSupportedError") {
371
+ console.log("Sensor not supported.");
372
+ }
373
+ });
374
+ }
375
+ isEyeDropperSupported() {
376
+ return typeof window !== "undefined" && "EyeDropper" in window;
377
+ }
378
+ toggleLinked() {
379
+ const linkedElement = document.getElementById(`${this._id}-linked`);
380
+ if (linkedElement) {
381
+ linkedElement.toggle();
382
+ }
383
+ }
384
+ render() {
385
+ const { value, size, label, type, captionType, caption, captionError, placeholder, fullWidth, disabled, readonly, clearable, passwordToggle, isPasswordVisible, noDefaultIcon, unit, inValid, focused, unitPrefix, noCaption, required, hidden, _id, autocomplete } = this;
386
+ const isActiveClearable = (value === null || value === void 0 ? void 0 : value.length) > 0 && clearable;
387
+ const hostClasses = classnames('bcm-input', `bcm-input__container--${size}`, {
388
+ hidden,
389
+ // 'no-margin': noMargin,
390
+ 'full-width': fullWidth
391
+ });
392
+ return (h(Host, { onfocus: () => this.onBcmFocus(), class: hostClasses, onClick: () => this.onBcmFocus() }, label && h("bcm-label", { onClick: () => this.toggleLinked(), tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: _id }), h(InputTemplate, { id: _id, type: type, value: value, pattern: this.pattern, placeholder: placeholder, disabled: disabled, readonly: readonly, clearable: isActiveClearable, passwordToggle: passwordToggle, isPasswordVisible: isPasswordVisible, noDefaultIcon: noDefaultIcon, focused: focused, inValid: inValid, unitPrefix: unitPrefix, maxLength: this.maxLength, internalId: this._internal_id, captionType: captionType, unit: unit, size: size, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), steps: (e) => this.stepUpOrDown(e), changePasswordVisibility: () => this.changePasswordVisibility(), handleClear: (e) => this.handleClear(e), eyeDropper: () => this.eyeDropper(), isEyeDropperSupported: () => this.isEyeDropperSupported(), ref: (el) => this.inputElement = el, _suffix: this._suffix, _prefix: this._prefix, autocomplete: autocomplete }), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage }), type == Bcm.InputType.color &&
393
+ h("bcm-linked", { targetId: this._id + "-container", id: this._id + "-linked" }, h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: e => this.setValue(e.detail) }))));
394
+ }
395
+ static get watchers() { return {
396
+ "value": ["watchValue"]
397
+ }; }
398
+ };
399
+ __decorate$1([
400
+ IsLoad()
401
+ ], BcmInput.prototype, "inputElement", void 0);
402
+ BcmInput.style = inputCss;
403
+
404
+ var ResizeType;
405
+ (function (ResizeType) {
406
+ ResizeType["none"] = "none";
407
+ ResizeType["both"] = "both";
408
+ ResizeType["horizontal"] = "horizontal";
409
+ ResizeType["vertical"] = "vertical";
410
+ ResizeType["initial"] = "initial";
411
+ ResizeType["inherit"] = "inherit";
412
+ })(ResizeType || (ResizeType = {}));
413
+
414
+ const textareaCss = "@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}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}";
415
+
416
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
417
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
418
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
419
+ r = Reflect.decorate(decorators, target, key, desc);
420
+ else
421
+ for (var i = decorators.length - 1; i >= 0; i--)
422
+ if (d = decorators[i])
423
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
424
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
425
+ };
426
+ const BcmTextarea = class {
427
+ constructor(hostRef) {
428
+ registerInstance(this, hostRef);
429
+ this.focus = createEvent(this, "bcm-focus", 7);
430
+ this.blur = createEvent(this, "bcm-blur", 7);
431
+ this.clear = createEvent(this, "bcm-clear", 7);
432
+ this.change = createEvent(this, "bcm-change", 7);
433
+ this.input = createEvent(this, "bcm-input", 7);
434
+ this._id = Generate.UID();
435
+ this._internal_id = Generate.UID();
436
+ this.hidden = false;
437
+ this.value = undefined;
438
+ this.placeholder = undefined;
439
+ this.label = undefined;
440
+ this.name = undefined;
441
+ this.required = false;
442
+ this.caption = undefined;
443
+ this.noCaption = false;
444
+ this.captionError = undefined;
445
+ this.captionType = Bcm.Status.default;
446
+ this.rows = 3;
447
+ this.size = Bcm.Size.medium;
448
+ this.disabled = undefined;
449
+ this.readonly = false;
450
+ this.clearable = undefined;
451
+ this.resize = ResizeType.vertical;
452
+ this.fullWidth = false;
453
+ this.maxLength = undefined;
454
+ this.focused = false;
455
+ this.captionCache = undefined;
456
+ this.captionTypeCache = undefined;
457
+ }
458
+ connectedCallback() {
459
+ this.captionCache = this.caption;
460
+ this.captionTypeCache = this.captionType;
461
+ }
462
+ async onBcmFocus() {
463
+ this.textarea.focus();
464
+ }
465
+ async onBcmBlur() {
466
+ this.textarea.blur();
467
+ }
468
+ async onBcmSelect() {
469
+ this.textarea.select();
470
+ }
471
+ async set(data) {
472
+ await this.setValue(data);
473
+ }
474
+ async get() {
475
+ return this.value || null;
476
+ }
477
+ async setValue(value) {
478
+ this.textarea.value = value;
479
+ this.value = value;
480
+ this.handleChange();
481
+ return value;
482
+ }
483
+ async setClear() {
484
+ this.textarea.value = '';
485
+ this.value = '';
486
+ await delay(10);
487
+ return Promise.resolve();
488
+ }
489
+ async resetCaption() {
490
+ await delay(10);
491
+ this.caption = this.captionCache;
492
+ this.captionType = this.captionTypeCache;
493
+ this.captionError = null;
494
+ await delay(10);
495
+ return Promise.resolve();
496
+ }
497
+ async getValue() {
498
+ return this.value;
499
+ }
500
+ watchValue(newValue) {
501
+ this.textarea.value = newValue;
502
+ this.handleChange();
503
+ }
504
+ handleFocus() {
505
+ this.focused = true;
506
+ this.focus.emit();
507
+ }
508
+ handleBlur() {
509
+ this.focused = false;
510
+ this.blur.emit();
511
+ }
512
+ handleChange() {
513
+ this.value = this.textarea.value;
514
+ this.change.emit(this.value);
515
+ }
516
+ handleInput() {
517
+ this.value = this.textarea.value;
518
+ this.input.emit(this.value);
519
+ }
520
+ handleClear(e) {
521
+ this.textarea.value = '';
522
+ this.value = '';
523
+ this.clear.emit();
524
+ this.textarea.focus();
525
+ e.stopPropagation();
526
+ }
527
+ render() {
528
+ const { _id, hidden, readonly, fullWidth, size, rows, disabled, clearable, label, focused, noCaption, caption, captionError, captionType, value, resize, maxLength, placeholder, required } = this;
529
+ const hostClasses = classnames('bcm-input', {
530
+ hidden,
531
+ 'full-width': fullWidth,
532
+ });
533
+ return (h(Host, { class: hostClasses }, label && h("bcm-label", { type: captionType, value: label, required: required, htmlFor: _id }), h(InputTemplate, { elementType: Bcm.HtmlElementType.textarea, id: _id, value: value, rows: rows, disabled: disabled, maxLength: maxLength, placeholder: placeholder, clearable: clearable, resize: resize, readonly: readonly, size: size, focused: focused, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), handleClear: (e) => this.handleClear(e), ref: (el) => this.textarea = el, captionType: captionType }), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, value: value, maxLength: maxLength })));
534
+ }
535
+ get el() { return getElement(this); }
536
+ static get watchers() { return {
537
+ "value": ["watchValue"]
538
+ }; }
539
+ };
540
+ __decorate([
541
+ IsLoad()
542
+ ], BcmTextarea.prototype, "el", void 0);
543
+ BcmTextarea.style = textareaCss;
544
+
545
+ export { BcmInput as bcm_input, BcmTextarea as bcm_textarea };
@@ -2,16 +2,16 @@
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-f51f2b02.js';
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-4614b7f0.js';
6
+ import { G as Generate } from './generate-ea4b5630.js';
7
7
  import { B as Bcm } from './bcm-0f9cc27c.js';
8
- import { c as classnames } from './index-00c8a8f7.js';
9
- import { C as ColorHelper } from './color-helper-845ba523.js';
10
- import './package-ebccec3c.js';
11
- import './colors-ebea297f.js';
12
- import './_commonjsHelpers-7002e5de.js';
8
+ import { c as classnames } from './index-b84bc8c9.js';
9
+ import { C as ColorHelper } from './color-helper-c4fa9ebc.js';
10
+ import './package-b6a53fde.js';
11
+ import './colors-e1c31f79.js';
12
+ import './_commonjsHelpers-be0d4ec8.js';
13
13
  import './colors-1d7854ea.js';
14
- import './utils-57652744.js';
14
+ import './utils-b3338faf.js';
15
15
 
16
16
  const itemCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-item{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;--bcm-item-color-default:var(--bcm-new-ds-color-white);--bcm-item-background-color-default:var(--bcm-new-ds-color-blue-500);--bcm-item-color-hover:var(--bcm-new-ds-color-white);--bcm-item-background-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-item-color-focus-visible:var(--bcm-new-ds-color-white);--bcm-item-background-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-item-color-active:var(--bcm-new-ds-color-white);--bcm-item-background-color-active:var(--bcm-new-ds-color-blue-700);--bcm-item-color-disabled:var(--bcm-new-ds-color-white);--bcm-item-background-color-disabled:var(--bcm-new-ds-color-slate-400);font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;border-radius:4px;outline:none;color:var(--bcm-item-color-default);background-color:var(--bcm-item-background-color-default)}.bcm-item-size-small{font-size:12px;line-height:calc(12px + 8px);padding:2px 12px;min-height:calc(calc(12px + 8px) + calc(2px) * 2)}.bcm-item-size-medium{font-size:14px;line-height:calc(14px + 8px);padding:5px 12px;min-height:calc(calc(14px + 8px) + calc(5px) * 2)}.bcm-item-size-large{font-size:16px;line-height:calc(16px + 8px);padding:8px 12px;min-height:calc(calc(16px + 8px) + calc(8px) * 2)}.bcm-item:default{color:var(--bcm-item-color-default);background-color:var(--bcm-item-background-color-default)}.bcm-item:hover{color:var(--bcm-item-color-hover);background-color:var(--bcm-item-background-color-hover)}.bcm-item:focus-visible{color:var(--bcm-item-color-focus-visible);background-color:var(--bcm-item-background-color-focus-visible)}.bcm-item:active{color:var(--bcm-item-color-active);background-color:var(--bcm-item-background-color-active)}.bcm-item:disabled{color:var(--bcm-item-color-disabled);background-color:var(--bcm-item-background-color-disabled)}.bcm-item:not(.static):hover{cursor:pointer}";
17
17
 
@@ -2,12 +2,12 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-0615c2b8.js';
6
- import { G as Generate, s as snq } from './generate-f51f2b02.js';
7
- import { S as StringHelper } from './string-helper-8f5da9ec.js';
8
- import './package-ebccec3c.js';
9
- import './colors-ebea297f.js';
10
- import './_commonjsHelpers-7002e5de.js';
5
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-4614b7f0.js';
6
+ import { G as Generate, s as snq } from './generate-ea4b5630.js';
7
+ import { S as StringHelper } from './string-helper-3526c4fe.js';
8
+ import './package-b6a53fde.js';
9
+ import './colors-e1c31f79.js';
10
+ import './_commonjsHelpers-be0d4ec8.js';
11
11
  import './bcm-0f9cc27c.js';
12
12
 
13
13
  const BcmItems = class {