bromcom-ui 2.11.1-rc.9-2 → 2.11.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 (334) 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-04068410.entry.js +5 -0
  4. package/dist/bromcom-ui/p-06392358.entry.js +5 -0
  5. package/dist/bromcom-ui/p-08af4159.entry.js +5 -0
  6. package/dist/bromcom-ui/{p-2cd6cdee.js → p-09318a64.js} +1 -1
  7. package/dist/bromcom-ui/p-0bde4e71.entry.js +5 -0
  8. package/dist/bromcom-ui/p-0d87846a.entry.js +5 -0
  9. package/dist/bromcom-ui/p-0ed34855.entry.js +5 -0
  10. package/dist/bromcom-ui/p-0f58e83a.js +5 -0
  11. package/dist/bromcom-ui/p-19283acb.entry.js +5 -0
  12. package/dist/bromcom-ui/p-1e377d82.js +5 -0
  13. package/dist/bromcom-ui/p-207c20c6.entry.js +5 -0
  14. package/dist/bromcom-ui/{p-d4535e9b.entry.js → p-20b5c273.entry.js} +1 -1
  15. package/dist/bromcom-ui/p-24906295.entry.js +5 -0
  16. package/dist/bromcom-ui/p-2b4970f5.entry.js +5 -0
  17. package/dist/bromcom-ui/p-2d3ff3b8.entry.js +5 -0
  18. package/dist/bromcom-ui/p-2e7107b8.entry.js +5 -0
  19. package/dist/bromcom-ui/p-3115008f.entry.js +5 -0
  20. package/dist/bromcom-ui/p-346395fa.entry.js +5 -0
  21. package/dist/bromcom-ui/p-375906b2.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-3f84d1c5.entry.js → p-3861fc92.entry.js} +1 -1
  23. package/dist/bromcom-ui/p-3f3579b5.entry.js +5 -0
  24. package/dist/bromcom-ui/p-41e75c88.entry.js +5 -0
  25. package/dist/bromcom-ui/p-4e44bab2.entry.js +5 -0
  26. package/dist/bromcom-ui/p-5196912d.js +5 -0
  27. package/dist/bromcom-ui/p-51b2e857.entry.js +5 -0
  28. package/dist/bromcom-ui/p-52a75efb.entry.js +5 -0
  29. package/dist/bromcom-ui/{p-4ef9abca.entry.js → p-5c70a918.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-5fbb4950.entry.js +5 -0
  31. package/dist/bromcom-ui/{p-5d9a5c33.entry.js → p-630a4d45.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-65ac7386.entry.js +5 -0
  33. package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
  34. package/dist/bromcom-ui/p-7005fb55.entry.js +5 -0
  35. package/dist/bromcom-ui/{p-3556d078.js → p-743731ac.js} +1 -1
  36. package/dist/bromcom-ui/p-7c512c4d.entry.js +5 -0
  37. package/dist/bromcom-ui/{p-36544f78.entry.js → p-81887469.entry.js} +1 -1
  38. package/dist/bromcom-ui/p-81cbc318.entry.js +5 -0
  39. package/dist/bromcom-ui/p-82d01088.entry.js +5 -0
  40. package/dist/bromcom-ui/p-82f0b161.js +5 -0
  41. package/dist/bromcom-ui/p-84b97f53.entry.js +5 -0
  42. package/dist/bromcom-ui/p-857628f6.js +5 -0
  43. package/dist/bromcom-ui/{p-ccc6f14e.entry.js → p-887c26f8.entry.js} +1 -1
  44. package/dist/bromcom-ui/p-8a6fb2d5.entry.js +5 -0
  45. package/dist/bromcom-ui/{p-59a92a47.js → p-8ed054fe.js} +1 -1
  46. package/dist/bromcom-ui/p-926f8ac4.entry.js +5 -0
  47. package/dist/bromcom-ui/p-950a341e.entry.js +7 -0
  48. package/dist/bromcom-ui/p-9810187e.entry.js +5 -0
  49. package/dist/bromcom-ui/p-9b5c86e1.entry.js +5 -0
  50. package/dist/bromcom-ui/p-a0d6d680.js +1 -1
  51. package/dist/bromcom-ui/{p-a1b05d8a.entry.js → p-a1e299af.entry.js} +1 -1
  52. package/dist/bromcom-ui/p-a313fba6.js +1 -1
  53. package/dist/bromcom-ui/p-a34bc3d8.entry.js +5 -0
  54. package/dist/bromcom-ui/p-a42fbe84.entry.js +5 -0
  55. package/dist/bromcom-ui/p-a5208f05.entry.js +5 -0
  56. package/dist/bromcom-ui/p-a6142e74.entry.js +5 -0
  57. package/dist/bromcom-ui/p-aea1b034.entry.js +5 -0
  58. package/dist/bromcom-ui/p-b381e7f1.js +19 -0
  59. package/dist/bromcom-ui/p-b4da198b.entry.js +5 -0
  60. package/dist/bromcom-ui/{p-a97531d3.entry.js → p-b764ab86.entry.js} +1 -1
  61. package/dist/bromcom-ui/p-bde67994.entry.js +5 -0
  62. package/dist/bromcom-ui/p-c1761829.entry.js +5 -0
  63. package/dist/bromcom-ui/{p-b92f3501.js → p-c7aff122.js} +1 -1
  64. package/dist/bromcom-ui/p-c7caf94d.js +5 -0
  65. package/dist/bromcom-ui/{p-a9fb78a2.entry.js → p-ce3b34da.entry.js} +1 -1
  66. package/dist/bromcom-ui/p-cf011393.entry.js +5 -0
  67. package/dist/bromcom-ui/p-d01426b6.entry.js +5 -0
  68. package/dist/bromcom-ui/p-d098f115.entry.js +5 -0
  69. package/dist/bromcom-ui/p-d9fcd150.js +5 -0
  70. package/dist/bromcom-ui/{p-8120dcc7.entry.js → p-dc62a5f7.entry.js} +1 -1
  71. package/dist/bromcom-ui/p-e3c69b3b.entry.js +5 -0
  72. package/dist/bromcom-ui/{p-4035fdf1.entry.js → p-e9333e52.entry.js} +1 -1
  73. package/dist/bromcom-ui/p-f56f2a2d.entry.js +5 -0
  74. package/dist/bromcom-ui/p-fcf4b343.entry.js +5 -0
  75. package/dist/bromcom-ui/p-fe776e62.entry.js +5 -0
  76. package/dist/cjs/Overflow-a821abd0.js +2769 -0
  77. package/dist/cjs/{bcm-1d1fcf21.js → bcm-489c9b1a.js} +4 -4
  78. package/dist/cjs/bcm-accordion.cjs.entry.js +74 -0
  79. package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
  80. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -9
  81. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -9
  82. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +329 -0
  83. package/dist/cjs/bcm-attendance.cjs.entry.js +35 -0
  84. package/dist/cjs/bcm-avatar_2.cjs.entry.js +209 -0
  85. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  86. package/dist/cjs/bcm-button-group.cjs.entry.js +92 -0
  87. package/dist/cjs/bcm-button_15.cjs.entry.js +18623 -0
  88. package/dist/cjs/bcm-caption.cjs.entry.js +9 -10
  89. package/dist/cjs/bcm-card.cjs.entry.js +5 -5
  90. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +415 -0
  91. package/dist/cjs/{bcm-checkbox-lite_8.cjs.entry.js → bcm-checkbox-lite_9.cjs.entry.js} +26 -6
  92. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +194 -0
  93. package/dist/cjs/bcm-chip-group.cjs.entry.js +9 -10
  94. package/dist/cjs/bcm-chip.cjs.entry.js +91 -0
  95. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  96. package/dist/cjs/bcm-color-input.cjs.entry.js +76 -0
  97. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  98. package/dist/cjs/bcm-drawer.cjs.entry.js +95 -0
  99. package/dist/cjs/bcm-dropdown.cjs.entry.js +119 -0
  100. package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
  101. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +116 -0
  102. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  103. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +10 -11
  104. package/dist/cjs/bcm-item.cjs.entry.js +72 -0
  105. package/dist/cjs/bcm-items.cjs.entry.js +49 -0
  106. package/dist/cjs/bcm-link.cjs.entry.js +3 -3
  107. package/dist/cjs/bcm-list_3.cjs.entry.js +1970 -0
  108. package/dist/cjs/bcm-menu.cjs.entry.js +150 -0
  109. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -7
  110. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -7
  111. package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -8
  112. package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
  113. package/dist/cjs/bcm-number-input.cjs.entry.js +9 -10
  114. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +115 -0
  115. package/dist/cjs/bcm-popconfirm.cjs.entry.js +101 -0
  116. package/dist/cjs/bcm-popover.cjs.entry.js +9 -10
  117. package/dist/cjs/bcm-progress.cjs.entry.js +162 -0
  118. package/dist/cjs/bcm-radio-group.cjs.entry.js +160 -0
  119. package/dist/cjs/bcm-radio.cjs.entry.js +64 -0
  120. package/dist/cjs/bcm-range.cjs.entry.js +6 -6
  121. package/dist/cjs/bcm-select.cjs.entry.js +2 -2
  122. package/dist/cjs/bcm-shortcut.cjs.entry.js +64 -0
  123. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -7
  124. package/dist/cjs/bcm-step.cjs.entry.js +89 -0
  125. package/dist/cjs/bcm-stepper.cjs.entry.js +239 -0
  126. package/dist/cjs/bcm-switch.cjs.entry.js +151 -0
  127. package/dist/cjs/bcm-tab-group.cjs.entry.js +209 -0
  128. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +58 -0
  129. package/dist/cjs/bcm-tab-item.cjs.entry.js +90 -0
  130. package/dist/cjs/bcm-table.cjs.entry.js +6 -7
  131. package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
  132. package/dist/cjs/bcm-text.cjs.entry.js +49 -0
  133. package/dist/cjs/bcm-textarea.cjs.entry.js +163 -0
  134. package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
  135. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  136. package/dist/cjs/{caption-template-85a18b6d.js → caption-template-086e9cac.js} +2 -2
  137. package/dist/cjs/{floating-ui-5b396838.js → floating-ui-21890d11.js} +2 -2
  138. package/dist/cjs/{generate-f4bfa0a4.js → generate-82c63a56.js} +1 -1
  139. package/dist/cjs/{global-34b7d357.js → global-1e13ce25.js} +1 -1
  140. package/dist/cjs/input-template-e0087a2b.js +92 -0
  141. package/dist/cjs/json-parse-decarator-e0946e2e.js +40 -0
  142. package/dist/cjs/{label-template-e83447b5.js → label-template-94b3d775.js} +3 -3
  143. package/dist/cjs/loader.cjs.js +3 -3
  144. package/dist/cjs/{number-helper-8b2bc297.js → number-helper-10017fcd.js} +1 -1
  145. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
  146. package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
  147. package/dist/cjs/{package-b728c16f.js → package-13f78ab4.js} +1 -1
  148. package/dist/cjs/{popover-placement-02e6101b.js → popover-placement-e7d6eabd.js} +1 -1
  149. package/dist/cjs/{slot-template-df7b5b59.js → slot-template-c8e2816c.js} +1 -1
  150. package/dist/cjs/stepper-states-77438c3a.js +85 -0
  151. package/dist/cjs/{string-helper-9cdfb273.js → string-helper-f9184277.js} +2 -2
  152. package/dist/cjs/tooltip-helper-a2793290.js +157 -0
  153. package/dist/cjs/{validators-816514ff.js → validators-f4c3063b.js} +6 -1
  154. package/dist/collection/components/atoms/avatar/avatar.js +1 -1
  155. package/dist/collection/components/atoms/badge/badge.js +1 -1
  156. package/dist/collection/components/atoms/badge/badge.style.js +1 -1
  157. package/dist/collection/components/atoms/button/button.css +13 -13
  158. package/dist/collection/components/atoms/button/button.js +14 -14
  159. package/dist/collection/components/atoms/chip/chip.css +4 -4
  160. package/dist/collection/components/atoms/chip/chip.js +3 -3
  161. package/dist/collection/components/molecules/checkbox/group.css +2 -2
  162. package/dist/collection/components/molecules/checkbox/group.js +1 -1
  163. package/dist/collection/components/molecules/color-input/color-input.js +1 -1
  164. package/dist/collection/components/molecules/empty/empty.js +1 -1
  165. package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
  166. package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
  167. package/dist/collection/components/molecules/input/input.js +1 -1
  168. package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +1 -1
  169. package/dist/collection/components/molecules/menu/menu.css +4 -4
  170. package/dist/collection/components/molecules/radio/radio-group.js +1 -1
  171. package/dist/collection/components/molecules/radio/radio.js +1 -1
  172. package/dist/collection/components/molecules/range/range.js +1 -1
  173. package/dist/collection/components/molecules/switch/switch.css +2 -2
  174. package/dist/collection/components/molecules/tab-group/tab-group.js +2 -2
  175. package/dist/collection/components/molecules/tab-group/tab-item-header.js +5 -5
  176. package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
  177. package/dist/collection/components/organism/list/list.js +2 -2
  178. package/dist/collection/components/other/attendance/attendance.js +1 -1
  179. package/dist/collection/components/third-parts/rc-picker/date.js +1 -1
  180. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +40 -5
  181. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +11 -2
  182. package/dist/collection/stories/ui-library/components/date/argTypes_common.js +0 -1
  183. package/dist/collection/templates/button-template.js +1 -1
  184. package/dist/collection/templates/caption-template.js +2 -2
  185. package/dist/collection/templates/input-template.js +1 -1
  186. package/dist/collection/templates/label-template.js +1 -1
  187. package/dist/collection/templates/list-item-template.js +1 -1
  188. package/dist/collection/templates/list-template.js +9 -3
  189. package/dist/components/{raf.js → Overflow.js} +692 -69
  190. package/dist/components/avatar.js +1 -1
  191. package/dist/components/badge.js +2 -2
  192. package/dist/components/bcm-attendance.js +1 -1
  193. package/dist/components/bcm-checkbox-group.js +2 -2
  194. package/dist/components/bcm-color-input.js +1 -1
  195. package/dist/components/bcm-date.js +1 -1
  196. package/dist/components/bcm-error-layout.js +1 -1
  197. package/dist/components/bcm-expansion-panel.js +1 -1
  198. package/dist/components/bcm-input-dropdown.js +1 -1
  199. package/dist/components/bcm-radio-group.js +1 -1
  200. package/dist/components/bcm-range.js +1 -1
  201. package/dist/components/bcm-switch.js +1 -1
  202. package/dist/components/bcm-tab-group.js +2 -2
  203. package/dist/components/bcm-tab-item-header.js +5 -5
  204. package/dist/components/button.js +16 -16
  205. package/dist/components/caption-template.js +2 -2
  206. package/dist/components/chip.js +4 -4
  207. package/dist/components/empty.js +1 -1
  208. package/dist/components/generate.js +1 -1
  209. package/dist/components/input-template.js +1 -1
  210. package/dist/components/input.js +1 -1
  211. package/dist/components/label.js +1 -1
  212. package/dist/components/list.js +12 -6
  213. package/dist/components/menu.js +1 -1
  214. package/dist/components/radio.js +1 -1
  215. package/dist/components/rc-overflow.js +1 -593
  216. package/dist/components/rc-picker.js +8620 -8025
  217. package/dist/components/tooltip.js +1 -1
  218. package/dist/esm/Overflow-2cffcda0.js +2750 -0
  219. package/dist/esm/bcm-a50d55ba.js +1 -1
  220. package/dist/esm/bcm-accordion.entry.js +70 -0
  221. package/dist/esm/bcm-alert.entry.js +2 -2
  222. package/dist/esm/bcm-attendance-actions-comment.entry.js +5 -6
  223. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +5 -6
  224. package/dist/esm/bcm-attendance-actions.entry.js +325 -0
  225. package/dist/esm/bcm-attendance.entry.js +31 -0
  226. package/dist/esm/bcm-avatar_2.entry.js +204 -0
  227. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  228. package/dist/esm/bcm-button-group.entry.js +88 -0
  229. package/dist/esm/bcm-button_15.entry.js +18605 -0
  230. package/dist/esm/bcm-caption.entry.js +6 -7
  231. package/dist/esm/bcm-card.entry.js +2 -2
  232. package/dist/esm/bcm-checkbox-group.entry.js +411 -0
  233. package/dist/esm/{bcm-checkbox-lite_8.entry.js → bcm-checkbox-lite_9.entry.js} +24 -5
  234. package/dist/esm/bcm-checkbox_2.entry.js +189 -0
  235. package/dist/esm/bcm-chip-group.entry.js +7 -8
  236. package/dist/esm/bcm-chip.entry.js +87 -0
  237. package/dist/esm/bcm-collapse.entry.js +2 -2
  238. package/dist/esm/bcm-color-input.entry.js +72 -0
  239. package/dist/esm/bcm-default.entry.js +2 -2
  240. package/dist/esm/bcm-drawer.entry.js +91 -0
  241. package/dist/esm/bcm-dropdown.entry.js +115 -0
  242. package/dist/esm/bcm-error-layout.entry.js +1 -1
  243. package/dist/esm/bcm-expansion-panel.entry.js +112 -0
  244. package/dist/esm/bcm-input-custom.entry.js +2 -2
  245. package/dist/esm/bcm-input-dropdown.entry.js +7 -8
  246. package/dist/esm/bcm-item.entry.js +68 -0
  247. package/dist/esm/bcm-items.entry.js +45 -0
  248. package/dist/esm/bcm-link.entry.js +1 -1
  249. package/dist/esm/bcm-list_3.entry.js +1964 -0
  250. package/dist/esm/bcm-menu.entry.js +146 -0
  251. package/dist/esm/bcm-modal-2-footer.entry.js +4 -5
  252. package/dist/esm/bcm-modal-2-header.entry.js +4 -5
  253. package/dist/esm/bcm-modal-2.entry.js +5 -6
  254. package/dist/esm/bcm-modal.entry.js +3 -3
  255. package/dist/esm/bcm-number-input.entry.js +6 -7
  256. package/dist/esm/bcm-popconfirm-box.entry.js +111 -0
  257. package/dist/esm/bcm-popconfirm.entry.js +97 -0
  258. package/dist/esm/bcm-popover.entry.js +5 -6
  259. package/dist/esm/bcm-progress.entry.js +158 -0
  260. package/dist/esm/bcm-radio-group.entry.js +156 -0
  261. package/dist/esm/bcm-radio.entry.js +60 -0
  262. package/dist/esm/bcm-range.entry.js +4 -4
  263. package/dist/esm/bcm-shortcut.entry.js +60 -0
  264. package/dist/esm/bcm-skeleton.entry.js +4 -5
  265. package/dist/esm/bcm-step.entry.js +85 -0
  266. package/dist/esm/bcm-stepper.entry.js +235 -0
  267. package/dist/esm/bcm-switch.entry.js +147 -0
  268. package/dist/esm/bcm-tab-group.entry.js +205 -0
  269. package/dist/esm/bcm-tab-item-header.entry.js +54 -0
  270. package/dist/esm/bcm-tab-item.entry.js +86 -0
  271. package/dist/esm/bcm-table.entry.js +4 -5
  272. package/dist/esm/bcm-tag.entry.js +4 -4
  273. package/dist/esm/bcm-text.entry.js +45 -0
  274. package/dist/esm/bcm-textarea.entry.js +159 -0
  275. package/dist/esm/bcm-toast.entry.js +3 -3
  276. package/dist/esm/bromcom-ui.js +3 -3
  277. package/dist/esm/{caption-template-d7953d13.js → caption-template-fd7738eb.js} +2 -2
  278. package/dist/esm/floating-ui-3f4394da.js +1 -1
  279. package/dist/esm/{generate-44c39402.js → generate-b33f722f.js} +1 -1
  280. package/dist/esm/{global-8534a386.js → global-d524a06a.js} +1 -1
  281. package/dist/esm/input-template-453bfff8.js +90 -0
  282. package/dist/esm/json-parse-decarator-1aa4119c.js +38 -0
  283. package/dist/esm/{label-template-a26f76c0.js → label-template-374fbdcd.js} +2 -2
  284. package/dist/esm/loader.js +3 -3
  285. package/dist/esm/{number-helper-ce0f20fe.js → number-helper-712eedd0.js} +1 -1
  286. package/dist/esm/old-bcm-popover-box.entry.js +3 -3
  287. package/dist/esm/old-bcm-popover.entry.js +3 -3
  288. package/dist/esm/{package-b2db00f1.js → package-c604bd07.js} +1 -1
  289. package/dist/esm/stepper-states-00eb7d7d.js +83 -0
  290. package/dist/esm/string-helper-3592bdc2.js +1 -1
  291. package/dist/esm/tooltip-helper-088013ec.js +155 -0
  292. package/dist/esm/{validators-f9bc23cc.js → validators-ebf92486.js} +6 -2
  293. package/dist/types/templates/list-template.d.ts +0 -1
  294. package/package.json +2 -2
  295. package/dist/bromcom-ui/p-08501d86.entry.js +0 -5
  296. package/dist/bromcom-ui/p-1345d51b.entry.js +0 -5
  297. package/dist/bromcom-ui/p-1a9cd62d.entry.js +0 -5
  298. package/dist/bromcom-ui/p-1b21310e.entry.js +0 -5
  299. package/dist/bromcom-ui/p-2f92042f.entry.js +0 -5
  300. package/dist/bromcom-ui/p-3a220693.entry.js +0 -5
  301. package/dist/bromcom-ui/p-4d308bb7.entry.js +0 -5
  302. package/dist/bromcom-ui/p-528c5152.entry.js +0 -5
  303. package/dist/bromcom-ui/p-52cce799.entry.js +0 -5
  304. package/dist/bromcom-ui/p-5bb77b86.entry.js +0 -5
  305. package/dist/bromcom-ui/p-626a65e9.js +0 -5
  306. package/dist/bromcom-ui/p-677c5742.entry.js +0 -5
  307. package/dist/bromcom-ui/p-6a87d06d.entry.js +0 -5
  308. package/dist/bromcom-ui/p-6c152c86.entry.js +0 -5
  309. package/dist/bromcom-ui/p-77ede2fc.entry.js +0 -20
  310. package/dist/bromcom-ui/p-8375c8c4.entry.js +0 -5
  311. package/dist/bromcom-ui/p-a0f44b56.entry.js +0 -5
  312. package/dist/bromcom-ui/p-b2ba36fa.entry.js +0 -5
  313. package/dist/bromcom-ui/p-b6e2c3cb.entry.js +0 -5
  314. package/dist/bromcom-ui/p-ca33b8ba.js +0 -5
  315. package/dist/bromcom-ui/p-d00ca988.js +0 -5
  316. package/dist/bromcom-ui/p-d90fbea6.entry.js +0 -5
  317. package/dist/bromcom-ui/p-db66b04a.entry.js +0 -5
  318. package/dist/bromcom-ui/p-de0b0192.entry.js +0 -5
  319. package/dist/bromcom-ui/p-e439b584.entry.js +0 -5
  320. package/dist/bromcom-ui/p-eca0acda.js +0 -5
  321. package/dist/cjs/bcm-accordion_45.cjs.entry.js +0 -23947
  322. package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -182
  323. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1450
  324. package/dist/cjs/bcm-form-2.cjs.entry.js +0 -212
  325. package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
  326. package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -150
  327. package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
  328. package/dist/esm/bcm-accordion_45.entry.js +0 -23899
  329. package/dist/esm/bcm-date-picker.entry.js +0 -178
  330. package/dist/esm/bcm-datetime-picker.entry.js +0 -1446
  331. package/dist/esm/bcm-form-2.entry.js +0 -208
  332. package/dist/esm/bcm-old-input.entry.js +0 -393
  333. package/dist/esm/bcm-time-picker.entry.js +0 -146
  334. package/dist/esm/datetime-helper-df25808a.js +0 -9
@@ -0,0 +1,162 @@
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
+ const index$1 = require('./index-95ae50d0.js');
11
+ const colorHelper = require('./color-helper-c3a819ea.js');
12
+ const generate = require('./generate-82c63a56.js');
13
+ const bcm = require('./bcm-489c9b1a.js');
14
+ require('./_commonjsHelpers-ed84c3ca.js');
15
+ require('./colors-56282b00.js');
16
+ require('./utils-fc077139.js');
17
+ require('./colors-078851ec.js');
18
+ require('./package-13f78ab4.js');
19
+
20
+ // export const lineSizes = {
21
+ // small: {
22
+ // textSize: 'size-1',
23
+ // iconSize: 14,
24
+ // },
25
+ // medium: {
26
+ // textSize: 'size-2',
27
+ // iconSize: 16,
28
+ // }
29
+ // }
30
+ const circleSizes = {
31
+ small: {
32
+ textSize: 'size-3',
33
+ iconSize: 22,
34
+ circleSize: 80,
35
+ radius: 36
36
+ },
37
+ medium: {
38
+ textSize: 'size-5',
39
+ iconSize: 30,
40
+ circleSize: 120,
41
+ radius: 52
42
+ }
43
+ };
44
+
45
+ const progressCss = "@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-progress{--bcm-progress-color:var(--bcm-new-ds-color-blue-500);display:inline-block;min-width:50px;width:100%;max-width:256px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400}.bcm-progress.full-width{width:100%;max-width:100%;min-width:auto}.bcm-progress__line{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;min-height:8px}.bcm-progress__line .value{margin-left:8px;color:var(--bcm-new-ds-color-slate-500);min-width:32px;font-size:14px;min-height:calc(14px + 8px);font-weight:500}.bcm-progress__line-progress{width:100%;flex:1;height:8px;border:0 none;background:var(--bcm-new-ds-color-slate-200);appearance:none}.bcm-progress__line-progress.small{height:6px}.bcm-progress__line-progress.line-rounded,.bcm-progress__line-progress.line-rounded::-webkit-progress-value{border-radius:8px}.bcm-progress__line-progress.line-rounded::-moz-progress-bar{border-radius:8px}.bcm-progress__line-progress.completed::-webkit-progress-value{background-color:var(--bcm-progress-color)}.bcm-progress__line-progress.completed::-moz-progress-bar{background-color:var(--bcm-progress-color)}.bcm-progress__line-progress.error::-webkit-progress-value{background-color:var(--bcm-new-ds-color-red-500)}.bcm-progress__line-progress.error::-moz-progress-bar{background-color:var(--bcm-new-ds-color-red-500)}.bcm-progress__line-progress.error .value{color:var(--bcm-new-ds-color-red-500)}.bcm-progress__line-progress::-webkit-progress-bar{background:transparent}.bcm-progress__line-progress::-webkit-progress-value{background-color:var(--bcm-progress-color);transition:0.3s}.bcm-progress__line-progress::-moz-progress-bar{background-color:var(--bcm-progress-color);transition:0.3s}.bcm-progress__circle{position:relative}.bcm-progress__circle bcm-icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.bcm-progress__circle text{fill:var(--bcm-new-ds-color-slate-500);font-size:18px;line-height:calc(18px + 8px);font-weight:500}.bcm-progress__circle-circle{transition:0.35s stroke-dashoffset, 0.1s stroke;transform:rotate(-90deg);transform-origin:50% 50%;stroke:#F5F5F5;stroke-width:6px;fill:transparent}.bcm-progress__circle-circle.bar{stroke:var(--bcm-progress-color)}.bcm-progress__circle-circle.completed{stroke:var(--bcm-new-ds-color-emerald-500)}.bcm-progress__circle-circle.error{stroke:var(--bcm-new-ds-color-red-500)}";
46
+
47
+ const BcmProgress = class {
48
+ constructor(hostRef) {
49
+ index.registerInstance(this, hostRef);
50
+ this._id = generate.Generate.UID();
51
+ this.value = 0;
52
+ this.max = 100;
53
+ this.size = bcm.Bcm.Size.medium;
54
+ this.type = "line-rounded";
55
+ this.info = null;
56
+ this.error = false;
57
+ this.hidden = false;
58
+ this.fullWidth = false;
59
+ this.color = "blue";
60
+ this.isCompleted = false;
61
+ }
62
+ connectedCallback() {
63
+ this.maxPercent(this.value);
64
+ }
65
+ componentDidRender() {
66
+ const circle = this.el.querySelector("#circle");
67
+ if (circle) {
68
+ const radius = circle.r.baseVal.value;
69
+ const circumference = radius * 2 * Math.PI;
70
+ const offset = circumference - (this.value / this.max) * circumference;
71
+ circle.style.strokeDasharray = `${circumference} ${circumference}`;
72
+ circle.style.strokeDashoffset = `${circumference}`;
73
+ circle.style.strokeDashoffset = `${offset}`;
74
+ }
75
+ }
76
+ componentShouldUpdate(newVal, oldVal, propName) {
77
+ if (propName === "value" && newVal !== oldVal) {
78
+ this.handlePercent(newVal);
79
+ }
80
+ if (propName === "max" && newVal !== oldVal) {
81
+ this.value > newVal ? this.value = newVal : this.value;
82
+ }
83
+ }
84
+ maxPercent(newValue) {
85
+ if (newValue >= this.max) {
86
+ this.value = this.max;
87
+ this.isCompleted = true;
88
+ }
89
+ if (newValue < this.max) {
90
+ this.isCompleted = false;
91
+ }
92
+ if (newValue <= 0) {
93
+ this.value = 0;
94
+ }
95
+ }
96
+ async increment(percent) {
97
+ this.handlePercent(+percent, "increment");
98
+ }
99
+ async decrement(percent) {
100
+ this.handlePercent(+percent, "decrement");
101
+ }
102
+ async set(percent) {
103
+ this.handlePercent(+percent, "set");
104
+ }
105
+ handlePercent(percent, process = "set") {
106
+ if ((percent || percent == 0) && typeof percent === "number") {
107
+ switch (process) {
108
+ case "increment":
109
+ this.value += percent;
110
+ break;
111
+ case "decrement":
112
+ this.value -= percent;
113
+ break;
114
+ case "set":
115
+ this.value = percent;
116
+ break;
117
+ }
118
+ this.maxPercent(this.value);
119
+ this.error = false;
120
+ }
121
+ else {
122
+ this.error = true;
123
+ }
124
+ }
125
+ getIcon(type = "line") {
126
+ let icon = "far fa-" + (this.error ? "times" : "check") + (type === "line" ? "-circle" : "");
127
+ if (this.error || (this.info === "icon" && this.isCompleted)) {
128
+ return index.h("bcm-icon", { icon: icon });
129
+ }
130
+ }
131
+ render() {
132
+ const { type, hidden, error, size, isCompleted, value, fullWidth } = this;
133
+ const isIcon = this.info === "icon";
134
+ const { circleSize, radius, textSize } = circleSizes[this.size];
135
+ const centerOfCircle = +circleSize / 2;
136
+ const completeState = index$1.classnames({
137
+ completed: isIcon && isCompleted,
138
+ error,
139
+ });
140
+ const lineClasses = index$1.classnames("bcm-progress__line-progress", size, type, completeState);
141
+ const circleClasses = index$1.classnames("bcm-progress__circle-circle", "bar", completeState);
142
+ const containerStyle = {
143
+ width: `${circleSize}px`,
144
+ height: `${circleSize}px`,
145
+ };
146
+ const hostClasses = index$1.classnames("bcm-progress", {
147
+ hidden,
148
+ "full-width": fullWidth,
149
+ });
150
+ const CircleTemplate = () => (index.h("div", { class: "bcm-progress__circle", style: containerStyle }, index.h("svg", { width: circleSize, height: circleSize }, index.h("circle", { r: radius, cx: centerOfCircle, cy: centerOfCircle, class: "bcm-progress__circle-circle" }), index.h("circle", { r: radius, cx: centerOfCircle, cy: centerOfCircle, class: circleClasses, id: "circle" }), (this.info && this.info != "icon") && !this.error && (index.h("text", { x: centerOfCircle, y: centerOfCircle, "text-anchor": "middle", class: textSize, "alignment-baseline": "middle" }, this.info === "value-max" && (value + "/" + this.max), this.info === "value" && { value }, this.info === "percent" &&
151
+ (100 / this.max) * +(value) + "%"))), this.getIcon("circle")));
152
+ const LineTemplate = () => (index.h("div", { class: "bcm-progress__line" }, index.h("progress", { class: lineClasses, value: value, max: this.max }), this.info === "value-max" && index.h("span", { class: "value" }, value, "/", this.max, " "), this.info === "value" && index.h("span", { class: "value" }, value, " "), this.info === "percent" &&
153
+ index.h("span", { class: "value" }, (100 / this.max) * +(value), "%"), this.info === "icon" && index.h("span", { class: "value" }, this.getIcon("line"))));
154
+ return (index.h(index.Host, { class: hostClasses, style: {
155
+ [`--bcm-progress-color`]: colorHelper.ColorHelper.dsColor(this.color),
156
+ } }, type === "circle" ? index.h(CircleTemplate, null) : index.h(LineTemplate, null)));
157
+ }
158
+ get el() { return index.getElement(this); }
159
+ };
160
+ BcmProgress.style = progressCss;
161
+
162
+ exports.bcm_progress = BcmProgress;
@@ -0,0 +1,160 @@
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-c3a819ea.js');
11
+ require('./validators-f4c3063b.js');
12
+ const generate = require('./generate-82c63a56.js');
13
+ require('./number-helper-10017fcd.js');
14
+ require('./string-helper-f9184277.js');
15
+ require('./element-dragger-a8562f82.js');
16
+ const utils = require('./utils-fc077139.js');
17
+ const bcm = require('./bcm-489c9b1a.js');
18
+ const captionTemplate = require('./caption-template-086e9cac.js');
19
+ const index$1 = require('./index-95ae50d0.js');
20
+ require('./types-cc4adee7.js');
21
+ require('./types-7523fd99.js');
22
+ const isLoadDecorator = require('./is-load-decorator-15036f37.js');
23
+ require('./colors-56282b00.js');
24
+ require('./colors-078851ec.js');
25
+ require('./_commonjsHelpers-ed84c3ca.js');
26
+ require('./package-13f78ab4.js');
27
+
28
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
29
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
30
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
31
+ r = Reflect.decorate(decorators, target, key, desc);
32
+ else
33
+ for (var i = decorators.length - 1; i >= 0; i--)
34
+ if (d = decorators[i])
35
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
36
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
37
+ };
38
+ const BcmRadioGroup = class {
39
+ constructor(hostRef) {
40
+ index.registerInstance(this, hostRef);
41
+ this.change = index.createEvent(this, "bcm-change", 7);
42
+ this._id = generate.Generate.UID();
43
+ this.label = undefined;
44
+ this.name = undefined;
45
+ this.value = null;
46
+ this.defaultValue = undefined;
47
+ this.size = bcm.Bcm$1.Size.medium;
48
+ this.disabled = undefined;
49
+ this.hidden = false;
50
+ this.required = false;
51
+ this.gap = undefined;
52
+ this.direction = bcm.Bcm$1.Direction.horizontal;
53
+ this.fullWidth = false;
54
+ this.items = [];
55
+ this.caption = undefined;
56
+ this.noCaption = false;
57
+ this.captionError = undefined;
58
+ this.captionType = bcm.Bcm$1.Status.default;
59
+ this.captionCache = undefined;
60
+ this.captionTypeCache = undefined;
61
+ }
62
+ get radios() {
63
+ return Array.from(this.el.querySelectorAll("bcm-radio"));
64
+ }
65
+ get Items() {
66
+ return this.items;
67
+ }
68
+ connectedCallback() {
69
+ this.captionCache = this.caption;
70
+ this.captionTypeCache = this.captionType;
71
+ }
72
+ updateValue() {
73
+ var _a, _b, _c;
74
+ this.value = (_c = (_b = (_a = this.radios) === null || _a === void 0 ? void 0 : _a.find(radio => radio.checked)) === null || _b === void 0 ? void 0 : _b.value) !== null && _c !== void 0 ? _c : null;
75
+ }
76
+ setRadioUpdate() {
77
+ var _a;
78
+ (_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
79
+ radio.disabled = this.disabled || radio.disabled;
80
+ radio.size = this.size;
81
+ if (this.defaultValue) {
82
+ radio.checked = radio.value == this.defaultValue;
83
+ }
84
+ });
85
+ }
86
+ watchDisabled(newVal, _oldVal) {
87
+ var _a;
88
+ (_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => radio.disabled = newVal);
89
+ }
90
+ watchDefaultValue(newVal, _oldVal) {
91
+ var _a;
92
+ (_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => radio.checked = radio.value == newVal);
93
+ this.updateValue();
94
+ this.change.emit(this.value);
95
+ }
96
+ componentWillLoad() {
97
+ this.setRadioUpdate();
98
+ this.updateValue();
99
+ }
100
+ handleChange(e) {
101
+ var _a, _b;
102
+ e.stopPropagation();
103
+ e.preventDefault();
104
+ const checked = (_a = e.target.checked) !== null && _a !== void 0 ? _a : false;
105
+ (_b = this.radios) === null || _b === void 0 ? void 0 : _b.forEach(radio => {
106
+ radio.checked = radio.id == e.target.id ? !checked : false;
107
+ });
108
+ this.updateValue();
109
+ this.change.emit(this.value);
110
+ }
111
+ ;
112
+ async setClear() {
113
+ var _a;
114
+ this.value = null;
115
+ (_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
116
+ radio.checked = false;
117
+ });
118
+ }
119
+ async resetCaption() {
120
+ await utils.delay(10);
121
+ this.caption = this.captionCache;
122
+ this.captionType = this.captionTypeCache;
123
+ this.captionError = null;
124
+ await utils.delay(10);
125
+ return Promise.resolve();
126
+ }
127
+ async check(itemId, checked = true) {
128
+ var _a;
129
+ (_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
130
+ radio.checked = radio.id == itemId || radio.value == itemId ? checked : false;
131
+ });
132
+ this.updateValue();
133
+ this.change.emit(this.value);
134
+ }
135
+ async get() {
136
+ return this.value;
137
+ }
138
+ async set(data) {
139
+ await this.check(data);
140
+ }
141
+ async getValue() {
142
+ return this.value;
143
+ }
144
+ render() {
145
+ var _a, _b;
146
+ const { direction, fullWidth, gap, label, size, required, disabled, caption, captionError, captionType, noCaption } = this;
147
+ return (index.h(index.Host, { role: "radio-group", class: "tw-mb-2 tw-flex tw-flex-col" }, label && index.h("bcm-label", { type: captionType, value: label, required: required }), index.h("div", { class: index$1.classnames("tw-flex tw-flex-wrap", direction == bcm.Bcm$1.Direction.horizontal ? "tw-flex-row" : "tw-flex-col", fullWidth && "tw-w-full"), style: { "gap": gap } }, index.h("slot", null), ((_a = this.Items) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
148
+ ((_b = this.Items) === null || _b === void 0 ? void 0 : _b.map(item => (index.h("bcm-radio", { id: item.id, value: item.value, disabled: disabled || item.disabled, checked: item.checked, color: item.color, size: size }, item.label))))), index.h(captionTemplate.CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
149
+ }
150
+ get el() { return index.getElement(this); }
151
+ static get watchers() { return {
152
+ "disabled": ["watchDisabled"],
153
+ "defaultValue": ["watchDefaultValue"]
154
+ }; }
155
+ };
156
+ __decorate([
157
+ isLoadDecorator.IsLoad()
158
+ ], BcmRadioGroup.prototype, "el", void 0);
159
+
160
+ exports.bcm_radio_group = BcmRadioGroup;
@@ -0,0 +1,64 @@
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
+ const bcm = require('./bcm-489c9b1a.js');
11
+ require('./color-helper-c3a819ea.js');
12
+ require('./validators-f4c3063b.js');
13
+ const generate = require('./generate-82c63a56.js');
14
+ require('./number-helper-10017fcd.js');
15
+ require('./string-helper-f9184277.js');
16
+ require('./element-dragger-a8562f82.js');
17
+ const index$1 = require('./index-95ae50d0.js');
18
+ require('./colors-56282b00.js');
19
+ require('./utils-fc077139.js');
20
+ require('./colors-078851ec.js');
21
+ require('./_commonjsHelpers-ed84c3ca.js');
22
+ require('./package-13f78ab4.js');
23
+
24
+ const BcmRadio = class {
25
+ constructor(hostRef) {
26
+ index.registerInstance(this, hostRef);
27
+ this.radioChange = index.createEvent(this, "bcm-radio-change", 7);
28
+ this.focus = index.createEvent(this, "bcm-focus", 7);
29
+ this.blur = index.createEvent(this, "bcm-blur", 7);
30
+ this._id = generate.Generate.UID();
31
+ this.checked = undefined;
32
+ this.value = undefined;
33
+ this.disabled = false;
34
+ this.size = bcm.Bcm$1.Size.medium;
35
+ this.color = undefined;
36
+ }
37
+ render() {
38
+ const { value, size, disabled, checked, _id, color } = this;
39
+ return (index.h(index.Host, { class: index$1.classnames("tw-cursor-pointer tw-font-sans tw-mb-1.5 tw-mt-1", {
40
+ "tw-cursor-pointer tw-text-slate-600": !disabled,
41
+ "tw-cursor-not-allowed tw-text-slate-400": disabled,
42
+ "tw-text-1": size === bcm.Bcm$1.Size.small,
43
+ "tw-text-2.5": size === bcm.Bcm$1.Size.medium,
44
+ "tw-text-4": size === bcm.Bcm$1.Size.large,
45
+ }), style: (generate.Generate.getTwColor(color)) }, index.h("label", { class: index$1.classnames("tw-inline-flex tw-flex-row tw-gap-2 tw-mr-2 tw-items-center", disabled ? "tw-cursor-not-allowed" : "tw-cursor-pointer"), htmlFor: _id + '-input' }, index.h("input", { id: _id + '-input', type: "radio", value: value, checked: checked, disabled: disabled, class: index$1.classnames("tw-flex tw-items-center tw-justify-center", "tw-relative tw-appearance-none tw-border tw-rounded-full tw-cursor-pointer tw-transition tw-ease-in-out ", "tw-m-0", "before:tw-content-[''] before:tw-absolute before:tw-rounded-full", {
46
+ "tw-w-4 tw-h-4 before:tw-w-2.5 before:tw-h-2.5": size === bcm.Bcm$1.Size.medium,
47
+ "tw-w-3.5 tw-h-3.5 before:tw-w-2 before:tw-h-2": size === bcm.Bcm$1.Size.small,
48
+ "tw-w-4.5 tw-h-4.5 before:tw-w-3 before:tw-h-3": size === bcm.Bcm$1.Size.large,
49
+ }, "focus:tw-outline-none focus:tw-shadow-outline",
50
+ // default
51
+ `tw-border-slate-400 tw-bg-slate-50`, `checked:tw-border-default-500`, `checked:before:tw-bg-default-500`,
52
+ // disabled
53
+ `disabled:tw-border-slate-400 disabled:tw-bg-slate-200 disabled:tw-cursor-not-allowed`, `disabled:checked:tw-border-slate-400`, `disabled:checked:before:tw-bg-slate-400`, !disabled && index$1.classnames(
54
+ // hover
55
+ `hover:tw-border-default-600`, `hover:checked:tw-border-default-600`, `hover:checked:before:tw-bg-default-600`,
56
+ // focus-visible
57
+ `focus-visible:tw-border-default-800 focus-visible:tw-shadow-sm`, `focus-visible:checked:tw-border-default-800`, `focus-visible:checked:before:tw-bg-default-800`,
58
+ // active
59
+ `active:tw-border-default-700`, `active:checked:tw-border-default-700`, `active:checked:before:tw-bg-default-700`)), onChange: () => this.radioChange.emit(), onFocus: () => this.focus.emit(), onBlur: () => this.blur.emit() }), index.h("slot", null))));
60
+ }
61
+ get el() { return index.getElement(this); }
62
+ };
63
+
64
+ exports.bcm_radio = BcmRadio;
@@ -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-f4bfa0a4.js');
12
- const bcm = require('./bcm-1d1fcf21.js');
11
+ const generate = require('./generate-82c63a56.js');
12
+ const bcm = require('./bcm-489c9b1a.js');
13
13
  const utils = require('./utils-fc077139.js');
14
14
  require('./_commonjsHelpers-ed84c3ca.js');
15
- require('./package-b728c16f.js');
15
+ require('./package-13f78ab4.js');
16
16
  require('./colors-078851ec.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$1.Direction.horizontal;
31
+ this.direction = bcm.Bcm.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$1.Direction.horizontal ? bcm.Bcm$1.Placement.top : bcm.Bcm$1.Placement.left,
56
+ placement: this.direction === bcm.Bcm.Direction.horizontal ? bcm.Bcm.Placement.top : bcm.Bcm.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$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)))));
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)))));
178
178
  }
