bromcom-ui 2.8.1-rc.0 → 2.8.1-rc.10-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 (273) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/{p-2a93a5a2.entry.js → p-02a232a6.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-afc59b65.entry.js → p-033bc73e.entry.js} +1 -1
  5. package/dist/bromcom-ui/p-037a40a6.entry.js +5 -0
  6. package/dist/bromcom-ui/{p-f66df7e2.entry.js → p-03db2686.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-2c6f2c6e.entry.js → p-04869d82.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-05069d60.entry.js +5 -0
  9. package/dist/bromcom-ui/{p-35d087b1.entry.js → p-0e247b5c.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-0c043993.entry.js → p-104a911e.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-985b830e.entry.js → p-134cb719.entry.js} +1 -1
  12. package/dist/bromcom-ui/p-1eabd5dc.js +10 -0
  13. package/dist/bromcom-ui/p-1fac3b1b.entry.js +5 -0
  14. package/dist/bromcom-ui/p-2a8b1592.js +5 -0
  15. package/dist/bromcom-ui/p-2cd16cba.entry.js +5 -0
  16. package/dist/bromcom-ui/{p-233a1fb4.entry.js → p-2fb6a382.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-6e6cd7c5.entry.js → p-327e6b40.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-e9e1004b.entry.js → p-50a6e6ad.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-771ad3a6.entry.js → p-50dedc69.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-df70c965.entry.js → p-516a396f.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-60db4bb4.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-edea9dfd.entry.js → p-6d54838e.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-36bac522.entry.js → p-811034bb.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-c0c5cb65.entry.js → p-83385ad0.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-f87163ff.entry.js → p-844ddccb.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-eeca9f6a.js → p-8496349d.js} +1 -1
  27. package/dist/bromcom-ui/{p-40bdc7f4.entry.js → p-851a15f4.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-1b334e60.entry.js → p-86ba62bc.entry.js} +1 -1
  29. package/dist/bromcom-ui/p-88bde8d0.entry.js +5 -0
  30. package/dist/bromcom-ui/{p-b8067e79.entry.js → p-8c2af9eb.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-82aff8b2.entry.js → p-92f92499.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-0bb029b9.entry.js → p-948c5685.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-6a2c25e7.js → p-95ac600e.js} +1 -1
  34. package/dist/bromcom-ui/{p-84e3a7c2.entry.js → p-95c94d6b.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-f58d8231.entry.js → p-98067117.entry.js} +1 -1
  36. package/dist/bromcom-ui/p-9b2fbdbe.js +5 -0
  37. package/dist/bromcom-ui/{p-746e776f.entry.js → p-9b6b06b7.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-eaa0450d.entry.js → p-a32b3d70.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-15322ffb.js → p-a3d9a134.js} +1 -1
  40. package/dist/bromcom-ui/{p-dab9ce79.entry.js → p-a4129ba5.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-1622e5dd.entry.js → p-a46dbcbe.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-964e1b9d.entry.js → p-a61d0671.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-d6c9225c.entry.js → p-af2ce958.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-3f3e0704.entry.js → p-b655061c.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-ab3598c2.entry.js → p-bad48e36.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-34af5169.entry.js → p-c1326b6b.entry.js} +1 -1
  47. package/dist/bromcom-ui/p-c6a39efd.entry.js +5 -0
  48. package/dist/bromcom-ui/{p-f7dd4f41.entry.js → p-c7e477c2.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-8804713b.entry.js → p-c8ccc4e9.entry.js} +1 -1
  50. package/dist/bromcom-ui/p-cbf609ed.entry.js +5 -0
  51. package/dist/bromcom-ui/p-ccf71804.entry.js +5 -0
  52. package/dist/bromcom-ui/{p-31c05e88.entry.js → p-ce99fc13.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-5f594403.entry.js → p-e03a7e41.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-1ab0af09.entry.js → p-e1ec4ae0.entry.js} +1 -1
  55. package/dist/bromcom-ui/p-e2660e43.entry.js +13 -0
  56. package/dist/bromcom-ui/{p-fb13a0d7.entry.js → p-e5f2263f.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-0d7bb78b.entry.js → p-e803d804.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-df7b3fed.js → p-f0082c91.js} +1 -1
  59. package/dist/bromcom-ui/{p-5b21f39a.js → p-f2c540cc.js} +1 -1
  60. package/dist/bromcom-ui/{p-a3d7bc84.entry.js → p-fcc88dea.entry.js} +1 -1
  61. package/dist/bromcom-ui/p-ff944406.entry.js +5 -0
  62. package/dist/bromcom-ui/{p-c91d78bb.entry.js → p-fff16d5e.entry.js} +1 -1
  63. package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
  64. package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
  65. package/dist/cjs/bcm-attendance.cjs.entry.js +1 -1
  66. package/dist/cjs/bcm-avatar_2.cjs.entry.js +3 -3
  67. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
  68. package/dist/cjs/bcm-button-group.cjs.entry.js +1 -1
  69. package/dist/cjs/bcm-button_7.cjs.entry.js +7 -4
  70. package/dist/cjs/bcm-card.cjs.entry.js +1 -1
  71. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +1 -1
  72. package/dist/cjs/bcm-chip.cjs.entry.js +1 -1
  73. package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
  74. package/dist/cjs/bcm-color-input.cjs.entry.js +3 -3
  75. package/dist/cjs/bcm-colorful_2.cjs.entry.js +34 -549
  76. package/dist/cjs/bcm-content.cjs.entry.js +22 -0
  77. package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
  78. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +4 -7
  79. package/dist/cjs/bcm-default.cjs.entry.js +1 -1
  80. package/dist/cjs/bcm-drawer.cjs.entry.js +3 -3
  81. package/dist/cjs/bcm-dropdown.cjs.entry.js +4 -10
  82. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +1 -1
  83. package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
  84. package/dist/cjs/bcm-input-custom.cjs.entry.js +1 -1
  85. package/dist/cjs/bcm-input.cjs.entry.js +5 -5
  86. package/dist/cjs/bcm-item.cjs.entry.js +1 -1
  87. package/dist/cjs/bcm-items.cjs.entry.js +1 -1
  88. package/dist/cjs/bcm-list.cjs.entry.js +158 -345
  89. package/dist/cjs/bcm-menu.cjs.entry.js +10 -7
  90. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +3 -3
  91. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +3 -3
  92. package/dist/cjs/bcm-modal-2.cjs.entry.js +3 -3
  93. package/dist/cjs/bcm-modal.cjs.entry.js +35 -11
  94. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
  95. package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
  96. package/dist/cjs/bcm-popover.cjs.entry.js +12 -5
  97. package/dist/cjs/bcm-progress.cjs.entry.js +1 -1
  98. package/dist/cjs/bcm-radio-group.cjs.entry.js +3 -3
  99. package/dist/cjs/bcm-radio.cjs.entry.js +3 -3
  100. package/dist/cjs/bcm-range.cjs.entry.js +1 -1
  101. package/dist/cjs/bcm-rc-overflow_2.cjs.entry.js +2443 -0
  102. package/dist/cjs/bcm-skeleton.cjs.entry.js +1 -1
  103. package/dist/cjs/bcm-step.cjs.entry.js +2 -2
  104. package/dist/cjs/bcm-stepper.cjs.entry.js +23 -7
  105. package/dist/cjs/bcm-switch.cjs.entry.js +1 -1
  106. package/dist/cjs/bcm-tab-group.cjs.entry.js +3 -3
  107. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +3 -3
  108. package/dist/cjs/bcm-tab-item.cjs.entry.js +3 -3
  109. package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
  110. package/dist/cjs/bcm-textarea.cjs.entry.js +3 -3
  111. package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
  112. package/dist/cjs/bcm-toast.cjs.entry.js +1 -1
  113. package/dist/cjs/bromcom-ui.cjs.js +1 -1
  114. package/dist/cjs/{generate-411c1529.js → generate-fbd410e1.js} +10 -1
  115. package/dist/cjs/index-906fb4e5.js +540 -0
  116. package/dist/cjs/{input-template-741a1078.js → input-template-68bd0585.js} +1 -1
  117. package/dist/cjs/{json-parse-decarator-661924f2.js → json-parse-decarator-6a4b6957.js} +1 -1
  118. package/dist/cjs/loader.cjs.js +1 -1
  119. package/dist/cjs/{number-helper-91446798.js → number-helper-4d112085.js} +1 -1
  120. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
  121. package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
  122. package/dist/cjs/{stepper-states-ee18b202.js → stepper-states-21ff9922.js} +1 -1
  123. package/dist/cjs/{tooltip-helper-dee255e9.js → tooltip-helper-e87e3189.js} +6 -4
  124. package/dist/cjs/{validators-c131b7c6.js → validators-d4b3d110.js} +1 -1
  125. package/dist/collection/collection-manifest.json +4 -2
  126. package/dist/collection/components/molecules/dropdown/dropdown.js +20 -8
  127. package/dist/collection/components/molecules/input/input.css +0 -4
  128. package/dist/collection/components/molecules/linked/linked.js +20 -6
  129. package/dist/collection/components/molecules/menu/menu.css +32 -10
  130. package/dist/collection/components/molecules/menu/menu.js +41 -2
  131. package/dist/collection/components/molecules/modal/modal.css +1 -1
  132. package/dist/collection/components/molecules/modal/modal.js +59 -17
  133. package/dist/collection/components/molecules/popover/popover.js +38 -15
  134. package/dist/collection/components/molecules/search/search.css +0 -4
  135. package/dist/collection/components/molecules/stepper/stepper.css +75 -43
  136. package/dist/collection/components/molecules/stepper/stepper.js +38 -2
  137. package/dist/collection/components/molecules/textarea/textarea.css +0 -4
  138. package/dist/collection/components/molecules/tooltip/tooltip.js +21 -0
  139. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +3 -6
  140. package/dist/collection/components/organism/list/list.css +4 -3
  141. package/dist/collection/components/organism/list/list.js +172 -177
  142. package/dist/collection/components/organism/states/bcm-list2.states.js +19 -18
  143. package/dist/collection/components/other/content/content.js +15 -0
  144. package/dist/collection/components/{molecules → third-parts}/colorful/colorful.css +1 -5
  145. package/dist/collection/components/third-parts/rc-overflow/rc-overflow.css +138 -0
  146. package/dist/collection/components/third-parts/rc-overflow/rc-overflow.js +194 -0
  147. package/dist/collection/helper/generate.js +9 -0
  148. package/dist/collection/helper/popover-helper.js +3 -1
  149. package/dist/collection/helper/tooltip-helper.js +3 -1
  150. package/dist/collection/templates/list-template.js +2 -2
  151. package/dist/components/bcm-alert.js +1 -1
  152. package/dist/components/bcm-checkbox-group.js +1 -1
  153. package/dist/components/bcm-content.d.ts +11 -0
  154. package/dist/components/bcm-content.js +35 -0
  155. package/dist/components/bcm-dropdown.js +3 -8
  156. package/dist/components/bcm-list.js +172 -346
  157. package/dist/components/bcm-modal.js +35 -11
  158. package/dist/components/bcm-popover.js +11 -3
  159. package/dist/components/bcm-rc-overflow.d.ts +11 -0
  160. package/dist/components/bcm-rc-overflow.js +10 -0
  161. package/dist/components/bcm-stepper.js +20 -4
  162. package/dist/components/bcm-textarea.js +1 -1
  163. package/dist/components/button.js +1 -1
  164. package/dist/components/colorful.js +2 -531
  165. package/dist/components/datetime-picker.js +3 -6
  166. package/dist/components/generate.js +10 -1
  167. package/dist/components/index.d.ts +3 -1
  168. package/dist/components/index.js +2 -0
  169. package/dist/components/index3.js +523 -177
  170. package/dist/components/index4.js +191 -0
  171. package/dist/components/input.js +1 -1
  172. package/dist/components/linked.js +20 -6
  173. package/dist/components/menu.js +8 -3
  174. package/dist/components/rc-overflow.js +2238 -0
  175. package/dist/components/search.js +2 -2
  176. package/dist/components/step.js +1 -1
  177. package/dist/components/tooltip-helper.js +3 -1
  178. package/dist/components/tooltip.js +4 -0
  179. package/dist/esm/bcm-accordion.entry.js +1 -1
  180. package/dist/esm/bcm-alert.entry.js +1 -1
  181. package/dist/esm/bcm-attendance.entry.js +1 -1
  182. package/dist/esm/bcm-avatar_2.entry.js +3 -3
  183. package/dist/esm/bcm-breadcrumb.entry.js +1 -1
  184. package/dist/esm/bcm-button-group.entry.js +1 -1
  185. package/dist/esm/bcm-button_7.entry.js +7 -4
  186. package/dist/esm/bcm-card.entry.js +1 -1
  187. package/dist/esm/bcm-checkbox-lite_9.entry.js +1 -1
  188. package/dist/esm/bcm-chip.entry.js +1 -1
  189. package/dist/esm/bcm-collapse.entry.js +1 -1
  190. package/dist/esm/bcm-color-input.entry.js +3 -3
  191. package/dist/esm/bcm-colorful_2.entry.js +25 -540
  192. package/dist/esm/bcm-content.entry.js +18 -0
  193. package/dist/esm/bcm-date-picker.entry.js +1 -1
  194. package/dist/esm/bcm-datetime-picker.entry.js +4 -7
  195. package/dist/esm/bcm-default.entry.js +1 -1
  196. package/dist/esm/bcm-drawer.entry.js +3 -3
  197. package/dist/esm/bcm-dropdown.entry.js +4 -10
  198. package/dist/esm/bcm-expansion-panel.entry.js +1 -1
  199. package/dist/esm/bcm-form-2.entry.js +1 -1
  200. package/dist/esm/bcm-input-custom.entry.js +1 -1
  201. package/dist/esm/bcm-input.entry.js +5 -5
  202. package/dist/esm/bcm-item.entry.js +1 -1
  203. package/dist/esm/bcm-items.entry.js +1 -1
  204. package/dist/esm/bcm-list.entry.js +158 -345
  205. package/dist/esm/bcm-menu.entry.js +10 -7
  206. package/dist/esm/bcm-modal-2-footer.entry.js +3 -3
  207. package/dist/esm/bcm-modal-2-header.entry.js +3 -3
  208. package/dist/esm/bcm-modal-2.entry.js +3 -3
  209. package/dist/esm/bcm-modal.entry.js +35 -11
  210. package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
  211. package/dist/esm/bcm-popconfirm.entry.js +1 -1
  212. package/dist/esm/bcm-popover.entry.js +12 -5
  213. package/dist/esm/bcm-progress.entry.js +1 -1
  214. package/dist/esm/bcm-radio-group.entry.js +3 -3
  215. package/dist/esm/bcm-radio.entry.js +3 -3
  216. package/dist/esm/bcm-range.entry.js +1 -1
  217. package/dist/esm/bcm-rc-overflow_2.entry.js +2438 -0
  218. package/dist/esm/bcm-skeleton.entry.js +1 -1
  219. package/dist/esm/bcm-step.entry.js +2 -2
  220. package/dist/esm/bcm-stepper.entry.js +23 -7
  221. package/dist/esm/bcm-switch.entry.js +1 -1
  222. package/dist/esm/bcm-tab-group.entry.js +3 -3
  223. package/dist/esm/bcm-tab-item-header.entry.js +3 -3
  224. package/dist/esm/bcm-tab-item.entry.js +3 -3
  225. package/dist/esm/bcm-tag.entry.js +2 -2
  226. package/dist/esm/bcm-textarea.entry.js +3 -3
  227. package/dist/esm/bcm-time-picker.entry.js +1 -1
  228. package/dist/esm/bcm-toast.entry.js +1 -1
  229. package/dist/esm/bromcom-ui.js +1 -1
  230. package/dist/esm/{generate-3e284764.js → generate-078b420f.js} +10 -1
  231. package/dist/esm/index-6310a048.js +537 -0
  232. package/dist/esm/{input-template-b0adc55c.js → input-template-2fa28387.js} +1 -1
  233. package/dist/esm/{json-parse-decarator-5f1e26d4.js → json-parse-decarator-22e8e247.js} +1 -1
  234. package/dist/esm/loader.js +1 -1
  235. package/dist/esm/{number-helper-ca1092d7.js → number-helper-ed541ffb.js} +1 -1
  236. package/dist/esm/old-bcm-popover-box.entry.js +2 -2
  237. package/dist/esm/old-bcm-popover.entry.js +1 -1
  238. package/dist/esm/{stepper-states-f8c0fb9b.js → stepper-states-d7a39df1.js} +1 -1
  239. package/dist/esm/{tooltip-helper-d4a37741.js → tooltip-helper-b0776da6.js} +6 -4
  240. package/dist/esm/{validators-c025ec38.js → validators-f8caf3b9.js} +1 -1
  241. package/dist/types/components/molecules/dropdown/dropdown.d.ts +1 -1
  242. package/dist/types/components/molecules/linked/linked.d.ts +3 -0
  243. package/dist/types/components/molecules/menu/menu.d.ts +2 -0
  244. package/dist/types/components/molecules/modal/modal.d.ts +10 -4
  245. package/dist/types/components/molecules/popover/popover.d.ts +2 -1
  246. package/dist/types/components/molecules/stepper/stepper.d.ts +3 -0
  247. package/dist/types/components/molecules/tooltip/tooltip.d.ts +1 -0
  248. package/dist/types/components/organism/list/list.d.ts +9 -5
  249. package/dist/types/components/organism/states/bcm-list2.states.d.ts +1 -1
  250. package/dist/types/components/other/content/content.d.ts +6 -0
  251. package/dist/types/components/third-parts/rc-overflow/rc-overflow.d.ts +17 -0
  252. package/dist/types/components.d.ts +54 -4
  253. package/dist/types/helper/popover-helper.d.ts +3 -1
  254. package/dist/types/helper/tooltip-helper.d.ts +3 -1
  255. package/package.json +2 -1
  256. package/dist/bromcom-ui/p-0f41f6e2.entry.js +0 -5
  257. package/dist/bromcom-ui/p-1362b17e.entry.js +0 -5
  258. package/dist/bromcom-ui/p-37a28587.js +0 -5
  259. package/dist/bromcom-ui/p-3bb952e7.entry.js +0 -5
  260. package/dist/bromcom-ui/p-748cb943.entry.js +0 -5
  261. package/dist/bromcom-ui/p-8a0128e6.entry.js +0 -5
  262. package/dist/bromcom-ui/p-98fe21a3.entry.js +0 -5
  263. package/dist/bromcom-ui/p-9f48d505.entry.js +0 -5
  264. package/dist/bromcom-ui/p-b4f02061.entry.js +0 -10
  265. package/dist/bromcom-ui/p-b52fe89c.entry.js +0 -5
  266. package/dist/bromcom-ui/p-feab9d90.entry.js +0 -5
  267. package/dist/bromcom-ui/p-ff408c78.js +0 -5
  268. package/dist/cjs/bcm-search.cjs.entry.js +0 -245
  269. package/dist/collection/components/organism/list/list-tag-control.js +0 -173
  270. package/dist/esm/bcm-search.entry.js +0 -241
  271. package/dist/types/components/organism/list/list-tag-control.d.ts +0 -18
  272. /package/dist/collection/components/{molecules → third-parts}/colorful/colorful.js +0 -0
  273. /package/dist/types/components/{molecules → third-parts}/colorful/colorful.d.ts +0 -0
@@ -19,10 +19,11 @@ import { c as classnames } from './index2.js';
19
19
  import './types.js';
20
20
  import { L as LabelTemplate } from './label-template.js';
21
21
  import './types2.js';
22
- import { c as createStore } from './index3.js';
23
- import { T as Tooltip } from './tooltip-helper.js';
24
- import { d as defineCustomElement$3 } from './icon.js';
25
- import { d as defineCustomElement$2 } from './search.js';
22
+ import { c as createStore } from './index4.js';
23
+ import { d as defineCustomElement$5 } from './icon.js';
24
+ import { d as defineCustomElement$4 } from './rc-overflow.js';
25
+ import { d as defineCustomElement$3 } from './search.js';
26
+ import { d as defineCustomElement$2 } from './tooltip.js';
26
27
 
27
28
  const CheckboxTemplate = ({ disabled, checked, readonly, required, indeterminate, hidden, captionType, _id }) => {
28
29
  // if ( indeterminate ) {
@@ -115,8 +116,8 @@ const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, ch
115
116
  const showSelectAll = !(treeview && searchFound > 0) && !(searchFound > 0);
116
117
  const setScrollHeight = () => {
117
118
  const itemHeight = size === 'small' ? 28 : size === 'medium' ? 36 : 48;
118
- const itemCount = searchFound >= 0 || (treeview ? items.length : totalData);
119
- let scrollHeight = itemCount * itemHeight || 0;
119
+ const itemCount = searchFound == null ? (treeview ? items.length : totalData) : searchFound;
120
+ const scrollHeight = itemCount * itemHeight || 0;
120
121
  return {
121
122
  'min-height': `${scrollHeight}px`,
122
123
  'overscroll-behavior': 'none',
@@ -193,12 +194,12 @@ const setValue = val => {
193
194
  };
194
195
  state.value.set(data.id, data);
195
196
  };
196
- const recursive = (data, options, parentId, parentIndex = '0.') => {
197
+ const recursive = (data, options, parentId, parentIndex = "0.") => {
197
198
  let recData = [];
198
199
  if (data && data.length > 0) {
199
- recData = data.map((item, index) => (Object.assign(Object.assign(Object.assign(Object.assign({ itemObject: Object.assign(Object.assign({}, item), { _i: `${parentIndex}${index}` }) }, item), options), { parentId: snq(() => parentId, null), open: options.allOpen || item.open || false }), ((options.treeview || (!options.treeview && item.type == 'group')) && item.items && item.items.length > 0
200
+ recData = data.map((item, index) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ itemObject: item }, item), options), { parentId: snq(() => parentId, null), open: options.allOpen || item.open || false }), ((options.treeview || (!options.treeview && item.type == 'group')) && item.items && item.items.length > 0
200
201
  ? { items: snq(() => recursive(item.items, options, item.id, `${parentIndex}${index}`), []) }
201
- : { items: [] }))));
202
+ : { items: [] })), { ct: `${parentIndex}${index}` })));
202
203
  }
