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
@@ -4,13 +4,13 @@
4
4
  */
5
5
  import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-39133086.js';
6
6
  import { I as IsLoad } from './is-load-decorator-bc14ec4b.js';
7
- import { J as JsonParse } from './json-parse-decarator-5f1e26d4.js';
7
+ import { J as JsonParse } from './json-parse-decarator-22e8e247.js';
8
8
  import './color-helper-e8ce23d7.js';
9
9
  import './datetime-helper-df25808a.js';
10
- import { s as snq, G as Generate } from './generate-3e284764.js';
11
- import { N as NumberHelper } from './number-helper-ca1092d7.js';
10
+ import { s as snq, G as Generate } from './generate-078b420f.js';
11
+ import { N as NumberHelper } from './number-helper-ed541ffb.js';
12
12
  import { S as StringHelper } from './string-helper-6bd24967.js';
13
- import { V as Validators } from './validators-c025ec38.js';
13
+ import { V as Validators } from './validators-f8caf3b9.js';
14
14
  import './element-dragger-89bb52fd.js';
15
15
  import { g as getPlacement, s as setPosition } from './popover-placement-78f86f15.js';
16
16
  import { p as pluralize, d as delay } from './utils-57652744.js';
@@ -21,12 +21,10 @@ import './types-6f06fa1a.js';
21
21
  import { L as LabelTemplate } from './label-template-d74fe788.js';
22
22
  import './types-9493a7ed.js';
23
23
  import { c as createStore } from './index-93e36fdb.js';
24
- import { T as Tooltip } from './tooltip-helper-d4a37741.js';
25
24
  import './colors-1d7854ea.js';
26
25
  import './colors-44c95e7e.js';
27
26
  import './_commonjsHelpers-3016b722.js';
28
27
  import './slot-template-5b2db362.js';
29
- import './floating-ui-e7341329.js';
30
28
 
31
29
  const CheckboxTemplate = ({ disabled, checked, readonly, required, indeterminate, hidden, captionType, _id }) => {
32
30
  // if ( indeterminate ) {
@@ -119,8 +117,8 @@ const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, ch
119
117
  const showSelectAll = !(treeview && searchFound > 0) && !(searchFound > 0);
120
118
  const setScrollHeight = () => {
121
119
  const itemHeight = size === 'small' ? 28 : size === 'medium' ? 36 : 48;
122
- const itemCount = searchFound >= 0 || (treeview ? items.length : totalData);
123
- let scrollHeight = itemCount * itemHeight || 0;
120
+ const itemCount = searchFound == null ? (treeview ? items.length : totalData) : searchFound;
121
+ const scrollHeight = itemCount * itemHeight || 0;
124
122
  return {
125
123
  'min-height': `${scrollHeight}px`,
126
124
  'overscroll-behavior': 'none',
@@ -197,12 +195,12 @@ const setValue = val => {
197
195
  };
198
196
  state.value.set(data.id, data);
199
197
  };
200
- const recursive = (data, options, parentId, parentIndex = '0.') => {
198
+ const recursive = (data, options, parentId, parentIndex = "0.") => {
201
199
  let recData = [];
202
200
  if (data && data.length > 0) {
203
- 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
201
+ 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
204
202
  ? { items: snq(() => recursive(item.items, options, item.id, `${parentIndex}${index}`), []) }
205
- : { items: [] }))));
203
+ : { items: [] })), { ct: `${parentIndex}${index}` })));
206
204
  }
207
205
  return recData;
208
206
  };