179
179
  get el() { return index.getElement(this); }
180
180
  };
@@ -8,10 +8,10 @@ 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 stringHelper = require('./string-helper-9cdfb273.js');
11
+ const stringHelper = require('./string-helper-f9184277.js');
12
12
  const utils = require('./utils-fc077139.js');
13
13
  require('./_commonjsHelpers-ed84c3ca.js');
14
- require('./bcm-1d1fcf21.js');
14
+ require('./bcm-489c9b1a.js');
15
15
 
16
16
  const selectCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-block;width:100%;margin:0}:host(.hidden){display:none}.container{display:block;max-width:256px;position:relative}.container.full-width{width:100%;max-width:100%}.selected{width:100%;box-sizing:border-box;color:var(--bcm-color-grey-8);background-color:var(--bcm-color-grey-1);display:flex;justify-content:space-between;align-items:center;border:1px solid var(--bcm-color-grey-5);user-select:none;cursor:pointer}.selected:hover:not(.disabled){border-color:var(--bcm-color-prime-blue-5)}.selected:hover:not(.disabled) .select-clear-button{opacity:1}.selected:focus:not(.disabled){border-color:var(--bcm-color-prime-blue-5);box-shadow:0px 0px 4px var(--bcm-color-prime-blue-6)}.selected:focus:not(.disabled) .select-clear-button{opacity:1}.selected:focus{outline:none}.selected.disabled{background-color:var(--bcm-color-grey-3);color:var(--bcm-color-grey-8);cursor:not-allowed}.selected .buttons{padding:8px;height:100%;display:flex;align-items:center;justify-content:center}.selected .selected-text{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;padding:0 8px;width:100%}.selected .selected-tags{padding:0 4px;height:100%}.selected .tag-container{height:100%;display:flex;align-items:center;justify-content:flex-start;grid-gap:2px}.selected .tag-container>span{height:100%;align-items:center;justify-content:flex-start;display:flex;grid-gap:2px}.selected .tag-container .tag{max-width:200px}.selected .tag-container #other-tag{cursor:pointer}.selected .open,.selected .close{display:inline-flex}.selected .close{transform:rotate(180deg)}.selected .placeholder{color:var(--bcm-color-grey-6);user-select:none;font-size:14px;height:100%;display:flex;align-items:center;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.options-viewport{display:inline-block}.option-container{display:block;position:absolute;background-color:var(--bcm-color-grey-1);box-shadow:0px 2px 8px rgba(0, 0, 0, 0.15);box-sizing:border-box;width:100%;z-index:10000}.option-container.alignment-left{left:0}.option-container.alignment-right{right:0}.option-container.hidden{display:none}.option-container .search{position:sticky;padding:8px;margin-bottom:4px}.option-container .search:after{content:\"\";position:absolute;bottom:0;height:1px;width:calc(100% - 16px);background-color:var(--bcm-color-grey-5)}.options-viewport{display:block}.options-viewport bcm-select-option,.options-viewport ::slotted(bcm-select-option){white-space:normal}.options-viewport.hidden{display:none}.options-viewport.vertical{height:fit-content;max-height:200px}.options-viewport.horizontal:not(.flex){overflow-x:auto;width:100%}.options-viewport.horizontal:not(.flex) bcm-select-option,.options-viewport.horizontal:not(.flex) ::slotted(bcm-select-option){white-space:nowrap}.items{display:flex;flex-direction:column}.buttons{display:flex}.select-clear-button{display:inline-flex;align-items:center;outline:none;border:none;background:none;padding:0;cursor:pointer;margin-right:4px;opacity:0}.label{display:block;color:var(--bcm-color-grey-9)}.caption-area{min-height:20px}.input-caption{display:block}.selected-large{height:40px}.selected-medium{height:32px}.selected-small{height:24px}.caption-default{color:#8C8C8C}.caption-primary{color:#4293CF}.caption-success{color:#52C41A}.caption-warning{color:#FA8C16}.caption-error{color:#F5222D}.error .label{color:var(--bcm-color-red-6) !important}.error .selected{border:1px solid var(--bcm-color-red-6) !important}";
