bromcom-ui 2.7.36-rc.10 → 2.7.36-rc.11

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 (649) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-8eb5533c.entry.js → p-00028e84.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-c5eb90e6.entry.js → p-01951e92.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-e255f6d8.entry.js → p-0505b430.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-844edd1d.entry.js → p-16f3143c.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-faea5a18.entry.js → p-1aa2c6f1.entry.js} +1 -1
  7. package/dist/bromcom-ui/p-1c211b1a.entry.js +5 -0
  8. package/dist/bromcom-ui/{p-f11f8f99.entry.js → p-1e4c4c89.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-3330b325.js +5 -0
  10. package/dist/bromcom-ui/p-36168a4c.entry.js +5 -0
  11. package/dist/bromcom-ui/p-3fac58f7.js +5 -0
  12. package/dist/bromcom-ui/{p-09ed9a15.entry.js → p-4595d534.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-ec9d3760.entry.js → p-49be07bc.entry.js} +1 -1
  14. package/dist/bromcom-ui/p-50d9b950.entry.js +5 -0
  15. package/dist/bromcom-ui/{p-2a1f80a4.entry.js → p-7386f0eb.entry.js} +1 -1
  16. package/dist/bromcom-ui/p-7d21bcdb.entry.js +5 -0
  17. package/dist/bromcom-ui/{p-33732e4b.entry.js → p-81dff515.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-3a883b4d.entry.js → p-89241a6e.entry.js} +1 -1
  19. package/dist/bromcom-ui/p-8a189e31.entry.js +5 -0
  20. package/dist/bromcom-ui/{p-a7625693.entry.js → p-8a66f4e1.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-940d3fc3.js +5 -0
  22. package/dist/bromcom-ui/{p-02e9e4da.js → p-950af117.js} +1 -1
  23. package/dist/bromcom-ui/{p-30e76ab4.entry.js → p-97a630d5.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-a6fb1b6f.js +5 -0
  25. package/dist/bromcom-ui/{p-79609a0b.entry.js → p-a7f8e8af.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-a956c37a.entry.js → p-ab7bb0f5.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-d3d6d211.entry.js → p-ae8f263e.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-37a6e403.entry.js → p-ae99e107.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-5d6c6f94.entry.js → p-b0ecb69b.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-b339c2f1.entry.js +5 -0
  31. package/dist/bromcom-ui/{p-4b031669.js → p-bddecc0e.js} +1 -1
  32. package/dist/bromcom-ui/p-c00cbc3c.js +5 -0
  33. package/dist/bromcom-ui/{p-5002c0f0.entry.js → p-c268491e.entry.js} +1 -1
  34. package/dist/bromcom-ui/p-c5c60034.entry.js +5 -0
  35. package/dist/bromcom-ui/{p-213a1552.entry.js → p-c5dcbc05.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-a4106487.entry.js → p-c8dae4b7.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-d6e8fefd.entry.js → p-cef328d2.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-d895529b.entry.js → p-d2101bab.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-f04aa227.entry.js → p-d2d00b45.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-f56614ef.js → p-d2f22f4b.js} +1 -1
  41. package/dist/bromcom-ui/{p-67f6deb7.entry.js → p-d7189ee1.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-cd5d77f7.entry.js → p-d8ef8c9d.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-fd7aa7eb.entry.js → p-ed6d2390.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-571da89a.entry.js → p-ed8e6005.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-bfc5021d.entry.js → p-eefa89b6.entry.js} +1 -1
  46. package/dist/bromcom-ui/p-fcd2ded4.entry.js +5 -0
  47. package/dist/bromcom-ui/{p-abb1be26.entry.js → p-febeb28c.entry.js} +1 -1
  48. package/dist/cjs/_commonjsHelpers-bd20f4c0.js +29 -0
  49. package/dist/cjs/bcm-2c51bf0c.js +448 -0
  50. package/dist/cjs/bcm-accordion.cjs.entry.js +85 -0
  51. package/dist/cjs/bcm-alert.cjs.entry.js +112 -0
  52. package/dist/cjs/bcm-attendance.cjs.entry.js +50 -0
  53. package/dist/cjs/bcm-autocomplete.cjs.entry.js +155 -0
  54. package/dist/cjs/bcm-avatar_2.cjs.entry.js +156 -0
  55. package/dist/cjs/bcm-box.cjs.entry.js +35 -0
  56. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +67 -0
  57. package/dist/{bromcom-ui/p-7734d762.entry.js → cjs/bcm-button-group.cjs.entry.js} +98 -1
  58. package/dist/cjs/bcm-button_13.cjs.entry.js +1981 -0
  59. package/dist/cjs/bcm-card.cjs.entry.js +76 -0
  60. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +409 -0
  61. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2570 -0
  62. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +203 -0
  63. package/dist/cjs/bcm-chip.cjs.entry.js +70 -0
  64. package/dist/cjs/bcm-collapse-group.cjs.entry.js +57 -0
  65. package/dist/cjs/bcm-collapse.cjs.entry.js +58 -0
  66. package/dist/cjs/bcm-colorpicker.cjs.entry.js +433 -0
  67. package/dist/cjs/bcm-date-picker.cjs.entry.js +171 -0
  68. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1432 -0
  69. package/dist/cjs/bcm-default.cjs.entry.js +40 -0
  70. package/dist/cjs/bcm-drawer.cjs.entry.js +111 -0
  71. package/dist/{bromcom-ui/p-91b5bff9.entry.js → cjs/bcm-error-layout.cjs.entry.js} +74 -1
  72. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +127 -0
  73. package/dist/cjs/bcm-form-2.cjs.entry.js +205 -0
  74. package/dist/cjs/bcm-form-group.cjs.entry.js +45 -0
  75. package/dist/cjs/bcm-input.cjs.entry.js +324 -0
  76. package/dist/cjs/bcm-link.cjs.entry.js +62 -0
  77. package/dist/cjs/bcm-linked.cjs.entry.js +83 -0
  78. package/dist/cjs/bcm-list.cjs.entry.js +1761 -0
  79. package/dist/cjs/bcm-message.cjs.entry.js +99 -0
  80. package/dist/cjs/bcm-modal.cjs.entry.js +137 -0
  81. package/dist/cjs/bcm-notification.cjs.entry.js +103 -0
  82. package/dist/cjs/bcm-old-input.cjs.entry.js +398 -0
  83. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +157 -0
  84. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +122 -0
  85. package/dist/cjs/bcm-popconfirm.cjs.entry.js +112 -0
  86. package/dist/cjs/bcm-progress.cjs.entry.js +174 -0
  87. package/dist/cjs/bcm-radio-group.cjs.entry.js +267 -0
  88. package/dist/cjs/bcm-radio.cjs.entry.js +104 -0
  89. package/dist/cjs/bcm-range.cjs.entry.js +189 -0
  90. package/dist/cjs/bcm-result.cjs.entry.js +79 -0
  91. package/dist/cjs/bcm-search.cjs.entry.js +256 -0
  92. package/dist/cjs/bcm-select-group.cjs.entry.js +31 -0
  93. package/dist/cjs/bcm-select-option.cjs.entry.js +37 -0
  94. package/dist/cjs/bcm-select.cjs.entry.js +1181 -0
  95. package/dist/cjs/bcm-skeleton.cjs.entry.js +56 -0
  96. package/dist/cjs/bcm-step.cjs.entry.js +93 -0
  97. package/dist/cjs/bcm-stepper.cjs.entry.js +211 -0
  98. package/dist/cjs/bcm-tab-group.cjs.entry.js +172 -0
  99. package/dist/cjs/bcm-tab-pane.cjs.entry.js +70 -0
  100. package/dist/cjs/bcm-tab.cjs.entry.js +89 -0
  101. package/dist/cjs/bcm-table.cjs.entry.js +78 -0
  102. package/dist/cjs/bcm-tabs-content.cjs.entry.js +62 -0
  103. package/dist/cjs/bcm-tabs.cjs.entry.js +390 -0
  104. package/dist/cjs/bcm-tag.cjs.entry.js +101 -0
  105. package/dist/cjs/bcm-textarea.cjs.entry.js +150 -0
  106. package/dist/cjs/bcm-time-picker.cjs.entry.js +139 -0
  107. package/dist/cjs/bcm-timeline-item.cjs.entry.js +55 -0
  108. package/dist/cjs/bcm-timeline.cjs.entry.js +73 -0
  109. package/dist/cjs/bcm-treeview-group.cjs.entry.js +23 -0
  110. package/dist/cjs/bromcom-ui.cjs.js +24 -0
  111. package/dist/cjs/caption-template-abc6b8bd.js +34 -0
  112. package/dist/cjs/color-helper-c9882bd8.js +490 -0
  113. package/dist/cjs/colors-56282b00.js +224 -0
  114. package/dist/cjs/datetime-helper-eaf4fadb.js +11 -0
  115. package/dist/cjs/element-dragger-a8562f82.js +279 -0
  116. package/dist/cjs/generate-f31baeb2.js +198 -0
  117. package/dist/cjs/global-b0d21446.js +15 -0
  118. package/dist/cjs/index-53637125.js +1864 -0
  119. package/dist/cjs/index-89682d55.js +193 -0
  120. package/dist/cjs/index-a2b50e51.js +64 -0
  121. package/dist/cjs/index.cjs.js +6 -0
  122. package/dist/cjs/input-template-9d262873.js +86 -0
  123. package/dist/cjs/is-load-decorator-20a4687b.js +56 -0
  124. package/dist/cjs/json-parse-decarator-c3596560.js +40 -0
  125. package/dist/cjs/label-template-b35d7e8e.js +23 -0
  126. package/dist/cjs/loader.cjs.js +26 -0
  127. package/dist/cjs/number-helper-0975436a.js +20 -0
  128. package/dist/cjs/old-bcm-popover.cjs.entry.js +104 -0
  129. package/dist/cjs/popover-placement-87901bb3.js +98 -0
  130. package/dist/cjs/property-decorators-b0cb1a50.js +33 -0
  131. package/dist/cjs/slot-template-546b0f5a.js +15 -0
  132. package/dist/cjs/stepper-states-0a54437d.js +83 -0
  133. package/dist/cjs/string-helper-df40a475.js +134 -0
  134. package/dist/cjs/tooltip-helper-6b5d41a4.js +1449 -0
  135. package/dist/cjs/types-3871235f.js +32 -0
  136. package/dist/cjs/types-6eb7e028.js +32 -0
  137. package/dist/cjs/types-cc4adee7.js +19 -0
  138. package/dist/cjs/utils-fc077139.js +131 -0
  139. package/dist/cjs/validators-f572960b.js +33 -0
  140. package/dist/collection/collection-manifest.json +95 -0
  141. package/dist/collection/components/atoms/avatar/avatar.css +448 -0
  142. package/dist/collection/components/atoms/avatar/avatar.js +259 -0
  143. package/dist/collection/components/atoms/badge/badge.css +481 -0
  144. package/dist/collection/components/atoms/badge/badge.js +224 -0
  145. package/dist/collection/components/atoms/box/box.js +23 -0
  146. package/dist/collection/components/atoms/button/button.css +637 -0
  147. package/dist/collection/components/atoms/button/button.js +525 -0
  148. package/dist/collection/components/atoms/button/types.js +170 -0
  149. package/dist/collection/components/atoms/chip/chip.css +453 -0
  150. package/dist/collection/components/atoms/chip/chip.js +187 -0
  151. package/dist/collection/components/atoms/divider/divider.css +142 -0
  152. package/dist/collection/components/atoms/divider/divider.js +83 -0
  153. package/dist/collection/components/atoms/icon/icon.css +127 -0
  154. package/dist/collection/components/atoms/icon/icon.js +70 -0
  155. package/dist/collection/components/atoms/label/label.css +408 -0
  156. package/dist/collection/components/atoms/label/label.js +216 -0
  157. package/dist/collection/components/atoms/link/link.css +419 -0
  158. package/dist/collection/components/atoms/link/link.js +176 -0
  159. package/dist/collection/components/atoms/states/button.states.js +31 -0
  160. package/dist/collection/components/atoms/tag/tag.js +334 -0
  161. package/dist/collection/components/atoms/tag/types.js +30 -0
  162. package/dist/collection/components/atoms/typography/typography.js +23 -0
  163. package/dist/collection/components/molecules/accordion/accordion.css +127 -0
  164. package/dist/collection/components/molecules/accordion/accordion.js +129 -0
  165. package/dist/collection/components/molecules/alert/alert.css +191 -0
  166. package/dist/collection/components/molecules/alert/alert.js +298 -0
  167. package/dist/collection/components/molecules/alert/types.js +23 -0
  168. package/dist/collection/components/molecules/breadcrumb/breadcrumb.css +201 -0
  169. package/dist/collection/components/molecules/breadcrumb/breadcrumb.js +155 -0
  170. package/dist/collection/components/molecules/breadcrumb/types.js +5 -0
  171. package/dist/collection/components/molecules/button-group/button-group.css +423 -0
  172. package/dist/collection/components/molecules/button-group/button-group.js +235 -0
  173. package/dist/collection/components/molecules/card/card.css +408 -0
  174. package/dist/collection/components/molecules/card/card.js +128 -0
  175. package/dist/collection/components/molecules/checkbox/checkbox-lite.js +237 -0
  176. package/dist/collection/components/molecules/checkbox/checkbox.css +1280 -0
  177. package/dist/collection/components/molecules/checkbox/checkbox.js +688 -0
  178. package/dist/collection/components/molecules/checkbox/group.css +156 -0
  179. package/dist/collection/components/molecules/checkbox/group.js +779 -0
  180. package/dist/collection/components/molecules/drawer/drawer.css +502 -0
  181. package/dist/collection/components/molecules/drawer/drawer.js +272 -0
  182. package/dist/collection/components/molecules/dropdown/dropdown.css +419 -0
  183. package/dist/collection/components/molecules/dropdown/dropdown.js +839 -0
  184. package/dist/collection/components/molecules/empty/empty.js +44 -0
  185. package/dist/collection/components/molecules/error-layout/error-layout.css +396 -0
  186. package/dist/collection/components/molecules/error-layout/error-layout.js +177 -0
  187. package/dist/collection/components/molecules/error-layout/types.js +5 -0
  188. package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +488 -0
  189. package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +322 -0
  190. package/dist/collection/components/molecules/input/input.css +1208 -0
  191. package/dist/collection/components/molecules/input/input.js +1170 -0
  192. package/dist/collection/components/molecules/input/types.js +17 -0
  193. package/dist/collection/components/molecules/item/item.css +446 -0
  194. package/dist/collection/components/molecules/item/item.js +151 -0
  195. package/dist/collection/components/molecules/items/items.js +84 -0
  196. package/dist/collection/components/molecules/linked/linked.js +179 -0
  197. package/dist/collection/components/molecules/menu/menu.css +718 -0
  198. package/dist/collection/components/molecules/menu/menu.js +618 -0
  199. package/dist/collection/components/molecules/message/message.css +165 -0
  200. package/dist/collection/components/molecules/message/message.js +222 -0
  201. package/dist/collection/components/molecules/message/types.js +14 -0
  202. package/dist/collection/components/molecules/modal/modal.css +526 -0
  203. package/dist/collection/components/molecules/modal/modal.js +379 -0
  204. package/dist/collection/components/molecules/notification/notification.css +183 -0
  205. package/dist/collection/components/molecules/notification/notification.js +244 -0
  206. package/dist/collection/components/molecules/notification/types.js +15 -0
  207. package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +563 -0
  208. package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +396 -0
  209. package/dist/collection/components/molecules/popconfirm/popconfirm.css +127 -0
  210. package/dist/collection/components/molecules/popconfirm/popconfirm.js +382 -0
  211. package/dist/collection/components/molecules/popover/popover.js +254 -0
  212. package/dist/collection/components/molecules/progress/progress.css +486 -0
  213. package/dist/collection/components/molecules/progress/progress.js +404 -0
  214. package/dist/collection/components/molecules/progress/types.js +28 -0
  215. package/dist/collection/components/molecules/radio/group.css +798 -0
  216. package/dist/collection/components/molecules/radio/group.js +652 -0
  217. package/dist/collection/components/molecules/radio/radio.css +1280 -0
  218. package/dist/collection/components/molecules/radio/radio.js +291 -0
  219. package/dist/collection/components/molecules/radio/types.js +30 -0
  220. package/dist/collection/components/molecules/range/range.css +570 -0
  221. package/dist/collection/components/molecules/range/range.js +472 -0
  222. package/dist/collection/components/molecules/result/result.css +164 -0
  223. package/dist/collection/components/molecules/result/result.js +143 -0
  224. package/dist/collection/components/molecules/result/types.js +22 -0
  225. package/dist/collection/components/molecules/search/search.css +1208 -0
  226. package/dist/collection/components/molecules/search/search.js +406 -0
  227. package/dist/collection/components/molecules/skeleton/skeleton.js +94 -0
  228. package/dist/collection/components/molecules/states/alert.states.js +25 -0
  229. package/dist/collection/components/molecules/states/checkbox-group.states.js +199 -0
  230. package/dist/collection/components/molecules/states/radio-group.states.js +107 -0
  231. package/dist/collection/components/molecules/states/search.states.js +137 -0
  232. package/dist/collection/components/molecules/states/stepper-states.js +79 -0
  233. package/dist/collection/components/molecules/stepper/step.js +346 -0
  234. package/dist/collection/components/molecules/stepper/stepper.css +617 -0
  235. package/dist/collection/components/molecules/stepper/stepper.js +484 -0
  236. package/dist/collection/components/molecules/switch/switch.css +1272 -0
  237. package/dist/collection/components/molecules/switch/switch.js +716 -0
  238. package/dist/collection/components/molecules/tab-group/tab-group.js +280 -0
  239. package/dist/collection/components/molecules/textarea/textarea.css +1208 -0
  240. package/dist/collection/components/molecules/textarea/textarea.js +731 -0
  241. package/dist/collection/components/molecules/textarea/types.js +13 -0
  242. package/dist/collection/components/molecules/timeline/timeline-item.css +254 -0
  243. package/dist/collection/components/molecules/timeline/timeline-item.js +159 -0
  244. package/dist/collection/components/molecules/timeline/timeline.css +205 -0
  245. package/dist/collection/components/molecules/timeline/timeline.js +125 -0
  246. package/dist/collection/components/molecules/tooltip/tooltip.js +232 -0
  247. package/dist/collection/components/organism/autocomplete/autocomplete.css +168 -0
  248. package/dist/collection/components/organism/autocomplete/autocomplete.js +399 -0
  249. package/dist/collection/components/organism/colorpicker/colorpicker.css +313 -0
  250. package/dist/collection/components/organism/colorpicker/colorpicker.js +774 -0
  251. package/dist/collection/components/organism/colorpicker/static/chess.png +0 -0
  252. package/dist/collection/components/organism/colorpicker/static/color.svg +14 -0
  253. package/dist/collection/components/organism/colorpicker/static/colors.svg +16 -0
  254. package/dist/collection/components/organism/date-picker/date-picker.css +141 -0
  255. package/dist/collection/components/organism/date-picker/date-picker.js +780 -0
  256. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +1429 -0
  257. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +2166 -0
  258. package/dist/collection/components/organism/datetime-picker/types.js +39 -0
  259. package/dist/collection/components/organism/form/form-group.css +131 -0
  260. package/dist/collection/components/organism/form/form-group.js +131 -0
  261. package/dist/collection/components/organism/form/form.css +132 -0
  262. package/dist/collection/components/organism/form/form.js +680 -0
  263. package/dist/collection/components/organism/form-2/bcm-form-components.js +26 -0
  264. package/dist/collection/components/organism/form-2/form-2.css +127 -0
  265. package/dist/collection/components/organism/form-2/form-2.js +328 -0
  266. package/dist/collection/components/organism/list/list-key-control.js +125 -0
  267. package/dist/collection/components/organism/list/list-tag-control.js +172 -0
  268. package/dist/collection/components/organism/list/list.css +2047 -0
  269. package/dist/collection/components/organism/list/list.js +1860 -0
  270. package/dist/collection/components/organism/states/bcm-list2.states.js +532 -0
  271. package/dist/collection/components/organism/time-picker/time-picker.css +141 -0
  272. package/dist/collection/components/organism/time-picker/time-picker.js +627 -0
  273. package/dist/collection/components/other/attendance/attendance.css +433 -0
  274. package/dist/collection/components/other/attendance/attendance.js +87 -0
  275. package/dist/collection/components/other/data-table/table.css +130 -0
  276. package/dist/collection/components/other/data-table/table.js +92 -0
  277. package/dist/collection/components/other/default/default.css +127 -0
  278. package/dist/collection/components/other/default/default.js +54 -0
  279. package/dist/collection/components/other_deprecated/collapse/collapse.css +177 -0
  280. package/dist/collection/components/other_deprecated/collapse/collapse.js +163 -0
  281. package/dist/collection/components/other_deprecated/collapse/group.js +128 -0
  282. package/dist/collection/components/other_deprecated/listbox/listbox-group.css +139 -0
  283. package/dist/collection/components/other_deprecated/listbox/listbox-group.js +93 -0
  284. package/dist/collection/components/other_deprecated/listbox/listbox-item.css +269 -0
  285. package/dist/collection/components/other_deprecated/listbox/listbox-item.js +641 -0
  286. package/dist/collection/components/other_deprecated/listbox/listbox.css +365 -0
  287. package/dist/collection/components/other_deprecated/listbox/listbox.js +1999 -0
  288. package/dist/collection/components/other_deprecated/listbox/types.js +11 -0
  289. package/dist/collection/components/other_deprecated/old-input/old-input.css +1360 -0
  290. package/dist/collection/components/other_deprecated/old-input/old-input.js +1154 -0
  291. package/dist/collection/components/other_deprecated/old-input/types.js +17 -0
  292. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +582 -0
  293. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +411 -0
  294. package/dist/collection/components/other_deprecated/old-popover/old-popover.css +127 -0
  295. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +296 -0
  296. package/dist/collection/components/other_deprecated/old-search/old-search.css +131 -0
  297. package/dist/collection/components/other_deprecated/old-search/old-search.js +496 -0
  298. package/dist/collection/components/other_deprecated/old-tag/old-tag.css +305 -0
  299. package/dist/collection/components/other_deprecated/old-tag/old-tag.js +326 -0
  300. package/dist/collection/components/other_deprecated/old-tag/types.js +30 -0
  301. package/dist/collection/components/other_deprecated/select/group.css +144 -0
  302. package/dist/collection/components/other_deprecated/select/group.js +88 -0
  303. package/dist/collection/components/other_deprecated/select/option.css +164 -0
  304. package/dist/collection/components/other_deprecated/select/option.js +142 -0
  305. package/dist/collection/components/other_deprecated/select/select-box.css +143 -0
  306. package/dist/collection/components/other_deprecated/select/select-box.js +104 -0
  307. package/dist/collection/components/other_deprecated/select/select.css +364 -0
  308. package/dist/collection/components/other_deprecated/select/select.js +2229 -0
  309. package/dist/collection/components/other_deprecated/tabs/tab-pane.css +142 -0
  310. package/dist/collection/components/other_deprecated/tabs/tab-pane.js +168 -0
  311. package/dist/collection/components/other_deprecated/tabs/tab.css +587 -0
  312. package/dist/collection/components/other_deprecated/tabs/tab.js +303 -0
  313. package/dist/collection/components/other_deprecated/tabs/tabs-content.css +136 -0
  314. package/dist/collection/components/other_deprecated/tabs/tabs-content.js +147 -0
  315. package/dist/collection/components/other_deprecated/tabs/tabs.css +212 -0
  316. package/dist/collection/components/other_deprecated/tabs/tabs.js +806 -0
  317. package/dist/collection/components/other_deprecated/tabs/types.js +30 -0
  318. package/dist/collection/components/other_deprecated/text/text.css +429 -0
  319. package/dist/collection/components/other_deprecated/text/text.js +159 -0
  320. package/dist/collection/components/other_deprecated/treeview/treeview-group.css +0 -0
  321. package/dist/collection/components/other_deprecated/treeview/treeview-group.js +18 -0
  322. package/dist/collection/components/other_deprecated/treeview/treeview-item.css +318 -0
  323. package/dist/collection/components/other_deprecated/treeview/treeview-item.js +977 -0
  324. package/dist/collection/components/other_deprecated/treeview/treeview.css +190 -0
  325. package/dist/collection/components/other_deprecated/treeview/treeview.js +1699 -0
  326. package/dist/collection/components/other_deprecated/treeview/types.js +11 -0
  327. package/dist/collection/decorators/id-decorator.js +18 -0
  328. package/dist/collection/decorators/index.js +8 -0
  329. package/dist/collection/decorators/is-load-decorator.js +51 -0
  330. package/dist/collection/decorators/json-parse-decarator.js +35 -0
  331. package/dist/collection/decorators/property-decorators.js +28 -0
  332. package/dist/collection/global/components/_checkbox.css +627 -0
  333. package/dist/collection/global/config.js +45 -0
  334. package/dist/collection/global/global.js +43 -0
  335. package/dist/collection/global/variables/colors.js +220 -0
  336. package/dist/collection/helper/color-helper.js +81 -0
  337. package/dist/collection/helper/content-helper.js +63 -0
  338. package/dist/collection/helper/datetime-helper.js +7 -0
  339. package/dist/collection/helper/generate.js +163 -0
  340. package/dist/collection/helper/index.js +13 -0
  341. package/dist/collection/helper/number-helper.js +15 -0
  342. package/dist/collection/helper/popover-helper.js +104 -0
  343. package/dist/collection/helper/string-helper.js +65 -0
  344. package/dist/collection/helper/tooltip-helper.js +93 -0
  345. package/dist/collection/helper/validators.js +28 -0
  346. package/dist/collection/index.js +5 -0
  347. package/dist/collection/models/abstract-classes/abstract-key-control.js +97 -0
  348. package/dist/collection/models/bcm-types.js +5 -0
  349. package/dist/collection/models/bcm.js +466 -0
  350. package/dist/collection/models/index.js +6 -0
  351. package/dist/collection/models/states/atoms/bcm-atoms-state.js +5 -0
  352. package/dist/collection/models/states/molecules/bcm-molecules-state.js +5 -0
  353. package/dist/collection/models/states/organisms/bcm-organisms-state.js +5 -0
  354. package/dist/collection/templates/button-template.js +22 -0
  355. package/dist/collection/templates/caption-template.js +29 -0
  356. package/dist/collection/templates/checkbox-group-template.js +10 -0
  357. package/dist/collection/templates/checkbox-template.js +31 -0
  358. package/dist/collection/templates/icon-template.js +24 -0
  359. package/dist/collection/templates/index.js +17 -0
  360. package/dist/collection/templates/info-footer-template.js +16 -0
  361. package/dist/collection/templates/input-template.js +81 -0
  362. package/dist/collection/templates/label-template.js +18 -0
  363. package/dist/collection/templates/list-item-template.js +58 -0
  364. package/dist/collection/templates/list-template.js +24 -0
  365. package/dist/collection/templates/slot-template.js +10 -0
  366. package/dist/collection/templates/step-template.js +26 -0
  367. package/dist/collection/templates/tag-template.js +45 -0
  368. package/dist/collection/types/index.js +5 -0
  369. package/dist/collection/utils/element-dragger.js +274 -0
  370. package/dist/collection/utils/floating-ui.js +62 -0
  371. package/dist/collection/utils/index.js +9 -0
  372. package/dist/collection/utils/popover-placement.js +96 -0
  373. package/dist/collection/utils/utils.js +223 -0
  374. package/dist/collection/utils/validation.js +47 -0
  375. package/dist/esm/_commonjsHelpers-3016b722.js +25 -0
  376. package/dist/esm/bcm-accordion.entry.js +81 -0
  377. package/dist/esm/bcm-alert.entry.js +108 -0
  378. package/dist/esm/bcm-attendance.entry.js +46 -0
  379. package/dist/esm/bcm-autocomplete.entry.js +151 -0
  380. package/dist/esm/bcm-avatar_2.entry.js +151 -0
  381. package/dist/esm/bcm-b8d8a236.js +446 -0
  382. package/dist/esm/bcm-box.entry.js +31 -0
  383. package/dist/esm/bcm-breadcrumb.entry.js +63 -0
  384. package/dist/esm/bcm-button-group.entry.js +98 -0
  385. package/dist/esm/bcm-button_13.entry.js +1965 -0
  386. package/dist/esm/bcm-card.entry.js +72 -0
  387. package/dist/esm/bcm-checkbox-group.entry.js +405 -0
  388. package/dist/esm/bcm-checkbox-lite_9.entry.js +2558 -0
  389. package/dist/esm/bcm-checkbox_2.entry.js +198 -0
  390. package/dist/esm/bcm-chip.entry.js +66 -0
  391. package/dist/esm/bcm-collapse-group.entry.js +53 -0
  392. package/dist/esm/bcm-collapse.entry.js +54 -0
  393. package/dist/esm/bcm-colorpicker.entry.js +429 -0
  394. package/dist/esm/bcm-date-picker.entry.js +167 -0
  395. package/dist/esm/bcm-datetime-picker.entry.js +1428 -0
  396. package/dist/esm/bcm-default.entry.js +36 -0
  397. package/dist/esm/bcm-drawer.entry.js +107 -0
  398. package/dist/esm/bcm-error-layout.entry.js +74 -0
  399. package/dist/{bromcom-ui/p-d4937c44.entry.js → esm/bcm-expansion-panel.entry.js} +119 -1
  400. package/dist/esm/bcm-form-2.entry.js +201 -0
  401. package/dist/esm/bcm-form-group.entry.js +41 -0
  402. package/dist/esm/bcm-input.entry.js +320 -0
  403. package/dist/esm/bcm-link.entry.js +58 -0
  404. package/dist/esm/bcm-linked.entry.js +79 -0
  405. package/dist/esm/bcm-list.entry.js +1757 -0
  406. package/dist/esm/bcm-message.entry.js +95 -0
  407. package/dist/esm/bcm-modal.entry.js +133 -0
  408. package/dist/esm/bcm-notification.entry.js +99 -0
  409. package/dist/esm/bcm-old-input.entry.js +394 -0
  410. package/dist/esm/bcm-old-tag_2.entry.js +152 -0
  411. package/dist/esm/bcm-popconfirm-box.entry.js +118 -0
  412. package/dist/esm/bcm-popconfirm.entry.js +108 -0
  413. package/dist/esm/bcm-progress.entry.js +170 -0
  414. package/dist/esm/bcm-radio-group.entry.js +263 -0
  415. package/dist/esm/bcm-radio.entry.js +100 -0
  416. package/dist/esm/bcm-range.entry.js +185 -0
  417. package/dist/esm/bcm-result.entry.js +75 -0
  418. package/dist/esm/bcm-search.entry.js +252 -0
  419. package/dist/esm/bcm-select-group.entry.js +27 -0
  420. package/dist/esm/bcm-select-option.entry.js +33 -0
  421. package/dist/esm/bcm-select.entry.js +1177 -0
  422. package/dist/esm/bcm-skeleton.entry.js +52 -0
  423. package/dist/esm/bcm-step.entry.js +89 -0
  424. package/dist/esm/bcm-stepper.entry.js +207 -0
  425. package/dist/esm/bcm-tab-group.entry.js +168 -0
  426. package/dist/esm/bcm-tab-pane.entry.js +66 -0
  427. package/dist/esm/bcm-tab.entry.js +85 -0
  428. package/dist/esm/bcm-table.entry.js +74 -0
  429. package/dist/esm/bcm-tabs-content.entry.js +58 -0
  430. package/dist/esm/bcm-tabs.entry.js +386 -0
  431. package/dist/esm/bcm-tag.entry.js +97 -0
  432. package/dist/esm/bcm-textarea.entry.js +146 -0
  433. package/dist/esm/bcm-time-picker.entry.js +135 -0
  434. package/dist/esm/bcm-timeline-item.entry.js +51 -0
  435. package/dist/esm/bcm-timeline.entry.js +69 -0
  436. package/dist/esm/bcm-treeview-group.entry.js +19 -0
  437. package/dist/esm/bromcom-ui.js +22 -0
  438. package/dist/esm/caption-template-3dc68282.js +32 -0
  439. package/dist/esm/color-helper-7e202fd8.js +488 -0
  440. package/dist/esm/colors-1d7854ea.js +222 -0
  441. package/dist/esm/datetime-helper-df25808a.js +9 -0
  442. package/dist/esm/element-dragger-89bb52fd.js +277 -0
  443. package/dist/esm/generate-fb5ddb87.js +195 -0
  444. package/dist/esm/global-4fad925b.js +13 -0
  445. package/dist/esm/index-36ae55c5.js +191 -0
  446. package/dist/esm/index-ba2edd32.js +62 -0
  447. package/dist/esm/index-bd33e7be.js +1833 -0
  448. package/dist/esm/index.js +4 -0
  449. package/dist/esm/input-template-0c47abf5.js +84 -0
  450. package/dist/esm/is-load-decorator-73e33bee.js +54 -0
  451. package/dist/esm/json-parse-decarator-7b411846.js +38 -0
  452. package/dist/esm/label-template-c83a04a3.js +21 -0
  453. package/dist/esm/loader.js +22 -0
  454. package/dist/esm/number-helper-42be449e.js +18 -0
  455. package/dist/esm/old-bcm-popover.entry.js +100 -0
  456. package/dist/esm/polyfills/core-js.js +11 -0
  457. package/dist/esm/polyfills/css-shim.js +1 -0
  458. package/dist/esm/polyfills/dom.js +79 -0
  459. package/dist/esm/polyfills/es5-html-element.js +1 -0
  460. package/dist/esm/polyfills/index.js +34 -0
  461. package/dist/esm/polyfills/system.js +6 -0
  462. package/dist/esm/popover-placement-9864294b.js +95 -0
  463. package/dist/esm/property-decorators-61be220d.js +31 -0
  464. package/dist/esm/slot-template-24f1e66e.js +13 -0
  465. package/dist/esm/stepper-states-b8e9888d.js +81 -0
  466. package/dist/esm/string-helper-74a1648f.js +132 -0
  467. package/dist/esm/tooltip-helper-427dd3f5.js +1446 -0
  468. package/dist/esm/types-6f06fa1a.js +19 -0
  469. package/dist/esm/types-b211a5eb.js +32 -0
  470. package/dist/esm/types-bfc3bba1.js +32 -0
  471. package/dist/esm/utils-57652744.js +123 -0
  472. package/dist/esm/validators-6f23b54f.js +31 -0
  473. package/dist/index.cjs.js +1 -0
  474. package/dist/index.js +1 -0
  475. package/dist/types/components/atoms/avatar/avatar.d.ts +23 -0
  476. package/dist/types/components/atoms/badge/badge.d.ts +17 -0
  477. package/dist/types/components/atoms/box/box.d.ts +5 -0
  478. package/dist/types/components/atoms/button/button.d.ts +33 -0
  479. package/dist/types/components/atoms/button/types.d.ts +166 -0
  480. package/dist/types/components/atoms/chip/chip.d.ts +24 -0
  481. package/dist/types/components/atoms/divider/divider.d.ts +7 -0
  482. package/dist/types/components/atoms/icon/icon.d.ts +6 -0
  483. package/dist/types/components/atoms/label/label.d.ts +16 -0
  484. package/dist/types/components/atoms/link/link.d.ts +13 -0
  485. package/dist/types/components/atoms/states/button.states.d.ts +7 -0
  486. package/dist/types/components/atoms/tag/tag.d.ts +24 -0
  487. package/dist/types/components/atoms/tag/types.d.ts +29 -0
  488. package/dist/types/components/atoms/typography/typography.d.ts +5 -0
  489. package/dist/types/components/molecules/accordion/accordion.d.ts +11 -0
  490. package/dist/types/components/molecules/alert/alert.d.ts +21 -0
  491. package/dist/types/components/molecules/alert/types.d.ts +25 -0
  492. package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +14 -0
  493. package/dist/types/components/molecules/breadcrumb/types.d.ts +10 -0
  494. package/dist/types/components/molecules/button-group/button-group.d.ts +21 -0
  495. package/dist/types/components/molecules/card/card.d.ts +11 -0
  496. package/dist/types/components/molecules/checkbox/checkbox-lite.d.ts +14 -0
  497. package/dist/types/components/molecules/checkbox/checkbox.d.ts +56 -0
  498. package/dist/types/components/molecules/checkbox/group.d.ts +56 -0
  499. package/dist/types/components/molecules/drawer/drawer.d.ts +21 -0
  500. package/dist/types/components/molecules/dropdown/dropdown.d.ts +54 -0
  501. package/dist/types/components/molecules/empty/empty.d.ts +5 -0
  502. package/dist/types/components/molecules/error-layout/error-layout.d.ts +25 -0
  503. package/dist/types/components/molecules/error-layout/types.d.ts +4 -0
  504. package/dist/types/components/molecules/expansion-panel/expansion-panel.d.ts +31 -0
  505. package/dist/types/components/molecules/input/input.d.ts +82 -0
  506. package/dist/types/components/molecules/input/types.d.ts +13 -0
  507. package/dist/types/components/molecules/item/item.d.ts +13 -0
  508. package/dist/types/components/molecules/items/items.d.ts +10 -0
  509. package/dist/types/components/molecules/linked/linked.d.ts +14 -0
  510. package/dist/types/components/molecules/menu/menu.d.ts +41 -0
  511. package/dist/types/components/molecules/message/message.d.ts +32 -0
  512. package/dist/types/components/molecules/message/types.d.ts +13 -0
  513. package/dist/types/components/molecules/modal/modal.d.ts +26 -0
  514. package/dist/types/components/molecules/notification/notification.d.ts +42 -0
  515. package/dist/types/components/molecules/notification/types.d.ts +14 -0
  516. package/dist/types/components/molecules/popconfirm/popconfirm-box.d.ts +29 -0
  517. package/dist/types/components/molecules/popconfirm/popconfirm.d.ts +28 -0
  518. package/dist/types/components/molecules/popover/popover.d.ts +20 -0
  519. package/dist/types/components/molecules/progress/progress.d.ts +25 -0
  520. package/dist/types/components/molecules/progress/types.d.ts +14 -0
  521. package/dist/types/components/molecules/radio/group.d.ts +54 -0
  522. package/dist/types/components/molecules/radio/radio.d.ts +21 -0
  523. package/dist/types/components/molecules/radio/types.d.ts +29 -0
  524. package/dist/types/components/molecules/range/range.d.ts +36 -0
  525. package/dist/types/components/molecules/result/result.d.ts +13 -0
  526. package/dist/types/components/molecules/result/types.d.ts +19 -0
  527. package/dist/types/components/molecules/search/search.d.ts +35 -0
  528. package/dist/types/components/molecules/skeleton/skeleton.d.ts +8 -0
  529. package/dist/types/components/molecules/states/alert.states.d.ts +7 -0
  530. package/dist/types/components/molecules/states/checkbox-group.states.d.ts +53 -0
  531. package/dist/types/components/molecules/states/radio-group.states.d.ts +48 -0
  532. package/dist/types/components/molecules/states/search.states.d.ts +14 -0
  533. package/dist/types/components/molecules/states/stepper-states.d.ts +13 -0
  534. package/dist/types/components/molecules/stepper/step.d.ts +25 -0
  535. package/dist/types/components/molecules/stepper/stepper.d.ts +34 -0
  536. package/dist/types/components/molecules/switch/switch.d.ts +46 -0
  537. package/dist/types/components/molecules/tab-group/tab-group.d.ts +18 -0
  538. package/dist/types/components/molecules/textarea/textarea.d.ts +53 -0
  539. package/dist/types/components/molecules/textarea/types.d.ts +9 -0
  540. package/dist/types/components/molecules/timeline/timeline-item.d.ts +16 -0
  541. package/dist/types/components/molecules/timeline/timeline.d.ts +25 -0
  542. package/dist/types/components/molecules/tooltip/tooltip.d.ts +19 -0
  543. package/dist/types/components/organism/autocomplete/autocomplete.d.ts +31 -0
  544. package/dist/types/components/organism/colorpicker/colorpicker.d.ts +176 -0
  545. package/dist/types/components/organism/date-picker/date-picker.d.ts +77 -0
  546. package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +438 -0
  547. package/dist/types/components/organism/datetime-picker/types.d.ts +54 -0
  548. package/dist/types/components/organism/form/form-group.d.ts +10 -0
  549. package/dist/types/components/organism/form/form.d.ts +34 -0
  550. package/dist/types/components/organism/form-2/bcm-form-components.d.ts +2 -0
  551. package/dist/types/components/organism/form-2/form-2.d.ts +25 -0
  552. package/dist/types/components/organism/list/list-key-control.d.ts +18 -0
  553. package/dist/types/components/organism/list/list-tag-control.d.ts +18 -0
  554. package/dist/types/components/organism/list/list.d.ts +138 -0
  555. package/dist/types/components/organism/states/bcm-list2.states.d.ts +28 -0
  556. package/dist/types/components/organism/time-picker/time-picker.d.ts +69 -0
  557. package/dist/types/components/other/attendance/attendance.d.ts +7 -0
  558. package/dist/types/components/other/data-table/table.d.ts +8 -0
  559. package/dist/types/components/other/default/default.d.ts +6 -0
  560. package/dist/types/components/other_deprecated/collapse/collapse.d.ts +12 -0
  561. package/dist/types/components/other_deprecated/collapse/group.d.ts +15 -0
  562. package/dist/types/components/other_deprecated/listbox/listbox-group.d.ts +7 -0
  563. package/dist/types/components/other_deprecated/listbox/listbox-item.d.ts +58 -0
  564. package/dist/types/components/other_deprecated/listbox/listbox.d.ts +152 -0
  565. package/dist/types/components/other_deprecated/listbox/types.d.ts +11 -0
  566. package/dist/types/components/other_deprecated/old-input/old-input.d.ts +80 -0
  567. package/dist/types/components/other_deprecated/old-input/types.d.ts +13 -0
  568. package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +25 -0
  569. package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +22 -0
  570. package/dist/types/components/other_deprecated/old-search/old-search.d.ts +32 -0
  571. package/dist/types/components/other_deprecated/old-tag/old-tag.d.ts +27 -0
  572. package/dist/types/components/other_deprecated/old-tag/types.d.ts +29 -0
  573. package/dist/types/components/other_deprecated/select/group.d.ts +6 -0
  574. package/dist/types/components/other_deprecated/select/option.d.ts +10 -0
  575. package/dist/types/components/other_deprecated/select/select-box.d.ts +15 -0
  576. package/dist/types/components/other_deprecated/select/select.d.ts +131 -0
  577. package/dist/types/components/other_deprecated/tabs/tab-pane.d.ts +19 -0
  578. package/dist/types/components/other_deprecated/tabs/tab.d.ts +36 -0
  579. package/dist/types/components/other_deprecated/tabs/tabs-content.d.ts +18 -0
  580. package/dist/types/components/other_deprecated/tabs/tabs.d.ts +112 -0
  581. package/dist/types/components/other_deprecated/tabs/types.d.ts +39 -0
  582. package/dist/types/components/other_deprecated/text/text.d.ts +11 -0
  583. package/dist/types/components/other_deprecated/treeview/treeview-group.d.ts +3 -0
  584. package/dist/types/components/other_deprecated/treeview/treeview-item.d.ts +119 -0
  585. package/dist/types/components/other_deprecated/treeview/treeview.d.ts +181 -0
  586. package/dist/types/components/other_deprecated/treeview/types.d.ts +11 -0
  587. package/dist/types/components.d.ts +3517 -0
  588. package/dist/types/decorators/id-decorator.d.ts +4 -0
  589. package/dist/types/decorators/index.d.ts +4 -0
  590. package/dist/types/decorators/is-load-decorator.d.ts +7 -0
  591. package/dist/types/decorators/json-parse-decarator.d.ts +4 -0
  592. package/dist/types/decorators/property-decorators.d.ts +4 -0
  593. package/dist/types/global/variables/colors.d.ts +217 -0
  594. package/dist/types/helper/color-helper.d.ts +16 -0
  595. package/dist/types/helper/content-helper.d.ts +18 -0
  596. package/dist/types/helper/datetime-helper.d.ts +3 -0
  597. package/dist/types/helper/generate.d.ts +21 -0
  598. package/dist/types/helper/index.d.ts +9 -0
  599. package/dist/types/helper/number-helper.d.ts +10 -0
  600. package/dist/types/helper/popover-helper.d.ts +31 -0
  601. package/dist/types/helper/string-helper.d.ts +27 -0
  602. package/dist/types/helper/tooltip-helper.d.ts +25 -0
  603. package/dist/types/helper/validators.d.ts +10 -0
  604. package/dist/types/index.d.ts +1 -0
  605. package/dist/types/models/abstract-classes/abstract-key-control.d.ts +31 -0
  606. package/dist/types/models/bcm-types.d.ts +21 -0
  607. package/dist/types/models/bcm.d.ts +456 -0
  608. package/dist/types/models/index.d.ts +2 -0
  609. package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +34 -0
  610. package/dist/types/models/states/molecules/bcm-molecules-state.d.ts +90 -0
  611. package/dist/types/models/states/organisms/bcm-organisms-state.d.ts +78 -0
  612. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  613. package/dist/types/templates/button-template.d.ts +18 -0
  614. package/dist/types/templates/caption-template.d.ts +14 -0
  615. package/dist/types/templates/checkbox-group-template.d.ts +10 -0
  616. package/dist/types/templates/checkbox-template.d.ts +13 -0
  617. package/dist/types/templates/icon-template.d.ts +7 -0
  618. package/dist/types/templates/index.d.ts +13 -0
  619. package/dist/types/templates/info-footer-template.d.ts +10 -0
  620. package/dist/types/templates/input-template.d.ts +34 -0
  621. package/dist/types/templates/label-template.d.ts +12 -0
  622. package/dist/types/templates/list-item-template.d.ts +13 -0
  623. package/dist/types/templates/list-template.d.ts +29 -0
  624. package/dist/types/templates/slot-template.d.ts +8 -0
  625. package/dist/types/templates/step-template.d.ts +17 -0
  626. package/dist/types/templates/tag-template.d.ts +21 -0
  627. package/dist/types/types/index.d.ts +12 -0
  628. package/dist/types/utils/element-dragger.d.ts +146 -0
  629. package/dist/types/utils/floating-ui.d.ts +6 -0
  630. package/dist/types/utils/index.d.ts +5 -0
  631. package/dist/types/utils/popover-placement.d.ts +3 -0
  632. package/dist/types/utils/utils.d.ts +55 -0
  633. package/dist/types/utils/validation.d.ts +19 -0
  634. package/package.json +1 -1
  635. package/dist/bromcom-ui/p-0f4e34e9.js +0 -5
  636. package/dist/bromcom-ui/p-33db6fa4.entry.js +0 -5
  637. package/dist/bromcom-ui/p-485d81d3.entry.js +0 -5
  638. package/dist/bromcom-ui/p-5897f5ea.js +0 -5
  639. package/dist/bromcom-ui/p-5f72030e.js +0 -5
  640. package/dist/bromcom-ui/p-5f777c95.entry.js +0 -5
  641. package/dist/bromcom-ui/p-68db1144.entry.js +0 -5
  642. package/dist/bromcom-ui/p-7711c638.entry.js +0 -5
  643. package/dist/bromcom-ui/p-84a673d8.entry.js +0 -5
  644. package/dist/bromcom-ui/p-8c4ed164.js +0 -5
  645. package/dist/bromcom-ui/p-b50b9996.entry.js +0 -5
  646. package/dist/bromcom-ui/p-b8982c04.entry.js +0 -5
  647. package/dist/bromcom-ui/p-bd4fa01f.entry.js +0 -5
  648. package/dist/bromcom-ui/p-f66cf74a.js +0 -5
  649. package/dist/bromcom-ui/p-fd6981bf.entry.js +0 -5
@@ -0,0 +1,1860 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
6
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
7
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10
+ };
11
+ import { IsLoad, JsonParse } from '@bcm/decorator';
12
+ import { Generate, NumberHelper, Validators } from '@bcm/helpers';
13
+ import { Bcm } from '@bcm/model';
14
+ import { CaptionTemplate, LabelTemplate, ListTemplate } from '@bcm/template';
15
+ import { delay, getPlacement, setPosition } from '@bcm/utils';
16
+ import { Component, Element, h, Host, Listen, Method, Prop, State, Watch, Event } from '@stencil/core';
17
+ import cs from 'classnames';
18
+ import snq from 'snq';
19
+ import listState from '../states/bcm-list2.states';
20
+ import { ListKeyControl } from './list-key-control';
21
+ import { ListTagControl } from './list-tag-control';
22
+ export class BcmList {
23
+ constructor() {
24
+ this.debounce = null;
25
+ this._id = Generate.UID();
26
+ // All types
27
+ this.type = Bcm.ListType.listbox;
28
+ this.treeview = false;
29
+ this.checkboxes = false;
30
+ this.searchable = false;
31
+ this.value = null;
32
+ this.size = Bcm.Size.medium;
33
+ this.disabled = false;
34
+ this.readonly = false;
35
+ this.highlight = false;
36
+ this.required = false;
37
+ this.hidden = false;
38
+ this.fullWidth = false;
39
+ this.height = '256px';
40
+ this.maxHeight = '500px';
41
+ this.minHeight = '150px';
42
+ this.width = '256px';
43
+ this.infoFooter = false;
44
+ this.variableText = 'item';
45
+ // @Prop({ mutable: true }) showIcon = false;
46
+ // @Prop({ mutable: true }) favIcon = false;
47
+ // @Prop({ mutable: true }) favIconOnlyChilds = false;
48
+ // @Prop({ mutable: true }) contextMenu
49
+ this.allOpen = false;
50
+ this.keyControl = false;
51
+ this.checkAll = true;
52
+ this.stopDeepClean = false;
53
+ this.isOpen = false;
54
+ this.calculatedViewport = false;
55
+ this.isSelectedOther = false;
56
+ this.isHaveOtherTag = false;
57
+ //Only Select and similar
58
+ this.placeholder = 'Choose an option';
59
+ this.searchPlaceholder = 'Search';
60
+ this.searchIsOnlyChilds = false;
61
+ this.clearable = false;
62
+ this.noCaption = false;
63
+ this.captionType = Bcm.Status.default;
64
+ this.emptyIcon = 'fad fa-folder-open';
65
+ this.tick = {};
66
+ this.totalData = 0;
67
+ this.totalRootData = 0;
68
+ this.limit = 20;
69
+ this.searchResultLimit = 20; //Gerekliliği düşünülecek
70
+ this.searchFound = null;
71
+ this.returnFilterData = {};
72
+ this.returnOtherData = {};
73
+ this.options = {
74
+ rootMargin: '30px',
75
+ };
76
+ this.tagContainerWidth = 0;
77
+ this.selectAllItem = {
78
+ id: 'select-all',
79
+ text: 'Select All',
80
+ value: 'select-all',
81
+ checked: false,
82
+ disabled: false,
83
+ icon: '',
84
+ status: Bcm.Status.default,
85
+ indeterminate: 'uncheck',
86
+ };
87
+ this.placement = Bcm.Placement['bottom-start'];
88
+ this.data = [];
89
+ this.debounceHandler = Generate.debounceInput(() => this.listenResize(), 300, false);
90
+ }
91
+ connectedCallback() {
92
+ if (this.height != '256px') {
93
+ if (this.height.indexOf('px') > -1) {
94
+ this.limit = Math.floor(+this.height.replace('px', '') / 10);
95
+ }
96
+ else {
97
+ this.limit = Math.floor(+(window.innerHeight / 10));
98
+ }
99
+ this.searchResultLimit = this.limit;
100
+ this.markForCheck();
101
+ }
102
+ }
103
+ componentWillRender() {
104
+ this.calculateLocation();
105
+ }
106
+ componentShouldUpdate(newVal, oldVal, propName) {
107
+ if (Object.keys(this.getOptions()).indexOf(propName) > -1 && newVal !== oldVal) {
108
+ this.updateOptions();
109
+ }
110
+ }
111
+ async componentDidLoad() {
112
+ await this.initState();
113
+ if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
114
+ const list = this.el.querySelector(`#bcm-list-${this._id}`);
115
+ if (list) {
116
+ document.body.appendChild(list);
117
+ }
118
+ }
119
+ }
120
+ tagCalculator() {
121
+ if (this.checkboxes && (this.type == 'select' || this.type == 'autocomplete')) {
122
+ const tagCalculator = new ListTagControl(`bcm-list-input-tag-container-${this._id}`, this.value, this._id, this.isSelectedOther, this.clearable);
123
+ tagCalculator.calculateTags();
124
+ const arrayIds = id => typeof id == 'string' ? id.split(',') : [id];
125
+ const clearAutocomplete = () => {
126
+ if (this.type == 'autocomplete') {
127
+ const autocompleteInput = this.getAutoCompleteInput();
128
+ if (autocompleteInput) {
129
+ autocompleteInput.handleClear(false);
130
+ }
131
+ }
132
+ };
133
+ tagCalculator.onClickOtherTag = async (id) => {
134
+ if (!this.disabled) {
135
+ clearAutocomplete();
136
+ if (this.isSelectedOther) {
137
+ await this.unSelectOther();
138
+ }
139
+ else {
140
+ await this.onClearSearch();
141
+ this.isSelectedOther = true;
142
+ this.filterOtherList(arrayIds(id));
143
+ this.isOpen = true;
144
+ }
145
+ this.onSelectSearch();
146
+ }
147
+ };
148
+ tagCalculator.onClickTag = (_) => {
149
+ // console.log(id);
150
+ clearAutocomplete();
151
+ this.onSelectSearch();
152
+ this.unSelectOther();
153
+ };
154
+ tagCalculator.onClickDismiss = async (id) => {
155
+ var _a;
156
+ if (!this.disabled) {
157
+ if (this.isSelectedOther) {
158
+ await this.unSelectOther();
159
+ }
160
+ arrayIds(id).length > 1 ? listState.removeOtherTags(this._id, arrayIds(id)) : listState.checkedItem(this._id, arrayIds(id)[0]);
161
+ this.value = (await this.getCheckedList()).checkedList;
162
+ this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
163
+ }
164
+ };
165
+ }
166
+ }
167
+ disconnectedCallback() {
168
+ this.isOpen = false;
169
+ if (this.stopDeepClean)
170
+ return;
171
+ listState.removeState(this._id);
172
+ this.el.innerHTML = '';
173
+ if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
174
+ const list = document.querySelector(`#bcm-list-${this._id}`);
175
+ if (list) {
176
+ list.remove();
177
+ this.el.remove();
178
+ }
179
+ }
180
+ }
181
+ watchId(_, oldVal) {
182
+ // console.info('Changed component id:', oldVal + ' -> ' + newVal);
183
+ listState.removeState(oldVal);
184
+ this.initState();
185
+ }
186
+ handleValueChange(newVal, oldVal) {
187
+ var _a;
188
+ if (Generate.objectIsEmpty(this.returnFilterData)) {
189
+ this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
190
+ }
191
+ if (this.checkboxes) {
192
+ if (!Validators.compareTwoArrayIsSame(newVal, oldVal)) {
193
+ this.bcmChecklist.emit(this.value);
194
+ this.change.emit(this.value);
195
+ }
196
+ }
197
+ else {
198
+ if ((newVal === null || newVal === void 0 ? void 0 : newVal.text) != (oldVal === null || oldVal === void 0 ? void 0 : oldVal.text)) {
199
+ this.change.emit(this.value);
200
+ }
201
+ }
202
+ this.tagCalculator();
203
+ }
204
+ watchReturnFilterData(newVal) {
205
+ var _a;
206
+ const { checkedItems, visibledItems } = newVal;
207
+ if (checkedItems && visibledItems) {
208
+ this.handleIndeterminate(checkedItems.length, visibledItems.length);
209
+ }
210
+ else {
211
+ this.handleIndeterminate(((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) || 0, this.totalData);
212
+ }
213
+ }
214
+ handleOtherSelected(newValue) {
215
+ var _a;
216
+ const tagContent = (_a = document.getElementById(`bcm-list-input-tag-${this._id}-other-tag`)) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-tag__content');
217
+ if (tagContent) {
218
+ if (newValue === true) {
219
+ tagContent.classList.add('checkable', 'checked');
220
+ }
221
+ else {
222
+ tagContent.classList.remove('checkable', 'checked');
223
+ }
224
+ }
225
+ }
226
+ async handleOpen() {
227
+ if (this.isOpen) {
228
+ this.calculateLocation();
229
+ this.onSelectSearch();
230
+ }
231
+ else {
232
+ await delay(100);
233
+ this.unSelectOther();
234
+ }
235
+ }
236
+ async dataChanged(newValue, oldValue) {
237
+ if (!Validators.compareTwoArrayIsSame(newValue, oldValue)) {
238
+ await this.initState();
239
+ }
240
+ }
241
+ isIntersecting(e) {
242
+ const target = e === null || e === void 0 ? void 0 : e.target;
243
+ if (target && target.id === this._id) {
244
+ this.listenResize();
245
+ }
246
+ }
247
+ handleSlotItems(e) {
248
+ var _a;
249
+ if (((_a = e === null || e === void 0 ? void 0 : e.detail) === null || _a === void 0 ? void 0 : _a.length) > 0) {
250
+ this.data = e.detail;
251
+ }
252
+ }
253
+ handleChange(e) {
254
+ if (e.target.id == `bcm-list-input-tag-container-${this._id}-autocomplete-input`) {
255
+ e.stopImmediatePropagation();
256
+ }
257
+ }
258
+ handleResize() {
259
+ this.calculateLocation();
260
+ this.debounceHandler();
261
+ }
262
+ handleWheel(event) {
263
+ if (this.isOpen) {
264
+ const list = document.querySelector(`#bcm-list-${this._id}`);
265
+ const isClickInside = list && Generate.findEventPath(event, list);
266
+ if (isClickInside) {
267
+ if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
268
+ this.calculateLocation();
269
+ }
270
+ }
271
+ else {
272
+ this.hide();
273
+ }
274
+ }
275
+ }
276
+ handleClick(event) {
277
+ var _a;
278
+ if (this.disabled)
279
+ return;
280
+ const list = document.querySelector(`#bcm-list-${this._id}`);
281
+ const isClickInside = Generate.findEventPath(event, this.el) || (list && Generate.findEventPath(event, list));
282
+ if (isClickInside) {
283
+ if (this.debounce !== null) {
284
+ event.preventDefault();
285
+ event.stopPropagation();
286
+ clearTimeout(this.debounce);
287
+ this.debounce = null;
288
+ }
289
+ this.debounce = setTimeout(() => {
290
+ this.debounce = null;
291
+ }, 300);
292
+ }
293
+ if (!isClickInside) {
294
+ if (this.type == 'autocomplete') {
295
+ const autocompleteInput = this.getAutoCompleteInput();
296
+ if (autocompleteInput) {
297
+ if (this.checkboxes) {
298
+ autocompleteInput.setValue('');
299
+ }
300
+ else {
301
+ autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
302
+ }
303
+ }
304
+ }
305
+ }
306
+ const clickToTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag']);
307
+ const clickToOtherTag = Generate.findEventPathWithKey(event, 'className', ['bcm-tag bcm-tag--other']);
308
+ const clickToSelect = Generate.findEventPathWithKey(event, 'id', [`bcm-list-input-${this._id}`, `bcm-list-label-${this._id}`]);
309
+ const clickToTagDismiss = Generate.findEventPathWithKey(event, 'className', ['right close-button']);
310
+ if (clickToSelect && !clickToTagDismiss && this.type != 'autocomplete') {
311
+ this.isOpen = clickToTag || clickToOtherTag ? true : !this.isOpen;
312
+ }
313
+ if (list) {
314
+ if (this.isOpen) {
315
+ if (!list.contains(event.target) && !this.el.contains(event.target)) {
316
+ this.isOpen = false;
317
+ // this.unSelectOther()
318
+ }
319
+ }
320
+ }
321
+ }
322
+ bcmOnSearchClear(event) {
323
+ var _a, _b;
324
+ if (this.type == 'autocomplete') {
325
+ 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`) {
326
+ if (event.detail) {
327
+ this.setClear();
328
+ }
329
+ }
330
+ }
331
+ }
332
+ bcmOnSearch(event) {
333
+ var _a, _b, _c, _d, _e, _f;
334
+ 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`) {
335
+ this.searchGetParents = snq(() => { var _a; return (_a = event.detail) === null || _a === void 0 ? void 0 : _a.parentIndex; }, null);
336
+ this.searchResultLimit = 10;
337
+ this.searchFound = ((_c = event.detail) === null || _c === void 0 ? void 0 : _c.matching) != null ? (_d = event.detail) === null || _d === void 0 ? void 0 : _d.matching.length : null;
338
+ this.returnFilterData = listState.filterData(this._id, (_e = event.detail) === null || _e === void 0 ? void 0 : _e.nestedResult);
339
+ if (this.searchFound > 0 && this.highlight) {
340
+ this.highlightText = (_f = event.detail) === null || _f === void 0 ? void 0 : _f.value;
341
+ }
342
+ if (this.type == 'autocomplete') {
343
+ this.isOpen = true;
344
+ }
345
+ if (!event.detail.result) {
346
+ if (this.type == 'autocomplete') {
347
+ this.isOpen = false;
348
+ }
349
+ if (this.isSelectedOther) {
350
+ this.filterOtherList(this.otherTagIds());
351
+ }
352
+ else {
353
+ this.returnFilterData = {};
354
+ listState.filterData(this._id, null);
355
+ }
356
+ // this.isSelectedOther = false
357
+ this.searchResultLimit = null;
358
+ this.highlightText = null;
359
+ }
360
+ this.markForCheck();
361
+ }
362
+ }
363
+ //keyboard navigation
364
+ handleKeyDown(ev) {
365
+ const keycode = ev.keyCode || ev.which;
366
+ if (keycode === Bcm.KeyCode.escape) {
367
+ if (this.isOpen) {
368
+ this.isOpen = false;
369
+ ev.preventDefault();
370
+ ev.stopPropagation();
371
+ ev.stopImmediatePropagation();
372
+ }
373
+ }
374
+ if (this.keyControl) {
375
+ const keyboard = new ListKeyControl(keycode, this.el, this.treeview, this.checkboxes);
376
+ keyboard.openGroup = openGroupId => {
377
+ this.openGroup(openGroupId);
378
+ };
379
+ keyboard.checkedItem = checkedItemId => {
380
+ this.checkedItem(checkedItemId);
381
+ };
382
+ keyboard.keyDown();
383
+ }
384
+ }
385
+ handleKeyUp(ev) {
386
+ if (this.keyControl) {
387
+ const focusedList = Generate.findEventPath(ev, this.el);
388
+ if (focusedList) {
389
+ const list = document.getElementById(`bcm-list-${this._id}`);
390
+ if (list) {
391
+ const items = list.querySelectorAll('.bcm-list__item.focused');
392
+ if (items.length > 0) {
393
+ const main = list.querySelector('main');
394
+ const itemHeight = items[0].offsetHeight;
395
+ const listHeight = main.offsetHeight;
396
+ const itemTop = items[0].offsetTop;
397
+ if (itemTop > listHeight) {
398
+ main.scrollTop = itemTop - listHeight / 2 + itemHeight / 2;
399
+ }
400
+ if (itemTop < listHeight) {
401
+ main.scrollTop = itemTop - listHeight / 2 - itemHeight / 2;
402
+ }
403
+ }
404
+ }
405
+ }
406
+ }
407
+ }
408
+ async set(data) {
409
+ if (data) {
410
+ if (Array.isArray(data)) {
411
+ this.addChecked(data);
412
+ }
413
+ if (typeof data === 'string' || typeof data === 'number') {
414
+ this.selectedItem(data);
415
+ }
416
+ }
417
+ else {
418
+ this.setClear();
419
+ }
420
+ }
421
+ async get() {
422
+ var _a, _b;
423
+ return this.value ? (this.checkboxes ? (_b = (_a = (await this.getCheckedList())) === null || _a === void 0 ? void 0 : _a.checkedList) === null || _b === void 0 ? void 0 : _b.map(item => item.id) : this.value.id) : null;
424
+ }
425
+ async getCheckedList() {
426
+ return Promise.resolve(listState.getCheckedList(this._id));
427
+ }
428
+ async getSelected() {
429
+ return Promise.resolve(listState.getSelected(this._id));
430
+ }
431
+ async getValue() {
432
+ return Promise.resolve(this.value);
433
+ }
434
+ async addChecked(ids = [], save = false, emit = true) {
435
+ if (ids && ids.length > 0) {
436
+ if (!save) {
437
+ listState.setClear(this._id);
438
+ await delay(10);
439
+ }
440
+ await listState.addChecked(this._id, ids);
441
+ await delay(10);
442
+ emit && (this.value = (await this.getCheckedList()).checkedList);
443
+ this.markForCheck();
444
+ }
445
+ return Promise.resolve(this.value);
446
+ }
447
+ async selected(id) {
448
+ if (id) {
449
+ return Promise.resolve(await this.selectedItem(id));
450
+ }
451
+ return false;
452
+ }
453
+ async setClear(e) {
454
+ listState.setClear(this._id);
455
+ this.value = null;
456
+ this.inputText = '';
457
+ this.isOpen = false;
458
+ this.selectAllItem.indeterminate = 'uncheck';
459
+ this.tagCalculator();
460
+ this.markForCheck();
461
+ if (e) {
462
+ e.stopPropagation();
463
+ e.preventDefault();
464
+ }
465
+ await delay(10);
466
+ return Promise.resolve();
467
+ }
468
+ async resetCaption() {
469
+ await delay(10);
470
+ this.caption = this.captionCache;
471
+ this.captionType = this.captionTypeCache;
472
+ this.captionError = null;
473
+ await delay(10);
474
+ return Promise.resolve();
475
+ }
476
+ async show() {
477
+ this.isOpen = true;
478
+ return Promise.resolve();
479
+ }
480
+ async hide() {
481
+ this.isOpen = false;
482
+ return Promise.resolve();
483
+ }
484
+ updateOptions() {
485
+ listState.updateOptions(this._id, this);
486
+ }
487
+ handleIndeterminate(checkeds, total) {
488
+ 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 });
489
+ }
490
+ listenResize() {
491
+ this.tagCalculator();
492
+ this.calculateLocation();
493
+ this.markForCheck();
494
+ }
495
+ async unSelectOther() {
496
+ await this.onClearSearch();
497
+ this.isSelectedOther = false;
498
+ this.searchFound = null;
499
+ this.returnFilterData = {};
500
+ listState.filterData(this._id, null);
501
+ await delay(10);
502
+ return Promise.resolve();
503
+ }
504
+ async onClearSearch() {
505
+ const searchInput = document.getElementById(`bcm-list-${this._id}-search`);
506
+ if (searchInput) {
507
+ await searchInput.handleClear();
508
+ }
509
+ return Promise.resolve();
510
+ }
511
+ async onSelectSearch() {
512
+ const searchInput = document.getElementById(`bcm-list-${this._id}-search`);
513
+ if (searchInput) {
514
+ await delay(100);
515
+ searchInput.onBcmFocus();
516
+ searchInput.onBcmSelect();
517
+ }
518
+ }
519
+ otherTagIds() {
520
+ const otherTag = document.querySelector(`#bcm-list-input-tag-${this._id}-other-tag`);
521
+ if (otherTag) {
522
+ return otherTag.getAttribute('data-ids').split(',');
523
+ }
524
+ }
525
+ async filterOtherList(ids) {
526
+ const checklist = (await this.getCheckedList()).nestedResult;
527
+ const filter = Generate.convertIdsToNestedData(ids, checklist);
528
+ this.returnFilterData = await listState.filterData(this._id, filter, null, true);
529
+ this.searchFound = ids.length || 0;
530
+ this.limit = 500;
531
+ this.searchGetParents = null;
532
+ await delay(1000);
533
+ this.markForCheck();
534
+ }
535
+ async initState() {
536
+ var _a, _b, _c;
537
+ this.onClearSearch();
538
+ await listState.setValue({
539
+ id: this._id,
540
+ dataSource: this.data && snq(() => (typeof this.data == 'string' ? JSON.parse(this.data) : this.data), []),
541
+ options: this,
542
+ });
543
+ const { totalRoots, totalItems } = listState.getValue(this._id);
544
+ this.totalData = totalItems;
545
+ this.totalRootData = totalRoots;
546
+ this.value = this.checkboxes ? (await this.getCheckedList()).checkedList : listState.selectedItem(this._id) ? listState.selectedItem(this._id)[0] : null;
547
+ if (!this.checkboxes) {
548
+ this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
549
+ }
550
+ // checkli olan subparentların indeterminate kontrolü için
551
+ if (this.checkboxes && ((_b = this.value) === null || _b === void 0 ? void 0 : _b.length) > 0) {
552
+ const checkedIDs = [];
553
+ this.value.forEach(item => {
554
+ if (!item.items || item.items.length === 0) {
555
+ checkedIDs.push(item.id);
556
+ }
557
+ });
558
+ await this.addChecked(checkedIDs, false, false);
559
+ }
560
+ await this.handleIndeterminate((_c = this.value) === null || _c === void 0 ? void 0 : _c.length, this.totalData);
561
+ await this.markForCheck();
562
+ }
563
+ async markForCheck() {
564
+ await delay(10);
565
+ this.tick = Generate.UID();
566
+ }
567
+ getOptions() {
568
+ return snq(() => listState.getValue(this._id).options, {});
569
+ }
570
+ getItems() {
571
+ if (this.isSelectedOther) {
572
+ return this.returnFilterData['checkedItems'];
573
+ }
574
+ return snq(() => listState.getData(this._id), []);
575
+ }
576
+ getLimitedItems(ids) {
577
+ return snq(() => listState.getDataPagination(this._id, this.searchResultLimit || this.limit, ids), []);
578
+ }
579
+ openGroup(parentId) {
580
+ listState.openGroup(this._id, parentId);
581
+ this.markForCheck();
582
+ }
583
+ focusItem(e) {
584
+ if (e.target.classList.contains('bcm-list__item')) {
585
+ const item = e.target;
586
+ const list = document.getElementById(`bcm-list-${this._id}`);
587
+ if (list) {
588
+ const items = list.querySelectorAll('.bcm-list__item');
589
+ if (items.length > 0) {
590
+ const selectedItem = list.querySelector('.bcm-list__item.focused');
591
+ if (selectedItem) {
592
+ selectedItem.classList.remove('focused');
593
+ }
594
+ item.classList.add('focused');
595
+ }
596
+ }
597
+ }
598
+ }
599
+ async selectedItem(itemId) {
600
+ var _a;
601
+ if (!this.checkboxes) {
602
+ this.value = listState.selectedItem(this._id, itemId) ? listState.selectedItem(this._id, itemId)[0] : null;
603
+ this.inputText = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || null;
604
+ this.isOpen = false;
605
+ this.markForCheck();
606
+ if (this.type == 'autocomplete' && this.value) {
607
+ // await delay(100)
608
+ // this.resetCaption()
609
+ const autocompleteInput = this.getAutoCompleteInput();
610
+ if (autocompleteInput) {
611
+ setTimeout(() => {
612
+ var _a;
613
+ autocompleteInput.setValue(((_a = this.value) === null || _a === void 0 ? void 0 : _a.text) || '');
614
+ this.isOpen = false;
615
+ }, 100);
616
+ }
617
+ }
618
+ }
619
+ return Promise.resolve(this.value);
620
+ }
621
+ async checkedItem(itemId) {
622
+ const isCheckSelectAll = itemId === 'select-all';
623
+ if (!isCheckSelectAll) {
624
+ listState.checkedItem(this._id, itemId);
625
+ }
626
+ else {
627
+ listState.selectAll(this._id, !this.selectAllItem.checked);
628
+ }
629
+ this.value = (await this.getCheckedList()).checkedList;
630
+ this.changeVisibleCheckeds();
631
+ this.markForCheck();
632
+ }
633
+ changeVisibleCheckeds() {
634
+ const { visibledItems } = this.returnFilterData;
635
+ this.returnFilterData = {
636
+ visibledItems,
637
+ checkedItems: (visibledItems && visibledItems.filter(item => item.checked)) || [],
638
+ };
639
+ }
640
+ getAutoCompleteInput() {
641
+ return document.getElementById(`bcm-list-input-tag-container-${this._id}-autocomplete-input`);
642
+ }
643
+ dataScrollEvent(event) {
644
+ let count = 0;
645
+ let io = new IntersectionObserver((data) => {
646
+ if (count === 0) {
647
+ count++;
648
+ if (data[0].isIntersecting) {
649
+ this.limit += 15;
650
+ this.searchResultLimit += 15;
651
+ io.disconnect();
652
+ io = null;
653
+ }
654
+ }
655
+ }, this.options);
656
+ io.observe(event.target.lastElementChild);
657
+ }
658
+ async calculateLocation() {
659
+ var _a, _b;
660
+ if (this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent) {
661
+ const list = document.getElementById(`bcm-list-${this._id}`);
662
+ // list && (list.style.height = '256px') //sebebi neydi ki!
663
+ var placement = this.placement;
664
+ const targetElementId = this.linkedComponent ? this.linkedComponent : `bcm-list-input-${this._id}`;
665
+ const targetElement = document.getElementById(targetElementId);
666
+ if (list && targetElement) {
667
+ getPlacement(list, targetElement, placement, (place) => (placement = place));
668
+ await delay(10);
669
+ let pos = setPosition(placement, targetElement);
670
+ let captionAreaHeight = 0;
671
+ let labelAreaHeight = 0;
672
+ if (this.linkedComponent) {
673
+ const linked = document.getElementById(this.linkedComponent);
674
+ if (linked) {
675
+ if (!linked['noCaption']) {
676
+ const captionArea = ((_a = linked.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.bcm-caption-area')) || linked.querySelector('.bcm-caption-area');
677
+ if (captionArea) {
678
+ captionAreaHeight = captionArea.offsetHeight || captionArea.clientHeight;
679
+ }
680
+ }
681
+ const labelArea = ((_b = linked.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.bcm-label')) || linked.querySelector('.bcm-label');
682
+ if (labelArea) {
683
+ labelAreaHeight = labelArea.offsetHeight || labelArea.clientHeight;
684
+ }
685
+ }
686
+ }
687
+ if (this.fullWidth) {
688
+ list.style.width = targetElement.offsetWidth + 'px';
689
+ }
690
+ else {
691
+ list.style.width = this.width || 'auto';
692
+ }
693
+ if (this.height.indexOf('%') > -1) {
694
+ list.style.height = NumberHelper.toNumber(this.height) * 0.01 * window.innerHeight - pos[0] - 50 + 'px';
695
+ }
696
+ else {
697
+ list.style.height = this.height;
698
+ }
699
+ list.style.minHeight = this.minHeight;
700
+ // const calculatedMaxHeight = window.innerHeight - pos[0] - 50;
701
+ const calculatedMaxHeight = placement.split('-')[0] == 'top' ? window.innerHeight - (window.innerHeight - pos[0]) - 50 : window.innerHeight - pos[0] - 50;
702
+ if (this.maxHeight.indexOf('%') > -1) {
703
+ list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) * 0.01 * calculatedMaxHeight + 'px';
704
+ }
705
+ else {
706
+ list.style.maxHeight = NumberHelper.toNumber(this.maxHeight) < calculatedMaxHeight ? this.maxHeight : calculatedMaxHeight + 'px';
707
+ }
708
+ getPlacement(list, targetElement, placement, (place) => (placement = place));
709
+ await delay(10);
710
+ pos = setPosition(placement, targetElement);
711
+ list.style.top = (placement.split('-')[0] == 'top' ? pos[0] - list.offsetHeight + labelAreaHeight : pos[0] - captionAreaHeight) + 'px';
712
+ // list.style.left = pos[1] + 'px';
713
+ list.style.left = placement.split('-')[1] == 'end' ? pos[1] - list.offsetWidth + 'px' : pos[1] + 'px';
714
+ list.classList.toggle('bcm-list--top', placement.split('-')[0] == 'top');
715
+ this.calculatedViewport = true;
716
+ }
717
+ }
718
+ }
719
+ render() {
720
+ const { checkboxes, treeview, label, size, disabled, readonly, required, hidden, fullWidth, searchable } = this.getOptions();
721
+ const hostClasses = cs('bcm-list', `bcm-list__size-${size}`, `bcm-list__${this.type}`, size === 'large' ? 'size-3' : 'size-2', {
722
+ 'error': this.captionType == Bcm.Status.error,
723
+ 'full-width': fullWidth,
724
+ 'bcm-list__linked': this.linkedComponent,
725
+ hidden,
726
+ readonly,
727
+ disabled,
728
+ });
729
+ const bcmListContainer = cs('bcm-list__container', this.linkedComponent ? 'bcm-list__type-linked-component' : `bcm-list__type-${this.type}`, {
730
+ 'is-open': this.isOpen && this.calculatedViewport,
731
+ 'error': this.captionType == Bcm.Status.error,
732
+ 'full-width': fullWidth,
733
+ hidden,
734
+ readonly,
735
+ disabled,
736
+ });
737
+ const bcmListInput = cs('bcm-list__input');
738
+ const openedType = this.type == 'select' || this.type == 'autocomplete' || this.linkedComponent;
739
+ return (h(Host, { class: hostClasses, tabindex: "0", style: {
740
+ '--width': fullWidth ? '100%' : this.width,
741
+ '--height': openedType ? '100%' : this.height,
742
+ '--max-height': openedType ? 'inherit' : this.maxHeight,
743
+ '--min-height': openedType ? 'inherit' : this.minHeight,
744
+ } },
745
+ h("div", { id: `bcm-list-label-${this._id}`, class: "bcm-list__label" }, label && (h("div", null,
746
+ h(LabelTemplate, { size: this.size, type: this.captionType, value: label, required: required, htmlFor: this._id })))),
747
+ this.type == 'select' && (h("div", { id: `bcm-list-input-${this._id}`, class: bcmListInput },
748
+ h("span", { class: cs("bcm-list__input-container", { 'type-single': !checkboxes, 'value-empty': !this.value }) },
749
+ this.checkboxes && h("span", { id: `bcm-list-input-tag-container-${this._id}`, class: "bcm-list__input-tag-container" }),
750
+ this.checkboxes && !this.value && h("span", { class: "bcm-list__input-placeholder" }, this.placeholder),
751
+ !this.checkboxes && (this.value ? this.inputText : h("span", { class: "bcm-list__input-placeholder" }, this.placeholder))),
752
+ h("span", { class: cs('bcm-list__input-buttons', {
753
+ 'disabled': disabled,
754
+ }) },
755
+ this.clearable && this.value && h("div", { class: "bcm-list__input-buttons-button" },
756
+ h("bcm-icon", { icon: "fal fa-times", onClick: e => !disabled && (this.setClear(e)) })),
757
+ h("div", { class: `bcm-list__input-buttons-button caret-is ${(this.isOpen && this.calculatedViewport) && 'caret-is-open'}` },
758
+ h("bcm-icon", { icon: `far fa-angle-down` }))))),
759
+ this.type === 'autocomplete' && (h("div", { id: `bcm-list-input-${this._id}`, class: cs(bcmListInput, { 'bcm-list__input-autocomplete': this.type == 'autocomplete' }) },
760
+ h("span", { class: "bcm-list__input-container", id: `bcm-list-input-tag-container-${this._id}` },
761
+ this.checkboxes && h("span", { class: "bcm-list__input-tag-container", id: `bcm-list-input-tag-container-${this._id}-autocomplete` }),
762
+ 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 })))),
763
+ 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, 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 }),
764
+ h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
765
+ }
766
+ static get is() { return "bcm-list"; }
767
+ static get originalStyleUrls() { return {
768
+ "$": ["list.scss"]
769
+ }; }
770
+ static get styleUrls() { return {
771
+ "$": ["list.css"]
772
+ }; }
773
+ static get properties() { return {
774
+ "_id": {
775
+ "type": "string",
776
+ "mutable": true,
777
+ "complexType": {
778
+ "original": "string",
779
+ "resolved": "string",
780
+ "references": {}
781
+ },
782
+ "required": false,
783
+ "optional": false,
784
+ "docs": {
785
+ "tags": [],
786
+ "text": ""
787
+ },
788
+ "attribute": "id",
789
+ "reflect": true,
790
+ "defaultValue": "Generate.UID()"
791
+ },
792
+ "type": {
793
+ "type": "string",
794
+ "mutable": true,
795
+ "complexType": {
796
+ "original": "ListTypes",
797
+ "resolved": "\"autocomplete\" | \"listbox\" | \"select\"",
798
+ "references": {
799
+ "ListTypes": {
800
+ "location": "import",
801
+ "path": "@bcm/model"
802
+ }
803
+ }
804
+ },
805
+ "required": false,
806
+ "optional": false,
807
+ "docs": {
808
+ "tags": [],
809
+ "text": ""
810
+ },
811
+ "attribute": "type",
812
+ "reflect": false,
813
+ "defaultValue": "Bcm.ListType.listbox"
814
+ },
815
+ "treeview": {
816
+ "type": "boolean",
817
+ "mutable": true,
818
+ "complexType": {
819
+ "original": "boolean",
820
+ "resolved": "boolean",
821
+ "references": {}
822
+ },
823
+ "required": false,
824
+ "optional": false,
825
+ "docs": {
826
+ "tags": [],
827
+ "text": ""
828
+ },
829
+ "attribute": "treeview",
830
+ "reflect": false,
831
+ "defaultValue": "false"
832
+ },
833
+ "checkboxes": {
834
+ "type": "boolean",
835
+ "mutable": true,
836
+ "complexType": {
837
+ "original": "boolean",
838
+ "resolved": "boolean",
839
+ "references": {}
840
+ },
841
+ "required": false,
842
+ "optional": false,
843
+ "docs": {
844
+ "tags": [],
845
+ "text": ""
846
+ },
847
+ "attribute": "checkboxes",
848
+ "reflect": false,
849
+ "defaultValue": "false"
850
+ },
851
+ "searchable": {
852
+ "type": "boolean",
853
+ "mutable": true,
854
+ "complexType": {
855
+ "original": "boolean",
856
+ "resolved": "boolean",
857
+ "references": {}
858
+ },
859
+ "required": false,
860
+ "optional": false,
861
+ "docs": {
862
+ "tags": [],
863
+ "text": ""
864
+ },
865
+ "attribute": "searchable",
866
+ "reflect": false,
867
+ "defaultValue": "false"
868
+ },
869
+ "value": {
870
+ "type": "any",
871
+ "mutable": true,
872
+ "complexType": {
873
+ "original": "any",
874
+ "resolved": "any",
875
+ "references": {}
876
+ },
877
+ "required": false,
878
+ "optional": false,
879
+ "docs": {
880
+ "tags": [],
881
+ "text": ""
882
+ },
883
+ "attribute": "value",
884
+ "reflect": false,
885
+ "defaultValue": "null"
886
+ },
887
+ "name": {
888
+ "type": "string",
889
+ "mutable": true,
890
+ "complexType": {
891
+ "original": "string",
892
+ "resolved": "string",
893
+ "references": {}
894
+ },
895
+ "required": false,
896
+ "optional": false,
897
+ "docs": {
898
+ "tags": [],
899
+ "text": ""
900
+ },
901
+ "attribute": "name",
902
+ "reflect": false
903
+ },
904
+ "label": {
905
+ "type": "string",
906
+ "mutable": true,
907
+ "complexType": {
908
+ "original": "string",
909
+ "resolved": "string",
910
+ "references": {}
911
+ },
912
+ "required": false,
913
+ "optional": false,
914
+ "docs": {
915
+ "tags": [],
916
+ "text": ""
917
+ },
918
+ "attribute": "label",
919
+ "reflect": false
920
+ },
921
+ "size": {
922
+ "type": "string",
923
+ "mutable": true,
924
+ "complexType": {
925
+ "original": "SizeTypes",
926
+ "resolved": "\"large\" | \"medium\" | \"small\"",
927
+ "references": {
928
+ "SizeTypes": {
929
+ "location": "import",
930
+ "path": "@bcm/model"
931
+ }
932
+ }
933
+ },
934
+ "required": false,
935
+ "optional": false,
936
+ "docs": {
937
+ "tags": [],
938
+ "text": ""
939
+ },
940
+ "attribute": "size",
941
+ "reflect": false,
942
+ "defaultValue": "Bcm.Size.medium"
943
+ },
944
+ "disabled": {
945
+ "type": "boolean",
946
+ "mutable": true,
947
+ "complexType": {
948
+ "original": "boolean",
949
+ "resolved": "boolean",
950
+ "references": {}
951
+ },
952
+ "required": false,
953
+ "optional": false,
954
+ "docs": {
955
+ "tags": [],
956
+ "text": ""
957
+ },
958
+ "attribute": "disabled",
959
+ "reflect": false,
960
+ "defaultValue": "false"
961
+ },
962
+ "readonly": {
963
+ "type": "boolean",
964
+ "mutable": true,
965
+ "complexType": {
966
+ "original": "boolean",
967
+ "resolved": "boolean",
968
+ "references": {}
969
+ },
970
+ "required": false,
971
+ "optional": false,
972
+ "docs": {
973
+ "tags": [],
974
+ "text": ""
975
+ },
976
+ "attribute": "readonly",
977
+ "reflect": false,
978
+ "defaultValue": "false"
979
+ },
980
+ "highlight": {
981
+ "type": "boolean",
982
+ "mutable": true,
983
+ "complexType": {
984
+ "original": "boolean",
985
+ "resolved": "boolean",
986
+ "references": {}
987
+ },
988
+ "required": false,
989
+ "optional": false,
990
+ "docs": {
991
+ "tags": [],
992
+ "text": ""
993
+ },
994
+ "attribute": "highlight",
995
+ "reflect": false,
996
+ "defaultValue": "false"
997
+ },
998
+ "highlightText": {
999
+ "type": "any",
1000
+ "mutable": true,
1001
+ "complexType": {
1002
+ "original": "any",
1003
+ "resolved": "any",
1004
+ "references": {}
1005
+ },
1006
+ "required": false,
1007
+ "optional": false,
1008
+ "docs": {
1009
+ "tags": [],
1010
+ "text": ""
1011
+ },
1012
+ "attribute": "highlight-text",
1013
+ "reflect": false
1014
+ },
1015
+ "required": {
1016
+ "type": "boolean",
1017
+ "mutable": true,
1018
+ "complexType": {
1019
+ "original": "boolean",
1020
+ "resolved": "boolean",
1021
+ "references": {}
1022
+ },
1023
+ "required": false,
1024
+ "optional": false,
1025
+ "docs": {
1026
+ "tags": [],
1027
+ "text": ""
1028
+ },
1029
+ "attribute": "required",
1030
+ "reflect": false,
1031
+ "defaultValue": "false"
1032
+ },
1033
+ "hidden": {
1034
+ "type": "boolean",
1035
+ "mutable": true,
1036
+ "complexType": {
1037
+ "original": "boolean",
1038
+ "resolved": "boolean",
1039
+ "references": {}
1040
+ },
1041
+ "required": false,
1042
+ "optional": false,
1043
+ "docs": {
1044
+ "tags": [],
1045
+ "text": ""
1046
+ },
1047
+ "attribute": "hidden",
1048
+ "reflect": false,
1049
+ "defaultValue": "false"
1050
+ },
1051
+ "fullWidth": {
1052
+ "type": "boolean",
1053
+ "mutable": true,
1054
+ "complexType": {
1055
+ "original": "boolean",
1056
+ "resolved": "boolean",
1057
+ "references": {}
1058
+ },
1059
+ "required": false,
1060
+ "optional": false,
1061
+ "docs": {
1062
+ "tags": [],
1063
+ "text": ""
1064
+ },
1065
+ "attribute": "full-width",
1066
+ "reflect": false,
1067
+ "defaultValue": "false"
1068
+ },
1069
+ "height": {
1070
+ "type": "string",
1071
+ "mutable": true,
1072
+ "complexType": {
1073
+ "original": "string",
1074
+ "resolved": "string",
1075
+ "references": {}
1076
+ },
1077
+ "required": false,
1078
+ "optional": false,
1079
+ "docs": {
1080
+ "tags": [],
1081
+ "text": ""
1082
+ },
1083
+ "attribute": "height",
1084
+ "reflect": false,
1085
+ "defaultValue": "'256px'"
1086
+ },
1087
+ "maxHeight": {
1088
+ "type": "string",
1089
+ "mutable": true,
1090
+ "complexType": {
1091
+ "original": "string",
1092
+ "resolved": "string",
1093
+ "references": {}
1094
+ },
1095
+ "required": false,
1096
+ "optional": false,
1097
+ "docs": {
1098
+ "tags": [],
1099
+ "text": ""
1100
+ },
1101
+ "attribute": "max-height",
1102
+ "reflect": false,
1103
+ "defaultValue": "'500px'"
1104
+ },
1105
+ "minHeight": {
1106
+ "type": "string",
1107
+ "mutable": true,
1108
+ "complexType": {
1109
+ "original": "string",
1110
+ "resolved": "string",
1111
+ "references": {}
1112
+ },
1113
+ "required": false,
1114
+ "optional": false,
1115
+ "docs": {
1116
+ "tags": [],
1117
+ "text": ""
1118
+ },
1119
+ "attribute": "min-height",
1120
+ "reflect": false,
1121
+ "defaultValue": "'150px'"
1122
+ },
1123
+ "width": {
1124
+ "type": "string",
1125
+ "mutable": true,
1126
+ "complexType": {
1127
+ "original": "string",
1128
+ "resolved": "string",
1129
+ "references": {}
1130
+ },
1131
+ "required": false,
1132
+ "optional": false,
1133
+ "docs": {
1134
+ "tags": [],
1135
+ "text": ""
1136
+ },
1137
+ "attribute": "width",
1138
+ "reflect": false,
1139
+ "defaultValue": "'256px'"
1140
+ },
1141
+ "infoFooter": {
1142
+ "type": "boolean",
1143
+ "mutable": true,
1144
+ "complexType": {
1145
+ "original": "boolean",
1146
+ "resolved": "boolean",
1147
+ "references": {}
1148
+ },
1149
+ "required": false,
1150
+ "optional": false,
1151
+ "docs": {
1152
+ "tags": [],
1153
+ "text": ""
1154
+ },
1155
+ "attribute": "info-footer",
1156
+ "reflect": false,
1157
+ "defaultValue": "false"
1158
+ },
1159
+ "variableText": {
1160
+ "type": "string",
1161
+ "mutable": true,
1162
+ "complexType": {
1163
+ "original": "string",
1164
+ "resolved": "string",
1165
+ "references": {}
1166
+ },
1167
+ "required": false,
1168
+ "optional": false,
1169
+ "docs": {
1170
+ "tags": [],
1171
+ "text": ""
1172
+ },
1173
+ "attribute": "variable-text",
1174
+ "reflect": false,
1175
+ "defaultValue": "'item'"
1176
+ },
1177
+ "template": {
1178
+ "type": "string",
1179
+ "mutable": true,
1180
+ "complexType": {
1181
+ "original": "string",
1182
+ "resolved": "string",
1183
+ "references": {}
1184
+ },
1185
+ "required": false,
1186
+ "optional": false,
1187
+ "docs": {
1188
+ "tags": [],
1189
+ "text": ""
1190
+ },
1191
+ "attribute": "template",
1192
+ "reflect": false
1193
+ },
1194
+ "allOpen": {
1195
+ "type": "boolean",
1196
+ "mutable": true,
1197
+ "complexType": {
1198
+ "original": "boolean",
1199
+ "resolved": "boolean",
1200
+ "references": {}
1201
+ },
1202
+ "required": false,
1203
+ "optional": false,
1204
+ "docs": {
1205
+ "tags": [],
1206
+ "text": ""
1207
+ },
1208
+ "attribute": "all-open",
1209
+ "reflect": false,
1210
+ "defaultValue": "false"
1211
+ },
1212
+ "keyControl": {
1213
+ "type": "boolean",
1214
+ "mutable": true,
1215
+ "complexType": {
1216
+ "original": "boolean",
1217
+ "resolved": "boolean",
1218
+ "references": {}
1219
+ },
1220
+ "required": false,
1221
+ "optional": false,
1222
+ "docs": {
1223
+ "tags": [],
1224
+ "text": ""
1225
+ },
1226
+ "attribute": "key-control",
1227
+ "reflect": false,
1228
+ "defaultValue": "false"
1229
+ },
1230
+ "checkAll": {
1231
+ "type": "boolean",
1232
+ "mutable": true,
1233
+ "complexType": {
1234
+ "original": "boolean",
1235
+ "resolved": "boolean",
1236
+ "references": {}
1237
+ },
1238
+ "required": false,
1239
+ "optional": false,
1240
+ "docs": {
1241
+ "tags": [],
1242
+ "text": ""
1243
+ },
1244
+ "attribute": "check-all",
1245
+ "reflect": false,
1246
+ "defaultValue": "true"
1247
+ },
1248
+ "stopDeepClean": {
1249
+ "type": "boolean",
1250
+ "mutable": false,
1251
+ "complexType": {
1252
+ "original": "boolean",
1253
+ "resolved": "boolean",
1254
+ "references": {}
1255
+ },
1256
+ "required": false,
1257
+ "optional": false,
1258
+ "docs": {
1259
+ "tags": [],
1260
+ "text": ""
1261
+ },
1262
+ "attribute": "stop-deep-clean",
1263
+ "reflect": false,
1264
+ "defaultValue": "false"
1265
+ },
1266
+ "linkedComponent": {
1267
+ "type": "string",
1268
+ "mutable": true,
1269
+ "complexType": {
1270
+ "original": "string",
1271
+ "resolved": "string",
1272
+ "references": {}
1273
+ },
1274
+ "required": false,
1275
+ "optional": false,
1276
+ "docs": {
1277
+ "tags": [],
1278
+ "text": ""
1279
+ },
1280
+ "attribute": "linked-component",
1281
+ "reflect": false
1282
+ },
1283
+ "placeholder": {
1284
+ "type": "string",
1285
+ "mutable": true,
1286
+ "complexType": {
1287
+ "original": "string",
1288
+ "resolved": "string",
1289
+ "references": {}
1290
+ },
1291
+ "required": false,
1292
+ "optional": false,
1293
+ "docs": {
1294
+ "tags": [],
1295
+ "text": ""
1296
+ },
1297
+ "attribute": "placeholder",
1298
+ "reflect": false,
1299
+ "defaultValue": "'Choose an option'"
1300
+ },
1301
+ "searchPlaceholder": {
1302
+ "type": "string",
1303
+ "mutable": true,
1304
+ "complexType": {
1305
+ "original": "string",
1306
+ "resolved": "string",
1307
+ "references": {}
1308
+ },
1309
+ "required": false,
1310
+ "optional": false,
1311
+ "docs": {
1312
+ "tags": [],
1313
+ "text": ""
1314
+ },
1315
+ "attribute": "search-placeholder",
1316
+ "reflect": false,
1317
+ "defaultValue": "'Search'"
1318
+ },
1319
+ "searchIsOnlyChilds": {
1320
+ "type": "boolean",
1321
+ "mutable": true,
1322
+ "complexType": {
1323
+ "original": "boolean",
1324
+ "resolved": "boolean",
1325
+ "references": {}
1326
+ },
1327
+ "required": false,
1328
+ "optional": false,
1329
+ "docs": {
1330
+ "tags": [],
1331
+ "text": ""
1332
+ },
1333
+ "attribute": "search-is-only-childs",
1334
+ "reflect": false,
1335
+ "defaultValue": "false"
1336
+ },
1337
+ "clearable": {
1338
+ "type": "boolean",
1339
+ "mutable": true,
1340
+ "complexType": {
1341
+ "original": "boolean",
1342
+ "resolved": "boolean",
1343
+ "references": {}
1344
+ },
1345
+ "required": false,
1346
+ "optional": false,
1347
+ "docs": {
1348
+ "tags": [],
1349
+ "text": ""
1350
+ },
1351
+ "attribute": "clearable",
1352
+ "reflect": false,
1353
+ "defaultValue": "false"
1354
+ },
1355
+ "caption": {
1356
+ "type": "string",
1357
+ "mutable": true,
1358
+ "complexType": {
1359
+ "original": "string",
1360
+ "resolved": "string",
1361
+ "references": {}
1362
+ },
1363
+ "required": false,
1364
+ "optional": false,
1365
+ "docs": {
1366
+ "tags": [],
1367
+ "text": ""
1368
+ },
1369
+ "attribute": "caption",
1370
+ "reflect": false
1371
+ },
1372
+ "noCaption": {
1373
+ "type": "boolean",
1374
+ "mutable": true,
1375
+ "complexType": {
1376
+ "original": "boolean",
1377
+ "resolved": "boolean",
1378
+ "references": {}
1379
+ },
1380
+ "required": false,
1381
+ "optional": false,
1382
+ "docs": {
1383
+ "tags": [],
1384
+ "text": ""
1385
+ },
1386
+ "attribute": "no-caption",
1387
+ "reflect": false,
1388
+ "defaultValue": "false"
1389
+ },
1390
+ "captionType": {
1391
+ "type": "string",
1392
+ "mutable": true,
1393
+ "complexType": {
1394
+ "original": "StatusTypes",
1395
+ "resolved": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
1396
+ "references": {
1397
+ "StatusTypes": {
1398
+ "location": "import",
1399
+ "path": "@bcm/model"
1400
+ }
1401
+ }
1402
+ },
1403
+ "required": false,
1404
+ "optional": false,
1405
+ "docs": {
1406
+ "tags": [],
1407
+ "text": ""
1408
+ },
1409
+ "attribute": "caption-type",
1410
+ "reflect": false,
1411
+ "defaultValue": "Bcm.Status.default"
1412
+ },
1413
+ "captionError": {
1414
+ "type": "string",
1415
+ "mutable": true,
1416
+ "complexType": {
1417
+ "original": "string",
1418
+ "resolved": "string",
1419
+ "references": {}
1420
+ },
1421
+ "required": false,
1422
+ "optional": false,
1423
+ "docs": {
1424
+ "tags": [],
1425
+ "text": ""
1426
+ },
1427
+ "attribute": "caption-error",
1428
+ "reflect": false
1429
+ },
1430
+ "emptyText": {
1431
+ "type": "string",
1432
+ "mutable": false,
1433
+ "complexType": {
1434
+ "original": "string",
1435
+ "resolved": "string",
1436
+ "references": {}
1437
+ },
1438
+ "required": false,
1439
+ "optional": false,
1440
+ "docs": {
1441
+ "tags": [],
1442
+ "text": ""
1443
+ },
1444
+ "attribute": "empty-text",
1445
+ "reflect": false
1446
+ },
1447
+ "emptyIcon": {
1448
+ "type": "string",
1449
+ "mutable": false,
1450
+ "complexType": {
1451
+ "original": "string",
1452
+ "resolved": "string",
1453
+ "references": {}
1454
+ },
1455
+ "required": false,
1456
+ "optional": false,
1457
+ "docs": {
1458
+ "tags": [],
1459
+ "text": ""
1460
+ },
1461
+ "attribute": "empty-icon",
1462
+ "reflect": false,
1463
+ "defaultValue": "'fad fa-folder-open'"
1464
+ },
1465
+ "placement": {
1466
+ "type": "string",
1467
+ "mutable": true,
1468
+ "complexType": {
1469
+ "original": "PlacementTypes",
1470
+ "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
1471
+ "references": {
1472
+ "PlacementTypes": {
1473
+ "location": "import",
1474
+ "path": "@bcm/model"
1475
+ }
1476
+ }
1477
+ },
1478
+ "required": false,
1479
+ "optional": false,
1480
+ "docs": {
1481
+ "tags": [],
1482
+ "text": ""
1483
+ },
1484
+ "attribute": "placement",
1485
+ "reflect": false,
1486
+ "defaultValue": "Bcm.Placement['bottom-start']"
1487
+ },
1488
+ "data": {
1489
+ "type": "any",
1490
+ "mutable": true,
1491
+ "complexType": {
1492
+ "original": "any",
1493
+ "resolved": "any",
1494
+ "references": {}
1495
+ },
1496
+ "required": false,
1497
+ "optional": false,
1498
+ "docs": {
1499
+ "tags": [],
1500
+ "text": ""
1501
+ },
1502
+ "attribute": "data",
1503
+ "reflect": false,
1504
+ "defaultValue": "[]"
1505
+ }
1506
+ }; }
1507
+ static get states() { return {
1508
+ "inputText": {},
1509
+ "isOpen": {},
1510
+ "calculatedViewport": {},
1511
+ "isSelectedOther": {},
1512
+ "isHaveOtherTag": {},
1513
+ "captionCache": {},
1514
+ "captionTypeCache": {},
1515
+ "tick": {},
1516
+ "totalData": {},
1517
+ "totalRootData": {},
1518
+ "limit": {},
1519
+ "searchGetParents": {},
1520
+ "searchResultLimit": {},
1521
+ "searchFound": {},
1522
+ "returnFilterData": {},
1523
+ "returnOtherData": {},
1524
+ "options": {},
1525
+ "tagContainerWidth": {},
1526
+ "selectAllItem": {}
1527
+ }; }
1528
+ static get events() { return [{
1529
+ "method": "bcmChecklist",
1530
+ "name": "bcm-checklist",
1531
+ "bubbles": true,
1532
+ "cancelable": true,
1533
+ "composed": true,
1534
+ "docs": {
1535
+ "tags": [],
1536
+ "text": ""
1537
+ },
1538
+ "complexType": {
1539
+ "original": "any",
1540
+ "resolved": "any",
1541
+ "references": {}
1542
+ }
1543
+ }, {
1544
+ "method": "bcmSelected",
1545
+ "name": "bcm-selected",
1546
+ "bubbles": true,
1547
+ "cancelable": true,
1548
+ "composed": true,
1549
+ "docs": {
1550
+ "tags": [],
1551
+ "text": ""
1552
+ },
1553
+ "complexType": {
1554
+ "original": "any",
1555
+ "resolved": "any",
1556
+ "references": {}
1557
+ }
1558
+ }, {
1559
+ "method": "change",
1560
+ "name": "bcm-change",
1561
+ "bubbles": true,
1562
+ "cancelable": true,
1563
+ "composed": true,
1564
+ "docs": {
1565
+ "tags": [],
1566
+ "text": ""
1567
+ },
1568
+ "complexType": {
1569
+ "original": "any",
1570
+ "resolved": "any",
1571
+ "references": {}
1572
+ }
1573
+ }]; }
1574
+ static get methods() { return {
1575
+ "set": {
1576
+ "complexType": {
1577
+ "signature": "(data: any) => Promise<void>",
1578
+ "parameters": [{
1579
+ "tags": [],
1580
+ "text": ""
1581
+ }],
1582
+ "references": {
1583
+ "Promise": {
1584
+ "location": "global"
1585
+ }
1586
+ },
1587
+ "return": "Promise<void>"
1588
+ },
1589
+ "docs": {
1590
+ "text": "",
1591
+ "tags": []
1592
+ }
1593
+ },
1594
+ "get": {
1595
+ "complexType": {
1596
+ "signature": "() => Promise<any>",
1597
+ "parameters": [],
1598
+ "references": {
1599
+ "Promise": {
1600
+ "location": "global"
1601
+ }
1602
+ },
1603
+ "return": "Promise<any>"
1604
+ },
1605
+ "docs": {
1606
+ "text": "",
1607
+ "tags": []
1608
+ }
1609
+ },
1610
+ "getCheckedList": {
1611
+ "complexType": {
1612
+ "signature": "() => Promise<{ checkedList: any[]; nestedResult: any[]; }>",
1613
+ "parameters": [],
1614
+ "references": {
1615
+ "Promise": {
1616
+ "location": "global"
1617
+ }
1618
+ },
1619
+ "return": "Promise<{ checkedList: any[]; nestedResult: any[]; }>"
1620
+ },
1621
+ "docs": {
1622
+ "text": "",
1623
+ "tags": []
1624
+ }
1625
+ },
1626
+ "getSelected": {
1627
+ "complexType": {
1628
+ "signature": "() => Promise<any>",
1629
+ "parameters": [],
1630
+ "references": {
1631
+ "Promise": {
1632
+ "location": "global"
1633
+ }
1634
+ },
1635
+ "return": "Promise<any>"
1636
+ },
1637
+ "docs": {
1638
+ "text": "",
1639
+ "tags": []
1640
+ }
1641
+ },
1642
+ "getValue": {
1643
+ "complexType": {
1644
+ "signature": "() => Promise<any>",
1645
+ "parameters": [],
1646
+ "references": {
1647
+ "Promise": {
1648
+ "location": "global"
1649
+ }
1650
+ },
1651
+ "return": "Promise<any>"
1652
+ },
1653
+ "docs": {
1654
+ "text": "",
1655
+ "tags": []
1656
+ }
1657
+ },
1658
+ "addChecked": {
1659
+ "complexType": {
1660
+ "signature": "(ids?: any[], save?: boolean, emit?: boolean) => Promise<any>",
1661
+ "parameters": [{
1662
+ "tags": [],
1663
+ "text": ""
1664
+ }, {
1665
+ "tags": [],
1666
+ "text": ""
1667
+ }, {
1668
+ "tags": [],
1669
+ "text": ""
1670
+ }],
1671
+ "references": {
1672
+ "Promise": {
1673
+ "location": "global"
1674
+ }
1675
+ },
1676
+ "return": "Promise<any>"
1677
+ },
1678
+ "docs": {
1679
+ "text": "",
1680
+ "tags": []
1681
+ }
1682
+ },
1683
+ "selected": {
1684
+ "complexType": {
1685
+ "signature": "(id: any) => Promise<any>",
1686
+ "parameters": [{
1687
+ "tags": [],
1688
+ "text": ""
1689
+ }],
1690
+ "references": {
1691
+ "Promise": {
1692
+ "location": "global"
1693
+ }
1694
+ },
1695
+ "return": "Promise<any>"
1696
+ },
1697
+ "docs": {
1698
+ "text": "",
1699
+ "tags": []
1700
+ }
1701
+ },
1702
+ "setClear": {
1703
+ "complexType": {
1704
+ "signature": "(e?: any) => Promise<void>",
1705
+ "parameters": [{
1706
+ "tags": [],
1707
+ "text": ""
1708
+ }],
1709
+ "references": {
1710
+ "Promise": {
1711
+ "location": "global"
1712
+ }
1713
+ },
1714
+ "return": "Promise<void>"
1715
+ },
1716
+ "docs": {
1717
+ "text": "",
1718
+ "tags": []
1719
+ }
1720
+ },
1721
+ "resetCaption": {
1722
+ "complexType": {
1723
+ "signature": "() => Promise<void>",
1724
+ "parameters": [],
1725
+ "references": {
1726
+ "Promise": {
1727
+ "location": "global"
1728
+ }
1729
+ },
1730
+ "return": "Promise<void>"
1731
+ },
1732
+ "docs": {
1733
+ "text": "",
1734
+ "tags": []
1735
+ }
1736
+ },
1737
+ "show": {
1738
+ "complexType": {
1739
+ "signature": "() => Promise<void>",
1740
+ "parameters": [],
1741
+ "references": {
1742
+ "Promise": {
1743
+ "location": "global"
1744
+ }
1745
+ },
1746
+ "return": "Promise<void>"
1747
+ },
1748
+ "docs": {
1749
+ "text": "",
1750
+ "tags": []
1751
+ }
1752
+ },
1753
+ "hide": {
1754
+ "complexType": {
1755
+ "signature": "() => Promise<void>",
1756
+ "parameters": [],
1757
+ "references": {
1758
+ "Promise": {
1759
+ "location": "global"
1760
+ }
1761
+ },
1762
+ "return": "Promise<void>"
1763
+ },
1764
+ "docs": {
1765
+ "text": "",
1766
+ "tags": []
1767
+ }
1768
+ }
1769
+ }; }
1770
+ static get elementRef() { return "el"; }
1771
+ static get watchers() { return [{
1772
+ "propName": "_id",
1773
+ "methodName": "watchId"
1774
+ }, {
1775
+ "propName": "value",
1776
+ "methodName": "handleValueChange"
1777
+ }, {
1778
+ "propName": "returnFilterData",
1779
+ "methodName": "watchReturnFilterData"
1780
+ }, {
1781
+ "propName": "isSelectedOther",
1782
+ "methodName": "handleOtherSelected"
1783
+ }, {
1784
+ "propName": "isOpen",
1785
+ "methodName": "handleOpen"
1786
+ }, {
1787
+ "propName": "data",
1788
+ "methodName": "dataChanged"
1789
+ }]; }
1790
+ static get listeners() { return [{
1791
+ "name": "bcm-is-intersecting",
1792
+ "method": "isIntersecting",
1793
+ "target": undefined,
1794
+ "capture": true,
1795
+ "passive": false
1796
+ }, {
1797
+ "name": "bcm-items",
1798
+ "method": "handleSlotItems",
1799
+ "target": undefined,
1800
+ "capture": true,
1801
+ "passive": false
1802
+ }, {
1803
+ "name": "bcm-change",
1804
+ "method": "handleChange",
1805
+ "target": undefined,
1806
+ "capture": false,
1807
+ "passive": false
1808
+ }, {
1809
+ "name": "resize",
1810
+ "method": "handleResize",
1811
+ "target": "window",
1812
+ "capture": false,
1813
+ "passive": true
1814
+ }, {
1815
+ "name": "wheel",
1816
+ "method": "handleWheel",
1817
+ "target": "document",
1818
+ "capture": false,
1819
+ "passive": false
1820
+ }, {
1821
+ "name": "click",
1822
+ "method": "handleClick",
1823
+ "target": "window",
1824
+ "capture": true,
1825
+ "passive": false
1826
+ }, {
1827
+ "name": "bcm-on-search-clear",
1828
+ "method": "bcmOnSearchClear",
1829
+ "target": "window",
1830
+ "capture": true,
1831
+ "passive": false
1832
+ }, {
1833
+ "name": "bcm-on-search",
1834
+ "method": "bcmOnSearch",
1835
+ "target": "window",
1836
+ "capture": true,
1837
+ "passive": false
1838
+ }, {
1839
+ "name": "keydown",
1840
+ "method": "handleKeyDown",
1841
+ "target": "window",
1842
+ "capture": true,
1843
+ "passive": false
1844
+ }, {
1845
+ "name": "keyup",
1846
+ "method": "handleKeyUp",
1847
+ "target": "window",
1848
+ "capture": true,
1849
+ "passive": false
1850
+ }]; }
1851
+ }
1852
+ __decorate([
1853
+ IsLoad()
1854
+ ], BcmList.prototype, "el", void 0);
1855
+ __decorate([
1856
+ JsonParse('data')
1857
+ ], BcmList.prototype, "data", void 0);
1858
+ __decorate([
1859
+ JsonParse('data', true)
1860
+ ], BcmList.prototype, "dataChanged", null);