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
@@ -8,13 +8,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index$1 = require('./index-ddfd6d8f.js');
10
10
  const isLoadDecorator = require('./is-load-decorator-137dded1.js');
11
- const jsonParseDecarator = require('./json-parse-decarator-661924f2.js');
11
+ const jsonParseDecarator = require('./json-parse-decarator-6a4b6957.js');
12
12
  require('./color-helper-d6d2028b.js');
13
13
  require('./datetime-helper-eaf4fadb.js');
14
- const generate = require('./generate-411c1529.js');
15
- const numberHelper = require('./number-helper-91446798.js');
14
+ const generate = require('./generate-fbd410e1.js');
15
+ const numberHelper = require('./number-helper-4d112085.js');
16
16
  const stringHelper = require('./string-helper-45cffee0.js');
17
- const validators = require('./validators-c131b7c6.js');
17
+ const validators = require('./validators-d4b3d110.js');
18
18
  require('./element-dragger-a8562f82.js');
19
19
  const popoverPlacement = require('./popover-placement-3c8f3a72.js');
20
20
  const utils = require('./utils-fc077139.js');
@@ -25,12 +25,10 @@ require('./types-cc4adee7.js');
25
25
  const labelTemplate = require('./label-template-cc69bc21.js');
26
26
  require('./types-7523fd99.js');
27
27
  const index$2 = require('./index-4506fcd7.js');
28
- const tooltipHelper = require('./tooltip-helper-dee255e9.js');
29
28
  require('./colors-56282b00.js');
30
29
  require('./colors-e1d142ad.js');
31
30
  require('./_commonjsHelpers-bd20f4c0.js');
32
31
  require('./slot-template-3e59d7d8.js');
33
- require('./floating-ui-74eb26d6.js');
34
32
 
35
33
  const CheckboxTemplate = ({ disabled, checked, readonly, required, indeterminate, hidden, captionType, _id }) => {
36
34
  // if ( indeterminate ) {
@@ -123,8 +121,8 @@ const ListTemplate = ({ highlight, selectAllItem, bcmListContainer, treeview, ch
123
121
  const showSelectAll = !(treeview && searchFound > 0) && !(searchFound > 0);
124
122
  const setScrollHeight = () => {
125
123
  const itemHeight = size === 'small' ? 28 : size === 'medium' ? 36 : 48;
126
- const itemCount = searchFound >= 0 || (treeview ? items.length : totalData);
127
- let scrollHeight = itemCount * itemHeight || 0;
124
+ const itemCount = searchFound == null ? (treeview ? items.length : totalData) : searchFound;
125
+ const scrollHeight = itemCount * itemHeight || 0;
128
126
  return {
129
127
  'min-height': `${scrollHeight}px`,
130
128
  'overscroll-behavior': 'none',
@@ -201,12 +199,12 @@ const setValue = val => {
201
199
  };
202
200
  state.value.set(data.id, data);
203
201
  };
204
- const recursive = (data, options, parentId, parentIndex = '0.') => {
202
+ const recursive = (data, options, parentId, parentIndex = "0.") => {
205
203
  let recData = [];
206
204
  if (data && data.length > 0) {
207
- 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: generate.snq(() => parentId, null), open: options.allOpen || item.open || false }), ((options.treeview || (!options.treeview && item.type == 'group')) && item.items && item.items.length > 0
205
+ recData = data.map((item, index) => (Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ itemObject: item }, item), options), { parentId: generate.snq(() => parentId, null), open: options.allOpen || item.open || false }), ((options.treeview || (!options.treeview && item.type == 'group')) && item.items && item.items.length > 0
208
206
  ? { items: generate.snq(() => recursive(item.items, options, item.id, `${parentIndex}${index}`), []) }
209
- : { items: [] }))));
207
+ : { items: [] })), { ct: `${parentIndex}${index}` })));
210
208
  }
211
209
  return recData;
212
210
  };