17
17
 
@@ -0,0 +1,64 @@
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-c3a819ea.js');
11
+ require('./validators-f4c3063b.js');
12
+ const generate = require('./generate-82c63a56.js');
13
+ require('./number-helper-10017fcd.js');
14
+ require('./string-helper-f9184277.js');
15
+ require('./element-dragger-a8562f82.js');
16
+ const bcm = require('./bcm-489c9b1a.js');
17
+ const index$1 = require('./index-95ae50d0.js');
18
+ require('./colors-56282b00.js');
19
+ require('./utils-fc077139.js');
20
+ require('./colors-078851ec.js');
21
+ require('./_commonjsHelpers-ed84c3ca.js');
22
+ require('./package-13f78ab4.js');
23
+
24
+ const osKeys = {
25
+ ctrl: "⌘",
26
+ alt: "⌥",
27
+ shift: "⇧",
28
+ del: "⌫",
29
+ delete: "⌫",
30
+ backspace: "⌦",
31
+ enter: "⏎",
32
+ return: "⏎",
33
+ };
34
+ const BcmShortcut = class {
35
+ constructor(hostRef) {
36
+ index.registerInstance(this, hostRef);
37
+ this.isMac = /Mac/.test(window.navigator.userAgent);
38
+ this.hotkey = undefined;
39
+ this.color = "slate";
40
+ this.size = bcm.Bcm$1.Size.small;
41
+ }
42
+ getHotkey(key) {
43
+ if (!key) {
44
+ return "";
45
+ }
46
+ if (this.isMac && (key.includes(" ") || key.includes("+"))) {
47
+ const keys = key.split(/[\s+]+/);
48
+ return keys.map(k => osKeys[k] || k).join("");
49
+ }
50
+ else {
51
+ return key;
52
+ }
53
+ }
54
+ render() {
55
+ const { size, color, hotkey } = this;
56
+ return (index.h(index.Host, { class: index$1.classnames("bcm-ui-element bcm-ui-content-display", "tw-block tw-h-fit tw-w-fit tw-rounded tw-border tw-border-solid tw-px-1", "tw-border-default-300 tw-bg-default-100 tw-text-default-700", "tw-text-center tw-font-medium tw-capitalize", {
57
+ "tw-text-2": size === bcm.Bcm$1.Size.small,
58
+ "tw-text-3": size === bcm.Bcm$1.Size.medium,
59
+ "tw-text-4": size === bcm.Bcm$1.Size.large,
60
+ }), style: Object.assign({}, generate.Generate.getTwColor({ color })) }, this.getHotkey(hotkey)));
61
+ }
62
+ };
63
+
64
+ exports.bcm_shortcut = BcmShortcut;
@@ -8,19 +8,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index$1 = require('./index-c591ecec.js');
10
10
  require('./color-helper-c3a819ea.js');
