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,119 @@
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 isLoadDecorator = require('./is-load-decorator-15036f37.js');
12
+ const jsonParseDecarator = require('./json-parse-decarator-e0946e2e.js');
13
+ const generate = require('./generate-82c63a56.js');
14
+ const bcm = require('./bcm-489c9b1a.js');
15
+ require('./_commonjsHelpers-ed84c3ca.js');
16
+ require('./package-13f78ab4.js');
17
+ require('./colors-078851ec.js');
18
+
19
+ const dropdownCss = "@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-dropdown{width:fit-content;display:inline-flex;flex-direction:row}.bcm-dropdown.hidden{display:none}.bcm-dropdown.no-style{cursor:pointer}.bcm-dropdown.full-width{width:100%}.bcm-dropdown.full-width .bcm-button__container-text{flex:1;justify-content:space-between}.bcm-dropdown__type-split .main-button .bcm-button__container{border-top-right-radius:0;border-bottom-right-radius:0}.bcm-dropdown__type-split .split-button .bcm-button__container{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:1px;min-width:auto}.bcm-dropdown__icon{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;transform:rotate(0deg);transition:transform 0.2s ease;padding-top:2px}.bcm-dropdown__icon--open{transform:rotate(180deg)}";
20
+
21
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
22
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
23
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
24
+ r = Reflect.decorate(decorators, target, key, desc);
25
+ else
26
+ for (var i = decorators.length - 1; i >= 0; i--)
27
+ if (d = decorators[i])
28
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
29
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
30
+ };
31
+ const BcmDropdown = class {
32
+ constructor(hostRef) {
33
+ index.registerInstance(this, hostRef);
34
+ this.bcmClick = index.createEvent(this, "bcm-click", 7);
35
+ this.bcmDropdownChange = index.createEvent(this, "bcm-dropdown-change", 7);
36
+ this.isOpen = undefined;
37
+ this._id = generate.Generate.UID();
38
+ this.menuId = generate.Generate.UID();
39
+ this.hidden = false;
40
+ this.type = 'dropdown';
41
+ this.size = bcm.Bcm.Size.medium;
42
+ this.disabled = false;
43
+ this.kind = bcm.Bcm.Kind.solid;
44
+ this.icon = undefined;
45
+ this.href = undefined;
46
+ this.target = undefined;
47
+ this.value = undefined;
48
+ this.noStyle = false;
49
+ this.dropdownIcon = 'fas fa-angle-down';
50
+ this.linkedComponent = undefined;
51
+ this.loading = false;
52
+ this.variant = undefined;
53
+ this.dataDismiss = false;
54
+ this.fullWidth = false;
55
+ this.iconPosition = bcm.Bcm.IconPosition.prefix;
56
+ this.placement = undefined;
57
+ this.height = undefined;
58
+ this.maxHeight = '500px';
59
+ this.minHeight = '50px';
60
+ this.stopDeepClean = false;
61
+ this.selectable = true;
62
+ this.gap = '4px';
63
+ this.color = undefined;
64
+ this.activeItem = null;
65
+ this.data = [];
66
+ }
67
+ async dataChanged(newValue) {
68
+ if (newValue) {
69
+ this.data = newValue;
70
+ }
71
+ }
72
+ async setActive(id = null) {
73
+ var _a, _b;
74
+ (_b = (_a = document
75
+ .getElementById(`${this.menuId}`)) === null || _a === void 0 ? void 0 : _a.querySelectorAll('bcm-menu')) === null || _b === void 0 ? void 0 : _b.forEach(item => {
76
+ item.setActive(id);
77
+ });
78
+ }
79
+ async getActive() {
80
+ return this.activeItem;
81
+ }
82
+ handleSlotItems({ detail }) {
83
+ this.data = detail;
84
+ }
85
+ setActiveAttribute(e) {
86
+ if (e.detail) {
87
+ this.bcmDropdownChange.emit(e.detail);
88
+ this.activeItem = e.detail;
89
+ }
90
+ }
91
+ ;
92
+ render() {
93
+ const { size, kind, disabled, icon, color, href, target, loading, type, variant, fullWidth, isOpen } = this;
94
+ const hostClasses = index$1.classnames('bcm-dropdown', 'bcm-dropdown__type-' + type, {
95
+ 'full-width': fullWidth,
96
+ 'no-style': this.noStyle,
97
+ 'hidden': this.hidden || this.linkedComponent,
98
+ });
99
+ const attributes = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (disabled && { disabled })), (loading && { loading })), (kind && { kind })), (size && { size })), (variant && { variant })), (color && { color })), (this.menuId && { 'menu-id': this.menuId }));
100
+ const iconClasses = index$1.classnames('bcm-dropdown__icon', {
101
+ 'bcm-dropdown__icon--open': isOpen,
102
+ });
103
+ const dropdownIcon = (index.h("span", { class: iconClasses }, index.h("bcm-icon", { icon: this.dropdownIcon })));
104
+ return (index.h(index.Host, { class: hostClasses }, index.h("span", { hidden: true }, index.h("slot", null)), this.noStyle && index.h("slot", null), !this.noStyle && (index.h("bcm-button", Object.assign({ class: "main-button", id: `${this._id}-button` }, attributes, (icon && { icon }), (href && type === 'split' && { href }), (target && type === 'split' && { target }), (fullWidth && { fullWidth })), index.h("slot", null), type === 'dropdown' && dropdownIcon)), !this.noStyle && type === 'split' && (index.h("bcm-button", Object.assign({ id: `${this._id}-button-split`, class: "split-button" }, attributes), dropdownIcon)), index.h("bcm-linked", { id: `${this.menuId}`, "target-id": `${this._id}-button${type === 'split' ? '-split' : ''}`, placement: this.placement || (type === 'dropdown' ? 'bottom-start' : 'bottom-end'), "max-height": this.maxHeight, "min-height": this.minHeight, height: this.height, "on-bcm-open": e => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.target) === null || _a === void 0 ? void 0 : _a.id) == this.menuId && (this.isOpen = e.detail); } }, this.data && this.data.length > 0 && index.h("bcm-menu", { data: this.data, selectable: this.selectable, "on-bcm-click": e => this.bcmClick.emit(e.detail), "onBcm-menu-change": e => this.setActiveAttribute(e), gap: this.gap, dropdown: true }), index.h("slot", { name: "content" }))));
105
+ }
106
+ get el() { return index.getElement(this); }
107
+ static get watchers() { return {
108
+ "data": ["dataChanged"]
109
+ }; }
110
+ };
111
+ __decorate([
112
+ isLoadDecorator.IsLoad()
113
+ ], BcmDropdown.prototype, "el", void 0);
114
+ __decorate([
115
+ jsonParseDecarator.JsonParse('data', true)
116
+ ], BcmDropdown.prototype, "dataChanged", null);
117
+ BcmDropdown.style = dropdownCss;
118
+
119
+ exports.bcm_dropdown = BcmDropdown;
@@ -52,7 +52,7 @@ const BcmErrorLayout = class {
52
52
  const { itemsProp } = this;
53
53
  const classes = index$1.classnames('error-layout', this.size);
54
54
  const hostClasses = index$1.classnames(this.hidden ? 'hidden' : null);
55
- return (index.h(index.Host, { class: hostClasses }, itemsProp.length > 0 && (index.h("div", { class: classes }, index.h("ul", null, this.itemsProp.map((item) => index.h("li", null, index.h("span", null, item))))))));
55
+ return (index.h(index.Host, { class: hostClasses }, itemsProp.length > 0 && (index.h("div", { class: classes }, this.itemsProp.map((item) => index.h("li", null, index.h("span", null, item)))))));
56
56
  }
