bromcom-ui 2.10.0 → 2.10.1-rc.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 (405) 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-9c6363e3.entry.js → p-015d19dd.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-7e3f14bf.entry.js → p-0325e8a4.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-50694c46.entry.js → p-09699c4d.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-f4ef049a.entry.js → p-0973538a.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-9d631596.entry.js → p-0b316c6f.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-b87096e9.entry.js → p-0b820f78.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-33f783d4.entry.js → p-0fe106fc.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-8c951a73.js → p-125d6ed0.js} +1 -1
  11. package/dist/bromcom-ui/p-140f3478.js +5 -0
  12. package/dist/bromcom-ui/{p-42b8f665.entry.js → p-14c32a34.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-4438d629.entry.js → p-14cafd64.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-f95797df.js → p-157359d6.js} +1 -1
  15. package/dist/bromcom-ui/{p-bf8637cf.entry.js → p-16848643.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-db72fb9a.entry.js → p-1708a5ec.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-e037ee2b.js → p-170cf07d.js} +1 -1
  18. package/dist/bromcom-ui/{p-f03e56b9.entry.js → p-19f27bd8.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-95a2c489.entry.js → p-1c801d0c.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-e32ab4da.entry.js → p-1c9314bd.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-228c74e9.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-bc20302f.entry.js → p-24710a65.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-18bc4e04.entry.js → p-26290ed5.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-be635a5f.entry.js → p-29614b49.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-188b9079.entry.js → p-2aaeb247.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-1f9b6d10.entry.js → p-2da72d6a.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-3432a82d.js +19 -0
  28. package/dist/bromcom-ui/{p-4b82126e.entry.js → p-3756f541.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-0974f3ef.entry.js → p-39a40a6e.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-86642adc.entry.js → p-3b41df22.entry.js} +1 -1
  31. package/dist/bromcom-ui/p-3d142f76.entry.js +5 -0
  32. package/dist/bromcom-ui/{p-1dc1bb32.entry.js → p-3f39982f.entry.js} +1 -1
  33. package/dist/bromcom-ui/p-40b85b9b.entry.js +5 -0
  34. package/dist/bromcom-ui/{p-0efc9196.entry.js → p-430c0a24.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-303b4dfa.entry.js → p-483b4ba8.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-a1b1750c.js → p-518b9b80.js} +1 -1
  37. package/dist/bromcom-ui/{p-1998815a.entry.js → p-51b6a14a.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-38c95c70.entry.js → p-551058cd.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-55291cc5.entry.js +5 -0
  40. package/dist/bromcom-ui/{p-468157a0.entry.js → p-5699f67d.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-b48522a7.entry.js → p-56f7477e.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-5c4b71fb.entry.js → p-571dca86.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-9f83dbdf.entry.js → p-5c671967.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-1e547f98.entry.js → p-5ca4aa84.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-5ff3c68f.entry.js +5 -0
  46. package/dist/bromcom-ui/{p-4798d827.js → p-61db1f1f.js} +1 -1
  47. package/dist/bromcom-ui/{p-7a89243a.entry.js → p-626b805d.entry.js} +1 -1
  48. package/dist/bromcom-ui/p-62d178e3.entry.js +5 -0
  49. package/dist/bromcom-ui/{p-f711588b.js → p-6369b73b.js} +1 -1
  50. package/dist/bromcom-ui/{p-8d635460.entry.js → p-646cf63c.entry.js} +1 -1
  51. package/dist/bromcom-ui/p-64fad38b.js +11 -0
  52. package/dist/bromcom-ui/{p-3b079331.entry.js → p-67343ad8.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-51da4af1.entry.js → p-673f7ee8.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-48f5a3c9.entry.js → p-69260d36.entry.js} +1 -1
  55. package/dist/bromcom-ui/{p-034bbcdd.js → p-6edf985f.js} +1 -1
  56. package/dist/bromcom-ui/p-71b9ea64.entry.js +7 -0
  57. package/dist/bromcom-ui/{p-197aba37.js → p-74e6d2b6.js} +1 -1
  58. package/dist/bromcom-ui/{p-72058fb8.entry.js → p-77eb2287.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-98d39972.entry.js → p-795d2f76.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-03337609.entry.js → p-7c5763cc.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-181f2f4a.entry.js → p-7d18ce0e.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
  63. package/dist/bromcom-ui/{p-42bbaf3f.entry.js → p-7f09901d.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-e8b61e90.js → p-813ec92d.js} +1 -1
  65. package/dist/bromcom-ui/{p-e45c1546.js → p-85eedabc.js} +1 -1
  66. package/dist/bromcom-ui/p-8b202d9e.js +5 -0
  67. package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
  68. package/dist/bromcom-ui/{p-d03b8b90.entry.js → p-8d43aa14.entry.js} +1 -1
  69. package/dist/bromcom-ui/{p-dd94b43f.entry.js → p-93b8a3ff.entry.js} +1 -1
  70. package/dist/bromcom-ui/{p-8e5e362a.js → p-9850cbce.js} +1 -1
  71. package/dist/bromcom-ui/p-9889a4ed.entry.js +5 -0
  72. package/dist/bromcom-ui/{p-f9119bec.entry.js → p-99824717.entry.js} +1 -1
  73. package/dist/bromcom-ui/{p-2a26515f.js → p-9a41b688.js} +1 -1
  74. package/dist/bromcom-ui/p-a00170b7.entry.js +5 -0
  75. package/dist/bromcom-ui/{p-b017e8cd.entry.js → p-a04aab3c.entry.js} +1 -1
  76. package/dist/bromcom-ui/{p-7c18d6ae.entry.js → p-a1f9e7d4.entry.js} +1 -1
  77. package/dist/bromcom-ui/p-a25c8a55.js +5 -0
  78. package/dist/bromcom-ui/{p-c5f820ca.entry.js → p-a42cc789.entry.js} +1 -1
  79. package/dist/bromcom-ui/{p-1a33d7a3.entry.js → p-a664cc20.entry.js} +1 -1
  80. package/dist/bromcom-ui/p-a839a0e5.entry.js +5 -0
  81. package/dist/bromcom-ui/p-ae57f046.entry.js +5 -0
  82. package/dist/bromcom-ui/{p-68074ec3.entry.js → p-b013cff9.entry.js} +1 -1
  83. package/dist/bromcom-ui/{p-e8ea33a0.entry.js → p-b3b59bc3.entry.js} +1 -1
  84. package/dist/bromcom-ui/{p-6e7bb16f.entry.js → p-ba9eff2a.entry.js} +1 -1
  85. package/dist/bromcom-ui/{p-3df7d781.entry.js → p-be434461.entry.js} +1 -1
  86. package/dist/bromcom-ui/{p-2c05f941.entry.js → p-bec8a936.entry.js} +1 -1
  87. package/dist/bromcom-ui/{p-107f11df.entry.js → p-c1a992e7.entry.js} +1 -1
  88. package/dist/bromcom-ui/{p-18a62098.js → p-c1b167a3.js} +1 -1
  89. package/dist/bromcom-ui/{p-0d9e0e43.entry.js → p-c566b3a0.entry.js} +1 -1
  90. package/dist/bromcom-ui/{p-451a262e.entry.js → p-cd04678a.entry.js} +1 -1
  91. package/dist/bromcom-ui/p-cf0c0700.entry.js +5 -0
  92. package/dist/bromcom-ui/{p-18d5e3f2.js → p-cf171578.js} +1 -1
  93. package/dist/bromcom-ui/{p-9c027fe2.js → p-d06f5291.js} +1 -1
  94. package/dist/bromcom-ui/{p-63138ee5.entry.js → p-d551a51d.entry.js} +1 -1
  95. package/dist/bromcom-ui/{p-658028ef.entry.js → p-d7538ba4.entry.js} +1 -1
  96. package/dist/bromcom-ui/p-d89b7e22.entry.js +5 -0
  97. package/dist/bromcom-ui/{p-b9ed8d61.entry.js → p-dac3117a.entry.js} +1 -1
  98. package/dist/bromcom-ui/{p-da3e7a70.entry.js → p-e11ab4ed.entry.js} +1 -1
  99. package/dist/bromcom-ui/{p-12e36dc5.js → p-e131b27f.js} +1 -1
  100. package/dist/bromcom-ui/{p-82c964dc.entry.js → p-e38c4c3a.entry.js} +1 -1
  101. package/dist/bromcom-ui/{p-1a5d4e8f.js → p-ea2ce157.js} +1 -1
  102. package/dist/bromcom-ui/{p-4d7ea23c.entry.js → p-ece578ef.entry.js} +1 -1
  103. package/dist/bromcom-ui/{p-5f46721f.entry.js → p-f1dbd96d.entry.js} +1 -1
  104. package/dist/bromcom-ui/{p-8b37bc3c.js → p-f3431dc8.js} +1 -1
  105. package/dist/bromcom-ui/p-f7549b1f.entry.js +5 -0
  106. package/dist/bromcom-ui/p-f800e665.js +5 -0
  107. package/dist/bromcom-ui/p-fb597d84.entry.js +5 -0
  108. package/dist/bromcom-ui/{p-1e8559ac.entry.js → p-fff1a0f9.entry.js} +1 -1
  109. package/dist/cjs/{bcm-7f703055.js → bcm-3c58a6d5.js} +28 -27
  110. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  111. package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
  112. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  113. package/dist/cjs/bcm-avatar_2.cjs.entry.js +6 -6
  114. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  115. package/dist/cjs/bcm-button-group.cjs.entry.js +4 -4
  116. package/dist/cjs/{bcm-colorful_2.cjs.entry.js → bcm-button_10.cjs.entry.js} +15630 -306
  117. package/dist/cjs/bcm-caption.cjs.entry.js +47 -0
  118. package/dist/cjs/bcm-card.cjs.entry.js +5 -5
  119. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +20 -22
  120. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +3 -3
  121. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +7 -7
  122. package/dist/cjs/bcm-chip-group.cjs.entry.js +8 -9
  123. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  124. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  125. package/dist/cjs/bcm-color-input.cjs.entry.js +6 -6
  126. package/dist/cjs/bcm-date-picker.cjs.entry.js +3 -3
  127. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +7 -8
  128. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  129. package/dist/cjs/bcm-drawer.cjs.entry.js +6 -6
  130. package/dist/cjs/bcm-dropdown.cjs.entry.js +4 -4
  131. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
  132. package/dist/cjs/bcm-form-2.cjs.entry.js +4 -4
  133. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  134. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +8 -8
  135. package/dist/cjs/bcm-item.cjs.entry.js +3 -3
  136. package/dist/cjs/bcm-items.cjs.entry.js +4 -4
  137. package/dist/cjs/bcm-link.cjs.entry.js +1 -1
  138. package/dist/cjs/bcm-list_3.cjs.entry.js +50 -30
  139. package/dist/cjs/bcm-menu.cjs.entry.js +8 -8
  140. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
  141. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
  142. package/dist/cjs/bcm-modal-2.cjs.entry.js +6 -6
  143. package/dist/cjs/bcm-modal.cjs.entry.js +5 -5
  144. package/dist/cjs/bcm-old-input.cjs.entry.js +2 -2
  145. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +5 -5
  146. package/dist/cjs/bcm-popconfirm.cjs.entry.js +3 -3
  147. package/dist/cjs/bcm-popover.cjs.entry.js +7 -7
  148. package/dist/cjs/bcm-progress.cjs.entry.js +3 -3
  149. package/dist/cjs/bcm-radio-group.cjs.entry.js +7 -7
  150. package/dist/cjs/bcm-radio.cjs.entry.js +6 -6
  151. package/dist/cjs/bcm-range.cjs.entry.js +3 -3
  152. package/dist/cjs/bcm-select.cjs.entry.js +2 -2
  153. package/dist/cjs/bcm-shortcut.cjs.entry.js +6 -6
  154. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  155. package/dist/cjs/bcm-step.cjs.entry.js +3 -3
  156. package/dist/cjs/bcm-stepper.cjs.entry.js +7 -7
  157. package/dist/cjs/bcm-switch.cjs.entry.js +5 -5
  158. package/dist/cjs/bcm-tab-group.cjs.entry.js +6 -6
  159. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +6 -6
  160. package/dist/cjs/bcm-tab-item.cjs.entry.js +6 -6
  161. package/dist/cjs/bcm-table.cjs.entry.js +6 -6
  162. package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
  163. package/dist/cjs/bcm-text.cjs.entry.js +3 -3
  164. package/dist/cjs/bcm-textarea.cjs.entry.js +6 -6
  165. package/dist/cjs/bcm-time-picker.cjs.entry.js +3 -3
  166. package/dist/cjs/bcm-toast.cjs.entry.js +4 -4
  167. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  168. package/dist/cjs/caption-template-6f535b93.js +32 -0
  169. package/dist/cjs/{floating-ui-b441ea7c.js → floating-ui-555cd3d4.js} +1 -1
  170. package/dist/cjs/{generate-210dd9e2.js → generate-e79347af.js} +1 -1
  171. package/dist/cjs/{global-0eb3a5d0.js → global-9bb1902a.js} +1 -1
  172. package/dist/cjs/{index-e05a7c6f.js → index-7eed931f.js} +1625 -24
  173. package/dist/cjs/{input-template-3e65e1b6.js → input-template-3d21aacb.js} +2 -2
  174. package/dist/cjs/{json-parse-decarator-39e18651.js → json-parse-decarator-4d7afa63.js} +1 -1
  175. package/dist/cjs/label-template-8dc10d0a.js +24 -0
  176. package/dist/cjs/loader.cjs.js +3 -3
  177. package/dist/cjs/{number-helper-325eff4a.js → number-helper-2f971fd8.js} +1 -1
  178. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
  179. package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
  180. package/dist/cjs/{package-799d2f0f.js → package-47b7b998.js} +1 -1
  181. package/dist/cjs/{popover-placement-f20020a6.js → popover-placement-9b4b4153.js} +1 -1
  182. package/dist/cjs/{slot-template-873b0cd5.js → slot-template-80b019d5.js} +1 -1
  183. package/dist/cjs/{stepper-states-e957aacc.js → stepper-states-a5699b31.js} +1 -1
  184. package/dist/cjs/{string-helper-fda7cbba.js → string-helper-3212f4ea.js} +1 -1
  185. package/dist/cjs/{tooltip-helper-298a9ac9.js → tooltip-helper-7d5d1cb5.js} +6 -6
  186. package/dist/cjs/{validators-dd2b797e.js → validators-507307b9.js} +1 -1
  187. package/dist/collection/collection-manifest.json +1 -0
  188. package/dist/collection/components/atoms/caption/caption.js +195 -0
  189. package/dist/collection/components/atoms/label/label.js +48 -29
  190. package/dist/collection/components/molecules/checkbox/checkbox.css +0 -89
  191. package/dist/collection/components/molecules/input/input.css +0 -89
  192. package/dist/collection/components/molecules/input/input.js +57 -0
  193. package/dist/collection/components/molecules/input-dropdown/input-dropdown.css +0 -89
  194. package/dist/collection/components/molecules/search/search.css +0 -89
  195. package/dist/collection/components/molecules/states/search.states.js +2 -2
  196. package/dist/collection/components/molecules/switch/switch.css +0 -89
  197. package/dist/collection/components/molecules/textarea/textarea.css +0 -89
  198. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -89
  199. package/dist/collection/components/organism/list/list.css +0 -89
  200. package/dist/collection/components/organism/list/list.js +46 -7
  201. package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -89
  202. package/dist/collection/components/third-parts/colorful/colorful.css +0 -89
  203. package/dist/collection/components/third-parts/rc-picker/date.js +7 -5
  204. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +1 -376
  205. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +3 -16
  206. package/dist/collection/models/bcm.js +28 -27
  207. package/dist/collection/stories/ui-library/components/date/argTypes_common.js +203 -0
  208. package/dist/collection/stories/ui-library/components/date/argTypes_date.js +47 -0
  209. package/dist/collection/stories/ui-library/components/date/argTypes_datetime.js +109 -0
  210. package/dist/collection/stories/ui-library/components/date/argTypes_time.js +91 -0
  211. package/dist/collection/templates/caption-template.js +15 -11
  212. package/dist/collection/templates/label-template.js +5 -3
  213. package/dist/collection/templates/list-template.js +2 -2
  214. package/dist/components/bcm-caption.d.ts +11 -0
  215. package/dist/components/bcm-caption.js +64 -0
  216. package/dist/components/bcm-checkbox-group.js +7 -8
  217. package/dist/components/bcm-chip-group.js +1 -2
  218. package/dist/components/bcm-date.js +26 -7
  219. package/dist/components/bcm-input-dropdown.js +1 -1
  220. package/dist/components/bcm-switch.js +1 -1
  221. package/dist/components/bcm.js +28 -27
  222. package/dist/components/caption-template.js +15 -17
  223. package/dist/components/checkbox.js +1 -1
  224. package/dist/components/colorful.js +1 -1
  225. package/dist/components/datetime-picker.js +2 -3
  226. package/dist/components/generate.js +1 -1
  227. package/dist/components/index.d.ts +1 -0
  228. package/dist/components/index.js +1 -0
  229. package/dist/components/input.js +41 -1
  230. package/dist/components/label.js +43 -20
  231. package/dist/components/list.js +32 -10
  232. package/dist/components/old-input.js +1 -1
  233. package/dist/components/rc-picker.js +4 -17
  234. package/dist/components/search.js +3 -3
  235. package/dist/components/textarea.js +1 -1
  236. package/dist/esm/{_commonjsHelpers-be0d4ec8.js → _commonjsHelpers-7002e5de.js} +1 -1
  237. package/dist/esm/{bcm-d45dc47d.js → bcm-0f9cc27c.js} +28 -27
  238. package/dist/esm/bcm-accordion.entry.js +5 -5
  239. package/dist/esm/bcm-alert.entry.js +9 -9
  240. package/dist/esm/bcm-attendance.entry.js +5 -5
  241. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  242. package/dist/esm/bcm-avatar_2.entry.js +12 -12
  243. package/dist/esm/bcm-box.entry.js +1 -1
  244. package/dist/esm/bcm-breadcrumb.entry.js +6 -6
  245. package/dist/esm/bcm-button-group.entry.js +8 -8
  246. package/dist/esm/{bcm-colorful_2.entry.js → bcm-button_10.entry.js} +15621 -305
  247. package/dist/esm/bcm-caption.entry.js +43 -0
  248. package/dist/esm/bcm-card.entry.js +11 -11
  249. package/dist/esm/bcm-checkbox-group.entry.js +17 -19
  250. package/dist/esm/bcm-checkbox-lite_9.entry.js +8 -8
  251. package/dist/esm/bcm-checkbox_2.entry.js +14 -14
  252. package/dist/esm/bcm-chip-group.entry.js +15 -16
  253. package/dist/esm/bcm-chip.entry.js +8 -8
  254. package/dist/esm/bcm-collapse-group.entry.js +2 -2
  255. package/dist/esm/bcm-collapse.entry.js +6 -6
  256. package/dist/esm/bcm-color-input.entry.js +12 -12
  257. package/dist/esm/bcm-colorpicker.entry.js +5 -5
  258. package/dist/esm/bcm-content.entry.js +1 -1
  259. package/dist/esm/bcm-date-picker.entry.js +9 -9
  260. package/dist/esm/bcm-datetime-picker.entry.js +14 -15
  261. package/dist/esm/bcm-default.entry.js +5 -5
  262. package/dist/esm/bcm-drawer.entry.js +13 -13
  263. package/dist/esm/bcm-dropdown.entry.js +9 -9
  264. package/dist/esm/bcm-error-layout.entry.js +3 -3
  265. package/dist/esm/bcm-expansion-panel.entry.js +10 -10
  266. package/dist/esm/bcm-form-2.entry.js +8 -8
  267. package/dist/esm/bcm-form-group.entry.js +1 -1
  268. package/dist/esm/bcm-input-custom.entry.js +6 -6
  269. package/dist/esm/bcm-input-dropdown.entry.js +15 -15
  270. package/dist/esm/bcm-item.entry.js +9 -9
  271. package/dist/esm/bcm-items.entry.js +7 -7
  272. package/dist/esm/bcm-link.entry.js +4 -4
  273. package/dist/esm/bcm-list_3.entry.js +54 -34
  274. package/dist/esm/bcm-menu.entry.js +16 -16
  275. package/dist/esm/bcm-message.entry.js +3 -3
  276. package/dist/esm/bcm-modal-2-footer.entry.js +13 -13
  277. package/dist/esm/bcm-modal-2-header.entry.js +12 -12
  278. package/dist/esm/bcm-modal-2.entry.js +13 -13
  279. package/dist/esm/bcm-modal.entry.js +9 -9
  280. package/dist/esm/bcm-notification.entry.js +3 -3
  281. package/dist/esm/bcm-old-input.entry.js +6 -6
  282. package/dist/esm/bcm-old-tag_2.entry.js +4 -4
  283. package/dist/esm/bcm-overlay_2.entry.js +4 -4
  284. package/dist/esm/bcm-popconfirm-box.entry.js +11 -11
  285. package/dist/esm/bcm-popconfirm.entry.js +7 -7
  286. package/dist/esm/bcm-popover.entry.js +13 -13
  287. package/dist/esm/bcm-progress.entry.js +9 -9
  288. package/dist/esm/bcm-radio-group.entry.js +15 -15
  289. package/dist/esm/bcm-radio.entry.js +13 -13
  290. package/dist/esm/bcm-range.entry.js +8 -8
  291. package/dist/esm/bcm-result.entry.js +3 -3
  292. package/dist/esm/bcm-select-group.entry.js +3 -3
  293. package/dist/esm/bcm-select-option.entry.js +3 -3
  294. package/dist/esm/bcm-select.entry.js +6 -6
  295. package/dist/esm/bcm-shortcut.entry.js +13 -13
  296. package/dist/esm/bcm-skeleton.entry.js +12 -12
  297. package/dist/esm/bcm-step.entry.js +8 -8
  298. package/dist/esm/bcm-stepper.entry.js +15 -15
  299. package/dist/esm/bcm-switch.entry.js +11 -11
  300. package/dist/esm/bcm-tab-group.entry.js +12 -12
  301. package/dist/esm/bcm-tab-item-header.entry.js +13 -13
  302. package/dist/esm/bcm-tab-item.entry.js +12 -12
  303. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  304. package/dist/esm/bcm-tab.entry.js +3 -3
  305. package/dist/esm/bcm-table.entry.js +13 -13
  306. package/dist/esm/bcm-tabs-content.entry.js +4 -4
  307. package/dist/esm/bcm-tabs.entry.js +4 -4
  308. package/dist/esm/bcm-tag.entry.js +9 -9
  309. package/dist/esm/bcm-text.entry.js +9 -9
  310. package/dist/esm/bcm-textarea.entry.js +12 -12
  311. package/dist/esm/bcm-time-picker.entry.js +9 -9
  312. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  313. package/dist/esm/bcm-timeline.entry.js +3 -3
  314. package/dist/esm/bcm-toast.entry.js +9 -9
  315. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  316. package/dist/esm/bromcom-ui.js +5 -5
  317. package/dist/esm/caption-template-0c32ce16.js +30 -0
  318. package/dist/esm/{color-helper-c4fa9ebc.js → color-helper-845ba523.js} +2 -2
  319. package/dist/esm/{colors-e1c31f79.js → colors-ebea297f.js} +1 -1
  320. package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
  321. package/dist/esm/{floating-ui-8a0c54d6.js → floating-ui-a4e67246.js} +1 -1
  322. package/dist/esm/{generate-4a6e91ab.js → generate-b9c6f412.js} +2 -2
  323. package/dist/esm/{global-f2b64d8e.js → global-114427da.js} +2 -2
  324. package/dist/esm/{index-b84bc8c9.js → index-00c8a8f7.js} +1 -1
  325. package/dist/esm/{index-4614b7f0.js → index-0615c2b8.js} +1 -1
  326. package/dist/esm/{index-f38e3364.js → index-7e71bbc8.js} +1 -1
  327. package/dist/esm/{index-a6d9d0af.js → index-e4b6a4ce.js} +1612 -26
  328. package/dist/esm/{input-template-585653f0.js → input-template-dc94e47f.js} +4 -4
  329. package/dist/esm/{is-load-decorator-b8ca22f2.js → is-load-decorator-8277e3b8.js} +1 -1
  330. package/dist/esm/{json-parse-decarator-0fed2908.js → json-parse-decarator-fca2dc09.js} +2 -2
  331. package/dist/esm/label-template-989d1700.js +22 -0
  332. package/dist/esm/loader.js +5 -5
  333. package/dist/esm/{number-helper-9efff5fa.js → number-helper-70be3621.js} +1 -1
  334. package/dist/esm/old-bcm-popover-box.entry.js +13 -13
  335. package/dist/esm/old-bcm-popover.entry.js +7 -7
  336. package/dist/esm/{package-714d78c7.js → package-6f4c9f8c.js} +1 -1
  337. package/dist/esm/{popover-placement-941bf3f3.js → popover-placement-279ce860.js} +1 -1
  338. package/dist/esm/{slot-template-4b683d1f.js → slot-template-9234df88.js} +2 -2
  339. package/dist/esm/{stepper-states-2f770e8f.js → stepper-states-291a682f.js} +3 -3
  340. package/dist/esm/{string-helper-5bd646f2.js → string-helper-8f5da9ec.js} +2 -2
  341. package/dist/esm/{tooltip-helper-fd4d49bd.js → tooltip-helper-089735b1.js} +9 -9
  342. package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
  343. package/dist/esm/{validators-6dbc25f2.js → validators-c1fe8b4b.js} +1 -1
  344. package/dist/types/components/atoms/caption/caption.d.ts +14 -0
  345. package/dist/types/components/atoms/label/label.d.ts +3 -3
  346. package/dist/types/components/molecules/input/input.d.ts +2 -0
  347. package/dist/types/components/organism/list/list.d.ts +2 -0
  348. package/dist/types/components.d.ts +37 -6
  349. package/dist/types/models/bcm.d.ts +1 -0
  350. package/dist/types/templates/caption-template.d.ts +1 -1
  351. package/dist/types/templates/list-template.d.ts +1 -0
  352. package/package.json +4 -4
  353. package/dist/bromcom-ui/p-3182df7e.js +0 -10
  354. package/dist/bromcom-ui/p-32df2233.js +0 -5
  355. package/dist/bromcom-ui/p-504eac54.entry.js +0 -5
  356. package/dist/bromcom-ui/p-59dc8594.entry.js +0 -5
  357. package/dist/bromcom-ui/p-5ea9881d.entry.js +0 -5
  358. package/dist/bromcom-ui/p-5ee8a018.js +0 -5
  359. package/dist/bromcom-ui/p-5f40017d.entry.js +0 -5
  360. package/dist/bromcom-ui/p-67d1a74e.entry.js +0 -5
  361. package/dist/bromcom-ui/p-6d0a02d7.entry.js +0 -5
  362. package/dist/bromcom-ui/p-6f11eb8e.entry.js +0 -5
  363. package/dist/bromcom-ui/p-73bac18d.entry.js +0 -5
  364. package/dist/bromcom-ui/p-742f4bce.entry.js +0 -5
  365. package/dist/bromcom-ui/p-76edf59f.js +0 -7
  366. package/dist/bromcom-ui/p-77035c08.entry.js +0 -5
  367. package/dist/bromcom-ui/p-7c623da0.js +0 -5
  368. package/dist/bromcom-ui/p-7e3209a0.js +0 -14
  369. package/dist/bromcom-ui/p-7e35d915.entry.js +0 -5
  370. package/dist/bromcom-ui/p-89d9dc68.entry.js +0 -5
  371. package/dist/bromcom-ui/p-9321fa11.entry.js +0 -5
  372. package/dist/bromcom-ui/p-94003d12.entry.js +0 -5
  373. package/dist/bromcom-ui/p-944271c6.js +0 -5
  374. package/dist/bromcom-ui/p-9bd019ee.entry.js +0 -5
  375. package/dist/bromcom-ui/p-a7a9238e.entry.js +0 -5
  376. package/dist/bromcom-ui/p-bed627ab.js +0 -11
  377. package/dist/bromcom-ui/p-c05344c6.entry.js +0 -5
  378. package/dist/bromcom-ui/p-c10f44bc.entry.js +0 -5
  379. package/dist/bromcom-ui/p-c25bcdaf.entry.js +0 -5
  380. package/dist/bromcom-ui/p-ec555eba.entry.js +0 -5
  381. package/dist/bromcom-ui/p-ff3368a4.entry.js +0 -5
  382. package/dist/cjs/bcm-button.cjs.entry.js +0 -372
  383. package/dist/cjs/bcm-date.cjs.entry.js +0 -182
  384. package/dist/cjs/bcm-form.cjs.entry.js +0 -489
  385. package/dist/cjs/bcm-icon.cjs.entry.js +0 -39
  386. package/dist/cjs/bcm-label_2.cjs.entry.js +0 -126
  387. package/dist/cjs/bcm-linked.cjs.entry.js +0 -219
  388. package/dist/cjs/bcm-rc-picker.cjs.entry.js +0 -9404
  389. package/dist/cjs/caption-template-81dbc490.js +0 -34
  390. package/dist/cjs/index-3d67f613.js +0 -1610
  391. package/dist/cjs/label-template-80235581.js +0 -23
  392. package/dist/cjs/moment-d06b012f.js +0 -4601
  393. package/dist/collection/components/atoms/label/label.css +0 -158
  394. package/dist/components/label-template.js +0 -21
  395. package/dist/esm/bcm-button.entry.js +0 -368
  396. package/dist/esm/bcm-date.entry.js +0 -178
  397. package/dist/esm/bcm-form.entry.js +0 -485
  398. package/dist/esm/bcm-icon.entry.js +0 -35
  399. package/dist/esm/bcm-label_2.entry.js +0 -121
  400. package/dist/esm/bcm-linked.entry.js +0 -215
  401. package/dist/esm/bcm-rc-picker.entry.js +0 -9400
  402. package/dist/esm/caption-template-a1a968fd.js +0 -32
  403. package/dist/esm/index-c4568336.js +0 -1594
  404. package/dist/esm/label-template-54c28821.js +0 -21
  405. package/dist/esm/moment-15cd9198.js +0 -4598
@@ -0,0 +1,47 @@
1
+ export const argTypesDate = {
2
+ "range": {
3
+ control: "boolean",
4
+ description: "Specifies whether the date picker is in range mode.",
5
+ table: {
6
+ category: "Date Properties",
7
+ defaultValue: { summary: "false" },
8
+ type: { summary: "boolean" },
9
+ },
10
+ },
11
+ "show-today": {
12
+ control: { type: "select", options: ["true", "false"] },
13
+ description: "Show the today button in the date picker.",
14
+ table: {
15
+ category: "Date Properties",
16
+ defaultValue: { summary: "true" },
17
+ type: { summary: "string" },
18
+ },
19
+ },
20
+ "disabled-dates": {
21
+ control: "object",
22
+ description: "The dates that are disabled in the date picker. The value is stored as an object.",
23
+ table: {
24
+ category: "Date Properties",
25
+ defaultValue: {
26
+ summary: "Disabled Date Object",
27
+ detail: `const bcmDate = document.querySelector("bcm-date");
28
+ bcmDate.disabledDates = {
29
+ min: new Date(2023, 11, 1), // disable dates before
30
+ max: moment().endOf('month').toDate(), // disable dates after
31
+ dates: [
32
+ moment("2023-11-12").toDate(),
33
+ moment("2023-11-15").toDate(),
34
+ moment("2023-11-20").toDate(),
35
+ new Date(2023, 11, 25)
36
+ ],
37
+ custom: (current) => {
38
+ // return current <= moment().endOf('day') // disable dates before today
39
+ // return current >= moment().startOf('day') // disable dates after today
40
+ return current < moment().startOf("week") || current > moment().endOf("week"); // disable dates outside of the current week
41
+ },
42
+ }`,
43
+ },
44
+ type: { summary: "object" },
45
+ },
46
+ },
47
+ };
@@ -0,0 +1,109 @@
1
+ export const argTypesDateTime = {
2
+ "range": {
3
+ control: "boolean",
4
+ description: "Specifies whether the date picker is in range mode.",
5
+ table: {
6
+ category: "Date Properties",
7
+ defaultValue: { summary: "false" },
8
+ type: { summary: "boolean" },
9
+ },
10
+ },
11
+ "disabled-dates": {
12
+ control: "object",
13
+ description: "The dates that are disabled in the date picker. The value is stored as an object.",
14
+ table: {
15
+ category: "Date Properties",
16
+ defaultValue: {
17
+ summary: "Disabled Date Object",
18
+ detail: `const bcmDate = document.querySelector("bcm-date");
19
+ bcmDate.disabledDates = {
20
+ min: new Date(2023, 11, 1), // disable dates before
21
+ max: moment().endOf('month').toDate(), // disable dates after
22
+ dates: [
23
+ moment("2023-11-12").toDate(),
24
+ moment("2023-11-15").toDate(),
25
+ moment("2023-11-20").toDate(),
26
+ new Date(2023, 11, 25)
27
+ ],
28
+ custom: (current) => {
29
+ // return current <= moment().endOf('day') // disable dates before today
30
+ // return current >= moment().startOf('day') // disable dates after today
31
+ return current < moment().startOf("week") || current > moment().endOf("week"); // disable dates outside of the current week
32
+ },
33
+ }`,
34
+ },
35
+ type: { summary: "object" },
36
+ },
37
+ },
38
+ "show-second": {
39
+ control: "boolean",
40
+ description: "Specifies whether the second is shown.",
41
+ table: {
42
+ category: "Time Properties",
43
+ defaultValue: { summary: "false" },
44
+ type: { summary: "boolean" },
45
+ },
46
+ },
47
+ "use-12-hours": {
48
+ control: "boolean",
49
+ description: "Specifies whether the time picker is shown in 12-hour format.",
50
+ table: {
51
+ category: "Time Properties",
52
+ defaultValue: { summary: "false" },
53
+ type: { summary: "boolean" },
54
+ },
55
+ },
56
+ "hour-step": {
57
+ control: "number",
58
+ description: "Specifies the hour step.",
59
+ table: {
60
+ category: "Time Properties",
61
+ defaultValue: { summary: "1" },
62
+ type: { summary: "number" },
63
+ },
64
+ },
65
+ "minute-step": {
66
+ control: "number",
67
+ description: "Specifies the minute step.",
68
+ table: {
69
+ category: "Time Properties",
70
+ defaultValue: { summary: "1" },
71
+ type: { summary: "number" },
72
+ },
73
+ },
74
+ "second-step": {
75
+ control: "number",
76
+ description: "Specifies the second step.",
77
+ table: {
78
+ category: "Time Properties",
79
+ defaultValue: { summary: "1" },
80
+ type: { summary: "number" },
81
+ },
82
+ },
83
+ "hide-disabled-options": {
84
+ control: "boolean",
85
+ description: "Specifies whether the disabled options are hidden.",
86
+ table: {
87
+ category: "Time Properties",
88
+ defaultValue: { summary: "false" },
89
+ type: { summary: "boolean" },
90
+ },
91
+ },
92
+ "disabled-time": {
93
+ description: "The times that are disabled in the time picker. The value is stored as an object.",
94
+ table: {
95
+ category: "Time Properties",
96
+ defaultValue: {
97
+ summary: "Disabled Time Object",
98
+ detail: `
99
+ const bcmDate = document.querySelector("bcm-date");
100
+ bcmDate.disabledTime = {
101
+ disabledHours: [1, 2, 3, 4, 5, 6, 7, 10, 11],
102
+ disabledMinutes: [1, 2, 3, 4, 5, 6, 7, 8, 9],
103
+ disabledSeconds: [1, 2, 3, 4, 5, 6, 7, 8, 9],
104
+ };`,
105
+ },
106
+ type: { summary: "object" },
107
+ },
108
+ },
109
+ };
@@ -0,0 +1,91 @@
1
+ export const argTypesTime = {
2
+ "range": {
3
+ control: "boolean",
4
+ description: "Specifies whether the time picker is in range mode.",
5
+ table: {
6
+ category: "Date Properties",
7
+ defaultValue: { summary: "false" },
8
+ type: { summary: "boolean" },
9
+ },
10
+ },
11
+ "show-now": {
12
+ control: { type: "select", options: ["true", "false"] },
13
+ description: "Specifies whether the now button is shown.",
14
+ table: {
15
+ category: "Time Properties",
16
+ defaultValue: { summary: "true" },
17
+ type: { summary: "string" },
18
+ },
19
+ },
20
+ "show-second": {
21
+ control: "boolean",
22
+ description: "Specifies whether the second is shown.",
23
+ table: {
24
+ category: "Time Properties",
25
+ defaultValue: { summary: "false" },
26
+ type: { summary: "boolean" },
27
+ },
28
+ },
29
+ "use-12-hours": {
30
+ control: "boolean",
31
+ description: "Specifies whether the time picker is shown in 12-hour format.",
32
+ table: {
33
+ category: "Time Properties",
34
+ defaultValue: { summary: "false" },
35
+ type: { summary: "boolean" },
36
+ },
37
+ },
38
+ "hour-step": {
39
+ control: "number",
40
+ description: "Specifies the hour step.",
41
+ table: {
42
+ category: "Time Properties",
43
+ defaultValue: { summary: "1" },
44
+ type: { summary: "number" },
45
+ },
46
+ },
47
+ "minute-step": {
48
+ control: "number",
49
+ description: "Specifies the minute step.",
50
+ table: {
51
+ category: "Time Properties",
52
+ defaultValue: { summary: "1" },
53
+ type: { summary: "number" },
54
+ },
55
+ },
56
+ "second-step": {
57
+ control: "number",
58
+ description: "Specifies the second step.",
59
+ table: {
60
+ category: "Time Properties",
61
+ defaultValue: { summary: "1" },
62
+ type: { summary: "number" },
63
+ },
64
+ },
65
+ "hide-disabled-options": {
66
+ control: "boolean",
67
+ description: "Specifies whether the disabled options are hidden.",
68
+ table: {
69
+ category: "Time Properties",
70
+ defaultValue: { summary: "false" },
71
+ type: { summary: "boolean" },
72
+ },
73
+ },
74
+ "disabled-time": {
75
+ description: "The times that are disabled in the time picker. The value is stored as an object.",
76
+ table: {
77
+ category: "Time Properties",
78
+ defaultValue: {
79
+ summary: "Disabled Time Object",
80
+ detail: `
81
+ const bcmDate = document.querySelector("bcm-date");
82
+ bcmDate.disabledTime = {
83
+ disabledHours: [1, 2, 3, 4, 5, 6, 7, 10, 11],
84
+ disabledMinutes: [1, 2, 3, 4, 5, 6, 7, 8, 9],
85
+ disabledSeconds: [1, 2, 3, 4, 5, 6, 7, 8, 9],
86
+ };`,
87
+ },
88
+ type: { summary: "object" },
89
+ },
90
+ },
91
+ };
@@ -2,17 +2,21 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { h } from '@stencil/core';
6
- import cs from 'classnames';
7
- export const CaptionTemplate = ({ noCaption, captionType, captionClasses, caption, captionError, customErrorMessage, size,
5
+ import { h } from "@stencil/core";
6
+ import cs from "classnames";
7
+ export const CaptionTemplate = ({ noCaption, captionType, caption, captionError, customErrorMessage, size,
8
8
  //textarea props
9
- maxLength, value }) => {
9
+ maxLength, value, }) => {
10
10
  size = size || "medium";
11
- const hostClasses = cs('bcm-caption-area', 'bcm-caption-area__size-' + size);
12
- const classes = `bcm-caption-area__text`;
13
- const captionTextClass = `${classes} ${captionType} ${captionClasses}`;
14
- const countClasses = `${classes} default ${captionClasses}`;
15
- return ((noCaption == false || maxLength) && (h("div", { class: hostClasses }, h("span", { class: captionTextClass }, captionType == "error"
16
- ? h("span", null, " ", customErrorMessage || captionError, " ")
17
- : caption && h("span", null, " ", caption, " ")), maxLength && h("span", { class: countClasses }, " ", `${(value === null || value === void 0 ? void 0 : value.length) || 0}/${maxLength}`, " "))));
11
+ return ((noCaption == false || maxLength) && (h("div", { class: cs("bcm-ui-element bcm-ui-feedback bcm-caption-area tw-mt-1 tw-min-h-[20px] tw-flex tw-flex-row tw-items-start tw-justify-between tw-font-normal", {
12
+ "tw-text-slate-500": !captionType || captionType == "default",
13
+ "tw-text-blue-600": captionType == "info",
14
+ "tw-text-emerald-600": captionType == "success",
15
+ "tw-text-amber-600": captionType == "warning",
16
+ "tw-text-red-600": captionType == "error",
17
+ }, {
18
+ "tw-text-1": size == "small",
19
+ "tw-text-2": size == "medium",
20
+ "tw-text-3": size == "large",
21
+ }) }, h("div", { class: "bcm-caption-area__text" }, captionType == "error" ? customErrorMessage || captionError : caption), maxLength && h("div", { class: "bcm-caption-area__text tw-text-slate-500" }, " ", `${(value === null || value === void 0 ? void 0 : value.length) || 0}/${maxLength}`, " "))));
18
22
  };
@@ -5,10 +5,12 @@
5
5
  import { h } from '@stencil/core';
6
6
  import cs from 'classnames';
7
7
  import Bcm from '../models/bcm';
8
- import { SlotTemplate } from './slot-template';
9
8
  export const LabelTemplate = ({ required, value, size, form, htmlFor, type }) => {
10
9
  size = size || "medium";
11
10
  type = type || Bcm.Status.default;
12
- const labelClasses = cs('bcm-label__text', 'bcm-label__text-' + type, 'bcm-label__size-' + size);
13
- return (h("label", { form: form, htmlFor: htmlFor, class: labelClasses }, " ", h(SlotTemplate, { value: value }), " ", required && ('*')));
11
+ return (h("label", { form: form, htmlFor: htmlFor, class: cs("bcm-ui-element bcm-ui-feedback bcm-label bcm-label__text tw-mb-1 tw-text-slate-600 tw-font-medium ", {
12
+ "tw-text-1": size == "small",
13
+ "tw-text-2": size == "medium",
14
+ "tw-text-3": size == "large",
15
+ }) }, value, " ", required && ('*')));
14
16
  };
@@ -5,7 +5,7 @@
5
5
  import { h } from '@stencil/core';
6
6
  import { InfoFooterTemplate } from './info-footer-template';
7
7
  import { ListItemTemplate } from './list-item-template';
8
- export const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, checkboxes, checkAll, infoFooter, value, totalData, searchFound, variableText, _id, data, width, height, size, searchPlaceholder, minSearchLength, selectedItem, openGroup, checkedItem, onScrollEvent, focusItem, items, searchable, searchIsOnlyChilds, emptyText, emptyIcon, handleTransitionEnd, }) => {
8
+ export const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, checkboxes, checkAll, infoFooter, value, totalData, searchFound, variableText, _id, tempId, data, width, height, size, searchPlaceholder, minSearchLength, selectedItem, openGroup, checkedItem, onScrollEvent, focusItem, items, searchable, searchIsOnlyChilds, emptyText, emptyIcon, handleTransitionEnd, }) => {
9
9
  const showSelectAll = !(treeview && searchFound > 0) && !(searchFound > 0);
10
10
  const setScrollHeight = () => {
11
11
  const itemHeight = size === 'small' ? 28 : size === 'medium' ? 36 : 48;
@@ -19,5 +19,5 @@ export const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treev
19
19
  'flex-direction': 'column',
20
20
  };
21
21
  };
22
- return (h("div", { id: `bcm-list-${_id}`, class: bcmListContainer, style: { '--height': height, '--width': width }, onTransitionEnd: e => handleTransitionEnd(e) }, data && searchable && (h("section", { class: "bcm-list__container-search" }, h("bcm-search", { size: size, id: `bcm-list-${_id}-search`, data: data, clearable: true, placeholder: searchPlaceholder, "min-search-length": minSearchLength, searchIsOnlyChilds: searchIsOnlyChilds }))), h("main", { onScroll: e => onScrollEvent(e), class: "scrolling", style: { 'overscroll-behavior': 'none' } }, h("div", { style: setScrollHeight() }, checkAll && searchFound != 0 && items && items.length > 0 && checkboxes && showSelectAll && (h("section", { class: "bcm-list__container-select-all" }, h(ListItemTemplate, { size: size, item: selectAllItem, treeview: false, checkboxes: true, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))), items.map((item) => (h(ListItemTemplate, { highlight: highlight, size: size, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))), (!items || items.length === 0) && searchFound != 0 && (h("section", { class: "bcm-list__container-no-data" }, h("bcm-empty", { style: { height: 'auto' }, icon: emptyIcon }, h("span", { innerHTML: emptyText || 'No data' })))), searchFound == 0 && (h("section", { class: "bcm-list__container-no-data" }, h("bcm-empty", { style: { height: 'auto' }, icon: emptyIcon }, h("span", { innerHTML: emptyText || 'No Data Found' })))))), infoFooter && data && data.length > 0 && (h(InfoFooterTemplate, { selected: value === null || value === void 0 ? void 0 : value.length, total: totalData, found: searchFound, multiple: checkboxes, variableText: variableText }))));
22
+ return (h("div", { id: `bcm-list-${_id}`, class: bcmListContainer, "temp-id": `bcm-list-${tempId}`, style: { '--height': height, '--width': width }, onTransitionEnd: e => handleTransitionEnd(e) }, data && searchable && (h("section", { class: "bcm-list__container-search" }, h("bcm-search", { size: size, id: `bcm-list-${_id}-search`, data: data, clearable: true, placeholder: searchPlaceholder, "min-search-length": minSearchLength, searchIsOnlyChilds: searchIsOnlyChilds }))), h("main", { onScroll: e => onScrollEvent(e), class: "scrolling", style: { 'overscroll-behavior': 'none' } }, h("div", { style: setScrollHeight() }, checkAll && searchFound != 0 && items && items.length > 0 && checkboxes && showSelectAll && (h("section", { class: "bcm-list__container-select-all" }, h(ListItemTemplate, { size: size, item: selectAllItem, treeview: false, checkboxes: true, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))), items.map((item) => (h(ListItemTemplate, { highlight: highlight, size: size, item: item, searchIsOnlyChilds: searchIsOnlyChilds, treeview: treeview, checkboxes: checkboxes, selectedItem: itemId => selectedItem(itemId), checkedItem: itemId => checkedItem(itemId), openGroup: parentId => openGroup(parentId), focusItem: itemId => focusItem(itemId) }))), (!items || items.length === 0) && searchFound != 0 && (h("section", { class: "bcm-list__container-no-data" }, h("bcm-empty", { style: { height: 'auto' }, icon: emptyIcon }, h("span", { innerHTML: emptyText || 'No data' })))), searchFound == 0 && (h("section", { class: "bcm-list__container-no-data" }, h("bcm-empty", { style: { height: 'auto' }, icon: emptyIcon }, h("span", { innerHTML: emptyText || 'No Data Found' })))))), infoFooter && data && data.length > 0 && (h(InfoFooterTemplate, { selected: value === null || value === void 0 ? void 0 : value.length, total: totalData, found: searchFound, multiple: checkboxes, variableText: variableText }))));
23
23
  };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface BcmCaption extends Components.BcmCaption, HTMLElement {}
4
+ export const BcmCaption: {
5
+ prototype: BcmCaption;
6
+ new (): BcmCaption;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,64 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
6
+ import { B as Bcm } from './bcm.js';
7
+ import './string-helper.js';
8
+ import { C as CaptionTemplate } from './caption-template.js';
9
+ import './index2.js';
10
+ import './types.js';
11
+ import './number-helper.js';
12
+ import './types2.js';
13
+ import './color-helper.js';
14
+ import './validators.js';
15
+ import './generate.js';
16
+ import './element-dragger.js';
17
+
18
+ const BcmCaption$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
19
+ constructor() {
20
+ super();
21
+ this.__registerHost();
22
+ this.noCaption = false;
23
+ this.captionType = Bcm.Status.default;
24
+ this.captionClasses = undefined;
25
+ this.caption = undefined;
26
+ this.captionError = undefined;
27
+ this.customErrorMessage = undefined;
28
+ this.size = Bcm.Size.medium;
29
+ this.maxLength = undefined;
30
+ this.value = undefined;
31
+ }
32
+ render() {
33
+ const { noCaption, captionType, captionClasses, caption, captionError, customErrorMessage, size, maxLength, value } = this;
34
+ return (h(Host, { class: "tw-block" }, h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionClasses: captionClasses, caption: caption, captionError: captionError, customErrorMessage: customErrorMessage, size: size, maxLength: maxLength, value: value })));
35
+ }
36
+ }, [0, "bcm-caption", {
37
+ "noCaption": [4, "no-caption"],
38
+ "captionType": [1, "caption-type"],
39
+ "captionClasses": [8, "caption-classes"],
40
+ "caption": [1],
41
+ "captionError": [1, "caption-error"],
42
+ "customErrorMessage": [1, "custom-error-message"],
43
+ "size": [1],
44
+ "maxLength": [8, "max-length"],
45
+ "value": [8]
46
+ }]);
47
+ function defineCustomElement$1() {
48
+ if (typeof customElements === "undefined") {
49
+ return;
50
+ }
51
+ const components = ["bcm-caption"];
52
+ components.forEach(tagName => { switch (tagName) {
53
+ case "bcm-caption":
54
+ if (!customElements.get(tagName)) {
55
+ customElements.define(tagName, BcmCaption$1);
56
+ }
57
+ break;
58
+ } });
59
+ }
60
+
61
+ const BcmCaption = BcmCaption$1;
62
+ const defineCustomElement = defineCustomElement$1;
63
+
64
+ export { BcmCaption, defineCustomElement };
@@ -8,13 +8,18 @@ import { G as Generate, s as snq } from './generate.js';
8
8
  import { B as Bcm } from './bcm.js';
9
9
  import { d as delay, g as getChildElements } from './utils.js';
10
10
  import { c as createStore } from './index4.js';
11
- import { L as LabelTemplate } from './label-template.js';
11
+ import { L as LabelTemplate, d as defineCustomElement$3 } from './label.js';
12
12
  import { I as IsLoad } from './is-load-decorator.js';
13
13
  import { d as defineCustomElement$5 } from './checkbox.js';
14
14
  import { d as defineCustomElement$4 } from './icon.js';
15
- import { d as defineCustomElement$3 } from './label.js';
16
15
  import { d as defineCustomElement$2 } from './tooltip.js';
17
16
 
17
+ const CheckboxGroupTemplate = ({ customStyle, groupContainerClasses, onBcmSelect, items }) => {
18
+ return (h("div", { class: groupContainerClasses, style: customStyle }, items.childs && items.childs.map((checkbox) => {
19
+ return (h("bcm-checkbox", { id: checkbox.id, name: checkbox.name, color: checkbox.color, checked: checkbox.checked, disabled: checkbox.disabled, readonly: checkbox.readonly, required: checkbox.required, noCaption: checkbox.noCaption, "no-margin": true, size: checkbox.size, "full-width": checkbox.fullWidth, onClick: (e) => { !checkbox.disabled && !checkbox.readonly && (onBcmSelect(checkbox.id), e.preventDefault()); } }, checkbox.slot || checkbox.label));
20
+ })));
21
+ };
22
+
18
23
  const { state } = createStore({
19
24
  group: new Map(),
20
25
  allChecked: true,
@@ -208,12 +213,6 @@ const checkBoxGroupState = {
208
213
  changeIndeterminate,
209
214
  };
210
215
 
211
- const CheckboxGroupTemplate = ({ customStyle, groupContainerClasses, onBcmSelect, items }) => {
212
- return (h("div", { class: groupContainerClasses, style: customStyle }, items.childs && items.childs.map((checkbox) => {
213
- return (h("bcm-checkbox", { id: checkbox.id, name: checkbox.name, color: checkbox.color, checked: checkbox.checked, disabled: checkbox.disabled, readonly: checkbox.readonly, required: checkbox.required, noCaption: checkbox.noCaption, "no-margin": true, size: checkbox.size, "full-width": checkbox.fullWidth, onClick: (e) => { !checkbox.disabled && !checkbox.readonly && (onBcmSelect(checkbox.id), e.preventDefault()); } }, checkbox.slot || checkbox.label));
214
- })));
215
- };
216
-
217
216
  const groupCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-checkbox-group{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin-bottom:8px}.bcm-checkbox-group.hidden{display:none}.bcm-checkbox-group__container{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;width:100%}.bcm-checkbox-group__container.full-width{max-width:100%}.bcm-checkbox-group__container.vertical{gap:8px;flex-direction:column}.bcm-checkbox-group__container.button{gap:unset}.bcm-checkbox-group__container.indeterminate{padding-top:16px;margin-top:16px;border-top:1px solid #efefef}";
218
217
 
219
218
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
@@ -13,13 +13,12 @@ import { a as Bcm } from './bcm.js';
13
13
  import { C as CaptionTemplate } from './caption-template.js';
14
14
  import { c as classnames } from './index2.js';
15
15
  import './types.js';
16
- import { L as LabelTemplate } from './label-template.js';
16
+ import { L as LabelTemplate, d as defineCustomElement$6 } from './label.js';
17
17
  import './types2.js';
18
18
  import { d as defineCustomElement$a } from './avatar.js';
19
19
  import { d as defineCustomElement$9 } from './badge.js';
20
20
  import { d as defineCustomElement$8 } from './chip.js';
21
21
  import { d as defineCustomElement$7 } from './icon.js';
22
- import { d as defineCustomElement$6 } from './label.js';
23
22
  import { d as defineCustomElement$5 } from './list.js';
24
23
  import { d as defineCustomElement$4 } from './rc-overflow.js';
25
24
  import { d as defineCustomElement$3 } from './search.js';
@@ -14,9 +14,11 @@ import { a as Bcm } from './bcm.js';
14
14
  import { C as CaptionTemplate } from './caption-template.js';
15
15
  import { c as classnames } from './index2.js';
16
16
  import './types.js';
17
- import { L as LabelTemplate } from './label-template.js';
18
17
  import './types2.js';
19
- import { h as hooks, d as defineCustomElement$2 } from './rc-picker.js';
18
+ import { h as hooks, d as defineCustomElement$3 } from './rc-picker.js';
19
+ import { d as defineCustomElement$5 } from './icon.js';
20
+ import { d as defineCustomElement$4 } from './label.js';
21
+ import { d as defineCustomElement$2 } from './tooltip.js';
20
22
 
21
23
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
22
24
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -40,13 +42,15 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
40
42
  // type a göre format belirleme işlemi
41
43
  this.getFormat = () => {
42
44
  if (!this.format) {
45
+ const hourFormat = this.use12Hours ? "hh" : "HH";
46
+ const timeFormat = `${this.showSecond ? `${hourFormat}:mm:ss` : this.showMinute ? `${hourFormat}:mm` : `${hourFormat}`}${this.use12Hours ? " a" : ""}`;
43
47
  switch (this.type) {
44
48
  case "time":
45
- return this.showSecond ? "HH:mm:ss" : this.showMinute ? "HH:mm" : "HH";
49
+ return `${timeFormat}`;
46
50
  case "date":
47
51
  return "DD/MM/YYYY";
48
52
  case "datetime":
49
- return this.showSecond ? "DD/MM/YYYY HH:mm:ss" : this.showMinute ? "DD/MM/YYYY HH:mm" : "DD/MM/YYYY HH";
53
+ return `DD/MM/YYYY ${timeFormat}`;
50
54
  case "week":
51
55
  return "YYYY-wo";
52
56
  case "month":
@@ -161,7 +165,7 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
161
165
  return (h(Host, { class: classnames("bcm-ui-element bcm-ui-input", "tw-relative tw-m-0 tw-inline-flex tw-w-full tw-flex-col", {
162
166
  "tw-max-w-[256px]": !this.fullWidth,
163
167
  "tw-mb-2": !this.noMargin,
164
- }) }, label && h(LabelTemplate, { size: size, type: captionType, value: label, required: required, htmlFor: _id }), h("bcm-rc-picker", { id: _id + "-picker", class: classnames("w-full tw-flex"), onBcmRCPickerChange: e => this.onChange(e), disabled: this.disabled, clearable: this.clearable, size: size, placeholder: this.placeholder, error: this.captionType === "error", type: this.type, format: this.getFormat(), range: this.range, showToday: this.showToday, disabledDates: this.disabledDates, showTime: this.showTime, showNow: this.showNow, showHour: this.showHour, showMinute: this.showMinute, showSecond: this.showSecond, use12Hours: this.use12Hours, hourStep: this.hourStep, minuteStep: this.minuteStep, secondStep: this.secondStep, hideDisabledOptions: this.hideDisabledOptions, disabledTime: this.disabledTime }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
168
+ }) }, label && h("bcm-label", { size: size, type: captionType, value: label, required: required, htmlFor: _id }), h("bcm-rc-picker", { id: _id + "-picker", class: classnames("w-full tw-flex"), onBcmRCPickerChange: e => this.onChange(e), disabled: this.disabled, clearable: this.clearable, size: size, placeholder: this.placeholder, error: this.captionType === "error", type: this.type, format: this.getFormat(), range: this.range, showToday: this.showToday, disabledDates: this.disabledDates, showTime: this.showTime, showNow: this.showNow, showHour: this.showHour, showMinute: this.showMinute, showSecond: this.showSecond, use12Hours: this.use12Hours, hourStep: this.hourStep, minuteStep: this.minuteStep, secondStep: this.secondStep, hideDisabledOptions: this.hideDisabledOptions, disabledTime: this.disabledTime }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
165
169
  }
166
170
  get el() { return this; }
167
171
  }, [0, "bcm-date", {
@@ -188,7 +192,7 @@ const BcmDate$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
188
192
  "showHour": [4, "show-hour"],
189
193
  "showMinute": [4, "show-minute"],
190
194
  "showSecond": [4, "show-second"],
191
- "use12Hours": [4, "use-1-2-hours"],
195
+ "use12Hours": [4, "use-12-hours"],
192
196
  "hourStep": [2, "hour-step"],
193
197
  "minuteStep": [2, "minute-step"],
194
198
  "secondStep": [2, "second-step"],
@@ -211,14 +215,29 @@ function defineCustomElement$1() {
211
215
  if (typeof customElements === "undefined") {
212
216
  return;
213
217
  }
214
- const components = ["bcm-date", "bcm-rc-picker"];
218
+ const components = ["bcm-date", "bcm-icon", "bcm-label", "bcm-rc-picker", "bcm-tooltip"];
215
219
  components.forEach(tagName => { switch (tagName) {
216
220
  case "bcm-date":
217
221
  if (!customElements.get(tagName)) {
218
222
  customElements.define(tagName, BcmDate$1);
219
223
  }
220
224
  break;
225
+ case "bcm-icon":
226
+ if (!customElements.get(tagName)) {
227
+ defineCustomElement$5();
228
+ }
229
+ break;
230
+ case "bcm-label":
231
+ if (!customElements.get(tagName)) {
232
+ defineCustomElement$4();
233
+ }
234
+ break;
221
235
  case "bcm-rc-picker":
236
+ if (!customElements.get(tagName)) {
237
+ defineCustomElement$3();
238
+ }
239
+ break;
240
+ case "bcm-tooltip":
222
241
  if (!customElements.get(tagName)) {
223
242
  defineCustomElement$2();
224
243
  }
@@ -93,7 +93,7 @@ const inputDropdownStyle = ce({
93
93
  },
94
94
  });
95
95
 
96
- const inputDropdownCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}:host{display:flex;flex-direction:column;width:100%;position:relative}.input-dropdown-button i{transition:transform 0.2s ease-in-out}.input-dropdown-button[linked-is-open]>i{transform:rotate(-180deg);transition:transform 0.2s ease-in-out}";
96
+ const inputDropdownCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}:host{display:flex;flex-direction:column;width:100%;position:relative}.input-dropdown-button i{transition:transform 0.2s ease-in-out}.input-dropdown-button[linked-is-open]>i{transform:rotate(-180deg);transition:transform 0.2s ease-in-out}";
97
97
 
98
98
  const BcmInputDropdown$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
99
99
  constructor() {
@@ -13,7 +13,7 @@ import { d as defineCustomElement$4 } from './icon.js';
13
13
  import { d as defineCustomElement$3 } from './label.js';
14
14
  import { d as defineCustomElement$2 } from './tooltip.js';
15
15
 
16
- const switchCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-switch{display:inline-flex;user-select:none;flex-direction:column;margin-bottom:8px}.bcm-switch__container{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.bcm-switch__container--left,.bcm-switch__container--right{align-items:center}.bcm-switch__container--left .bcm-label__text,.bcm-switch__container--right .bcm-label__text{margin:0}.bcm-switch__container--left{flex-direction:row}.bcm-switch__container--left .bcm-label__text{margin-right:4px}.bcm-switch__container--right{flex-direction:row-reverse}.bcm-switch__container--right .bcm-label__text{margin-left:4px}.bcm-switch:focus-visible{outline:none}.bcm-switch:focus-visible .bcm-switch__toggle{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-switch:focus-visible .bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch:hover{outline:none}.bcm-switch:hover .bcm-switch__toggle .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch:hover .bcm-switch__toggle.switch-checked .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch *{box-sizing:border-box}.bcm-switch.hidden{display:none}.bcm-switch input{display:none}.bcm-switch.disabled .bcm-switch__toggle{cursor:not-allowed;opacity:40%}.bcm-switch.readonly .bcm-switch__toggle{cursor:default;opacity:80%}.bcm-switch__label{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-flex;align-items:center;margin:0}.bcm-switch__label .active-text{color:var(--bcm-new-ds-color-blue-500);margin:0 0 0 4px}.bcm-switch__label .inactive-text{color:var(--bcm-new-ds-color-slate-500);margin:0 4px 0 0}.bcm-switch__toggle{display:flex;justify-content:space-between;align-items:center;border-radius:16px;background-color:var(--bcm-new-ds-color-slate-300);position:relative;cursor:pointer}.bcm-switch__toggle .handle{padding:1px;position:absolute;background-color:var(--bcm-new-ds-color-slate-50);display:inline-flex;align-items:center;justify-content:center;border-radius:16px;transition:left 0.2s ease-in-out, width 0.2s ease-in-out;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-switch__toggle .icon-active{opacity:0;margin-left:2px}.bcm-switch__toggle .icon-inactive{opacity:1;margin-right:2px}.bcm-switch__toggle.bcm-switch__size-small{width:32px;min-width:32px;height:16px;padding:4px}.bcm-switch__toggle.bcm-switch__size-small .handle{width:12px;height:12px;left:2px}.bcm-switch__toggle.bcm-switch__size-small.switch-checked .handle{left:18px}.bcm-switch__toggle.bcm-switch__size-small:active:not(.disabled):not(.readonly) .handle{width:16px}.bcm-switch__toggle.bcm-switch__size-small:active.switch-checked:not(.disabled):not(.readonly) .handle{left:12px}.bcm-switch__toggle.bcm-switch__size-small .switch-spinner{box-sizing:border-box;display:inline-flex;width:9px;height:9px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-medium{width:36px;min-width:36px;height:18px;padding:4px}.bcm-switch__toggle.bcm-switch__size-medium .handle{width:14px;height:14px;left:2px}.bcm-switch__toggle.bcm-switch__size-medium.switch-checked .handle{left:20px}.bcm-switch__toggle.bcm-switch__size-medium:active:not(.disabled):not(.readonly) .handle{width:18px}.bcm-switch__toggle.bcm-switch__size-medium:active.switch-checked:not(.disabled):not(.readonly) .handle{left:14px}.bcm-switch__toggle.bcm-switch__size-medium .switch-spinner{box-sizing:border-box;display:inline-flex;width:11px;height:11px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-large{width:40px;min-width:40px;height:20px;padding:4px}.bcm-switch__toggle.bcm-switch__size-large .handle{width:16px;height:16px;left:2px}.bcm-switch__toggle.bcm-switch__size-large.switch-checked .handle{left:22px}.bcm-switch__toggle.bcm-switch__size-large:active:not(.disabled):not(.readonly) .handle{width:20px}.bcm-switch__toggle.bcm-switch__size-large:active.switch-checked:not(.disabled):not(.readonly) .handle{left:16px}.bcm-switch__toggle.bcm-switch__size-large .switch-spinner{box-sizing:border-box;display:inline-flex;width:13px;height:13px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-500)}.bcm-switch__toggle.switch-checked .icon-active{color:var(--bcm-new-ds-color-slate-100);opacity:1}.bcm-switch__toggle.switch-checked .icon-inactive{opacity:0}.bcm-switch__toggle.switch-checked .switch-spinner{border-top-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch__size-small .bcm-switch__label,.bcm-switch__size-small .bcm-label__text{font-size:12px}.bcm-switch__size-small .bcm-switch__toggle{font-size:8px}.bcm-switch__size-medium .bcm-switch__label,.bcm-switch__size-medium .bcm-label__text{font-size:13px}.bcm-switch__size-medium .bcm-switch__toggle{font-size:9px}.bcm-switch__size-large .bcm-switch__label,.bcm-switch__size-large .bcm-label__text{font-size:16px}.bcm-switch__size-large .bcm-switch__toggle{font-size:12px}@keyframes switch-spinner{to{transform:rotate(360deg)}}";
16
+ const switchCss = "@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-switch{display:inline-flex;user-select:none;flex-direction:column;margin-bottom:8px}.bcm-switch__container{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.bcm-switch__container--left,.bcm-switch__container--right{align-items:center}.bcm-switch__container--left .bcm-label__text,.bcm-switch__container--right .bcm-label__text{margin:0}.bcm-switch__container--left{flex-direction:row}.bcm-switch__container--left .bcm-label__text{margin-right:4px}.bcm-switch__container--right{flex-direction:row-reverse}.bcm-switch__container--right .bcm-label__text{margin-left:4px}.bcm-switch:focus-visible{outline:none}.bcm-switch:focus-visible .bcm-switch__toggle{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-switch:focus-visible .bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch:hover{outline:none}.bcm-switch:hover .bcm-switch__toggle .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch:hover .bcm-switch__toggle.switch-checked .handle{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-switch *{box-sizing:border-box}.bcm-switch.hidden{display:none}.bcm-switch input{display:none}.bcm-switch.disabled .bcm-switch__toggle{cursor:not-allowed;opacity:40%}.bcm-switch.readonly .bcm-switch__toggle{cursor:default;opacity:80%}.bcm-switch__label{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-flex;align-items:center;margin:0}.bcm-switch__label .active-text{color:var(--bcm-new-ds-color-blue-500);margin:0 0 0 4px}.bcm-switch__label .inactive-text{color:var(--bcm-new-ds-color-slate-500);margin:0 4px 0 0}.bcm-switch__toggle{display:flex;justify-content:space-between;align-items:center;border-radius:16px;background-color:var(--bcm-new-ds-color-slate-300);position:relative;cursor:pointer}.bcm-switch__toggle .handle{padding:1px;position:absolute;background-color:var(--bcm-new-ds-color-slate-50);display:inline-flex;align-items:center;justify-content:center;border-radius:16px;transition:left 0.2s ease-in-out, width 0.2s ease-in-out;box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-switch__toggle .icon-active{opacity:0;margin-left:2px}.bcm-switch__toggle .icon-inactive{opacity:1;margin-right:2px}.bcm-switch__toggle.bcm-switch__size-small{width:32px;min-width:32px;height:16px;padding:4px}.bcm-switch__toggle.bcm-switch__size-small .handle{width:12px;height:12px;left:2px}.bcm-switch__toggle.bcm-switch__size-small.switch-checked .handle{left:18px}.bcm-switch__toggle.bcm-switch__size-small:active:not(.disabled):not(.readonly) .handle{width:16px}.bcm-switch__toggle.bcm-switch__size-small:active.switch-checked:not(.disabled):not(.readonly) .handle{left:12px}.bcm-switch__toggle.bcm-switch__size-small .switch-spinner{box-sizing:border-box;display:inline-flex;width:9px;height:9px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-medium{width:36px;min-width:36px;height:18px;padding:4px}.bcm-switch__toggle.bcm-switch__size-medium .handle{width:14px;height:14px;left:2px}.bcm-switch__toggle.bcm-switch__size-medium.switch-checked .handle{left:20px}.bcm-switch__toggle.bcm-switch__size-medium:active:not(.disabled):not(.readonly) .handle{width:18px}.bcm-switch__toggle.bcm-switch__size-medium:active.switch-checked:not(.disabled):not(.readonly) .handle{left:14px}.bcm-switch__toggle.bcm-switch__size-medium .switch-spinner{box-sizing:border-box;display:inline-flex;width:11px;height:11px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.bcm-switch__size-large{width:40px;min-width:40px;height:20px;padding:4px}.bcm-switch__toggle.bcm-switch__size-large .handle{width:16px;height:16px;left:2px}.bcm-switch__toggle.bcm-switch__size-large.switch-checked .handle{left:22px}.bcm-switch__toggle.bcm-switch__size-large:active:not(.disabled):not(.readonly) .handle{width:20px}.bcm-switch__toggle.bcm-switch__size-large:active.switch-checked:not(.disabled):not(.readonly) .handle{left:16px}.bcm-switch__toggle.bcm-switch__size-large .switch-spinner{box-sizing:border-box;display:inline-flex;width:13px;height:13px;border-radius:50%;border:1px solid var(--bcm-new-ds-color-white);border-top-color:var(--bcm-new-ds-color-slate-900);animation:switch-spinner 1.5s linear infinite}.bcm-switch__toggle.switch-checked{background-color:var(--bcm-new-ds-color-blue-500)}.bcm-switch__toggle.switch-checked .icon-active{color:var(--bcm-new-ds-color-slate-100);opacity:1}.bcm-switch__toggle.switch-checked .icon-inactive{opacity:0}.bcm-switch__toggle.switch-checked .switch-spinner{border-top-color:var(--bcm-new-ds-color-blue-600)}.bcm-switch__size-small .bcm-switch__label,.bcm-switch__size-small .bcm-label__text{font-size:12px}.bcm-switch__size-small .bcm-switch__toggle{font-size:8px}.bcm-switch__size-medium .bcm-switch__label,.bcm-switch__size-medium .bcm-label__text{font-size:13px}.bcm-switch__size-medium .bcm-switch__toggle{font-size:9px}.bcm-switch__size-large .bcm-switch__label,.bcm-switch__size-large .bcm-label__text{font-size:16px}.bcm-switch__size-large .bcm-switch__toggle{font-size:12px}@keyframes switch-spinner{to{transform:rotate(360deg)}}";
17
17
 
18
18
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
19
19
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;