bromcom-ui 2.12.0-test.1 → 2.12.1-test.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 (409) 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-4adb8c83.entry.js → p-0345ed68.entry.js} +1 -1
  4. package/dist/bromcom-ui/p-053dc717.entry.js +5 -0
  5. package/dist/bromcom-ui/{p-fdd5d6bb.entry.js → p-069ae664.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-fcc6f71e.js → p-0bda558d.js} +1 -1
  7. package/dist/bromcom-ui/p-11a5ae6d.entry.js +5 -0
  8. package/dist/bromcom-ui/{p-3f1e16ee.entry.js → p-193d926a.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-4d189e27.entry.js → p-1bdfc73a.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-c821b3bf.entry.js → p-1c7ea00b.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-ba3c6657.entry.js → p-1c801d0c.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-df185078.entry.js → p-1c9314bd.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-1d48da4b.entry.js → p-29c4dc0a.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-7f1612df.entry.js → p-2aaeb247.entry.js} +1 -1
  15. package/dist/bromcom-ui/p-2d34eb30.entry.js +5 -0
  16. package/dist/bromcom-ui/{p-cd2293b7.js → p-2df6b47d.js} +1 -1
  17. package/dist/bromcom-ui/{p-5c1af163.entry.js → p-2ee89105.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-305b0bc8.entry.js +5 -0
  19. package/dist/bromcom-ui/{p-7bc49347.entry.js → p-313b7bb0.entry.js} +1 -1
  20. package/dist/bromcom-ui/p-3238bf36.js +5 -0
  21. package/dist/bromcom-ui/{p-6b5ed4d8.js → p-35f2e15a.js} +1 -1
  22. package/dist/bromcom-ui/{p-482054dc.js → p-3a60a194.js} +1 -1
  23. package/dist/bromcom-ui/{p-af4a83dc.entry.js → p-3b863650.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-43c578cf.js +5 -0
  25. package/dist/bromcom-ui/{p-816fbffd.js → p-499d8454.js} +1 -1
  26. package/dist/bromcom-ui/{p-3182df7e.js → p-4d2bf0e7.js} +1 -1
  27. package/dist/bromcom-ui/{p-22a0e447.entry.js → p-4f05c6a4.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-0389b380.js → p-4f6eb6d6.js} +1 -1
  29. package/dist/bromcom-ui/{p-4ebb85f9.js → p-58c0a1f5.js} +1 -1
  30. package/dist/bromcom-ui/{p-91873347.entry.js → p-594a57c3.entry.js} +1 -1
  31. package/dist/bromcom-ui/p-5dea2654.entry.js +5 -0
  32. package/dist/bromcom-ui/{p-3078fcd2.entry.js → p-626b805d.entry.js} +1 -1
  33. package/dist/bromcom-ui/p-64fad38b.js +11 -0
  34. package/dist/bromcom-ui/{p-01416407.entry.js → p-69260d36.entry.js} +1 -1
  35. package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
  36. package/dist/bromcom-ui/{p-8c018ae0.js → p-6f2e4c9b.js} +1 -1
  37. package/dist/bromcom-ui/{p-7e44e6b5.js → p-6f861fed.js} +1 -1
  38. package/dist/bromcom-ui/p-7400e3c3.entry.js +5 -0
  39. package/dist/bromcom-ui/{p-1b2e1320.entry.js → p-79d5c3d8.entry.js} +1 -1
  40. package/dist/bromcom-ui/p-7c223356.entry.js +5 -0
  41. package/dist/bromcom-ui/{p-28f78dd4.entry.js → p-7d18ce0e.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-e45c1546.js → p-85eedabc.js} +1 -1
  43. package/dist/bromcom-ui/{p-e60832d7.entry.js → p-87d9dff7.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-be7e5e83.js → p-8e683b32.js} +1 -1
  45. package/dist/bromcom-ui/{p-4680865d.js → p-a2df6c19.js} +1 -1
  46. package/dist/bromcom-ui/{p-3f2cf69e.entry.js → p-a2ed89f0.entry.js} +1 -1
  47. package/dist/bromcom-ui/p-a313fba6.js +1 -1
  48. package/dist/bromcom-ui/{p-3a06c6b1.entry.js → p-ba9eff2a.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-9ea56166.entry.js → p-bbae06ed.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-b3fe26a3.entry.js → p-bdc78a44.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-fe675eea.entry.js → p-c02d4055.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-965ef00a.entry.js → p-c54aaa8c.entry.js} +1 -1
  53. package/dist/bromcom-ui/p-c99dbd93.entry.js +5 -0
  54. package/dist/bromcom-ui/{p-efd00594.entry.js → p-cebe6c15.entry.js} +1 -1
  55. package/dist/bromcom-ui/p-d1298c40.js +5 -0
  56. package/dist/bromcom-ui/{p-8c3535b6.entry.js → p-d551a51d.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-fa5ecfb2.entry.js → p-d73d6a2f.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-350e752d.js → p-daeb868a.js} +1 -1
  59. package/dist/bromcom-ui/{p-74252264.entry.js → p-e82dab5a.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-055b38fd.entry.js → p-e99cc26b.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-9f688a29.entry.js → p-ea7368b4.entry.js} +1 -1
  62. package/dist/bromcom-ui/p-ec1fe98f.entry.js +16 -0
  63. package/dist/bromcom-ui/{p-3960cae8.entry.js → p-ece578ef.entry.js} +1 -1
  64. package/dist/bromcom-ui/p-f0e30624.entry.js +5 -0
  65. package/dist/cjs/{bcm-489c9b1a.js → bcm-1d1fcf21.js} +4 -4
  66. package/dist/cjs/bcm-accordion_63.cjs.entry.js +46085 -0
  67. package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
  68. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -8
  69. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -8
  70. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  71. package/dist/cjs/bcm-caption.cjs.entry.js +9 -9
  72. package/dist/cjs/bcm-card.cjs.entry.js +5 -5
  73. package/dist/cjs/bcm-chip-group.cjs.entry.js +9 -9
  74. package/dist/cjs/bcm-date-picker.cjs.entry.js +4 -4
  75. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
  76. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  77. package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
  78. package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
  79. package/dist/cjs/bcm-input-2.cjs.entry.js +153 -0
  80. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  81. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +10 -10
  82. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
  83. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
  84. package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -7
  85. package/dist/cjs/bcm-number-input.cjs.entry.js +297 -0
  86. package/dist/cjs/bcm-popover.cjs.entry.js +9 -9
  87. package/dist/cjs/bcm-range.cjs.entry.js +6 -6
  88. package/dist/cjs/bcm-react-number.cjs.entry.js +1230 -0
  89. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  90. package/dist/cjs/bcm-table.cjs.entry.js +6 -6
  91. package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
  92. package/dist/cjs/bcm-time-picker.cjs.entry.js +4 -4
  93. package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
  94. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  95. package/dist/cjs/{caption-template-086e9cac.js → caption-template-85a18b6d.js} +2 -2
  96. package/dist/cjs/{floating-ui-21890d11.js → floating-ui-5b396838.js} +2 -2
  97. package/dist/cjs/{generate-acac74ce.js → generate-7510539d.js} +1 -1
  98. package/dist/cjs/{global-47ad6c93.js → global-711c589c.js} +1 -1
  99. package/dist/cjs/input.style-b5676e6a.js +122 -0
  100. package/dist/cjs/{label-template-94b3d775.js → label-template-e83447b5.js} +3 -3
  101. package/dist/cjs/loader.cjs.js +3 -3
  102. package/dist/cjs/{number-helper-fb148ed6.js → number-helper-9d2d1d5a.js} +1 -1
  103. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
  104. package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
  105. package/dist/cjs/{package-c5399090.js → package-a60955f7.js} +1 -1
  106. package/dist/cjs/{popover-placement-e7d6eabd.js → popover-placement-d1aa81f0.js} +1 -1
  107. package/dist/cjs/{slot-template-c8e2816c.js → slot-template-29229e8f.js} +1 -1
  108. package/dist/cjs/{string-helper-f9184277.js → string-helper-1ee6dc21.js} +6 -4
  109. package/dist/cjs/{validators-a7c046d5.js → validators-9369c82a.js} +1 -1
  110. package/dist/collection/components/atoms/avatar/avatar.js +1 -1
  111. package/dist/collection/components/atoms/badge/badge.js +1 -1
  112. package/dist/collection/components/atoms/badge/badge.style.js +1 -1
  113. package/dist/collection/components/atoms/button/button.css +13 -13
  114. package/dist/collection/components/atoms/button/button.js +14 -14
  115. package/dist/collection/components/atoms/chip/chip.css +4 -4
  116. package/dist/collection/components/atoms/chip/chip.js +3 -3
  117. package/dist/collection/components/atoms/link/link.css +9 -3
  118. package/dist/collection/components/molecules/checkbox/group.css +2 -2
  119. package/dist/collection/components/molecules/checkbox/group.js +1 -1
  120. package/dist/collection/components/molecules/color-input/color-input.js +1 -1
  121. package/dist/collection/components/molecules/empty/empty.js +1 -1
  122. package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
  123. package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
  124. package/dist/collection/components/molecules/input/input.js +1 -1
  125. package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +1 -1
  126. package/dist/collection/components/molecules/menu/menu.css +4 -4
  127. package/dist/collection/components/molecules/menu/menu.js +0 -14
  128. package/dist/collection/components/molecules/modal/modal.css +1 -1
  129. package/dist/collection/components/molecules/number-input/react-input.js +1 -1
  130. package/dist/collection/components/molecules/radio/radio-group.js +1 -1
  131. package/dist/collection/components/molecules/radio/radio.js +1 -1
  132. package/dist/collection/components/molecules/range/range.js +1 -1
  133. package/dist/collection/components/molecules/switch/switch.css +2 -2
  134. package/dist/collection/components/molecules/tab-group/tab-group.js +2 -2
  135. package/dist/collection/components/molecules/tab-group/tab-item-header.js +5 -5
  136. package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
  137. package/dist/collection/components/organism/list/list.css +2 -2
  138. package/dist/collection/components/organism/list/list.js +5 -5
  139. package/dist/collection/components/organism/states/bcm-list2.states.js +14 -2
  140. package/dist/collection/components/other/attendance/attendance.js +1 -1
  141. package/dist/collection/components/other_deprecated/select/select.css +1 -1
  142. package/dist/collection/components/other_deprecated/select/select.js +1 -1
  143. package/dist/collection/components/other_deprecated/tabs/tab.css +15 -15
  144. package/dist/collection/helper/string-helper.js +4 -2
  145. package/dist/collection/stories/ui-library/components/date/argTypes_common.js +1 -0
  146. package/dist/collection/stories/ui-library/components/list/country.js +186 -0
  147. package/dist/collection/templates/button-template.js +1 -1
  148. package/dist/collection/templates/caption-template.js +2 -2
  149. package/dist/collection/templates/input-template.js +1 -1
  150. package/dist/collection/templates/label-template.js +1 -1
  151. package/dist/collection/templates/list-item-template.js +1 -1
  152. package/dist/collection/templates/list-template.js +3 -9
  153. package/dist/components/avatar.js +1 -1
  154. package/dist/components/badge.js +2 -2
  155. package/dist/components/bcm-attendance.js +1 -1
  156. package/dist/components/bcm-checkbox-group.js +2 -2
  157. package/dist/components/bcm-color-input.js +1 -1
  158. package/dist/components/bcm-error-layout.js +1 -1
  159. package/dist/components/bcm-expansion-panel.js +1 -1
  160. package/dist/components/bcm-input-dropdown.js +1 -1
  161. package/dist/components/bcm-modal.js +1 -1
  162. package/dist/components/bcm-radio-group.js +1 -1
  163. package/dist/components/bcm-range.js +1 -1
  164. package/dist/components/bcm-select.js +2 -2
  165. package/dist/components/bcm-switch.js +1 -1
  166. package/dist/components/bcm-tab-group.js +2 -2
  167. package/dist/components/bcm-tab-item-header.js +5 -5
  168. package/dist/components/bcm-tab.js +1 -1
  169. package/dist/components/button.js +16 -16
  170. package/dist/components/caption-template.js +2 -2
  171. package/dist/components/chip.js +4 -4
  172. package/dist/components/empty.js +1 -1
  173. package/dist/components/generate.js +1 -1
  174. package/dist/components/input-template.js +1 -1
  175. package/dist/components/input.js +1 -1
  176. package/dist/components/label.js +1 -1
  177. package/dist/components/link.js +1 -1
  178. package/dist/components/list.js +24 -18
  179. package/dist/components/menu.js +1 -15
  180. package/dist/components/radio.js +1 -1
  181. package/dist/components/string-helper.js +4 -2
  182. package/dist/components/tooltip.js +1 -1
  183. package/dist/esm/{_commonjsHelpers-be0d4ec8.js → _commonjsHelpers-7002e5de.js} +1 -1
  184. package/dist/esm/bcm-a50d55ba.js +1 -1
  185. package/dist/esm/bcm-accordion_63.entry.js +46019 -0
  186. package/dist/esm/bcm-alert.entry.js +6 -6
  187. package/dist/esm/bcm-attendance-actions-comment.entry.js +11 -11
  188. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +12 -12
  189. package/dist/esm/bcm-autocomplete.entry.js +2 -2
  190. package/dist/esm/bcm-breadcrumb.entry.js +5 -5
  191. package/dist/esm/bcm-caption.entry.js +13 -13
  192. package/dist/esm/bcm-card.entry.js +9 -9
  193. package/dist/esm/bcm-chip-group.entry.js +14 -14
  194. package/dist/esm/bcm-colorpicker.entry.js +4 -4
  195. package/dist/esm/bcm-date-picker.entry.js +7 -7
  196. package/dist/esm/bcm-datetime-picker.entry.js +11 -11
  197. package/dist/esm/bcm-default.entry.js +4 -4
  198. package/dist/esm/bcm-error-layout.entry.js +3 -3
  199. package/dist/esm/bcm-form-2.entry.js +6 -6
  200. package/dist/esm/bcm-input-2.entry.js +149 -0
  201. package/dist/esm/bcm-input-custom.entry.js +5 -5
  202. package/dist/esm/bcm-input-dropdown.entry.js +14 -14
  203. package/dist/esm/bcm-message.entry.js +2 -2
  204. package/dist/esm/bcm-modal-2-footer.entry.js +11 -11
  205. package/dist/esm/bcm-modal-2-header.entry.js +10 -10
  206. package/dist/esm/bcm-modal-2.entry.js +12 -12
  207. package/dist/esm/bcm-notification.entry.js +2 -2
  208. package/dist/esm/bcm-number-input.entry.js +293 -0
  209. package/dist/esm/bcm-overlay_2.entry.js +3 -3
  210. package/dist/esm/bcm-popover.entry.js +11 -11
  211. package/dist/esm/bcm-range.entry.js +8 -8
  212. package/dist/esm/bcm-react-number.entry.js +1226 -0
  213. package/dist/esm/bcm-result.entry.js +2 -2
  214. package/dist/esm/bcm-select-group.entry.js +2 -2
  215. package/dist/esm/bcm-select-option.entry.js +2 -2
  216. package/dist/esm/bcm-skeleton.entry.js +10 -10
  217. package/dist/esm/bcm-tab-pane.entry.js +2 -2
  218. package/dist/esm/bcm-table.entry.js +11 -11
  219. package/dist/esm/bcm-tabs-content.entry.js +3 -3
  220. package/dist/esm/bcm-tag.entry.js +8 -8
  221. package/dist/esm/bcm-time-picker.entry.js +7 -7
  222. package/dist/esm/bcm-timeline-item.entry.js +2 -2
  223. package/dist/esm/bcm-timeline.entry.js +2 -2
  224. package/dist/esm/bcm-toast.entry.js +8 -8
  225. package/dist/esm/bromcom-ui.js +3 -3
  226. package/dist/esm/{caption-template-5c43c733.js → caption-template-3cd42c3b.js} +3 -3
  227. package/dist/esm/{color-helper-c0bb1d8a.js → color-helper-ba15b0d8.js} +2 -2
  228. package/dist/esm/{colors-df32bb43.js → colors-ed4e7579.js} +1 -1
  229. package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-b75266e6.js} +1 -1
  230. package/dist/esm/floating-ui-3f4394da.js +1 -1
  231. package/dist/esm/{generate-a1817b7f.js → generate-74379aca.js} +2 -2
  232. package/dist/esm/{global-26b8ded6.js → global-e20393a3.js} +1 -1
  233. package/dist/esm/{index-b84bc8c9.js → index-00c8a8f7.js} +1 -1
  234. package/dist/esm/{index-a6d9d0af.js → index-0d3a56ec.js} +1 -1
  235. package/dist/esm/input.style-e855c0f3.js +120 -0
  236. package/dist/esm/{label-template-c15569c4.js → label-template-ef97aadb.js} +3 -3
  237. package/dist/esm/loader.js +3 -3
  238. package/dist/esm/{number-helper-ccf5aba4.js → number-helper-6c691943.js} +1 -1
  239. package/dist/esm/old-bcm-popover-box.entry.js +10 -10
  240. package/dist/esm/old-bcm-popover.entry.js +6 -6
  241. package/dist/esm/{package-5d20a20d.js → package-0b936309.js} +1 -1
  242. package/dist/esm/{popover-placement-2f5939ea.js → popover-placement-1b15cc99.js} +1 -1
  243. package/dist/esm/{slot-template-7c36d3be.js → slot-template-0d958dcc.js} +1 -1
  244. package/dist/esm/{string-helper-85990695.js → string-helper-b4602002.js} +6 -4
  245. package/dist/esm/{utils-57652744.js → utils-7727d09e.js} +1 -1
  246. package/dist/esm/{validators-e63fdc75.js → validators-c067048c.js} +1 -1
  247. package/dist/types/models/states/organisms/bcm-organisms-state.d.ts +5 -1
  248. package/dist/types/stories/ui-library/components/list/country.d.ts +6 -0
  249. package/dist/types/templates/list-template.d.ts +1 -0
  250. package/package.json +1 -1
  251. package/dist/bromcom-ui/p-0a3d3b7d.entry.js +0 -5
  252. package/dist/bromcom-ui/p-13eeb974.entry.js +0 -5
  253. package/dist/bromcom-ui/p-158245f6.entry.js +0 -5
  254. package/dist/bromcom-ui/p-183bc78f.entry.js +0 -5
  255. package/dist/bromcom-ui/p-19e378e2.entry.js +0 -5
  256. package/dist/bromcom-ui/p-1a53401f.entry.js +0 -5
  257. package/dist/bromcom-ui/p-1c404cc8.entry.js +0 -5
  258. package/dist/bromcom-ui/p-1d96b6d6.entry.js +0 -5
  259. package/dist/bromcom-ui/p-28d0fb9d.entry.js +0 -5
  260. package/dist/bromcom-ui/p-310cab1a.js +0 -14
  261. package/dist/bromcom-ui/p-3917a612.entry.js +0 -5
  262. package/dist/bromcom-ui/p-39ae1e94.entry.js +0 -5
  263. package/dist/bromcom-ui/p-3ea2dda1.js +0 -5
  264. package/dist/bromcom-ui/p-40584ce5.entry.js +0 -5
  265. package/dist/bromcom-ui/p-4364285a.entry.js +0 -5
  266. package/dist/bromcom-ui/p-475d306a.entry.js +0 -5
  267. package/dist/bromcom-ui/p-4e33341b.entry.js +0 -5
  268. package/dist/bromcom-ui/p-516eb821.entry.js +0 -5
  269. package/dist/bromcom-ui/p-59294a5a.entry.js +0 -5
  270. package/dist/bromcom-ui/p-5d45ff27.entry.js +0 -5
  271. package/dist/bromcom-ui/p-65511654.entry.js +0 -5
  272. package/dist/bromcom-ui/p-7237c3e9.entry.js +0 -5
  273. package/dist/bromcom-ui/p-72d4ced8.entry.js +0 -5
  274. package/dist/bromcom-ui/p-76edf59f.js +0 -7
  275. package/dist/bromcom-ui/p-7942e17a.entry.js +0 -5
  276. package/dist/bromcom-ui/p-7edab876.entry.js +0 -5
  277. package/dist/bromcom-ui/p-83882081.js +0 -5
  278. package/dist/bromcom-ui/p-85371fa1.entry.js +0 -5
  279. package/dist/bromcom-ui/p-862e5ce9.js +0 -5
  280. package/dist/bromcom-ui/p-903d62ff.entry.js +0 -5
  281. package/dist/bromcom-ui/p-91f15c4d.entry.js +0 -5
  282. package/dist/bromcom-ui/p-9d95be18.entry.js +0 -5
  283. package/dist/bromcom-ui/p-a366357e.entry.js +0 -5
  284. package/dist/bromcom-ui/p-a8fd6d69.js +0 -5
  285. package/dist/bromcom-ui/p-afb1e0ae.entry.js +0 -5
  286. package/dist/bromcom-ui/p-b1f75abe.entry.js +0 -5
  287. package/dist/bromcom-ui/p-b284e383.entry.js +0 -5
  288. package/dist/bromcom-ui/p-bc0eb2d3.entry.js +0 -5
  289. package/dist/bromcom-ui/p-bc668762.js +0 -5
  290. package/dist/bromcom-ui/p-bed627ab.js +0 -11
  291. package/dist/bromcom-ui/p-c1a992e7.entry.js +0 -5
  292. package/dist/bromcom-ui/p-c2ef6353.entry.js +0 -5
  293. package/dist/bromcom-ui/p-c5a06d3a.entry.js +0 -5
  294. package/dist/bromcom-ui/p-c7be0488.entry.js +0 -5
  295. package/dist/bromcom-ui/p-ca5073d9.entry.js +0 -5
  296. package/dist/bromcom-ui/p-cce4fa10.entry.js +0 -5
  297. package/dist/bromcom-ui/p-d2f863d9.js +0 -5
  298. package/dist/bromcom-ui/p-d36d96af.entry.js +0 -5
  299. package/dist/bromcom-ui/p-d40c26fb.entry.js +0 -5
  300. package/dist/bromcom-ui/p-d60c61e8.entry.js +0 -5
  301. package/dist/bromcom-ui/p-db8aceb9.entry.js +0 -5
  302. package/dist/bromcom-ui/p-e4a2f8f8.entry.js +0 -5
  303. package/dist/bromcom-ui/p-e8962d4b.entry.js +0 -5
  304. package/dist/bromcom-ui/p-ec9b0de4.entry.js +0 -5
  305. package/dist/bromcom-ui/p-ef440eba.entry.js +0 -5
  306. package/dist/bromcom-ui/p-f144de37.entry.js +0 -5
  307. package/dist/bromcom-ui/p-f1550bf5.entry.js +0 -5
  308. package/dist/bromcom-ui/p-fd8a6bb8.entry.js +0 -5
  309. package/dist/bromcom-ui/p-fe39eea8.js +0 -5
  310. package/dist/cjs/Overflow-7a86d378.js +0 -2233
  311. package/dist/cjs/bcm-accordion.cjs.entry.js +0 -74
  312. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +0 -330
  313. package/dist/cjs/bcm-attendance.cjs.entry.js +0 -35
  314. package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -210
  315. package/dist/cjs/bcm-button-group.cjs.entry.js +0 -92
  316. package/dist/cjs/bcm-button_11.cjs.entry.js +0 -3340
  317. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -415
  318. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +0 -2529
  319. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -194
  320. package/dist/cjs/bcm-chip.cjs.entry.js +0 -91
  321. package/dist/cjs/bcm-collapse-group.cjs.entry.js +0 -43
  322. package/dist/cjs/bcm-collapse.cjs.entry.js +0 -62
  323. package/dist/cjs/bcm-color-input.cjs.entry.js +0 -77
  324. package/dist/cjs/bcm-date.cjs.entry.js +0 -182
  325. package/dist/cjs/bcm-drawer.cjs.entry.js +0 -96
  326. package/dist/cjs/bcm-dropdown.cjs.entry.js +0 -119
  327. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +0 -116
  328. package/dist/cjs/bcm-item.cjs.entry.js +0 -72
  329. package/dist/cjs/bcm-items.cjs.entry.js +0 -49
  330. package/dist/cjs/bcm-link.cjs.entry.js +0 -51
  331. package/dist/cjs/bcm-list_3.cjs.entry.js +0 -1972
  332. package/dist/cjs/bcm-menu.cjs.entry.js +0 -151
  333. package/dist/cjs/bcm-modal.cjs.entry.js +0 -157
  334. package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
  335. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +0 -145
  336. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -115
  337. package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -101
  338. package/dist/cjs/bcm-progress.cjs.entry.js +0 -162
  339. package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -161
  340. package/dist/cjs/bcm-radio.cjs.entry.js +0 -65
  341. package/dist/cjs/bcm-rc-picker.cjs.entry.js +0 -9986
  342. package/dist/cjs/bcm-select.cjs.entry.js +0 -1195
  343. package/dist/cjs/bcm-shortcut.cjs.entry.js +0 -65
  344. package/dist/cjs/bcm-step.cjs.entry.js +0 -89
  345. package/dist/cjs/bcm-stepper.cjs.entry.js +0 -240
  346. package/dist/cjs/bcm-switch.cjs.entry.js +0 -151
  347. package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -210
  348. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +0 -59
  349. package/dist/cjs/bcm-tab-item.cjs.entry.js +0 -91
  350. package/dist/cjs/bcm-tab.cjs.entry.js +0 -72
  351. package/dist/cjs/bcm-tabs.cjs.entry.js +0 -370
  352. package/dist/cjs/bcm-text.cjs.entry.js +0 -49
  353. package/dist/cjs/bcm-textarea.cjs.entry.js +0 -163
  354. package/dist/cjs/input-template-b836720c.js +0 -92
  355. package/dist/cjs/json-parse-decarator-b8367488.js +0 -40
  356. package/dist/cjs/lodash-917168d7.js +0 -17199
  357. package/dist/cjs/moment-d06b012f.js +0 -4601
  358. package/dist/cjs/stepper-states-17562587.js +0 -85
  359. package/dist/cjs/tooltip-helper-41b2fcd0.js +0 -158
  360. package/dist/esm/Overflow-32a0ec34.js +0 -2217
  361. package/dist/esm/bcm-accordion.entry.js +0 -70
  362. package/dist/esm/bcm-attendance-actions.entry.js +0 -326
  363. package/dist/esm/bcm-attendance.entry.js +0 -31
  364. package/dist/esm/bcm-avatar_2.entry.js +0 -205
  365. package/dist/esm/bcm-button-group.entry.js +0 -88
  366. package/dist/esm/bcm-button_11.entry.js +0 -3326
  367. package/dist/esm/bcm-checkbox-group.entry.js +0 -411
  368. package/dist/esm/bcm-checkbox-lite_9.entry.js +0 -2517
  369. package/dist/esm/bcm-checkbox_2.entry.js +0 -189
  370. package/dist/esm/bcm-chip.entry.js +0 -87
  371. package/dist/esm/bcm-collapse-group.entry.js +0 -39
  372. package/dist/esm/bcm-collapse.entry.js +0 -58
  373. package/dist/esm/bcm-color-input.entry.js +0 -73
  374. package/dist/esm/bcm-date.entry.js +0 -178
  375. package/dist/esm/bcm-drawer.entry.js +0 -92
  376. package/dist/esm/bcm-dropdown.entry.js +0 -115
  377. package/dist/esm/bcm-expansion-panel.entry.js +0 -112
  378. package/dist/esm/bcm-item.entry.js +0 -68
  379. package/dist/esm/bcm-items.entry.js +0 -45
  380. package/dist/esm/bcm-link.entry.js +0 -47
  381. package/dist/esm/bcm-list_3.entry.js +0 -1966
  382. package/dist/esm/bcm-menu.entry.js +0 -147
  383. package/dist/esm/bcm-modal.entry.js +0 -153
  384. package/dist/esm/bcm-old-input.entry.js +0 -393
  385. package/dist/esm/bcm-old-tag_2.entry.js +0 -140
  386. package/dist/esm/bcm-popconfirm-box.entry.js +0 -111
  387. package/dist/esm/bcm-popconfirm.entry.js +0 -97
  388. package/dist/esm/bcm-progress.entry.js +0 -158
  389. package/dist/esm/bcm-radio-group.entry.js +0 -157
  390. package/dist/esm/bcm-radio.entry.js +0 -61
  391. package/dist/esm/bcm-rc-picker.entry.js +0 -9982
  392. package/dist/esm/bcm-select.entry.js +0 -1191
  393. package/dist/esm/bcm-shortcut.entry.js +0 -61
  394. package/dist/esm/bcm-step.entry.js +0 -85
  395. package/dist/esm/bcm-stepper.entry.js +0 -236
  396. package/dist/esm/bcm-switch.entry.js +0 -147
  397. package/dist/esm/bcm-tab-group.entry.js +0 -206
  398. package/dist/esm/bcm-tab-item-header.entry.js +0 -55
  399. package/dist/esm/bcm-tab-item.entry.js +0 -87
  400. package/dist/esm/bcm-tab.entry.js +0 -68
  401. package/dist/esm/bcm-tabs.entry.js +0 -366
  402. package/dist/esm/bcm-text.entry.js +0 -45
  403. package/dist/esm/bcm-textarea.entry.js +0 -159
  404. package/dist/esm/input-template-c8611096.js +0 -90
  405. package/dist/esm/json-parse-decarator-b230fb3b.js +0 -38
  406. package/dist/esm/lodash-0a4396a7.js +0 -17197
  407. package/dist/esm/moment-15cd9198.js +0 -4598
  408. package/dist/esm/stepper-states-38388dc9.js +0 -83
  409. package/dist/esm/tooltip-helper-e4eb77cc.js +0 -156
@@ -9,18 +9,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
  const index = require('./index-c591ecec.js');
10
10
  require('./color-helper-dc98a2ca.js');
11
11
  require('./datetime-helper-eaf4fadb.js');
12
- const generate = require('./generate-acac74ce.js');
13
- require('./number-helper-fb148ed6.js');
14
- require('./string-helper-f9184277.js');
15
- require('./validators-a7c046d5.js');
12
+ const generate = require('./generate-7510539d.js');
13
+ require('./number-helper-9d2d1d5a.js');
14
+ require('./string-helper-1ee6dc21.js');
15
+ require('./validators-9369c82a.js');
16
16
  require('./element-dragger-a8562f82.js');
17
17
  const utils = require('./utils-fc077139.js');
18
- const bcm = require('./bcm-489c9b1a.js');
18
+ const bcm = require('./bcm-1d1fcf21.js');
19
19
  const index$1 = require('./index-95ae50d0.js');
20
20
  require('./colors-56282b00.js');
21
21
  require('./colors-250d0982.js');
22
22
  require('./_commonjsHelpers-ed84c3ca.js');
23
- require('./package-c5399090.js');
23
+ require('./package-a60955f7.js');
24
24
 
25
25
  const BcmModal2 = class {
26
26
  constructor(hostRef) {
@@ -33,7 +33,7 @@ const BcmModal2 = class {
33
33
  this.isShow = false;
34
34
  this.center = false;
35
35
  this.zIndex = "10400";
36
- this.size = bcm.Bcm$1.Size.medium;
36
+ this.size = bcm.Bcm.Size.medium;
37
37
  this.backdrop = true;
38
38
  this.fullWidth = false;
39
39
  this.fullScreen = false;
@@ -0,0 +1,297 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ 'use strict';
6
+
7
+ Object.defineProperty(exports, '__esModule', { value: true });
8
+
9
+ const index = require('./index-c591ecec.js');
10
+ require('./color-helper-dc98a2ca.js');
11
+ require('./datetime-helper-eaf4fadb.js');
12
+ const generate = require('./generate-7510539d.js');
13
+ require('./number-helper-9d2d1d5a.js');
14
+ const stringHelper = require('./string-helper-1ee6dc21.js');
15
+ require('./validators-9369c82a.js');
16
+ require('./element-dragger-a8562f82.js');
17
+ const utils = require('./utils-fc077139.js');
18
+ const bcm = require('./bcm-1d1fcf21.js');
19
+ const captionTemplate = require('./caption-template-85a18b6d.js');
20
+ const index$1 = require('./index-95ae50d0.js');
21
+ require('./types-cc4adee7.js');
22
+ require('./types-7523fd99.js');
23
+ const input_style = require('./input.style-b5676e6a.js');
24
+ require('./colors-56282b00.js');
25
+ require('./colors-250d0982.js');
26
+ require('./_commonjsHelpers-ed84c3ca.js');
27
+ require('./package-a60955f7.js');
28
+ require('./index-5279dea2.js');
29
+
30
+ const NumberInput = class {
31
+ constructor(hostRef) {
32
+ index.registerInstance(this, hostRef);
33
+ this.focus = index.createEvent(this, "bcm-focus", 3);
34
+ this.blur = index.createEvent(this, "bcm-blur", 3);
35
+ this.clear = index.createEvent(this, "bcm-clear", 3);
36
+ this.change = index.createEvent(this, "bcm-change", 7);
37
+ this.input = index.createEvent(this, "bcm-input", 3);
38
+ this.beforeClear = index.createEvent(this, "bcm-input-before-clear", 3);
39
+ this._onChange = index.createEvent(this, "bcm-onchange", 3);
40
+ this.inValid = false;
41
+ this.onInput = () => {
42
+ var _a;
43
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("input", (e) => {
44
+ this.input.emit(e);
45
+ });
46
+ };
47
+ this.onChange = () => {
48
+ var _a;
49
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("change", (e) => {
50
+ this.change.emit(e);
51
+ });
52
+ };
53
+ this.onFocus = () => {
54
+ var _a;
55
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("focus", e => {
56
+ this.isFocus = true;
57
+ this.focus.emit(e);
58
+ });
59
+ };
60
+ this.onBlur = () => {
61
+ var _a;
62
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("blur", e => {
63
+ this.isFocus = false;
64
+ this.blur.emit(e);
65
+ });
66
+ };
67
+ this.onKeydown = () => {
68
+ var _a;
69
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("keydown", (e) => {
70
+ if (e.key === "ArrowUp") {
71
+ e.preventDefault();
72
+ this.up();
73
+ }
74
+ if (e.key === "ArrowDown") {
75
+ e.preventDefault();
76
+ this.down();
77
+ }
78
+ });
79
+ };
80
+ this.listener = () => {
81
+ this.onInput();
82
+ this.onChange();
83
+ this.onFocus();
84
+ this.onBlur();
85
+ this.onKeydown();
86
+ };
87
+ this._id = generate.Generate.UID();
88
+ this.value = "";
89
+ this.defaultValue = undefined;
90
+ this._prefix = undefined;
91
+ this._suffix = undefined;
92
+ this.size = "medium";
93
+ this.min = undefined;
94
+ this.max = undefined;
95
+ this.step = 1;
96
+ this.label = undefined;
97
+ this.name = undefined;
98
+ this.fullWidth = false;
99
+ this.clearable = false;
100
+ this.readonly = false;
101
+ this.disabled = false;
102
+ this.required = false;
103
+ this.mode = "none";
104
+ this.placeholder = undefined;
105
+ this.thousandSeparator = false;
106
+ this.decimalSeparator = undefined;
107
+ this.decimalScale = undefined;
108
+ this.fixedDecimalScale = false;
109
+ this.allowNegative = true;
110
+ this.allowLeadingZeros = false;
111
+ this.unitPrefix = undefined;
112
+ this.unitSuffix = undefined;
113
+ this.caption = undefined;
114
+ this.noCaption = false;
115
+ this.captionType = bcm.Bcm.Status.default;
116
+ this.captionError = undefined;
117
+ this.customErrorMessage = undefined;
118
+ this.isFocus = false;
119
+ this.captionCache = undefined;
120
+ this.captionTypeCache = undefined;
121
+ this.valueCache = "";
122
+ }
123
+ connectedCallback() {
124
+ if (this.defaultValue)
125
+ this.value = +this.defaultValue;
126
+ this.valueCache = this.value;
127
+ this.captionCache = this.caption;
128
+ this.captionTypeCache = this.captionType;
129
+ }
130
+ componentDidLoad() {
131
+ this.listener();
132
+ }
133
+ up() {
134
+ if (this.disabled)
135
+ return;
136
+ if (!this.value)
137
+ this.value = Number(0);
138
+ this.value = +this.value + +this.step;
139
+ if (this.mode === "strict") {
140
+ if (this.max && +this.value > +this.max) {
141
+ this.value = this.max;
142
+ }
143
+ }
144
+ }
145
+ down() {
146
+ if (this.disabled)
147
+ return;
148
+ if (!this.value)
149
+ this.value = Number(0);
150
+ this.value = +this.value - +this.step;
151
+ if (this.mode === "strict") {
152
+ if (this.min && +this.value < +this.min) {
153
+ this.value = this.min;
154
+ }
155
+ }
156
+ }
157
+ handleClear(e) {
158
+ if (this.disabled)
159
+ return;
160
+ const event = this.beforeClear.emit(e);
161
+ if (event.defaultPrevented)
162
+ return;
163
+ this.value = "";
164
+ this.clear.emit(e);
165
+ }
166
+ checkLength() {
167
+ const { min, max, value } = this;
168
+ const minLength = min;
169
+ const maxLength = max;
170
+ let valuePoint = value === null || value === void 0 ? void 0 : value.toString();
171
+ if (min && max) {
172
+ if (+valuePoint < +min || +valuePoint > +max) {
173
+ this.setCaption(stringHelper.StringHelper.getMessage("betweenlength", [minLength, maxLength]), "error");
174
+ this.inValid = true;
175
+ }
176
+ else {
177
+ this.setCaption();
178
+ this.inValid = false;
179
+ }
180
+ }
181
+ else if (minLength) {
182
+ if (+valuePoint < +minLength) {
183
+ this.setCaption(stringHelper.StringHelper.getMessage("minlength", [minLength]), "error");
184
+ this.inValid = true;
185
+ }
186
+ else {
187
+ this.setCaption();
188
+ this.inValid = false;
189
+ }
190
+ }
191
+ else if (maxLength) {
192
+ if (valuePoint > maxLength) {
193
+ this.setCaption(stringHelper.StringHelper.getMessage("maxlength", [maxLength]), "error");
194
+ this.inValid = true;
195
+ }
196
+ else {
197
+ this.setCaption();
198
+ this.inValid = false;
199
+ }
200
+ }
201
+ }
202
+ watchValue() {
203
+ this.checkLength();
204
+ }
205
+ async onBcmFocus() {
206
+ this.inputElement.focus();
207
+ }
208
+ async onBcmBlur() {
209
+ this.inputElement.blur();
210
+ }
211
+ async onBcmSelect() {
212
+ this.inputElement.select();
213
+ }
214
+ async set(data) {
215
+ await this.setValue(data);
216
+ }
217
+ async get() {
218
+ return this.value || null;
219
+ }
220
+ async setValue(value) {
221
+ this.value = value;
222
+ }
223
+ async setClear() {
224
+ this.value = null;
225
+ await utils.delay(10);
226
+ return Promise.resolve();
227
+ }
228
+ async resetCaption() {
229
+ await utils.delay(10);
230
+ this.caption = this.captionCache;
231
+ this.captionType = this.captionTypeCache;
232
+ this.captionError = null;
233
+ this.inValid = false;
234
+ await utils.delay(10);
235
+ return Promise.resolve();
236
+ }
237
+ setCaption(caption = null, captionType = null) {
238
+ this.caption = caption || this.captionCache;
239
+ this.captionType = captionType || this.captionTypeCache;
240
+ this.captionError = captionType == "error" ? caption : null;
241
+ return Promise.resolve();
242
+ }
243
+ disconnectedCallback() {
244
+ var _a, _b, _c, _d, _e;
245
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.removeEventListener("input", this.onInput.bind(this));
246
+ (_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.removeEventListener("change", this.onChange.bind(this));
247
+ (_c = this.inputElement) === null || _c === void 0 ? void 0 : _c.removeEventListener("focus", this.onFocus.bind(this));
248
+ (_d = this.inputElement) === null || _d === void 0 ? void 0 : _d.removeEventListener("blur", this.onBlur.bind(this));
249
+ (_e = this.inputElement) === null || _e === void 0 ? void 0 : _e.removeEventListener("keydown", this.onKeydown.bind(this));
250
+ }
251
+ render() {
252
+ const { _prefix, _suffix, noCaption, captionType, captionError, caption, required, _id, label, size, fullWidth, clearable, value, placeholder, thousandSeparator, decimalSeparator, decimalScale, fixedDecimalScale, allowNegative, allowLeadingZeros, unitPrefix, unitSuffix, min, max, step, defaultValue, disabled, mode, } = this;
253
+ const isActiveClearable = (value === null || value === void 0 ? void 0 : value.toString().length) > 0 && clearable;
254
+ const isInvalid = this.captionType == "error" || this.inValid;
255
+ const { host, inputContainer, slotClass, clearButton, controls, controlsBtn, controlsBtnDown, controlsBtnUp, controlsDivider, input } = input_style.inputStyle({
256
+ size,
257
+ fullWidth,
258
+ clearable: isActiveClearable,
259
+ disabled,
260
+ invalid: isInvalid,
261
+ });
262
+ const numericProps = {
263
+ placeholder,
264
+ thousandSeparator,
265
+ decimalSeparator,
266
+ decimalScale,
267
+ fixedDecimalScale,
268
+ allowNegative,
269
+ allowLeadingZeros,
270
+ prefix: unitPrefix,
271
+ suffix: unitSuffix,
272
+ };
273
+ /* input props */
274
+ const inputProps = {
275
+ min,
276
+ max,
277
+ step,
278
+ value,
279
+ defaultValue,
280
+ };
281
+ const generalProps = Object.assign(Object.assign(Object.assign({ "id": _id + "-base-input", "name": this.name, disabled,
282
+ mode, "aria-label": label, "aria-labelledby": _id + "-label", "getInputRef": el => {
283
+ this.inputElement = el;
284
+ }, "className": input() }, numericProps), inputProps), { "onValueChange": (e) => {
285
+ const { floatValue } = e;
286
+ this.value = floatValue;
287
+ this._onChange.emit(e);
288
+ } });
289
+ return (index.h(index.Host, { class: host() }, label && index.h("bcm-label", { size: size, type: captionType, value: label, required: required, htmlFor: _id + "-base-input", id: _id + "-label" }), index.h("div", { class: inputContainer() }, index.h("div", { class: slotClass() }, index.h("slot", { name: "prefix" }, _prefix && _prefix.length > 0 && index.h("span", { innerHTML: _prefix }))), index.h("bcm-react-number", { disabled: disabled, class: "tw-flex-1", options: generalProps }), index.h("div", { class: slotClass() }, !disabled && isActiveClearable && (index.h("button", { class: clearButton(), onClick: event => this.handleClear(event) }, index.h("i", { class: "far fa-times" }))), index.h("slot", { name: "suffix" }, _suffix && _suffix.length > 0 && index.h("span", { innerHTML: _suffix })), index.h("div", { class: controls() }, index.h("button", { type: "button", disabled: disabled, class: index$1.classnames(controlsBtn(), controlsBtnUp()), onClick: this.up.bind(this), "aria-label": "Increase value" }, index.h("i", { class: "fas fa-caret-up" })), index.h("div", { class: controlsDivider() }), index.h("button", { type: "button", disabled: disabled, class: index$1.classnames(controlsBtn(), controlsBtnDown()), onClick: this.down.bind(this), "aria-label": "Decrease value" }, index.h("i", { class: "fas fa-caret-down" }))))), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage })));
290
+ }
291
+ get el() { return index.getElement(this); }
292
+ static get watchers() { return {
293
+ "value": ["watchValue"]
294
+ }; }
295
+ };
296
+
297
+ exports.bcm_number_input = NumberInput;
@@ -9,18 +9,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
  const index = require('./index-c591ecec.js');
10
10
  const colorHelper = require('./color-helper-dc98a2ca.js');
11
11
  require('./datetime-helper-eaf4fadb.js');
12
- const generate = require('./generate-acac74ce.js');
13
- require('./number-helper-fb148ed6.js');
14
- const stringHelper = require('./string-helper-f9184277.js');
15
- require('./validators-a7c046d5.js');
12
+ const generate = require('./generate-7510539d.js');
13
+ require('./number-helper-9d2d1d5a.js');
14
+ const stringHelper = require('./string-helper-1ee6dc21.js');
15
+ require('./validators-9369c82a.js');
16
16
  require('./element-dragger-a8562f82.js');
17
- const bcm = require('./bcm-489c9b1a.js');
17
+ const bcm = require('./bcm-1d1fcf21.js');
18
18
  const utils = require('./utils-fc077139.js');
19
- const floatingUi = require('./floating-ui-21890d11.js');
19
+ const floatingUi = require('./floating-ui-5b396838.js');
20
20
  require('./colors-56282b00.js');
21
21
  require('./colors-250d0982.js');
22
22
  require('./_commonjsHelpers-ed84c3ca.js');
23
- require('./package-c5399090.js');
23
+ require('./package-a60955f7.js');
24
24
 
25
25
  class Popover {
26
26
  constructor({ content, message, targetId, placement = "top", color = "slate-700", trigger = "none", openDelay = 0, closeDelay = 0, autoHide = false, emitShow = () => { }, emitHide = () => { } }) {
@@ -163,8 +163,8 @@ const BcmPopover = class {
163
163
  this._id = generate.Generate.UID();
164
164
  this.message = "";
165
165
  this.content = "";
166
- this.placement = bcm.Bcm$1.Placement.top;
167
- this.trigger = bcm.Bcm$1.TriggerType.click;
166
+ this.placement = bcm.Bcm.Placement.top;
167
+ this.trigger = bcm.Bcm.TriggerType.click;
168
168
  this.open = false;
169
169
  this.color = "white";
170
170
  this.openDelay = 0;
@@ -8,11 +8,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-c591ecec.js');
10
10
  const index$1 = require('./index-95ae50d0.js');
11
- const generate = require('./generate-acac74ce.js');
12
- const bcm = require('./bcm-489c9b1a.js');
11
+ const generate = require('./generate-7510539d.js');
12
+ const bcm = require('./bcm-1d1fcf21.js');
13
13
  const utils = require('./utils-fc077139.js');
14
14
  require('./_commonjsHelpers-ed84c3ca.js');
15
- require('./package-c5399090.js');
15
+ require('./package-a60955f7.js');
16
16
  require('./colors-250d0982.js');
17
17
 
18
18
  const rangeCss = "@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-range{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;width:100%;position:relative;display:block;margin:16px 0}.bcm-range input[type=range]{position:absolute;pointer-events:none;-webkit-appearance:none;z-index:4;height:30px;width:100%;top:-17px;opacity:0}.bcm-range input[type=range].single{display:none}.bcm-range input[type=range]::-webkit-slider-thumb{pointer-events:all;width:30px;height:30px;border-radius:0;border:0 none;background-color:red;-webkit-appearance:none;cursor:pointer}.bcm-range__container-bar{width:calc(100% - 24px);left:12px;position:relative}.bcm-range__container-bar-track{position:absolute;top:-2px;width:100%;height:4px;background-color:var(--bcm-new-ds-color-slate-300);z-index:1}.bcm-range__container-bar-range{position:absolute;top:-2px;left:22.22%;right:22.22%;height:4px;background-color:var(--bcm-new-ds-color-blue-500);z-index:2}.bcm-range__container-bar-thumb{position:absolute;top:0;width:16px;height:16px;background-color:var(--bcm-new-ds-color-blue-500);border-radius:50%;z-index:3;transition:box-shadow 0.2s ease-in-out;display:flex;align-items:center;justify-content:center}.bcm-range__container-bar-thumb>span{display:flex;width:100%;height:100%}.bcm-range__container-bar-thumb.hover{box-shadow:0px 2px 2px rgba(0, 0, 0, 0.1), 0px 3px 1px rgba(0, 0, 0, 0.05), 0px 1px 5px rgba(0, 0, 0, 0.1);cursor:pointer}.bcm-range__container-bar-thumb.hidden{display:none}.bcm-range__container-bar-thumb.left{left:22.22222%;transform:translate(-8px, -8px)}.bcm-range__container-bar-thumb.right{right:0%;transform:translate(8px, -8px)}.bcm-range .ticks{position:absolute;z-index:0;top:0;left:0;width:100%;display:flex;justify-content:space-between;padding:4px 0;user-select:none}.bcm-range .tick{position:relative;display:flex;justify-content:center;width:1px;color:var(--bcm-new-ds-color-slate-300);cursor:pointer;height:8px;line-height:32px;margin-bottom:8px;z-index:-1;transition:color 0.1s ease-in-out}.bcm-range .tick::before,.bcm-range .tick::after{content:\" \";position:absolute;width:1px;height:8px;background-color:var(--bcm-new-ds-color-slate-300);z-index:-1;transition:background-color 0.1s ease-in-out}.bcm-range .tick::before{top:-16px}.bcm-range .tick::after{top:0}.bcm-range .tick.hover{color:var(--bcm-new-ds-color-slate-400)}.bcm-range .tick.hover::before,.bcm-range .tick.hover::after{background-color:var(--bcm-new-ds-color-slate-400)}.bcm-range .touch{position:absolute;width:calc(100% + 48px);left:-24px;top:-17px;opacity:0;height:45px;z-index:2;background-color:transparent;display:flex;flex-direction:row;justify-content:space-between}.bcm-range .touch-point{cursor:pointer;flex:1;border:1px solid var(--bcm-new-ds-color-slate-300);box-sizing:border-box;background-color:var(--bcm-new-ds-color-slate-300)}.bcm-range .touch-point:hover{border-color:var(--bcm-new-ds-color-blue-500);background-color:var(--bcm-new-ds-color-blue-500)}.bcm-range .touch::after,.bcm-range .touch::before{content:\"\";position:absolute;width:24px;height:100%;top:0}.bcm-range .touch::before{left:0}.bcm-range .touch::after{right:0}.bcm-range.vertical{margin:0 16px;padding:12px 0}.bcm-range.vertical .touch{width:calc(100% + 12px);left:-6px;top:-17px}.bcm-range.vertical .touch::after,.bcm-range.vertical .touch::before{width:12px}.bcm-range.vertical .bcm-range__container{transform:rotate(270deg)}.bcm-range.vertical .bcm-range__container .ticks .tick-text{position:absolute;top:0px;width:100%;transform:rotate(90deg)}";
@@ -28,7 +28,7 @@ const BcmRange = class {
28
28
  this.value = 0;
29
29
  this.height = "326px";
30
30
  this.name = undefined;
31
- this.direction = bcm.Bcm.Direction.horizontal;
31
+ this.direction = bcm.Bcm$1.Direction.horizontal;
32
32
  this._prefix = undefined;
33
33
  this._suffix = undefined;
34
34
  this.multiple = false;
@@ -53,7 +53,7 @@ const BcmRange = class {
53
53
  }
54
54
  generate.Generate.createComponent('bcm-tooltip-box', {
55
55
  id: 'box-' + this._id,
56
- placement: this.direction === bcm.Bcm.Direction.horizontal ? bcm.Bcm.Placement.top : bcm.Bcm.Placement.left,
56
+ placement: this.direction === bcm.Bcm$1.Direction.horizontal ? bcm.Bcm$1.Placement.top : bcm.Bcm$1.Placement.left,
57
57
  color: 'blue'
58
58
  });
59
59
  }
@@ -174,7 +174,7 @@ const BcmRange = class {
174
174
  height: '100%',
175
175
  width: height,
176
176
  };
177
- return (index.h(index.Host, { class: hostClasses, style: direction == bcm.Bcm.Direction.vertical && { height: height } }, index.h("div", { class: "bcm-range__container", style: direction == bcm.Bcm.Direction.vertical && verticalStyle }, index.h("input", { type: "range", id: `input-left-${this._id}`, min: leftMin, max: max, step: step, onChange: (event) => { this.syncValues('left', event); this.handleChange(); }, onInput: (event) => { this.syncValues('left', event); this.getTooltip('left').hide(); this.getTooltip('left').show(); }, onMouseOver: () => { this.getThumb('left').classList.add('hover'); this.getTooltip('left').show(); }, onMouseOut: () => { this.getThumb('left').classList.remove('hover'); this.getTooltip('left').hide(); }, value: this.leftValue, class: { 'single': !this.multiple } }), index.h("input", { type: "range", id: `input-right-${this._id}`, min: min, max: max, onChange: (event) => { this.syncValues('right', event); this.handleChange(); }, onInput: (event) => { this.syncValues('right', event); this.getTooltip('right').hide(); this.getTooltip('right').show(); }, onMouseOver: () => { this.getThumb('right').classList.add('hover'); this.getTooltip('right').show(); }, onMouseOut: () => { this.getThumb('right').classList.remove('hover'); this.getTooltip('right').hide(); }, step: step, value: this.rightValue }), index.h("div", { class: "bcm-range__container-bar" }, index.h("div", { class: "ticks" }, index.h(Ticks, null)), index.h("div", { class: "bcm-range__container-bar-track" }), index.h("div", { class: "bcm-range__container-bar-range", id: "bcm-range__thumb-range" }), index.h("div", { class: "bcm-range__container-bar-thumb left", id: `bcm-range__thumb-left-${this._id}` }, index.h("span", null)), index.h("div", { class: "bcm-range__container-bar-thumb right", id: `bcm-range__thumb-right-${this._id}` }, index.h("span", null))), index.h("div", { class: "touch" }, index.h(Touch, null)))));
177
+ return (index.h(index.Host, { class: hostClasses, style: direction == bcm.Bcm$1.Direction.vertical && { height: height } }, index.h("div", { class: "bcm-range__container", style: direction == bcm.Bcm$1.Direction.vertical && verticalStyle }, index.h("input", { type: "range", role: "slider", "aria-label": "range", id: `input-left-${this._id}`, min: leftMin, max: max, step: step, onChange: (event) => { this.syncValues('left', event); this.handleChange(); }, onInput: (event) => { this.syncValues('left', event); this.getTooltip('left').hide(); this.getTooltip('left').show(); }, onMouseOver: () => { this.getThumb('left').classList.add('hover'); this.getTooltip('left').show(); }, onMouseOut: () => { this.getThumb('left').classList.remove('hover'); this.getTooltip('left').hide(); }, value: this.leftValue, class: { 'single': !this.multiple } }), index.h("input", { type: "range", id: `input-right-${this._id}`, role: "slider", "aria-label": "range", min: min, max: max, onChange: (event) => { this.syncValues('right', event); this.handleChange(); }, onInput: (event) => { this.syncValues('right', event); this.getTooltip('right').hide(); this.getTooltip('right').show(); }, onMouseOver: () => { this.getThumb('right').classList.add('hover'); this.getTooltip('right').show(); }, onMouseOut: () => { this.getThumb('right').classList.remove('hover'); this.getTooltip('right').hide(); }, step: step, value: this.rightValue }), index.h("div", { class: "bcm-range__container-bar" }, index.h("div", { class: "ticks" }, index.h(Ticks, null)), index.h("div", { class: "bcm-range__container-bar-track" }), index.h("div", { class: "bcm-range__container-bar-range", id: "bcm-range__thumb-range" }), index.h("div", { class: "bcm-range__container-bar-thumb left", id: `bcm-range__thumb-left-${this._id}` }, index.h("span", null)), index.h("div", { class: "bcm-range__container-bar-thumb right", id: `bcm-range__thumb-right-${this._id}` }, index.h("span", null))), index.h("div", { class: "touch" }, index.h(Touch, null)))));
178
178
  }
179
179
  get el() { return index.getElement(this); }
180
180
  };