57
57
  get el() { return index.getElement(this); }
58
58
  static get watchers() { return {
@@ -0,0 +1,116 @@
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 generate = require('./generate-82c63a56.js');
11
+ const index$1 = require('./index-95ae50d0.js');
12
+ const stringHelper = require('./string-helper-f9184277.js');
13
+ const colorHelper = require('./color-helper-c3a819ea.js');
14
+ require('./package-13f78ab4.js');
15
+ require('./colors-078851ec.js');
16
+ require('./_commonjsHelpers-ed84c3ca.js');
17
+ require('./bcm-489c9b1a.js');
18
+ require('./colors-56282b00.js');
19
+ require('./utils-fc077139.js');
20
+
21
+ const expansionPanelCss = "@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-expansion-panel{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:block;width:100%;background-color:var(--bcm-new-ds-color-white);border-radius:8px;border:1px solid var(--bcm-new-ds-color-slate-300);box-sizing:border-box}.bcm-expansion-panel+.bcm-expansion-panel{margin-top:4px}.bcm-expansion-panel__header{display:flex;align-items:center;justify-content:flex-start;user-select:none;min-height:50px;border-radius:8px;padding:4px 24px;color:var(--bcm-new-ds-color-slate-700);font-weight:600}.bcm-expansion-panel__header-content{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:8px}.bcm-expansion-panel__header:hover{cursor:pointer}.bcm-expansion-panel__header-title{order:1;user-select:none;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:4px}.bcm-expansion-panel__header-title-description{margin-left:calc(4px / 2);color:var(--bcm-new-ds-color-slate-500);font-size:12px;line-height:calc(12px + 8px)}.bcm-expansion-panel__header-tooltip{line-height:1;color:var(--bcm-new-ds-color-slate-800)}.bcm-expansion-panel__header-toggle{height:100%;order:0;width:20px;display:flex;align-items:center;justify-content:center;transform:rotate(0deg);transition:transform 0.2s ease-in-out;font-size:12px}.bcm-expansion-panel__header-extra{display:none}.bcm-expansion-panel__header-extra:not(:empty){cursor:default;display:flex;align-items:center;order:5;line-height:1;padding:0 8px}.bcm-expansion-panel__header-extra .bcm-expansion-panel__extra-content{display:flex;align-items:center}.bcm-expansion-panel__body{display:none;padding:12px 24px}.bcm-expansion-panel--icon-right .bcm-expansion-panel__header{justify-content:space-between;padding-left:24px}.bcm-expansion-panel--icon-right .bcm-expansion-panel__header-toggle{order:6}.bcm-expansion-panel--invalid .bcm-expansion-panel__header-toggle,.bcm-expansion-panel--invalid .bcm-expansion-panel__header-content{color:var(--bcm-new-ds-color-red-500)}.bcm-expansion-panel--expanded{border-bottom:1px solid var(--bcm-color-grey-5)}.bcm-expansion-panel--expanded .bcm-expansion-panel__header{border-radius:8px 8px 0 0}.bcm-expansion-panel--expanded .bcm-expansion-panel__header-toggle{transform:rotate(180deg)}.bcm-expansion-panel--expanded .bcm-expansion-panel__body{display:block}";
22
+
23
+ const BcmExpansionPanel = class {
24
+ constructor(hostRef) {
25
+ index.registerInstance(this, hostRef);
26
+ this.bcmOpen = index.createEvent(this, "bcm-open", 7);
27
+ this.bcmClose = index.createEvent(this, "bcm-close", 7);
28
+ this.bcmExtra = index.createEvent(this, "bcm-extra", 7);
29
+ this._id = generate.Generate.UID();
30
+ this.expanded = false;
31
+ this.disabled = false;
32
+ this.hidden = false;
33
+ this.valid = true;
34
+ this.hideToggle = false;
35
+ this.expandIconPosition = 'right';
36
+ this.headerColor = 'white';
37
+ this.tooltip = undefined;
38
+ this.tooltipDefaultValue = {
39
+ message: '',
40
+ placement: 'top',
41
+ trigger: 'hover',
42
+ icon: 'fas fa-question-circle',
43
+ color: 'grey-8',
44
+ };
45
+ }
46
+ componentWillRender() {
47
+ this.restoreSlots();
48
+ }
49
+ componentDidLoad() {
50
+ this.checkExpanded();
51
+ }
52
+ createTooltip() {
53
+ let tool;
54
+ if (this.tooltip) {
55
+ const { tooltip } = this;
56
+ try {
57
+ tool = JSON.parse(tooltip);
58
+ tool = Object.assign(Object.assign({}, this.tooltipDefaultValue), tool);
59
+ }
60
+ catch (error) {
61
+ tool = Object.assign(Object.assign({}, this.tooltipDefaultValue), { message: tooltip });
62
+ }
63
+ }
64
+ return tool;
65
+ }
66
+ checkExpanded() {
67
+ this.expanded = !!this.el['expanded'];
68
+ }
69
+ restoreSlots() {
70
+ const slots = this.el.querySelectorAll('bcm-expansion-panel-header, bcm-expansion-panel-description, bcm-expansion-panel-extra');
71
+ if (slots) {
72
+ slots.forEach(element => {
73
+ let slotName = stringHelper.StringHelper.lowercase(stringHelper.StringHelper.split(element.nodeName, '-').pop());
74
+ element.slot = slotName;
75
+ element.classList.add(`bcm-expansion-panel__${slotName}-content`);
76
+ let color = element.getAttribute('color');
77
+ if (color) {
78
+ color = color == 'white' ? color : color + '-50';
79
+ this.headerColor = color;
80
+ }
81
+ });
82
+ }
83
+ }
84
+ toggle() {
85
+ if (this.disabled) {
86
+ return;
87
+ }
88
+ this.expanded = !this.expanded;
89
+ if (this.expanded) {
90
+ this.bcmOpen.emit(this._id);
91
+ }
92
+ else {
93
+ this.bcmClose.emit(this._id);
94
+ }
95
+ }
96
+ clickExtra(e) {
97
+ e.stopPropagation();
98
+ this.bcmExtra.emit(e);
99
+ }
100
+ render() {
101
+ const { _id, expanded, disabled, hidden, hideToggle, tooltip, valid } = this;
102
+ const { message, placement, icon, trigger, color } = tooltip ? this.createTooltip() : {};
103
+ const hostClasses = index$1.classnames('bcm-expansion-panel', valid ? 'bcm-expansion-panel--valid' : 'bcm-expansion-panel--invalid', {
104
+ 'bcm-expansion-panel--expanded': expanded,
105
+ 'bcm-expansion-panel--disabled': disabled,
106
+ 'bcm-expansion-panel--hide-toggle': hideToggle,
107
+ 'bcm-expansion-panel--icon-right': this.expandIconPosition === 'right',
108
+ hidden,
109
+ });
110
+ return (index.h(index.Host, { class: hostClasses }, index.h("div", { class: "bcm-expansion-panel__header", onClick: () => this.toggle(), style: { 'background-color': colorHelper.ColorHelper.dsColor(this.headerColor) } }, index.h("div", { class: "bcm-expansion-panel__header-title" }, index.h("span", { id: _id + '-header' }, index.h("slot", { name: "header" })), tooltip && (index.h("span", { class: "bcm-expansion-panel__header-tooltip", style: Object.assign({}, color && { color: colorHelper.ColorHelper.convertColorToHex(color) }) }, index.h("bcm-tooltip", { message: message, placement: placement, trigger: trigger }, index.h("bcm-icon", { color: color, icon: icon })))), index.h("span", { id: _id + '-description', class: "bcm-expansion-panel__header-title-description" }, index.h("slot", { name: "description" }))), index.h("span", { id: _id + '-extra', class: "bcm-expansion-panel__header-extra", onClick: (e) => this.clickExtra(e) }, index.h("slot", { name: "extra" })), !hideToggle && (index.h("div", { class: "bcm-expansion-panel__header-toggle" }, index.h("bcm-icon", { icon: "far fa-chevron-down" })))), index.h("div", { class: "bcm-expansion-panel__body", id: _id + '-body' }, index.h("slot", null))));
111
+ }
112
+ get el() { return index.getElement(this); }
113
+ };
114
+ BcmExpansionPanel.style = expansionPanelCss;
115
+
116
+ exports.bcm_expansion_panel = BcmExpansionPanel;
@@ -7,9 +7,9 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-c591ecec.js');
10
- const generate = require('./generate-f4bfa0a4.js');
10
+ const generate = require('./generate-82c63a56.js');
11
11
  const index$1 = require('./index-95ae50d0.js');
12
- require('./package-b728c16f.js');
12
+ require('./package-13f78ab4.js');
13
13
  require('./colors-078851ec.js');
14
14
  require('./_commonjsHelpers-ed84c3ca.js');
15
15
 
@@ -8,14 +8,13 @@ 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
- const bcm = require('./bcm-1d1fcf21.js');
18
- const captionTemplate = require('./caption-template-85a18b6d.js');
16
+ const bcm = require('./bcm-489c9b1a.js');
17
+ const captionTemplate = require('./caption-template-086e9cac.js');
19
18
  const index$2 = require('./index-95ae50d0.js');
20
19
  require('./types-cc4adee7.js');
21
20
  require('./types-7523fd99.js');
@@ -24,7 +23,7 @@ require('./colors-56282b00.js');
24
23
  require('./utils-fc077139.js');
25
24
  require('./colors-078851ec.js');
26
25
  require('./_commonjsHelpers-ed84c3ca.js');
27
- require('./package-b728c16f.js');
26
+ require('./package-13f78ab4.js');
28
27
 
29
28
  const inputDropdownStyle = index.ce({
30
29
  slots: {
@@ -114,7 +113,7 @@ const BcmInputDropdown = class {
114
113
  this.defaultValue = {};
115
114
  this.lateKeys = "L";
116
115
  this.maxCharacterLimit = 1;
117
- this.size = bcm.Bcm.Size.medium;
116
+ this.size = bcm.Bcm$1.Size.medium;
118
117
  this.label = undefined;
119
118
  this.placeholder = undefined;
120
119
  this.name = undefined;
@@ -137,7 +136,7 @@ const BcmInputDropdown = class {
137
136
  ];
138
137
  this.caption = undefined;
139
138
  this.noCaption = false;
140
- this.captionType = bcm.Bcm.Status.default;
139
+ this.captionType = bcm.Bcm$1.Status.default;
141
140
  this.captionError = undefined;
142
141
  this.customErrorMessage = undefined;
143
142
  this.captionCache = undefined;
@@ -288,7 +287,7 @@ const BcmInputDropdown = class {
288
287
  };
289
288
  const CommentTemplate = () => {
290
289
  var _a, _b, _c;
291
- return (index$1.h(index$1.Fragment, null, this.isOpenMenu ? (index$1.h("div", { class: commentArea() }, this.isLate ? (index$1.h(index$1.Fragment, null, index$1.h("bcm-input", { label: "Minus Late", required: true, id: this._id + "-input-dropdown-late-content-input", type: "number", "full-width": true, autocomplete: false, min: 0, max: 200, value: (_a = this.value) === null || _a === void 0 ? void 0 : _a.lateMin, placeholder: "Enter Minus Late", customErrorMessage: "Max limit 200 mins", "onBcm-change": ({ detail }) => (this.value.lateMin = +detail) }, index$1.h("i", { slot: "prefix", class: "far fa-clock" })))) : null, index$1.h("bcm-textarea", { "full-width": true, value: (_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.comment) !== null && _c !== void 0 ? _c : "", "onBcm-change": ({ detail }) => (this.value.comment = detail), label: "Description", "no-caption": true, rows: 4 }), index$1.h("footer", { class: "tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-end tw-gap-2" }, index$1.h("bcm-button", { role: "button", "aria-labelledby": "button", "aria-label": "button", icon: "fas fa-times", kind: "ghost", "icon-position": "prefix", onClick: () => { var _a; return (_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.hide(); } }, "Close"), index$1.h("bcm-button", { role: "button", "aria-labelledby": "button", "aria-label": "button", icon: "fas fa-save", "icon-position": "prefix", onClick: () => this.onClickSave() }, "Save")))) : null));
290
+ return (index$1.h(index$1.Fragment, null, this.isOpenMenu ? (index$1.h("div", { class: commentArea() }, this.isLate ? (index$1.h(index$1.Fragment, null, index$1.h("bcm-input", { label: "Minus Late", required: true, id: this._id + "-input-dropdown-late-content-input", type: "number", "full-width": true, autocomplete: false, min: 0, max: 200, value: (_a = this.value) === null || _a === void 0 ? void 0 : _a.lateMin, placeholder: "Enter Minus Late", customErrorMessage: "Max limit 200 mins", "onBcm-change": ({ detail }) => (this.value.lateMin = +detail) }, index$1.h("i", { slot: "prefix", class: "far fa-clock" })))) : null, index$1.h("bcm-textarea", { "full-width": true, value: (_c = (_b = this.value) === null || _b === void 0 ? void 0 : _b.comment) !== null && _c !== void 0 ? _c : "", "onBcm-change": ({ detail }) => (this.value.comment = detail), label: "Description", "no-caption": true, rows: 4 }), index$1.h("footer", { class: "tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-end tw-gap-2" }, index$1.h("bcm-button", { icon: "fas fa-times", kind: "ghost", "icon-position": "prefix", onClick: () => { var _a; return (_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.hide(); } }, "Close"), index$1.h("bcm-button", { icon: "fas fa-save", "icon-position": "prefix", onClick: () => this.onClickSave() }, "Save")))) : null));
292
291
  };
293
292
  return (index$1.h(index$1.Host, { class: base() }, label && index$1.h("bcm-label", { htmlFor: _id + "-dropdown-input", size: size, value: label, required: required }), index$1.h("div", { class: content() }, index$1.h("div", { class: inputArea() }, index$1.h("input", { id: _id + "-dropdown-input", class: input(), style: { color: (_a = this.value) === null || _a === void 0 ? void 0 : _a.color }, type: "text", tabIndex: -1, placeholder: placeholder, value: (_b = this.value) === null || _b === void 0 ? void 0 : _b.key, disabled: disabled, required: required, autoComplete: "off", readOnly: readonly, onKeyPress: e => this.handleKeyPress(e), onInput: e => this.handleInput(e), ref: el => (this._input = el) }), index$1.h("button", { disabled: disabled, id: `i-dropdown-button-${_id}`, class: button(), onClick: () => (this.isOpenMenu = true) }, index$1.h("i", { class: "fas fa-chevron-down" })), index$1.h("bcm-linked", { "onBcm-open": ({ detail }) => { var _a; return detail && ((_a = this.commentContent) === null || _a === void 0 ? void 0 : _a.hide()); }, class: "tw-mt-1", id: `i-dropdown-menu-${_id}`, "target-id": `i-dropdown-button-${_id}`, placement: "bottom-start" }, index$1.h(MenuTemplates, null)), index$1.h("bcm-linked", { id: `i-dropdown-comment-${_id}`, "target-id": _id, trigger: "custom", placement: "left" }, index$1.h(CommentTemplate, null))), !this.hideComment ? (index$1.h("span", { onClick: () => {
294
293
  var _a, _b;
@@ -0,0 +1,72 @@
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 generate = require('./generate-82c63a56.js');
11
+ const bcm = require('./bcm-489c9b1a.js');
12
+ const index$1 = require('./index-95ae50d0.js');
13
+ const colorHelper = require('./color-helper-c3a819ea.js');
14
+ require('./package-13f78ab4.js');
15
+ require('./colors-078851ec.js');
16
+ require('./_commonjsHelpers-ed84c3ca.js');
17
+ require('./colors-56282b00.js');
18
+ require('./utils-fc077139.js');
19
+
20
+ const itemCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-item{box-sizing:border-box;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;--bcm-item-color-default:var(--bcm-new-ds-color-white);--bcm-item-background-color-default:var(--bcm-new-ds-color-blue-500);--bcm-item-color-hover:var(--bcm-new-ds-color-white);--bcm-item-background-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-item-color-focus-visible:var(--bcm-new-ds-color-white);--bcm-item-background-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-item-color-active:var(--bcm-new-ds-color-white);--bcm-item-background-color-active:var(--bcm-new-ds-color-blue-700);--bcm-item-color-disabled:var(--bcm-new-ds-color-white);--bcm-item-background-color-disabled:var(--bcm-new-ds-color-slate-400);font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;border-radius:4px;outline:none;color:var(--bcm-item-color-default);background-color:var(--bcm-item-background-color-default)}.bcm-item-size-small{font-size:12px;line-height:calc(12px + 8px);padding:2px 12px;min-height:calc(calc(12px + 8px) + calc(2px) * 2)}.bcm-item-size-medium{font-size:14px;line-height:calc(14px + 8px);padding:5px 12px;min-height:calc(calc(14px + 8px) + calc(5px) * 2)}.bcm-item-size-large{font-size:16px;line-height:calc(16px + 8px);padding:8px 12px;min-height:calc(calc(16px + 8px) + calc(8px) * 2)}.bcm-item:default{color:var(--bcm-item-color-default);background-color:var(--bcm-item-background-color-default)}.bcm-item:hover{color:var(--bcm-item-color-hover);background-color:var(--bcm-item-background-color-hover)}.bcm-item:focus-visible{color:var(--bcm-item-color-focus-visible);background-color:var(--bcm-item-background-color-focus-visible)}.bcm-item:active{color:var(--bcm-item-color-active);background-color:var(--bcm-item-background-color-active)}.bcm-item:disabled{color:var(--bcm-item-color-disabled);background-color:var(--bcm-item-background-color-disabled)}.bcm-item:not(.static):hover{cursor:pointer}";
21
+
22
+ const BcmItem = class {
23
+ constructor(hostRef) {
24
+ index.registerInstance(this, hostRef);
25
+ this._id = generate.Generate.UID();
26
+ this.size = bcm.Bcm.Size.medium;
27
+ this.color = undefined;
28
+ this.static = false;
29
+ }
30
+ setColor(color = this.color) {
31
+ if (!color)
32
+ return;
33
+ const prefix = `--bcm-item`;
34
+ if (color == "white") {
35
+ return {
36
+ [`${prefix}-color-default`]: colorHelper.ColorHelper.dsColor('slate-600'),
37
+ [`${prefix}-color-hover`]: colorHelper.ColorHelper.dsColor('slate-600'),
38
+ [`${prefix}-color-focus-visible`]: colorHelper.ColorHelper.dsColor('slate-600'),
39
+ [`${prefix}-color-active`]: colorHelper.ColorHelper.dsColor('slate-600'),
40
+ [`${prefix}-color-disabled`]: colorHelper.ColorHelper.dsColor('white'),
41
+ [`${prefix}-background-color-default`]: colorHelper.ColorHelper.dsColor(this.static ? 'white' : 'white'),
42
+ [`${prefix}-background-color-hover`]: colorHelper.ColorHelper.dsColor(this.static ? 'white' : 'slate-100'),
43
+ [`${prefix}-background-color-focus-visible`]: colorHelper.ColorHelper.dsColor(this.static ? 'white' : 'slate-200'),
44
+ [`${prefix}-background-color-active`]: colorHelper.ColorHelper.dsColor(this.static ? 'white' : 'slate-300'),
45
+ [`${prefix}-background-color-disabled`]: colorHelper.ColorHelper.dsColor('slate-400'),
46
+ };
47
+ }
48
+ return {
49
+ [`${prefix}-color-default`]: colorHelper.ColorHelper.dsColor('white'),
50
+ [`${prefix}-color-hover`]: colorHelper.ColorHelper.dsColor('white'),
51
+ [`${prefix}-color-focus-visible`]: colorHelper.ColorHelper.dsColor('white'),
52
+ [`${prefix}-color-active`]: colorHelper.ColorHelper.dsColor('white'),
53
+ [`${prefix}-color-disabled`]: colorHelper.ColorHelper.dsColor('white'),
54
+ [`${prefix}-background-color-default`]: colorHelper.ColorHelper.dsColor(color + '-500'),
55
+ [`${prefix}-background-color-hover`]: colorHelper.ColorHelper.dsColor(color + '-600'),
56
+ [`${prefix}-background-color-focus-visible`]: colorHelper.ColorHelper.dsColor(color + '-700'),
57
+ [`${prefix}-background-color-active`]: colorHelper.ColorHelper.dsColor(color + '-800'),
58
+ [`${prefix}-background-color-disabled`]: colorHelper.ColorHelper.dsColor('slate-400'),
59
+ };
60
+ }
61
+ disconnectedCallback() {
62
+ // this.el.remove()
63
+ }
64
+ render() {
65
+ const hostClasses = index$1.classnames('bcm-item', `bcm-item-size-${this.size}`);
66
+ return (index.h(index.Host, { class: hostClasses, style: this.setColor() }, index.h("slot", null)));
67
+ }
68
+ get el() { return index.getElement(this); }
69
+ };
70
+ BcmItem.style = itemCss;
71
+
72
+ exports.bcm_item = BcmItem;
@@ -0,0 +1,49 @@
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 generate = require('./generate-82c63a56.js');
11
+ const stringHelper = require('./string-helper-f9184277.js');
12
+ require('./package-13f78ab4.js');
13
+ require('./colors-078851ec.js');
14
+ require('./_commonjsHelpers-ed84c3ca.js');
15
+ require('./bcm-489c9b1a.js');
16
+
17
+ const BcmItems = class {
18
+ constructor(hostRef) {
19
+ index.registerInstance(this, hostRef);
20
+ this.bcmItems = index.createEvent(this, "bcm-items", 7);
21
+ this._id = generate.Generate.UID();
22
+ }
23
+ connectedCallback() {
24
+ if (this.el.children && this.el.children.length > 0) {
25
+ let slots = this.nestedItems(this.el);
26
+ this.bcmItems.emit(slots);
27
+ this.el.remove();
28
+ }
29
+ }
30
+ mapItems(element) {
31
+ var _a;
32
+ const item = element;
33
+ const textContent = (_a = item === null || item === void 0 ? void 0 : item.innerHTML) === null || _a === void 0 ? void 0 : _a.replace(/<bcm-item>.*<\/bcm-item>/g, '').replace(/<bcm-item .*>.*<\/bcm-item>/g, '').replace(/<!--(.|\s)*?-->/g, '').trim();
34
+ const checkAttr = (attr) => stringHelper.StringHelper.elementBooleanCheck(element.getAttribute(attr));
35
+ return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ id: element.getAttribute('id') || generate.Generate.UID(), text: element.getAttribute('text') || textContent }, (element.innerHTML.trim() && { isHtmlContent: element.textContent.length > 0 ? (element.innerHTML.trim()) : null })), (checkAttr('disabled') && { disabled: checkAttr('disabled') })), (checkAttr('selected') && { selected: checkAttr('selected') })), (checkAttr('hidden') && { hidden: checkAttr('hidden') })), (checkAttr('checked') && { checked: checkAttr('checked') })), (checkAttr('readonly') && { readonly: checkAttr('readonly') })), (checkAttr('active') && { active: checkAttr('active') })), (checkAttr('icon') && { icon: element.getAttribute('icon') })), (checkAttr('link') && { link: element.getAttribute('link') }));
36
+ }
37
+ nestedItems(element) {
38
+ return generate.snq(() => Array.from(element === null || element === void 0 ? void 0 : element.children).map((child) => {
39
+ var _a;
40
+ return (Object.assign(Object.assign({}, (((_a = child === null || child === void 0 ? void 0 : child.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'bcm-item' && this.mapItems(child))), { items: this.nestedItems(child) }));
41
+ }), []);
42
+ }
43
+ render() {
44
+ return index.h("slot", null);
45
+ }
46
+ get el() { return index.getElement(this); }
47
+ };
48
+
49
+ exports.bcm_items = BcmItems;
@@ -8,7 +8,7 @@ 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 bcm = require('./bcm-1d1fcf21.js');
11
+ const bcm = require('./bcm-489c9b1a.js');
12
12
  require('./_commonjsHelpers-ed84c3ca.js');
13
13
 
14
14
  const linkCss = "@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-link{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline;color:var(--bcm-new-ds-color-blue-500)}.bcm-link.hidden{display:none}.bcm-link.disabled{pointer-events:none;opacity:0.5;cursor:not-allowed}.bcm-link__anchor{display:inline-flex;align-items:baseline;font-size:inherit;color:inherit}.bcm-link__anchor.prefix .prefix-icon{margin-right:4px}.bcm-link__anchor.suffix .suffix-icon{margin-left:4px}.bcm-link__anchor:hover,.bcm-link__anchor:focus,.bcm-link__anchor:active,.bcm-link__anchor:focus-visible{outline:none}.bcm-link__anchor:hover{color:var(--bcm-new-ds-color-blue-600)}.bcm-link__anchor:active{color:var(--bcm-new-ds-color-blue-700)}.bcm-link__anchor:focus-visible{color:var(--bcm-new-ds-color-blue-800)}";
@@ -21,7 +21,7 @@ const BcmLink = class {
21
21
  this.target = undefined;
22
22
  this.icon = undefined;
23
23
  this.disabled = false;
24
- this.iconPosition = bcm.Bcm$1.IconPosition.prefix;
24
+ this.iconPosition = bcm.Bcm.IconPosition.prefix;
25
25
  }
26
26
  handleOnClick(e) {
27
27
  if (this.disabled) {
@@ -42,7 +42,7 @@ const BcmLink = class {
42
42
  'suffix': this.linkIsExternal(href)
43
43
  });
44
44
  const ElementTagType = href ? 'a' : 'span';
45
- return (index.h(index.Host, { disabled: disabled, class: hostClasses }, index.h(ElementTagType, { class: classes, href: href, target: this.linkIsExternal(href) ? '_blank' : target }, icon && iconPosition === bcm.Bcm$1.IconPosition.prefix && index.h("bcm-icon", { class: "prefix-icon", icon: icon }), index.h("slot", null), this.linkIsExternal(href) && index.h("bcm-icon", { class: "suffix-icon", icon: "far fa-external-link-alt" }))));
45
+ return (index.h(index.Host, { disabled: disabled, class: hostClasses }, index.h(ElementTagType, { class: classes, href: href, target: this.linkIsExternal(href) ? '_blank' : target }, icon && iconPosition === bcm.Bcm.IconPosition.prefix && index.h("bcm-icon", { class: "prefix-icon", icon: icon }), index.h("slot", null), this.linkIsExternal(href) && index.h("bcm-icon", { class: "suffix-icon", icon: "far fa-external-link-alt" }))));
46
46
  }
47
47
  get el() { return index.getElement(this); }
48
48
  };