203
204
  return recData;
204
205
  };
@@ -209,10 +210,10 @@ const getValue = id => snq(() => state.value.get(id), {});
209
210
  const calculateTotalItems = (dataSource, treeview) => {
210
211
  let total = 0;
211
212
  dataSource.forEach(item => {
212
- if (treeview || (!treeview && item.type != 'group')) {
213
+ if (treeview || (!treeview && item.type != "group")) {
213
214
  total += 1;
214
215
  }
215
- if ((treeview || (!treeview && item.type == 'group')) && item.items) {
216
+ if ((treeview || (!treeview && item.type == "group")) && item.items) {
216
217
  total += calculateTotalItems(item.items, treeview);
217
218
  }
218
219
  });
@@ -342,7 +343,7 @@ const checkedProcess = (id, item, status) => {
342
343
  const treeview = value.options.treeview;
343
344
  if (item) {
344
345
  // && !item.hidden => select all bastığımızda hidden olanları seçmemesi içindi
345
- if (treeview || (!treeview && item.type != 'group')) {
346
+ if (treeview || (!treeview && item.type != "group")) {
346
347
  if (!item.disabled) {
347
348
  if (status != undefined) {
348
349
  item.checked = status;
@@ -351,7 +352,7 @@ const checkedProcess = (id, item, status) => {
351
352
  item.checked = !item.checked;
352
353
  }
353
354
  item.itemObject.checked = item.checked;
354
- item.indeterminate = item.checked ? 'determinate' : 'uncheck';
355
+ item.indeterminate = item.checked ? "determinate" : "uncheck";
355
356
  }
356
357
  }
357
358
  if (item.items) {
@@ -378,13 +379,13 @@ const indeterminateStatus = (id, itemId, items) => {
378
379
  let allUnchecked = true;
379
380
  if (item.items) {
380
381
  item.items.map(child => {
381
- (child.checked || child.indeterminate === 'indeterminate') && (allUnchecked = false);
382
+ (child.checked || child.indeterminate === "indeterminate") && (allUnchecked = false);
382
383
  !child.checked && (allChecked = false);
383
384
  });
384
385
  }
385
- const indeterminateState = !allChecked && !allUnchecked ? 'indeterminate' : allChecked ? 'determinate' : 'uncheck';
386
+ const indeterminateState = !allChecked && !allUnchecked ? "indeterminate" : allChecked ? "determinate" : "uncheck";
386
387
  item.indeterminate = indeterminateState;
387
- item.checked = indeterminateState == 'determinate' ? true : false;
388
+ item.checked = indeterminateState == "determinate" ? true : false;
388
389
  item.itemObject.checked = item.checked;
389
390
  if (item.parentId) {
390
391
  indeterminateStatus(id, item.parentId);
@@ -491,11 +492,12 @@ const getCheckedList = (id, items) => {
491
492
  if (dataSource) {
492
493
  dataSource.forEach(item => {
493
494
  var _a;
495
+ const newItem = Object.assign(Object.assign({}, item.itemObject), { ct: item.ct });
494
496
  let foundChild = [];
495
497
  let foundItem = [];
496
498
  if (item.checked) {
497
- checkedList.push(item.itemObject);
498
- foundItem.push(Object.assign(Object.assign({}, item.itemObject), { items: [] }));
499
+ checkedList.push(newItem);
500
+ foundItem.push(Object.assign(Object.assign({}, newItem), { items: [] }));
499
501
  }
500
502
  if (item.items) {
501
503
  const found = getCheckedList(id, item.items);
@@ -508,7 +510,7 @@ const getCheckedList = (id, items) => {
508
510
  }
509
511
  if (foundChild.length > 0) {
510
512
  if (foundItem.length == 0) {
511
- foundItem.push(Object.assign(Object.assign({}, item.itemObject), { items: [] }));
513
+ foundItem.push(Object.assign(Object.assign({}, newItem), { items: [] }));
512
514
  }
513
515
  foundItem[0].items = foundChild;
514
516
  nestedResult.push(foundItem[0]);
@@ -576,10 +578,10 @@ const setClear = (id, items) => {
576
578
  var _a, _b, _c;
577
579
  item.checked && (item.checked = false);
578
580
  item.selected && (item.selected = false);
579
- item.indeterminate && (item.indeterminate = 'uncheck');
581
+ item.indeterminate && (item.indeterminate = "uncheck");
580
582
  ((_a = item.itemObject) === null || _a === void 0 ? void 0 : _a.checked) && (item.itemObject.checked = false);
581
583
  ((_b = item.itemObject) === null || _b === void 0 ? void 0 : _b.selected) && (item.itemObject.selected = false);
582
- ((_c = item.itemObject) === null || _c === void 0 ? void 0 : _c.indeterminate) && (item.itemObject.indeterminate = 'uncheck');
584
+ ((_c = item.itemObject) === null || _c === void 0 ? void 0 : _c.indeterminate) && (item.itemObject.indeterminate = "uncheck");
583
585
  if (item.items) {
584
586
  setClear(id, item.items);
585
587
  }
@@ -837,173 +839,7 @@ class ListKeyControl extends KeyControl {
837
839
  keyUp() { }
838
840
  }
839
841
 
840
- class ListTagControl {
841
- constructor(containerId, values, listId, selectedOtherTag, clearable) {
842
- this.clearable = false;
843
- this.containerId = containerId;
844
- this.values = values;
845
- this.listId = listId;
846
- this.selectedOtherTag = selectedOtherTag;
847
- this.clearable = clearable;
848
- }
849
- getTooltip(id, text) {
850
- return new Tooltip({ message: text, targetId: id, placement: 'bottom' });
851
- }
852
- tagHtmlTemplate(tag, isOtherTag = false, otherTagIsSingle = false) {
853
- return `<span class="bcm-tag__content dismissable ${!otherTagIsSingle && isOtherTag && (this.selectedOtherTag ? 'checkable checked' : '')}">
854
- <span class="value">${tag.text}</span>
855
- ${otherTagIsSingle
856
- ? ''
857
- : `
858
- <span class="right close-button" bcm-list-tag-dismiss >
859
- <bcm-icon icon="fal fa-times"></bcm-icon>
860
- </span>`}
861
- </span>`;
862
- }
863
- getContainer() {
864
- return document.getElementById(this.containerId);
865
- }
866
- getContainerWidth() {
867
- let tagContainerWidth = snq(() => document.getElementById(this.containerId).clientWidth, 0);
868
- tagContainerWidth = (this.clearable ? tagContainerWidth - 20 : tagContainerWidth) - 20;
869
- return [tagContainerWidth < 130 ? 130 : tagContainerWidth - 20, tagContainerWidth];
870
- }
871
- isClickDismiss(e) {
872
- const path = e.path || (e.composedPath && e.composedPath());
873
- const tag = path.find(element => element.attributes && element.attributes['bcm-list-tag-dismiss']);
874
- return !!tag;
875
- }
876
- onClickControl(e, id, isOtherTag = false) {
877
- const isDismiss = this.isClickDismiss(e);
878
- let tooltipId = '';
879
- if (isDismiss) {
880
- this.onClickDismiss(id);
881
- tooltipId = isOtherTag ? `bcm-list-input-tag-${this.listId}-other-tag` : `list-${this.listId}-${id}`;
882
- this.getTooltip(tooltipId, '').hide();
883
- }
884
- else {
885
- isOtherTag ? this.onClickOtherTag(id) : this.onClickTag(id);
886
- }
887
- }
888
- calculateTags() {
889
- const containerWidth = this.getContainerWidth();
890
- const virtualDom = this.getContainer();
891
- if (virtualDom) {
892
- if (this.values && this.values.length > 0) {
893
- if (containerWidth[0] > 0 && virtualDom) {
894
- virtualDom.innerHTML = '';
895
- this.values.slice(0, 50).map(value => {
896
- const tag = document.createElement('div');
897
- tag.classList.add('bcm-tag');
898
- tag.id = `list-${this.listId}-${value.id}`;
899
- // tag.title = value.tagTitle || value.text || '';
900
- tag.onmouseenter = () => this.getTooltip(`list-${this.listId}-${value.id}`, value.tagTitle || value.text || '').show();
901
- tag.onmouseleave = () => this.getTooltip(`list-${this.listId}-${value.id}`, value.tagTitle || value.text || '').hide();
902
- tag.dataset.id = value.id;
903
- tag.onclick = e => this.onClickControl(e, value.id);
904
- tag.innerHTML = this.tagHtmlTemplate(Object.assign(Object.assign({}, value), { text: StringHelper.textLimitter(value.text, 10) }));
905
- virtualDom.appendChild(tag);
906
- });
907
- let tags = virtualDom.querySelectorAll('.bcm-tag');
908
- let otherTags = [];
909
- let visibleTags = [];
910
- const checkControl = () => {
911
- const virtualDomTags = virtualDom.querySelectorAll('.bcm-tag');
912
- if (visibleTags.length === 1 && (virtualDomTags === null || virtualDomTags === void 0 ? void 0 : virtualDomTags.length) === 1) {
913
- visibleTags[0].innerHTML = this.tagHtmlTemplate({ text: '+1' }, false, true);
914
- }
915
- };
916
- let tagsWidth = Array.from(tags).reduce((acc, tag) => {
917
- const tagClientWidth = tag.clientWidth > 50 ? tag.clientWidth : 50;
918
- if (tagClientWidth > 0 && acc + tagClientWidth + 10 < containerWidth[0]) {
919
- acc += tagClientWidth + 10;
920
- visibleTags.push(tag);
921
- const checkFreeSpace = tagClientWidth > 0 && acc + tagClientWidth + 10 < containerWidth[0];
922
- !checkFreeSpace && containerWidth[1] < 70 && checkControl();
923
- }
924
- else {
925
- otherTags.push(tag);
926
- tag.remove();
927
- }
928
- return acc;
929
- }, 0);
930
- const otherTagElement = this.values.slice(visibleTags.length);
931
- const virtualDomLastElements = virtualDom.lastElementChild;
932
- const otherTagTextControl = args => {
933
- const { count, width } = args;
934
- if (count > 999)
935
- return '999+' + pluralize('item', count);
936
- if (width > 100)
937
- return `${count} ` + pluralize('item', count) + ' selected';
938
- if (width < 100)
939
- return `+${count < 10 ? count : '9'}`;
940
- };
941
- if (otherTags && otherTags.length > 0 && virtualDomLastElements && virtualDomLastElements.id !== `bcm-list-input-tag-${this.listId}-other-tag`) {
942
- otherTags.push(virtualDomLastElements);
943
- if (otherTags.length > 0) {
944
- const otherCounter = otherTagElement.length + 1;
945
- const createOthertagElement = {
946
- id: `bcm-list-input-tag-${this.listId}-other-tag`,
947
- text: otherTagTextControl({ count: otherCounter, width: containerWidth[1] }),
948
- title: snq(() => otherTags
949
- .map(tag => this.values.find(value => value.id == tag.dataset.id))
950
- .sort((a, b) => +a._i - +b._i)
951
- .slice(0, 15)
952
- .map(item => StringHelper.textLimitter(item.tagTitle || item.text, 40, true))
953
- .toString()
954
- .split(',')
955
- .join('\r\n') + (otherTags.length > 15 ? ('\r\n...') : ''), '...'),
956
- };
957
- virtualDomLastElements.remove();
958
- visibleTags = visibleTags.filter(tag => tag.id !== virtualDomLastElements.id);
959
- const hiddenTags = this.values.filter(value => !visibleTags.find(tag => tag.dataset.id == value.id)).map(value => value.id);
960
- const otherTag = document.createElement('div');
961
- const otherTagIds = hiddenTags.join(',');
962
- const otherTagIsSingle = visibleTags.length === 0;
963
- otherTag.classList.add('bcm-tag');
964
- !otherTagIsSingle && otherTag.classList.add('bcm-tag--other');
965
- otherTag.id = createOthertagElement.id;
966
- // otherTag.title = createOthertagElement.title || false;
967
- if (createOthertagElement.title) {
968
- otherTag.onmouseenter = () => this.getTooltip(createOthertagElement.id, createOthertagElement.title).show();
969
- otherTag.onmouseleave = () => this.getTooltip(createOthertagElement.id, createOthertagElement.title).hide();
970
- }
971
- otherTag.onclick = e => this.onClickControl(e, otherTagIds, otherTagIsSingle ? false : true);
972
- otherTag.innerHTML = this.tagHtmlTemplate(createOthertagElement, true, otherTagIsSingle);
973
- otherTag.dataset.ids = hiddenTags.join(',');
974
- virtualDom.appendChild(otherTag);
975
- }
976
- }
977
- const otherTag = document.getElementById(`bcm-list-input-tag-${this.listId}-other-tag`);
978
- const otherTagWidth = otherTag ? (otherTag.clientWidth && otherTag.clientWidth < 50 ? 50 : otherTag.clientWidth) : 200;
979
- const tagsPerRow = Math.floor(containerWidth[0] - tagsWidth);
980
- if (tagsPerRow > otherTagWidth) {
981
- if (otherTag) {
982
- const findElement = this.values.find(value => value.id == otherTag.dataset.ids.split(',')[0]);
983
- const tag = document.createElement('div');
984
- tag.classList.add('bcm-tag');
985
- tag.id = `list-${this.listId}-${findElement.id}`;
986
- // tag.title = findElement?.title || '';
987
- tag.onmouseenter = () => this.getTooltip(`list-${this.listId}-${findElement.id}`, (findElement === null || findElement === void 0 ? void 0 : findElement.title) || '').show();
988
- tag.onmouseleave = () => this.getTooltip(`list-${this.listId}-${findElement.id}`, (findElement === null || findElement === void 0 ? void 0 : findElement.title) || '').hide();
989
- tag.dataset.id = findElement.id;
990
- tag.onclick = e => this.onClickControl(e, findElement === null || findElement === void 0 ? void 0 : findElement.id);
991
- tag.innerHTML = this.tagHtmlTemplate(Object.assign(Object.assign({}, findElement), { text: StringHelper.textLimitter(findElement.text, 10) }));
992
- const otherTagElement = document.getElementById(`bcm-list-input-tag-${this.listId}-other-tag`);
993
- otherTagElement.remove();
994
- virtualDom.appendChild(tag);
995
- }
996
- }
997
- }
998
- }
999
- else {
1000
- virtualDom.innerHTML = '';
1001
- }
1002
- }
1003
- }
1004
- }
1005
-
1006
- const listCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}*{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{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{opacity:1;transform:translateY(0);visibility:visible;transition:visibility 0s linear 0s, opacity 100ms, transform 100ms}.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{width:100%}.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;min-width:40px}.bcm-list__input-buttons-button{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding: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}";
842
+ const listCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.bcm-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}*{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{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{opacity:1;transform:translateY(0);visibility:visible;transition:visibility 0s linear 0s, opacity 100ms, transform 100ms}.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:4px 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}";
1007
843
 
1008
844
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1009
845
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1043,12 +879,12 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1043
879
  this.required = false;
1044
880
  this.hidden = false;
1045
881
  this.fullWidth = false;
1046
- this.height = '256px';
1047
- this.maxHeight = '500px';
1048
- this.minHeight = '150px';
1049
- this.width = '256px';
882
+ this.height = "256px";
883
+ this.maxHeight = "500px";
884
+ this.minHeight = "150px";
885
+ this.width = "256px";
1050
886
  this.infoFooter = false;
1051
- this.variableText = 'item';
887
+ this.variableText = "item";
1052
888
  this.template = undefined;
1053
889
  this.allOpen = false;
1054
890
  this.keyControl = false;
@@ -1059,8 +895,8 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1059
895
  this.calculatedViewport = false;
1060
896
  this.isSelectedOther = false;
1061
897
  this.isHaveOtherTag = false;
1062
- this.placeholder = 'Choose an option';
1063
- this.searchPlaceholder = 'Search';
898
+ this.placeholder = "Choose an option";
899
+ this.searchPlaceholder = "Search";
1064
900
  this.searchIsOnlyChilds = false;
1065
901
  this.minSearchLength = 2;
1066
902
  this.clearable = false;
@@ -1069,7 +905,7 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1069
905
  this.captionType = Bcm$1.Status.default;
1070
906
  this.captionError = undefined;
1071
907
  this.emptyText = undefined;
1072
- this.emptyIcon = 'fad fa-folder-open';
908
+ this.emptyIcon = "fad fa-folder-open";
1073
909
  this.captionCache = undefined;
1074
910
  this.captionTypeCache = undefined;
1075
911
  this.tick = {};
@@ -1082,26 +918,26 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1082
918
  this.returnFilterData = {};
1083
919
  this.returnOtherData = {};
1084
920
  this.options = {
1085
- rootMargin: '30px',
921
+ rootMargin: "30px",
1086
922
  };
1087
923
  this.tagContainerWidth = 0;
1088
924
  this.selectAllItem = {
1089
- id: 'select-all',
1090
- text: 'Select All',
1091
- value: 'select-all',
925
+ id: "select-all",
926
+ text: "Select All",
927
+ value: "select-all",
1092
928
  checked: false,
1093
929
  disabled: false,
1094
- icon: '',
930
+ icon: "",
1095
931
  status: Bcm$1.Status.default,
1096
- indeterminate: 'uncheck',
932
+ indeterminate: "uncheck",
1097
933
  };
1098
- this.placement = Bcm$1.Placement['bottom-start'];
934
+ this.placement = Bcm$1.Placement["bottom-start"];
1099
935
  this.data = [];
1100
936
  }
1101
937
  connectedCallback() {
1102
- if (this.height != '256px') {
1103
- if (this.height.indexOf('px') > -1) {
1104
- this.limit = Math.floor(+this.height.replace('px', '') / 10);
938
+ if (this.height != "256px") {
939
+ if (this.height.indexOf("px") > -1) {
940
+ this.limit = Math.floor(+this.height.replace("px", "") / 10);
1105
941
  }
1106
942
  else {
1107
943
  this.limit = Math.floor(+(window.innerHeight / 10));
@@ -1120,69 +956,39 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1120
956
  this.updateOptions();
1121
957
  }
1122
958
  }
959
+ get containerWidth() {
960
+ var _a, _b;
961
+ return (_b = (_a = this.el) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) === null || _b === void 0 ? void 0 : _b.width;
962
+ }
963
+ get tagCount() {
964
+ return this.containerWidth > 0 ? Math.floor(+(this.containerWidth - 100) / 85) : 0;
965
+ }
966
+ get tagData() {
967
+ return snq(() => {
968
+ var _a;
969
+ return (_a = this.value) === null || _a === void 0 ? void 0 : _a.map(item => ({
970
+ value: item.id,
971
+ label: StringHelper.textLimitter(item.text, 7),
972
+ text: item.tooltipMessage || item.tagTitle || item.text,
973
+ }));
974
+ }, []);
975
+ }
1123
976
  async componentDidLoad() {
1124
977
  await this.initState();
1125
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
978
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1126
979
  const list = this.el.querySelector(`#bcm-list-${this._id}`);
1127
980
  if (list) {
1128
981
  document.body.appendChild(list);
1129
982
  }
1130
983
  }
1131
984
  }
1132
- tagCalculator() {
1133
- if (this.checkboxes && (this.type == 'select' || this.type == 'autocomplete')) {
1134
- const tagCalculator = new ListTagControl(`bcm-list-input-tag-container-${this._id}`, this.value, this._id, this.isSelectedOther, this.clearable);
1135
- tagCalculator.calculateTags();
1136
- const arrayIds = id => (typeof id == 'string' ? id.split(',') : [id]);
1137
- const clearAutocomplete = () => {
1138
- if (this.type == 'autocomplete') {
1139
- const autocompleteInput = this.getAutoCompleteInput();
1140
- if (autocompleteInput) {
1141
- autocompleteInput.handleClear(false);
1142
- }
1143
- }
1144
- };
1145
- tagCalculator.onClickOtherTag = async (id) => {
1146
- if (!this.disabled) {
1147
- clearAutocomplete();
1148
- if (this.isSelectedOther) {
1149
- await this.unSelectOther();
1150
- }
1151
- else {
1152
- await this.onClearSearch();
1153
- this.isSelectedOther = true;
1154
- this.filterOtherList(arrayIds(id));
1155
- this.isOpen = true;
1156
- }
1157
- this.onSelectSearch();
1158
- }
1159
- };
1160
- tagCalculator.onClickTag = _ => {
1161
- // console.log(id);
1162
- clearAutocomplete();
1163
- this.onSelectSearch();
1164
- this.unSelectOther();
1165
- };
1166
- tagCalculator.onClickDismiss = async (id) => {
1167
- var _a;
1168
- if (!this.disabled) {
1169
- if (this.isSelectedOther) {
1170
- await this.unSelectOther();
1171
- }
1172
- arrayIds(id).length > 1 ? listState.removeOtherTags(this._id, arrayIds(id)) : listState.checkedItem(this._id, arrayIds(id)[0]);
1173
- this.value = (await this.getCheckedList()).checkedList;
1174
- this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
1175
- }
1176
- };
1177
- }
1178
- }
1179
985
  disconnectedCallback() {
1180
986
  this.isOpen = false;
1181
987
  if (this.stopDeepClean)
1182
988
  return;
1183
989
  listState.removeState(this._id);
1184
- this.el.innerHTML = '';
1185
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
990
+ this.el.innerHTML = "";
991
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1186
992
  const list = document.querySelectorAll(`#bcm-list-${this._id}`);
1187
993
  if (list === null || list === void 0 ? void 0 : list.length) {
1188
994
  list.forEach(item => item.remove());
@@ -1207,11 +1013,10 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1207
1013
  }
1208
1014
  }
1209
1015
  else {
1210
- if ((newVal === null || newVal === void 0 ? void 0 : newVal.text) != (oldVal === null || oldVal === void 0 ? void 0 : oldVal.text)) {
1016
+ if ((newVal === null || newVal === void 0 ? void 0 : newVal.id) != (oldVal === null || oldVal === void 0 ? void 0 : oldVal.id)) {
1211
1017
  this.change.emit(this.value);
1212
1018
  }
1213
1019
  }
1214
- this.tagCalculator();
1215
1020
  }
1216
1021
  watchReturnFilterData(newVal) {
1217
1022
  var _a;
@@ -1223,18 +1028,6 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1223
1028
  this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
1224
1029
  }
1225
1030
  }
1226
- handleOtherSelected(newValue) {
1227
- var _a;
1228
- const tagContent = (_a = document.getElementById(`bcm-list-input-tag-${this._id}-other-tag`)) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-tag__content');
1229
- if (tagContent) {
1230
- if (newValue === true) {
1231
- tagContent.classList.add('checkable', 'checked');
1232
- }
1233
- else {
1234
- tagContent.classList.remove('checkable', 'checked');
1235
- }
1236
- }
1237
- }
1238
1031
  async handleOpen() {
1239
1032
  if (this.isOpen) {
1240
1033
  this.open.emit();
@@ -1251,7 +1044,7 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1251
1044
  listScrollToTop() {
1252
1045
  const list = document.querySelector(`#bcm-list-${this._id}`);
1253
1046
  if (list) {
1254
- list.querySelector('.scrolling').scrollTop = 0;
1047
+ list.querySelector(".scrolling").scrollTop = 0;
1255
1048
  }
1256
1049
  }
1257
1050
  async dataChanged(newValue, oldValue) {
@@ -1285,7 +1078,7 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1285
1078
  const list = document.querySelector(`#bcm-list-${this._id}`);
1286
1079
  const isClickInside = list && Generate.findEventPath(event, list);
1287
1080
  if (isClickInside) {
1288
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
1081
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1289
1082
  this.calculateLocation();
1290
1083
  }
1291
1084
  }
@@ -1294,6 +1087,41 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1294
1087
  }
1295
1088
  }
1296
1089
  }
1090
+ clearAutocomplete() {
1091
+ if (this.type == "autocomplete") {
1092
+ const autocompleteInput = this.getAutoCompleteInput();
1093
+ if (autocompleteInput) {
1094
+ autocompleteInput.handleClear(false);
1095
+ }
1096
+ }
1097
+ }
1098
+ async handleSelectOtherTag(e) {
1099
+ if (this.disabled)
1100
+ return;
1101
+ const { id, checked } = e.detail;
1102
+ this.isSelectedOther = checked;
1103
+ if (id) {
1104
+ checked ? this.filterOtherList(id) : this.unSelectOther();
1105
+ this.isOpen = true;
1106
+ }
1107
+ }
1108
+ async handleDeleteTag(e) {
1109
+ var _a;
1110
+ if (this.disabled)
1111
+ return;
1112
+ const { id } = e.detail;
1113
+ this.isSelectedOther && this.unSelectOther();
1114
+ Array.isArray(id) ? listState.removeOtherTags(this._id, id) : listState.checkedItem(this._id, id);
1115
+ this.value = (await this.getCheckedList()).checkedList;
1116
+ this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
1117
+ }
1118
+ async handleSelectTag(_) {
1119
+ if (this.disabled)
1120
+ return;
1121
+ this.clearAutocomplete();
1122
+ this.onSelectSearch();
1123
+ this.unSelectOther();
1124
+ }
1297
1125
  handleClick(event) {
1298
1126
  var _a;
1299
1127
  if (this.disabled)
@@ -1312,23 +1140,23 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1312
1140
  }, 300);
1313
1141
  }
1314
1142
  if (!isClickInside) {
1315
- if (this.type == 'autocomplete') {
1143
+ if (this.type == "autocomplete") {
1316
1144
  const autocompleteInput = this.getAutoCompleteInput();
1317
1145
  if (autocompleteInput) {
1318
1146
  if (this.checkboxes) {
1319
- autocompleteInput.setValue('');
1147
+ autocompleteInput.setValue("");
1320
1148
  }
1321
1149
  else {
1322
- autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
1150
+ autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || "");
1323
1151
  }
1324
1152
  }
1325
1153
  }
1326
1154
  }
1327
- const clickToTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag']);
1328
- const clickToOtherTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag bcm-tag--other']);
1329
- const clickToSelect = Generate.findEventPathWithKey(event, 'id', [`bcm-list-input-${this._id}`, `bcm-list-label-${this._id}`]);
1330
- const clickToTagDismiss = Generate.findEventPathWithKey(event, 'className', ['right close-button']);
1331
- if (clickToSelect && !clickToTagDismiss && this.type != 'autocomplete') {
1155
+ const clickToTag = Generate.findEventPathWithKey(event, "className", ["bcm-tag"]);
1156
+ const clickToOtherTag = Generate.findEventPathWithKey(event, "className", ["bcm-tag bcm-tag--other"]);
1157
+ const clickToSelect = Generate.findEventPathWithKey(event, "id", [`bcm-list-input-${this._id}`, `bcm-list-label-${this._id}`]);
1158
+ const clickToTagDismiss = Generate.findEventPathWithKey(event, "className", ["right close-button"]);
1159
+ if (clickToSelect && !clickToTagDismiss && this.type != "autocomplete") {
1332
1160
  this.isOpen = clickToTag || clickToOtherTag ? true : !this.isOpen;
1333
1161
  }
1334
1162
  if (list) {
@@ -1342,7 +1170,7 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1342
1170
  }
1343
1171
  bcmOnSearchClear(event) {
1344
1172
  var _a, _b;
1345
- if (this.type == 'autocomplete') {
1173
+ if (this.type == "autocomplete") {
1346
1174
  if (((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.id) === `bcm-list-${this._id}-search` || ((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.id) === `bcm-list-input-tag-container-${this._id}-autocomplete-input`) {
1347
1175
  if (event.detail) {
1348
1176
  this.setClear();
@@ -1360,16 +1188,13 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1360
1188
  if (this.searchFound > 0 && this.highlight) {
1361
1189
  this.highlightText = (_f = event.detail) === null || _f === void 0 ? void 0 : _f.value;
1362
1190
  }
1363
- if (this.type == 'autocomplete') {
1191
+ if (this.type == "autocomplete") {
1364
1192
  this.isOpen = true;
1365
1193
  }
1366
1194
  if (!event.detail.result) {
1367
- if (this.type == 'autocomplete') {
1195
+ if (this.type == "autocomplete") {
1368
1196
  this.isOpen = false;
1369
1197
  }
1370
- if (this.isSelectedOther) {
1371
- this.filterOtherList(this.otherTagIds());
1372
- }
1373
1198
  else {
1374
1199
  this.returnFilterData = {};
1375
1200
  listState.filterData(this._id, null);
@@ -1409,9 +1234,9 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1409
1234
  if (focusedList) {
1410
1235
  const list = document.getElementById(`bcm-list-${this._id}`);
1411
1236
  if (list) {
1412
- const items = list.querySelectorAll('.bcm-list__item.focused');
1237
+ const items = list.querySelectorAll(".bcm-list__item.focused");
1413
1238
  if (items.length > 0) {
1414
- const main = list.querySelector('main');
1239
+ const main = list.querySelector("main");
1415
1240
  const itemHeight = items[0].offsetHeight;
1416
1241
  const listHeight = main.offsetHeight;
1417
1242
  const itemTop = items[0].offsetTop;
@@ -1431,7 +1256,7 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1431
1256
  if (Array.isArray(data)) {
1432
1257
  this.addChecked(data);
1433
1258
  }
1434
- if (typeof data === 'string' || typeof data === 'number') {
1259
+ if (typeof data === "string" || typeof data === "number") {
1435
1260
  this.selectedItem(data);
1436
1261
  }
1437
1262
  }
@@ -1474,10 +1299,9 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1474
1299
  async setClear(e) {
1475
1300
  listState.setClear(this._id);
1476
1301
  this.value = null;
1477
- this.inputText = '';
1302
+ this.inputText = "";
1478
1303
  this.isOpen = false;
1479
- this.selectAllItem.indeterminate = 'uncheck';
1480
- this.tagCalculator();
1304
+ this.selectAllItem.indeterminate = "uncheck";
1481
1305
  this.markForCheck();
1482
1306
  if (e) {
1483
1307
  e.stopPropagation();
@@ -1506,10 +1330,9 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1506
1330
  listState.updateOptions(this._id, this);
1507
1331
  }
1508
1332
  handleIndeterminate(checkeds, total) {
1509
- this.selectAllItem = Object.assign(Object.assign({}, this.selectAllItem), { indeterminate: this.checkboxes && checkeds > 0 ? (checkeds === total ? 'check' : 'indeterminate') : 'uncheck', checked: this.checkboxes && checkeds > 0 ? (checkeds === total ? true : false) : false });
1333
+ this.selectAllItem = Object.assign(Object.assign({}, this.selectAllItem), { indeterminate: this.checkboxes && checkeds > 0 ? (checkeds === total ? "check" : "indeterminate") : "uncheck", checked: this.checkboxes && checkeds > 0 ? (checkeds === total ? true : false) : false });
1510
1334
  }
1511
1335
  listenResize() {
1512
- this.tagCalculator();
1513
1336
  this.calculateLocation();
1514
1337
  this.markForCheck();
1515
1338
  }
@@ -1537,12 +1360,6 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1537
1360
  searchInput.onBcmSelect();
1538
1361
  }
1539
1362
  }
1540
- otherTagIds() {
1541
- const otherTag = document.querySelector(`#bcm-list-input-tag-${this._id}-other-tag`);
1542
- if (otherTag) {
1543
- return otherTag.getAttribute('data-ids').split(',');
1544
- }
1545
- }
1546
1363
  async filterOtherList(ids) {
1547
1364
  const checklist = (await this.getCheckedList()).nestedResult;
1548
1365
  const filter = Generate.convertIdsToNestedData(ids, checklist);
@@ -1558,7 +1375,7 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1558
1375
  this.onClearSearch();
1559
1376
  await listState.setValue({
1560
1377
  id: this._id,
1561
- dataSource: this.data && snq(() => (typeof this.data == 'string' ? JSON.parse(this.data) : this.data), []),
1378
+ dataSource: this.data && snq(() => (typeof this.data == "string" ? JSON.parse(this.data) : this.data), []),
1562
1379
  options: this,
1563
1380
  });
1564
1381
  const { totalRoots, totalItems } = listState.getValue(this._id);
@@ -1590,7 +1407,7 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1590
1407
  }
1591
1408
  getItems() {
1592
1409
  if (this.isSelectedOther) {
1593
- return this.returnFilterData['checkedItems'];
1410
+ return this.returnFilterData["checkedItems"];
1594
1411
  }
1595
1412
  return snq(() => listState.getData(this._id), []);
1596
1413
  }
@@ -1602,17 +1419,17 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1602
1419
  this.markForCheck();
1603
1420
  }
1604
1421
  focusItem(e) {
1605
- if (e.target.classList.contains('bcm-list__item')) {
1422
+ if (e.target.classList.contains("bcm-list__item")) {
1606
1423
  const item = e.target;
1607
1424
  const list = document.getElementById(`bcm-list-${this._id}`);
1608
1425
  if (list) {
1609
- const items = list.querySelectorAll('.bcm-list__item');
1426
+ const items = list.querySelectorAll(".bcm-list__item");
1610
1427
  if (items.length > 0) {
1611
- const selectedItem = list.querySelector('.bcm-list__item.focused');
1428
+ const selectedItem = list.querySelector(".bcm-list__item.focused");
1612
1429
  if (selectedItem) {
1613
- selectedItem.classList.remove('focused');
1430
+ selectedItem.classList.remove("focused");
1614
1431
  }
1615
- item.classList.add('focused');
1432
+ item.classList.add("focused");
1616
1433
  }
1617
1434
  }
1618
1435
  }
@@ -1624,14 +1441,14 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1624
1441
  this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
1625
1442
  this.isOpen = false;
1626
1443
  this.markForCheck();
1627
- if (this.type == 'autocomplete' && this.value) {
1444
+ if (this.type == "autocomplete" && this.value) {
1628
1445
  // await delay(100)
1629
1446
  // this.resetCaption()
1630
1447
  const autocompleteInput = this.getAutoCompleteInput();
1631
1448
  if (autocompleteInput) {
1632
1449
  setTimeout(() => {
1633
1450
  var _a;
1634
- autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
1451
+ autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || "");
1635
1452
  this.isOpen = false;
1636
1453
  }, 100);
1637
1454
  }
@@ -1640,7 +1457,7 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1640
1457
  return Promise.resolve(this.value);
1641
1458
  }
1642
1459
  async checkedItem(itemId) {
1643
- const isCheckSelectAll = itemId === 'select-all';
1460
+ const isCheckSelectAll = itemId === "select-all";
1644
1461
  if (!isCheckSelectAll) {
1645
1462
  listState.checkedItem(this._id, itemId);
1646
1463
  }
@@ -1678,7 +1495,7 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1678
1495
  }
1679
1496
  async calculateLocation() {
1680
1497
  var _a, _b;
1681
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
1498
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1682
1499
  const list = document.getElementById(`bcm-list-${this._id}`);
1683
1500
  // list && (list.style.height = '256px') //sebebi neydi ki!
1684
1501
  var placement = this.placement;
@@ -1693,85 +1510,84 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1693
1510
  if (this.linkedComponent) {
1694
1511
  const linked = document.getElementById(this.linkedComponent);
1695
1512
  if (linked) {
1696
- if (!linked['noCaption']) {
1697
- const captionArea = ((_a = linked.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-caption-area')) || linked.querySelector('.bcm-caption-area');
1513
+ if (!linked["noCaption"]) {
1514
+ const captionArea = ((_a = linked.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".bcm-caption-area")) || linked.querySelector(".bcm-caption-area");
1698
1515
  if (captionArea) {
1699
1516
  captionAreaHeight = captionArea.offsetHeight || captionArea.clientHeight;
1700
1517
  }
1701
1518
  }
1702
- const labelArea = ((_b = linked.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.bcm-label')) || linked.querySelector('.bcm-label');
1519
+ const labelArea = ((_b = linked.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(".bcm-label")) || linked.querySelector(".bcm-label");
1703
1520
  if (labelArea) {
1704
1521
  labelAreaHeight = labelArea.offsetHeight || labelArea.clientHeight;
1705
1522
  }
1706
1523
  }
1707
1524
  }
1708
1525
  if (this.fullWidth) {
1709
- list.style.width = targetElement.offsetWidth + 'px';
1526
+ list.style.width = targetElement.offsetWidth + "px";
1710
1527
  }
1711
1528
  else {
1712
- list.style.width = this.width || 'auto';
1529
+ list.style.width = this.width || "auto";
1713
1530
  }
1714
- if (this.height.indexOf('%') > -1) {
1715
- list.style.height = NumberHelper.toNumber(this.height) * 0.01 * window.innerHeight - pos[0] - 50 + 'px';
1531
+ if (this.height.indexOf("%") > -1) {
1532
+ list.style.height = NumberHelper.toNumber(this.height) * 0.01 * window.innerHeight - pos[0] - 50 + "px";
1716
1533
  }
1717
1534
  else {
1718
1535
  list.style.height = this.height;
1719
1536
  }
1720
1537
  list.style.minHeight = this.minHeight;
1721
1538
  // const calculatedMaxHeight = window.innerHeight - pos[0] - 50;
1722
- const calculatedMaxHeight = placement.split('-')[0] == 'top' ? window.innerHeight - (window.innerHeight - pos[0]) - 50 : window.innerHeight - pos[0] - 50;
1723
- if (this.maxHeight.indexOf('%') > -1) {
1724
- list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) * 0.01 * calculatedMaxHeight + 'px';
1539
+ const calculatedMaxHeight = placement.split("-")[0] == "top" ? window.innerHeight - (window.innerHeight - pos[0]) - 50 : window.innerHeight - pos[0] - 50;
1540
+ if (this.maxHeight.indexOf("%") > -1) {
1541
+ list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) * 0.01 * calculatedMaxHeight + "px";
1725
1542
  }
1726
1543
  else {
1727
- list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) < calculatedMaxHeight ? this.maxHeight : calculatedMaxHeight + 'px';
1544
+ list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) < calculatedMaxHeight ? this.maxHeight : calculatedMaxHeight + "px";
1728
1545
  }
1729
1546
  getPlacement(list, targetElement, placement, (place) => (placement = place));
1730
1547
  await delay(10);
1731
1548
  pos = setPosition(placement, targetElement);
1732
- list.style.top = (placement.split('-')[0] == 'top' ? pos[0] - list.offsetHeight + labelAreaHeight : pos[0] - captionAreaHeight) + 'px';
1549
+ list.style.top = (placement.split("-")[0] == "top" ? pos[0] - list.offsetHeight + labelAreaHeight : pos[0] - captionAreaHeight) + "px";
1733
1550
  // list.style.left = pos[1] + 'px';
1734
- list.style.left = placement.split('-')[1] == 'end' ? pos[1] - list.offsetWidth + 'px' : pos[1] + 'px';
1735
- list.classList.toggle('bcm-list--top', placement.split('-')[0] == 'top');
1551
+ list.style.left = placement.split("-")[1] == "end" ? pos[1] - list.offsetWidth + "px" : pos[1] + "px";
1552
+ list.classList.toggle("bcm-list--top", placement.split("-")[0] == "top");
1736
1553
  this.calculatedViewport = true;
1737
1554
  }
1738
1555
  }
1739
1556
  }
1740
1557
  render() {
1741
1558
  const { checkboxes, treeview, label, size, disabled, readonly, required, hidden, fullWidth, searchable } = this.getOptions();
1742
- const hostClasses = classnames('bcm-list', `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === 'large' ? 'size-3' : 'size-2', {
1743
- 'error': this.captionType == Bcm$1.Status.error,
1744
- 'full-width': fullWidth,
1745
- 'bcm-list__linked': this.linkedComponent,
1559
+ const hostClasses = classnames("bcm-list", `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === "large" ? "size-3" : "size-2", {
1560
+ "error": this.captionType == Bcm$1.Status.error,
1561
+ "full-width": fullWidth,
1562
+ "bcm-list__linked": this.linkedComponent,
1746
1563
  hidden,
1747
1564
  readonly,
1748
1565
  disabled,
1749
1566
  });
1750
- const bcmListContainer = classnames('bcm-list__container', this.linkedComponent ? 'bcm-list__type-linked-component' : `bcm-list__type-${this.type}`, {
1751
- 'is-open': this.isOpen && this.calculatedViewport,
1752
- 'error': this.captionType == Bcm$1.Status.error,
1753
- 'full-width': fullWidth,
1567
+ const bcmListContainer = classnames("bcm-list__container", this.linkedComponent ? "bcm-list__type-linked-component" : `bcm-list__type-${this.type}`, {
1568
+ "is-open": this.isOpen && this.calculatedViewport,
1569
+ "error": this.captionType == Bcm$1.Status.error,
1570
+ "full-width": fullWidth,
1754
1571
  hidden,
1755
1572
  readonly,
1756
1573
  disabled,
1757
1574
  });
1758
- const bcmListInput = classnames('bcm-list__input');
1759
- const openedType = this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent;
1575
+ const bcmListInput = classnames("bcm-list__input");
1576
+ const openedType = this.type == "select" || this.type == "autocomplete" || this.linkedComponent;
1760
1577
  return (h(Host, { class: hostClasses, tabindex: "0", style: {
1761
- '--width': fullWidth ? '100%' : this.width,
1762
- '--height': openedType ? '100%' : this.height,
1763
- '--max-height': openedType ? 'inherit' : this.maxHeight,
1764
- '--min-height': openedType ? 'inherit' : this.minHeight,
1765
- } }, h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null, h(LabelTemplate, { size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == 'select' && (h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, h("span", { class: classnames('bcm-list__input-container', { 'type-single': !checkboxes, 'value-empty': !this.value }) }, this.checkboxes && h("span", { id: `bcm-list-input-tag-container-${this._id}`, class: "bcm-list__input-tag-container" }), this.checkboxes && !this.value && h("span", { class: "bcm-list__input-placeholder" }, this.placeholder), !this.checkboxes && (this.value ? this.inputText : h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), h("span", { class: classnames('bcm-list__input-buttons', {
1578
+ "--width": fullWidth ? "100%" : this.width,
1579
+ "--height": openedType ? "100%" : this.height,
1580
+ "--max-height": openedType ? "inherit" : this.maxHeight,
1581
+ "--min-height": openedType ? "inherit" : this.minHeight,
1582
+ } }, h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null, h(LabelTemplate, { size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == "select" && (h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, h("span", { class: classnames("bcm-list__input-container", { "type-single": !checkboxes, "value-empty": !this.value }) }, this.checkboxes ? (this.value && this.value.length > 0 ? (h("bcm-rc-overflow", { data: this.tagData, maxCount: this.tagCount })) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))) : this.value ? (this.inputText) : (h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), h("span", { class: classnames("bcm-list__input-buttons", {
1766
1583
  disabled: disabled,
1767
- }) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && 'caret-is-open'}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === 'autocomplete' && (h("div", { id: `bcm-list-input-${this._id}`, class: classnames(bcmListInput, { 'bcm-list__input-autocomplete': this.type == 'autocomplete' }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == 'autocomplete' ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, 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, 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: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
1584
+ }) }, this.clearable && this.value && (h("div", { class: "bcm-list__input-buttons-button" }, h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (h("div", { id: `bcm-list-input-${this._id}`, class: classnames(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), h("bcm-search", { id: `bcm-list-input-tag-container-${this._id}-autocomplete-input`, class: "bcm-list__autocomplete", data: this.data, clearable: true, "full-width": true, "no-caption": true, placeholder: this.placeholder })))), h(ListTemplate, { highlight: this.highlightText, searchable: this.type == "autocomplete" ? false : searchable, bcmListContainer: bcmListContainer, checkboxes: checkboxes, treeview: treeview, 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, 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: itemId => this.selectedItem(itemId), checkedItem: itemId => this.checkedItem(itemId), openGroup: parentId => this.openGroup(parentId), focusItem: itemId => this.focusItem(itemId), emptyText: this.emptyText, emptyIcon: this.emptyIcon }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
1768
1585
  }
1769
1586
  get el() { return this; }
1770
1587
  static get watchers() { return {
1771
1588
  "_id": ["watchId"],
1772
1589
  "value": ["handleValueChange"],
1773
1590
  "returnFilterData": ["watchReturnFilterData"],
1774
- "isSelectedOther": ["handleOtherSelected"],
1775
1591
  "isOpen": ["handleOpen"],
1776
1592
  "data": ["dataChanged"]
1777
1593
  }; }
@@ -1848,18 +1664,18 @@ const BcmList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
1848
1664
  "resetCaption": [64],
1849
1665
  "show": [64],
1850
1666
  "hide": [64]
1851
- }, [[2, "bcm-is-intersecting", "isIntersecting"], [2, "bcm-items", "handleSlotItems"], [0, "bcm-change", "handleChange"], [9, "resize", "handleResize"], [7, "scroll", "handleWheel"], [4, "wheel", "handleWheel"], [10, "click", "handleClick"], [10, "bcm-on-search-clear", "bcmOnSearchClear"], [10, "bcm-on-search", "bcmOnSearch"], [10, "keydown", "handleKeyDown"], [10, "keyup", "handleKeyUp"]]]);
1667
+ }, [[2, "bcm-is-intersecting", "isIntersecting"], [2, "bcm-items", "handleSlotItems"], [0, "bcm-change", "handleChange"], [9, "resize", "handleResize"], [7, "scroll", "handleWheel"], [4, "wheel", "handleWheel"], [0, "bcm-select-other-tag", "handleSelectOtherTag"], [0, "bcm-delete-tag", "handleDeleteTag"], [0, "bcm-select-tag", "handleSelectTag"], [10, "click", "handleClick"], [10, "bcm-on-search-clear", "bcmOnSearchClear"], [10, "bcm-on-search", "bcmOnSearch"], [10, "keydown", "handleKeyDown"], [10, "keyup", "handleKeyUp"]]]);
1852
1668
  __decorate([
1853
1669
  IsLoad()
1854
1670
  ], BcmList$1.prototype, "el", void 0);
1855
1671
  __decorate([
1856
- JsonParse('data', true)
1672
+ JsonParse("data", true)
1857
1673
  ], BcmList$1.prototype, "dataChanged", null);
1858
1674
  function defineCustomElement$1() {
1859
1675
  if (typeof customElements === "undefined") {
1860
1676
  return;
1861
1677
  }
1862
- const components = ["bcm-list", "bcm-icon", "bcm-search"];
1678
+ const components = ["bcm-list", "bcm-icon", "bcm-rc-overflow", "bcm-search", "bcm-tooltip"];
1863
1679
  components.forEach(tagName => { switch (tagName) {
1864
1680
  case "bcm-list":
1865
1681
  if (!customElements.get(tagName)) {
@@ -1868,10 +1684,20 @@ function defineCustomElement$1() {
1868
1684
  break;
1869
1685
  case "bcm-icon":
1870
1686
  if (!customElements.get(tagName)) {
1871
- defineCustomElement$3();
1687
+ defineCustomElement$5();
1688
+ }
1689
+ break;
1690
+ case "bcm-rc-overflow":
1691
+ if (!customElements.get(tagName)) {
1692
+ defineCustomElement$4();
1872
1693
  }
1873
1694
  break;
1874
1695
  case "bcm-search":
1696
+ if (!customElements.get(tagName)) {
1697
+ defineCustomElement$3();
1698
+ }
1699
+ break;
1700
+ case "bcm-tooltip":
1875
1701
  if (!customElements.get(tagName)) {
1876
1702
  defineCustomElement$2();
1877
1703
  }