11
- require('./datetime-helper-eaf4fadb.js');
12
- const generate = require('./generate-f4bfa0a4.js');
13
- require('./number-helper-8b2bc297.js');
14
- require('./string-helper-9cdfb273.js');
15
- require('./validators-816514ff.js');
11
+ require('./validators-f4c3063b.js');
12
+ const generate = require('./generate-82c63a56.js');
13
+ require('./number-helper-10017fcd.js');
14
+ require('./string-helper-f9184277.js');
16
15
  require('./element-dragger-a8562f82.js');
17
- require('./bcm-1d1fcf21.js');
16
+ require('./bcm-489c9b1a.js');
18
17
  const index = require('./index-5279dea2.js');
19
18
  require('./colors-56282b00.js');
20
19
  require('./utils-fc077139.js');
21
20
  require('./colors-078851ec.js');
22
21
  require('./_commonjsHelpers-ed84c3ca.js');
23
- require('./package-b728c16f.js');
22
+ require('./package-13f78ab4.js');
24
23
 
25
24
  const skeletonStyle = index.ce({
26
25
  slots: {
@@ -0,0 +1,89 @@
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
+ const index$1 = require('./index-95ae50d0.js');
11
+ const generate = require('./generate-82c63a56.js');
12
+ const stepperStates = require('./stepper-states-77438c3a.js');
13
+ require('./_commonjsHelpers-ed84c3ca.js');
14
+ require('./package-13f78ab4.js');
15
+ require('./colors-078851ec.js');
16
+ require('./index-d321de96.js');
17
+
18
+ const BcmStep = class {
19
+ constructor(hostRef) {
20
+ index.registerInstance(this, hostRef);
21
+ this.dataIsLoaded = index.createEvent(this, "data-is-loaded", 7);
22
+ this.bcmChangeHidden = index.createEvent(this, "bcm-change-hidden", 7);
23
+ this.hidden = false;
24
+ this._id = generate.Generate.UID();
25
+ this._title = undefined;
26
+ this.description = undefined;
27
+ this.status = 'default';
28
+ this.icon = undefined;
29
+ this.loading = false;
30
+ this.valid = true;
31
+ this.index = undefined;
32
+ this.active = false;
33
+ this.htmlTemplate = undefined;
34
+ this.isLast = false;
35
+ this.disabled = false;
36
+ }
37
+ componentDidLoad() {
38
+ if (this.isLast) {
39
+ this.dataIsLoaded.emit(true);
40
+ }
41
+ }
42
+ getStepper() {
43
+ const stepper = this.el.closest('bcm-stepper');
44
+ return stepper || null;
45
+ }
46
+ activeChanged() {
47
+ if (this.active) {
48
+ const stepper = this.getStepper();
49
+ if (stepper) {
50
+ stepperStates.stepperStates.changeStepDisabled(stepper.stepperId, this._id, false);
51
+ }
52
+ }
53
+ }
54
+ statusChange() {
55
+ const stepper = this.getStepper();
56
+ if (stepper) {
57
+ stepperStates.stepperStates.changeStepStatus(stepper.stepperId, this._id, this.status);
58
+ }
59
+ }
60
+ hiddenChange(newValue, oldValue) {
61
+ const stepper = this.getStepper();
62
+ if (newValue !== oldValue && stepper && !this.active) {
63
+ this.bcmChangeHidden.emit(newValue);
64
+ }
65
+ }
66
+ disabledChange(newValue, _) {
67
+ const stepper = this.getStepper();
68
+ if (stepper) {
69
+ stepperStates.stepperStates.changeStepDisabled(stepper.stepperId, this._id, newValue);
70
+ }
71
+ }
72
+ render() {
73
+ const { hidden, valid, active } = this;
74
+ const hostClasses = index$1.classnames('bcm-stepper__step', valid ? 'bcm-stepper__step-valid' : 'bcm-stepper__step-invalid', {
75
+ 'bcm-stepper__step-active': active,
76
+ hidden,
77
+ });
78
+ return (index.h(index.Host, { class: hostClasses }, index.h("slot", null)));
79
+ }
80
+ get el() { return index.getElement(this); }
81
+ static get watchers() { return {
82
+ "active": ["activeChanged"],
83
+ "status": ["statusChange"],
84
+ "hidden": ["hiddenChange"],
85
+ "disabled": ["disabledChange"]
86
+ }; }
87
+ };
88
+
89
+ exports.bcm_step = BcmStep;