bromcom-ui 2.11.0 → 2.11.1-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-cd75feb9.entry.js → p-07f4b3b6.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-f2aca650.entry.js → p-0cea9de1.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-258aca86.entry.js → p-11d1263d.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-e70821f7.entry.js → p-12dcbe05.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-4c2ecca2.entry.js → p-13d338d4.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-37565993.entry.js → p-15b5b871.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-ba2ddaf6.js → p-18665a1b.js} +1 -1
  9. package/dist/bromcom-ui/{p-7af84928.entry.js → p-227b3c30.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-2c4e5bb2.entry.js → p-24bf5b68.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-3bb8785d.js → p-26ea59e8.js} +1 -1
  12. package/dist/bromcom-ui/{p-3c4fbed6.entry.js → p-28d8c0a9.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-a3ce764f.entry.js → p-3060ab0d.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-b851dcc2.entry.js → p-362cdc23.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-396ef644.entry.js → p-3ae1649c.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-7aa06da2.entry.js → p-3d009872.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-3b5a6c8e.js → p-444c4e62.js} +1 -1
  18. package/dist/bromcom-ui/{p-bd6c967c.entry.js → p-494b91de.entry.js} +1 -1
  19. package/dist/bromcom-ui/p-518b9b80.js +1 -1
  20. package/dist/bromcom-ui/{p-a3960507.entry.js → p-52263846.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-505709c6.entry.js → p-525d9122.entry.js} +1 -1
  22. package/dist/bromcom-ui/p-5436ddd6.js +1 -1
  23. package/dist/bromcom-ui/{p-1920c1cd.js → p-543a00fb.js} +1 -1
  24. package/dist/bromcom-ui/{p-964b3343.entry.js → p-5679b0d2.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-17821ee9.entry.js → p-56dd3fea.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-e082074a.entry.js → p-5b7c9354.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-5c10f685.entry.js +5 -0
  28. package/dist/bromcom-ui/{p-70b34e79.entry.js → p-5ddfca71.entry.js} +1 -1
  29. package/dist/bromcom-ui/p-62822a2c.entry.js +5 -0
  30. package/dist/bromcom-ui/p-6369b73b.js +1 -1
  31. package/dist/bromcom-ui/p-676c9008.entry.js +5 -0
  32. package/dist/bromcom-ui/{p-cad2f118.entry.js → p-6896c082.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-fe22cf19.entry.js → p-6aaf444d.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-01c26454.entry.js → p-6cd9d6ac.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-f037abec.entry.js → p-6fad7b91.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-3b643e9a.entry.js → p-7194d922.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-aa22dd85.entry.js → p-71b45c22.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-f68c1b66.entry.js → p-72bc8abe.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-13f868f7.entry.js → p-7370b4fe.entry.js} +1 -1
  40. package/dist/bromcom-ui/p-7b7117a6.entry.js +5 -0
  41. package/dist/bromcom-ui/{p-eb4362ac.entry.js → p-7b7f2f30.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-7bd237c3.entry.js +5 -0
  43. package/dist/bromcom-ui/{p-f5958c67.entry.js → p-7d3de132.entry.js} +1 -1
  44. package/dist/bromcom-ui/p-7edf67d6.entry.js +5 -0
  45. package/dist/bromcom-ui/{p-f3246837.entry.js → p-84fe87a9.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-ccb3c2e2.entry.js → p-88aaae3d.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-e76bfd6b.entry.js → p-892dfb49.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-4f96ee59.entry.js → p-8a298b97.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-dbc66238.js → p-8bdcf95d.js} +1 -1
  50. package/dist/bromcom-ui/{p-092f751e.js → p-8da7f4c3.js} +1 -1
  51. package/dist/bromcom-ui/p-94554e42.js +1 -1
  52. package/dist/bromcom-ui/{p-dd1a1d12.entry.js → p-9cae421a.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-e0a4da6d.entry.js → p-9e2b2ff7.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-4a540b56.js → p-9f6bbc21.js} +1 -1
  55. package/dist/bromcom-ui/{p-e920c9b9.entry.js → p-9f9504ee.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-fd1c3951.entry.js → p-a4067bcc.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-f3423d98.entry.js → p-a8096b68.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-15302481.entry.js → p-a8f84d47.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-c439cb60.entry.js → p-b362b2b5.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-b701b3aa.entry.js → p-b3ef6a72.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-aee35345.entry.js → p-b5608cea.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-422e697d.entry.js → p-b5db6748.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-687ea920.entry.js → p-b7197a02.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-73f5c339.entry.js → p-b9c6cf34.entry.js} +1 -1
  65. package/dist/bromcom-ui/{p-8d4654ed.entry.js → p-bacb0014.entry.js} +1 -1
  66. package/dist/bromcom-ui/p-bcd599fd.js +5 -0
  67. package/dist/bromcom-ui/{p-e4ab4af0.entry.js → p-c0e42d05.entry.js} +1 -1
  68. package/dist/bromcom-ui/{p-66964e5c.entry.js → p-c2cab6c8.entry.js} +1 -1
  69. package/dist/bromcom-ui/{p-f0177251.entry.js → p-c8ae67c0.entry.js} +1 -1
  70. package/dist/bromcom-ui/{p-79007b75.entry.js → p-cbd050fa.entry.js} +1 -1
  71. package/dist/bromcom-ui/{p-3b7ac787.entry.js → p-ccc42e5f.entry.js} +1 -1
  72. package/dist/bromcom-ui/{p-2d776ab1.entry.js → p-d36d446d.entry.js} +1 -1
  73. package/dist/bromcom-ui/{p-02b30a5c.entry.js → p-ded1c855.entry.js} +1 -1
  74. package/dist/bromcom-ui/{p-62370fd0.entry.js → p-e49af670.entry.js} +1 -1
  75. package/dist/bromcom-ui/p-f1c672fd.entry.js +5 -0
  76. package/dist/bromcom-ui/{p-2fad0385.entry.js → p-f73dc7a3.entry.js} +1 -1
  77. package/dist/bromcom-ui/{p-c926e138.js → p-fe7e383d.js} +1 -1
  78. package/dist/cjs/{bcm-3c58a6d5.js → bcm-470704cd.js} +4 -4
  79. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  80. package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
  81. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -8
  82. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -8
  83. package/dist/cjs/{bcm-button.cjs.entry.js → bcm-attendance-actions_2.cjs.entry.js} +344 -34
  84. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  85. package/dist/cjs/bcm-avatar_2.cjs.entry.js +10 -10
  86. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  87. package/dist/cjs/bcm-button-group.cjs.entry.js +7 -7
  88. package/dist/cjs/bcm-caption.cjs.entry.js +8 -8
  89. package/dist/cjs/bcm-card.cjs.entry.js +5 -5
  90. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +7 -7
  91. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +6 -6
  92. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +10 -10
  93. package/dist/cjs/bcm-chip-group.cjs.entry.js +8 -8
  94. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  95. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  96. package/dist/cjs/bcm-color-input.cjs.entry.js +6 -6
  97. package/dist/cjs/bcm-colorful_2.cjs.entry.js +12 -12
  98. package/dist/cjs/bcm-date-picker.cjs.entry.js +4 -4
  99. package/dist/cjs/bcm-date.cjs.entry.js +8 -8
  100. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
  101. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  102. package/dist/cjs/bcm-drawer.cjs.entry.js +8 -8
  103. package/dist/cjs/bcm-dropdown.cjs.entry.js +8 -8
  104. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
  105. package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
  106. package/dist/cjs/bcm-form.cjs.entry.js +2 -2
  107. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  108. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +8 -8
  109. package/dist/cjs/bcm-input_2.cjs.entry.js +15 -15
  110. package/dist/cjs/bcm-item.cjs.entry.js +4 -4
  111. package/dist/cjs/bcm-items.cjs.entry.js +4 -4
  112. package/dist/cjs/bcm-label_2.cjs.entry.js +13 -13
  113. package/dist/cjs/bcm-link.cjs.entry.js +3 -3
  114. package/dist/cjs/bcm-list_3.cjs.entry.js +25 -25
  115. package/dist/cjs/bcm-menu.cjs.entry.js +8 -8
  116. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
  117. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
  118. package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -7
  119. package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
  120. package/dist/cjs/bcm-number-input.cjs.entry.js +8 -8
  121. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +5 -5
  122. package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -5
  123. package/dist/cjs/bcm-popover.cjs.entry.js +9 -9
  124. package/dist/cjs/bcm-progress.cjs.entry.js +4 -4
  125. package/dist/cjs/bcm-radio-group.cjs.entry.js +10 -10
  126. package/dist/cjs/bcm-radio.cjs.entry.js +13 -13
  127. package/dist/cjs/bcm-range.cjs.entry.js +6 -6
  128. package/dist/cjs/bcm-rc-picker.cjs.entry.js +2 -2
  129. package/dist/cjs/bcm-select.cjs.entry.js +2 -2
  130. package/dist/cjs/bcm-shortcut.cjs.entry.js +10 -10
  131. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  132. package/dist/cjs/bcm-step.cjs.entry.js +3 -3
  133. package/dist/cjs/bcm-stepper.cjs.entry.js +9 -9
  134. package/dist/cjs/bcm-switch.cjs.entry.js +9 -9
  135. package/dist/cjs/bcm-tab-group.cjs.entry.js +7 -7
  136. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +10 -10
  137. package/dist/cjs/bcm-tab-item.cjs.entry.js +6 -6
  138. package/dist/cjs/bcm-table.cjs.entry.js +6 -6
  139. package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
  140. package/dist/cjs/bcm-text.cjs.entry.js +3 -3
  141. package/dist/cjs/bcm-time-picker.cjs.entry.js +4 -4
  142. package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
  143. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  144. package/dist/cjs/{floating-ui-555cd3d4.js → floating-ui-829ed777.js} +2 -2
  145. package/dist/cjs/{generate-183405cb.js → generate-c0b728d9.js} +1 -1
  146. package/dist/cjs/{global-4a756c02.js → global-8735cc95.js} +1 -1
  147. package/dist/cjs/{input-template-e36927b1.js → input-template-e9c37e34.js} +6 -6
  148. package/dist/cjs/{json-parse-decarator-4c1f74bb.js → json-parse-decarator-3e78a3ac.js} +1 -1
  149. package/dist/cjs/{label-template-a6f51ef2.js → label-template-df551eef.js} +2 -2
  150. package/dist/cjs/loader.cjs.js +3 -3
  151. package/dist/cjs/{number-helper-ca52fadf.js → number-helper-eea3b6e3.js} +1 -1
  152. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
  153. package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
  154. package/dist/cjs/{package-4c68d5f8.js → package-8156f6de.js} +1 -1
  155. package/dist/cjs/{popover-placement-9b4b4153.js → popover-placement-26859281.js} +1 -1
  156. package/dist/cjs/{slot-template-80b019d5.js → slot-template-a47f5492.js} +1 -1
  157. package/dist/cjs/{stepper-states-f97c457a.js → stepper-states-7e56ed0b.js} +1 -1
  158. package/dist/cjs/{string-helper-3212f4ea.js → string-helper-b6bd711a.js} +2 -2
  159. package/dist/cjs/{tooltip-helper-83971814.js → tooltip-helper-fad904a9.js} +9 -9
  160. package/dist/cjs/{validators-a31b53a5.js → validators-f952aefd.js} +1 -1
  161. package/dist/collection/components/molecules/dropdown/dropdown.css +1 -0
  162. package/dist/components/bcm-dropdown.js +1 -1
  163. package/dist/components/generate.js +1 -1
  164. package/dist/esm/bcm-0f9cc27c.js +1 -1
  165. package/dist/esm/bcm-accordion.entry.js +2 -2
  166. package/dist/esm/bcm-alert.entry.js +2 -2
  167. package/dist/esm/bcm-attendance-actions-comment.entry.js +5 -5
  168. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +5 -5
  169. package/dist/esm/{bcm-button.entry.js → bcm-attendance-actions_2.entry.js} +337 -28
  170. package/dist/esm/bcm-attendance.entry.js +2 -2
  171. package/dist/esm/bcm-avatar_2.entry.js +5 -5
  172. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  173. package/dist/esm/bcm-button-group.entry.js +3 -3
  174. package/dist/esm/bcm-caption.entry.js +5 -5
  175. package/dist/esm/bcm-card.entry.js +2 -2
  176. package/dist/esm/bcm-checkbox-group.entry.js +3 -3
  177. package/dist/esm/bcm-checkbox-lite_9.entry.js +3 -3
  178. package/dist/esm/bcm-checkbox_2.entry.js +3 -3
  179. package/dist/esm/bcm-chip-group.entry.js +5 -5
  180. package/dist/esm/bcm-chip.entry.js +2 -2
  181. package/dist/esm/bcm-collapse.entry.js +2 -2
  182. package/dist/esm/bcm-color-input.entry.js +4 -4
  183. package/dist/esm/bcm-colorful_2.entry.js +5 -5
  184. package/dist/esm/bcm-date-picker.entry.js +3 -3
  185. package/dist/esm/bcm-date.entry.js +5 -5
  186. package/dist/esm/bcm-datetime-picker.entry.js +3 -3
  187. package/dist/esm/bcm-default.entry.js +2 -2
  188. package/dist/esm/bcm-drawer.entry.js +5 -5
  189. package/dist/esm/bcm-dropdown.entry.js +5 -5
  190. package/dist/esm/bcm-expansion-panel.entry.js +2 -2
  191. package/dist/esm/bcm-form-2.entry.js +3 -3
  192. package/dist/esm/bcm-input-custom.entry.js +2 -2
  193. package/dist/esm/bcm-input-dropdown.entry.js +5 -5
  194. package/dist/esm/bcm-input_2.entry.js +6 -6
  195. package/dist/esm/bcm-item.entry.js +3 -3
  196. package/dist/esm/bcm-items.entry.js +2 -2
  197. package/dist/esm/bcm-label_2.entry.js +6 -6
  198. package/dist/esm/bcm-link.entry.js +1 -1
  199. package/dist/esm/bcm-list_3.entry.js +7 -7
  200. package/dist/esm/bcm-menu.entry.js +5 -5
  201. package/dist/esm/bcm-modal-2-footer.entry.js +4 -4
  202. package/dist/esm/bcm-modal-2-header.entry.js +4 -4
  203. package/dist/esm/bcm-modal-2.entry.js +5 -5
  204. package/dist/esm/bcm-modal.entry.js +3 -3
  205. package/dist/esm/bcm-number-input.entry.js +5 -5
  206. package/dist/esm/bcm-popconfirm-box.entry.js +2 -2
  207. package/dist/esm/bcm-popconfirm.entry.js +3 -3
  208. package/dist/esm/bcm-popover.entry.js +5 -5
  209. package/dist/esm/bcm-progress.entry.js +3 -3
  210. package/dist/esm/bcm-radio-group.entry.js +5 -5
  211. package/dist/esm/bcm-radio.entry.js +5 -5
  212. package/dist/esm/bcm-range.entry.js +3 -3
  213. package/dist/esm/bcm-rc-picker.entry.js +1 -1
  214. package/dist/esm/bcm-shortcut.entry.js +5 -5
  215. package/dist/esm/bcm-skeleton.entry.js +4 -4
  216. package/dist/esm/bcm-step.entry.js +3 -3
  217. package/dist/esm/bcm-stepper.entry.js +6 -6
  218. package/dist/esm/bcm-switch.entry.js +3 -3
  219. package/dist/esm/bcm-tab-group.entry.js +5 -5
  220. package/dist/esm/bcm-tab-item-header.entry.js +5 -5
  221. package/dist/esm/bcm-tab-item.entry.js +4 -4
  222. package/dist/esm/bcm-table.entry.js +4 -4
  223. package/dist/esm/bcm-tag.entry.js +4 -4
  224. package/dist/esm/bcm-time-picker.entry.js +3 -3
  225. package/dist/esm/bcm-toast.entry.js +3 -3
  226. package/dist/esm/bromcom-ui.js +3 -3
  227. package/dist/esm/floating-ui-a4e67246.js +1 -1
  228. package/dist/esm/{generate-ea4b5630.js → generate-79ee4441.js} +1 -1
  229. package/dist/esm/{global-8fd9695e.js → global-e756344b.js} +1 -1
  230. package/dist/esm/{input-template-2ac3ec12.js → input-template-b0ee6981.js} +2 -2
  231. package/dist/esm/{json-parse-decarator-c5e5dae7.js → json-parse-decarator-ea12b23b.js} +1 -1
  232. package/dist/esm/label-template-b2e8f81d.js +1 -1
  233. package/dist/esm/loader.js +3 -3
  234. package/dist/esm/{number-helper-148cd002.js → number-helper-abccb751.js} +1 -1
  235. package/dist/esm/old-bcm-popover-box.entry.js +3 -3
  236. package/dist/esm/old-bcm-popover.entry.js +3 -3
  237. package/dist/esm/{package-b6a53fde.js → package-e9c0a5b1.js} +1 -1
  238. package/dist/esm/{stepper-states-f02df67c.js → stepper-states-a0fe0c79.js} +1 -1
  239. package/dist/esm/string-helper-3526c4fe.js +1 -1
  240. package/dist/esm/{tooltip-helper-4b53b00b.js → tooltip-helper-9f73f914.js} +4 -4
  241. package/dist/esm/{validators-78ec4f0a.js → validators-37228b55.js} +1 -1
  242. package/package.json +1 -1
  243. package/dist/bromcom-ui/p-0511936c.entry.js +0 -5
  244. package/dist/bromcom-ui/p-3b30d329.entry.js +0 -5
  245. package/dist/bromcom-ui/p-4e40be76.entry.js +0 -5
  246. package/dist/bromcom-ui/p-6bea3bea.js +0 -5
  247. package/dist/bromcom-ui/p-ad359555.entry.js +0 -5
  248. package/dist/bromcom-ui/p-ada3eed7.entry.js +0 -5
  249. package/dist/bromcom-ui/p-bca72f17.entry.js +0 -5
  250. package/dist/bromcom-ui/p-f33d8f77.entry.js +0 -5
  251. package/dist/bromcom-ui/p-f650fed9.entry.js +0 -5
  252. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +0 -330
  253. package/dist/esm/bcm-attendance-actions.entry.js +0 -326
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{h as e,r as t,c as i,H as c,g as o}from"./p-e037ee2b.js";import{I as n}from"./p-8e5e362a.js";import{J as s}from"./p-092f751e.js";import"./p-4798d827.js";import"./p-626a65e9.js";import{G as l,s as r}from"./p-c926e138.js";import{N as a}from"./p-6bea3bea.js";import{S as m}from"./p-94554e42.js";import{V as h}from"./p-ba2ddaf6.js";import"./p-5ae0a59b.js";import{g as b,s as d}from"./p-ed9d082d.js";import{p,d as u}from"./p-3c7a0345.js";import{B as _,a as x}from"./p-6369b73b.js";import{C as g}from"./p-8a92f2bf.js";import{c as v}from"./p-bed627ab.js";import"./p-3fac58f7.js";import"./p-2e73d572.js";import{c as f}from"./p-197aba37.js";import{r as k,a as w}from"./p-3182df7e.js";import{R as y,c as z,u as j,d as I}from"./p-7e3209a0.js";import{I as C}from"./p-3b5a6c8e.js";import"./p-436364c8.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-4a540b56.js";const O=({disabled:t,checked:i,readonly:c,required:o,indeterminate:n,hidden:s,captionType:l,_id:r})=>{const a=v("bcm-checkbox","bcm-checkbox__type-default","bcm-checkbox-size-medium",{error:l==_.Status.error,hidden:s,checked:i,disabled:t,required:o,readonly:c}),m=v("bcm-checkbox__label-icon","bcm-checkbox__label-icon-lite","bcm-checkbox__label-icon-"+n,{"bcm-checkbox__label-icon-checked":i}),h=v("bcm-checkbox__label");return e("div",{class:a},e("input",{tabindex:"-1",id:r,type:"checkbox",checked:i,disabled:t,required:o,readonly:c}),e("label",{class:h,htmlFor:r},e("span",{class:m},e("bcm-icon",{icon:"far fa-check"}))))},S=({selected:t,total:i,found:c,multiple:o,variableText:n})=>(i=i||0,n=n?p(n,i):"items",e("footer",{class:"bcm-info-footer"},e("bcm-text",{scale:"size-1",color:"grey-8"},o&&t>0&&` ( ${t} selected ) `,` Total ${i} `,null!=c&&` / ${c} `,` ${n} found. `))),$=({item:t,treeview:i,highlight:c,checkboxes:o,size:n,selectedItem:s,openGroup:r,checkedItem:a,focusItem:h,searchIsOnlyChilds:b})=>{const d=t.items&&t.items.length>0;var p=m.htmlEntities(t.text);let u=[];if(c&&m.slugify(p).includes(m.slugify(c))&&(b&&(!b||d&&(i||"group"==t.type))||(p=m.highlight(p,c))),"group"!=t.type&&t.template){const e=t.template.replace(/\s/g,"").match(/\{{[^}}]+\}/g).map((e=>e.replace(/[{}]/g,""))),i=Object.keys(t.itemObject);u=e.filter((e=>i.includes(e)))}p=t.isHtmlContent?t.isHtmlContent:t.template&&u.length>0?m.templateParser(t.template,Object.assign(Object.assign({},t.itemObject),{text:p})):p;const _=t.template?p:l.domParser(p),x=!i&&"group"==t.type&&!t.clickable,g=t.disabled,f=t.readonly,k=()=>{t.open=t.isSearching,r(t.id)};return e("div",{id:t.id,hidden:t.hidden,"on-focus":e=>!x&&!g&&h(e),class:v("bcm-list__item","bcm-list__item-"+n,{"bcm-list__item--group":!i&&"group"==t.type,"bcm-list__item--readonly":f})},e("div",{class:v("bcm-list__item-content",!o&&t.selected&&"selected",{disabled:g})},i&&e("div",{class:"bcm-list__item-content-collapse-icon",onClick:()=>k()},d&&e("bcm-icon",{icon:v("fas fa-caret-"+(t.isSearching||t.open?"down":"right"))})),e("div",{class:v("bcm-list__item-content-text",{treeview:i}),onClick:e=>{var i;((i=e).path||i.composedPath()).filter((e=>e.attributes&&e.attributes.getNamedItem("unlinked")))[0]||(f&&k(),!x&&!g&&!f&&(o?a(t.id):s(t.id)))}},o&&(i||!i&&"group"!=t.type)&&e("div",{class:"bcm-list__item-content-text-checkbox"},e(O,{indeterminate:t.indeterminate,checked:t.checked,disabled:t.disabled})),e("span",Object.assign({class:"bcm-list__item-content-text-inner"},t.title&&{title:t.title},{innerHTML:_})))),(i||!i&&"group"==t.type)&&d&&e("div",{class:"bcm-list__item-childs"},(t.isSearching||t.open||!i&&"group"==t.type)&&t.items.map((t=>e($,{highlight:c,item:t,searchIsOnlyChilds:b,treeview:i,checkboxes:o,size:n,selectedItem:s,checkedItem:a,openGroup:e=>r(e),focusItem:e=>h(e)})))))},E=({highlight:t,selectAllItem:i,bcmListContainer:c,treeview:o,checkboxes:n,checkAll:s,infoFooter:l,value:r,totalData:a,searchFound:m,variableText:h,_id:b,tempId:d,data:p,width:u,height:_,size:x,searchPlaceholder:g,minSearchLength:v,selectedItem:f,openGroup:k,checkedItem:w,onScrollEvent:y,focusItem:z,items:j,searchable:I,searchIsOnlyChilds:C,emptyText:O,emptyIcon:E,handleTransitionEnd:T})=>{const R=!(o&&m>0||m>0);return e("div",{id:`bcm-list-${b}`,class:c,"temp-id":`bcm-list-${d}`,style:{"--height":_,"--width":u},onTransitionEnd:e=>T(e)},p&&I&&e("section",{class:"bcm-list__container-search"},e("bcm-search",{size:x,id:`bcm-list-${b}-search`,data:p,clearable:!0,placeholder:g,"min-search-length":v,searchIsOnlyChilds:C})),e("main",{onScroll:e=>y(e),class:"scrolling",style:{"overscroll-behavior":"none"}},e("div",{style:{"min-height":`${(null==m?o?j.length:a:m)*("small"===x?28:"medium"===x?36:48)||0}px`,"overscroll-behavior":"none",height:"100%",display:"flex","flex-direction":"column"}},s&&0!=m&&j&&j.length>0&&n&&R&&e("section",{class:"bcm-list__container-select-all"},e($,{size:x,item:i,treeview:!1,checkboxes:!0,selectedItem:e=>f(e),checkedItem:e=>w(e),openGroup:e=>k(e),focusItem:e=>z(e)})),j.map((i=>e($,{highlight:t,size:x,item:i,searchIsOnlyChilds:C,treeview:o,checkboxes:n,selectedItem:e=>f(e),checkedItem:e=>w(e),openGroup:e=>k(e),focusItem:e=>z(e)}))),(!j||0===j.length)&&0!=m&&e("section",{class:"bcm-list__container-no-data"},e("bcm-empty",{style:{height:"auto"},icon:E},e("span",{innerHTML:O||"No data"}))),0==m&&e("section",{class:"bcm-list__container-no-data"},e("bcm-empty",{style:{height:"auto"},icon:E},e("span",{innerHTML:O||"No Data Found"}))))),l&&p&&p.length>0&&e(S,{selected:null==r?void 0:r.length,total:a,found:m,multiple:n,variableText:h}))},{state:T}=f({value:new Map}),R=(e,t,i,c="0.")=>{let o=[];return e&&e.length>0&&(o=e.map(((e,o)=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({itemObject:e},e),t),{parentId:r((()=>i),null),open:t.allOpen||e.open||!1}),(t.treeview||!t.treeview&&"group"==e.type)&&e.items&&e.items.length>0?{items:r((()=>R(e.items,t,e.id,`${c}${o}`)),[])}:{items:[]}),{ct:`${c}${o}`})))),o},N=e=>r((()=>T.value.get(e)),{}),D=(e,t)=>{let i=0;return e.forEach((e=>{(t||!t&&"group"!=e.type)&&(i+=1),(t||!t&&"group"==e.type)&&e.items&&(i+=D(e.items,t))})),i},F=(e,t,i,c)=>{let o;o=i||N(e).dataSource,o&&o.forEach((i=>{null!=c?i.open=c:i.id==t?(i.open=!i.open,i.isSearching=i.open,!i.open&&i.items&&F(e,t,i.items,!1)):i.items&&F(e,t,i.items)}))},P=(e,t,i)=>{i&&i.forEach((i=>{i.id==t?(i.checked=!1,i.itemObject.checked=!1,V(e,i.parentId)):i.items&&P(e,t,i.items)}))},A=(e,t)=>{L(e,t)},L=(e,t,i)=>{let c;t=Array.isArray(t)?t:[t],c=i||N(e).dataSource,c&&c.forEach((i=>{t.includes(i.id)?(M(e,i),i.parentId&&V(e,i.parentId)):i.items&&L(e,t,i.items)}))},M=(e,t,i)=>{const c=N(e);if(c){const o=c.options.treeview;t&&((o||!o&&"group"!=t.type)&&(t.disabled||(t.checked=null!=i?i:!t.checked,t.itemObject.checked=t.checked,t.indeterminate=t.checked?"determinate":"uncheck")),t.items&&t.items.forEach((c=>{M(e,c,null==i?t.checked:i)})))}},V=(e,t,i)=>{let c;c=i||N(e).dataSource,c&&c.forEach((i=>{if(i.id==t){let t=!0,c=!0;i.items&&i.items.map((e=>{(e.checked||"indeterminate"===e.indeterminate)&&(c=!1),!e.checked&&(t=!1)}));const o=t||c?t?"determinate":"uncheck":"indeterminate";i.indeterminate=o,i.checked="determinate"==o,i.itemObject.checked=i.checked,i.parentId&&V(e,i.parentId)}else i.items&&V(e,t,i.items)}))},G=(e,t,i,c)=>{let o,n=[],s=[];return N(e).isSearchOtherTag=c,o=i||N(e).dataSource,o&&o.forEach((i=>{if(t){var o;i.hidden=!0;for(let e=0;e<t.length;e++)if(t[e].id===i.id){o=t[e];break}if(o&&(i.hidden=!1,N(e).isSearchOtherTag||(i.isSearching=!0),s.push(i),i.checked&&n.push(i),o.items)){const{checkedItems:t,visibledItems:l}=G(e,o.items,i.items,c);t&&(n=[...new Set([...n,...t])]),l&&(s=[...new Set([...s,...l])])}}else i.hidden=!1,i.items&&G(e,null,i.items),s.push(i),i.isSearching=!1})),{checkedItems:null!=n?n:[],visibledItems:null!=s?s:[]}},B=(e,t)=>{let i,c=null;return i=t||N(e).dataSource,i&&i.forEach((t=>{if(t.selected)c=t.itemObject;else if(t.items){const i=B(e,t.items);i&&(c=i)}})),c},H=(e,t)=>{let i,c=[],o=[];return i=t||N(e).dataSource,i&&i.forEach((t=>{var i;const n=Object.assign(Object.assign({},t.itemObject),{ct:t.ct});let s=[],l=[];if(t.checked&&(c.push(n),l.push(Object.assign(Object.assign({},n),{items:[]}))),t.items){const o=H(e,t.items);(null===(i=null==o?void 0:o.checkedList)||void 0===i?void 0:i.length)>0&&(c=[...c,...o.checkedList]),o.nestedResult.length>0&&(s=o.nestedResult)}s.length>0?(0==l.length&&l.push(Object.assign(Object.assign({},n),{items:[]})),l[0].items=s,o.push(l[0])):l.length>0&&(l[0].items=s,o.push(l[0]))})),{checkedList:(null==c?void 0:c.length)>0?c:null,nestedResult:o}},W=(e,t,i)=>{let c,o=[];return c=i||N(e).dataSource,c&&c.forEach((i=>{if(t&&(i.id==t?(i.selected=!0,i.itemObject.selected=i.selected):i.selected&&(i.selected=!1,i.itemObject.selected=i.selected)),i.items){const c=W(e,t,i.items);(null==c?void 0:c.length)>0&&(o=[...o,...c])}i.selected&&o.push(i.itemObject)})),o&&o.length>0?o:null},q=(e,t)=>{let i;i=t||N(e).dataSource,i&&i.forEach((t=>{var i,c,o;t.checked&&(t.checked=!1),t.selected&&(t.selected=!1),t.indeterminate&&(t.indeterminate="uncheck"),(null===(i=t.itemObject)||void 0===i?void 0:i.checked)&&(t.itemObject.checked=!1),(null===(c=t.itemObject)||void 0===c?void 0:c.selected)&&(t.itemObject.selected=!1),(null===(o=t.itemObject)||void 0===o?void 0:o.indeterminate)&&(t.itemObject.indeterminate="uncheck"),t.items&&q(e,t.items)}))},K={setValue:e=>{const{id:t,dataSource:i,options:c}=e,{type:o,treeview:n,checkboxes:s,searchable:a,value:m,name:h,label:b,size:d,disabled:p,readonly:u,highlight:_,required:x,hidden:g,fullWidth:v,height:f,maxHeight:k,minHeight:w,width:y,infoFooter:z,variableText:j,template:I,allOpen:C,keyControl:O,checkAll:S,linkedComponent:$,placeholder:E,searchPlaceholder:N,searchIsOnlyChilds:F,clearable:P,caption:A,noCaption:L,captionType:M,captionError:V,placement:G}=c,B={size:d,checkboxes:s,template:I,allOpen:C,highlight:_,treeview:n},H={id:r((()=>t),l.UID),dataSource:i&&i.length>0&&R(i,B),options:{type:o,treeview:n,checkboxes:s,searchable:a,value:m,name:h,label:b,size:d,disabled:p,readonly:u,highlight:_,required:x,hidden:g,fullWidth:v,height:f,maxHeight:k,minHeight:w,width:y,infoFooter:z,variableText:j,template:I,allOpen:C,keyControl:O,checkAll:S,linkedComponent:$,placeholder:E,searchPlaceholder:N,searchIsOnlyChilds:F,clearable:P,caption:A,noCaption:L,captionType:M,captionError:V,placement:G},totalItems:(null==i?void 0:i.length)>0&&D(i,c.treeview),totalRoots:null==i?void 0:i.length};T.value.set(H.id,H)},removeValue:e=>{T.value.delete(e)},getValue:N,getData:e=>{let t=[];const i=N(e);if(i){const{dataSource:e}=i;t=e}return t},getDataPagination:(e,t=3,i)=>{let c=[];const o=N(e);if(o){const{dataSource:e}=o;c=i?e.filter((e=>i.indexOf(e.id)>-1)).slice(0,t):e.slice(0,t)}return c},openGroup:F,checkedItem:A,filterData:G,getSelected:B,getCheckedList:H,selectedItem:W,addChecked:(e,t)=>{N(e)&&t.forEach((t=>{A(e,t)}))},setClear:q,selectAll:(e,t)=>{const i=N(e).dataSource;i&&i.forEach((i=>{M(e,i,t)}))},removeOtherTags:(e,t,i)=>{let c;if(t=Array.isArray(t)?t:[t],i)c=i;else{const t=N(e);c=t.dataSource}c&&t.forEach((t=>{c.forEach((i=>{i.id==t?(i.checked=!1,i.itemObject.checked=!1):i.items&&P(e,t,i.items)}))}))},onRemoveItems:P,updateOptions:(e,t)=>{Object.keys(N(e).options).forEach((i=>{N(e).options[i]=t[i]}))},removeState:e=>Promise.resolve(T.value.delete(e))};class U{constructor(e,t,i,c){this.elementName="",this.childElementName="",this.keyCode=e,this.element=t,this.elementName=i,this.childElementName=c}getKeyCode(){return this.keyCode}getElementName(){return this.elementName}getChildElementName(){return this.childElementName}getFocusedElementName(){return this.getElementName()+".focused"}getFocusedElement(){return this.element.querySelectorAll(this.getFocusedElementName())[0]||null}getFirstElement(){return this.element.querySelectorAll(this.getElementName())[0]||null}getNextElement(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.nextElementSibling)||this.getFirstElement()}getPreviousElement(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.previousElementSibling)||this.getFirstElement()}getChildElement(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.querySelectorAll(this.getChildElementName())[0])||null}getParentElement(e){if(e&&e)return e&&e.attributes["data-isroot"]?e:this.getParentElement(e.parentNode)}focusElementIsOpen(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.classList.contains("bcm-list__item--open"))||!1}isRootElement(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.querySelectorAll(this.getChildElementName()).length)>0}isRootElementIsOpen(){return this.getFocusedElement().classList.contains("bcm-list__item--open")}getFocusedChildElement(){var e;return(null===(e=this.getChildElement())||void 0===e?void 0:e.querySelectorAll(".focused")[0])||null}isLastElement(){var e;return null===(null===(e=this.getFocusedElement())||void 0===e?void 0:e.nextElementSibling)}focusParentElementFirstChild(){var e,t;return this.setFocus(null===(t=null===(e=this.getFocusedElement())||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.firstChild)}isFirstElement(){var e;return null===(null===(e=this.getFocusedElement())||void 0===e?void 0:e.previousElementSibling)}focusRootElement(){var e,t,i;return this.setFocus(null===(i=null===(t=null===(e=this.getFocusedElement())||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.firstChild)}nextRootElement(){var e,t,i;return this.setFocus(null===(i=null===(t=null===(e=this.getFocusedElement())||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.nextElementSibling)}findFocusElementParent(){return this.getFocusedElement().parentNode.querySelectorAll(".bcm-list__item--open")}getLastElement(){return this.element.querySelectorAll(this.getElementName())[this.element.querySelectorAll(this.getElementName()).length-1]||null}setFocus(e){e.focus()}}class Y extends U{constructor(e,t,i,c){super(e,t,".bcm-list__item",".bcm-list__item-childs"),this.isTreeview=!1,this.isCheckBoxes=!1,this.isTreeview=i,this.isCheckBoxes=c}keyUpControl(){this.isTreeview?this.keyUpTreeview():this.isFirstElement()?this.setFocus(this.getLastElement()):this.setFocus(this.getPreviousElement())}keyDownTreeView(){var e;if(this.isTreeview)if(this.isRootElement()&&this.isRootElementIsOpen()){const e=this.getChildElement();e&&this.setFocus(e.firstChild)}else this.isLastElement()&&this.getParentElement(this.getFocusedElement())?this.setFocus(null===(e=this.getParentElement(this.getFocusedElement()))||void 0===e?void 0:e.nextElementSibling):this.setFocus(this.getNextElement())}keyUpTreeview(){if(this.isFirstElement()){const e=this.getParentElement(this.getFocusedElement());this.setFocus(e)}else{const e=this.getPreviousElement();if(e)if(e.classList.contains("bcm-list__item--open")){const t=e.querySelectorAll(this.getChildElementName())[0];console.log({getChildElement:t}),this.setFocus(t.lastChild)}else this.setFocus(e)}}keyDownControl(){this.isTreeview?this.keyDownTreeView():this.isLastElement()?this.setFocus(this.getFirstElement()):this.setFocus(this.getNextElement())}keyRightControl(){if(this.isTreeview&&!this.isRootElementIsOpen()&&this.isRootElement()){const{id:e}=this.getFocusedElement();this.openGroup(e)}}keyLeftControl(){if(this.isTreeview&&this.isRootElementIsOpen()&&this.isRootElement()){const{id:e}=this.getFocusedElement();this.openGroup(e)}}keyEnterControl(){}keySpaceControl(){if(this.isCheckBoxes){const{id:e}=this.getFocusedElement();this.checkedItem(e)}}keyDown(){switch(this.getKeyCode()){case _.KeyCode.up:this.keyUpControl();break;case _.KeyCode.down:this.keyDownControl();break;case _.KeyCode.left:this.keyLeftControl();break;case _.KeyCode.right:this.keyRightControl();break;case _.KeyCode.enter:this.keyEnterControl();break;case _.KeyCode.space:this.keySpaceControl()}}keyUp(){}}var J=function(e,t,i,c){var o,n=arguments.length,s=n<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,i):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,c);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s};const Q=class{constructor(e){t(this,e),this.bcmChecklist=i(this,"bcm-checklist",7),this.bcmSelected=i(this,"bcm-selected",7),this.change=i(this,"bcm-change",7),this.open=i(this,"bcm-open",3),this.close=i(this,"bcm-close",3),this.listClose=i(this,"bcm-list-close",7),this.listOpen=i(this,"bcm-list-open",7),this.debounce=null,this.debounceHandler=l.debounceInput((()=>this.listenResize()),300,!1),this._id=l.UID(),this.tempId=l.UID(),this.type=x.ListType.listbox,this.treeview=!1,this.checkboxes=!1,this.searchable=!1,this.value=null,this.inputText=void 0,this.name=void 0,this.label=void 0,this.size=x.Size.medium,this.disabled=!1,this.readonly=!1,this.highlight=!1,this.highlightText=void 0,this.required=!1,this.hidden=!1,this.fullWidth=!1,this.height="256px",this.maxHeight="500px",this.minHeight="150px",this.width="256px",this.tooltip=void 0,this.infoFooter=!1,this.variableText="item",this.template=void 0,this.allOpen=!1,this.keyControl=!1,this.checkAll=!0,this.stopDeepClean=!1,this.openIntersecting=!1,this.linkedComponent=void 0,this.isOpen=!1,this.calculatedViewport=!1,this.isSelectedOther=!1,this.isHaveOtherTag=!1,this.placeholder="Choose an option",this.searchPlaceholder="Search",this.searchIsOnlyChilds=!1,this.minSearchLength=2,this.clearable=!1,this.caption=void 0,this.noCaption=!1,this.captionType=x.Status.default,this.captionError=void 0,this.emptyText=void 0,this.emptyIcon="fad fa-folder-open",this.captionCache=void 0,this.captionTypeCache=void 0,this.tick={},this.totalData=0,this.totalRootData=0,this.limit=20,this.searchGetParents=void 0,this.searchResultLimit=20,this.searchFound=null,this.returnFilterData={},this.returnOtherData={},this.options={rootMargin:"30px"},this.tagContainerWidth=0,this.selectAllItem={id:"select-all",text:"Select All",value:"select-all",checked:!1,disabled:!1,icon:"",status:x.Status.default,indeterminate:"uncheck"},this.shouldTriggerChange=void 0,this.placement=x.Placement["bottom-start"],this.disableChangeEvent=!1,this.data=[],window.addEventListener("scroll",this.handleWheel.bind(this),!0),window.addEventListener("wheel",this.handleWheel.bind(this),!0),window.addEventListener("resize",this.handleResize.bind(this),!0)}connectedCallback(){"256px"!=this.height&&(this.limit=this.height.indexOf("px")>-1?Math.floor(+this.height.replace("px","")/10):Math.floor(+window.innerHeight/10),this.searchResultLimit=this.limit,this.markForCheck());const e=document.querySelectorAll(`#bcm-list-${this._id}`);(null==e?void 0:e.length)>1&&e.forEach(((e,t)=>t>0&&e.remove()))}componentWillRender(){this.calculateLocation()}componentShouldUpdate(e,t,i){Object.keys(this.getOptions()).indexOf(i)>-1&&e!==t&&this.updateOptions()}get containerWidth(){var e,t;return null===(t=null===(e=this.el)||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.width}get tagCount(){return this.containerWidth>0?Math.floor(+(this.containerWidth-100)/85):0}get tagData(){return r((()=>{var e;return null===(e=this.value)||void 0===e?void 0:e.map((e=>({value:e.id,label:m.textLimitter(e.text,7),text:e.tooltipMessage||e.tagTitle||l.domParser(e.text)})))}),[])}async componentDidLoad(){await this.initState()}disconnectedCallback(){if(this.isOpen=!1,!this.stopDeepClean&&(K.removeState(this._id),this.el.innerHTML="","select"==this.type||"autocomplete"==this.type||this.linkedComponent)){const e=document.querySelectorAll(`#bcm-list-${this._id}`);(null==e?void 0:e.length)&&(e.forEach((e=>e.remove())),this.el.remove())}}watchId(e,t){K.removeState(t),this.initState()}handleValueChange(e,t){var i;l.objectIsEmpty(this.returnFilterData)&&this.handleIndeterminate((null===(i=this.value)||void 0===i?void 0:i.length)||0,this.totalData),this.checkboxes?h.compareTwoArrayIsSame(e,t)||(this.bcmChecklist.emit(this.value),!this.disableChangeEvent&&this.change.emit([...this.value,{shouldTriggerChange:this.shouldTriggerChange}])):(null==e?void 0:e.id)!=(null==t?void 0:t.id)&&!this.disableChangeEvent&&this.change.emit(Object.assign(Object.assign({},this.value),{shouldTriggerChange:this.shouldTriggerChange}))}watchReturnFilterData(e){var t;const{checkedItems:i,visibledItems:c}=e;i&&c?this.handleIndeterminate(i.length,c.length):this.handleIndeterminate((null===(t=this.value)||void 0===t?void 0:t.length)||0,this.totalData)}async handleOpen(){if(this.isOpen){if(this.detectClone(),"select"==this.type||"autocomplete"==this.type||this.linkedComponent){const e=this.el.querySelector(`#bcm-list-${this._id}`);e&&document.querySelector("#bcm-overlay-container").appendChild(e)}this.open.emit(),this.calculateLocation(),this.onSelectSearch()}else this.listScrollToTop(),this.close.emit(),this.listClose.emit(),await u(100),this.unSelectOther()}listScrollToTop(){const e=document.querySelector(`#bcm-list-${this._id}`);e&&(e.querySelector(".scrolling").scrollTop=0)}async dataChanged(e,t){h.compareTwoArrayIsSame(e,t)||await this.initState()}isIntersecting(e){const t=null==e?void 0:e.target;t&&t.id===this._id&&this.listenResize()}handleSlotItems(e){var t;(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.length)>0&&(this.data=e.detail)}handleChange(e){e.target.id==`bcm-list-input-tag-container-${this._id}-autocomplete-input`&&e.stopImmediatePropagation()}handleResize(){this.calculateLocation(),this.debounceHandler()}handleWheel(e){if(this.isOpen){const t=document.querySelector(`#bcm-list-${this._id}`);t&&l.findEventPath(e,t)?("select"==this.type||"autocomplete"==this.type||this.linkedComponent)&&this.calculateLocation():this.hide()}}clearAutocomplete(){if("autocomplete"==this.type){const e=this.getAutoCompleteInput();e&&e.handleClear(!1)}}async handleSelectOtherTag(e){if(this.disabled)return;const{id:t,checked:i}=e.detail;this.isSelectedOther=i,t&&(i?this.filterOtherList(t):this.unSelectOther(),this.isOpen=!0)}async handleDeleteTag(e){var t;if(this.disabled)return;const{id:i}=e.detail;this.isSelectedOther&&this.unSelectOther(),Array.isArray(i)?K.removeOtherTags(this._id,i):K.checkedItem(this._id,i),this.value=(await this.getCheckedList()).checkedList,this.handleIndeterminate((null===(t=this.value)||void 0===t?void 0:t.length)||0,this.totalData)}async handleSelectTag(e){this.disabled||(this.clearAutocomplete(),this.onSelectSearch(),this.unSelectOther())}handleClick(e){var t;if(this.disabled)return;const i=document.querySelector(`#bcm-list-${this._id}`),c=l.findEventPath(e,this.el)||i&&l.findEventPath(e,i);if(c&&(null!==this.debounce&&(e.preventDefault(),e.stopPropagation(),clearTimeout(this.debounce),this.debounce=null),this.debounce=setTimeout((()=>{this.debounce=null}),300)),!c&&"autocomplete"==this.type){const e=this.getAutoCompleteInput();e&&e.setValue(this.checkboxes?"":(null===(t=this.value)||void 0===t?void 0:t.text)||"")}const o=l.findEventPathWithKey(e,"className",["bcm-tag"]),n=l.findEventPathWithKey(e,"className",["bcm-tag bcm-tag--other"]),s=l.findEventPathWithKey(e,"id",[`bcm-list-input-${this._id}`,`bcm-list-label-${this._id}`]),r=l.findEventPathWithKey(e,"className",["right close-button"]);s&&!r&&"autocomplete"!=this.type&&(this.isOpen=!(!o&&!n&&this.isOpen)),i&&this.isOpen&&(i.contains(e.target)||this.el.contains(e.target)||(this.isOpen=!1))}bcmOnSearchClear(e){var t,i;"autocomplete"==this.type&&((null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.id)!==`bcm-list-${this._id}-search`&&(null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.id)!==`bcm-list-input-tag-container-${this._id}-autocomplete-input`||e.detail&&this.setClear())}bcmOnSearch(e){var t,i,c,o,n,s;(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.id)!==`bcm-list-${this._id}-search`&&(null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.id)!==`bcm-list-input-tag-container-${this._id}-autocomplete-input`||(this.searchGetParents=r((()=>{var t;return null===(t=e.detail)||void 0===t?void 0:t.parentIndex}),null),this.searchResultLimit=10,this.searchFound=null!=(null===(c=e.detail)||void 0===c?void 0:c.matching)?null===(o=e.detail)||void 0===o?void 0:o.matching.length:null,this.returnFilterData=K.filterData(this._id,null===(n=e.detail)||void 0===n?void 0:n.nestedResult),this.searchFound>0&&this.highlight&&(this.highlightText=null===(s=e.detail)||void 0===s?void 0:s.value),"autocomplete"==this.type&&(this.isOpen=!0),e.detail.result||("autocomplete"==this.type?this.isOpen=!1:(this.returnFilterData={},K.filterData(this._id,null)),this.searchResultLimit=null,this.highlightText=null),this.markForCheck())}handleKeyDown(e){const t=e.keyCode||e.which;if(t===x.KeyCode.escape&&this.isOpen&&(this.isOpen=!1,e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()),this.keyControl){const e=new Y(t,this.el,this.treeview,this.checkboxes);e.openGroup=e=>{this.openGroup(e)},e.checkedItem=e=>{this.checkedItem(e)},e.keyDown()}}handleKeyUp(e){if(this.keyControl&&l.findEventPath(e,this.el)){const e=document.getElementById(`bcm-list-${this._id}`);if(e){const t=e.querySelectorAll(".bcm-list__item.focused");if(t.length>0){const i=e.querySelector("main"),c=t[0].offsetHeight,o=i.offsetHeight,n=t[0].offsetTop;n>o&&(i.scrollTop=n-o/2+c/2),n<o&&(i.scrollTop=n-o/2-c/2)}}}}async set(e,t=!0){e?(this.shouldTriggerChange=t,Array.isArray(e)&&this.addChecked(e),"string"!=typeof e&&"number"!=typeof e||this.selectedItem(e)):this.setClear()}async get(){var e,t;return this.value?this.checkboxes?null===(t=null===(e=await this.getCheckedList())||void 0===e?void 0:e.checkedList)||void 0===t?void 0:t.map((e=>e.id)):this.value.id:null}async getCheckedList(){return Promise.resolve(K.getCheckedList(this._id))}async getSelected(){return Promise.resolve(K.getSelected(this._id))}async getValue(){return Promise.resolve(this.value)}async triggerChange(e){this.shouldTriggerChange=e}async addChecked(e=[],t=!1,i=!0){return e&&e.length>0&&(t||(K.setClear(this._id),await u(10)),await K.addChecked(this._id,e),await u(10),i&&(this.value=(await this.getCheckedList()).checkedList),this.markForCheck()),Promise.resolve(this.value)}async selected(e){return!!e&&Promise.resolve(await this.selectedItem(e))}async setClear(e){return K.setClear(this._id),this.value=null,this.inputText="",this.isOpen=!1,this.selectAllItem.indeterminate="uncheck",this.markForCheck(),e&&(e.stopPropagation(),e.preventDefault()),await u(10),Promise.resolve()}async resetCaption(){return await u(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,await u(10),Promise.resolve()}detectClone(){const e=document.querySelectorAll(`#bcm-list-${this._id}`);e.length>0&&e.forEach((e=>{const t=e.getAttribute("temp-id");t!==`bcm-list-${this.tempId}`&&(console.warn(`[bcm-list] - Detected duplicate temp-id="${t}"`),e.remove())}))}async show(){return this.isOpen=!0,Promise.resolve()}async hide(){return this.isOpen=!1,Promise.resolve()}updateOptions(){K.updateOptions(this._id,this)}handleIndeterminate(e,t){this.selectAllItem=Object.assign(Object.assign({},this.selectAllItem),{indeterminate:this.checkboxes&&e>0?e===t?"check":"indeterminate":"uncheck",checked:!!(this.checkboxes&&e>0)&&e===t})}listenResize(){this.calculateLocation(),this.markForCheck()}async unSelectOther(){return await this.onClearSearch(),this.isSelectedOther=!1,this.searchFound=null,this.returnFilterData={},K.filterData(this._id,null),await u(10),Promise.resolve()}async onClearSearch(){const e=document.getElementById(`bcm-list-${this._id}-search`);return e&&await e.handleClear(),Promise.resolve()}async onSelectSearch(){const e=document.getElementById(`bcm-list-${this._id}-search`);e&&(await u(100),e.onBcmFocus(),e.onBcmSelect())}async filterOtherList(e){const t=(await this.getCheckedList()).nestedResult,i=l.convertIdsToNestedData(e,t);this.returnFilterData=await K.filterData(this._id,i,null,!0),this.searchFound=(null==e?void 0:e.length)||0,this.limit=500,this.searchGetParents=null,await u(1e3),this.markForCheck()}async initState(){var e,t,i;this.onClearSearch(),await K.setValue({id:this._id,dataSource:this.data&&r((()=>"string"==typeof this.data?JSON.parse(this.data):this.data),[]),options:this});const{totalRoots:c,totalItems:o}=K.getValue(this._id);if(this.totalData=o,this.totalRootData=c,this.value=this.checkboxes?(await this.getCheckedList()).checkedList:K.selectedItem(this._id)?K.selectedItem(this._id)[0]:null,this.checkboxes||(this.inputText=l.domParser(null===(e=this.value)||void 0===e?void 0:e.text)||null),this.checkboxes&&(null===(t=this.value)||void 0===t?void 0:t.length)>0){const e=[];this.value.forEach((t=>{t.items&&0!==t.items.length||e.push(t.id)})),await this.addChecked(e,!1,!1)}await this.handleIndeterminate(null===(i=this.value)||void 0===i?void 0:i.length,this.totalData),await this.markForCheck()}async markForCheck(){await u(10),this.tick=l.UID()}getOptions(){return r((()=>K.getValue(this._id).options),{})}getItems(){return this.isSelectedOther?this.returnFilterData.checkedItems:r((()=>K.getData(this._id)),[])}getLimitedItems(e){return r((()=>K.getDataPagination(this._id,this.searchResultLimit||this.limit,e)),[])}openGroup(e){K.openGroup(this._id,e),this.markForCheck()}focusItem(e){if(e.target.classList.contains("bcm-list__item")){const t=e.target,i=document.getElementById(`bcm-list-${this._id}`);if(i&&i.querySelectorAll(".bcm-list__item").length>0){const e=i.querySelector(".bcm-list__item.focused");e&&e.classList.remove("focused"),t.classList.add("focused")}}}async selectedItem(e){var t;if(!this.checkboxes&&(this.value=K.selectedItem(this._id,e)?K.selectedItem(this._id,e)[0]:null,this.inputText=l.domParser(null===(t=this.value)||void 0===t?void 0:t.text)||null,this.isOpen=!1,this.markForCheck(),"autocomplete"==this.type&&this.value)){const e=this.getAutoCompleteInput();e&&setTimeout((()=>{var t;e.setValue((null===(t=this.value)||void 0===t?void 0:t.text)||""),this.isOpen=!1}),100)}return Promise.resolve(this.value)}async checkedItem(e){"select-all"===e?K.selectAll(this._id,!this.selectAllItem.checked):K.checkedItem(this._id,e),this.value=(await this.getCheckedList()).checkedList,this.changeVisibleCheckeds(),this.markForCheck()}changeVisibleCheckeds(){const{visibledItems:e}=this.returnFilterData;this.returnFilterData={visibledItems:e,checkedItems:e&&e.filter((e=>e.checked))||[]}}getAutoCompleteInput(){return document.getElementById(`bcm-list-input-tag-container-${this._id}-autocomplete-input`)}dataScrollEvent(e){let t=0,i=new IntersectionObserver((e=>{0===t&&(t++,e[0].isIntersecting&&(this.limit+=15,this.searchResultLimit+=15,i.disconnect(),i=null))}),this.options);i.observe(e.target.lastElementChild)}async calculateLocation(){var e,t;if("select"==this.type||"autocomplete"==this.type||this.linkedComponent){const c=document.getElementById(`bcm-list-${this._id}`);var i=this.placement;const o=document.getElementById(this.linkedComponent?this.linkedComponent:`bcm-list-input-${this._id}`);if(c&&o){b(c,o,i,(e=>i=e)),await u(10);let n=d(i,o),s=0,l=0;if(this.linkedComponent){const i=document.getElementById(this.linkedComponent);if(i){if(!i.noCaption){const t=(null===(e=i.shadowRoot)||void 0===e?void 0:e.querySelector(".bcm-caption-area"))||i.querySelector(".bcm-caption-area");t&&(s=t.offsetHeight||t.clientHeight)}const c=(null===(t=i.shadowRoot)||void 0===t?void 0:t.querySelector(".bcm-label"))||i.querySelector(".bcm-label");c&&(l=c.offsetHeight||c.clientHeight)}}c.style.width=this.fullWidth?o.offsetWidth+"px":this.width||"auto",c.style.height=this.height.indexOf("%")>-1?.01*a.toNumber(this.height)*window.innerHeight-n[0]-50+"px":this.height,c.style.minHeight=this.minHeight;const r="top"==i.split("-")[0]?window.innerHeight-(window.innerHeight-n[0])-50:window.innerHeight-n[0]-50;c.style.maxHeight=this.maxHeight.indexOf("%")>-1?.01*a.toNumber(this.maxHeight)*r+"px":a.toNumber(this.maxHeight)<r?this.maxHeight:r+"px",b(c,o,i,(e=>i=e)),await u(10),n=d(i,o),c.style.top=("top"==i.split("-")[0]?n[0]-c.offsetHeight+l:n[0]-s)+"px",c.style.left="end"==i.split("-")[1]?n[1]-c.offsetWidth+"px":n[1]+"px",c.classList.toggle("bcm-list--top","top"==i.split("-")[0]),this.calculatedViewport=!0}}}handleTransitionEnd(e){const{isOpen:t,type:i}=this;t&&"select"==i&&"transform"==(null==e?void 0:e.propertyName)&&this.listOpen.emit()}render(){const{checkboxes:t,treeview:i,label:o,size:n,disabled:s,readonly:l,required:r,hidden:a,fullWidth:m,searchable:h}=this.getOptions(),b=v("bcm-list",`bcm-list__size-${n}`,`bcm-list__${this.type}`,"large"===n?"size-3":"size-2",{error:this.captionType==x.Status.error,"full-width":m,"bcm-list__linked":this.linkedComponent,hidden:a,readonly:l,disabled:s}),d=v("bcm-list__container",this.linkedComponent?"bcm-list__type-linked-component":`bcm-list__type-${this.type}`,{"is-open":this.isOpen&&this.calculatedViewport,error:this.captionType==x.Status.error,"full-width":m,hidden:a,readonly:l,disabled:s}),p=v("bcm-list__input"),u="select"==this.type||"autocomplete"==this.type||this.linkedComponent;return e(c,{class:b,tabindex:"0",style:{"--width":m?"100%":this.width,"--height":u?"100%":this.height,"--max-height":u?"inherit":this.maxHeight,"--min-height":u?"inherit":this.minHeight}},e("div",{id:`bcm-list-label-${this._id}`,class:"bcm-list__label"},o&&e("div",null,e("bcm-label",{tooltip:this.tooltip,size:this.size,type:this.captionType,value:o,required:r,htmlFor:this._id}))),"select"==this.type&&e("div",{id:`bcm-list-input-${this._id}`,class:p},e("span",{class:v("bcm-list__input-container",{"type-single":!t,"value-empty":!this.value})},this.checkboxes?this.value&&this.value.length>0?e("bcm-rc-overflow",{data:this.tagData,maxCount:this.tagCount}):e("span",{class:"bcm-list__input-placeholder"},this.placeholder):this.value?this.inputText:e("span",{class:"bcm-list__input-placeholder"},this.placeholder)),e("span",{class:v("bcm-list__input-buttons",{disabled:s})},this.clearable&&this.value&&e("div",{class:"bcm-list__input-buttons-button"},e("bcm-icon",{icon:"fal fa-times",onClick:e=>!s&&this.setClear(e)})),e("div",{class:`bcm-list__input-buttons-button caret-is ${this.isOpen&&this.calculatedViewport&&"caret-is-open"}`},e("bcm-icon",{icon:"far fa-angle-down"})))),"autocomplete"===this.type&&e("div",{id:`bcm-list-input-${this._id}`,class:v(p,{"bcm-list__input-autocomplete":"autocomplete"==this.type})},e("span",{class:"bcm-list__input-container",id:`bcm-list-input-tag-container-${this._id}`},this.checkboxes&&e("span",{class:"bcm-list__input-tag-container",id:`bcm-list-input-tag-container-${this._id}-autocomplete`}),e("bcm-search",{id:`bcm-list-input-tag-container-${this._id}-autocomplete-input`,class:"bcm-list__autocomplete",data:this.data,clearable:!0,"full-width":!0,"no-caption":!0,placeholder:this.placeholder}))),e(E,{highlight:this.highlightText,searchable:"autocomplete"!=this.type&&h,bcmListContainer:d,checkboxes:t,treeview:i,infoFooter:this.infoFooter,value:this.value,totalData:this.totalData,searchFound:this.searchFound,variableText:this.variableText,searchPlaceholder:this.searchPlaceholder,minSearchLength:this.minSearchLength,searchIsOnlyChilds:this.searchIsOnlyChilds,_id:this._id,tempId:this.tempId,checkAll:this.checkAll,data:this.getItems(),width:this.width,height:this.height,size:this.size,selectAllItem:this.selectAllItem,onScrollEvent:e=>this.dataScrollEvent(e),items:this.getLimitedItems(this.searchGetParents),selectedItem:e=>this.selectedItem(e),checkedItem:e=>this.checkedItem(e),openGroup:e=>this.openGroup(e),focusItem:e=>this.focusItem(e),emptyText:this.emptyText,emptyIcon:this.emptyIcon,handleTransitionEnd:e=>this.handleTransitionEnd(e)}),e(g,{noCaption:this.noCaption,captionType:this.captionType,captionError:this.captionError,caption:this.caption}))}get el(){return o(this)}static get watchers(){return{_id:["watchId"],value:["handleValueChange"],returnFilterData:["watchReturnFilterData"],isOpen:["handleOpen"],data:["dataChanged"]}}};function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c])}return e},X.apply(this,arguments)}function Z(e){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z(e)}function ee(e,t,i){return(t=function(e){var t=function(e){if("object"!==Z(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!==Z(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Z(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function te(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,c)}return i}function ie(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?te(Object(i),!0).forEach((function(t){ee(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):te(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,c=new Array(t);i<t;i++)c[i]=e[i];return c}function oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var c,o,n,s,l=[],r=!0,a=!1;try{if(n=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;r=!1}else for(;!(r=(c=n.call(i)).done)&&(l.push(c.value),l.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{if(!r&&null!=i.return&&(s=i.return(),Object(s)!==s))return}finally{if(a)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ce(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ce(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){if(null==e)return{};var i,c,o=function(e,t){if(null==e)return{};var i,c,o={},n=Object.keys(e);for(c=0;c<n.length;c++)t.indexOf(i=n[c])>=0||(o[i]=e[i]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(c=0;c<n.length;c++)t.indexOf(i=n[c])>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}J([n()],Q.prototype,"el",void 0),J([s("data",!0)],Q.prototype,"dataChanged",null),Q.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}*{box-sizing:border-box}.bcm-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:"";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}.bcm-list{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;--width:256px;--height:256px;--max-height:inherit;--min-height:inherit;min-width:90px;display:flex;flex-direction:column;margin:0 0 8px 0}.bcm-list__listbox .bcm-list__container{height:var(--height);max-height:var(--max-height);min-height:var(--min-height)}.bcm-list.full-width{width:100%}.bcm-list__size-small .bcm-list__input{height:24px;font-size:12px;line-height:calc(12px + 8px)}.bcm-list__size-small .bcm-list__input .bcm-tag__content.dismissable{font-size:10px;line-height:calc(10px + 8px)}.bcm-list__size-medium .bcm-list__input{height:32px;font-size:14px;line-height:calc(14px + 8px)}.bcm-list__size-medium .bcm-list__input .bcm-tag__content.dismissable{font-size:12px;line-height:calc(12px + 8px)}.bcm-list__size-large .bcm-list__input{height:40px;font-size:16px;line-height:calc(16px + 8px)}.bcm-list__size-large .bcm-list__input .bcm-tag__content.dismissable{font-size:14px;line-height:calc(14px + 8px)}.bcm-list:hover{outline:none}.bcm-list:hover .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-500);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list:focus-visible{outline:none}.bcm-list:focus-visible .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-600);background-color:var(--bcm-new-ds-color-white)}.bcm-list:active{outline:none}.bcm-list:active .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-600);box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-list__container{--width:256px;--height:256px;width:var(--width);height:var(--height);background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;padding-top:8px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;gap:4px}.bcm-list__container main{scroll-behavior:smooth;padding:0 8px;flex:1;overflow:auto;display:flex;flex-direction:column}.bcm-list__container-search{margin:0 8px}.bcm-list__container-search:after{margin:4px 0}.bcm-list__container-no-data{flex:1;display:flex;justify-content:stretch;align-items:stretch;padding-bottom:4px}.bcm-list__container.error{border-color:var(--bcm-color-red-6)}.bcm-list__container.full-width{width:100%}.bcm-list__container.bcm-list__type-linked-component,.bcm-list__container.bcm-list__type-select,.bcm-list__container.bcm-list__type-autocomplete{display:none;opacity:0;visibility:hidden;position:absolute;top:0;left:0;height:0;width:0;transform:translateY(10%);z-index:10800;transition:visibility 0s linear 400ms, opacity 100ms, transform 200ms}.bcm-list__container.bcm-list__type-linked-component.bcm-list--top,.bcm-list__container.bcm-list__type-select.bcm-list--top,.bcm-list__container.bcm-list__type-autocomplete.bcm-list--top{transform:translateY(-10%)}.bcm-list__container.bcm-list__type-linked-component.is-open,.bcm-list__container.bcm-list__type-select.is-open,.bcm-list__container.bcm-list__type-autocomplete.is-open{display:flex;opacity:1;transform:translateY(0);visibility:visible;transition:visibility 0s linear 0s, opacity 100ms, transform 100ms}.bcm-list__container.bcm-list__type-linked-component{margin-top:2px}.bcm-list__label{line-height:1}.bcm-list__input{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-white);user-select:none;cursor:pointer;padding:0 8px;height:32px;overflow:hidden;position:relative;transition:background-color 100ms, border-color 100ms}.bcm-list__input-spinner{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:var(--bcm-color-grey-1);opacity:0;visibility:hidden;transition:opacity 0.2s ease-in-out;z-index:-1}.bcm-list__input-spinner.is-open{opacity:1;visibility:visible;z-index:1}.bcm-list__input-container{flex:1;display:block;overflow:hidden}.bcm-list__input-container.value-empty{color:var(--bcm-color-grey-6)}.bcm-list__input-container.type-single,.bcm-list__input-container.value-empty{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcm-list__input-placeholder{color:var(--bcm-color-grey-6)}.bcm-list__input-tag-container{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;grid-gap:2px;line-height:1}.bcm-list__input-buttons{display:flex;align-items:center;justify-content:flex-end;grid-gap:4px}.bcm-list__input-buttons-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 4px 0 4px;font-size:16px;color:var(--bcm-new-ds-color-slate-500)}.bcm-list__input-buttons-button.caret-is{transform:rotate(360deg);transition:transform 0.2s ease-in-out}.bcm-list__input-buttons-button.caret-is-open{transform:rotate(180deg)}.bcm-list__input-buttons:not(.disabled) .bcm-list__input-buttons-button:hover{cursor:pointer;color:var(--bcm-new-ds-color-slate-600)}.bcm-list__input-autocomplete{position:relative;padding-right:0}.bcm-list__input-autocomplete .bcm-list-input-selected-text{background-color:#ffffff;display:flex;align-items:center;justify-content:flex-start;width:calc(100% - 24px);height:100%;padding:0 calc(8px + 4px);position:absolute;top:0;left:0}.bcm-list__input-autocomplete .bcm-list__input-container{height:100%;display:flex;flex-direction:row}.bcm-list__input-autocomplete .bcm-list__input-container .bcm-list__input-tag-container{width:auto}.bcm-list__input-autocomplete .bcm-input,.bcm-list__input-autocomplete .bcm-list__autocomplete{height:100%;min-width:70px;width:100%}.bcm-list__input-autocomplete .bcm-input__container,.bcm-list__input-autocomplete .bcm-list__autocomplete__container{height:100%;border:none;padding:0;width:100%}.bcm-list__input-autocomplete .bcm-input__container:not(.disabled).focused,.bcm-list__input-autocomplete .bcm-input__container:not(.disabled):hover,.bcm-list__input-autocomplete .bcm-list__autocomplete__container:not(.disabled).focused,.bcm-list__input-autocomplete .bcm-list__autocomplete__container:not(.disabled):hover{border:none;box-shadow:none}.bcm-list__autocomplete{width:100%;position:relative}.bcm-list.full-width .bcm-list__container,.bcm-list.full-width .bcm-list__input{width:100%}.bcm-list.error .bcm-list__input{border-color:var(--bcm-color-red-6)}.bcm-list.disabled .bcm-list__container,.bcm-list.disabled .bcm-list__input{color:var(--bcm-new-ds-color-slate-300);background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-list.disabled .bcm-tag__content.dismissable .close-button{cursor:default}.bcm-list:not(.disabled) .bcm-list__input .bcm-tag__content.checked .close-button bcm-icon{color:var(--bcm-new-ds-color-slate-100)}.bcm-list:not(.disabled) .bcm-list__input .bcm-tag__content.checked .close-button:hover bcm-icon{color:var(--bcm-new-ds-color-slate-200)}.bcm-list:not(.disabled) .bcm-list__input:hover{border-color:var(--bcm-new-ds-color-blue-500)}.bcm-list:not(.disabled) .bcm-list__input:hover .bcm-tag__content.dismissable:not(.checked){background-color:var(--bcm-new-ds-color-slate-200);border-color:var(--bcm-new-ds-color-slate-200)}.bcm-list:not(.disabled) .bcm-list__input:focus-visible{border-color:var(--bcm-new-ds-color-blue-500);box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-list:not(.disabled) .bcm-list__input:active{border-color:var(--bcm-new-ds-color-blue-500)}.bcm-list__item{padding:2px 0}.bcm-list__item.disabled{user-select:none}.bcm-list__item:focus{outline:none}.bcm-list__item:focus-visible>.bcm-list__item-content{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-list__item:focus-visible>.bcm-list__item-content:not(.disabled){color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item-content{display:flex;flex-direction:row;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;cursor:pointer;border-radius:4px;padding:0;padding-left:4px;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-50);transition:background-color 0.2s ease}.bcm-list__item-content.disabled{color:var(--bcm-new-ds-color-slate-300);background-color:var(--bcm-new-ds-color-slate-50);user-select:none;cursor:not-allowed}.bcm-list__item-content.selected{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-new-ds-color-blue-500)}.bcm-list__item-content.selected:hover:not(.disabled){color:var(--bcm-new-ds-color-white);background-color:var(--bcm-new-ds-color-blue-600)}.bcm-list__item-content:hover:not(.disabled){color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-100)}.bcm-list__item-content:active:not(.disabled){color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-200)}.bcm-list__item-content-collapse-icon{width:16px;padding:0 8px;display:flex;align-items:center;justify-content:center;font-size:16px}.bcm-list__item-content-collapse-icon.child{cursor:pointer}.bcm-list__item-content-text{user-select:none;padding:8px;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.bcm-list__item-content-text.treeview{padding:8px 0}.bcm-list__item-content-text-checkbox{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;margin-right:8px}.bcm-list__item-content-text-checkbox .bcm-checkbox{margin:0}.bcm-list__item-content-text-inner{width:100%}.bcm-list__item-content-text mark{padding:0;margin:0;font-size:inherit;color:var(--bcm-color-grey-8);background-color:var(--bcm-color-yellow-4)}.bcm-list__item-childs{padding-left:16px}.bcm-list__item-small{padding:2px 0 2px 8px;font-size:10px;line-height:calc(10px + 8px)}.bcm-list__item-small .bcm-list__item-content-text{padding:3px 4px}.bcm-list__item-medium{font-size:12px;line-height:calc(12px + 8px)}.bcm-list__item-medium .bcm-list__item-content-text{padding:6px 4px}.bcm-list__item-large{font-size:14px;line-height:calc(14px + 8px)}.bcm-list__item-large .bcm-list__item-content-text{padding:9px 4px}.bcm-list__item--readonly:focus>.bcm-list__item-content:not(.disabled),.bcm-list__item--readonly.focused>.bcm-list__item-content:not(.disabled){color:var(--bcm-color-grey-7)}.bcm-list__item--readonly>.bcm-list__item-content{color:var(--bcm-color-grey-7)}.bcm-list__item--readonly>.bcm-list__item-content:hover,.bcm-list__item--readonly>.bcm-list__item-content:focus{color:var(--bcm-color-grey-7)}.bcm-list__item--group{border-radius:4px}.bcm-list__item--group:focus>.bcm-list__item-content:not(.disabled){background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item--group>.bcm-list__item-content{background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600);border-radius:4px 4px 0 0;cursor:default;font-size:14px;line-height:calc(14px + 8px);font-weight:500;position:sticky;top:0}.bcm-list__item--group>.bcm-list__item-content>.bcm-list__item-content-text{padding:4px 8px 4px 16px}.bcm-list__item--group>.bcm-list__item-content:hover,.bcm-list__item--group>.bcm-list__item-content:focus{color:var(--bcm-new-ds-color-slate-800);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list__item--group>.bcm-list__item-content-unclickable:hover{color:var(--bcm-new-ds-color-slate-700);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list__item--group>.bcm-list__item-childs{background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600);padding-bottom:8px;border-radius:0 0 4px 4px;padding-left:8px}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content{background-color:var(--bcm-new-ds-color-white);color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:hover{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:active{background-color:var(--bcm-new-ds-color-slate-200)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:focus-visible{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected{background-color:var(--bcm-new-ds-color-blue-500);color:var(--bcm-new-ds-color-white)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected:hover{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected:active{background-color:var(--bcm-new-ds-color-blue-700)}.bcm-list__linked{display:none}.bcm-list .bcm-tag--other .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcm-info-footer{text-align:right;padding:4px 8px;background-color:var(--bcm-new-ds-color-slate-100);color:var(--bcm-new-ds-color-slate-600);border-radius:0 0 4px 4px}';var se=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],le=void 0;function re(e,t){var i=e.prefixCls,c=e.invalidate,o=e.item,n=e.renderItem,s=e.responsive,l=e.responsiveDisabled,r=e.registerSize,a=e.itemKey,m=e.className,h=e.style,b=e.children,d=e.display,p=e.order,u=e.component,_=void 0===u?"div":u,x=ne(e,se),g=s&&!d;function f(e){r(a,e)}k.useEffect((function(){return function(){f(null)}}),[]);var w,z=n&&o!==le?n(o):b;c||(w={opacity:g?0:1,height:g?0:le,overflowY:g?"hidden":le,order:s?p:le,pointerEvents:g?"none":le,position:g?"absolute":le});var j={};g&&(j["aria-hidden"]=!0);var I=k.createElement(_,X({className:v(!c&&i,m),style:ie(ie({},w),h)},j,x,{ref:t}),z);return s&&(I=k.createElement(y,{onResize:function(e){f(e.offsetWidth)},disabled:l},I)),I}var ae=k.forwardRef(re);function me(e,t){var i=oe(k.useState(t),2),c=i[1];return[i[0],j((function(t){e((function(){c(t)}))}))]}ae.displayName="Item";var he=k.createContext(null),be=["component"],de=["className"],pe=["className"],ue=function(e,t){var i=k.useContext(he);if(!i){var c=e.component,o=void 0===c?"div":c,n=ne(e,be);return k.createElement(o,X({},n,{ref:t}))}var s=i.className,l=ne(i,de),r=e.className,a=ne(e,pe);return k.createElement(he.Provider,{value:null},k.createElement(ae,X({ref:t,className:v(s,r)},l,a)))},_e=k.forwardRef(ue);_e.displayName="RawItem";var xe=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ge="responsive",ve="invalidate";function fe(e){return"+ ".concat(e.length," ...")}function ke(e,t){var i,c=e.prefixCls,o=void 0===c?"rc-overflow":c,n=e.data,s=void 0===n?[]:n,l=e.renderItem,r=e.renderRawItem,a=e.itemKey,m=e.itemWidth,h=void 0===m?10:m,b=e.ssr,d=e.style,p=e.className,u=e.maxCount,_=e.renderRest,x=e.renderRawRest,g=e.suffix,f=e.component,j=void 0===f?"div":f,C=e.itemComponent,O=e.onVisibleChange,S=ne(e,xe),$="full"===b,E=(i=k.useRef(null),function(e){i.current||(i.current=[],function(e){if("undefined"==typeof MessageChannel)z(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){w.unstable_batchedUpdates((function(){i.current.forEach((function(e){e()})),i.current=null}))}))),i.current.push(e)}),T=oe(me(E,null),2),R=T[0],N=T[1],D=R||0,F=oe(me(E,new Map),2),P=F[0],A=F[1],L=oe(me(E,0),2),M=L[0],V=L[1],G=oe(me(E,0),2),B=G[0],H=G[1],W=oe(me(E,0),2),q=W[0],K=W[1],U=oe(k.useState(null),2),Y=U[0],J=U[1],Q=oe(k.useState(null),2),Z=Q[0],ee=Q[1],te=k.useMemo((function(){return null===Z&&$?Number.MAX_SAFE_INTEGER:Z||0}),[Z,R]),ce=oe(k.useState(!1),2),se=ce[0],le=ce[1],re="".concat(o,"-item"),be=Math.max(M,B),de=u===ge,pe=s.length&&de,ue=u===ve,_e=pe||"number"==typeof u&&s.length>u,ke=k.useMemo((function(){var e=s;return pe?e=null===R&&$?s:s.slice(0,Math.min(s.length,D/h)):"number"==typeof u&&(e=s.slice(0,u)),e}),[s,h,R,u,pe]),we=k.useMemo((function(){return s.slice(pe?te+1:ke.length)}),[s,ke,pe,te]),ye=k.useCallback((function(e,t){var i;return"function"==typeof a?a(e):null!==(i=a&&(null==e?void 0:e[a]))&&void 0!==i?i:t}),[a]),ze=k.useCallback(l||function(e){return e},[l]);function je(e,t,i){(Z!==e||void 0!==t&&t!==Y)&&(ee(e),i||(le(e<s.length-1),null==O||O(e)),void 0!==t&&J(t))}function Ie(e,t){A((function(i){var c=new Map(i);return null===t?c.delete(e):c.set(e,t),c}))}function Ce(e){return P.get(ye(ke[e],e))}I((function(){if(D&&"number"==typeof be&&ke){var e=q,t=ke.length,i=t-1;if(!t)return void je(0,null);for(var c=0;c<t;c+=1){var o=Ce(c);if($&&(o=o||0),void 0===o){je(c-1,void 0,!0);break}if(e+=o,0===i&&e<=D||c===i-1&&e+Ce(i)<=D){je(i,null);break}if(e+be>D){je(c-1,e-o-q+B);break}}g&&Ce(0)+q>D&&J(null)}}),[D,P,B,q,ye,ke]);var Oe=se&&!!we.length,Se={};null!==Y&&pe&&(Se={position:"absolute",left:Y,top:0});var $e,Ee={prefixCls:re,responsive:pe,component:C,invalidate:ue},Te=r?function(e,t){var i=ye(e,t);return k.createElement(he.Provider,{key:i,value:ie(ie({},Ee),{},{order:t,item:e,itemKey:i,registerSize:Ie,display:t<=te})},r(e,t))}:function(e,t){var i=ye(e,t);return k.createElement(ae,X({},Ee,{order:t,key:i,item:e,renderItem:ze,itemKey:i,registerSize:Ie,display:t<=te}))},Re={order:Oe?te:Number.MAX_SAFE_INTEGER,className:"".concat(re,"-rest"),registerSize:function(e,t){H(t),V(B)},display:Oe};if(x)x&&($e=k.createElement(he.Provider,{value:ie(ie({},Ee),Re)},x(we)));else{var Ne=_||fe;$e=k.createElement(ae,X({},Ee,Re),"function"==typeof Ne?Ne(we):Ne)}var De=k.createElement(j,X({className:v(!ue&&o,p),style:d,ref:t},S),ke.map(Te),_e?$e:null,g&&k.createElement(ae,X({},Ee,{responsive:de,responsiveDisabled:!pe,order:te,className:"".concat(re,"-suffix"),registerSize:function(e,t){K(t)},display:!0,style:Se}),g));return de&&(De=k.createElement(y,{onResize:function(e,t){N(t.clientWidth)},disabled:!pe},De)),De}var we=k.forwardRef(ke);we.displayName="Overflow",we.Item=_e,we.RESPONSIVE=ge,we.INVALIDATE=ve;const ye=class{constructor(e){t(this,e),this.selectOtherTag=i(this,"bcm-select-other-tag",7),this.selectTag=i(this,"bcm-select-tag",7),this.deleteTag=i(this,"bcm-delete-tag",7),this.renderItem=e=>k.createElement("bcm-tooltip",{placement:"bottom",message:e.text,trigger:"hover"},k.createElement("div",{id:e.value+"-tag",className:"bcm-tag",onClick:({target:t})=>this.onClickControl(t,e,!1)},k.createElement("span",{className:"bcm-tag__content dismissable"},k.createElement("div",{className:"value tw-block tw-max-w-[38px] tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap"},e.text),k.createElement("span",{className:"right close-button"},k.createElement("bcm-icon",{icon:"fa fa-times"}))))),this.renderRest=e=>{const t=(null==e?void 0:e.sort(((e,t)=>+e.ct-+t.ct)).slice(0,15).map((e=>m.textLimitter(e.text,40,!0))).toString().split(",").join("\r\n"))+(e.length>15?"\r\n...":"");return k.createElement("bcm-tooltip",{placement:"bottom",message:t,trigger:"hover"},k.createElement("div",{className:"bcm-tag bcm-tag--other",onClick:({target:t})=>this.onClickControl(t,e,!0)},k.createElement("span",{className:"bcm-tag__content dismissable "+(this.checked?"checkable checked":"")},k.createElement("span",{className:"value"},`+${null==e?void 0:e.length}`),k.createElement("span",{className:"right close-button"},k.createElement("bcm-icon",{icon:"fa fa-times"})))))},this._id=l.UID(),this.maxCount=1,this.data=[],this.checked=!1}isClickDismiss(e){return"BCM-ICON"===e["s-hn"]}onClickControl(e,t,i=!1){const c=this.isClickDismiss(e);c&&this.deleteTag.emit({id:Array.isArray(t)?t.map((e=>e.value)):t.value})&&this.checked&&(this.checked=!1),!i&&this.selectTag.emit({id:t.value})&&this.checked&&(this.checked=!1),i&&!c&&(this.checked=!this.checked,this.selectOtherTag.emit({id:null==t?void 0:t.map((e=>e.value)),checked:this.checked}))}componentWillRender(){const{data:e,renderItem:t,renderRest:i,maxCount:c}=this;this.overflowInstance=k.createElement(we,{data:e,renderItem:t,renderRest:i,maxCount:c}),w.render(this.overflowInstance,this.el)}get el(){return o(this)}};ye.style='@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}.rc-overflow{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.rc-overflow-item{transition:all 0.3s ease;padding:0 2px;display:flex;align-items:center;justify-content:center}';const{state:ze}=f({value:new Map}),je=(e,t)=>{let i=[];return e&&(i=e.map((e=>Object.assign(Object.assign(Object.assign({},e),{parentId:r((()=>t),null)}),e.items&&e.items.length>0&&{items:r((()=>je(e.items,e.id)),[])})))),i},Ie=e=>r((()=>ze.value.get(e)),{}),Ce=(e,t,i)=>{let c=[],o=[],n=[],s=[];const{searchIsOnlyChilds:l}=Ie(e);return t&&t.length>0&&t.forEach((t=>{let r=l&&null!==t.parentId;if((t.text&&m.slugify(t.text).includes(m.slugify(i))||t.keywords&&m.slugify(t.keywords).includes(m.slugify(i)))&&(!l||l&&r)){if(n.push(t.id),c.push(t.id),o.push(t.id),s.push({id:t.id,text:t.text,parentId:t.parentId}),t.items&&t.items.length>0){const o=Ce(e,t.items,i);o.matching.length>0&&o.matching.forEach((e=>{c.push(e)}))}}else if(t.items&&t.items.length>0){const l=Ce(e,t.items,i);l.result.length>0&&(l.result.forEach((e=>{n.push(e)})),n.push(t.id),o.push(t.id),s.push({id:t.id,text:t.text,parentId:t.parentId,items:l.nestedResult})),l.matching.length>0&&c.push(...l.matching)}})),{result:n,matching:c,parentIndex:o,nestedResult:s}},Oe=(e,t,i)=>{let c;c=i&&i.length>0?i:Ie(e).dataSource;let o=[];return c&&o.push(Ce(e,c,t)),{result:r((()=>l.flatArray(o[0].result)),[]),matching:r((()=>o[0].matching),[]),parentIndex:r((()=>o[0].parentIndex),[]),nestedResult:r((()=>o[0].nestedResult),[])}},Se=class{constructor(e){t(this,e),this.bcmOnSearch=i(this,"bcm-on-search",7),this.bcmOnSearchClear=i(this,"bcm-on-search-clear",7),this.debounceHandler=l.debounceInput((e=>this.onSearchValue(e,this)),300,!1,(()=>{var e,t;this.isActiveClearable=(null===(t=null===(e=this.inputElement)||void 0===e?void 0:e.value)||void 0===t?void 0:t.length)>0&&this.clearable})),this._id=l.UID(),this.placeholder="Search",this.disabled=!1,this.readonly=!1,this.clearable=!0,this.size=_.Size.medium,this.limit=10,this.searchIsOnlyChilds=!1,this.minSearchLength=2,this.data=[],this.tick={},this.isActiveClearable=!1}async componentDidLoad(){await this.initState()}async dataChanged(e,t){e!==t&&await this.initState()}async initState(){await(e=>{const{id:t,dataSource:i}=e,c={id:r((()=>t),l.UID),dataSource:i&&i.length>0&&je(i),searchIsOnlyChilds:e.searchIsOnlyChilds};ze.value.set(c.id,c)})({id:this._id+"-input",dataSource:this.data,searchIsOnlyChilds:this.searchIsOnlyChilds}),await this.markForCheck()}markForCheck(){this.tick=l.UID()}handleInput(){}async onBcmFocus(){this.inputElement.focus()}async onBcmBlur(){this.inputElement.blur()}async onBcmSelect(){this.inputElement.select()}async setValue(e){this.inputElement.value=e}handleFocus(){}handleBlur(){}handleChange(){}async handleClear(e=!0){this.inputElement.value="";const{value:t,id:i}=this.inputElement;return Oe(i,t),this.isActiveClearable=!1,this.bcmOnSearch.emit({result:null,value:null,matching:null,parentIndex:null}),this.bcmOnSearchClear.emit(e),await u(10),Promise.resolve()}onSearchValue(e,t){const{value:i,id:c}=e.target,o=(null==i?void 0:i.length)>=this.minSearchLength?Oe(c,i,null):null,{bcmOnSearch:n,inputElement:s}=t;n.emit({result:null==o?void 0:o.result,value:null==s?void 0:s.value,matching:null==o?void 0:o.matching,parentIndex:null==o?void 0:o.parentIndex,nestedResult:null==o?void 0:o.nestedResult})}render(){const{_id:t,placeholder:i,disabled:o,readonly:n}=this;return e(c,{onClick:()=>{this.onBcmFocus(),this.onBcmSelect()}},e(C,{size:this.size,id:t,type:"search",placeholder:i,disabled:o,"full-width":!0,readonly:n,clearable:this.isActiveClearable,handleFocus:()=>this.handleFocus(),handleBlur:()=>this.handleBlur(),handleChange:()=>this.handleChange(),handleClear:()=>this.handleClear(),handleInput:this.debounceHandler,ref:e=>this.inputElement=e}))}get el(){return o(this)}static get watchers(){return{data:["dataChanged"]}}};Se.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:"Inter", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:"Inter", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}';export{Q as bcm_list,ye as bcm_rc_overflow,Se as bcm_search}
5
+ import{h as e,r as t,c as i,H as c,g as o}from"./p-e037ee2b.js";import{I as n}from"./p-8e5e362a.js";import{J as s}from"./p-8da7f4c3.js";import"./p-4798d827.js";import"./p-626a65e9.js";import{G as l,s as r}from"./p-fe7e383d.js";import{N as a}from"./p-bcd599fd.js";import{S as m}from"./p-94554e42.js";import{V as h}from"./p-18665a1b.js";import"./p-5ae0a59b.js";import{g as b,s as d}from"./p-ed9d082d.js";import{p,d as u}from"./p-3c7a0345.js";import{a as _,B as x}from"./p-6369b73b.js";import{C as g}from"./p-8a92f2bf.js";import{c as v}from"./p-bed627ab.js";import"./p-3fac58f7.js";import"./p-2e73d572.js";import{c as f}from"./p-197aba37.js";import{r as k,a as w}from"./p-3182df7e.js";import{R as y,c as z,u as j,d as I}from"./p-7e3209a0.js";import{I as C}from"./p-444c4e62.js";import"./p-436364c8.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-9f6bbc21.js";const O=({disabled:t,checked:i,readonly:c,required:o,indeterminate:n,hidden:s,captionType:l,_id:r})=>{const a=v("bcm-checkbox","bcm-checkbox__type-default","bcm-checkbox-size-medium",{error:l==_.Status.error,hidden:s,checked:i,disabled:t,required:o,readonly:c}),m=v("bcm-checkbox__label-icon","bcm-checkbox__label-icon-lite","bcm-checkbox__label-icon-"+n,{"bcm-checkbox__label-icon-checked":i}),h=v("bcm-checkbox__label");return e("div",{class:a},e("input",{tabindex:"-1",id:r,type:"checkbox",checked:i,disabled:t,required:o,readonly:c}),e("label",{class:h,htmlFor:r},e("span",{class:m},e("bcm-icon",{icon:"far fa-check"}))))},S=({selected:t,total:i,found:c,multiple:o,variableText:n})=>(i=i||0,n=n?p(n,i):"items",e("footer",{class:"bcm-info-footer"},e("bcm-text",{scale:"size-1",color:"grey-8"},o&&t>0&&` ( ${t} selected ) `,` Total ${i} `,null!=c&&` / ${c} `,` ${n} found. `))),$=({item:t,treeview:i,highlight:c,checkboxes:o,size:n,selectedItem:s,openGroup:r,checkedItem:a,focusItem:h,searchIsOnlyChilds:b})=>{const d=t.items&&t.items.length>0;var p=m.htmlEntities(t.text);let u=[];if(c&&m.slugify(p).includes(m.slugify(c))&&(b&&(!b||d&&(i||"group"==t.type))||(p=m.highlight(p,c))),"group"!=t.type&&t.template){const e=t.template.replace(/\s/g,"").match(/\{{[^}}]+\}/g).map((e=>e.replace(/[{}]/g,""))),i=Object.keys(t.itemObject);u=e.filter((e=>i.includes(e)))}p=t.isHtmlContent?t.isHtmlContent:t.template&&u.length>0?m.templateParser(t.template,Object.assign(Object.assign({},t.itemObject),{text:p})):p;const _=t.template?p:l.domParser(p),x=!i&&"group"==t.type&&!t.clickable,g=t.disabled,f=t.readonly,k=()=>{t.open=t.isSearching,r(t.id)};return e("div",{id:t.id,hidden:t.hidden,"on-focus":e=>!x&&!g&&h(e),class:v("bcm-list__item","bcm-list__item-"+n,{"bcm-list__item--group":!i&&"group"==t.type,"bcm-list__item--readonly":f})},e("div",{class:v("bcm-list__item-content",!o&&t.selected&&"selected",{disabled:g})},i&&e("div",{class:"bcm-list__item-content-collapse-icon",onClick:()=>k()},d&&e("bcm-icon",{icon:v("fas fa-caret-"+(t.isSearching||t.open?"down":"right"))})),e("div",{class:v("bcm-list__item-content-text",{treeview:i}),onClick:e=>{var i;((i=e).path||i.composedPath()).filter((e=>e.attributes&&e.attributes.getNamedItem("unlinked")))[0]||(f&&k(),!x&&!g&&!f&&(o?a(t.id):s(t.id)))}},o&&(i||!i&&"group"!=t.type)&&e("div",{class:"bcm-list__item-content-text-checkbox"},e(O,{indeterminate:t.indeterminate,checked:t.checked,disabled:t.disabled})),e("span",Object.assign({class:"bcm-list__item-content-text-inner"},t.title&&{title:t.title},{innerHTML:_})))),(i||!i&&"group"==t.type)&&d&&e("div",{class:"bcm-list__item-childs"},(t.isSearching||t.open||!i&&"group"==t.type)&&t.items.map((t=>e($,{highlight:c,item:t,searchIsOnlyChilds:b,treeview:i,checkboxes:o,size:n,selectedItem:s,checkedItem:a,openGroup:e=>r(e),focusItem:e=>h(e)})))))},E=({highlight:t,selectAllItem:i,bcmListContainer:c,treeview:o,checkboxes:n,checkAll:s,infoFooter:l,value:r,totalData:a,searchFound:m,variableText:h,_id:b,tempId:d,data:p,width:u,height:_,size:x,searchPlaceholder:g,minSearchLength:v,selectedItem:f,openGroup:k,checkedItem:w,onScrollEvent:y,focusItem:z,items:j,searchable:I,searchIsOnlyChilds:C,emptyText:O,emptyIcon:E,handleTransitionEnd:T})=>{const R=!(o&&m>0||m>0);return e("div",{id:`bcm-list-${b}`,class:c,"temp-id":`bcm-list-${d}`,style:{"--height":_,"--width":u},onTransitionEnd:e=>T(e)},p&&I&&e("section",{class:"bcm-list__container-search"},e("bcm-search",{size:x,id:`bcm-list-${b}-search`,data:p,clearable:!0,placeholder:g,"min-search-length":v,searchIsOnlyChilds:C})),e("main",{onScroll:e=>y(e),class:"scrolling",style:{"overscroll-behavior":"none"}},e("div",{style:{"min-height":`${(null==m?o?j.length:a:m)*("small"===x?28:"medium"===x?36:48)||0}px`,"overscroll-behavior":"none",height:"100%",display:"flex","flex-direction":"column"}},s&&0!=m&&j&&j.length>0&&n&&R&&e("section",{class:"bcm-list__container-select-all"},e($,{size:x,item:i,treeview:!1,checkboxes:!0,selectedItem:e=>f(e),checkedItem:e=>w(e),openGroup:e=>k(e),focusItem:e=>z(e)})),j.map((i=>e($,{highlight:t,size:x,item:i,searchIsOnlyChilds:C,treeview:o,checkboxes:n,selectedItem:e=>f(e),checkedItem:e=>w(e),openGroup:e=>k(e),focusItem:e=>z(e)}))),(!j||0===j.length)&&0!=m&&e("section",{class:"bcm-list__container-no-data"},e("bcm-empty",{style:{height:"auto"},icon:E},e("span",{innerHTML:O||"No data"}))),0==m&&e("section",{class:"bcm-list__container-no-data"},e("bcm-empty",{style:{height:"auto"},icon:E},e("span",{innerHTML:O||"No Data Found"}))))),l&&p&&p.length>0&&e(S,{selected:null==r?void 0:r.length,total:a,found:m,multiple:n,variableText:h}))},{state:T}=f({value:new Map}),R=(e,t,i,c="0.")=>{let o=[];return e&&e.length>0&&(o=e.map(((e,o)=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({itemObject:e},e),t),{parentId:r((()=>i),null),open:t.allOpen||e.open||!1}),(t.treeview||!t.treeview&&"group"==e.type)&&e.items&&e.items.length>0?{items:r((()=>R(e.items,t,e.id,`${c}${o}`)),[])}:{items:[]}),{ct:`${c}${o}`})))),o},N=e=>r((()=>T.value.get(e)),{}),D=(e,t)=>{let i=0;return e.forEach((e=>{(t||!t&&"group"!=e.type)&&(i+=1),(t||!t&&"group"==e.type)&&e.items&&(i+=D(e.items,t))})),i},F=(e,t,i,c)=>{let o;o=i||N(e).dataSource,o&&o.forEach((i=>{null!=c?i.open=c:i.id==t?(i.open=!i.open,i.isSearching=i.open,!i.open&&i.items&&F(e,t,i.items,!1)):i.items&&F(e,t,i.items)}))},P=(e,t,i)=>{i&&i.forEach((i=>{i.id==t?(i.checked=!1,i.itemObject.checked=!1,V(e,i.parentId)):i.items&&P(e,t,i.items)}))},A=(e,t)=>{L(e,t)},L=(e,t,i)=>{let c;t=Array.isArray(t)?t:[t],c=i||N(e).dataSource,c&&c.forEach((i=>{t.includes(i.id)?(M(e,i),i.parentId&&V(e,i.parentId)):i.items&&L(e,t,i.items)}))},M=(e,t,i)=>{const c=N(e);if(c){const o=c.options.treeview;t&&((o||!o&&"group"!=t.type)&&(t.disabled||(t.checked=null!=i?i:!t.checked,t.itemObject.checked=t.checked,t.indeterminate=t.checked?"determinate":"uncheck")),t.items&&t.items.forEach((c=>{M(e,c,null==i?t.checked:i)})))}},V=(e,t,i)=>{let c;c=i||N(e).dataSource,c&&c.forEach((i=>{if(i.id==t){let t=!0,c=!0;i.items&&i.items.map((e=>{(e.checked||"indeterminate"===e.indeterminate)&&(c=!1),!e.checked&&(t=!1)}));const o=t||c?t?"determinate":"uncheck":"indeterminate";i.indeterminate=o,i.checked="determinate"==o,i.itemObject.checked=i.checked,i.parentId&&V(e,i.parentId)}else i.items&&V(e,t,i.items)}))},G=(e,t,i,c)=>{let o,n=[],s=[];return N(e).isSearchOtherTag=c,o=i||N(e).dataSource,o&&o.forEach((i=>{if(t){var o;i.hidden=!0;for(let e=0;e<t.length;e++)if(t[e].id===i.id){o=t[e];break}if(o&&(i.hidden=!1,N(e).isSearchOtherTag||(i.isSearching=!0),s.push(i),i.checked&&n.push(i),o.items)){const{checkedItems:t,visibledItems:l}=G(e,o.items,i.items,c);t&&(n=[...new Set([...n,...t])]),l&&(s=[...new Set([...s,...l])])}}else i.hidden=!1,i.items&&G(e,null,i.items),s.push(i),i.isSearching=!1})),{checkedItems:null!=n?n:[],visibledItems:null!=s?s:[]}},B=(e,t)=>{let i,c=null;return i=t||N(e).dataSource,i&&i.forEach((t=>{if(t.selected)c=t.itemObject;else if(t.items){const i=B(e,t.items);i&&(c=i)}})),c},H=(e,t)=>{let i,c=[],o=[];return i=t||N(e).dataSource,i&&i.forEach((t=>{var i;const n=Object.assign(Object.assign({},t.itemObject),{ct:t.ct});let s=[],l=[];if(t.checked&&(c.push(n),l.push(Object.assign(Object.assign({},n),{items:[]}))),t.items){const o=H(e,t.items);(null===(i=null==o?void 0:o.checkedList)||void 0===i?void 0:i.length)>0&&(c=[...c,...o.checkedList]),o.nestedResult.length>0&&(s=o.nestedResult)}s.length>0?(0==l.length&&l.push(Object.assign(Object.assign({},n),{items:[]})),l[0].items=s,o.push(l[0])):l.length>0&&(l[0].items=s,o.push(l[0]))})),{checkedList:(null==c?void 0:c.length)>0?c:null,nestedResult:o}},W=(e,t,i)=>{let c,o=[];return c=i||N(e).dataSource,c&&c.forEach((i=>{if(t&&(i.id==t?(i.selected=!0,i.itemObject.selected=i.selected):i.selected&&(i.selected=!1,i.itemObject.selected=i.selected)),i.items){const c=W(e,t,i.items);(null==c?void 0:c.length)>0&&(o=[...o,...c])}i.selected&&o.push(i.itemObject)})),o&&o.length>0?o:null},q=(e,t)=>{let i;i=t||N(e).dataSource,i&&i.forEach((t=>{var i,c,o;t.checked&&(t.checked=!1),t.selected&&(t.selected=!1),t.indeterminate&&(t.indeterminate="uncheck"),(null===(i=t.itemObject)||void 0===i?void 0:i.checked)&&(t.itemObject.checked=!1),(null===(c=t.itemObject)||void 0===c?void 0:c.selected)&&(t.itemObject.selected=!1),(null===(o=t.itemObject)||void 0===o?void 0:o.indeterminate)&&(t.itemObject.indeterminate="uncheck"),t.items&&q(e,t.items)}))},K={setValue:e=>{const{id:t,dataSource:i,options:c}=e,{type:o,treeview:n,checkboxes:s,searchable:a,value:m,name:h,label:b,size:d,disabled:p,readonly:u,highlight:_,required:x,hidden:g,fullWidth:v,height:f,maxHeight:k,minHeight:w,width:y,infoFooter:z,variableText:j,template:I,allOpen:C,keyControl:O,checkAll:S,linkedComponent:$,placeholder:E,searchPlaceholder:N,searchIsOnlyChilds:F,clearable:P,caption:A,noCaption:L,captionType:M,captionError:V,placement:G}=c,B={size:d,checkboxes:s,template:I,allOpen:C,highlight:_,treeview:n},H={id:r((()=>t),l.UID),dataSource:i&&i.length>0&&R(i,B),options:{type:o,treeview:n,checkboxes:s,searchable:a,value:m,name:h,label:b,size:d,disabled:p,readonly:u,highlight:_,required:x,hidden:g,fullWidth:v,height:f,maxHeight:k,minHeight:w,width:y,infoFooter:z,variableText:j,template:I,allOpen:C,keyControl:O,checkAll:S,linkedComponent:$,placeholder:E,searchPlaceholder:N,searchIsOnlyChilds:F,clearable:P,caption:A,noCaption:L,captionType:M,captionError:V,placement:G},totalItems:(null==i?void 0:i.length)>0&&D(i,c.treeview),totalRoots:null==i?void 0:i.length};T.value.set(H.id,H)},removeValue:e=>{T.value.delete(e)},getValue:N,getData:e=>{let t=[];const i=N(e);if(i){const{dataSource:e}=i;t=e}return t},getDataPagination:(e,t=3,i)=>{let c=[];const o=N(e);if(o){const{dataSource:e}=o;c=i?e.filter((e=>i.indexOf(e.id)>-1)).slice(0,t):e.slice(0,t)}return c},openGroup:F,checkedItem:A,filterData:G,getSelected:B,getCheckedList:H,selectedItem:W,addChecked:(e,t)=>{N(e)&&t.forEach((t=>{A(e,t)}))},setClear:q,selectAll:(e,t)=>{const i=N(e).dataSource;i&&i.forEach((i=>{M(e,i,t)}))},removeOtherTags:(e,t,i)=>{let c;if(t=Array.isArray(t)?t:[t],i)c=i;else{const t=N(e);c=t.dataSource}c&&t.forEach((t=>{c.forEach((i=>{i.id==t?(i.checked=!1,i.itemObject.checked=!1):i.items&&P(e,t,i.items)}))}))},onRemoveItems:P,updateOptions:(e,t)=>{Object.keys(N(e).options).forEach((i=>{N(e).options[i]=t[i]}))},removeState:e=>Promise.resolve(T.value.delete(e))};class U{constructor(e,t,i,c){this.elementName="",this.childElementName="",this.keyCode=e,this.element=t,this.elementName=i,this.childElementName=c}getKeyCode(){return this.keyCode}getElementName(){return this.elementName}getChildElementName(){return this.childElementName}getFocusedElementName(){return this.getElementName()+".focused"}getFocusedElement(){return this.element.querySelectorAll(this.getFocusedElementName())[0]||null}getFirstElement(){return this.element.querySelectorAll(this.getElementName())[0]||null}getNextElement(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.nextElementSibling)||this.getFirstElement()}getPreviousElement(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.previousElementSibling)||this.getFirstElement()}getChildElement(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.querySelectorAll(this.getChildElementName())[0])||null}getParentElement(e){if(e&&e)return e&&e.attributes["data-isroot"]?e:this.getParentElement(e.parentNode)}focusElementIsOpen(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.classList.contains("bcm-list__item--open"))||!1}isRootElement(){var e;return(null===(e=this.getFocusedElement())||void 0===e?void 0:e.querySelectorAll(this.getChildElementName()).length)>0}isRootElementIsOpen(){return this.getFocusedElement().classList.contains("bcm-list__item--open")}getFocusedChildElement(){var e;return(null===(e=this.getChildElement())||void 0===e?void 0:e.querySelectorAll(".focused")[0])||null}isLastElement(){var e;return null===(null===(e=this.getFocusedElement())||void 0===e?void 0:e.nextElementSibling)}focusParentElementFirstChild(){var e,t;return this.setFocus(null===(t=null===(e=this.getFocusedElement())||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.firstChild)}isFirstElement(){var e;return null===(null===(e=this.getFocusedElement())||void 0===e?void 0:e.previousElementSibling)}focusRootElement(){var e,t,i;return this.setFocus(null===(i=null===(t=null===(e=this.getFocusedElement())||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.firstChild)}nextRootElement(){var e,t,i;return this.setFocus(null===(i=null===(t=null===(e=this.getFocusedElement())||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.nextElementSibling)}findFocusElementParent(){return this.getFocusedElement().parentNode.querySelectorAll(".bcm-list__item--open")}getLastElement(){return this.element.querySelectorAll(this.getElementName())[this.element.querySelectorAll(this.getElementName()).length-1]||null}setFocus(e){e.focus()}}class Y extends U{constructor(e,t,i,c){super(e,t,".bcm-list__item",".bcm-list__item-childs"),this.isTreeview=!1,this.isCheckBoxes=!1,this.isTreeview=i,this.isCheckBoxes=c}keyUpControl(){this.isTreeview?this.keyUpTreeview():this.isFirstElement()?this.setFocus(this.getLastElement()):this.setFocus(this.getPreviousElement())}keyDownTreeView(){var e;if(this.isTreeview)if(this.isRootElement()&&this.isRootElementIsOpen()){const e=this.getChildElement();e&&this.setFocus(e.firstChild)}else this.isLastElement()&&this.getParentElement(this.getFocusedElement())?this.setFocus(null===(e=this.getParentElement(this.getFocusedElement()))||void 0===e?void 0:e.nextElementSibling):this.setFocus(this.getNextElement())}keyUpTreeview(){if(this.isFirstElement()){const e=this.getParentElement(this.getFocusedElement());this.setFocus(e)}else{const e=this.getPreviousElement();if(e)if(e.classList.contains("bcm-list__item--open")){const t=e.querySelectorAll(this.getChildElementName())[0];console.log({getChildElement:t}),this.setFocus(t.lastChild)}else this.setFocus(e)}}keyDownControl(){this.isTreeview?this.keyDownTreeView():this.isLastElement()?this.setFocus(this.getFirstElement()):this.setFocus(this.getNextElement())}keyRightControl(){if(this.isTreeview&&!this.isRootElementIsOpen()&&this.isRootElement()){const{id:e}=this.getFocusedElement();this.openGroup(e)}}keyLeftControl(){if(this.isTreeview&&this.isRootElementIsOpen()&&this.isRootElement()){const{id:e}=this.getFocusedElement();this.openGroup(e)}}keyEnterControl(){}keySpaceControl(){if(this.isCheckBoxes){const{id:e}=this.getFocusedElement();this.checkedItem(e)}}keyDown(){switch(this.getKeyCode()){case _.KeyCode.up:this.keyUpControl();break;case _.KeyCode.down:this.keyDownControl();break;case _.KeyCode.left:this.keyLeftControl();break;case _.KeyCode.right:this.keyRightControl();break;case _.KeyCode.enter:this.keyEnterControl();break;case _.KeyCode.space:this.keySpaceControl()}}keyUp(){}}var J=function(e,t,i,c){var o,n=arguments.length,s=n<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,i):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,c);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(s=(n<3?o(s):n>3?o(t,i,s):o(t,i))||s);return n>3&&s&&Object.defineProperty(t,i,s),s};const Q=class{constructor(e){t(this,e),this.bcmChecklist=i(this,"bcm-checklist",7),this.bcmSelected=i(this,"bcm-selected",7),this.change=i(this,"bcm-change",7),this.open=i(this,"bcm-open",3),this.close=i(this,"bcm-close",3),this.listClose=i(this,"bcm-list-close",7),this.listOpen=i(this,"bcm-list-open",7),this.debounce=null,this.debounceHandler=l.debounceInput((()=>this.listenResize()),300,!1),this._id=l.UID(),this.tempId=l.UID(),this.type=x.ListType.listbox,this.treeview=!1,this.checkboxes=!1,this.searchable=!1,this.value=null,this.inputText=void 0,this.name=void 0,this.label=void 0,this.size=x.Size.medium,this.disabled=!1,this.readonly=!1,this.highlight=!1,this.highlightText=void 0,this.required=!1,this.hidden=!1,this.fullWidth=!1,this.height="256px",this.maxHeight="500px",this.minHeight="150px",this.width="256px",this.tooltip=void 0,this.infoFooter=!1,this.variableText="item",this.template=void 0,this.allOpen=!1,this.keyControl=!1,this.checkAll=!0,this.stopDeepClean=!1,this.openIntersecting=!1,this.linkedComponent=void 0,this.isOpen=!1,this.calculatedViewport=!1,this.isSelectedOther=!1,this.isHaveOtherTag=!1,this.placeholder="Choose an option",this.searchPlaceholder="Search",this.searchIsOnlyChilds=!1,this.minSearchLength=2,this.clearable=!1,this.caption=void 0,this.noCaption=!1,this.captionType=x.Status.default,this.captionError=void 0,this.emptyText=void 0,this.emptyIcon="fad fa-folder-open",this.captionCache=void 0,this.captionTypeCache=void 0,this.tick={},this.totalData=0,this.totalRootData=0,this.limit=20,this.searchGetParents=void 0,this.searchResultLimit=20,this.searchFound=null,this.returnFilterData={},this.returnOtherData={},this.options={rootMargin:"30px"},this.tagContainerWidth=0,this.selectAllItem={id:"select-all",text:"Select All",value:"select-all",checked:!1,disabled:!1,icon:"",status:x.Status.default,indeterminate:"uncheck"},this.shouldTriggerChange=void 0,this.placement=x.Placement["bottom-start"],this.disableChangeEvent=!1,this.data=[],window.addEventListener("scroll",this.handleWheel.bind(this),!0),window.addEventListener("wheel",this.handleWheel.bind(this),!0),window.addEventListener("resize",this.handleResize.bind(this),!0)}connectedCallback(){"256px"!=this.height&&(this.limit=this.height.indexOf("px")>-1?Math.floor(+this.height.replace("px","")/10):Math.floor(+window.innerHeight/10),this.searchResultLimit=this.limit,this.markForCheck());const e=document.querySelectorAll(`#bcm-list-${this._id}`);(null==e?void 0:e.length)>1&&e.forEach(((e,t)=>t>0&&e.remove()))}componentWillRender(){this.calculateLocation()}componentShouldUpdate(e,t,i){Object.keys(this.getOptions()).indexOf(i)>-1&&e!==t&&this.updateOptions()}get containerWidth(){var e,t;return null===(t=null===(e=this.el)||void 0===e?void 0:e.getBoundingClientRect())||void 0===t?void 0:t.width}get tagCount(){return this.containerWidth>0?Math.floor(+(this.containerWidth-100)/85):0}get tagData(){return r((()=>{var e;return null===(e=this.value)||void 0===e?void 0:e.map((e=>({value:e.id,label:m.textLimitter(e.text,7),text:e.tooltipMessage||e.tagTitle||l.domParser(e.text)})))}),[])}async componentDidLoad(){await this.initState()}disconnectedCallback(){if(this.isOpen=!1,!this.stopDeepClean&&(K.removeState(this._id),this.el.innerHTML="","select"==this.type||"autocomplete"==this.type||this.linkedComponent)){const e=document.querySelectorAll(`#bcm-list-${this._id}`);(null==e?void 0:e.length)&&(e.forEach((e=>e.remove())),this.el.remove())}}watchId(e,t){K.removeState(t),this.initState()}handleValueChange(e,t){var i;l.objectIsEmpty(this.returnFilterData)&&this.handleIndeterminate((null===(i=this.value)||void 0===i?void 0:i.length)||0,this.totalData),this.checkboxes?h.compareTwoArrayIsSame(e,t)||(this.bcmChecklist.emit(this.value),!this.disableChangeEvent&&this.change.emit([...this.value,{shouldTriggerChange:this.shouldTriggerChange}])):(null==e?void 0:e.id)!=(null==t?void 0:t.id)&&!this.disableChangeEvent&&this.change.emit(Object.assign(Object.assign({},this.value),{shouldTriggerChange:this.shouldTriggerChange}))}watchReturnFilterData(e){var t;const{checkedItems:i,visibledItems:c}=e;i&&c?this.handleIndeterminate(i.length,c.length):this.handleIndeterminate((null===(t=this.value)||void 0===t?void 0:t.length)||0,this.totalData)}async handleOpen(){if(this.isOpen){if(this.detectClone(),"select"==this.type||"autocomplete"==this.type||this.linkedComponent){const e=this.el.querySelector(`#bcm-list-${this._id}`);e&&document.querySelector("#bcm-overlay-container").appendChild(e)}this.open.emit(),this.calculateLocation(),this.onSelectSearch()}else this.listScrollToTop(),this.close.emit(),this.listClose.emit(),await u(100),this.unSelectOther()}listScrollToTop(){const e=document.querySelector(`#bcm-list-${this._id}`);e&&(e.querySelector(".scrolling").scrollTop=0)}async dataChanged(e,t){h.compareTwoArrayIsSame(e,t)||await this.initState()}isIntersecting(e){const t=null==e?void 0:e.target;t&&t.id===this._id&&this.listenResize()}handleSlotItems(e){var t;(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.length)>0&&(this.data=e.detail)}handleChange(e){e.target.id==`bcm-list-input-tag-container-${this._id}-autocomplete-input`&&e.stopImmediatePropagation()}handleResize(){this.calculateLocation(),this.debounceHandler()}handleWheel(e){if(this.isOpen){const t=document.querySelector(`#bcm-list-${this._id}`);t&&l.findEventPath(e,t)?("select"==this.type||"autocomplete"==this.type||this.linkedComponent)&&this.calculateLocation():this.hide()}}clearAutocomplete(){if("autocomplete"==this.type){const e=this.getAutoCompleteInput();e&&e.handleClear(!1)}}async handleSelectOtherTag(e){if(this.disabled)return;const{id:t,checked:i}=e.detail;this.isSelectedOther=i,t&&(i?this.filterOtherList(t):this.unSelectOther(),this.isOpen=!0)}async handleDeleteTag(e){var t;if(this.disabled)return;const{id:i}=e.detail;this.isSelectedOther&&this.unSelectOther(),Array.isArray(i)?K.removeOtherTags(this._id,i):K.checkedItem(this._id,i),this.value=(await this.getCheckedList()).checkedList,this.handleIndeterminate((null===(t=this.value)||void 0===t?void 0:t.length)||0,this.totalData)}async handleSelectTag(e){this.disabled||(this.clearAutocomplete(),this.onSelectSearch(),this.unSelectOther())}handleClick(e){var t;if(this.disabled)return;const i=document.querySelector(`#bcm-list-${this._id}`),c=l.findEventPath(e,this.el)||i&&l.findEventPath(e,i);if(c&&(null!==this.debounce&&(e.preventDefault(),e.stopPropagation(),clearTimeout(this.debounce),this.debounce=null),this.debounce=setTimeout((()=>{this.debounce=null}),300)),!c&&"autocomplete"==this.type){const e=this.getAutoCompleteInput();e&&e.setValue(this.checkboxes?"":(null===(t=this.value)||void 0===t?void 0:t.text)||"")}const o=l.findEventPathWithKey(e,"className",["bcm-tag"]),n=l.findEventPathWithKey(e,"className",["bcm-tag bcm-tag--other"]),s=l.findEventPathWithKey(e,"id",[`bcm-list-input-${this._id}`,`bcm-list-label-${this._id}`]),r=l.findEventPathWithKey(e,"className",["right close-button"]);s&&!r&&"autocomplete"!=this.type&&(this.isOpen=!(!o&&!n&&this.isOpen)),i&&this.isOpen&&(i.contains(e.target)||this.el.contains(e.target)||(this.isOpen=!1))}bcmOnSearchClear(e){var t,i;"autocomplete"==this.type&&((null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.id)!==`bcm-list-${this._id}-search`&&(null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.id)!==`bcm-list-input-tag-container-${this._id}-autocomplete-input`||e.detail&&this.setClear())}bcmOnSearch(e){var t,i,c,o,n,s;(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.id)!==`bcm-list-${this._id}-search`&&(null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.id)!==`bcm-list-input-tag-container-${this._id}-autocomplete-input`||(this.searchGetParents=r((()=>{var t;return null===(t=e.detail)||void 0===t?void 0:t.parentIndex}),null),this.searchResultLimit=10,this.searchFound=null!=(null===(c=e.detail)||void 0===c?void 0:c.matching)?null===(o=e.detail)||void 0===o?void 0:o.matching.length:null,this.returnFilterData=K.filterData(this._id,null===(n=e.detail)||void 0===n?void 0:n.nestedResult),this.searchFound>0&&this.highlight&&(this.highlightText=null===(s=e.detail)||void 0===s?void 0:s.value),"autocomplete"==this.type&&(this.isOpen=!0),e.detail.result||("autocomplete"==this.type?this.isOpen=!1:(this.returnFilterData={},K.filterData(this._id,null)),this.searchResultLimit=null,this.highlightText=null),this.markForCheck())}handleKeyDown(e){const t=e.keyCode||e.which;if(t===x.KeyCode.escape&&this.isOpen&&(this.isOpen=!1,e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()),this.keyControl){const e=new Y(t,this.el,this.treeview,this.checkboxes);e.openGroup=e=>{this.openGroup(e)},e.checkedItem=e=>{this.checkedItem(e)},e.keyDown()}}handleKeyUp(e){if(this.keyControl&&l.findEventPath(e,this.el)){const e=document.getElementById(`bcm-list-${this._id}`);if(e){const t=e.querySelectorAll(".bcm-list__item.focused");if(t.length>0){const i=e.querySelector("main"),c=t[0].offsetHeight,o=i.offsetHeight,n=t[0].offsetTop;n>o&&(i.scrollTop=n-o/2+c/2),n<o&&(i.scrollTop=n-o/2-c/2)}}}}async set(e,t=!0){e?(this.shouldTriggerChange=t,Array.isArray(e)&&this.addChecked(e),"string"!=typeof e&&"number"!=typeof e||this.selectedItem(e)):this.setClear()}async get(){var e,t;return this.value?this.checkboxes?null===(t=null===(e=await this.getCheckedList())||void 0===e?void 0:e.checkedList)||void 0===t?void 0:t.map((e=>e.id)):this.value.id:null}async getCheckedList(){return Promise.resolve(K.getCheckedList(this._id))}async getSelected(){return Promise.resolve(K.getSelected(this._id))}async getValue(){return Promise.resolve(this.value)}async triggerChange(e){this.shouldTriggerChange=e}async addChecked(e=[],t=!1,i=!0){return e&&e.length>0&&(t||(K.setClear(this._id),await u(10)),await K.addChecked(this._id,e),await u(10),i&&(this.value=(await this.getCheckedList()).checkedList),this.markForCheck()),Promise.resolve(this.value)}async selected(e){return!!e&&Promise.resolve(await this.selectedItem(e))}async setClear(e){return K.setClear(this._id),this.value=null,this.inputText="",this.isOpen=!1,this.selectAllItem.indeterminate="uncheck",this.markForCheck(),e&&(e.stopPropagation(),e.preventDefault()),await u(10),Promise.resolve()}async resetCaption(){return await u(10),this.caption=this.captionCache,this.captionType=this.captionTypeCache,this.captionError=null,await u(10),Promise.resolve()}detectClone(){const e=document.querySelectorAll(`#bcm-list-${this._id}`);e.length>0&&e.forEach((e=>{const t=e.getAttribute("temp-id");t!==`bcm-list-${this.tempId}`&&(console.warn(`[bcm-list] - Detected duplicate temp-id="${t}"`),e.remove())}))}async show(){return this.isOpen=!0,Promise.resolve()}async hide(){return this.isOpen=!1,Promise.resolve()}updateOptions(){K.updateOptions(this._id,this)}handleIndeterminate(e,t){this.selectAllItem=Object.assign(Object.assign({},this.selectAllItem),{indeterminate:this.checkboxes&&e>0?e===t?"check":"indeterminate":"uncheck",checked:!!(this.checkboxes&&e>0)&&e===t})}listenResize(){this.calculateLocation(),this.markForCheck()}async unSelectOther(){return await this.onClearSearch(),this.isSelectedOther=!1,this.searchFound=null,this.returnFilterData={},K.filterData(this._id,null),await u(10),Promise.resolve()}async onClearSearch(){const e=document.getElementById(`bcm-list-${this._id}-search`);return e&&await e.handleClear(),Promise.resolve()}async onSelectSearch(){const e=document.getElementById(`bcm-list-${this._id}-search`);e&&(await u(100),e.onBcmFocus(),e.onBcmSelect())}async filterOtherList(e){const t=(await this.getCheckedList()).nestedResult,i=l.convertIdsToNestedData(e,t);this.returnFilterData=await K.filterData(this._id,i,null,!0),this.searchFound=(null==e?void 0:e.length)||0,this.limit=500,this.searchGetParents=null,await u(1e3),this.markForCheck()}async initState(){var e,t,i;this.onClearSearch(),await K.setValue({id:this._id,dataSource:this.data&&r((()=>"string"==typeof this.data?JSON.parse(this.data):this.data),[]),options:this});const{totalRoots:c,totalItems:o}=K.getValue(this._id);if(this.totalData=o,this.totalRootData=c,this.value=this.checkboxes?(await this.getCheckedList()).checkedList:K.selectedItem(this._id)?K.selectedItem(this._id)[0]:null,this.checkboxes||(this.inputText=l.domParser(null===(e=this.value)||void 0===e?void 0:e.text)||null),this.checkboxes&&(null===(t=this.value)||void 0===t?void 0:t.length)>0){const e=[];this.value.forEach((t=>{t.items&&0!==t.items.length||e.push(t.id)})),await this.addChecked(e,!1,!1)}await this.handleIndeterminate(null===(i=this.value)||void 0===i?void 0:i.length,this.totalData),await this.markForCheck()}async markForCheck(){await u(10),this.tick=l.UID()}getOptions(){return r((()=>K.getValue(this._id).options),{})}getItems(){return this.isSelectedOther?this.returnFilterData.checkedItems:r((()=>K.getData(this._id)),[])}getLimitedItems(e){return r((()=>K.getDataPagination(this._id,this.searchResultLimit||this.limit,e)),[])}openGroup(e){K.openGroup(this._id,e),this.markForCheck()}focusItem(e){if(e.target.classList.contains("bcm-list__item")){const t=e.target,i=document.getElementById(`bcm-list-${this._id}`);if(i&&i.querySelectorAll(".bcm-list__item").length>0){const e=i.querySelector(".bcm-list__item.focused");e&&e.classList.remove("focused"),t.classList.add("focused")}}}async selectedItem(e){var t;if(!this.checkboxes&&(this.value=K.selectedItem(this._id,e)?K.selectedItem(this._id,e)[0]:null,this.inputText=l.domParser(null===(t=this.value)||void 0===t?void 0:t.text)||null,this.isOpen=!1,this.markForCheck(),"autocomplete"==this.type&&this.value)){const e=this.getAutoCompleteInput();e&&setTimeout((()=>{var t;e.setValue((null===(t=this.value)||void 0===t?void 0:t.text)||""),this.isOpen=!1}),100)}return Promise.resolve(this.value)}async checkedItem(e){"select-all"===e?K.selectAll(this._id,!this.selectAllItem.checked):K.checkedItem(this._id,e),this.value=(await this.getCheckedList()).checkedList,this.changeVisibleCheckeds(),this.markForCheck()}changeVisibleCheckeds(){const{visibledItems:e}=this.returnFilterData;this.returnFilterData={visibledItems:e,checkedItems:e&&e.filter((e=>e.checked))||[]}}getAutoCompleteInput(){return document.getElementById(`bcm-list-input-tag-container-${this._id}-autocomplete-input`)}dataScrollEvent(e){let t=0,i=new IntersectionObserver((e=>{0===t&&(t++,e[0].isIntersecting&&(this.limit+=15,this.searchResultLimit+=15,i.disconnect(),i=null))}),this.options);i.observe(e.target.lastElementChild)}async calculateLocation(){var e,t;if("select"==this.type||"autocomplete"==this.type||this.linkedComponent){const c=document.getElementById(`bcm-list-${this._id}`);var i=this.placement;const o=document.getElementById(this.linkedComponent?this.linkedComponent:`bcm-list-input-${this._id}`);if(c&&o){b(c,o,i,(e=>i=e)),await u(10);let n=d(i,o),s=0,l=0;if(this.linkedComponent){const i=document.getElementById(this.linkedComponent);if(i){if(!i.noCaption){const t=(null===(e=i.shadowRoot)||void 0===e?void 0:e.querySelector(".bcm-caption-area"))||i.querySelector(".bcm-caption-area");t&&(s=t.offsetHeight||t.clientHeight)}const c=(null===(t=i.shadowRoot)||void 0===t?void 0:t.querySelector(".bcm-label"))||i.querySelector(".bcm-label");c&&(l=c.offsetHeight||c.clientHeight)}}c.style.width=this.fullWidth?o.offsetWidth+"px":this.width||"auto",c.style.height=this.height.indexOf("%")>-1?.01*a.toNumber(this.height)*window.innerHeight-n[0]-50+"px":this.height,c.style.minHeight=this.minHeight;const r="top"==i.split("-")[0]?window.innerHeight-(window.innerHeight-n[0])-50:window.innerHeight-n[0]-50;c.style.maxHeight=this.maxHeight.indexOf("%")>-1?.01*a.toNumber(this.maxHeight)*r+"px":a.toNumber(this.maxHeight)<r?this.maxHeight:r+"px",b(c,o,i,(e=>i=e)),await u(10),n=d(i,o),c.style.top=("top"==i.split("-")[0]?n[0]-c.offsetHeight+l:n[0]-s)+"px",c.style.left="end"==i.split("-")[1]?n[1]-c.offsetWidth+"px":n[1]+"px",c.classList.toggle("bcm-list--top","top"==i.split("-")[0]),this.calculatedViewport=!0}}}handleTransitionEnd(e){const{isOpen:t,type:i}=this;t&&"select"==i&&"transform"==(null==e?void 0:e.propertyName)&&this.listOpen.emit()}render(){const{checkboxes:t,treeview:i,label:o,size:n,disabled:s,readonly:l,required:r,hidden:a,fullWidth:m,searchable:h}=this.getOptions(),b=v("bcm-list",`bcm-list__size-${n}`,`bcm-list__${this.type}`,"large"===n?"size-3":"size-2",{error:this.captionType==x.Status.error,"full-width":m,"bcm-list__linked":this.linkedComponent,hidden:a,readonly:l,disabled:s}),d=v("bcm-list__container",this.linkedComponent?"bcm-list__type-linked-component":`bcm-list__type-${this.type}`,{"is-open":this.isOpen&&this.calculatedViewport,error:this.captionType==x.Status.error,"full-width":m,hidden:a,readonly:l,disabled:s}),p=v("bcm-list__input"),u="select"==this.type||"autocomplete"==this.type||this.linkedComponent;return e(c,{class:b,tabindex:"0",style:{"--width":m?"100%":this.width,"--height":u?"100%":this.height,"--max-height":u?"inherit":this.maxHeight,"--min-height":u?"inherit":this.minHeight}},e("div",{id:`bcm-list-label-${this._id}`,class:"bcm-list__label"},o&&e("div",null,e("bcm-label",{tooltip:this.tooltip,size:this.size,type:this.captionType,value:o,required:r,htmlFor:this._id}))),"select"==this.type&&e("div",{id:`bcm-list-input-${this._id}`,class:p},e("span",{class:v("bcm-list__input-container",{"type-single":!t,"value-empty":!this.value})},this.checkboxes?this.value&&this.value.length>0?e("bcm-rc-overflow",{data:this.tagData,maxCount:this.tagCount}):e("span",{class:"bcm-list__input-placeholder"},this.placeholder):this.value?this.inputText:e("span",{class:"bcm-list__input-placeholder"},this.placeholder)),e("span",{class:v("bcm-list__input-buttons",{disabled:s})},this.clearable&&this.value&&e("div",{class:"bcm-list__input-buttons-button"},e("bcm-icon",{icon:"fal fa-times",onClick:e=>!s&&this.setClear(e)})),e("div",{class:`bcm-list__input-buttons-button caret-is ${this.isOpen&&this.calculatedViewport&&"caret-is-open"}`},e("bcm-icon",{icon:"far fa-angle-down"})))),"autocomplete"===this.type&&e("div",{id:`bcm-list-input-${this._id}`,class:v(p,{"bcm-list__input-autocomplete":"autocomplete"==this.type})},e("span",{class:"bcm-list__input-container",id:`bcm-list-input-tag-container-${this._id}`},this.checkboxes&&e("span",{class:"bcm-list__input-tag-container",id:`bcm-list-input-tag-container-${this._id}-autocomplete`}),e("bcm-search",{id:`bcm-list-input-tag-container-${this._id}-autocomplete-input`,class:"bcm-list__autocomplete",data:this.data,clearable:!0,"full-width":!0,"no-caption":!0,placeholder:this.placeholder}))),e(E,{highlight:this.highlightText,searchable:"autocomplete"!=this.type&&h,bcmListContainer:d,checkboxes:t,treeview:i,infoFooter:this.infoFooter,value:this.value,totalData:this.totalData,searchFound:this.searchFound,variableText:this.variableText,searchPlaceholder:this.searchPlaceholder,minSearchLength:this.minSearchLength,searchIsOnlyChilds:this.searchIsOnlyChilds,_id:this._id,tempId:this.tempId,checkAll:this.checkAll,data:this.getItems(),width:this.width,height:this.height,size:this.size,selectAllItem:this.selectAllItem,onScrollEvent:e=>this.dataScrollEvent(e),items:this.getLimitedItems(this.searchGetParents),selectedItem:e=>this.selectedItem(e),checkedItem:e=>this.checkedItem(e),openGroup:e=>this.openGroup(e),focusItem:e=>this.focusItem(e),emptyText:this.emptyText,emptyIcon:this.emptyIcon,handleTransitionEnd:e=>this.handleTransitionEnd(e)}),e(g,{noCaption:this.noCaption,captionType:this.captionType,captionError:this.captionError,caption:this.caption}))}get el(){return o(this)}static get watchers(){return{_id:["watchId"],value:["handleValueChange"],returnFilterData:["watchReturnFilterData"],isOpen:["handleOpen"],data:["dataChanged"]}}};function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c])}return e},X.apply(this,arguments)}function Z(e){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z(e)}function ee(e,t,i){return(t=function(e){var t=function(e){if("object"!==Z(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!==Z(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Z(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function te(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,c)}return i}function ie(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?te(Object(i),!0).forEach((function(t){ee(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):te(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,c=new Array(t);i<t;i++)c[i]=e[i];return c}function oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var c,o,n,s,l=[],r=!0,a=!1;try{if(n=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;r=!1}else for(;!(r=(c=n.call(i)).done)&&(l.push(c.value),l.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{if(!r&&null!=i.return&&(s=i.return(),Object(s)!==s))return}finally{if(a)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ce(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?ce(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){if(null==e)return{};var i,c,o=function(e,t){if(null==e)return{};var i,c,o={},n=Object.keys(e);for(c=0;c<n.length;c++)t.indexOf(i=n[c])>=0||(o[i]=e[i]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(c=0;c<n.length;c++)t.indexOf(i=n[c])>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}J([n()],Q.prototype,"el",void 0),J([s("data",!0)],Q.prototype,"dataChanged",null),Q.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}*{box-sizing:border-box}.bcm-checkbox{outline:none;border:none;--bcm-checkbox-primary-color-default:var(--bcm-new-ds-color-blue-500);--bcm-checkbox-secondary-color-default:var(--bcm-new-ds-color-white);--bcm-checkbox-primary-color-hover:var(--bcm-new-ds-color-blue-600);--bcm-checkbox-secondary-color-hover:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-focus-visible:var(--bcm-new-ds-color-blue-800);--bcm-checkbox-secondary-color-focus-visible:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-active:var(--bcm-new-ds-color-blue-700);--bcm-checkbox-secondary-color-active:var(--bcm-new-ds-color-slate-50);--bcm-checkbox-primary-color-disabled:var(--bcm-new-ds-color-slate-300);--bcm-checkbox-secondary-color-disabled:var(--bcm-new-ds-color-slate-200);display:inline-flex;width:fit-content;flex-direction:column;margin-bottom:8px}.bcm-checkbox:focus,.bcm-checkbox:hover,.bcm-checkbox:active{outline:none;border:none}.bcm-checkbox *{box-sizing:border-box}.bcm-checkbox input[type=radio],.bcm-checkbox input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:#fff;margin:0;display:none}.bcm-checkbox__input{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap;padding-top:4px}.bcm-checkbox.hidden{display:none}.bcm-checkbox :hover{cursor:pointer}.bcm-checkbox[disabled] :hover,.bcm-checkbox.disabled :hover{cursor:not-allowed}.bcm-checkbox .slot{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-weight:500;color:var(--bcm-new-ds-color-slate-600)}.bcm-checkbox .slot:not(:empty){margin-left:8px;margin-right:8px}.bcm-checkbox-size-small .slot{font-size:12px;line-height:calc(12px + 8px);margin-top:-2.5px}.bcm-checkbox-size-small .bcm-checkbox__input{min-height:calc(24px - 4px)}.bcm-checkbox-size-small .bcm-checkbox__label-icon{width:14px;height:14px;min-width:14px;font-size:calc(10px - 2px)}.bcm-checkbox-size-medium .slot{font-size:calc(12px + 1px);line-height:calc(12px + 8px);margin-top:-1.5px}.bcm-checkbox-size-medium .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-medium .bcm-checkbox__label-icon{width:16px;height:16px;min-width:16px;font-size:10px}.bcm-checkbox-size-large .slot{font-size:16px;line-height:calc(16px + 8px);margin-top:-1.5px}.bcm-checkbox-size-large .bcm-checkbox__input{min-height:calc(32px - 4px)}.bcm-checkbox-size-large .bcm-checkbox__label-icon{width:18px;height:18px;min-width:18px;font-size:12px}.bcm-checkbox__label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;flex-wrap:nowrap}.bcm-checkbox__label-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-wrap:nowrap;border-width:1px;border-style:solid;border-radius:2px}.bcm-checkbox__label-icon-indeterminate{position:relative}.bcm-checkbox__label-icon-indeterminate:after{content:"";display:block;position:absolute;width:70%;height:1.5px;background:var(--bcm-new-ds-color-white)}.bcm-checkbox__label-icon.bcm-radio__icon{width:16px;height:16px;box-sizing:border-box;border-radius:100px}.bcm-checkbox__label-icon.bcm-radio__icon .bcm-radio__icon-inner{width:10px;height:10px;border-radius:100px;background-color:var(--bcm-new-ds-color-white)}.bcm-checkbox .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-default);color:var(--bcm-checkbox-secondary-color-default);border-color:var(--bcm-new-ds-color-slate-300)}.bcm-checkbox .bcm-checkbox__label-icon-checked,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-default);border-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-default);background-color:var(--bcm-checkbox-secondary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-default)}.bcm-checkbox:hover .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-hover);color:var(--bcm-checkbox-secondary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-hover);border-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-hover);background-color:var(--bcm-checkbox-secondary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:hover .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-hover)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-focus-visible);color:var(--bcm-checkbox-secondary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-focus-visible);border-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-focus-visible);background-color:var(--bcm-checkbox-secondary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:focus-visible .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-focus-visible)}.bcm-checkbox:active .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-active);color:var(--bcm-checkbox-secondary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-active);border-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-active);background-color:var(--bcm-checkbox-secondary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox:active .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-active)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon{background:var(--bcm-checkbox-secondary-color-disabled);color:var(--bcm-checkbox-secondary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-checkbox-primary-color-disabled);border-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon{border-color:var(--bcm-checkbox-primary-color-disabled);background-color:var(--bcm-checkbox-secondary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-checked.bcm-radio__icon .bcm-radio__icon-inner,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate.bcm-radio__icon .bcm-radio__icon-inner{background-color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[disabled] .bcm-checkbox__label-icon-indeterminate,.bcm-checkbox.disabled .bcm-checkbox__label-icon-indeterminate{color:var(--bcm-checkbox-primary-color-disabled)}.bcm-checkbox[no-margin] .bcm-checkbox__input{margin:0;min-height:0;padding:0}.bcm-list{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;--width:256px;--height:256px;--max-height:inherit;--min-height:inherit;min-width:90px;display:flex;flex-direction:column;margin:0 0 8px 0}.bcm-list__listbox .bcm-list__container{height:var(--height);max-height:var(--max-height);min-height:var(--min-height)}.bcm-list.full-width{width:100%}.bcm-list__size-small .bcm-list__input{height:24px;font-size:12px;line-height:calc(12px + 8px)}.bcm-list__size-small .bcm-list__input .bcm-tag__content.dismissable{font-size:10px;line-height:calc(10px + 8px)}.bcm-list__size-medium .bcm-list__input{height:32px;font-size:14px;line-height:calc(14px + 8px)}.bcm-list__size-medium .bcm-list__input .bcm-tag__content.dismissable{font-size:12px;line-height:calc(12px + 8px)}.bcm-list__size-large .bcm-list__input{height:40px;font-size:16px;line-height:calc(16px + 8px)}.bcm-list__size-large .bcm-list__input .bcm-tag__content.dismissable{font-size:14px;line-height:calc(14px + 8px)}.bcm-list:hover{outline:none}.bcm-list:hover .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-500);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list:focus-visible{outline:none}.bcm-list:focus-visible .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-600);background-color:var(--bcm-new-ds-color-white)}.bcm-list:active{outline:none}.bcm-list:active .bcm-list__input{border-color:var(--bcm-new-ds-color-blue-600);box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-list__container{--width:256px;--height:256px;width:var(--width);height:var(--height);background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;padding-top:8px;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;gap:4px}.bcm-list__container main{scroll-behavior:smooth;padding:0 8px;flex:1;overflow:auto;display:flex;flex-direction:column}.bcm-list__container-search{margin:0 8px}.bcm-list__container-search:after{margin:4px 0}.bcm-list__container-no-data{flex:1;display:flex;justify-content:stretch;align-items:stretch;padding-bottom:4px}.bcm-list__container.error{border-color:var(--bcm-color-red-6)}.bcm-list__container.full-width{width:100%}.bcm-list__container.bcm-list__type-linked-component,.bcm-list__container.bcm-list__type-select,.bcm-list__container.bcm-list__type-autocomplete{display:none;opacity:0;visibility:hidden;position:absolute;top:0;left:0;height:0;width:0;transform:translateY(10%);z-index:10800;transition:visibility 0s linear 400ms, opacity 100ms, transform 200ms}.bcm-list__container.bcm-list__type-linked-component.bcm-list--top,.bcm-list__container.bcm-list__type-select.bcm-list--top,.bcm-list__container.bcm-list__type-autocomplete.bcm-list--top{transform:translateY(-10%)}.bcm-list__container.bcm-list__type-linked-component.is-open,.bcm-list__container.bcm-list__type-select.is-open,.bcm-list__container.bcm-list__type-autocomplete.is-open{display:flex;opacity:1;transform:translateY(0);visibility:visible;transition:visibility 0s linear 0s, opacity 100ms, transform 100ms}.bcm-list__container.bcm-list__type-linked-component{margin-top:2px}.bcm-list__label{line-height:1}.bcm-list__input{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-white);user-select:none;cursor:pointer;padding:0 8px;height:32px;overflow:hidden;position:relative;transition:background-color 100ms, border-color 100ms}.bcm-list__input-spinner{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:var(--bcm-color-grey-1);opacity:0;visibility:hidden;transition:opacity 0.2s ease-in-out;z-index:-1}.bcm-list__input-spinner.is-open{opacity:1;visibility:visible;z-index:1}.bcm-list__input-container{flex:1;display:block;overflow:hidden}.bcm-list__input-container.value-empty{color:var(--bcm-color-grey-6)}.bcm-list__input-container.type-single,.bcm-list__input-container.value-empty{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcm-list__input-placeholder{color:var(--bcm-color-grey-6)}.bcm-list__input-tag-container{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;grid-gap:2px;line-height:1}.bcm-list__input-buttons{display:flex;align-items:center;justify-content:flex-end;grid-gap:4px}.bcm-list__input-buttons-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 4px 0 4px;font-size:16px;color:var(--bcm-new-ds-color-slate-500)}.bcm-list__input-buttons-button.caret-is{transform:rotate(360deg);transition:transform 0.2s ease-in-out}.bcm-list__input-buttons-button.caret-is-open{transform:rotate(180deg)}.bcm-list__input-buttons:not(.disabled) .bcm-list__input-buttons-button:hover{cursor:pointer;color:var(--bcm-new-ds-color-slate-600)}.bcm-list__input-autocomplete{position:relative;padding-right:0}.bcm-list__input-autocomplete .bcm-list-input-selected-text{background-color:#ffffff;display:flex;align-items:center;justify-content:flex-start;width:calc(100% - 24px);height:100%;padding:0 calc(8px + 4px);position:absolute;top:0;left:0}.bcm-list__input-autocomplete .bcm-list__input-container{height:100%;display:flex;flex-direction:row}.bcm-list__input-autocomplete .bcm-list__input-container .bcm-list__input-tag-container{width:auto}.bcm-list__input-autocomplete .bcm-input,.bcm-list__input-autocomplete .bcm-list__autocomplete{height:100%;min-width:70px;width:100%}.bcm-list__input-autocomplete .bcm-input__container,.bcm-list__input-autocomplete .bcm-list__autocomplete__container{height:100%;border:none;padding:0;width:100%}.bcm-list__input-autocomplete .bcm-input__container:not(.disabled).focused,.bcm-list__input-autocomplete .bcm-input__container:not(.disabled):hover,.bcm-list__input-autocomplete .bcm-list__autocomplete__container:not(.disabled).focused,.bcm-list__input-autocomplete .bcm-list__autocomplete__container:not(.disabled):hover{border:none;box-shadow:none}.bcm-list__autocomplete{width:100%;position:relative}.bcm-list.full-width .bcm-list__container,.bcm-list.full-width .bcm-list__input{width:100%}.bcm-list.error .bcm-list__input{border-color:var(--bcm-color-red-6)}.bcm-list.disabled .bcm-list__container,.bcm-list.disabled .bcm-list__input{color:var(--bcm-new-ds-color-slate-300);background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-list.disabled .bcm-tag__content.dismissable .close-button{cursor:default}.bcm-list:not(.disabled) .bcm-list__input .bcm-tag__content.checked .close-button bcm-icon{color:var(--bcm-new-ds-color-slate-100)}.bcm-list:not(.disabled) .bcm-list__input .bcm-tag__content.checked .close-button:hover bcm-icon{color:var(--bcm-new-ds-color-slate-200)}.bcm-list:not(.disabled) .bcm-list__input:hover{border-color:var(--bcm-new-ds-color-blue-500)}.bcm-list:not(.disabled) .bcm-list__input:hover .bcm-tag__content.dismissable:not(.checked){background-color:var(--bcm-new-ds-color-slate-200);border-color:var(--bcm-new-ds-color-slate-200)}.bcm-list:not(.disabled) .bcm-list__input:focus-visible{border-color:var(--bcm-new-ds-color-blue-500);box-shadow:0 1px 3px 0 rgba(17, 24, 38, 0.1)}.bcm-list:not(.disabled) .bcm-list__input:active{border-color:var(--bcm-new-ds-color-blue-500)}.bcm-list__item{padding:2px 0}.bcm-list__item.disabled{user-select:none}.bcm-list__item:focus{outline:none}.bcm-list__item:focus-visible>.bcm-list__item-content{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-list__item:focus-visible>.bcm-list__item-content:not(.disabled){color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item-content{display:flex;flex-direction:row;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;cursor:pointer;border-radius:4px;padding:0;padding-left:4px;color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-50);transition:background-color 0.2s ease}.bcm-list__item-content.disabled{color:var(--bcm-new-ds-color-slate-300);background-color:var(--bcm-new-ds-color-slate-50);user-select:none;cursor:not-allowed}.bcm-list__item-content.selected{color:var(--bcm-new-ds-color-white);background-color:var(--bcm-new-ds-color-blue-500)}.bcm-list__item-content.selected:hover:not(.disabled){color:var(--bcm-new-ds-color-white);background-color:var(--bcm-new-ds-color-blue-600)}.bcm-list__item-content:hover:not(.disabled){color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-100)}.bcm-list__item-content:active:not(.disabled){color:var(--bcm-new-ds-color-slate-600);background-color:var(--bcm-new-ds-color-slate-200)}.bcm-list__item-content-collapse-icon{width:16px;padding:0 8px;display:flex;align-items:center;justify-content:center;font-size:16px}.bcm-list__item-content-collapse-icon.child{cursor:pointer}.bcm-list__item-content-text{user-select:none;padding:8px;width:100%;display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.bcm-list__item-content-text.treeview{padding:8px 0}.bcm-list__item-content-text-checkbox{display:flex;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;margin-right:8px}.bcm-list__item-content-text-checkbox .bcm-checkbox{margin:0}.bcm-list__item-content-text-inner{width:100%}.bcm-list__item-content-text mark{padding:0;margin:0;font-size:inherit;color:var(--bcm-color-grey-8);background-color:var(--bcm-color-yellow-4)}.bcm-list__item-childs{padding-left:16px}.bcm-list__item-small{padding:2px 0 2px 8px;font-size:10px;line-height:calc(10px + 8px)}.bcm-list__item-small .bcm-list__item-content-text{padding:3px 4px}.bcm-list__item-medium{font-size:12px;line-height:calc(12px + 8px)}.bcm-list__item-medium .bcm-list__item-content-text{padding:6px 4px}.bcm-list__item-large{font-size:14px;line-height:calc(14px + 8px)}.bcm-list__item-large .bcm-list__item-content-text{padding:9px 4px}.bcm-list__item--readonly:focus>.bcm-list__item-content:not(.disabled),.bcm-list__item--readonly.focused>.bcm-list__item-content:not(.disabled){color:var(--bcm-color-grey-7)}.bcm-list__item--readonly>.bcm-list__item-content{color:var(--bcm-color-grey-7)}.bcm-list__item--readonly>.bcm-list__item-content:hover,.bcm-list__item--readonly>.bcm-list__item-content:focus{color:var(--bcm-color-grey-7)}.bcm-list__item--group{border-radius:4px}.bcm-list__item--group:focus>.bcm-list__item-content:not(.disabled){background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item--group>.bcm-list__item-content{background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600);border-radius:4px 4px 0 0;cursor:default;font-size:14px;line-height:calc(14px + 8px);font-weight:500;position:sticky;top:0}.bcm-list__item--group>.bcm-list__item-content>.bcm-list__item-content-text{padding:4px 8px 4px 16px}.bcm-list__item--group>.bcm-list__item-content:hover,.bcm-list__item--group>.bcm-list__item-content:focus{color:var(--bcm-new-ds-color-slate-800);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list__item--group>.bcm-list__item-content-unclickable:hover{color:var(--bcm-new-ds-color-slate-700);background-color:var(--bcm-new-ds-color-slate-50)}.bcm-list__item--group>.bcm-list__item-childs{background-color:var(--bcm-new-ds-color-slate-50);color:var(--bcm-new-ds-color-slate-600);padding-bottom:8px;border-radius:0 0 4px 4px;padding-left:8px}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content{background-color:var(--bcm-new-ds-color-white);color:var(--bcm-new-ds-color-slate-600)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:hover{background-color:var(--bcm-new-ds-color-slate-100)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:active{background-color:var(--bcm-new-ds-color-slate-200)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content:focus-visible{background-color:var(--bcm-new-ds-color-slate-300)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected{background-color:var(--bcm-new-ds-color-blue-500);color:var(--bcm-new-ds-color-white)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected:hover{background-color:var(--bcm-new-ds-color-blue-600)}.bcm-list__item--group>.bcm-list__item-childs .bcm-list__item-content.selected:active{background-color:var(--bcm-new-ds-color-blue-700)}.bcm-list__linked{display:none}.bcm-list .bcm-tag--other .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcm-info-footer{text-align:right;padding:4px 8px;background-color:var(--bcm-new-ds-color-slate-100);color:var(--bcm-new-ds-color-slate-600);border-radius:0 0 4px 4px}';var se=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],le=void 0;function re(e,t){var i=e.prefixCls,c=e.invalidate,o=e.item,n=e.renderItem,s=e.responsive,l=e.responsiveDisabled,r=e.registerSize,a=e.itemKey,m=e.className,h=e.style,b=e.children,d=e.display,p=e.order,u=e.component,_=void 0===u?"div":u,x=ne(e,se),g=s&&!d;function f(e){r(a,e)}k.useEffect((function(){return function(){f(null)}}),[]);var w,z=n&&o!==le?n(o):b;c||(w={opacity:g?0:1,height:g?0:le,overflowY:g?"hidden":le,order:s?p:le,pointerEvents:g?"none":le,position:g?"absolute":le});var j={};g&&(j["aria-hidden"]=!0);var I=k.createElement(_,X({className:v(!c&&i,m),style:ie(ie({},w),h)},j,x,{ref:t}),z);return s&&(I=k.createElement(y,{onResize:function(e){f(e.offsetWidth)},disabled:l},I)),I}var ae=k.forwardRef(re);function me(e,t){var i=oe(k.useState(t),2),c=i[1];return[i[0],j((function(t){e((function(){c(t)}))}))]}ae.displayName="Item";var he=k.createContext(null),be=["component"],de=["className"],pe=["className"],ue=function(e,t){var i=k.useContext(he);if(!i){var c=e.component,o=void 0===c?"div":c,n=ne(e,be);return k.createElement(o,X({},n,{ref:t}))}var s=i.className,l=ne(i,de),r=e.className,a=ne(e,pe);return k.createElement(he.Provider,{value:null},k.createElement(ae,X({ref:t,className:v(s,r)},l,a)))},_e=k.forwardRef(ue);_e.displayName="RawItem";var xe=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ge="responsive",ve="invalidate";function fe(e){return"+ ".concat(e.length," ...")}function ke(e,t){var i,c=e.prefixCls,o=void 0===c?"rc-overflow":c,n=e.data,s=void 0===n?[]:n,l=e.renderItem,r=e.renderRawItem,a=e.itemKey,m=e.itemWidth,h=void 0===m?10:m,b=e.ssr,d=e.style,p=e.className,u=e.maxCount,_=e.renderRest,x=e.renderRawRest,g=e.suffix,f=e.component,j=void 0===f?"div":f,C=e.itemComponent,O=e.onVisibleChange,S=ne(e,xe),$="full"===b,E=(i=k.useRef(null),function(e){i.current||(i.current=[],function(e){if("undefined"==typeof MessageChannel)z(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){w.unstable_batchedUpdates((function(){i.current.forEach((function(e){e()})),i.current=null}))}))),i.current.push(e)}),T=oe(me(E,null),2),R=T[0],N=T[1],D=R||0,F=oe(me(E,new Map),2),P=F[0],A=F[1],L=oe(me(E,0),2),M=L[0],V=L[1],G=oe(me(E,0),2),B=G[0],H=G[1],W=oe(me(E,0),2),q=W[0],K=W[1],U=oe(k.useState(null),2),Y=U[0],J=U[1],Q=oe(k.useState(null),2),Z=Q[0],ee=Q[1],te=k.useMemo((function(){return null===Z&&$?Number.MAX_SAFE_INTEGER:Z||0}),[Z,R]),ce=oe(k.useState(!1),2),se=ce[0],le=ce[1],re="".concat(o,"-item"),be=Math.max(M,B),de=u===ge,pe=s.length&&de,ue=u===ve,_e=pe||"number"==typeof u&&s.length>u,ke=k.useMemo((function(){var e=s;return pe?e=null===R&&$?s:s.slice(0,Math.min(s.length,D/h)):"number"==typeof u&&(e=s.slice(0,u)),e}),[s,h,R,u,pe]),we=k.useMemo((function(){return s.slice(pe?te+1:ke.length)}),[s,ke,pe,te]),ye=k.useCallback((function(e,t){var i;return"function"==typeof a?a(e):null!==(i=a&&(null==e?void 0:e[a]))&&void 0!==i?i:t}),[a]),ze=k.useCallback(l||function(e){return e},[l]);function je(e,t,i){(Z!==e||void 0!==t&&t!==Y)&&(ee(e),i||(le(e<s.length-1),null==O||O(e)),void 0!==t&&J(t))}function Ie(e,t){A((function(i){var c=new Map(i);return null===t?c.delete(e):c.set(e,t),c}))}function Ce(e){return P.get(ye(ke[e],e))}I((function(){if(D&&"number"==typeof be&&ke){var e=q,t=ke.length,i=t-1;if(!t)return void je(0,null);for(var c=0;c<t;c+=1){var o=Ce(c);if($&&(o=o||0),void 0===o){je(c-1,void 0,!0);break}if(e+=o,0===i&&e<=D||c===i-1&&e+Ce(i)<=D){je(i,null);break}if(e+be>D){je(c-1,e-o-q+B);break}}g&&Ce(0)+q>D&&J(null)}}),[D,P,B,q,ye,ke]);var Oe=se&&!!we.length,Se={};null!==Y&&pe&&(Se={position:"absolute",left:Y,top:0});var $e,Ee={prefixCls:re,responsive:pe,component:C,invalidate:ue},Te=r?function(e,t){var i=ye(e,t);return k.createElement(he.Provider,{key:i,value:ie(ie({},Ee),{},{order:t,item:e,itemKey:i,registerSize:Ie,display:t<=te})},r(e,t))}:function(e,t){var i=ye(e,t);return k.createElement(ae,X({},Ee,{order:t,key:i,item:e,renderItem:ze,itemKey:i,registerSize:Ie,display:t<=te}))},Re={order:Oe?te:Number.MAX_SAFE_INTEGER,className:"".concat(re,"-rest"),registerSize:function(e,t){H(t),V(B)},display:Oe};if(x)x&&($e=k.createElement(he.Provider,{value:ie(ie({},Ee),Re)},x(we)));else{var Ne=_||fe;$e=k.createElement(ae,X({},Ee,Re),"function"==typeof Ne?Ne(we):Ne)}var De=k.createElement(j,X({className:v(!ue&&o,p),style:d,ref:t},S),ke.map(Te),_e?$e:null,g&&k.createElement(ae,X({},Ee,{responsive:de,responsiveDisabled:!pe,order:te,className:"".concat(re,"-suffix"),registerSize:function(e,t){K(t)},display:!0,style:Se}),g));return de&&(De=k.createElement(y,{onResize:function(e,t){N(t.clientWidth)},disabled:!pe},De)),De}var we=k.forwardRef(ke);we.displayName="Overflow",we.Item=_e,we.RESPONSIVE=ge,we.INVALIDATE=ve;const ye=class{constructor(e){t(this,e),this.selectOtherTag=i(this,"bcm-select-other-tag",7),this.selectTag=i(this,"bcm-select-tag",7),this.deleteTag=i(this,"bcm-delete-tag",7),this.renderItem=e=>k.createElement("bcm-tooltip",{placement:"bottom",message:e.text,trigger:"hover"},k.createElement("div",{id:e.value+"-tag",className:"bcm-tag",onClick:({target:t})=>this.onClickControl(t,e,!1)},k.createElement("span",{className:"bcm-tag__content dismissable"},k.createElement("div",{className:"value tw-block tw-max-w-[38px] tw-overflow-hidden tw-overflow-ellipsis tw-whitespace-nowrap"},e.text),k.createElement("span",{className:"right close-button"},k.createElement("bcm-icon",{icon:"fa fa-times"}))))),this.renderRest=e=>{const t=(null==e?void 0:e.sort(((e,t)=>+e.ct-+t.ct)).slice(0,15).map((e=>m.textLimitter(e.text,40,!0))).toString().split(",").join("\r\n"))+(e.length>15?"\r\n...":"");return k.createElement("bcm-tooltip",{placement:"bottom",message:t,trigger:"hover"},k.createElement("div",{className:"bcm-tag bcm-tag--other",onClick:({target:t})=>this.onClickControl(t,e,!0)},k.createElement("span",{className:"bcm-tag__content dismissable "+(this.checked?"checkable checked":"")},k.createElement("span",{className:"value"},`+${null==e?void 0:e.length}`),k.createElement("span",{className:"right close-button"},k.createElement("bcm-icon",{icon:"fa fa-times"})))))},this._id=l.UID(),this.maxCount=1,this.data=[],this.checked=!1}isClickDismiss(e){return"BCM-ICON"===e["s-hn"]}onClickControl(e,t,i=!1){const c=this.isClickDismiss(e);c&&this.deleteTag.emit({id:Array.isArray(t)?t.map((e=>e.value)):t.value})&&this.checked&&(this.checked=!1),!i&&this.selectTag.emit({id:t.value})&&this.checked&&(this.checked=!1),i&&!c&&(this.checked=!this.checked,this.selectOtherTag.emit({id:null==t?void 0:t.map((e=>e.value)),checked:this.checked}))}componentWillRender(){const{data:e,renderItem:t,renderRest:i,maxCount:c}=this;this.overflowInstance=k.createElement(we,{data:e,renderItem:t,renderRest:i,maxCount:c}),w.render(this.overflowInstance,this.el)}get el(){return o(this)}};ye.style='@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}.rc-overflow{display:flex;flex-direction:row;flex-wrap:nowrap;width:100%}.rc-overflow-item{transition:all 0.3s ease;padding:0 2px;display:flex;align-items:center;justify-content:center}';const{state:ze}=f({value:new Map}),je=(e,t)=>{let i=[];return e&&(i=e.map((e=>Object.assign(Object.assign(Object.assign({},e),{parentId:r((()=>t),null)}),e.items&&e.items.length>0&&{items:r((()=>je(e.items,e.id)),[])})))),i},Ie=e=>r((()=>ze.value.get(e)),{}),Ce=(e,t,i)=>{let c=[],o=[],n=[],s=[];const{searchIsOnlyChilds:l}=Ie(e);return t&&t.length>0&&t.forEach((t=>{let r=l&&null!==t.parentId;if((t.text&&m.slugify(t.text).includes(m.slugify(i))||t.keywords&&m.slugify(t.keywords).includes(m.slugify(i)))&&(!l||l&&r)){if(n.push(t.id),c.push(t.id),o.push(t.id),s.push({id:t.id,text:t.text,parentId:t.parentId}),t.items&&t.items.length>0){const o=Ce(e,t.items,i);o.matching.length>0&&o.matching.forEach((e=>{c.push(e)}))}}else if(t.items&&t.items.length>0){const l=Ce(e,t.items,i);l.result.length>0&&(l.result.forEach((e=>{n.push(e)})),n.push(t.id),o.push(t.id),s.push({id:t.id,text:t.text,parentId:t.parentId,items:l.nestedResult})),l.matching.length>0&&c.push(...l.matching)}})),{result:n,matching:c,parentIndex:o,nestedResult:s}},Oe=(e,t,i)=>{let c;c=i&&i.length>0?i:Ie(e).dataSource;let o=[];return c&&o.push(Ce(e,c,t)),{result:r((()=>l.flatArray(o[0].result)),[]),matching:r((()=>o[0].matching),[]),parentIndex:r((()=>o[0].parentIndex),[]),nestedResult:r((()=>o[0].nestedResult),[])}},Se=class{constructor(e){t(this,e),this.bcmOnSearch=i(this,"bcm-on-search",7),this.bcmOnSearchClear=i(this,"bcm-on-search-clear",7),this.debounceHandler=l.debounceInput((e=>this.onSearchValue(e,this)),300,!1,(()=>{var e,t;this.isActiveClearable=(null===(t=null===(e=this.inputElement)||void 0===e?void 0:e.value)||void 0===t?void 0:t.length)>0&&this.clearable})),this._id=l.UID(),this.placeholder="Search",this.disabled=!1,this.readonly=!1,this.clearable=!0,this.size=_.Size.medium,this.limit=10,this.searchIsOnlyChilds=!1,this.minSearchLength=2,this.data=[],this.tick={},this.isActiveClearable=!1}async componentDidLoad(){await this.initState()}async dataChanged(e,t){e!==t&&await this.initState()}async initState(){await(e=>{const{id:t,dataSource:i}=e,c={id:r((()=>t),l.UID),dataSource:i&&i.length>0&&je(i),searchIsOnlyChilds:e.searchIsOnlyChilds};ze.value.set(c.id,c)})({id:this._id+"-input",dataSource:this.data,searchIsOnlyChilds:this.searchIsOnlyChilds}),await this.markForCheck()}markForCheck(){this.tick=l.UID()}handleInput(){}async onBcmFocus(){this.inputElement.focus()}async onBcmBlur(){this.inputElement.blur()}async onBcmSelect(){this.inputElement.select()}async setValue(e){this.inputElement.value=e}handleFocus(){}handleBlur(){}handleChange(){}async handleClear(e=!0){this.inputElement.value="";const{value:t,id:i}=this.inputElement;return Oe(i,t),this.isActiveClearable=!1,this.bcmOnSearch.emit({result:null,value:null,matching:null,parentIndex:null}),this.bcmOnSearchClear.emit(e),await u(10),Promise.resolve()}onSearchValue(e,t){const{value:i,id:c}=e.target,o=(null==i?void 0:i.length)>=this.minSearchLength?Oe(c,i,null):null,{bcmOnSearch:n,inputElement:s}=t;n.emit({result:null==o?void 0:o.result,value:null==s?void 0:s.value,matching:null==o?void 0:o.matching,parentIndex:null==o?void 0:o.parentIndex,nestedResult:null==o?void 0:o.nestedResult})}render(){const{_id:t,placeholder:i,disabled:o,readonly:n}=this;return e(c,{onClick:()=>{this.onBcmFocus(),this.onBcmSelect()}},e(C,{size:this.size,id:t,type:"search",placeholder:i,disabled:o,"full-width":!0,readonly:n,clearable:this.isActiveClearable,handleFocus:()=>this.handleFocus(),handleBlur:()=>this.handleBlur(),handleChange:()=>this.handleChange(),handleClear:()=>this.handleClear(),handleInput:this.debounceHandler,ref:e=>this.inputElement=e}))}get el(){return o(this)}static get watchers(){return{data:["dataChanged"]}}};Se.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:"Inter", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:"Inter", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}';export{Q as bcm_list,ye as bcm_rc_overflow,Se as bcm_search}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import{r as t,c as e,h as i,H as o,g as r}from"./p-e037ee2b.js";import{G as n,s}from"./p-fe7e383d.js";import{a}from"./p-6369b73b.js";import{c as p}from"./p-bed627ab.js";import{S as c}from"./p-94554e42.js";import"./p-9f6bbc21.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";const l=class{constructor(i){t(this,i),this.bcmChange=e(this,"bcm-change",7),this._id=n.UID(),this.size=a.Size.medium,this.type="button",this.color=void 0,this.disabled=void 0,this.direction=a.Direction.horizontal}componentWillLoad(){const{size:t,color:e}=this,i=this.getButtons();(null==i?void 0:i.length)&&i.forEach((i=>{let o=c.elementBooleanCheck(this.el.getAttribute("disabled"))||i.getAttribute("disabled");e&&i.setAttribute("color",e),t&&i.setAttribute("size",t),o&&(i.disabled=!0)}))}getButtons(){return s((()=>Array.from(this.el.querySelectorAll("bcm-button"))),[])}radioControl(t){const e=this.getButtons();(null==e?void 0:e.length)&&e.forEach((e=>{e.checked=e.id==t}))}checkboxControl(t){const e=this.getButtons();(null==e?void 0:e.length)&&e.forEach((e=>{e.checked=e.id==t?e.checked=!e.checked:e.checked}))}listenButton({target:t}){if(t.id){switch(this.type){case"radio":this.radioControl(t.id);break;case"checkbox":this.checkboxControl(t.id)}this.handleChange()}}handleChange(){const t=this.getButtons().filter(Boolean).map((t=>({id:t.id,checked:t.checked})));this.bcmChange.emit(t)}render(){const t=p("bcm-button-group",{"bcm-button-group__vertical":this.direction===a.Direction.vertical});return i(o,{class:t},i("slot",null))}get el(){return r(this)}};l.style='@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-button-group{font-family:"Inter", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap;width:fit-content;background-color:var(--bcm-new-ds-color-slate-300);border:1px solid var(--bcm-new-ds-color-slate-300);gap:1px;border-radius:4px}.bcm-button-group .bcm-button__container{border-radius:0;border:none}.bcm-button-group .bcm-button:first-child .bcm-button__container{border-top-left-radius:4px;border-bottom-left-radius:4px}.bcm-button-group .bcm-button:last-child .bcm-button__container{border-top-right-radius:4px;border-bottom-right-radius:4px}.bcm-button-group__vertical{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex-wrap:nowrap}.bcm-button-group__vertical .bcm-button{width:100%}.bcm-button-group__vertical .bcm-button__container{width:100%;border-radius:0}.bcm-button-group__vertical .bcm-button:first-child .bcm-button__container{border-radius:4px 4px 0 0}.bcm-button-group__vertical .bcm-button:last-child .bcm-button__container{border-radius:0 0 4px 4px}';export{l as bcm_button_group}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{r as t,h as e,H as i,g as s}from"./p-e037ee2b.js";import{c as a}from"./p-bed627ab.js";import{I as h}from"./p-8e5e362a.js";import{D as n}from"./p-626a65e9.js";import{G as p}from"./p-c926e138.js";import{B as r}from"./p-6369b73b.js";import{d as l}from"./p-3c7a0345.js";import"./p-e45c1546.js";import"./p-4a540b56.js";import"./p-034bbcdd.js";const o=class{constructor(e){t(this,e),this._id=p.UID(),this.date=new Date,this.value=void 0,this.endDate=null,this.range=!1,this.hidden=!1,this.name=void 0,this.fullWidth=!1,this.required=!1,this.label=void 0,this.placeholder=void 0,this.disabledDates="",this.disabled=!1,this.noMargin=!1,this.noCaption=!1,this.caption="",this.captionError=void 0,this.captionType="default",this.alignment=void 0,this._internal_id=(4*Math.random()).toString(16).replace(".",""),this.placement=r.Placement["bottom-start"],this.linkedComponent=void 0,this.clearable=!1,this.stateStartDate=null,this.stateEndDate=null}handleStartDateChange(){this.handleDate()}handleEndDateChange(){this.handleDate()}handlePickerLoad(){this.value=this.picker.value}handlePickerChange(t){this.value=t.detail}async set(t){return this.picker.set(t)}async get(){var t;return(null===(t=this.value)||void 0===t?void 0:t.timestamp)||null}async setDisabled(t){this.disabled=t}async setClear(){return await this.picker.setClear(),await l(10),Promise.resolve()}async setStartDate(t){t?(t=n.convertTimeStampToDate(new Date(t).getTime()),this.stateStartDate=t):this.setClear()}async setEndDate(t){t?(t=n.convertTimeStampToDate(new Date(t).getTime()),this.stateEndDate=t):this.setClear()}handleDate(){this.range?this.stateStartDate&&this.stateEndDate&&this.set(this.stateStartDate+"-"+this.stateEndDate):this.set(this.stateStartDate)}async getInput(){return await this.picker.getInput()}async open(){return await this.picker.open()}async getValue(){return this.value}async isValid(){return await this.picker.isValid()}async resetCaption(){return await l(10),await this.picker.resetCaption(),this.captionType="default",this.captionError=null,await l(10),Promise.resolve()}render(){const t=a(this.hidden?"hidden":null,{"full-width":this.fullWidth,"linked-component":this.linkedComponent});return e(i,{class:t},e("bcm-datetime-picker",{"linked-component":this.linkedComponent,id:this._id,name:this.name,type:this.range?"range":"date",date:this.date,placeholder:this.placeholder,fullWidth:this.fullWidth,ref:t=>this.picker=t,required:this.required,clearable:this.clearable,label:this.label,"end-date":this.endDate,disabled:this.disabled,disabledDates:this.disabledDates,"on-bcm-load":()=>this.handlePickerLoad(),"on-bcm-change":t=>this.handlePickerChange(t),noCaption:this.noCaption,caption:this.caption,captionError:this.captionError,captionType:this.captionType,alignment:this.alignment,placement:this.placement,noMargin:this.noMargin}))}get el(){return s(this)}static get watchers(){return{stateStartDate:["handleStartDateChange"],stateEndDate:["handleEndDateChange"]}}};(function(t,e,i,s){var a,h=arguments.length,n=h<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var p=t.length-1;p>=0;p--)(a=t[p])&&(n=(h<3?a(n):h>3?a(e,i,n):a(e,i))||n);h>3&&n&&Object.defineProperty(e,i,n)})([h()],o.prototype,"el",void 0),o.style='@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-flex;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}';export{o as bcm_date_picker}
5
+ import{r as t,h as e,H as i,g as s}from"./p-e037ee2b.js";import{c as a}from"./p-bed627ab.js";import{I as h}from"./p-8e5e362a.js";import{D as n}from"./p-626a65e9.js";import{G as p}from"./p-fe7e383d.js";import{a as r}from"./p-6369b73b.js";import{d as l}from"./p-3c7a0345.js";import"./p-e45c1546.js";import"./p-9f6bbc21.js";import"./p-034bbcdd.js";const o=class{constructor(e){t(this,e),this._id=p.UID(),this.date=new Date,this.value=void 0,this.endDate=null,this.range=!1,this.hidden=!1,this.name=void 0,this.fullWidth=!1,this.required=!1,this.label=void 0,this.placeholder=void 0,this.disabledDates="",this.disabled=!1,this.noMargin=!1,this.noCaption=!1,this.caption="",this.captionError=void 0,this.captionType="default",this.alignment=void 0,this._internal_id=(4*Math.random()).toString(16).replace(".",""),this.placement=r.Placement["bottom-start"],this.linkedComponent=void 0,this.clearable=!1,this.stateStartDate=null,this.stateEndDate=null}handleStartDateChange(){this.handleDate()}handleEndDateChange(){this.handleDate()}handlePickerLoad(){this.value=this.picker.value}handlePickerChange(t){this.value=t.detail}async set(t){return this.picker.set(t)}async get(){var t;return(null===(t=this.value)||void 0===t?void 0:t.timestamp)||null}async setDisabled(t){this.disabled=t}async setClear(){return await this.picker.setClear(),await l(10),Promise.resolve()}async setStartDate(t){t?(t=n.convertTimeStampToDate(new Date(t).getTime()),this.stateStartDate=t):this.setClear()}async setEndDate(t){t?(t=n.convertTimeStampToDate(new Date(t).getTime()),this.stateEndDate=t):this.setClear()}handleDate(){this.range?this.stateStartDate&&this.stateEndDate&&this.set(this.stateStartDate+"-"+this.stateEndDate):this.set(this.stateStartDate)}async getInput(){return await this.picker.getInput()}async open(){return await this.picker.open()}async getValue(){return this.value}async isValid(){return await this.picker.isValid()}async resetCaption(){return await l(10),await this.picker.resetCaption(),this.captionType="default",this.captionError=null,await l(10),Promise.resolve()}render(){const t=a(this.hidden?"hidden":null,{"full-width":this.fullWidth,"linked-component":this.linkedComponent});return e(i,{class:t},e("bcm-datetime-picker",{"linked-component":this.linkedComponent,id:this._id,name:this.name,type:this.range?"range":"date",date:this.date,placeholder:this.placeholder,fullWidth:this.fullWidth,ref:t=>this.picker=t,required:this.required,clearable:this.clearable,label:this.label,"end-date":this.endDate,disabled:this.disabled,disabledDates:this.disabledDates,"on-bcm-load":()=>this.handlePickerLoad(),"on-bcm-change":t=>this.handlePickerChange(t),noCaption:this.noCaption,caption:this.caption,captionError:this.captionError,captionType:this.captionType,alignment:this.alignment,placement:this.placement,noMargin:this.noMargin}))}get el(){return s(this)}static get watchers(){return{stateStartDate:["handleStartDateChange"],stateEndDate:["handleEndDateChange"]}}};(function(t,e,i,s){var a,h=arguments.length,n=h<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var p=t.length-1;p>=0;p--)(a=t[p])&&(n=(h<3?a(n):h>3?a(e,i,n):a(e,i))||n);h>3&&n&&Object.defineProperty(e,i,n)})([h()],o.prototype,"el",void 0),o.style='@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-flex;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}';export{o as bcm_date_picker}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import{r as t,h as i,H as s,g as e,c as o}from"./p-e037ee2b.js";import{I as h}from"./p-8e5e362a.js";import{G as r}from"./p-fe7e383d.js";import{a as p,B as a}from"./p-6369b73b.js";import{L as l}from"./p-5436ddd6.js";import"./p-4798d827.js";import"./p-626a65e9.js";import"./p-bcd599fd.js";import"./p-94554e42.js";import"./p-18665a1b.js";import{T as c}from"./p-26ea59e8.js";import"./p-5ae0a59b.js";import"./p-9f6bbc21.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-bed627ab.js";import"./p-436364c8.js";import"./p-3c7a0345.js";import"./p-518b9b80.js";const m=class{constructor(i){t(this,i),this._id=r.UID(),this.required=!1,this.value=void 0,this.label=void 0,this.size="medium",this.form=void 0,this.htmlFor=void 0,this.hidden=!1,this.type=p.Status.default,this.tooltip=void 0}render(){const{required:t,value:e,label:o,size:h,form:r,htmlFor:p,type:a,tooltip:c}=this;return i(s,{class:"tw-inline-block tw-leading-none"},i(l,{form:r,htmlFor:p,value:e||o,size:h,type:a,required:t,tooltip:c}))}get el(){return e(this)}};!function(t,i,s,e){var o,h=arguments.length,r=h<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,s,e);else for(var p=t.length-1;p>=0;p--)(o=t[p])&&(r=(h<3?o(r):h>3?o(i,s,r):o(i,s))||r);h>3&&r&&Object.defineProperty(i,s,r)}([h()],m.prototype,"el",void 0);const n=class{constructor(i){t(this,i),this.bcmTooltipShow=o(this,"bcmTooltipShow",7),this.bcmTooltipHide=o(this,"bcmTooltipHide",7),this._id=r.UID(),this.message="",this.placement=a.Placement.top,this.trigger=a.TriggerType.click,this.open=!1,this.color="slate",this.size=a.Size.medium,this.openDelay=0,this.closeDelay=0,this.autoHide=!1,this.targetId=void 0,this.tooltip=void 0}emitShow(){this.bcmTooltipShow.emit()}emitHide(){this.bcmTooltipHide.emit()}connectedCallback(){this.tooltip=new c({targetId:this.targetId||this._id,message:this.message,placement:this.placement,color:this.color,trigger:this.trigger,size:this.size,openDelay:this.openDelay,closeDelay:this.closeDelay,autoHide:this.autoHide,emitShow:()=>this.emitShow(),emitHide:()=>this.emitHide()})}componentDidLoad(){this.tooltip.listener()}componentDidRender(){this.tooltip.message=this.message,this.tooltip.placement=this.placement,this.tooltip.color=this.color,this.tooltip.trigger=this.trigger,this.tooltip.size=this.size,this.tooltip.openDelay=this.openDelay,this.tooltip.closeDelay=this.closeDelay,this.tooltip.autoHide=this.autoHide,this.tooltip.update()}disconnectedCallback(){this.tooltip.destroy()}async show(){this.tooltip.show()}async hide(){this.tooltip.hide()}async toggle(){this.tooltip.toggle()}render(){return i(s,{class:"tw-inline-flex tw-h-fit tw-w-fit",role:"tooltip","aria-hidden":"true"},i("slot",null))}get el(){return e(this)}};export{m as bcm_label,n as bcm_tooltip}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- var e;!function(e){var a,l,r,t,o,n,i,s,b,u,g,d,c,m,p,w,h,f,y,k,v,P;(a=e.HtmlElementType||(e.HtmlElementType={})).div="div",a.span="span",a.button="button",a.a="a",a.input="input",a.textarea="textarea",a.select="select",a.option="option",a.img="img",a.table="table",a.tr="tr",a.td="td",a.th="th",a.tbody="tbody",a.thead="thead",a.tfoot="tfoot",a.ul="ul",a.li="li",a.form="form",a.label="label",a.main="main",a.header="header",a.footer="footer",a.section="section",a.article="article",a.nav="nav",a.aside="aside",(l=e.Status||(e.Status={})).info="info",l.error="error",l.warning="warning",l.success="success",l.default="default",(r=e.Shape||(e.Shape={})).ellipse="ellipse",r.square="square",(t=e.Direction||(e.Direction={})).horizontal="horizontal",t.vertical="vertical",(o=e.PreDefinedIconSize||(e.PreDefinedIconSize={}))[o.large=48]="large",o[o.medium=24]="medium",o[o.default=16]="default",o[o.small=12]="small",o[o.xsmall=8]="xsmall",(n=e.BaseSize||(e.BaseSize={})).small="small",n.medium="medium",n.large="large",(i=e.Size||(e.Size={})).small="small",i.medium="medium",i.large="large",i.xsmall="xsmall",i.xlarge="xlarge",i.xxlarge="xxlarge",i.xxxlarge="xxxlarge",(s=e.Kind||(e.Kind={})).solid="solid",s.ghost="ghost",s.link="link",s["ghost-link"]="ghost-link",(b=e.ButtonType||(e.ButtonType={})).button="button",b.reset="reset",b.submit="submit",(u=e.IconPosition||(e.IconPosition={})).prefix="prefix",u.suffix="suffix",(g=e.TagType||(e.TagType={})).basic="basic",g.add="add",g.checkable="checkable",g.dismissable="dismissable",(d=e.FontSize||(e.FontSize={}))["size-1"]="size-1",d["size-2"]="size-2",d["size-3"]="size-3",d["size-4"]="size-4",d["size-5"]="size-5",d["size-6"]="size-6",d["size-7"]="size-7",d["size-8"]="size-8",d["size-9"]="size-9",(c=e.FontSizeValue||(e.FontSizeValue={}))[c["size-1"]=12]="size-1",c[c["size-2"]=14]="size-2",c[c["size-3"]=16]="size-3",c[c["size-4"]=20]="size-4",c[c["size-5"]=24]="size-5",c[c["size-6"]=30]="size-6",c[c["size-7"]=38]="size-7",c[c["size-8"]=46]="size-8",c[c["size-9"]=56]="size-9",(m=e.FontWeight||(e.FontWeight={})).thin="thin",m.light="light",m.regular="regular",m.medium="medium",m.bold="bold",m.black="black",(p=e.ColorPalette||(e.ColorPalette={})).default="default",p.black="black",p.white="white",p["prime-blue"]="prime-blue",p["prime-blue-1"]="prime-blue-1",p["prime-blue-2"]="prime-blue-2",p["prime-blue-3"]="prime-blue-3",p["prime-blue-4"]="prime-blue-4",p["prime-blue-5"]="prime-blue-5",p["prime-blue-6"]="prime-blue-6",p["prime-blue-7"]="prime-blue-7",p["prime-blue-8"]="prime-blue-8",p["prime-blue-9"]="prime-blue-9",p["prime-blue-10"]="prime-blue-10",p.grey="grey",p["grey-1"]="grey-1",p["grey-2"]="grey-2",p["grey-3"]="grey-3",p["grey-4"]="grey-4",p["grey-5"]="grey-5",p["grey-6"]="grey-6",p["grey-7"]="grey-7",p["grey-8"]="grey-8",p["grey-9"]="grey-9",p["grey-10"]="grey-10",p.blue="blue",p["blue-1"]="blue-1",p["blue-2"]="blue-2",p["blue-3"]="blue-3",p["blue-4"]="blue-4",p["blue-5"]="blue-5",p["blue-6"]="blue-6",p["blue-7"]="blue-7",p["blue-8"]="blue-8",p["blue-9"]="blue-9",p["blue-10"]="blue-10",p.warmyellow="warmyellow",p["warmyellow-1"]="warmyellow-1",p["warmyellow-2"]="warmyellow-2",p["warmyellow-3"]="warmyellow-3",p["warmyellow-4"]="warmyellow-4",p["warmyellow-5"]="warmyellow-5",p["warmyellow-6"]="warmyellow-6",p["warmyellow-7"]="warmyellow-7",p["warmyellow-8"]="warmyellow-8",p["warmyellow-9"]="warmyellow-9",p["warmyellow-10"]="warmyellow-10",p.yellow="yellow",p["yellow-1"]="yellow-1",p["yellow-2"]="yellow-2",p["yellow-3"]="yellow-3",p["yellow-4"]="yellow-4",p["yellow-5"]="yellow-5",p["yellow-6"]="yellow-6",p["yellow-7"]="yellow-7",p["yellow-8"]="yellow-8",p["yellow-9"]="yellow-9",p["yellow-10"]="yellow-10",p.limegreen="limegreen",p["limegreen-1"]="limegreen-1",p["limegreen-2"]="limegreen-2",p["limegreen-3"]="limegreen-3",p["limegreen-4"]="limegreen-4",p["limegreen-5"]="limegreen-5",p["limegreen-6"]="limegreen-6",p["limegreen-7"]="limegreen-7",p["limegreen-8"]="limegreen-8",p["limegreen-9"]="limegreen-9",p["limegreen-10"]="limegreen-10",p.red="red",p["red-1"]="red-1",p["red-2"]="red-2",p["red-3"]="red-3",p["red-4"]="red-4",p["red-5"]="red-5",p["red-6"]="red-6",p["red-7"]="red-7",p["red-8"]="red-8",p["red-9"]="red-9",p["red-10"]="red-10",p.darkorange="darkorange",p["darkorange-1"]="darkorange-1",p["darkorange-2"]="darkorange-2",p["darkorange-3"]="darkorange-3",p["darkorange-4"]="darkorange-4",p["darkorange-5"]="darkorange-5",p["darkorange-6"]="darkorange-6",p["darkorange-7"]="darkorange-7",p["darkorange-8"]="darkorange-8",p["darkorange-9"]="darkorange-9",p["darkorange-10"]="darkorange-10",p.orange="orange",p["orange-1"]="orange-1",p["orange-2"]="orange-2",p["orange-3"]="orange-3",p["orange-4"]="orange-4",p["orange-5"]="orange-5",p["orange-6"]="orange-6",p["orange-7"]="orange-7",p["orange-8"]="orange-8",p["orange-9"]="orange-9",p["orange-10"]="orange-10",p.green="green",p["green-1"]="green-1",p["green-2"]="green-2",p["green-3"]="green-3",p["green-4"]="green-4",p["green-5"]="green-5",p["green-6"]="green-6",p["green-7"]="green-7",p["green-8"]="green-8",p["green-9"]="green-9",p["green-10"]="green-10",p.turquosie="turquosie",p["turquosie-1"]="turquosie-1",p["turquosie-2"]="turquosie-2",p["turquosie-3"]="turquosie-3",p["turquosie-4"]="turquosie-4",p["turquosie-5"]="turquosie-5",p["turquosie-6"]="turquosie-6",p["turquosie-7"]="turquosie-7",p["turquosie-8"]="turquosie-8",p["turquosie-9"]="turquosie-9",p["turquosie-10"]="turquosie-10",p.cobaltblue="cobaltblue",p["cobaltblue-1"]="cobaltblue-1",p["cobaltblue-2"]="cobaltblue-2",p["cobaltblue-3"]="cobaltblue-3",p["cobaltblue-4"]="cobaltblue-4",p["cobaltblue-5"]="cobaltblue-5",p["cobaltblue-6"]="cobaltblue-6",p["cobaltblue-7"]="cobaltblue-7",p["cobaltblue-8"]="cobaltblue-8",p["cobaltblue-9"]="cobaltblue-9",p["cobaltblue-10"]="cobaltblue-10",p.magenta="magenta",p["magenta-1"]="magenta-1",p["magenta-2"]="magenta-2",p["magenta-3"]="magenta-3",p["magenta-4"]="magenta-4",p["magenta-5"]="magenta-5",p["magenta-6"]="magenta-6",p["magenta-7"]="magenta-7",p["magenta-8"]="magenta-8",p["magenta-9"]="magenta-9",p["magenta-10"]="magenta-10",p.purple="purple",p["purple-1"]="purple-1",p["purple-2"]="purple-2",p["purple-3"]="purple-3",p["purple-4"]="purple-4",p["purple-5"]="purple-5",p["purple-6"]="purple-6",p["purple-7"]="purple-7",p["purple-8"]="purple-8",p["purple-9"]="purple-9",p["purple-10"]="purple-10",p["bc-red"]="bc-red",p["bc-red-1"]="bc-red-1",p["bc-red-2"]="bc-red-2",p["bc-red-3"]="bc-red-3",p["bc-red-4"]="bc-red-4",p["bc-red-5"]="bc-red-5",p["bc-red-6"]="bc-red-6",p["bc-red-7"]="bc-red-7",p["bc-red-8"]="bc-red-8",p["bc-red-9"]="bc-red-9",p["bc-blue"]="bc-blue",p["bc-blue-1"]="bc-blue-1",p["bc-blue-2"]="bc-blue-2",p["bc-blue-3"]="bc-blue-3",p["bc-blue-4"]="bc-blue-4",p["bc-blue-5"]="bc-blue-5",p["bc-blue-6"]="bc-blue-6",p["bc-blue-7"]="bc-blue-7",p["bc-blue-8"]="bc-blue-8",p["bc-blue-9"]="bc-blue-9",p["bc-green"]="bc-green",p["bc-green-1"]="bc-green-1",p["bc-green-2"]="bc-green-2",p["bc-green-3"]="bc-green-3",p["bc-green-4"]="bc-green-4",p["bc-green-5"]="bc-green-5",p["bc-green-6"]="bc-green-6",p["bc-green-7"]="bc-green-7",p["bc-green-8"]="bc-green-8",p["bc-green-9"]="bc-green-9",p["bc-orange"]="bc-orange",p["bc-orange-1"]="bc-orange-1",p["bc-orange-2"]="bc-orange-2",p["bc-orange-3"]="bc-orange-3",p["bc-orange-4"]="bc-orange-4",p["bc-orange-5"]="bc-orange-5",p["bc-orange-6"]="bc-orange-6",p["bc-orange-7"]="bc-orange-7",p["bc-orange-8"]="bc-orange-8",p["bc-orange-9"]="bc-orange-9",(w=e.InputType||(e.InputType={})).text="text",w.number="number",w.email="email",w.password="password",w.url="url",w.search="search",w.tel="tel",w.hidden="hidden",w.color="color",(h=e.KeyCode||(e.KeyCode={}))[h.backspace=8]="backspace",h[h.tab=9]="tab",h[h.enter=13]="enter",h[h.shift=16]="shift",h[h.ctrl=17]="ctrl",h[h.alt=18]="alt",h[h.pause=19]="pause",h[h.capslock=20]="capslock",h[h.escape=27]="escape",h[h.space=32]="space",h[h.pageup=33]="pageup",h[h.pagedown=34]="pagedown",h[h.end=35]="end",h[h.home=36]="home",h[h.left=37]="left",h[h.up=38]="up",h[h.right=39]="right",h[h.down=40]="down",h[h.insert=45]="insert",h[h.delete=46]="delete",h[h.f1=112]="f1",h[h.f2=113]="f2",h[h.f3=114]="f3",h[h.f4=115]="f4",h[h.f5=116]="f5",h[h.f6=117]="f6",h[h.f7=118]="f7",h[h.f8=119]="f8",h[h.f9=120]="f9",h[h.f10=121]="f10",h[h.f11=122]="f11",h[h.f12=123]="f12",h[h.numlock=144]="numlock",h[h.scrolllock=145]="scrolllock",h[h.semicolon=186]="semicolon",h[h.equal=187]="equal",h[h.comma=188]="comma",h[h.dash=189]="dash",h[h.period=190]="period",h[h.slash=191]="slash",h[h.backslash=220]="backslash",h[h.bracketleft=219]="bracketleft",h[h.bracketright=221]="bracketright",h[h.quote=222]="quote",h[h.backtick=192]="backtick",h[h.a=65]="a",e.FormErrorMessages={email:"Please enter a valid email address.",password:"Please enter a valid password.",url:"Please enter a valid URL.",phone:"Please enter a valid phone number.",search:"Please enter a valid search term.",number:"Please enter a valid number.",text:"Please enter a valid text.",required:"This field is required.",minlength:"Must be at least {0} chars long.",maxlength:"Must be at most {0} chars long.",betweenlength:"Must be between {0} and {1} chars long.",min:"This field must be at least {0}.",max:"This field must be at most {0}.",between:"This field must be between {0} and {1}.",pattern:"Please use a valid format.",date:"Please enter a valid date.",time:"Please enter a valid time.",datetime:"Please enter a valid date and time.","datetime-local":"Please enter a valid date and time.",month:"Please enter a valid month.",week:"Please enter a valid week.",color:"Please enter a valid color.",file:"Please enter a valid file.",range:"Please enter a valid range.",radio:"Please select a valid option.",checkbox:"Please select a valid option.",select:"Please select a valid option.",multiple:"Please select a valid option."},(f=e.IndeterminateType||(e.IndeterminateType={})).uncheck="uncheck",f.indeterminate="indeterminate",f.determinate="determinate",(y=e.Placement||(e.Placement={})).top="top",y["top-start"]="top-start",y["top-end"]="top-end",y.bottom="bottom",y["bottom-start"]="bottom-start",y["bottom-end"]="bottom-end",y.left="left",y["left-start"]="left-start",y["left-end"]="left-end",y.right="right",y["right-start"]="right-start",y["right-end"]="right-end",(k=e.Position||(e.Position={})).top="top",k.bottom="bottom",k.left="left",k.right="right",(v=e.TriggerType||(e.TriggerType={})).hover="hover",v.click="click",v.focus="focus",v.custom="custom",(P=e.ListType||(e.ListType={})).listbox="listbox",P.select="select",P.autocomplete="autocomplete"}(e||(e={}));const a=e;export{a as B,e as a}
5
+ var e;!function(e){var a,l,r,t,o,n,i,s,b,u,g,d,c,m,p,w,h,f,y,k,v,P;(a=e.HtmlElementType||(e.HtmlElementType={})).div="div",a.span="span",a.button="button",a.a="a",a.input="input",a.textarea="textarea",a.select="select",a.option="option",a.img="img",a.table="table",a.tr="tr",a.td="td",a.th="th",a.tbody="tbody",a.thead="thead",a.tfoot="tfoot",a.ul="ul",a.li="li",a.form="form",a.label="label",a.main="main",a.header="header",a.footer="footer",a.section="section",a.article="article",a.nav="nav",a.aside="aside",(l=e.Status||(e.Status={})).info="info",l.error="error",l.warning="warning",l.success="success",l.default="default",(r=e.Shape||(e.Shape={})).ellipse="ellipse",r.square="square",(t=e.Direction||(e.Direction={})).horizontal="horizontal",t.vertical="vertical",(o=e.PreDefinedIconSize||(e.PreDefinedIconSize={}))[o.large=48]="large",o[o.medium=24]="medium",o[o.default=16]="default",o[o.small=12]="small",o[o.xsmall=8]="xsmall",(n=e.BaseSize||(e.BaseSize={})).small="small",n.medium="medium",n.large="large",(i=e.Size||(e.Size={})).small="small",i.medium="medium",i.large="large",i.xsmall="xsmall",i.xlarge="xlarge",i.xxlarge="xxlarge",i.xxxlarge="xxxlarge",(s=e.Kind||(e.Kind={})).solid="solid",s.ghost="ghost",s.link="link",s["ghost-link"]="ghost-link",(b=e.ButtonType||(e.ButtonType={})).button="button",b.reset="reset",b.submit="submit",(u=e.IconPosition||(e.IconPosition={})).prefix="prefix",u.suffix="suffix",(g=e.TagType||(e.TagType={})).basic="basic",g.add="add",g.checkable="checkable",g.dismissable="dismissable",(d=e.FontSize||(e.FontSize={}))["size-1"]="size-1",d["size-2"]="size-2",d["size-3"]="size-3",d["size-4"]="size-4",d["size-5"]="size-5",d["size-6"]="size-6",d["size-7"]="size-7",d["size-8"]="size-8",d["size-9"]="size-9",(c=e.FontSizeValue||(e.FontSizeValue={}))[c["size-1"]=12]="size-1",c[c["size-2"]=14]="size-2",c[c["size-3"]=16]="size-3",c[c["size-4"]=20]="size-4",c[c["size-5"]=24]="size-5",c[c["size-6"]=30]="size-6",c[c["size-7"]=38]="size-7",c[c["size-8"]=46]="size-8",c[c["size-9"]=56]="size-9",(m=e.FontWeight||(e.FontWeight={})).thin="thin",m.light="light",m.regular="regular",m.medium="medium",m.bold="bold",m.black="black",(p=e.ColorPalette||(e.ColorPalette={})).default="default",p.black="black",p.white="white",p["prime-blue"]="prime-blue",p["prime-blue-1"]="prime-blue-1",p["prime-blue-2"]="prime-blue-2",p["prime-blue-3"]="prime-blue-3",p["prime-blue-4"]="prime-blue-4",p["prime-blue-5"]="prime-blue-5",p["prime-blue-6"]="prime-blue-6",p["prime-blue-7"]="prime-blue-7",p["prime-blue-8"]="prime-blue-8",p["prime-blue-9"]="prime-blue-9",p["prime-blue-10"]="prime-blue-10",p.grey="grey",p["grey-1"]="grey-1",p["grey-2"]="grey-2",p["grey-3"]="grey-3",p["grey-4"]="grey-4",p["grey-5"]="grey-5",p["grey-6"]="grey-6",p["grey-7"]="grey-7",p["grey-8"]="grey-8",p["grey-9"]="grey-9",p["grey-10"]="grey-10",p.blue="blue",p["blue-1"]="blue-1",p["blue-2"]="blue-2",p["blue-3"]="blue-3",p["blue-4"]="blue-4",p["blue-5"]="blue-5",p["blue-6"]="blue-6",p["blue-7"]="blue-7",p["blue-8"]="blue-8",p["blue-9"]="blue-9",p["blue-10"]="blue-10",p.warmyellow="warmyellow",p["warmyellow-1"]="warmyellow-1",p["warmyellow-2"]="warmyellow-2",p["warmyellow-3"]="warmyellow-3",p["warmyellow-4"]="warmyellow-4",p["warmyellow-5"]="warmyellow-5",p["warmyellow-6"]="warmyellow-6",p["warmyellow-7"]="warmyellow-7",p["warmyellow-8"]="warmyellow-8",p["warmyellow-9"]="warmyellow-9",p["warmyellow-10"]="warmyellow-10",p.yellow="yellow",p["yellow-1"]="yellow-1",p["yellow-2"]="yellow-2",p["yellow-3"]="yellow-3",p["yellow-4"]="yellow-4",p["yellow-5"]="yellow-5",p["yellow-6"]="yellow-6",p["yellow-7"]="yellow-7",p["yellow-8"]="yellow-8",p["yellow-9"]="yellow-9",p["yellow-10"]="yellow-10",p.limegreen="limegreen",p["limegreen-1"]="limegreen-1",p["limegreen-2"]="limegreen-2",p["limegreen-3"]="limegreen-3",p["limegreen-4"]="limegreen-4",p["limegreen-5"]="limegreen-5",p["limegreen-6"]="limegreen-6",p["limegreen-7"]="limegreen-7",p["limegreen-8"]="limegreen-8",p["limegreen-9"]="limegreen-9",p["limegreen-10"]="limegreen-10",p.red="red",p["red-1"]="red-1",p["red-2"]="red-2",p["red-3"]="red-3",p["red-4"]="red-4",p["red-5"]="red-5",p["red-6"]="red-6",p["red-7"]="red-7",p["red-8"]="red-8",p["red-9"]="red-9",p["red-10"]="red-10",p.darkorange="darkorange",p["darkorange-1"]="darkorange-1",p["darkorange-2"]="darkorange-2",p["darkorange-3"]="darkorange-3",p["darkorange-4"]="darkorange-4",p["darkorange-5"]="darkorange-5",p["darkorange-6"]="darkorange-6",p["darkorange-7"]="darkorange-7",p["darkorange-8"]="darkorange-8",p["darkorange-9"]="darkorange-9",p["darkorange-10"]="darkorange-10",p.orange="orange",p["orange-1"]="orange-1",p["orange-2"]="orange-2",p["orange-3"]="orange-3",p["orange-4"]="orange-4",p["orange-5"]="orange-5",p["orange-6"]="orange-6",p["orange-7"]="orange-7",p["orange-8"]="orange-8",p["orange-9"]="orange-9",p["orange-10"]="orange-10",p.green="green",p["green-1"]="green-1",p["green-2"]="green-2",p["green-3"]="green-3",p["green-4"]="green-4",p["green-5"]="green-5",p["green-6"]="green-6",p["green-7"]="green-7",p["green-8"]="green-8",p["green-9"]="green-9",p["green-10"]="green-10",p.turquosie="turquosie",p["turquosie-1"]="turquosie-1",p["turquosie-2"]="turquosie-2",p["turquosie-3"]="turquosie-3",p["turquosie-4"]="turquosie-4",p["turquosie-5"]="turquosie-5",p["turquosie-6"]="turquosie-6",p["turquosie-7"]="turquosie-7",p["turquosie-8"]="turquosie-8",p["turquosie-9"]="turquosie-9",p["turquosie-10"]="turquosie-10",p.cobaltblue="cobaltblue",p["cobaltblue-1"]="cobaltblue-1",p["cobaltblue-2"]="cobaltblue-2",p["cobaltblue-3"]="cobaltblue-3",p["cobaltblue-4"]="cobaltblue-4",p["cobaltblue-5"]="cobaltblue-5",p["cobaltblue-6"]="cobaltblue-6",p["cobaltblue-7"]="cobaltblue-7",p["cobaltblue-8"]="cobaltblue-8",p["cobaltblue-9"]="cobaltblue-9",p["cobaltblue-10"]="cobaltblue-10",p.magenta="magenta",p["magenta-1"]="magenta-1",p["magenta-2"]="magenta-2",p["magenta-3"]="magenta-3",p["magenta-4"]="magenta-4",p["magenta-5"]="magenta-5",p["magenta-6"]="magenta-6",p["magenta-7"]="magenta-7",p["magenta-8"]="magenta-8",p["magenta-9"]="magenta-9",p["magenta-10"]="magenta-10",p.purple="purple",p["purple-1"]="purple-1",p["purple-2"]="purple-2",p["purple-3"]="purple-3",p["purple-4"]="purple-4",p["purple-5"]="purple-5",p["purple-6"]="purple-6",p["purple-7"]="purple-7",p["purple-8"]="purple-8",p["purple-9"]="purple-9",p["purple-10"]="purple-10",p["bc-red"]="bc-red",p["bc-red-1"]="bc-red-1",p["bc-red-2"]="bc-red-2",p["bc-red-3"]="bc-red-3",p["bc-red-4"]="bc-red-4",p["bc-red-5"]="bc-red-5",p["bc-red-6"]="bc-red-6",p["bc-red-7"]="bc-red-7",p["bc-red-8"]="bc-red-8",p["bc-red-9"]="bc-red-9",p["bc-blue"]="bc-blue",p["bc-blue-1"]="bc-blue-1",p["bc-blue-2"]="bc-blue-2",p["bc-blue-3"]="bc-blue-3",p["bc-blue-4"]="bc-blue-4",p["bc-blue-5"]="bc-blue-5",p["bc-blue-6"]="bc-blue-6",p["bc-blue-7"]="bc-blue-7",p["bc-blue-8"]="bc-blue-8",p["bc-blue-9"]="bc-blue-9",p["bc-green"]="bc-green",p["bc-green-1"]="bc-green-1",p["bc-green-2"]="bc-green-2",p["bc-green-3"]="bc-green-3",p["bc-green-4"]="bc-green-4",p["bc-green-5"]="bc-green-5",p["bc-green-6"]="bc-green-6",p["bc-green-7"]="bc-green-7",p["bc-green-8"]="bc-green-8",p["bc-green-9"]="bc-green-9",p["bc-orange"]="bc-orange",p["bc-orange-1"]="bc-orange-1",p["bc-orange-2"]="bc-orange-2",p["bc-orange-3"]="bc-orange-3",p["bc-orange-4"]="bc-orange-4",p["bc-orange-5"]="bc-orange-5",p["bc-orange-6"]="bc-orange-6",p["bc-orange-7"]="bc-orange-7",p["bc-orange-8"]="bc-orange-8",p["bc-orange-9"]="bc-orange-9",(w=e.InputType||(e.InputType={})).text="text",w.number="number",w.email="email",w.password="password",w.url="url",w.search="search",w.tel="tel",w.hidden="hidden",w.color="color",(h=e.KeyCode||(e.KeyCode={}))[h.backspace=8]="backspace",h[h.tab=9]="tab",h[h.enter=13]="enter",h[h.shift=16]="shift",h[h.ctrl=17]="ctrl",h[h.alt=18]="alt",h[h.pause=19]="pause",h[h.capslock=20]="capslock",h[h.escape=27]="escape",h[h.space=32]="space",h[h.pageup=33]="pageup",h[h.pagedown=34]="pagedown",h[h.end=35]="end",h[h.home=36]="home",h[h.left=37]="left",h[h.up=38]="up",h[h.right=39]="right",h[h.down=40]="down",h[h.insert=45]="insert",h[h.delete=46]="delete",h[h.f1=112]="f1",h[h.f2=113]="f2",h[h.f3=114]="f3",h[h.f4=115]="f4",h[h.f5=116]="f5",h[h.f6=117]="f6",h[h.f7=118]="f7",h[h.f8=119]="f8",h[h.f9=120]="f9",h[h.f10=121]="f10",h[h.f11=122]="f11",h[h.f12=123]="f12",h[h.numlock=144]="numlock",h[h.scrolllock=145]="scrolllock",h[h.semicolon=186]="semicolon",h[h.equal=187]="equal",h[h.comma=188]="comma",h[h.dash=189]="dash",h[h.period=190]="period",h[h.slash=191]="slash",h[h.backslash=220]="backslash",h[h.bracketleft=219]="bracketleft",h[h.bracketright=221]="bracketright",h[h.quote=222]="quote",h[h.backtick=192]="backtick",h[h.a=65]="a",e.FormErrorMessages={email:"Please enter a valid email address.",password:"Please enter a valid password.",url:"Please enter a valid URL.",phone:"Please enter a valid phone number.",search:"Please enter a valid search term.",number:"Please enter a valid number.",text:"Please enter a valid text.",required:"This field is required.",minlength:"Must be at least {0} chars long.",maxlength:"Must be at most {0} chars long.",betweenlength:"Must be between {0} and {1} chars long.",min:"This field must be at least {0}.",max:"This field must be at most {0}.",between:"This field must be between {0} and {1}.",pattern:"Please use a valid format.",date:"Please enter a valid date.",time:"Please enter a valid time.",datetime:"Please enter a valid date and time.","datetime-local":"Please enter a valid date and time.",month:"Please enter a valid month.",week:"Please enter a valid week.",color:"Please enter a valid color.",file:"Please enter a valid file.",range:"Please enter a valid range.",radio:"Please select a valid option.",checkbox:"Please select a valid option.",select:"Please select a valid option.",multiple:"Please select a valid option."},(f=e.IndeterminateType||(e.IndeterminateType={})).uncheck="uncheck",f.indeterminate="indeterminate",f.determinate="determinate",(y=e.Placement||(e.Placement={})).top="top",y["top-start"]="top-start",y["top-end"]="top-end",y.bottom="bottom",y["bottom-start"]="bottom-start",y["bottom-end"]="bottom-end",y.left="left",y["left-start"]="left-start",y["left-end"]="left-end",y.right="right",y["right-start"]="right-start",y["right-end"]="right-end",(k=e.Position||(e.Position={})).top="top",k.bottom="bottom",k.left="left",k.right="right",(v=e.TriggerType||(e.TriggerType={})).hover="hover",v.click="click",v.focus="focus",v.custom="custom",(P=e.ListType||(e.ListType={})).listbox="listbox",P.select="select",P.autocomplete="autocomplete"}(e||(e={}));const a=e;export{e as B,a}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import{r as i,h as e,H as t,g as n}from"./p-e037ee2b.js";import{c as s}from"./p-bed627ab.js";import{a}from"./p-6369b73b.js";import"./p-e45c1546.js";const o=class{constructor(e){i(this,e),this.hidden=!1,this.href=void 0,this.target=void 0,this.icon=void 0,this.disabled=!1,this.iconPosition=a.IconPosition.prefix}handleOnClick(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}linkIsExternal(i){return i&&!(!i.startsWith("http")&&!i.startsWith("//"))}render(){const{href:i,icon:n,hidden:o,target:l,iconPosition:r,disabled:p}=this,c=s("bcm-link",{disabled:p,hidden:o}),h=s("bcm-link__anchor",r,{suffix:this.linkIsExternal(i)});return e(t,{disabled:p,class:c},e(i?"a":"span",{class:h,href:i,target:this.linkIsExternal(i)?"_blank":l},n&&r===a.IconPosition.prefix&&e("bcm-icon",{class:"prefix-icon",icon:n}),e("slot",null),this.linkIsExternal(i)&&e("bcm-icon",{class:"suffix-icon",icon:"far fa-external-link-alt"})))}get el(){return n(this)}};o.style='@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)}';export{o as bcm_link}