@@ -213,10 +211,10 @@ const getValue = id => snq(() => state.value.get(id), {});
213
211
  const calculateTotalItems = (dataSource, treeview) => {
214
212
  let total = 0;
215
213
  dataSource.forEach(item => {
216
- if (treeview || (!treeview && item.type != 'group')) {
214
+ if (treeview || (!treeview && item.type != "group")) {
217
215
  total += 1;
218
216
  }
219
- if ((treeview || (!treeview && item.type == 'group')) && item.items) {
217
+ if ((treeview || (!treeview && item.type == "group")) && item.items) {
220
218
  total += calculateTotalItems(item.items, treeview);
221
219
  }
222
220
  });
@@ -346,7 +344,7 @@ const checkedProcess = (id, item, status) => {
346
344
  const treeview = value.options.treeview;
347
345
  if (item) {
348
346
  // && !item.hidden => select all bastığımızda hidden olanları seçmemesi içindi
349
- if (treeview || (!treeview && item.type != 'group')) {
347
+ if (treeview || (!treeview && item.type != "group")) {
350
348
  if (!item.disabled) {
351
349
  if (status != undefined) {
352
350
  item.checked = status;
@@ -355,7 +353,7 @@ const checkedProcess = (id, item, status) => {
355
353
  item.checked = !item.checked;
356
354
  }
357
355
  item.itemObject.checked = item.checked;
358
- item.indeterminate = item.checked ? 'determinate' : 'uncheck';
356
+ item.indeterminate = item.checked ? "determinate" : "uncheck";
359
357
  }
360
358
  }
361
359
  if (item.items) {
@@ -382,13 +380,13 @@ const indeterminateStatus = (id, itemId, items) => {
382
380
  let allUnchecked = true;
383
381
  if (item.items) {
384
382
  item.items.map(child => {
385
- (child.checked || child.indeterminate === 'indeterminate') && (allUnchecked = false);
383
+ (child.checked || child.indeterminate === "indeterminate") && (allUnchecked = false);
386
384
  !child.checked && (allChecked = false);
387
385
  });
388
386
  }
389
- const indeterminateState = !allChecked && !allUnchecked ? 'indeterminate' : allChecked ? 'determinate' : 'uncheck';
387
+ const indeterminateState = !allChecked && !allUnchecked ? "indeterminate" : allChecked ? "determinate" : "uncheck";
390
388
  item.indeterminate = indeterminateState;
391
- item.checked = indeterminateState == 'determinate' ? true : false;
389
+ item.checked = indeterminateState == "determinate" ? true : false;
392
390
  item.itemObject.checked = item.checked;
393
391
  if (item.parentId) {
394
392
  indeterminateStatus(id, item.parentId);
@@ -495,11 +493,12 @@ const getCheckedList = (id, items) => {
495
493
  if (dataSource) {
496
494
  dataSource.forEach(item => {
497
495
  var _a;
496
+ const newItem = Object.assign(Object.assign({}, item.itemObject), { ct: item.ct });
498
497
  let foundChild = [];
499
498
  let foundItem = [];
500
499
  if (item.checked) {
501
- checkedList.push(item.itemObject);
502
- foundItem.push(Object.assign(Object.assign({}, item.itemObject), { items: [] }));
500
+ checkedList.push(newItem);
501
+ foundItem.push(Object.assign(Object.assign({}, newItem), { items: [] }));
503
502
  }
504
503
  if (item.items) {
505
504
  const found = getCheckedList(id, item.items);
@@ -512,7 +511,7 @@ const getCheckedList = (id, items) => {
512
511
  }
513
512
  if (foundChild.length > 0) {
514
513
  if (foundItem.length == 0) {
515
- foundItem.push(Object.assign(Object.assign({}, item.itemObject), { items: [] }));
514
+ foundItem.push(Object.assign(Object.assign({}, newItem), { items: [] }));
516
515
  }
517
516
  foundItem[0].items = foundChild;
518
517
  nestedResult.push(foundItem[0]);
@@ -580,10 +579,10 @@ const setClear = (id, items) => {
580
579
  var _a, _b, _c;
581
580
  item.checked && (item.checked = false);
582
581
  item.selected && (item.selected = false);
583
- item.indeterminate && (item.indeterminate = 'uncheck');
582
+ item.indeterminate && (item.indeterminate = "uncheck");
584
583
  ((_a = item.itemObject) === null || _a === void 0 ? void 0 : _a.checked) && (item.itemObject.checked = false);
585
584
  ((_b = item.itemObject) === null || _b === void 0 ? void 0 : _b.selected) && (item.itemObject.selected = false);
586
- ((_c = item.itemObject) === null || _c === void 0 ? void 0 : _c.indeterminate) && (item.itemObject.indeterminate = 'uncheck');
585
+ ((_c = item.itemObject) === null || _c === void 0 ? void 0 : _c.indeterminate) && (item.itemObject.indeterminate = "uncheck");
587
586
  if (item.items) {
588
587
  setClear(id, item.items);
589
588
  }
@@ -841,173 +840,7 @@ class ListKeyControl extends KeyControl {
841
840
  keyUp() { }
842
841
  }
843
842
 
844
- class ListTagControl {
845
- constructor(containerId, values, listId, selectedOtherTag, clearable) {
846
- this.clearable = false;
847
- this.containerId = containerId;
848
- this.values = values;
849
- this.listId = listId;
850
- this.selectedOtherTag = selectedOtherTag;
851
- this.clearable = clearable;
852
- }
853
- getTooltip(id, text) {
854
- return new Tooltip({ message: text, targetId: id, placement: 'bottom' });
855
- }
856
- tagHtmlTemplate(tag, isOtherTag = false, otherTagIsSingle = false) {
857
- return `<span class="bcm-tag__content dismissable ${!otherTagIsSingle && isOtherTag && (this.selectedOtherTag ? 'checkable checked' : '')}">
858
- <span class="value">${tag.text}</span>
859
- ${otherTagIsSingle
860
- ? ''
861
- : `
862
- <span class="right close-button" bcm-list-tag-dismiss >
863
- <bcm-icon icon="fal fa-times"></bcm-icon>
864
- </span>`}
865
- </span>`;
866
- }
867
- getContainer() {
868
- return document.getElementById(this.containerId);
869
- }
870
- getContainerWidth() {
871
- let tagContainerWidth = snq(() => document.getElementById(this.containerId).clientWidth, 0);
872
- tagContainerWidth = (this.clearable ? tagContainerWidth - 20 : tagContainerWidth) - 20;
873
- return [tagContainerWidth < 130 ? 130 : tagContainerWidth - 20, tagContainerWidth];
874
- }
875
- isClickDismiss(e) {
876
- const path = e.path || (e.composedPath && e.composedPath());
877
- const tag = path.find(element => element.attributes && element.attributes['bcm-list-tag-dismiss']);
878
- return !!tag;
879
- }
880
- onClickControl(e, id, isOtherTag = false) {
881
- const isDismiss = this.isClickDismiss(e);
882
- let tooltipId = '';
883
- if (isDismiss) {
884
- this.onClickDismiss(id);
885
- tooltipId = isOtherTag ? `bcm-list-input-tag-${this.listId}-other-tag` : `list-${this.listId}-${id}`;
886
- this.getTooltip(tooltipId, '').hide();
887
- }
888
- else {
889
- isOtherTag ? this.onClickOtherTag(id) : this.onClickTag(id);
890
- }
891
- }
892
- calculateTags() {
893
- const containerWidth = this.getContainerWidth();
894
- const virtualDom = this.getContainer();
895
- if (virtualDom) {
896
- if (this.values && this.values.length > 0) {
897
- if (containerWidth[0] > 0 && virtualDom) {
898
- virtualDom.innerHTML = '';
899
- this.values.slice(0, 50).map(value => {
900
- const tag = document.createElement('div');
901
- tag.classList.add('bcm-tag');
902
- tag.id = `list-${this.listId}-${value.id}`;
903
- // tag.title = value.tagTitle || value.text || '';
904
- tag.onmouseenter = () => this.getTooltip(`list-${this.listId}-${value.id}`, value.tagTitle || value.text || '').show();
905
- tag.onmouseleave = () => this.getTooltip(`list-${this.listId}-${value.id}`, value.tagTitle || value.text || '').hide();
906
- tag.dataset.id = value.id;
907
- tag.onclick = e => this.onClickControl(e, value.id);
908
- tag.innerHTML = this.tagHtmlTemplate(Object.assign(Object.assign({}, value), { text: StringHelper.textLimitter(value.text, 10) }));
909
- virtualDom.appendChild(tag);
910
- });
911
- let tags = virtualDom.querySelectorAll('.bcm-tag');
912
- let otherTags = [];
913
- let visibleTags = [];
914
- const checkControl = () => {
915
- const virtualDomTags = virtualDom.querySelectorAll('.bcm-tag');
916
- if (visibleTags.length === 1 && (virtualDomTags === null || virtualDomTags === void 0 ? void 0 : virtualDomTags.length) === 1) {
917
- visibleTags[0].innerHTML = this.tagHtmlTemplate({ text: '+1' }, false, true);
918
- }
919
- };
920
- let tagsWidth = Array.from(tags).reduce((acc, tag) => {
921
- const tagClientWidth = tag.clientWidth > 50 ? tag.clientWidth : 50;
922
- if (tagClientWidth > 0 && acc + tagClientWidth + 10 < containerWidth[0]) {
923
- acc += tagClientWidth + 10;
924
- visibleTags.push(tag);
925
- const checkFreeSpace = tagClientWidth > 0 && acc + tagClientWidth + 10 < containerWidth[0];
926
- !checkFreeSpace && containerWidth[1] < 70 && checkControl();
927
- }
928
- else {
929
- otherTags.push(tag);
930
- tag.remove();
931
- }
932
- return acc;
933
- }, 0);
934
- const otherTagElement = this.values.slice(visibleTags.length);
935
- const virtualDomLastElements = virtualDom.lastElementChild;
936
- const otherTagTextControl = args => {
937
- const { count, width } = args;
938
- if (count > 999)
939
- return '999+' + pluralize('item', count);
940
- if (width > 100)
941
- return `${count} ` + pluralize('item', count) + ' selected';
942
- if (width < 100)
943
- return `+${count < 10 ? count : '9'}`;
944
- };
945
- if (otherTags && otherTags.length > 0 && virtualDomLastElements && virtualDomLastElements.id !== `bcm-list-input-tag-${this.listId}-other-tag`) {
946
- otherTags.push(virtualDomLastElements);
947
- if (otherTags.length > 0) {
948
- const otherCounter = otherTagElement.length + 1;
949
- const createOthertagElement = {
950
- id: `bcm-list-input-tag-${this.listId}-other-tag`,
951
- text: otherTagTextControl({ count: otherCounter, width: containerWidth[1] }),
952
- title: snq(() => otherTags
953
- .map(tag => this.values.find(value => value.id == tag.dataset.id))
954
- .sort((a, b) => +a._i - +b._i)
955
- .slice(0, 15)
956
- .map(item => StringHelper.textLimitter(item.tagTitle || item.text, 40, true))
957
- .toString()
958
- .split(',')
959
- .join('\r\n') + (otherTags.length > 15 ? ('\r\n...') : ''), '...'),
960
- };
961
- virtualDomLastElements.remove();
962
- visibleTags = visibleTags.filter(tag => tag.id !== virtualDomLastElements.id);
963
- const hiddenTags = this.values.filter(value => !visibleTags.find(tag => tag.dataset.id == value.id)).map(value => value.id);
964
- const otherTag = document.createElement('div');
965
- const otherTagIds = hiddenTags.join(',');
966
- const otherTagIsSingle = visibleTags.length === 0;
967
- otherTag.classList.add('bcm-tag');
968
- !otherTagIsSingle && otherTag.classList.add('bcm-tag--other');
969
- otherTag.id = createOthertagElement.id;
970
- // otherTag.title = createOthertagElement.title || false;
971
- if (createOthertagElement.title) {
972
- otherTag.onmouseenter = () => this.getTooltip(createOthertagElement.id, createOthertagElement.title).show();
973
- otherTag.onmouseleave = () => this.getTooltip(createOthertagElement.id, createOthertagElement.title).hide();
974
- }
975
- otherTag.onclick = e => this.onClickControl(e, otherTagIds, otherTagIsSingle ? false : true);
976
- otherTag.innerHTML = this.tagHtmlTemplate(createOthertagElement, true, otherTagIsSingle);
977
- otherTag.dataset.ids = hiddenTags.join(',');
978
- virtualDom.appendChild(otherTag);
979
- }
980
- }
981
- const otherTag = document.getElementById(`bcm-list-input-tag-${this.listId}-other-tag`);
982
- const otherTagWidth = otherTag ? (otherTag.clientWidth && otherTag.clientWidth < 50 ? 50 : otherTag.clientWidth) : 200;
983
- const tagsPerRow = Math.floor(containerWidth[0] - tagsWidth);
984
- if (tagsPerRow > otherTagWidth) {
985
- if (otherTag) {
986
- const findElement = this.values.find(value => value.id == otherTag.dataset.ids.split(',')[0]);
987
- const tag = document.createElement('div');
988
- tag.classList.add('bcm-tag');
989
- tag.id = `list-${this.listId}-${findElement.id}`;
990
- // tag.title = findElement?.title || '';
991
- tag.onmouseenter = () => this.getTooltip(`list-${this.listId}-${findElement.id}`, (findElement === null || findElement === void 0 ? void 0 : findElement.title) || '').show();
992
- tag.onmouseleave = () => this.getTooltip(`list-${this.listId}-${findElement.id}`, (findElement === null || findElement === void 0 ? void 0 : findElement.title) || '').hide();
993
- tag.dataset.id = findElement.id;
994
- tag.onclick = e => this.onClickControl(e, findElement === null || findElement === void 0 ? void 0 : findElement.id);
995
- tag.innerHTML = this.tagHtmlTemplate(Object.assign(Object.assign({}, findElement), { text: StringHelper.textLimitter(findElement.text, 10) }));
996
- const otherTagElement = document.getElementById(`bcm-list-input-tag-${this.listId}-other-tag`);
997
- otherTagElement.remove();
998
- virtualDom.appendChild(tag);
999
- }
1000
- }
1001
- }
1002
- }
1003
- else {
1004
- virtualDom.innerHTML = '';
1005
- }
1006
- }
1007
- }
1008
- }
1009
-
1010
- 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}";
843
+ 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}";
1011
844
 
1012
845
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1013
846
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1046,12 +879,12 @@ const BcmList = class {
1046
879
  this.required = false;
1047
880
  this.hidden = false;
1048
881
  this.fullWidth = false;
1049
- this.height = '256px';
1050
- this.maxHeight = '500px';
1051
- this.minHeight = '150px';
1052
- this.width = '256px';
882
+ this.height = "256px";
883
+ this.maxHeight = "500px";
884
+ this.minHeight = "150px";
885
+ this.width = "256px";
1053
886
  this.infoFooter = false;
1054
- this.variableText = 'item';
887
+ this.variableText = "item";
1055
888
  this.template = undefined;
1056
889
  this.allOpen = false;
1057
890
  this.keyControl = false;
@@ -1062,8 +895,8 @@ const BcmList = class {
1062
895
  this.calculatedViewport = false;
1063
896
  this.isSelectedOther = false;
1064
897
  this.isHaveOtherTag = false;
1065
- this.placeholder = 'Choose an option';
1066
- this.searchPlaceholder = 'Search';
898
+ this.placeholder = "Choose an option";
899
+ this.searchPlaceholder = "Search";
1067
900
  this.searchIsOnlyChilds = false;
1068
901
  this.minSearchLength = 2;
1069
902
  this.clearable = false;
@@ -1072,7 +905,7 @@ const BcmList = class {
1072
905
  this.captionType = Bcm$1.Status.default;
1073
906
  this.captionError = undefined;
1074
907
  this.emptyText = undefined;
1075
- this.emptyIcon = 'fad fa-folder-open';
908
+ this.emptyIcon = "fad fa-folder-open";
1076
909
  this.captionCache = undefined;
1077
910
  this.captionTypeCache = undefined;
1078
911
  this.tick = {};
@@ -1085,26 +918,26 @@ const BcmList = class {
1085
918
  this.returnFilterData = {};
1086
919
  this.returnOtherData = {};
1087
920
  this.options = {
1088
- rootMargin: '30px',
921
+ rootMargin: "30px",
1089
922
  };
1090
923
  this.tagContainerWidth = 0;
1091
924
  this.selectAllItem = {
1092
- id: 'select-all',
1093
- text: 'Select All',
1094
- value: 'select-all',
925
+ id: "select-all",
926
+ text: "Select All",
927
+ value: "select-all",
1095
928
  checked: false,
1096
929
  disabled: false,
1097
- icon: '',
930
+ icon: "",
1098
931
  status: Bcm$1.Status.default,
1099
- indeterminate: 'uncheck',
932
+ indeterminate: "uncheck",
1100
933
  };
1101
- this.placement = Bcm$1.Placement['bottom-start'];
934
+ this.placement = Bcm$1.Placement["bottom-start"];
1102
935
  this.data = [];
1103
936
  }
1104
937
  connectedCallback() {
1105
- if (this.height != '256px') {
1106
- if (this.height.indexOf('px') > -1) {
1107
- 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);
1108
941
  }
1109
942
  else {
1110
943
  this.limit = Math.floor(+(window.innerHeight / 10));
@@ -1123,69 +956,39 @@ const BcmList = class {
1123
956
  this.updateOptions();
1124
957
  }
1125
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
+ }
1126
976
  async componentDidLoad() {
1127
977
  await this.initState();
1128
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
978
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1129
979
  const list = this.el.querySelector(`#bcm-list-${this._id}`);
1130
980
  if (list) {
1131
981
  document.body.appendChild(list);
1132
982
  }
1133
983
  }
1134
984
  }
1135
- tagCalculator() {
1136
- if (this.checkboxes && (this.type == 'select' || this.type == 'autocomplete')) {
1137
- const tagCalculator = new ListTagControl(`bcm-list-input-tag-container-${this._id}`, this.value, this._id, this.isSelectedOther, this.clearable);
1138
- tagCalculator.calculateTags();
1139
- const arrayIds = id => (typeof id == 'string' ? id.split(',') : [id]);
1140
- const clearAutocomplete = () => {
1141
- if (this.type == 'autocomplete') {
1142
- const autocompleteInput = this.getAutoCompleteInput();
1143
- if (autocompleteInput) {
1144
- autocompleteInput.handleClear(false);
1145
- }
1146
- }
1147
- };
1148
- tagCalculator.onClickOtherTag = async (id) => {
1149
- if (!this.disabled) {
1150
- clearAutocomplete();
1151
- if (this.isSelectedOther) {
1152
- await this.unSelectOther();
1153
- }
1154
- else {
1155
- await this.onClearSearch();
1156
- this.isSelectedOther = true;
1157
- this.filterOtherList(arrayIds(id));
1158
- this.isOpen = true;
1159
- }
1160
- this.onSelectSearch();
1161
- }
1162
- };
1163
- tagCalculator.onClickTag = _ => {
1164
- // console.log(id);
1165
- clearAutocomplete();
1166
- this.onSelectSearch();
1167
- this.unSelectOther();
1168
- };
1169
- tagCalculator.onClickDismiss = async (id) => {
1170
- var _a;
1171
- if (!this.disabled) {
1172
- if (this.isSelectedOther) {
1173
- await this.unSelectOther();
1174
- }
1175
- arrayIds(id).length > 1 ? listState.removeOtherTags(this._id, arrayIds(id)) : listState.checkedItem(this._id, arrayIds(id)[0]);
1176
- this.value = (await this.getCheckedList()).checkedList;
1177
- this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
1178
- }
1179
- };
1180
- }
1181
- }
1182
985
  disconnectedCallback() {
1183
986
  this.isOpen = false;
1184
987
  if (this.stopDeepClean)
1185
988
  return;
1186
989
  listState.removeState(this._id);
1187
- this.el.innerHTML = '';
1188
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
990
+ this.el.innerHTML = "";
991
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1189
992
  const list = document.querySelectorAll(`#bcm-list-${this._id}`);
1190
993
  if (list === null || list === void 0 ? void 0 : list.length) {
1191
994
  list.forEach(item => item.remove());
@@ -1210,11 +1013,10 @@ const BcmList = class {
1210
1013
  }
1211
1014
  }
1212
1015
  else {
1213
- 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)) {
1214
1017
  this.change.emit(this.value);
1215
1018
  }
1216
1019
  }
1217
- this.tagCalculator();
1218
1020
  }
1219
1021
  watchReturnFilterData(newVal) {
1220
1022
  var _a;
@@ -1226,18 +1028,6 @@ const BcmList = class {
1226
1028
  this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
1227
1029
  }
1228
1030
  }
1229
- handleOtherSelected(newValue) {
1230
- var _a;
1231
- const tagContent = (_a = document.getElementById(`bcm-list-input-tag-${this._id}-other-tag`)) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-tag__content');
1232
- if (tagContent) {
1233
- if (newValue === true) {
1234
- tagContent.classList.add('checkable', 'checked');
1235
- }
1236
- else {
1237
- tagContent.classList.remove('checkable', 'checked');
1238
- }
1239
- }
1240
- }
1241
1031
  async handleOpen() {
1242
1032
  if (this.isOpen) {
1243
1033
  this.open.emit();
@@ -1254,7 +1044,7 @@ const BcmList = class {
1254
1044
  listScrollToTop() {
1255
1045
  const list = document.querySelector(`#bcm-list-${this._id}`);
1256
1046
  if (list) {
1257
- list.querySelector('.scrolling').scrollTop = 0;
1047
+ list.querySelector(".scrolling").scrollTop = 0;
1258
1048
  }
1259
1049
  }
1260
1050
  async dataChanged(newValue, oldValue) {
@@ -1288,7 +1078,7 @@ const BcmList = class {
1288
1078
  const list = document.querySelector(`#bcm-list-${this._id}`);
1289
1079
  const isClickInside = list && Generate.findEventPath(event, list);
1290
1080
  if (isClickInside) {
1291
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
1081
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1292
1082
  this.calculateLocation();
1293
1083
  }
1294
1084
  }
@@ -1297,6 +1087,41 @@ const BcmList = class {
1297
1087
  }
1298
1088
  }
1299
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
+ }
1300
1125
  handleClick(event) {
1301
1126
  var _a;
1302
1127
  if (this.disabled)
@@ -1315,23 +1140,23 @@ const BcmList = class {
1315
1140
  }, 300);
1316
1141
  }
1317
1142
  if (!isClickInside) {
1318
- if (this.type == 'autocomplete') {
1143
+ if (this.type == "autocomplete") {
1319
1144
  const autocompleteInput = this.getAutoCompleteInput();
1320
1145
  if (autocompleteInput) {
1321
1146
  if (this.checkboxes) {
1322
- autocompleteInput.setValue('');
1147
+ autocompleteInput.setValue("");
1323
1148
  }
1324
1149
  else {
1325
- 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) || "");
1326
1151
  }
1327
1152
  }
1328
1153
  }
1329
1154
  }
1330
- const clickToTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag']);
1331
- const clickToOtherTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag bcm-tag--other']);
1332
- const clickToSelect = Generate.findEventPathWithKey(event, 'id', [`bcm-list-input-${this._id}`, `bcm-list-label-${this._id}`]);
1333
- const clickToTagDismiss = Generate.findEventPathWithKey(event, 'className', ['right close-button']);
1334
- 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") {
1335
1160
  this.isOpen = clickToTag || clickToOtherTag ? true : !this.isOpen;
1336
1161
  }
1337
1162
  if (list) {
@@ -1345,7 +1170,7 @@ const BcmList = class {
1345
1170
  }
1346
1171
  bcmOnSearchClear(event) {
1347
1172
  var _a, _b;
1348
- if (this.type == 'autocomplete') {
1173
+ if (this.type == "autocomplete") {
1349
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`) {
1350
1175
  if (event.detail) {
1351
1176
  this.setClear();
@@ -1363,16 +1188,13 @@ const BcmList = class {
1363
1188
  if (this.searchFound > 0 && this.highlight) {
1364
1189
  this.highlightText = (_f = event.detail) === null || _f === void 0 ? void 0 : _f.value;
1365
1190
  }
1366
- if (this.type == 'autocomplete') {
1191
+ if (this.type == "autocomplete") {
1367
1192
  this.isOpen = true;
1368
1193
  }
1369
1194
  if (!event.detail.result) {
1370
- if (this.type == 'autocomplete') {
1195
+ if (this.type == "autocomplete") {
1371
1196
  this.isOpen = false;
1372
1197
  }
1373
- if (this.isSelectedOther) {
1374
- this.filterOtherList(this.otherTagIds());
1375
- }
1376
1198
  else {
1377
1199
  this.returnFilterData = {};
1378
1200
  listState.filterData(this._id, null);
@@ -1412,9 +1234,9 @@ const BcmList = class {
1412
1234
  if (focusedList) {
1413
1235
  const list = document.getElementById(`bcm-list-${this._id}`);
1414
1236
  if (list) {
1415
- const items = list.querySelectorAll('.bcm-list__item.focused');
1237
+ const items = list.querySelectorAll(".bcm-list__item.focused");
1416
1238
  if (items.length > 0) {
1417
- const main = list.querySelector('main');
1239
+ const main = list.querySelector("main");
1418
1240
  const itemHeight = items[0].offsetHeight;
1419
1241
  const listHeight = main.offsetHeight;
1420
1242
  const itemTop = items[0].offsetTop;
@@ -1434,7 +1256,7 @@ const BcmList = class {
1434
1256
  if (Array.isArray(data)) {
1435
1257
  this.addChecked(data);
1436
1258
  }
1437
- if (typeof data === 'string' || typeof data === 'number') {
1259
+ if (typeof data === "string" || typeof data === "number") {
1438
1260
  this.selectedItem(data);
1439
1261
  }
1440
1262
  }
@@ -1477,10 +1299,9 @@ const BcmList = class {
1477
1299
  async setClear(e) {
1478
1300
  listState.setClear(this._id);
1479
1301
  this.value = null;
1480
- this.inputText = '';
1302
+ this.inputText = "";
1481
1303
  this.isOpen = false;
1482
- this.selectAllItem.indeterminate = 'uncheck';
1483
- this.tagCalculator();
1304
+ this.selectAllItem.indeterminate = "uncheck";
1484
1305
  this.markForCheck();
1485
1306
  if (e) {
1486
1307
  e.stopPropagation();
@@ -1509,10 +1330,9 @@ const BcmList = class {
1509
1330
  listState.updateOptions(this._id, this);
1510
1331
  }
1511
1332
  handleIndeterminate(checkeds, total) {
1512
- 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 });
1513
1334
  }
1514
1335
  listenResize() {
1515
- this.tagCalculator();
1516
1336
  this.calculateLocation();
1517
1337
  this.markForCheck();
1518
1338
  }
@@ -1540,12 +1360,6 @@ const BcmList = class {
1540
1360
  searchInput.onBcmSelect();
1541
1361
  }
1542
1362
  }
1543
- otherTagIds() {
1544
- const otherTag = document.querySelector(`#bcm-list-input-tag-${this._id}-other-tag`);
1545
- if (otherTag) {
1546
- return otherTag.getAttribute('data-ids').split(',');
1547
- }
1548
- }
1549
1363
  async filterOtherList(ids) {
1550
1364
  const checklist = (await this.getCheckedList()).nestedResult;
1551
1365
  const filter = Generate.convertIdsToNestedData(ids, checklist);
@@ -1561,7 +1375,7 @@ const BcmList = class {
1561
1375
  this.onClearSearch();
1562
1376
  await listState.setValue({
1563
1377
  id: this._id,
1564
- 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), []),
1565
1379
  options: this,
1566
1380
  });
1567
1381
  const { totalRoots, totalItems } = listState.getValue(this._id);
@@ -1593,7 +1407,7 @@ const BcmList = class {
1593
1407
  }
1594
1408
  getItems() {
1595
1409
  if (this.isSelectedOther) {
1596
- return this.returnFilterData['checkedItems'];
1410
+ return this.returnFilterData["checkedItems"];
1597
1411
  }
1598
1412
  return snq(() => listState.getData(this._id), []);
1599
1413
  }
@@ -1605,17 +1419,17 @@ const BcmList = class {
1605
1419
  this.markForCheck();
1606
1420
  }
1607
1421
  focusItem(e) {
1608
- if (e.target.classList.contains('bcm-list__item')) {
1422
+ if (e.target.classList.contains("bcm-list__item")) {
1609
1423
  const item = e.target;
1610
1424
  const list = document.getElementById(`bcm-list-${this._id}`);
1611
1425
  if (list) {
1612
- const items = list.querySelectorAll('.bcm-list__item');
1426
+ const items = list.querySelectorAll(".bcm-list__item");
1613
1427
  if (items.length > 0) {
1614
- const selectedItem = list.querySelector('.bcm-list__item.focused');
1428
+ const selectedItem = list.querySelector(".bcm-list__item.focused");
1615
1429
  if (selectedItem) {
1616
- selectedItem.classList.remove('focused');
1430
+ selectedItem.classList.remove("focused");
1617
1431
  }
1618
- item.classList.add('focused');
1432
+ item.classList.add("focused");
1619
1433
  }
1620
1434
  }
1621
1435
  }
@@ -1627,14 +1441,14 @@ const BcmList = class {
1627
1441
  this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
1628
1442
  this.isOpen = false;
1629
1443
  this.markForCheck();
1630
- if (this.type == 'autocomplete' && this.value) {
1444
+ if (this.type == "autocomplete" && this.value) {
1631
1445
  // await delay(100)
1632
1446
  // this.resetCaption()
1633
1447
  const autocompleteInput = this.getAutoCompleteInput();
1634
1448
  if (autocompleteInput) {
1635
1449
  setTimeout(() => {
1636
1450
  var _a;
1637
- 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) || "");
1638
1452
  this.isOpen = false;
1639
1453
  }, 100);
1640
1454
  }
@@ -1643,7 +1457,7 @@ const BcmList = class {
1643
1457
  return Promise.resolve(this.value);
1644
1458
  }
1645
1459
  async checkedItem(itemId) {
1646
- const isCheckSelectAll = itemId === 'select-all';
1460
+ const isCheckSelectAll = itemId === "select-all";
1647
1461
  if (!isCheckSelectAll) {
1648
1462
  listState.checkedItem(this._id, itemId);
1649
1463
  }
@@ -1681,7 +1495,7 @@ const BcmList = class {
1681
1495
  }
1682
1496
  async calculateLocation() {
1683
1497
  var _a, _b;
1684
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
1498
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1685
1499
  const list = document.getElementById(`bcm-list-${this._id}`);
1686
1500
  // list && (list.style.height = '256px') //sebebi neydi ki!
1687
1501
  var placement = this.placement;
@@ -1696,85 +1510,84 @@ const BcmList = class {
1696
1510
  if (this.linkedComponent) {
1697
1511
  const linked = document.getElementById(this.linkedComponent);
1698
1512
  if (linked) {
1699
- if (!linked['noCaption']) {
1700
- 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");
1701
1515
  if (captionArea) {
1702
1516
  captionAreaHeight = captionArea.offsetHeight || captionArea.clientHeight;
1703
1517
  }
1704
1518
  }
1705
- 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");
1706
1520
  if (labelArea) {
1707
1521
  labelAreaHeight = labelArea.offsetHeight || labelArea.clientHeight;
1708
1522
  }
1709
1523
  }
1710
1524
  }
1711
1525
  if (this.fullWidth) {
1712
- list.style.width = targetElement.offsetWidth + 'px';
1526
+ list.style.width = targetElement.offsetWidth + "px";
1713
1527
  }
1714
1528
  else {
1715
- list.style.width = this.width || 'auto';
1529
+ list.style.width = this.width || "auto";
1716
1530
  }
1717
- if (this.height.indexOf('%') > -1) {
1718
- 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";
1719
1533
  }
1720
1534
  else {
1721
1535
  list.style.height = this.height;
1722
1536
  }
1723
1537
  list.style.minHeight = this.minHeight;
1724
1538
  // const calculatedMaxHeight = window.innerHeight - pos[0] - 50;
1725
- const calculatedMaxHeight = placement.split('-')[0] == 'top' ? window.innerHeight - (window.innerHeight - pos[0]) - 50 : window.innerHeight - pos[0] - 50;
1726
- if (this.maxHeight.indexOf('%') > -1) {
1727
- 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";
1728
1542
  }
1729
1543
  else {
1730
- 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";
1731
1545
  }
1732
1546
  getPlacement(list, targetElement, placement, (place) => (placement = place));
1733
1547
  await delay(10);
1734
1548
  pos = setPosition(placement, targetElement);
1735
- 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";
1736
1550
  // list.style.left = pos[1] + 'px';
1737
- list.style.left = placement.split('-')[1] == 'end' ? pos[1] - list.offsetWidth + 'px' : pos[1] + 'px';
1738
- 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");
1739
1553
  this.calculatedViewport = true;
1740
1554
  }
1741
1555
  }
1742
1556
  }
1743
1557
  render() {
1744
1558
  const { checkboxes, treeview, label, size, disabled, readonly, required, hidden, fullWidth, searchable } = this.getOptions();
1745
- const hostClasses = classnames('bcm-list', `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === 'large' ? 'size-3' : 'size-2', {
1746
- 'error': this.captionType == Bcm$1.Status.error,
1747
- 'full-width': fullWidth,
1748
- '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,
1749
1563
  hidden,
1750
1564
  readonly,
1751
1565
  disabled,
1752
1566
  });
1753
- const bcmListContainer = classnames('bcm-list__container', this.linkedComponent ? 'bcm-list__type-linked-component' : `bcm-list__type-${this.type}`, {
1754
- 'is-open': this.isOpen && this.calculatedViewport,
1755
- 'error': this.captionType == Bcm$1.Status.error,
1756
- '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,
1757
1571
  hidden,
1758
1572
  readonly,
1759
1573
  disabled,
1760
1574
  });
1761
- const bcmListInput = classnames('bcm-list__input');
1762
- 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;
1763
1577
  return (h(Host, { class: hostClasses, tabindex: "0", style: {
1764
- '--width': fullWidth ? '100%' : this.width,
1765
- '--height': openedType ? '100%' : this.height,
1766
- '--max-height': openedType ? 'inherit' : this.maxHeight,
1767
- '--min-height': openedType ? 'inherit' : this.minHeight,
1768
- } }, 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", {
1769
1583
  disabled: disabled,
1770
- }) }, 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 })));
1771
1585
  }
1772
1586
  get el() { return getElement(this); }
1773
1587
  static get watchers() { return {
1774
1588
  "_id": ["watchId"],
1775
1589
  "value": ["handleValueChange"],
1776
1590
  "returnFilterData": ["watchReturnFilterData"],
1777
- "isSelectedOther": ["handleOtherSelected"],
1778
1591
  "isOpen": ["handleOpen"],
1779
1592
  "data": ["dataChanged"]
1780
1593
  }; }
@@ -1783,7 +1596,7 @@ __decorate([
1783
1596
  IsLoad()
1784
1597
  ], BcmList.prototype, "el", void 0);
1785
1598
  __decorate([
1786
- JsonParse('data', true)
1599
+ JsonParse("data", true)
1787
1600
  ], BcmList.prototype, "dataChanged", null);
1788
1601
  BcmList.style = listCss;
1789
1602