@@ -217,10 +215,10 @@ const getValue = id => generate.snq(() => state.value.get(id), {});
217
215
  const calculateTotalItems = (dataSource, treeview) => {
218
216
  let total = 0;
219
217
  dataSource.forEach(item => {
220
- if (treeview || (!treeview && item.type != 'group')) {
218
+ if (treeview || (!treeview && item.type != "group")) {
221
219
  total += 1;
222
220
  }
223
- if ((treeview || (!treeview && item.type == 'group')) && item.items) {
221
+ if ((treeview || (!treeview && item.type == "group")) && item.items) {
224
222
  total += calculateTotalItems(item.items, treeview);
225
223
  }
226
224
  });
@@ -350,7 +348,7 @@ const checkedProcess = (id, item, status) => {
350
348
  const treeview = value.options.treeview;
351
349
  if (item) {
352
350
  // && !item.hidden => select all bastığımızda hidden olanları seçmemesi içindi
353
- if (treeview || (!treeview && item.type != 'group')) {
351
+ if (treeview || (!treeview && item.type != "group")) {
354
352
  if (!item.disabled) {
355
353
  if (status != undefined) {
356
354
  item.checked = status;
@@ -359,7 +357,7 @@ const checkedProcess = (id, item, status) => {
359
357
  item.checked = !item.checked;
360
358
  }
361
359
  item.itemObject.checked = item.checked;
362
- item.indeterminate = item.checked ? 'determinate' : 'uncheck';
360
+ item.indeterminate = item.checked ? "determinate" : "uncheck";
363
361
  }
364
362
  }
365
363
  if (item.items) {
@@ -386,13 +384,13 @@ const indeterminateStatus = (id, itemId, items) => {
386
384
  let allUnchecked = true;
387
385
  if (item.items) {
388
386
  item.items.map(child => {
389
- (child.checked || child.indeterminate === 'indeterminate') && (allUnchecked = false);
387
+ (child.checked || child.indeterminate === "indeterminate") && (allUnchecked = false);
390
388
  !child.checked && (allChecked = false);
391
389
  });
392
390
  }
393
- const indeterminateState = !allChecked && !allUnchecked ? 'indeterminate' : allChecked ? 'determinate' : 'uncheck';
391
+ const indeterminateState = !allChecked && !allUnchecked ? "indeterminate" : allChecked ? "determinate" : "uncheck";
394
392
  item.indeterminate = indeterminateState;
395
- item.checked = indeterminateState == 'determinate' ? true : false;
393
+ item.checked = indeterminateState == "determinate" ? true : false;
396
394
  item.itemObject.checked = item.checked;
397
395
  if (item.parentId) {
398
396
  indeterminateStatus(id, item.parentId);
@@ -499,11 +497,12 @@ const getCheckedList = (id, items) => {
499
497
  if (dataSource) {
500
498
  dataSource.forEach(item => {
501
499
  var _a;
500
+ const newItem = Object.assign(Object.assign({}, item.itemObject), { ct: item.ct });
502
501
  let foundChild = [];
503
502
  let foundItem = [];
504
503
  if (item.checked) {
505
- checkedList.push(item.itemObject);
506
- foundItem.push(Object.assign(Object.assign({}, item.itemObject), { items: [] }));
504
+ checkedList.push(newItem);
505
+ foundItem.push(Object.assign(Object.assign({}, newItem), { items: [] }));
507
506
  }
508
507
  if (item.items) {
509
508
  const found = getCheckedList(id, item.items);
@@ -516,7 +515,7 @@ const getCheckedList = (id, items) => {
516
515
  }
517
516
  if (foundChild.length > 0) {
518
517
  if (foundItem.length == 0) {
519
- foundItem.push(Object.assign(Object.assign({}, item.itemObject), { items: [] }));
518
+ foundItem.push(Object.assign(Object.assign({}, newItem), { items: [] }));
520
519
  }
521
520
  foundItem[0].items = foundChild;
522
521
  nestedResult.push(foundItem[0]);
@@ -584,10 +583,10 @@ const setClear = (id, items) => {
584
583
  var _a, _b, _c;
585
584
  item.checked && (item.checked = false);
586
585
  item.selected && (item.selected = false);
587
- item.indeterminate && (item.indeterminate = 'uncheck');
586
+ item.indeterminate && (item.indeterminate = "uncheck");
588
587
  ((_a = item.itemObject) === null || _a === void 0 ? void 0 : _a.checked) && (item.itemObject.checked = false);
589
588
  ((_b = item.itemObject) === null || _b === void 0 ? void 0 : _b.selected) && (item.itemObject.selected = false);
590
- ((_c = item.itemObject) === null || _c === void 0 ? void 0 : _c.indeterminate) && (item.itemObject.indeterminate = 'uncheck');
589
+ ((_c = item.itemObject) === null || _c === void 0 ? void 0 : _c.indeterminate) && (item.itemObject.indeterminate = "uncheck");
591
590
  if (item.items) {
592
591
  setClear(id, item.items);
593
592
  }
@@ -845,173 +844,7 @@ class ListKeyControl extends KeyControl {
845
844
  keyUp() { }
846
845
  }
847
846
 
848
- class ListTagControl {
849
- constructor(containerId, values, listId, selectedOtherTag, clearable) {
850
- this.clearable = false;
851
- this.containerId = containerId;
852
- this.values = values;
853
- this.listId = listId;
854
- this.selectedOtherTag = selectedOtherTag;
855
- this.clearable = clearable;
856
- }
857
- getTooltip(id, text) {
858
- return new tooltipHelper.Tooltip({ message: text, targetId: id, placement: 'bottom' });
859
- }
860
- tagHtmlTemplate(tag, isOtherTag = false, otherTagIsSingle = false) {
861
- return `<span class="bcm-tag__content dismissable ${!otherTagIsSingle && isOtherTag && (this.selectedOtherTag ? 'checkable checked' : '')}">
862
- <span class="value">${tag.text}</span>
863
- ${otherTagIsSingle
864
- ? ''
865
- : `
866
- <span class="right close-button" bcm-list-tag-dismiss >
867
- <bcm-icon icon="fal fa-times"></bcm-icon>
868
- </span>`}
869
- </span>`;
870
- }
871
- getContainer() {
872
- return document.getElementById(this.containerId);
873
- }
874
- getContainerWidth() {
875
- let tagContainerWidth = generate.snq(() => document.getElementById(this.containerId).clientWidth, 0);
876
- tagContainerWidth = (this.clearable ? tagContainerWidth - 20 : tagContainerWidth) - 20;
877
- return [tagContainerWidth < 130 ? 130 : tagContainerWidth - 20, tagContainerWidth];
878
- }
879
- isClickDismiss(e) {
880
- const path = e.path || (e.composedPath && e.composedPath());
881
- const tag = path.find(element => element.attributes && element.attributes['bcm-list-tag-dismiss']);
882
- return !!tag;
883
- }
884
- onClickControl(e, id, isOtherTag = false) {
885
- const isDismiss = this.isClickDismiss(e);
886
- let tooltipId = '';
887
- if (isDismiss) {
888
- this.onClickDismiss(id);
889
- tooltipId = isOtherTag ? `bcm-list-input-tag-${this.listId}-other-tag` : `list-${this.listId}-${id}`;
890
- this.getTooltip(tooltipId, '').hide();
891
- }
892
- else {
893
- isOtherTag ? this.onClickOtherTag(id) : this.onClickTag(id);
894
- }
895
- }
896
- calculateTags() {
897
- const containerWidth = this.getContainerWidth();
898
- const virtualDom = this.getContainer();
899
- if (virtualDom) {
900
- if (this.values && this.values.length > 0) {
901
- if (containerWidth[0] > 0 && virtualDom) {
902
- virtualDom.innerHTML = '';
903
- this.values.slice(0, 50).map(value => {
904
- const tag = document.createElement('div');
905
- tag.classList.add('bcm-tag');
906
- tag.id = `list-${this.listId}-${value.id}`;
907
- // tag.title = value.tagTitle || value.text || '';
908
- tag.onmouseenter = () => this.getTooltip(`list-${this.listId}-${value.id}`, value.tagTitle || value.text || '').show();
909
- tag.onmouseleave = () => this.getTooltip(`list-${this.listId}-${value.id}`, value.tagTitle || value.text || '').hide();
910
- tag.dataset.id = value.id;
911
- tag.onclick = e => this.onClickControl(e, value.id);
912
- tag.innerHTML = this.tagHtmlTemplate(Object.assign(Object.assign({}, value), { text: stringHelper.StringHelper.textLimitter(value.text, 10) }));
913
- virtualDom.appendChild(tag);
914
- });
915
- let tags = virtualDom.querySelectorAll('.bcm-tag');
916
- let otherTags = [];
917
- let visibleTags = [];
918
- const checkControl = () => {
919
- const virtualDomTags = virtualDom.querySelectorAll('.bcm-tag');
920
- if (visibleTags.length === 1 && (virtualDomTags === null || virtualDomTags === void 0 ? void 0 : virtualDomTags.length) === 1) {
921
- visibleTags[0].innerHTML = this.tagHtmlTemplate({ text: '+1' }, false, true);
922
- }
923
- };
924
- let tagsWidth = Array.from(tags).reduce((acc, tag) => {
925
- const tagClientWidth = tag.clientWidth > 50 ? tag.clientWidth : 50;
926
- if (tagClientWidth > 0 && acc + tagClientWidth + 10 < containerWidth[0]) {
927
- acc += tagClientWidth + 10;
928
- visibleTags.push(tag);
929
- const checkFreeSpace = tagClientWidth > 0 && acc + tagClientWidth + 10 < containerWidth[0];
930
- !checkFreeSpace && containerWidth[1] < 70 && checkControl();
931
- }
932
- else {
933
- otherTags.push(tag);
934
- tag.remove();
935
- }
936
- return acc;
937
- }, 0);
938
- const otherTagElement = this.values.slice(visibleTags.length);
939
- const virtualDomLastElements = virtualDom.lastElementChild;
940
- const otherTagTextControl = args => {
941
- const { count, width } = args;
942
- if (count > 999)
943
- return '999+' + utils.pluralize('item', count);
944
- if (width > 100)
945
- return `${count} ` + utils.pluralize('item', count) + ' selected';
946
- if (width < 100)
947
- return `+${count < 10 ? count : '9'}`;
948
- };
949
- if (otherTags && otherTags.length > 0 && virtualDomLastElements && virtualDomLastElements.id !== `bcm-list-input-tag-${this.listId}-other-tag`) {
950
- otherTags.push(virtualDomLastElements);
951
- if (otherTags.length > 0) {
952
- const otherCounter = otherTagElement.length + 1;
953
- const createOthertagElement = {
954
- id: `bcm-list-input-tag-${this.listId}-other-tag`,
955
- text: otherTagTextControl({ count: otherCounter, width: containerWidth[1] }),
956
- title: generate.snq(() => otherTags
957
- .map(tag => this.values.find(value => value.id == tag.dataset.id))
958
- .sort((a, b) => +a._i - +b._i)
959
- .slice(0, 15)
960
- .map(item => stringHelper.StringHelper.textLimitter(item.tagTitle || item.text, 40, true))
961
- .toString()
962
- .split(',')
963
- .join('\r\n') + (otherTags.length > 15 ? ('\r\n...') : ''), '...'),
964
- };
965
- virtualDomLastElements.remove();
966
- visibleTags = visibleTags.filter(tag => tag.id !== virtualDomLastElements.id);
967
- const hiddenTags = this.values.filter(value => !visibleTags.find(tag => tag.dataset.id == value.id)).map(value => value.id);
968
- const otherTag = document.createElement('div');
969
- const otherTagIds = hiddenTags.join(',');
970
- const otherTagIsSingle = visibleTags.length === 0;
971
- otherTag.classList.add('bcm-tag');
972
- !otherTagIsSingle && otherTag.classList.add('bcm-tag--other');
973
- otherTag.id = createOthertagElement.id;
974
- // otherTag.title = createOthertagElement.title || false;
975
- if (createOthertagElement.title) {
976
- otherTag.onmouseenter = () => this.getTooltip(createOthertagElement.id, createOthertagElement.title).show();
977
- otherTag.onmouseleave = () => this.getTooltip(createOthertagElement.id, createOthertagElement.title).hide();
978
- }
979
- otherTag.onclick = e => this.onClickControl(e, otherTagIds, otherTagIsSingle ? false : true);
980
- otherTag.innerHTML = this.tagHtmlTemplate(createOthertagElement, true, otherTagIsSingle);
981
- otherTag.dataset.ids = hiddenTags.join(',');
982
- virtualDom.appendChild(otherTag);
983
- }
984
- }
985
- const otherTag = document.getElementById(`bcm-list-input-tag-${this.listId}-other-tag`);
986
- const otherTagWidth = otherTag ? (otherTag.clientWidth && otherTag.clientWidth < 50 ? 50 : otherTag.clientWidth) : 200;
987
- const tagsPerRow = Math.floor(containerWidth[0] - tagsWidth);
988
- if (tagsPerRow > otherTagWidth) {
989
- if (otherTag) {
990
- const findElement = this.values.find(value => value.id == otherTag.dataset.ids.split(',')[0]);
991
- const tag = document.createElement('div');
992
- tag.classList.add('bcm-tag');
993
- tag.id = `list-${this.listId}-${findElement.id}`;
994
- // tag.title = findElement?.title || '';
995
- tag.onmouseenter = () => this.getTooltip(`list-${this.listId}-${findElement.id}`, (findElement === null || findElement === void 0 ? void 0 : findElement.title) || '').show();
996
- tag.onmouseleave = () => this.getTooltip(`list-${this.listId}-${findElement.id}`, (findElement === null || findElement === void 0 ? void 0 : findElement.title) || '').hide();
997
- tag.dataset.id = findElement.id;
998
- tag.onclick = e => this.onClickControl(e, findElement === null || findElement === void 0 ? void 0 : findElement.id);
999
- tag.innerHTML = this.tagHtmlTemplate(Object.assign(Object.assign({}, findElement), { text: stringHelper.StringHelper.textLimitter(findElement.text, 10) }));
1000
- const otherTagElement = document.getElementById(`bcm-list-input-tag-${this.listId}-other-tag`);
1001
- otherTagElement.remove();
1002
- virtualDom.appendChild(tag);
1003
- }
1004
- }
1005
- }
1006
- }
1007
- else {
1008
- virtualDom.innerHTML = '';
1009
- }
1010
- }
1011
- }
1012
- }
1013
-
1014
- 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}";
847
+ 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}";
1015
848
 
1016
849
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
1017
850
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -1050,12 +883,12 @@ const BcmList = class {
1050
883
  this.required = false;
1051
884
  this.hidden = false;
1052
885
  this.fullWidth = false;
1053
- this.height = '256px';
1054
- this.maxHeight = '500px';
1055
- this.minHeight = '150px';
1056
- this.width = '256px';
886
+ this.height = "256px";
887
+ this.maxHeight = "500px";
888
+ this.minHeight = "150px";
889
+ this.width = "256px";
1057
890
  this.infoFooter = false;
1058
- this.variableText = 'item';
891
+ this.variableText = "item";
1059
892
  this.template = undefined;
1060
893
  this.allOpen = false;
1061
894
  this.keyControl = false;
@@ -1066,8 +899,8 @@ const BcmList = class {
1066
899
  this.calculatedViewport = false;
1067
900
  this.isSelectedOther = false;
1068
901
  this.isHaveOtherTag = false;
1069
- this.placeholder = 'Choose an option';
1070
- this.searchPlaceholder = 'Search';
902
+ this.placeholder = "Choose an option";
903
+ this.searchPlaceholder = "Search";
1071
904
  this.searchIsOnlyChilds = false;
1072
905
  this.minSearchLength = 2;
1073
906
  this.clearable = false;
@@ -1076,7 +909,7 @@ const BcmList = class {
1076
909
  this.captionType = bcm.Bcm$1.Status.default;
1077
910
  this.captionError = undefined;
1078
911
  this.emptyText = undefined;
1079
- this.emptyIcon = 'fad fa-folder-open';
912
+ this.emptyIcon = "fad fa-folder-open";
1080
913
  this.captionCache = undefined;
1081
914
  this.captionTypeCache = undefined;
1082
915
  this.tick = {};
@@ -1089,26 +922,26 @@ const BcmList = class {
1089
922
  this.returnFilterData = {};
1090
923
  this.returnOtherData = {};
1091
924
  this.options = {
1092
- rootMargin: '30px',
925
+ rootMargin: "30px",
1093
926
  };
1094
927
  this.tagContainerWidth = 0;
1095
928
  this.selectAllItem = {
1096
- id: 'select-all',
1097
- text: 'Select All',
1098
- value: 'select-all',
929
+ id: "select-all",
930
+ text: "Select All",
931
+ value: "select-all",
1099
932
  checked: false,
1100
933
  disabled: false,
1101
- icon: '',
934
+ icon: "",
1102
935
  status: bcm.Bcm$1.Status.default,
1103
- indeterminate: 'uncheck',
936
+ indeterminate: "uncheck",
1104
937
  };
1105
- this.placement = bcm.Bcm$1.Placement['bottom-start'];
938
+ this.placement = bcm.Bcm$1.Placement["bottom-start"];
1106
939
  this.data = [];
1107
940
  }
1108
941
  connectedCallback() {
1109
- if (this.height != '256px') {
1110
- if (this.height.indexOf('px') > -1) {
1111
- this.limit = Math.floor(+this.height.replace('px', '') / 10);
942
+ if (this.height != "256px") {
943
+ if (this.height.indexOf("px") > -1) {
944
+ this.limit = Math.floor(+this.height.replace("px", "") / 10);
1112
945
  }
1113
946
  else {
1114
947
  this.limit = Math.floor(+(window.innerHeight / 10));
@@ -1127,69 +960,39 @@ const BcmList = class {
1127
960
  this.updateOptions();
1128
961
  }
1129
962
  }
963
+ get containerWidth() {
964
+ var _a, _b;
965
+ return (_b = (_a = this.el) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) === null || _b === void 0 ? void 0 : _b.width;
966
+ }
967
+ get tagCount() {
968
+ return this.containerWidth > 0 ? Math.floor(+(this.containerWidth - 100) / 85) : 0;
969
+ }
970
+ get tagData() {
971
+ return generate.snq(() => {
972
+ var _a;
973
+ return (_a = this.value) === null || _a === void 0 ? void 0 : _a.map(item => ({
974
+ value: item.id,
975
+ label: stringHelper.StringHelper.textLimitter(item.text, 7),
976
+ text: item.tooltipMessage || item.tagTitle || item.text,
977
+ }));
978
+ }, []);
979
+ }
1130
980
  async componentDidLoad() {
1131
981
  await this.initState();
1132
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
982
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1133
983
  const list = this.el.querySelector(`#bcm-list-${this._id}`);
1134
984
  if (list) {
1135
985
  document.body.appendChild(list);
1136
986
  }
1137
987
  }
1138
988
  }
1139
- tagCalculator() {
1140
- if (this.checkboxes && (this.type == 'select' || this.type == 'autocomplete')) {
1141
- const tagCalculator = new ListTagControl(`bcm-list-input-tag-container-${this._id}`, this.value, this._id, this.isSelectedOther, this.clearable);
1142
- tagCalculator.calculateTags();
1143
- const arrayIds = id => (typeof id == 'string' ? id.split(',') : [id]);
1144
- const clearAutocomplete = () => {
1145
- if (this.type == 'autocomplete') {
1146
- const autocompleteInput = this.getAutoCompleteInput();
1147
- if (autocompleteInput) {
1148
- autocompleteInput.handleClear(false);
1149
- }
1150
- }
1151
- };
1152
- tagCalculator.onClickOtherTag = async (id) => {
1153
- if (!this.disabled) {
1154
- clearAutocomplete();
1155
- if (this.isSelectedOther) {
1156
- await this.unSelectOther();
1157
- }
1158
- else {
1159
- await this.onClearSearch();
1160
- this.isSelectedOther = true;
1161
- this.filterOtherList(arrayIds(id));
1162
- this.isOpen = true;
1163
- }
1164
- this.onSelectSearch();
1165
- }
1166
- };
1167
- tagCalculator.onClickTag = _ => {
1168
- // console.log(id);
1169
- clearAutocomplete();
1170
- this.onSelectSearch();
1171
- this.unSelectOther();
1172
- };
1173
- tagCalculator.onClickDismiss = async (id) => {
1174
- var _a;
1175
- if (!this.disabled) {
1176
- if (this.isSelectedOther) {
1177
- await this.unSelectOther();
1178
- }
1179
- arrayIds(id).length > 1 ? listState.removeOtherTags(this._id, arrayIds(id)) : listState.checkedItem(this._id, arrayIds(id)[0]);
1180
- this.value = (await this.getCheckedList()).checkedList;
1181
- this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
1182
- }
1183
- };
1184
- }
1185
- }
1186
989
  disconnectedCallback() {
1187
990
  this.isOpen = false;
1188
991
  if (this.stopDeepClean)
1189
992
  return;
1190
993
  listState.removeState(this._id);
1191
- this.el.innerHTML = '';
1192
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
994
+ this.el.innerHTML = "";
995
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1193
996
  const list = document.querySelectorAll(`#bcm-list-${this._id}`);
1194
997
  if (list === null || list === void 0 ? void 0 : list.length) {
1195
998
  list.forEach(item => item.remove());
@@ -1214,11 +1017,10 @@ const BcmList = class {
1214
1017
  }
1215
1018
  }
1216
1019
  else {
1217
- if ((newVal === null || newVal === void 0 ? void 0 : newVal.text) != (oldVal === null || oldVal === void 0 ? void 0 : oldVal.text)) {
1020
+ if ((newVal === null || newVal === void 0 ? void 0 : newVal.id) != (oldVal === null || oldVal === void 0 ? void 0 : oldVal.id)) {
1218
1021
  this.change.emit(this.value);
1219
1022
  }
1220
1023
  }
1221
- this.tagCalculator();
1222
1024
  }
1223
1025
  watchReturnFilterData(newVal) {
1224
1026
  var _a;
@@ -1230,18 +1032,6 @@ const BcmList = class {
1230
1032
  this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
1231
1033
  }
1232
1034
  }
1233
- handleOtherSelected(newValue) {
1234
- var _a;
1235
- const tagContent = (_a = document.getElementById(`bcm-list-input-tag-${this._id}-other-tag`)) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-tag__content');
1236
- if (tagContent) {
1237
- if (newValue === true) {
1238
- tagContent.classList.add('checkable', 'checked');
1239
- }
1240
- else {
1241
- tagContent.classList.remove('checkable', 'checked');
1242
- }
1243
- }
1244
- }
1245
1035
  async handleOpen() {
1246
1036
  if (this.isOpen) {
1247
1037
  this.open.emit();
@@ -1258,7 +1048,7 @@ const BcmList = class {
1258
1048
  listScrollToTop() {
1259
1049
  const list = document.querySelector(`#bcm-list-${this._id}`);
1260
1050
  if (list) {
1261
- list.querySelector('.scrolling').scrollTop = 0;
1051
+ list.querySelector(".scrolling").scrollTop = 0;
1262
1052
  }
1263
1053
  }
1264
1054
  async dataChanged(newValue, oldValue) {
@@ -1292,7 +1082,7 @@ const BcmList = class {
1292
1082
  const list = document.querySelector(`#bcm-list-${this._id}`);
1293
1083
  const isClickInside = list && generate.Generate.findEventPath(event, list);
1294
1084
  if (isClickInside) {
1295
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
1085
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1296
1086
  this.calculateLocation();
1297
1087
  }
1298
1088
  }
@@ -1301,6 +1091,41 @@ const BcmList = class {
1301
1091
  }
1302
1092
  }
1303
1093
  }
1094
+ clearAutocomplete() {
1095
+ if (this.type == "autocomplete") {
1096
+ const autocompleteInput = this.getAutoCompleteInput();
1097
+ if (autocompleteInput) {
1098
+ autocompleteInput.handleClear(false);
1099
+ }
1100
+ }
1101
+ }
1102
+ async handleSelectOtherTag(e) {
1103
+ if (this.disabled)
1104
+ return;
1105
+ const { id, checked } = e.detail;
1106
+ this.isSelectedOther = checked;
1107
+ if (id) {
1108
+ checked ? this.filterOtherList(id) : this.unSelectOther();
1109
+ this.isOpen = true;
1110
+ }
1111
+ }
1112
+ async handleDeleteTag(e) {
1113
+ var _a;
1114
+ if (this.disabled)
1115
+ return;
1116
+ const { id } = e.detail;
1117
+ this.isSelectedOther && this.unSelectOther();
1118
+ Array.isArray(id) ? listState.removeOtherTags(this._id, id) : listState.checkedItem(this._id, id);
1119
+ this.value = (await this.getCheckedList()).checkedList;
1120
+ this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
1121
+ }
1122
+ async handleSelectTag(_) {
1123
+ if (this.disabled)
1124
+ return;
1125
+ this.clearAutocomplete();
1126
+ this.onSelectSearch();
1127
+ this.unSelectOther();
1128
+ }
1304
1129
  handleClick(event) {
1305
1130
  var _a;
1306
1131
  if (this.disabled)
@@ -1319,23 +1144,23 @@ const BcmList = class {
1319
1144
  }, 300);
1320
1145
  }
1321
1146
  if (!isClickInside) {
1322
- if (this.type == 'autocomplete') {
1147
+ if (this.type == "autocomplete") {
1323
1148
  const autocompleteInput = this.getAutoCompleteInput();
1324
1149
  if (autocompleteInput) {
1325
1150
  if (this.checkboxes) {
1326
- autocompleteInput.setValue('');
1151
+ autocompleteInput.setValue("");
1327
1152
  }
1328
1153
  else {
1329
- autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
1154
+ autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || "");
1330
1155
  }
1331
1156
  }
1332
1157
  }
1333
1158
  }
1334
- const clickToTag = generate.Generate.findEventPathWithKey(event, 'className', ['bcm-tag']);
1335
- const clickToOtherTag = generate.Generate.findEventPathWithKey(event, 'className', ['bcm-tag bcm-tag--other']);
1336
- const clickToSelect = generate.Generate.findEventPathWithKey(event, 'id', [`bcm-list-input-${this._id}`, `bcm-list-label-${this._id}`]);
1337
- const clickToTagDismiss = generate.Generate.findEventPathWithKey(event, 'className', ['right close-button']);
1338
- if (clickToSelect && !clickToTagDismiss && this.type != 'autocomplete') {
1159
+ const clickToTag = generate.Generate.findEventPathWithKey(event, "className", ["bcm-tag"]);
1160
+ const clickToOtherTag = generate.Generate.findEventPathWithKey(event, "className", ["bcm-tag bcm-tag--other"]);
1161
+ const clickToSelect = generate.Generate.findEventPathWithKey(event, "id", [`bcm-list-input-${this._id}`, `bcm-list-label-${this._id}`]);
1162
+ const clickToTagDismiss = generate.Generate.findEventPathWithKey(event, "className", ["right close-button"]);
1163
+ if (clickToSelect && !clickToTagDismiss && this.type != "autocomplete") {
1339
1164
  this.isOpen = clickToTag || clickToOtherTag ? true : !this.isOpen;
1340
1165
  }
1341
1166
  if (list) {
@@ -1349,7 +1174,7 @@ const BcmList = class {
1349
1174
  }
1350
1175
  bcmOnSearchClear(event) {
1351
1176
  var _a, _b;
1352
- if (this.type == 'autocomplete') {
1177
+ if (this.type == "autocomplete") {
1353
1178
  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`) {
1354
1179
  if (event.detail) {
1355
1180
  this.setClear();
@@ -1367,16 +1192,13 @@ const BcmList = class {
1367
1192
  if (this.searchFound > 0 && this.highlight) {
1368
1193
  this.highlightText = (_f = event.detail) === null || _f === void 0 ? void 0 : _f.value;
1369
1194
  }
1370
- if (this.type == 'autocomplete') {
1195
+ if (this.type == "autocomplete") {
1371
1196
  this.isOpen = true;
1372
1197
  }
1373
1198
  if (!event.detail.result) {
1374
- if (this.type == 'autocomplete') {
1199
+ if (this.type == "autocomplete") {
1375
1200
  this.isOpen = false;
1376
1201
  }
1377
- if (this.isSelectedOther) {
1378
- this.filterOtherList(this.otherTagIds());
1379
- }
1380
1202
  else {
1381
1203
  this.returnFilterData = {};
1382
1204
  listState.filterData(this._id, null);
@@ -1416,9 +1238,9 @@ const BcmList = class {
1416
1238
  if (focusedList) {
1417
1239
  const list = document.getElementById(`bcm-list-${this._id}`);
1418
1240
  if (list) {
1419
- const items = list.querySelectorAll('.bcm-list__item.focused');
1241
+ const items = list.querySelectorAll(".bcm-list__item.focused");
1420
1242
  if (items.length > 0) {
1421
- const main = list.querySelector('main');
1243
+ const main = list.querySelector("main");
1422
1244
  const itemHeight = items[0].offsetHeight;
1423
1245
  const listHeight = main.offsetHeight;
1424
1246
  const itemTop = items[0].offsetTop;
@@ -1438,7 +1260,7 @@ const BcmList = class {
1438
1260
  if (Array.isArray(data)) {
1439
1261
  this.addChecked(data);
1440
1262
  }
1441
- if (typeof data === 'string' || typeof data === 'number') {
1263
+ if (typeof data === "string" || typeof data === "number") {
1442
1264
  this.selectedItem(data);
1443
1265
  }
1444
1266
  }
@@ -1481,10 +1303,9 @@ const BcmList = class {
1481
1303
  async setClear(e) {
1482
1304
  listState.setClear(this._id);
1483
1305
  this.value = null;
1484
- this.inputText = '';
1306
+ this.inputText = "";
1485
1307
  this.isOpen = false;
1486
- this.selectAllItem.indeterminate = 'uncheck';
1487
- this.tagCalculator();
1308
+ this.selectAllItem.indeterminate = "uncheck";
1488
1309
  this.markForCheck();
1489
1310
  if (e) {
1490
1311
  e.stopPropagation();
@@ -1513,10 +1334,9 @@ const BcmList = class {
1513
1334
  listState.updateOptions(this._id, this);
1514
1335
  }
1515
1336
  handleIndeterminate(checkeds, total) {
1516
- 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 });
1337
+ 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 });
1517
1338
  }
1518
1339
  listenResize() {
1519
- this.tagCalculator();
1520
1340
  this.calculateLocation();
1521
1341
  this.markForCheck();
1522
1342
  }
@@ -1544,12 +1364,6 @@ const BcmList = class {
1544
1364
  searchInput.onBcmSelect();
1545
1365
  }
1546
1366
  }
1547
- otherTagIds() {
1548
- const otherTag = document.querySelector(`#bcm-list-input-tag-${this._id}-other-tag`);
1549
- if (otherTag) {
1550
- return otherTag.getAttribute('data-ids').split(',');
1551
- }
1552
- }
1553
1367
  async filterOtherList(ids) {
1554
1368
  const checklist = (await this.getCheckedList()).nestedResult;
1555
1369
  const filter = generate.Generate.convertIdsToNestedData(ids, checklist);
@@ -1565,7 +1379,7 @@ const BcmList = class {
1565
1379
  this.onClearSearch();
1566
1380
  await listState.setValue({
1567
1381
  id: this._id,
1568
- dataSource: this.data && generate.snq(() => (typeof this.data == 'string' ? JSON.parse(this.data) : this.data), []),
1382
+ dataSource: this.data && generate.snq(() => (typeof this.data == "string" ? JSON.parse(this.data) : this.data), []),
1569
1383
  options: this,
1570
1384
  });
1571
1385
  const { totalRoots, totalItems } = listState.getValue(this._id);
@@ -1597,7 +1411,7 @@ const BcmList = class {
1597
1411
  }
1598
1412
  getItems() {
1599
1413
  if (this.isSelectedOther) {
1600
- return this.returnFilterData['checkedItems'];
1414
+ return this.returnFilterData["checkedItems"];
1601
1415
  }
1602
1416
  return generate.snq(() => listState.getData(this._id), []);
1603
1417
  }
@@ -1609,17 +1423,17 @@ const BcmList = class {
1609
1423
  this.markForCheck();
1610
1424
  }
1611
1425
  focusItem(e) {
1612
- if (e.target.classList.contains('bcm-list__item')) {
1426
+ if (e.target.classList.contains("bcm-list__item")) {
1613
1427
  const item = e.target;
1614
1428
  const list = document.getElementById(`bcm-list-${this._id}`);
1615
1429
  if (list) {
1616
- const items = list.querySelectorAll('.bcm-list__item');
1430
+ const items = list.querySelectorAll(".bcm-list__item");
1617
1431
  if (items.length > 0) {
1618
- const selectedItem = list.querySelector('.bcm-list__item.focused');
1432
+ const selectedItem = list.querySelector(".bcm-list__item.focused");
1619
1433
  if (selectedItem) {
1620
- selectedItem.classList.remove('focused');
1434
+ selectedItem.classList.remove("focused");
1621
1435
  }
1622
- item.classList.add('focused');
1436
+ item.classList.add("focused");
1623
1437
  }
1624
1438
  }
1625
1439
  }
@@ -1631,14 +1445,14 @@ const BcmList = class {
1631
1445
  this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
1632
1446
  this.isOpen = false;
1633
1447
  this.markForCheck();
1634
- if (this.type == 'autocomplete' && this.value) {
1448
+ if (this.type == "autocomplete" && this.value) {
1635
1449
  // await delay(100)
1636
1450
  // this.resetCaption()
1637
1451
  const autocompleteInput = this.getAutoCompleteInput();
1638
1452
  if (autocompleteInput) {
1639
1453
  setTimeout(() => {
1640
1454
  var _a;
1641
- autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
1455
+ autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || "");
1642
1456
  this.isOpen = false;
1643
1457
  }, 100);
1644
1458
  }
@@ -1647,7 +1461,7 @@ const BcmList = class {
1647
1461
  return Promise.resolve(this.value);
1648
1462
  }
1649
1463
  async checkedItem(itemId) {
1650
- const isCheckSelectAll = itemId === 'select-all';
1464
+ const isCheckSelectAll = itemId === "select-all";
1651
1465
  if (!isCheckSelectAll) {
1652
1466
  listState.checkedItem(this._id, itemId);
1653
1467
  }
@@ -1685,7 +1499,7 @@ const BcmList = class {
1685
1499
  }
1686
1500
  async calculateLocation() {
1687
1501
  var _a, _b;
1688
- if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
1502
+ if (this.type == "select" || this.type == "autocomplete" || this.linkedComponent) {
1689
1503
  const list = document.getElementById(`bcm-list-${this._id}`);
1690
1504
  // list && (list.style.height = '256px') //sebebi neydi ki!
1691
1505
  var placement = this.placement;
@@ -1700,85 +1514,84 @@ const BcmList = class {
1700
1514
  if (this.linkedComponent) {
1701
1515
  const linked = document.getElementById(this.linkedComponent);
1702
1516
  if (linked) {
1703
- if (!linked['noCaption']) {
1704
- const captionArea = ((_a = linked.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-caption-area')) || linked.querySelector('.bcm-caption-area');
1517
+ if (!linked["noCaption"]) {
1518
+ const captionArea = ((_a = linked.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".bcm-caption-area")) || linked.querySelector(".bcm-caption-area");
1705
1519
  if (captionArea) {
1706
1520
  captionAreaHeight = captionArea.offsetHeight || captionArea.clientHeight;
1707
1521
  }
1708
1522
  }
1709
- const labelArea = ((_b = linked.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.bcm-label')) || linked.querySelector('.bcm-label');
1523
+ const labelArea = ((_b = linked.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector(".bcm-label")) || linked.querySelector(".bcm-label");
1710
1524
  if (labelArea) {
1711
1525
  labelAreaHeight = labelArea.offsetHeight || labelArea.clientHeight;
1712
1526
  }
1713
1527
  }
1714
1528
  }
1715
1529
  if (this.fullWidth) {
1716
- list.style.width = targetElement.offsetWidth + 'px';
1530
+ list.style.width = targetElement.offsetWidth + "px";
1717
1531
  }
1718
1532
  else {
1719
- list.style.width = this.width || 'auto';
1533
+ list.style.width = this.width || "auto";
1720
1534
  }
1721
- if (this.height.indexOf('%') > -1) {
1722
- list.style.height = numberHelper.NumberHelper.toNumber(this.height) * 0.01 * window.innerHeight - pos[0] - 50 + 'px';
1535
+ if (this.height.indexOf("%") > -1) {
1536
+ list.style.height = numberHelper.NumberHelper.toNumber(this.height) * 0.01 * window.innerHeight - pos[0] - 50 + "px";
1723
1537
  }
1724
1538
  else {
1725
1539
  list.style.height = this.height;
1726
1540
  }
1727
1541
  list.style.minHeight = this.minHeight;
1728
1542
  // const calculatedMaxHeight = window.innerHeight - pos[0] - 50;
1729
- const calculatedMaxHeight = placement.split('-')[0] == 'top' ? window.innerHeight - (window.innerHeight - pos[0]) - 50 : window.innerHeight - pos[0] - 50;
1730
- if (this.maxHeight.indexOf('%') > -1) {
1731
- list.style.maxHeight = numberHelper.NumberHelper.toNumber(this.maxHeight) * 0.01 * calculatedMaxHeight + 'px';
1543
+ const calculatedMaxHeight = placement.split("-")[0] == "top" ? window.innerHeight - (window.innerHeight - pos[0]) - 50 : window.innerHeight - pos[0] - 50;
1544
+ if (this.maxHeight.indexOf("%") > -1) {
1545
+ list.style.maxHeight = numberHelper.NumberHelper.toNumber(this.maxHeight) * 0.01 * calculatedMaxHeight + "px";
1732
1546
  }
1733
1547
  else {
1734
- list.style.maxHeight = numberHelper.NumberHelper.toNumber(this.maxHeight) < calculatedMaxHeight ? this.maxHeight : calculatedMaxHeight + 'px';
1548
+ list.style.maxHeight = numberHelper.NumberHelper.toNumber(this.maxHeight) < calculatedMaxHeight ? this.maxHeight : calculatedMaxHeight + "px";
1735
1549
  }
1736
1550
  popoverPlacement.getPlacement(list, targetElement, placement, (place) => (placement = place));
1737
1551
  await utils.delay(10);
1738
1552
  pos = popoverPlacement.setPosition(placement, targetElement);
1739
- list.style.top = (placement.split('-')[0] == 'top' ? pos[0] - list.offsetHeight + labelAreaHeight : pos[0] - captionAreaHeight) + 'px';
1553
+ list.style.top = (placement.split("-")[0] == "top" ? pos[0] - list.offsetHeight + labelAreaHeight : pos[0] - captionAreaHeight) + "px";
1740
1554
  // list.style.left = pos[1] + 'px';
1741
- list.style.left = placement.split('-')[1] == 'end' ? pos[1] - list.offsetWidth + 'px' : pos[1] + 'px';
1742
- list.classList.toggle('bcm-list--top', placement.split('-')[0] == 'top');
1555
+ list.style.left = placement.split("-")[1] == "end" ? pos[1] - list.offsetWidth + "px" : pos[1] + "px";
1556
+ list.classList.toggle("bcm-list--top", placement.split("-")[0] == "top");
1743
1557
  this.calculatedViewport = true;
1744
1558
  }
1745
1559
  }
1746
1560
  }
1747
1561
  render() {
1748
1562
  const { checkboxes, treeview, label, size, disabled, readonly, required, hidden, fullWidth, searchable } = this.getOptions();
1749
- const hostClasses = index.classnames('bcm-list', `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === 'large' ? 'size-3' : 'size-2', {
1750
- 'error': this.captionType == bcm.Bcm$1.Status.error,
1751
- 'full-width': fullWidth,
1752
- 'bcm-list__linked': this.linkedComponent,
1563
+ const hostClasses = index.classnames("bcm-list", `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === "large" ? "size-3" : "size-2", {
1564
+ "error": this.captionType == bcm.Bcm$1.Status.error,
1565
+ "full-width": fullWidth,
1566
+ "bcm-list__linked": this.linkedComponent,
1753
1567
  hidden,
1754
1568
  readonly,
1755
1569
  disabled,
1756
1570
  });
1757
- const bcmListContainer = index.classnames('bcm-list__container', this.linkedComponent ? 'bcm-list__type-linked-component' : `bcm-list__type-${this.type}`, {
1758
- 'is-open': this.isOpen && this.calculatedViewport,
1759
- 'error': this.captionType == bcm.Bcm$1.Status.error,
1760
- 'full-width': fullWidth,
1571
+ const bcmListContainer = index.classnames("bcm-list__container", this.linkedComponent ? "bcm-list__type-linked-component" : `bcm-list__type-${this.type}`, {
1572
+ "is-open": this.isOpen && this.calculatedViewport,
1573
+ "error": this.captionType == bcm.Bcm$1.Status.error,
1574
+ "full-width": fullWidth,
1761
1575
  hidden,
1762
1576
  readonly,
1763
1577
  disabled,
1764
1578
  });
1765
- const bcmListInput = index.classnames('bcm-list__input');
1766
- const openedType = this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent;
1579
+ const bcmListInput = index.classnames("bcm-list__input");
1580
+ const openedType = this.type == "select" || this.type == "autocomplete" || this.linkedComponent;
1767
1581
  return (index$1.h(index$1.Host, { class: hostClasses, tabindex: "0", style: {
1768
- '--width': fullWidth ? '100%' : this.width,
1769
- '--height': openedType ? '100%' : this.height,
1770
- '--max-height': openedType ? 'inherit' : this.maxHeight,
1771
- '--min-height': openedType ? 'inherit' : this.minHeight,
1772
- } }, index$1.h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (index$1.h("div", null, index$1.h(labelTemplate.LabelTemplate, { size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == 'select' && (index$1.h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, index$1.h("span", { class: index.classnames('bcm-list__input-container', { 'type-single': !checkboxes, 'value-empty': !this.value }) }, this.checkboxes && index$1.h("span", { id: `bcm-list-input-tag-container-${this._id}`, class: "bcm-list__input-tag-container" }), this.checkboxes && !this.value && index$1.h("span", { class: "bcm-list__input-placeholder" }, this.placeholder), !this.checkboxes && (this.value ? this.inputText : index$1.h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), index$1.h("span", { class: index.classnames('bcm-list__input-buttons', {
1582
+ "--width": fullWidth ? "100%" : this.width,
1583
+ "--height": openedType ? "100%" : this.height,
1584
+ "--max-height": openedType ? "inherit" : this.maxHeight,
1585
+ "--min-height": openedType ? "inherit" : this.minHeight,
1586
+ } }, index$1.h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (index$1.h("div", null, index$1.h(labelTemplate.LabelTemplate, { size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))), this.type == "select" && (index$1.h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput }, index$1.h("span", { class: index.classnames("bcm-list__input-container", { "type-single": !checkboxes, "value-empty": !this.value }) }, this.checkboxes ? (this.value && this.value.length > 0 ? (index$1.h("bcm-rc-overflow", { data: this.tagData, maxCount: this.tagCount })) : (index$1.h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))) : this.value ? (this.inputText) : (index$1.h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))), index$1.h("span", { class: index.classnames("bcm-list__input-buttons", {
1773
1587
  disabled: disabled,
1774
- }) }, this.clearable && this.value && (index$1.h("div", { class: "bcm-list__input-buttons-button" }, index$1.h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), index$1.h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && 'caret-is-open'}` }, index$1.h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === 'autocomplete' && (index$1.h("div", { id: `bcm-list-input-${this._id}`, class: index.classnames(bcmListInput, { 'bcm-list__input-autocomplete': this.type == 'autocomplete' }) }, index$1.h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && index$1.h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), index$1.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 })))), index$1.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 }), index$1.h(captionTemplate.CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
1588
+ }) }, this.clearable && this.value && (index$1.h("div", { class: "bcm-list__input-buttons-button" }, index$1.h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && this.setClear(e) }))), index$1.h("div", { class: `bcm-list__input-buttons-button caret-is ${this.isOpen && this.calculatedViewport && "caret-is-open"}` }, index$1.h("bcm-icon", { icon: `far fa-angle-down` }))))), this.type === "autocomplete" && (index$1.h("div", { id: `bcm-list-input-${this._id}`, class: index.classnames(bcmListInput, { "bcm-list__input-autocomplete": this.type == "autocomplete" }) }, index$1.h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` }, this.checkboxes && index$1.h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }), index$1.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 })))), index$1.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 }), index$1.h(captionTemplate.CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
1775
1589
  }
1776
1590
  get el() { return index$1.getElement(this); }
1777
1591
  static get watchers() { return {
1778
1592
  "_id": ["watchId"],
1779
1593
  "value": ["handleValueChange"],
1780
1594
  "returnFilterData": ["watchReturnFilterData"],
1781
- "isSelectedOther": ["handleOtherSelected"],
1782
1595
  "isOpen": ["handleOpen"],
1783
1596
  "data": ["dataChanged"]
1784
1597
  }; }
@@ -1787,7 +1600,7 @@ __decorate([
1787
1600
  isLoadDecorator.IsLoad()
1788
1601
  ], BcmList.prototype, "el", void 0);
1789
1602
  __decorate([
1790
- jsonParseDecarator.JsonParse('data', true)
1603
+ jsonParseDecarator.JsonParse("data", true)
1791
1604
  ], BcmList.prototype, "dataChanged", null);
1792
1605
  BcmList.style = listCss;
1793
1606