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

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 (635) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-7386f0eb.entry.js → p-043fadc2.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-50d9b950.entry.js → p-07990577.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-0505b430.entry.js → p-10b6faa4.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-febeb28c.entry.js → p-1e15f9e2.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-fcd2ded4.entry.js → p-208ecb7e.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-bddecc0e.js → p-2900dc18.js} +1 -1
  8. package/dist/bromcom-ui/{p-eefa89b6.entry.js → p-2e9f7f67.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-c00cbc3c.js → p-2ed0035c.js} +1 -1
  10. package/dist/bromcom-ui/{p-7d21bcdb.entry.js → p-33da36fe.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-d2d00b45.entry.js → p-427d4cfe.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-8a189e31.entry.js → p-45f4c48d.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-a7f8e8af.entry.js → p-4cffee4c.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-c8dae4b7.entry.js → p-4f425a06.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-d2101bab.entry.js → p-5562a6f8.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-b339c2f1.entry.js → p-5cfa60d9.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-ae8f263e.entry.js → p-5dbd14ee.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-8a66f4e1.entry.js → p-66ca7f5c.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-cef328d2.entry.js → p-73a5514c.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-1e4c4c89.entry.js → p-7a1590ef.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-1c211b1a.entry.js → p-7aa7ba95.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-4595d534.entry.js → p-7afaa032.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-89241a6e.entry.js → p-85b66c30.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-3330b325.js → p-8737b92d.js} +1 -1
  25. package/dist/bromcom-ui/{p-1aa2c6f1.entry.js → p-8e30c3ab.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-36168a4c.entry.js → p-8fc020d6.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-923d0d7b.js +5 -0
  28. package/dist/bromcom-ui/{p-ed6d2390.entry.js → p-95506f91.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-950af117.js → p-971036f3.js} +1 -1
  30. package/dist/bromcom-ui/{p-00028e84.entry.js → p-99f802df.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-b0ecb69b.entry.js → p-9a843ddf.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-ed8e6005.entry.js → p-9cca42a9.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-81dff515.entry.js → p-a855cd39.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-ab7bb0f5.entry.js → p-a9838689.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-d7189ee1.entry.js → p-abedcdee.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-d8ef8c9d.entry.js → p-b5c23d92.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-c5c60034.entry.js → p-bf52d000.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-49be07bc.entry.js → p-c67b5116.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-01951e92.entry.js → p-ce62e9f4.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-16f3143c.entry.js → p-cf1e59a8.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-c5dcbc05.entry.js → p-dc5789ce.entry.js} +1 -1
  42. package/dist/bromcom-ui/{p-c268491e.entry.js → p-dc94fe09.entry.js} +1 -1
  43. package/dist/bromcom-ui/{p-ae99e107.entry.js → p-ddce2fc7.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-d2f22f4b.js → p-df8fe884.js} +1 -1
  45. package/dist/bromcom-ui/{p-97a630d5.entry.js → p-e43c47dc.entry.js} +1 -1
  46. package/dist/bromcom-ui/p-ee265d02.js +5 -0
  47. package/package.json +1 -1
  48. package/dist/bromcom-ui/p-940d3fc3.js +0 -5
  49. package/dist/bromcom-ui/p-a6fb1b6f.js +0 -5
  50. package/dist/cjs/_commonjsHelpers-bd20f4c0.js +0 -29
  51. package/dist/cjs/bcm-2c51bf0c.js +0 -448
  52. package/dist/cjs/bcm-accordion.cjs.entry.js +0 -85
  53. package/dist/cjs/bcm-alert.cjs.entry.js +0 -112
  54. package/dist/cjs/bcm-attendance.cjs.entry.js +0 -50
  55. package/dist/cjs/bcm-autocomplete.cjs.entry.js +0 -155
  56. package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -156
  57. package/dist/cjs/bcm-box.cjs.entry.js +0 -35
  58. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +0 -67
  59. package/dist/cjs/bcm-button-group.cjs.entry.js +0 -102
  60. package/dist/cjs/bcm-button_13.cjs.entry.js +0 -1981
  61. package/dist/cjs/bcm-card.cjs.entry.js +0 -76
  62. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -409
  63. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +0 -2570
  64. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -203
  65. package/dist/cjs/bcm-chip.cjs.entry.js +0 -70
  66. package/dist/cjs/bcm-collapse-group.cjs.entry.js +0 -57
  67. package/dist/cjs/bcm-collapse.cjs.entry.js +0 -58
  68. package/dist/cjs/bcm-colorpicker.cjs.entry.js +0 -433
  69. package/dist/cjs/bcm-date-picker.cjs.entry.js +0 -171
  70. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +0 -1432
  71. package/dist/cjs/bcm-default.cjs.entry.js +0 -40
  72. package/dist/cjs/bcm-drawer.cjs.entry.js +0 -111
  73. package/dist/cjs/bcm-error-layout.cjs.entry.js +0 -78
  74. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +0 -127
  75. package/dist/cjs/bcm-form-2.cjs.entry.js +0 -205
  76. package/dist/cjs/bcm-form-group.cjs.entry.js +0 -45
  77. package/dist/cjs/bcm-input.cjs.entry.js +0 -324
  78. package/dist/cjs/bcm-link.cjs.entry.js +0 -62
  79. package/dist/cjs/bcm-linked.cjs.entry.js +0 -83
  80. package/dist/cjs/bcm-list.cjs.entry.js +0 -1761
  81. package/dist/cjs/bcm-message.cjs.entry.js +0 -99
  82. package/dist/cjs/bcm-modal.cjs.entry.js +0 -137
  83. package/dist/cjs/bcm-notification.cjs.entry.js +0 -103
  84. package/dist/cjs/bcm-old-input.cjs.entry.js +0 -398
  85. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +0 -157
  86. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -122
  87. package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -112
  88. package/dist/cjs/bcm-progress.cjs.entry.js +0 -174
  89. package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -267
  90. package/dist/cjs/bcm-radio.cjs.entry.js +0 -104
  91. package/dist/cjs/bcm-range.cjs.entry.js +0 -189
  92. package/dist/cjs/bcm-result.cjs.entry.js +0 -79
  93. package/dist/cjs/bcm-search.cjs.entry.js +0 -256
  94. package/dist/cjs/bcm-select-group.cjs.entry.js +0 -31
  95. package/dist/cjs/bcm-select-option.cjs.entry.js +0 -37
  96. package/dist/cjs/bcm-select.cjs.entry.js +0 -1181
  97. package/dist/cjs/bcm-skeleton.cjs.entry.js +0 -56
  98. package/dist/cjs/bcm-step.cjs.entry.js +0 -93
  99. package/dist/cjs/bcm-stepper.cjs.entry.js +0 -211
  100. package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -172
  101. package/dist/cjs/bcm-tab-pane.cjs.entry.js +0 -70
  102. package/dist/cjs/bcm-tab.cjs.entry.js +0 -89
  103. package/dist/cjs/bcm-table.cjs.entry.js +0 -78
  104. package/dist/cjs/bcm-tabs-content.cjs.entry.js +0 -62
  105. package/dist/cjs/bcm-tabs.cjs.entry.js +0 -390
  106. package/dist/cjs/bcm-tag.cjs.entry.js +0 -101
  107. package/dist/cjs/bcm-textarea.cjs.entry.js +0 -150
  108. package/dist/cjs/bcm-time-picker.cjs.entry.js +0 -139
  109. package/dist/cjs/bcm-timeline-item.cjs.entry.js +0 -55
  110. package/dist/cjs/bcm-timeline.cjs.entry.js +0 -73
  111. package/dist/cjs/bcm-treeview-group.cjs.entry.js +0 -23
  112. package/dist/cjs/bromcom-ui.cjs.js +0 -24
  113. package/dist/cjs/caption-template-abc6b8bd.js +0 -34
  114. package/dist/cjs/color-helper-c9882bd8.js +0 -490
  115. package/dist/cjs/colors-56282b00.js +0 -224
  116. package/dist/cjs/datetime-helper-eaf4fadb.js +0 -11
  117. package/dist/cjs/element-dragger-a8562f82.js +0 -279
  118. package/dist/cjs/generate-f31baeb2.js +0 -198
  119. package/dist/cjs/global-b0d21446.js +0 -15
  120. package/dist/cjs/index-53637125.js +0 -1864
  121. package/dist/cjs/index-89682d55.js +0 -193
  122. package/dist/cjs/index-a2b50e51.js +0 -64
  123. package/dist/cjs/index.cjs.js +0 -6
  124. package/dist/cjs/input-template-9d262873.js +0 -86
  125. package/dist/cjs/is-load-decorator-20a4687b.js +0 -56
  126. package/dist/cjs/json-parse-decarator-c3596560.js +0 -40
  127. package/dist/cjs/label-template-b35d7e8e.js +0 -23
  128. package/dist/cjs/loader.cjs.js +0 -26
  129. package/dist/cjs/number-helper-0975436a.js +0 -20
  130. package/dist/cjs/old-bcm-popover.cjs.entry.js +0 -104
  131. package/dist/cjs/popover-placement-87901bb3.js +0 -98
  132. package/dist/cjs/property-decorators-b0cb1a50.js +0 -33
  133. package/dist/cjs/slot-template-546b0f5a.js +0 -15
  134. package/dist/cjs/stepper-states-0a54437d.js +0 -83
  135. package/dist/cjs/string-helper-df40a475.js +0 -134
  136. package/dist/cjs/tooltip-helper-6b5d41a4.js +0 -1449
  137. package/dist/cjs/types-3871235f.js +0 -32
  138. package/dist/cjs/types-6eb7e028.js +0 -32
  139. package/dist/cjs/types-cc4adee7.js +0 -19
  140. package/dist/cjs/utils-fc077139.js +0 -131
  141. package/dist/cjs/validators-f572960b.js +0 -33
  142. package/dist/collection/collection-manifest.json +0 -95
  143. package/dist/collection/components/atoms/avatar/avatar.css +0 -448
  144. package/dist/collection/components/atoms/avatar/avatar.js +0 -259
  145. package/dist/collection/components/atoms/badge/badge.css +0 -481
  146. package/dist/collection/components/atoms/badge/badge.js +0 -224
  147. package/dist/collection/components/atoms/box/box.js +0 -23
  148. package/dist/collection/components/atoms/button/button.css +0 -637
  149. package/dist/collection/components/atoms/button/button.js +0 -525
  150. package/dist/collection/components/atoms/button/types.js +0 -170
  151. package/dist/collection/components/atoms/chip/chip.css +0 -453
  152. package/dist/collection/components/atoms/chip/chip.js +0 -187
  153. package/dist/collection/components/atoms/divider/divider.css +0 -142
  154. package/dist/collection/components/atoms/divider/divider.js +0 -83
  155. package/dist/collection/components/atoms/icon/icon.css +0 -127
  156. package/dist/collection/components/atoms/icon/icon.js +0 -70
  157. package/dist/collection/components/atoms/label/label.css +0 -408
  158. package/dist/collection/components/atoms/label/label.js +0 -216
  159. package/dist/collection/components/atoms/link/link.css +0 -419
  160. package/dist/collection/components/atoms/link/link.js +0 -176
  161. package/dist/collection/components/atoms/states/button.states.js +0 -31
  162. package/dist/collection/components/atoms/tag/tag.js +0 -334
  163. package/dist/collection/components/atoms/tag/types.js +0 -30
  164. package/dist/collection/components/atoms/typography/typography.js +0 -23
  165. package/dist/collection/components/molecules/accordion/accordion.css +0 -127
  166. package/dist/collection/components/molecules/accordion/accordion.js +0 -129
  167. package/dist/collection/components/molecules/alert/alert.css +0 -191
  168. package/dist/collection/components/molecules/alert/alert.js +0 -298
  169. package/dist/collection/components/molecules/alert/types.js +0 -23
  170. package/dist/collection/components/molecules/breadcrumb/breadcrumb.css +0 -201
  171. package/dist/collection/components/molecules/breadcrumb/breadcrumb.js +0 -155
  172. package/dist/collection/components/molecules/breadcrumb/types.js +0 -5
  173. package/dist/collection/components/molecules/button-group/button-group.css +0 -423
  174. package/dist/collection/components/molecules/button-group/button-group.js +0 -235
  175. package/dist/collection/components/molecules/card/card.css +0 -408
  176. package/dist/collection/components/molecules/card/card.js +0 -128
  177. package/dist/collection/components/molecules/checkbox/checkbox-lite.js +0 -237
  178. package/dist/collection/components/molecules/checkbox/checkbox.css +0 -1280
  179. package/dist/collection/components/molecules/checkbox/checkbox.js +0 -688
  180. package/dist/collection/components/molecules/checkbox/group.css +0 -156
  181. package/dist/collection/components/molecules/checkbox/group.js +0 -779
  182. package/dist/collection/components/molecules/drawer/drawer.css +0 -502
  183. package/dist/collection/components/molecules/drawer/drawer.js +0 -272
  184. package/dist/collection/components/molecules/dropdown/dropdown.css +0 -419
  185. package/dist/collection/components/molecules/dropdown/dropdown.js +0 -839
  186. package/dist/collection/components/molecules/empty/empty.js +0 -44
  187. package/dist/collection/components/molecules/error-layout/error-layout.css +0 -396
  188. package/dist/collection/components/molecules/error-layout/error-layout.js +0 -177
  189. package/dist/collection/components/molecules/error-layout/types.js +0 -5
  190. package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -488
  191. package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +0 -322
  192. package/dist/collection/components/molecules/input/input.css +0 -1208
  193. package/dist/collection/components/molecules/input/input.js +0 -1170
  194. package/dist/collection/components/molecules/input/types.js +0 -17
  195. package/dist/collection/components/molecules/item/item.css +0 -446
  196. package/dist/collection/components/molecules/item/item.js +0 -151
  197. package/dist/collection/components/molecules/items/items.js +0 -84
  198. package/dist/collection/components/molecules/linked/linked.js +0 -179
  199. package/dist/collection/components/molecules/menu/menu.css +0 -718
  200. package/dist/collection/components/molecules/menu/menu.js +0 -618
  201. package/dist/collection/components/molecules/message/message.css +0 -165
  202. package/dist/collection/components/molecules/message/message.js +0 -222
  203. package/dist/collection/components/molecules/message/types.js +0 -14
  204. package/dist/collection/components/molecules/modal/modal.css +0 -526
  205. package/dist/collection/components/molecules/modal/modal.js +0 -379
  206. package/dist/collection/components/molecules/notification/notification.css +0 -183
  207. package/dist/collection/components/molecules/notification/notification.js +0 -244
  208. package/dist/collection/components/molecules/notification/types.js +0 -15
  209. package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +0 -563
  210. package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +0 -396
  211. package/dist/collection/components/molecules/popconfirm/popconfirm.css +0 -127
  212. package/dist/collection/components/molecules/popconfirm/popconfirm.js +0 -382
  213. package/dist/collection/components/molecules/popover/popover.js +0 -254
  214. package/dist/collection/components/molecules/progress/progress.css +0 -486
  215. package/dist/collection/components/molecules/progress/progress.js +0 -404
  216. package/dist/collection/components/molecules/progress/types.js +0 -28
  217. package/dist/collection/components/molecules/radio/group.css +0 -798
  218. package/dist/collection/components/molecules/radio/group.js +0 -652
  219. package/dist/collection/components/molecules/radio/radio.css +0 -1280
  220. package/dist/collection/components/molecules/radio/radio.js +0 -291
  221. package/dist/collection/components/molecules/radio/types.js +0 -30
  222. package/dist/collection/components/molecules/range/range.css +0 -570
  223. package/dist/collection/components/molecules/range/range.js +0 -472
  224. package/dist/collection/components/molecules/result/result.css +0 -164
  225. package/dist/collection/components/molecules/result/result.js +0 -143
  226. package/dist/collection/components/molecules/result/types.js +0 -22
  227. package/dist/collection/components/molecules/search/search.css +0 -1208
  228. package/dist/collection/components/molecules/search/search.js +0 -406
  229. package/dist/collection/components/molecules/skeleton/skeleton.js +0 -94
  230. package/dist/collection/components/molecules/states/alert.states.js +0 -25
  231. package/dist/collection/components/molecules/states/checkbox-group.states.js +0 -199
  232. package/dist/collection/components/molecules/states/radio-group.states.js +0 -107
  233. package/dist/collection/components/molecules/states/search.states.js +0 -137
  234. package/dist/collection/components/molecules/states/stepper-states.js +0 -79
  235. package/dist/collection/components/molecules/stepper/step.js +0 -346
  236. package/dist/collection/components/molecules/stepper/stepper.css +0 -617
  237. package/dist/collection/components/molecules/stepper/stepper.js +0 -484
  238. package/dist/collection/components/molecules/switch/switch.css +0 -1272
  239. package/dist/collection/components/molecules/switch/switch.js +0 -716
  240. package/dist/collection/components/molecules/tab-group/tab-group.js +0 -280
  241. package/dist/collection/components/molecules/textarea/textarea.css +0 -1208
  242. package/dist/collection/components/molecules/textarea/textarea.js +0 -731
  243. package/dist/collection/components/molecules/textarea/types.js +0 -13
  244. package/dist/collection/components/molecules/timeline/timeline-item.css +0 -254
  245. package/dist/collection/components/molecules/timeline/timeline-item.js +0 -159
  246. package/dist/collection/components/molecules/timeline/timeline.css +0 -205
  247. package/dist/collection/components/molecules/timeline/timeline.js +0 -125
  248. package/dist/collection/components/molecules/tooltip/tooltip.js +0 -232
  249. package/dist/collection/components/organism/autocomplete/autocomplete.css +0 -168
  250. package/dist/collection/components/organism/autocomplete/autocomplete.js +0 -399
  251. package/dist/collection/components/organism/colorpicker/colorpicker.css +0 -313
  252. package/dist/collection/components/organism/colorpicker/colorpicker.js +0 -774
  253. package/dist/collection/components/organism/colorpicker/static/chess.png +0 -0
  254. package/dist/collection/components/organism/colorpicker/static/color.svg +0 -14
  255. package/dist/collection/components/organism/colorpicker/static/colors.svg +0 -16
  256. package/dist/collection/components/organism/date-picker/date-picker.css +0 -141
  257. package/dist/collection/components/organism/date-picker/date-picker.js +0 -780
  258. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -1429
  259. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +0 -2166
  260. package/dist/collection/components/organism/datetime-picker/types.js +0 -39
  261. package/dist/collection/components/organism/form/form-group.css +0 -131
  262. package/dist/collection/components/organism/form/form-group.js +0 -131
  263. package/dist/collection/components/organism/form/form.css +0 -132
  264. package/dist/collection/components/organism/form/form.js +0 -680
  265. package/dist/collection/components/organism/form-2/bcm-form-components.js +0 -26
  266. package/dist/collection/components/organism/form-2/form-2.css +0 -127
  267. package/dist/collection/components/organism/form-2/form-2.js +0 -328
  268. package/dist/collection/components/organism/list/list-key-control.js +0 -125
  269. package/dist/collection/components/organism/list/list-tag-control.js +0 -172
  270. package/dist/collection/components/organism/list/list.css +0 -2047
  271. package/dist/collection/components/organism/list/list.js +0 -1860
  272. package/dist/collection/components/organism/states/bcm-list2.states.js +0 -532
  273. package/dist/collection/components/organism/time-picker/time-picker.css +0 -141
  274. package/dist/collection/components/organism/time-picker/time-picker.js +0 -627
  275. package/dist/collection/components/other/attendance/attendance.css +0 -433
  276. package/dist/collection/components/other/attendance/attendance.js +0 -87
  277. package/dist/collection/components/other/data-table/table.css +0 -130
  278. package/dist/collection/components/other/data-table/table.js +0 -92
  279. package/dist/collection/components/other/default/default.css +0 -127
  280. package/dist/collection/components/other/default/default.js +0 -54
  281. package/dist/collection/components/other_deprecated/collapse/collapse.css +0 -177
  282. package/dist/collection/components/other_deprecated/collapse/collapse.js +0 -163
  283. package/dist/collection/components/other_deprecated/collapse/group.js +0 -128
  284. package/dist/collection/components/other_deprecated/listbox/listbox-group.css +0 -139
  285. package/dist/collection/components/other_deprecated/listbox/listbox-group.js +0 -93
  286. package/dist/collection/components/other_deprecated/listbox/listbox-item.css +0 -269
  287. package/dist/collection/components/other_deprecated/listbox/listbox-item.js +0 -641
  288. package/dist/collection/components/other_deprecated/listbox/listbox.css +0 -365
  289. package/dist/collection/components/other_deprecated/listbox/listbox.js +0 -1999
  290. package/dist/collection/components/other_deprecated/listbox/types.js +0 -11
  291. package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -1360
  292. package/dist/collection/components/other_deprecated/old-input/old-input.js +0 -1154
  293. package/dist/collection/components/other_deprecated/old-input/types.js +0 -17
  294. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +0 -582
  295. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +0 -411
  296. package/dist/collection/components/other_deprecated/old-popover/old-popover.css +0 -127
  297. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +0 -296
  298. package/dist/collection/components/other_deprecated/old-search/old-search.css +0 -131
  299. package/dist/collection/components/other_deprecated/old-search/old-search.js +0 -496
  300. package/dist/collection/components/other_deprecated/old-tag/old-tag.css +0 -305
  301. package/dist/collection/components/other_deprecated/old-tag/old-tag.js +0 -326
  302. package/dist/collection/components/other_deprecated/old-tag/types.js +0 -30
  303. package/dist/collection/components/other_deprecated/select/group.css +0 -144
  304. package/dist/collection/components/other_deprecated/select/group.js +0 -88
  305. package/dist/collection/components/other_deprecated/select/option.css +0 -164
  306. package/dist/collection/components/other_deprecated/select/option.js +0 -142
  307. package/dist/collection/components/other_deprecated/select/select-box.css +0 -143
  308. package/dist/collection/components/other_deprecated/select/select-box.js +0 -104
  309. package/dist/collection/components/other_deprecated/select/select.css +0 -364
  310. package/dist/collection/components/other_deprecated/select/select.js +0 -2229
  311. package/dist/collection/components/other_deprecated/tabs/tab-pane.css +0 -142
  312. package/dist/collection/components/other_deprecated/tabs/tab-pane.js +0 -168
  313. package/dist/collection/components/other_deprecated/tabs/tab.css +0 -587
  314. package/dist/collection/components/other_deprecated/tabs/tab.js +0 -303
  315. package/dist/collection/components/other_deprecated/tabs/tabs-content.css +0 -136
  316. package/dist/collection/components/other_deprecated/tabs/tabs-content.js +0 -147
  317. package/dist/collection/components/other_deprecated/tabs/tabs.css +0 -212
  318. package/dist/collection/components/other_deprecated/tabs/tabs.js +0 -806
  319. package/dist/collection/components/other_deprecated/tabs/types.js +0 -30
  320. package/dist/collection/components/other_deprecated/text/text.css +0 -429
  321. package/dist/collection/components/other_deprecated/text/text.js +0 -159
  322. package/dist/collection/components/other_deprecated/treeview/treeview-group.css +0 -0
  323. package/dist/collection/components/other_deprecated/treeview/treeview-group.js +0 -18
  324. package/dist/collection/components/other_deprecated/treeview/treeview-item.css +0 -318
  325. package/dist/collection/components/other_deprecated/treeview/treeview-item.js +0 -977
  326. package/dist/collection/components/other_deprecated/treeview/treeview.css +0 -190
  327. package/dist/collection/components/other_deprecated/treeview/treeview.js +0 -1699
  328. package/dist/collection/components/other_deprecated/treeview/types.js +0 -11
  329. package/dist/collection/decorators/id-decorator.js +0 -18
  330. package/dist/collection/decorators/index.js +0 -8
  331. package/dist/collection/decorators/is-load-decorator.js +0 -51
  332. package/dist/collection/decorators/json-parse-decarator.js +0 -35
  333. package/dist/collection/decorators/property-decorators.js +0 -28
  334. package/dist/collection/global/components/_checkbox.css +0 -627
  335. package/dist/collection/global/config.js +0 -45
  336. package/dist/collection/global/global.js +0 -43
  337. package/dist/collection/global/variables/colors.js +0 -220
  338. package/dist/collection/helper/color-helper.js +0 -81
  339. package/dist/collection/helper/content-helper.js +0 -63
  340. package/dist/collection/helper/datetime-helper.js +0 -7
  341. package/dist/collection/helper/generate.js +0 -163
  342. package/dist/collection/helper/index.js +0 -13
  343. package/dist/collection/helper/number-helper.js +0 -15
  344. package/dist/collection/helper/popover-helper.js +0 -104
  345. package/dist/collection/helper/string-helper.js +0 -65
  346. package/dist/collection/helper/tooltip-helper.js +0 -93
  347. package/dist/collection/helper/validators.js +0 -28
  348. package/dist/collection/index.js +0 -5
  349. package/dist/collection/models/abstract-classes/abstract-key-control.js +0 -97
  350. package/dist/collection/models/bcm-types.js +0 -5
  351. package/dist/collection/models/bcm.js +0 -466
  352. package/dist/collection/models/index.js +0 -6
  353. package/dist/collection/models/states/atoms/bcm-atoms-state.js +0 -5
  354. package/dist/collection/models/states/molecules/bcm-molecules-state.js +0 -5
  355. package/dist/collection/models/states/organisms/bcm-organisms-state.js +0 -5
  356. package/dist/collection/templates/button-template.js +0 -22
  357. package/dist/collection/templates/caption-template.js +0 -29
  358. package/dist/collection/templates/checkbox-group-template.js +0 -10
  359. package/dist/collection/templates/checkbox-template.js +0 -31
  360. package/dist/collection/templates/icon-template.js +0 -24
  361. package/dist/collection/templates/index.js +0 -17
  362. package/dist/collection/templates/info-footer-template.js +0 -16
  363. package/dist/collection/templates/input-template.js +0 -81
  364. package/dist/collection/templates/label-template.js +0 -18
  365. package/dist/collection/templates/list-item-template.js +0 -58
  366. package/dist/collection/templates/list-template.js +0 -24
  367. package/dist/collection/templates/slot-template.js +0 -10
  368. package/dist/collection/templates/step-template.js +0 -26
  369. package/dist/collection/templates/tag-template.js +0 -45
  370. package/dist/collection/types/index.js +0 -5
  371. package/dist/collection/utils/element-dragger.js +0 -274
  372. package/dist/collection/utils/floating-ui.js +0 -62
  373. package/dist/collection/utils/index.js +0 -9
  374. package/dist/collection/utils/popover-placement.js +0 -96
  375. package/dist/collection/utils/utils.js +0 -223
  376. package/dist/collection/utils/validation.js +0 -47
  377. package/dist/esm/_commonjsHelpers-3016b722.js +0 -25
  378. package/dist/esm/bcm-accordion.entry.js +0 -81
  379. package/dist/esm/bcm-alert.entry.js +0 -108
  380. package/dist/esm/bcm-attendance.entry.js +0 -46
  381. package/dist/esm/bcm-autocomplete.entry.js +0 -151
  382. package/dist/esm/bcm-avatar_2.entry.js +0 -151
  383. package/dist/esm/bcm-b8d8a236.js +0 -446
  384. package/dist/esm/bcm-box.entry.js +0 -31
  385. package/dist/esm/bcm-breadcrumb.entry.js +0 -63
  386. package/dist/esm/bcm-button-group.entry.js +0 -98
  387. package/dist/esm/bcm-button_13.entry.js +0 -1965
  388. package/dist/esm/bcm-card.entry.js +0 -72
  389. package/dist/esm/bcm-checkbox-group.entry.js +0 -405
  390. package/dist/esm/bcm-checkbox-lite_9.entry.js +0 -2558
  391. package/dist/esm/bcm-checkbox_2.entry.js +0 -198
  392. package/dist/esm/bcm-chip.entry.js +0 -66
  393. package/dist/esm/bcm-collapse-group.entry.js +0 -53
  394. package/dist/esm/bcm-collapse.entry.js +0 -54
  395. package/dist/esm/bcm-colorpicker.entry.js +0 -429
  396. package/dist/esm/bcm-date-picker.entry.js +0 -167
  397. package/dist/esm/bcm-datetime-picker.entry.js +0 -1428
  398. package/dist/esm/bcm-default.entry.js +0 -36
  399. package/dist/esm/bcm-drawer.entry.js +0 -107
  400. package/dist/esm/bcm-error-layout.entry.js +0 -74
  401. package/dist/esm/bcm-expansion-panel.entry.js +0 -123
  402. package/dist/esm/bcm-form-2.entry.js +0 -201
  403. package/dist/esm/bcm-form-group.entry.js +0 -41
  404. package/dist/esm/bcm-input.entry.js +0 -320
  405. package/dist/esm/bcm-link.entry.js +0 -58
  406. package/dist/esm/bcm-linked.entry.js +0 -79
  407. package/dist/esm/bcm-list.entry.js +0 -1757
  408. package/dist/esm/bcm-message.entry.js +0 -95
  409. package/dist/esm/bcm-modal.entry.js +0 -133
  410. package/dist/esm/bcm-notification.entry.js +0 -99
  411. package/dist/esm/bcm-old-input.entry.js +0 -394
  412. package/dist/esm/bcm-old-tag_2.entry.js +0 -152
  413. package/dist/esm/bcm-popconfirm-box.entry.js +0 -118
  414. package/dist/esm/bcm-popconfirm.entry.js +0 -108
  415. package/dist/esm/bcm-progress.entry.js +0 -170
  416. package/dist/esm/bcm-radio-group.entry.js +0 -263
  417. package/dist/esm/bcm-radio.entry.js +0 -100
  418. package/dist/esm/bcm-range.entry.js +0 -185
  419. package/dist/esm/bcm-result.entry.js +0 -75
  420. package/dist/esm/bcm-search.entry.js +0 -252
  421. package/dist/esm/bcm-select-group.entry.js +0 -27
  422. package/dist/esm/bcm-select-option.entry.js +0 -33
  423. package/dist/esm/bcm-select.entry.js +0 -1177
  424. package/dist/esm/bcm-skeleton.entry.js +0 -52
  425. package/dist/esm/bcm-step.entry.js +0 -89
  426. package/dist/esm/bcm-stepper.entry.js +0 -207
  427. package/dist/esm/bcm-tab-group.entry.js +0 -168
  428. package/dist/esm/bcm-tab-pane.entry.js +0 -66
  429. package/dist/esm/bcm-tab.entry.js +0 -85
  430. package/dist/esm/bcm-table.entry.js +0 -74
  431. package/dist/esm/bcm-tabs-content.entry.js +0 -58
  432. package/dist/esm/bcm-tabs.entry.js +0 -386
  433. package/dist/esm/bcm-tag.entry.js +0 -97
  434. package/dist/esm/bcm-textarea.entry.js +0 -146
  435. package/dist/esm/bcm-time-picker.entry.js +0 -135
  436. package/dist/esm/bcm-timeline-item.entry.js +0 -51
  437. package/dist/esm/bcm-timeline.entry.js +0 -69
  438. package/dist/esm/bcm-treeview-group.entry.js +0 -19
  439. package/dist/esm/bromcom-ui.js +0 -22
  440. package/dist/esm/caption-template-3dc68282.js +0 -32
  441. package/dist/esm/color-helper-7e202fd8.js +0 -488
  442. package/dist/esm/colors-1d7854ea.js +0 -222
  443. package/dist/esm/datetime-helper-df25808a.js +0 -9
  444. package/dist/esm/element-dragger-89bb52fd.js +0 -277
  445. package/dist/esm/generate-fb5ddb87.js +0 -195
  446. package/dist/esm/global-4fad925b.js +0 -13
  447. package/dist/esm/index-36ae55c5.js +0 -191
  448. package/dist/esm/index-ba2edd32.js +0 -62
  449. package/dist/esm/index-bd33e7be.js +0 -1833
  450. package/dist/esm/index.js +0 -4
  451. package/dist/esm/input-template-0c47abf5.js +0 -84
  452. package/dist/esm/is-load-decorator-73e33bee.js +0 -54
  453. package/dist/esm/json-parse-decarator-7b411846.js +0 -38
  454. package/dist/esm/label-template-c83a04a3.js +0 -21
  455. package/dist/esm/loader.js +0 -22
  456. package/dist/esm/number-helper-42be449e.js +0 -18
  457. package/dist/esm/old-bcm-popover.entry.js +0 -100
  458. package/dist/esm/polyfills/core-js.js +0 -11
  459. package/dist/esm/polyfills/css-shim.js +0 -1
  460. package/dist/esm/polyfills/dom.js +0 -79
  461. package/dist/esm/polyfills/es5-html-element.js +0 -1
  462. package/dist/esm/polyfills/index.js +0 -34
  463. package/dist/esm/polyfills/system.js +0 -6
  464. package/dist/esm/popover-placement-9864294b.js +0 -95
  465. package/dist/esm/property-decorators-61be220d.js +0 -31
  466. package/dist/esm/slot-template-24f1e66e.js +0 -13
  467. package/dist/esm/stepper-states-b8e9888d.js +0 -81
  468. package/dist/esm/string-helper-74a1648f.js +0 -132
  469. package/dist/esm/tooltip-helper-427dd3f5.js +0 -1446
  470. package/dist/esm/types-6f06fa1a.js +0 -19
  471. package/dist/esm/types-b211a5eb.js +0 -32
  472. package/dist/esm/types-bfc3bba1.js +0 -32
  473. package/dist/esm/utils-57652744.js +0 -123
  474. package/dist/esm/validators-6f23b54f.js +0 -31
  475. package/dist/index.cjs.js +0 -1
  476. package/dist/index.js +0 -1
  477. package/dist/types/components/atoms/avatar/avatar.d.ts +0 -23
  478. package/dist/types/components/atoms/badge/badge.d.ts +0 -17
  479. package/dist/types/components/atoms/box/box.d.ts +0 -5
  480. package/dist/types/components/atoms/button/button.d.ts +0 -33
  481. package/dist/types/components/atoms/button/types.d.ts +0 -166
  482. package/dist/types/components/atoms/chip/chip.d.ts +0 -24
  483. package/dist/types/components/atoms/divider/divider.d.ts +0 -7
  484. package/dist/types/components/atoms/icon/icon.d.ts +0 -6
  485. package/dist/types/components/atoms/label/label.d.ts +0 -16
  486. package/dist/types/components/atoms/link/link.d.ts +0 -13
  487. package/dist/types/components/atoms/states/button.states.d.ts +0 -7
  488. package/dist/types/components/atoms/tag/tag.d.ts +0 -24
  489. package/dist/types/components/atoms/tag/types.d.ts +0 -29
  490. package/dist/types/components/atoms/typography/typography.d.ts +0 -5
  491. package/dist/types/components/molecules/accordion/accordion.d.ts +0 -11
  492. package/dist/types/components/molecules/alert/alert.d.ts +0 -21
  493. package/dist/types/components/molecules/alert/types.d.ts +0 -25
  494. package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +0 -14
  495. package/dist/types/components/molecules/breadcrumb/types.d.ts +0 -10
  496. package/dist/types/components/molecules/button-group/button-group.d.ts +0 -21
  497. package/dist/types/components/molecules/card/card.d.ts +0 -11
  498. package/dist/types/components/molecules/checkbox/checkbox-lite.d.ts +0 -14
  499. package/dist/types/components/molecules/checkbox/checkbox.d.ts +0 -56
  500. package/dist/types/components/molecules/checkbox/group.d.ts +0 -56
  501. package/dist/types/components/molecules/drawer/drawer.d.ts +0 -21
  502. package/dist/types/components/molecules/dropdown/dropdown.d.ts +0 -54
  503. package/dist/types/components/molecules/empty/empty.d.ts +0 -5
  504. package/dist/types/components/molecules/error-layout/error-layout.d.ts +0 -25
  505. package/dist/types/components/molecules/error-layout/types.d.ts +0 -4
  506. package/dist/types/components/molecules/expansion-panel/expansion-panel.d.ts +0 -31
  507. package/dist/types/components/molecules/input/input.d.ts +0 -82
  508. package/dist/types/components/molecules/input/types.d.ts +0 -13
  509. package/dist/types/components/molecules/item/item.d.ts +0 -13
  510. package/dist/types/components/molecules/items/items.d.ts +0 -10
  511. package/dist/types/components/molecules/linked/linked.d.ts +0 -14
  512. package/dist/types/components/molecules/menu/menu.d.ts +0 -41
  513. package/dist/types/components/molecules/message/message.d.ts +0 -32
  514. package/dist/types/components/molecules/message/types.d.ts +0 -13
  515. package/dist/types/components/molecules/modal/modal.d.ts +0 -26
  516. package/dist/types/components/molecules/notification/notification.d.ts +0 -42
  517. package/dist/types/components/molecules/notification/types.d.ts +0 -14
  518. package/dist/types/components/molecules/popconfirm/popconfirm-box.d.ts +0 -29
  519. package/dist/types/components/molecules/popconfirm/popconfirm.d.ts +0 -28
  520. package/dist/types/components/molecules/popover/popover.d.ts +0 -20
  521. package/dist/types/components/molecules/progress/progress.d.ts +0 -25
  522. package/dist/types/components/molecules/progress/types.d.ts +0 -14
  523. package/dist/types/components/molecules/radio/group.d.ts +0 -54
  524. package/dist/types/components/molecules/radio/radio.d.ts +0 -21
  525. package/dist/types/components/molecules/radio/types.d.ts +0 -29
  526. package/dist/types/components/molecules/range/range.d.ts +0 -36
  527. package/dist/types/components/molecules/result/result.d.ts +0 -13
  528. package/dist/types/components/molecules/result/types.d.ts +0 -19
  529. package/dist/types/components/molecules/search/search.d.ts +0 -35
  530. package/dist/types/components/molecules/skeleton/skeleton.d.ts +0 -8
  531. package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
  532. package/dist/types/components/molecules/states/checkbox-group.states.d.ts +0 -53
  533. package/dist/types/components/molecules/states/radio-group.states.d.ts +0 -48
  534. package/dist/types/components/molecules/states/search.states.d.ts +0 -14
  535. package/dist/types/components/molecules/states/stepper-states.d.ts +0 -13
  536. package/dist/types/components/molecules/stepper/step.d.ts +0 -25
  537. package/dist/types/components/molecules/stepper/stepper.d.ts +0 -34
  538. package/dist/types/components/molecules/switch/switch.d.ts +0 -46
  539. package/dist/types/components/molecules/tab-group/tab-group.d.ts +0 -18
  540. package/dist/types/components/molecules/textarea/textarea.d.ts +0 -53
  541. package/dist/types/components/molecules/textarea/types.d.ts +0 -9
  542. package/dist/types/components/molecules/timeline/timeline-item.d.ts +0 -16
  543. package/dist/types/components/molecules/timeline/timeline.d.ts +0 -25
  544. package/dist/types/components/molecules/tooltip/tooltip.d.ts +0 -19
  545. package/dist/types/components/organism/autocomplete/autocomplete.d.ts +0 -31
  546. package/dist/types/components/organism/colorpicker/colorpicker.d.ts +0 -176
  547. package/dist/types/components/organism/date-picker/date-picker.d.ts +0 -77
  548. package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +0 -438
  549. package/dist/types/components/organism/datetime-picker/types.d.ts +0 -54
  550. package/dist/types/components/organism/form/form-group.d.ts +0 -10
  551. package/dist/types/components/organism/form/form.d.ts +0 -34
  552. package/dist/types/components/organism/form-2/bcm-form-components.d.ts +0 -2
  553. package/dist/types/components/organism/form-2/form-2.d.ts +0 -25
  554. package/dist/types/components/organism/list/list-key-control.d.ts +0 -18
  555. package/dist/types/components/organism/list/list-tag-control.d.ts +0 -18
  556. package/dist/types/components/organism/list/list.d.ts +0 -138
  557. package/dist/types/components/organism/states/bcm-list2.states.d.ts +0 -28
  558. package/dist/types/components/organism/time-picker/time-picker.d.ts +0 -69
  559. package/dist/types/components/other/attendance/attendance.d.ts +0 -7
  560. package/dist/types/components/other/data-table/table.d.ts +0 -8
  561. package/dist/types/components/other/default/default.d.ts +0 -6
  562. package/dist/types/components/other_deprecated/collapse/collapse.d.ts +0 -12
  563. package/dist/types/components/other_deprecated/collapse/group.d.ts +0 -15
  564. package/dist/types/components/other_deprecated/listbox/listbox-group.d.ts +0 -7
  565. package/dist/types/components/other_deprecated/listbox/listbox-item.d.ts +0 -58
  566. package/dist/types/components/other_deprecated/listbox/listbox.d.ts +0 -152
  567. package/dist/types/components/other_deprecated/listbox/types.d.ts +0 -11
  568. package/dist/types/components/other_deprecated/old-input/old-input.d.ts +0 -80
  569. package/dist/types/components/other_deprecated/old-input/types.d.ts +0 -13
  570. package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +0 -25
  571. package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +0 -22
  572. package/dist/types/components/other_deprecated/old-search/old-search.d.ts +0 -32
  573. package/dist/types/components/other_deprecated/old-tag/old-tag.d.ts +0 -27
  574. package/dist/types/components/other_deprecated/old-tag/types.d.ts +0 -29
  575. package/dist/types/components/other_deprecated/select/group.d.ts +0 -6
  576. package/dist/types/components/other_deprecated/select/option.d.ts +0 -10
  577. package/dist/types/components/other_deprecated/select/select-box.d.ts +0 -15
  578. package/dist/types/components/other_deprecated/select/select.d.ts +0 -131
  579. package/dist/types/components/other_deprecated/tabs/tab-pane.d.ts +0 -19
  580. package/dist/types/components/other_deprecated/tabs/tab.d.ts +0 -36
  581. package/dist/types/components/other_deprecated/tabs/tabs-content.d.ts +0 -18
  582. package/dist/types/components/other_deprecated/tabs/tabs.d.ts +0 -112
  583. package/dist/types/components/other_deprecated/tabs/types.d.ts +0 -39
  584. package/dist/types/components/other_deprecated/text/text.d.ts +0 -11
  585. package/dist/types/components/other_deprecated/treeview/treeview-group.d.ts +0 -3
  586. package/dist/types/components/other_deprecated/treeview/treeview-item.d.ts +0 -119
  587. package/dist/types/components/other_deprecated/treeview/treeview.d.ts +0 -181
  588. package/dist/types/components/other_deprecated/treeview/types.d.ts +0 -11
  589. package/dist/types/components.d.ts +0 -3517
  590. package/dist/types/decorators/id-decorator.d.ts +0 -4
  591. package/dist/types/decorators/index.d.ts +0 -4
  592. package/dist/types/decorators/is-load-decorator.d.ts +0 -7
  593. package/dist/types/decorators/json-parse-decarator.d.ts +0 -4
  594. package/dist/types/decorators/property-decorators.d.ts +0 -4
  595. package/dist/types/global/variables/colors.d.ts +0 -217
  596. package/dist/types/helper/color-helper.d.ts +0 -16
  597. package/dist/types/helper/content-helper.d.ts +0 -18
  598. package/dist/types/helper/datetime-helper.d.ts +0 -3
  599. package/dist/types/helper/generate.d.ts +0 -21
  600. package/dist/types/helper/index.d.ts +0 -9
  601. package/dist/types/helper/number-helper.d.ts +0 -10
  602. package/dist/types/helper/popover-helper.d.ts +0 -31
  603. package/dist/types/helper/string-helper.d.ts +0 -27
  604. package/dist/types/helper/tooltip-helper.d.ts +0 -25
  605. package/dist/types/helper/validators.d.ts +0 -10
  606. package/dist/types/index.d.ts +0 -1
  607. package/dist/types/models/abstract-classes/abstract-key-control.d.ts +0 -31
  608. package/dist/types/models/bcm-types.d.ts +0 -21
  609. package/dist/types/models/bcm.d.ts +0 -456
  610. package/dist/types/models/index.d.ts +0 -2
  611. package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +0 -34
  612. package/dist/types/models/states/molecules/bcm-molecules-state.d.ts +0 -90
  613. package/dist/types/models/states/organisms/bcm-organisms-state.d.ts +0 -78
  614. package/dist/types/stencil-public-runtime.d.ts +0 -1565
  615. package/dist/types/templates/button-template.d.ts +0 -18
  616. package/dist/types/templates/caption-template.d.ts +0 -14
  617. package/dist/types/templates/checkbox-group-template.d.ts +0 -10
  618. package/dist/types/templates/checkbox-template.d.ts +0 -13
  619. package/dist/types/templates/icon-template.d.ts +0 -7
  620. package/dist/types/templates/index.d.ts +0 -13
  621. package/dist/types/templates/info-footer-template.d.ts +0 -10
  622. package/dist/types/templates/input-template.d.ts +0 -34
  623. package/dist/types/templates/label-template.d.ts +0 -12
  624. package/dist/types/templates/list-item-template.d.ts +0 -13
  625. package/dist/types/templates/list-template.d.ts +0 -29
  626. package/dist/types/templates/slot-template.d.ts +0 -8
  627. package/dist/types/templates/step-template.d.ts +0 -17
  628. package/dist/types/templates/tag-template.d.ts +0 -21
  629. package/dist/types/types/index.d.ts +0 -12
  630. package/dist/types/utils/element-dragger.d.ts +0 -146
  631. package/dist/types/utils/floating-ui.d.ts +0 -6
  632. package/dist/types/utils/index.d.ts +0 -5
  633. package/dist/types/utils/popover-placement.d.ts +0 -3
  634. package/dist/types/utils/utils.d.ts +0 -55
  635. package/dist/types/utils/validation.d.ts +0 -19
@@ -1,1860 +0,0 @@
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);