bromcom-ui 2.7.37-rc.1 → 2.7.37-rc.2

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 (712) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/{p-0e480b7b.entry.js → p-02892da0.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-250f52d3.entry.js → p-043f3a0d.entry.js} +1 -1
  5. package/dist/bromcom-ui/p-053962ad.entry.js +5 -0
  6. package/dist/bromcom-ui/{p-7477b927.entry.js → p-0aec8d73.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-1a12fbd0.entry.js → p-0cd7e628.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-0ba73c30.js → p-10caf4ce.js} +1 -1
  9. package/dist/bromcom-ui/{p-125213af.entry.js → p-13ed55a9.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-2d3c0790.entry.js → p-1507f99a.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-83317635.entry.js → p-151d7bec.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-d11eccc0.entry.js → p-1a7873c8.entry.js} +1 -1
  13. package/dist/bromcom-ui/p-1dab0ebb.entry.js +5 -0
  14. package/dist/bromcom-ui/p-27d06f30.entry.js +5 -0
  15. package/dist/bromcom-ui/{p-6f5cff36.entry.js → p-2806e672.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-6fe3bfd9.entry.js → p-2b332236.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-515f3937.entry.js → p-2b346de3.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-de9979a6.entry.js → p-2b479251.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-c1253548.entry.js → p-2b7cb17c.entry.js} +1 -1
  20. package/dist/bromcom-ui/{p-a0352fdd.entry.js → p-2b91dab0.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-2cca68b4.js +5 -0
  22. package/dist/bromcom-ui/p-2cfa8d1a.js +5 -0
  23. package/dist/bromcom-ui/{p-f4c06b78.entry.js → p-3455ec3e.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-20fc8571.entry.js → p-34b815f5.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-81927f68.entry.js → p-355e259c.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-d36f9b12.entry.js → p-35bd1307.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-f9401599.entry.js → p-405441b2.entry.js} +1 -1
  28. package/dist/bromcom-ui/p-40aeceda.entry.js +5 -0
  29. package/dist/bromcom-ui/{p-0baf7808.entry.js → p-41f2ef93.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-444235f5.js +5 -0
  31. package/dist/bromcom-ui/{p-128a5956.js → p-4be4c5bf.js} +1 -1
  32. package/dist/bromcom-ui/p-4c75beb3.entry.js +5 -0
  33. package/dist/bromcom-ui/{p-f69302a8.js → p-4e0c990d.js} +1 -1
  34. package/dist/bromcom-ui/{p-2135cb11.js → p-4f99361a.js} +1 -1
  35. package/dist/bromcom-ui/{p-f053ed80.entry.js → p-50c7a3cd.entry.js} +1 -1
  36. package/dist/bromcom-ui/p-522c96a2.js +5 -0
  37. package/dist/bromcom-ui/{p-e73e6d2b.entry.js → p-573647ab.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-7fad995d.entry.js → p-591b3100.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-df0a2839.entry.js → p-60cee147.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-c7b9b694.entry.js → p-640244fa.entry.js} +1 -1
  41. package/dist/bromcom-ui/p-6ad01d01.entry.js +5 -0
  42. package/dist/bromcom-ui/{p-173ebc98.entry.js → p-6c7eb43f.entry.js} +1 -1
  43. package/dist/bromcom-ui/p-6caa9460.entry.js +5 -0
  44. package/dist/bromcom-ui/p-705d248e.entry.js +5 -0
  45. package/dist/bromcom-ui/{p-9ecacdbb.entry.js → p-751c94dd.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-c562e4c2.entry.js → p-75a92b4c.entry.js} +1 -1
  47. package/dist/bromcom-ui/p-75f864ae.entry.js +5 -0
  48. package/dist/bromcom-ui/{p-51f23b60.entry.js → p-78d48636.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
  50. package/dist/bromcom-ui/{p-1c525c05.entry.js → p-7f065a45.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-603183c2.entry.js → p-8255f60a.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-172edb20.entry.js → p-8595742c.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-4958dd94.js → p-8b72bce1.js} +1 -1
  54. package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
  55. package/dist/bromcom-ui/p-93010f03.js +5 -0
  56. package/dist/bromcom-ui/{p-ace65422.entry.js → p-9a78235b.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-b9f0114c.entry.js → p-9efe118a.entry.js} +1 -1
  58. package/dist/bromcom-ui/p-a1c849e7.js +5 -0
  59. package/dist/bromcom-ui/{p-a8d1397d.js → p-a3ffcb0d.js} +1 -1
  60. package/dist/bromcom-ui/p-a63ba9a2.entry.js +5 -0
  61. package/dist/bromcom-ui/{p-1bb1ffce.entry.js → p-a8073fed.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-99009fb3.entry.js → p-a98aecdf.entry.js} +1 -1
  63. package/dist/bromcom-ui/p-af93c8e6.entry.js +5 -0
  64. package/dist/bromcom-ui/p-b265dd24.entry.js +5 -0
  65. package/dist/bromcom-ui/{p-5fb75161.entry.js → p-b2bae44d.entry.js} +1 -1
  66. package/dist/bromcom-ui/{p-ca13fe84.entry.js → p-b2ea4774.entry.js} +1 -1
  67. package/dist/bromcom-ui/{p-23d5fe0b.entry.js → p-b3a57653.entry.js} +1 -1
  68. package/dist/bromcom-ui/{p-eb809fa4.entry.js → p-b47e5352.entry.js} +1 -1
  69. package/dist/bromcom-ui/{p-dbc48ab6.entry.js → p-b4cbf3bd.entry.js} +1 -1
  70. package/dist/bromcom-ui/{p-236a8be4.entry.js → p-b9983e4b.entry.js} +1 -1
  71. package/dist/bromcom-ui/{p-10dfe83e.js → p-bc868e9e.js} +1 -1
  72. package/dist/bromcom-ui/{p-12c97616.entry.js → p-bf30bf7f.entry.js} +1 -1
  73. package/dist/bromcom-ui/{p-cc9ba164.entry.js → p-c9a20860.entry.js} +1 -1
  74. package/dist/bromcom-ui/{p-20e22beb.js → p-cd0490e2.js} +1 -1
  75. package/dist/bromcom-ui/{p-1115af65.entry.js → p-d87118f3.entry.js} +1 -1
  76. package/dist/bromcom-ui/p-d8f95e30.entry.js +5 -0
  77. package/dist/bromcom-ui/{p-0540bd97.entry.js → p-d9fb53c9.entry.js} +1 -1
  78. package/dist/bromcom-ui/{p-1a03334e.entry.js → p-db11376b.entry.js} +1 -1
  79. package/dist/bromcom-ui/p-dbb106a4.entry.js +5 -0
  80. package/dist/bromcom-ui/{p-ac7386a1.entry.js → p-e467d49f.entry.js} +1 -1
  81. package/dist/bromcom-ui/{p-bfb83484.entry.js → p-ea4f2618.entry.js} +1 -1
  82. package/dist/bromcom-ui/{p-56f22945.entry.js → p-ef923122.entry.js} +1 -1
  83. package/dist/bromcom-ui/{p-cc270a88.entry.js → p-f1b1bb76.entry.js} +1 -1
  84. package/dist/bromcom-ui/p-f2caf9d3.entry.js +5 -0
  85. package/dist/bromcom-ui/{p-6cda636f.entry.js → p-f374395b.entry.js} +1 -1
  86. package/dist/bromcom-ui/{p-be904c55.js → p-f9cb7ae4.js} +1 -1
  87. package/dist/bromcom-ui/{p-1b5695a9.entry.js → p-fa42b2de.entry.js} +1 -1
  88. package/dist/bromcom-ui/p-fcaba9dd.entry.js +5 -0
  89. package/dist/bromcom-ui/p-fe3e3210.js +5 -0
  90. package/dist/cjs/_commonjsHelpers-bd20f4c0.js +29 -0
  91. package/dist/cjs/bcm-2c51bf0c.js +448 -0
  92. package/dist/cjs/bcm-accordion.cjs.entry.js +85 -0
  93. package/dist/cjs/bcm-alert.cjs.entry.js +112 -0
  94. package/dist/cjs/bcm-attendance.cjs.entry.js +50 -0
  95. package/dist/cjs/bcm-autocomplete.cjs.entry.js +155 -0
  96. package/dist/cjs/bcm-avatar_2.cjs.entry.js +156 -0
  97. package/dist/cjs/bcm-box.cjs.entry.js +35 -0
  98. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +67 -0
  99. package/dist/cjs/bcm-button-group.cjs.entry.js +102 -0
  100. package/dist/cjs/bcm-button_4.cjs.entry.js +995 -0
  101. package/dist/cjs/bcm-card.cjs.entry.js +76 -0
  102. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +409 -0
  103. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +2570 -0
  104. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +203 -0
  105. package/dist/cjs/bcm-chip.cjs.entry.js +70 -0
  106. package/dist/cjs/bcm-collapse-group.cjs.entry.js +57 -0
  107. package/dist/cjs/bcm-collapse.cjs.entry.js +58 -0
  108. package/dist/cjs/bcm-colorpicker.cjs.entry.js +433 -0
  109. package/dist/cjs/bcm-date-picker.cjs.entry.js +171 -0
  110. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1432 -0
  111. package/dist/cjs/bcm-default.cjs.entry.js +40 -0
  112. package/dist/cjs/bcm-drawer.cjs.entry.js +111 -0
  113. package/dist/cjs/bcm-dropdown.cjs.entry.js +239 -0
  114. package/dist/cjs/bcm-error-layout.cjs.entry.js +78 -0
  115. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +127 -0
  116. package/dist/cjs/bcm-form-2.cjs.entry.js +206 -0
  117. package/dist/cjs/bcm-form-group.cjs.entry.js +45 -0
  118. package/dist/cjs/bcm-input.cjs.entry.js +325 -0
  119. package/dist/cjs/bcm-item.cjs.entry.js +83 -0
  120. package/dist/cjs/bcm-items.cjs.entry.js +61 -0
  121. package/dist/cjs/bcm-label_2.cjs.entry.js +119 -0
  122. package/dist/cjs/bcm-link.cjs.entry.js +62 -0
  123. package/dist/cjs/bcm-linked.cjs.entry.js +179 -0
  124. package/dist/cjs/bcm-list.cjs.entry.js +1768 -0
  125. package/dist/cjs/bcm-menu.cjs.entry.js +248 -0
  126. package/dist/cjs/bcm-message.cjs.entry.js +99 -0
  127. package/dist/cjs/bcm-notification.cjs.entry.js +103 -0
  128. package/dist/cjs/bcm-old-input.cjs.entry.js +398 -0
  129. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +157 -0
  130. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +122 -0
  131. package/dist/cjs/bcm-popconfirm.cjs.entry.js +112 -0
  132. package/dist/cjs/bcm-popover.cjs.entry.js +182 -0
  133. package/dist/cjs/bcm-progress.cjs.entry.js +174 -0
  134. package/dist/cjs/bcm-radio-group.cjs.entry.js +267 -0
  135. package/dist/cjs/bcm-radio.cjs.entry.js +104 -0
  136. package/dist/cjs/bcm-range.cjs.entry.js +189 -0
  137. package/dist/cjs/bcm-result.cjs.entry.js +79 -0
  138. package/dist/cjs/bcm-search.cjs.entry.js +256 -0
  139. package/dist/cjs/bcm-select-group.cjs.entry.js +31 -0
  140. package/dist/cjs/bcm-select-option.cjs.entry.js +37 -0
  141. package/dist/cjs/bcm-select.cjs.entry.js +1198 -0
  142. package/dist/cjs/bcm-skeleton.cjs.entry.js +56 -0
  143. package/dist/cjs/bcm-step.cjs.entry.js +93 -0
  144. package/dist/cjs/bcm-stepper.cjs.entry.js +211 -0
  145. package/dist/cjs/bcm-switch.cjs.entry.js +139 -0
  146. package/dist/cjs/bcm-tab-group.cjs.entry.js +172 -0
  147. package/dist/cjs/bcm-tab-pane.cjs.entry.js +70 -0
  148. package/dist/cjs/bcm-tab.cjs.entry.js +89 -0
  149. package/dist/cjs/bcm-table.cjs.entry.js +78 -0
  150. package/dist/cjs/bcm-tabs-content.cjs.entry.js +62 -0
  151. package/dist/cjs/bcm-tabs.cjs.entry.js +390 -0
  152. package/dist/cjs/bcm-tag.cjs.entry.js +101 -0
  153. package/dist/cjs/bcm-text.cjs.entry.js +60 -0
  154. package/dist/cjs/bcm-textarea.cjs.entry.js +150 -0
  155. package/dist/cjs/bcm-time-picker.cjs.entry.js +139 -0
  156. package/dist/cjs/bcm-timeline-item.cjs.entry.js +55 -0
  157. package/dist/cjs/bcm-timeline.cjs.entry.js +73 -0
  158. package/dist/cjs/bcm-treeview-group.cjs.entry.js +23 -0
  159. package/dist/cjs/bromcom-ui.cjs.js +24 -0
  160. package/dist/cjs/caption-template-954d34bc.js +34 -0
  161. package/dist/cjs/color-helper-c9882bd8.js +490 -0
  162. package/dist/cjs/colors-56282b00.js +224 -0
  163. package/dist/cjs/datetime-helper-eaf4fadb.js +11 -0
  164. package/dist/cjs/element-dragger-a8562f82.js +279 -0
  165. package/dist/cjs/floating-ui-dae608ba.js +1455 -0
  166. package/dist/cjs/generate-716a328d.js +203 -0
  167. package/dist/cjs/global-b0d21446.js +15 -0
  168. package/dist/cjs/index-9d98aa56.js +1864 -0
  169. package/dist/cjs/index-a2b50e51.js +64 -0
  170. package/dist/cjs/index-f8547ecd.js +193 -0
  171. package/dist/cjs/index.cjs.js +6 -0
  172. package/dist/cjs/input-template-4747050f.js +86 -0
  173. package/dist/cjs/is-load-decorator-65755a67.js +56 -0
  174. package/dist/cjs/json-parse-decarator-b8a37140.js +40 -0
  175. package/dist/cjs/label-template-1ed6a569.js +23 -0
  176. package/dist/cjs/loader.cjs.js +26 -0
  177. package/dist/cjs/number-helper-e62c32d5.js +20 -0
  178. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +161 -0
  179. package/dist/cjs/old-bcm-popover.cjs.entry.js +104 -0
  180. package/dist/cjs/popover-placement-87901bb3.js +98 -0
  181. package/dist/cjs/property-decorators-cb2155ed.js +33 -0
  182. package/dist/cjs/slot-template-2ff0d22a.js +15 -0
  183. package/dist/cjs/stepper-states-1be09180.js +83 -0
  184. package/dist/cjs/string-helper-df40a475.js +134 -0
  185. package/dist/cjs/tooltip-helper-a192b748.js +104 -0
  186. package/dist/cjs/types-3871235f.js +32 -0
  187. package/dist/cjs/types-6eb7e028.js +32 -0
  188. package/dist/cjs/types-cc4adee7.js +19 -0
  189. package/dist/cjs/utils-fc077139.js +131 -0
  190. package/dist/cjs/validators-8f5537d4.js +33 -0
  191. package/dist/collection/collection-manifest.json +95 -0
  192. package/dist/collection/components/atoms/avatar/avatar.css +448 -0
  193. package/dist/collection/components/atoms/avatar/avatar.js +259 -0
  194. package/dist/collection/components/atoms/badge/badge.css +481 -0
  195. package/dist/collection/components/atoms/badge/badge.js +224 -0
  196. package/dist/collection/components/atoms/box/box.js +23 -0
  197. package/dist/collection/components/atoms/button/button.css +637 -0
  198. package/dist/collection/components/atoms/button/button.js +525 -0
  199. package/dist/collection/components/atoms/button/types.js +170 -0
  200. package/dist/collection/components/atoms/chip/chip.css +453 -0
  201. package/dist/collection/components/atoms/chip/chip.js +187 -0
  202. package/dist/collection/components/atoms/divider/divider.css +142 -0
  203. package/dist/collection/components/atoms/divider/divider.js +83 -0
  204. package/dist/collection/components/atoms/icon/icon.css +127 -0
  205. package/dist/collection/components/atoms/icon/icon.js +70 -0
  206. package/dist/collection/components/atoms/label/label.css +408 -0
  207. package/dist/collection/components/atoms/label/label.js +216 -0
  208. package/dist/collection/components/atoms/link/link.css +419 -0
  209. package/dist/collection/components/atoms/link/link.js +176 -0
  210. package/dist/collection/components/atoms/states/button.states.js +31 -0
  211. package/dist/collection/components/atoms/tag/tag.js +334 -0
  212. package/dist/collection/components/atoms/tag/types.js +30 -0
  213. package/dist/collection/components/atoms/typography/typography.js +23 -0
  214. package/dist/collection/components/molecules/accordion/accordion.css +127 -0
  215. package/dist/collection/components/molecules/accordion/accordion.js +129 -0
  216. package/dist/collection/components/molecules/alert/alert.css +191 -0
  217. package/dist/collection/components/molecules/alert/alert.js +298 -0
  218. package/dist/collection/components/molecules/alert/types.js +23 -0
  219. package/dist/collection/components/molecules/breadcrumb/breadcrumb.css +201 -0
  220. package/dist/collection/components/molecules/breadcrumb/breadcrumb.js +155 -0
  221. package/dist/collection/components/molecules/breadcrumb/types.js +5 -0
  222. package/dist/collection/components/molecules/button-group/button-group.css +423 -0
  223. package/dist/collection/components/molecules/button-group/button-group.js +235 -0
  224. package/dist/collection/components/molecules/card/card.css +408 -0
  225. package/dist/collection/components/molecules/card/card.js +128 -0
  226. package/dist/collection/components/molecules/checkbox/checkbox-lite.js +237 -0
  227. package/dist/collection/components/molecules/checkbox/checkbox.css +1280 -0
  228. package/dist/collection/components/molecules/checkbox/checkbox.js +688 -0
  229. package/dist/collection/components/molecules/checkbox/group.css +156 -0
  230. package/dist/collection/components/molecules/checkbox/group.js +779 -0
  231. package/dist/collection/components/molecules/drawer/drawer.css +502 -0
  232. package/dist/collection/components/molecules/drawer/drawer.js +272 -0
  233. package/dist/collection/components/molecules/dropdown/dropdown.css +419 -0
  234. package/dist/collection/components/molecules/dropdown/dropdown.js +857 -0
  235. package/dist/collection/components/molecules/empty/empty.js +44 -0
  236. package/dist/collection/components/molecules/error-layout/error-layout.css +396 -0
  237. package/dist/collection/components/molecules/error-layout/error-layout.js +177 -0
  238. package/dist/collection/components/molecules/error-layout/types.js +5 -0
  239. package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +488 -0
  240. package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +322 -0
  241. package/dist/collection/components/molecules/input/input.css +1208 -0
  242. package/dist/collection/components/molecules/input/input.js +1171 -0
  243. package/dist/collection/components/molecules/input/types.js +17 -0
  244. package/dist/collection/components/molecules/item/item.css +446 -0
  245. package/dist/collection/components/molecules/item/item.js +151 -0
  246. package/dist/collection/components/molecules/items/items.js +84 -0
  247. package/dist/collection/components/molecules/linked/linked.js +410 -0
  248. package/dist/collection/components/molecules/menu/menu.css +718 -0
  249. package/dist/collection/components/molecules/menu/menu.js +623 -0
  250. package/dist/collection/components/molecules/message/message.css +165 -0
  251. package/dist/collection/components/molecules/message/message.js +222 -0
  252. package/dist/collection/components/molecules/message/types.js +14 -0
  253. package/dist/collection/components/molecules/modal/modal.css +526 -0
  254. package/dist/collection/components/molecules/modal/modal.js +379 -0
  255. package/dist/collection/components/molecules/notification/notification.css +183 -0
  256. package/dist/collection/components/molecules/notification/notification.js +244 -0
  257. package/dist/collection/components/molecules/notification/types.js +15 -0
  258. package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +563 -0
  259. package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +396 -0
  260. package/dist/collection/components/molecules/popconfirm/popconfirm.css +127 -0
  261. package/dist/collection/components/molecules/popconfirm/popconfirm.js +382 -0
  262. package/dist/collection/components/molecules/popover/popover.js +254 -0
  263. package/dist/collection/components/molecules/progress/progress.css +486 -0
  264. package/dist/collection/components/molecules/progress/progress.js +404 -0
  265. package/dist/collection/components/molecules/progress/types.js +28 -0
  266. package/dist/collection/components/molecules/radio/group.css +798 -0
  267. package/dist/collection/components/molecules/radio/group.js +652 -0
  268. package/dist/collection/components/molecules/radio/radio.css +1280 -0
  269. package/dist/collection/components/molecules/radio/radio.js +291 -0
  270. package/dist/collection/components/molecules/radio/types.js +30 -0
  271. package/dist/collection/components/molecules/range/range.css +570 -0
  272. package/dist/collection/components/molecules/range/range.js +472 -0
  273. package/dist/collection/components/molecules/result/result.css +164 -0
  274. package/dist/collection/components/molecules/result/result.js +143 -0
  275. package/dist/collection/components/molecules/result/types.js +22 -0
  276. package/dist/collection/components/molecules/search/search.css +1208 -0
  277. package/dist/collection/components/molecules/search/search.js +406 -0
  278. package/dist/collection/components/molecules/skeleton/skeleton.js +94 -0
  279. package/dist/collection/components/molecules/states/alert.states.js +25 -0
  280. package/dist/collection/components/molecules/states/checkbox-group.states.js +199 -0
  281. package/dist/collection/components/molecules/states/radio-group.states.js +107 -0
  282. package/dist/collection/components/molecules/states/search.states.js +137 -0
  283. package/dist/collection/components/molecules/states/stepper-states.js +79 -0
  284. package/dist/collection/components/molecules/stepper/step.js +346 -0
  285. package/dist/collection/components/molecules/stepper/stepper.css +617 -0
  286. package/dist/collection/components/molecules/stepper/stepper.js +484 -0
  287. package/dist/collection/components/molecules/switch/switch.css +1272 -0
  288. package/dist/collection/components/molecules/switch/switch.js +716 -0
  289. package/dist/collection/components/molecules/tab-group/tab-group.js +280 -0
  290. package/dist/collection/components/molecules/textarea/textarea.css +1208 -0
  291. package/dist/collection/components/molecules/textarea/textarea.js +731 -0
  292. package/dist/collection/components/molecules/textarea/types.js +13 -0
  293. package/dist/collection/components/molecules/timeline/timeline-item.css +254 -0
  294. package/dist/collection/components/molecules/timeline/timeline-item.js +159 -0
  295. package/dist/collection/components/molecules/timeline/timeline.css +205 -0
  296. package/dist/collection/components/molecules/timeline/timeline.js +125 -0
  297. package/dist/collection/components/molecules/tooltip/tooltip.js +232 -0
  298. package/dist/collection/components/organism/autocomplete/autocomplete.css +168 -0
  299. package/dist/collection/components/organism/autocomplete/autocomplete.js +399 -0
  300. package/dist/collection/components/organism/colorpicker/colorpicker.css +313 -0
  301. package/dist/collection/components/organism/colorpicker/colorpicker.js +774 -0
  302. package/dist/collection/components/organism/colorpicker/static/chess.png +0 -0
  303. package/dist/collection/components/organism/colorpicker/static/color.svg +14 -0
  304. package/dist/collection/components/organism/colorpicker/static/colors.svg +16 -0
  305. package/dist/collection/components/organism/date-picker/date-picker.css +141 -0
  306. package/dist/collection/components/organism/date-picker/date-picker.js +780 -0
  307. package/dist/collection/components/organism/datetime-picker/datetime-picker.css +1429 -0
  308. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +2166 -0
  309. package/dist/collection/components/organism/datetime-picker/types.js +39 -0
  310. package/dist/collection/components/organism/form/form-group.css +131 -0
  311. package/dist/collection/components/organism/form/form-group.js +131 -0
  312. package/dist/collection/components/organism/form/form.css +132 -0
  313. package/dist/collection/components/organism/form/form.js +680 -0
  314. package/dist/collection/components/organism/form-2/bcm-form-components.js +26 -0
  315. package/dist/collection/components/organism/form-2/form-2.css +127 -0
  316. package/dist/collection/components/organism/form-2/form-2.js +329 -0
  317. package/dist/collection/components/organism/list/list-key-control.js +125 -0
  318. package/dist/collection/components/organism/list/list-tag-control.js +172 -0
  319. package/dist/collection/components/organism/list/list.css +2047 -0
  320. package/dist/collection/components/organism/list/list.js +1894 -0
  321. package/dist/collection/components/organism/states/bcm-list2.states.js +532 -0
  322. package/dist/collection/components/organism/time-picker/time-picker.css +141 -0
  323. package/dist/collection/components/organism/time-picker/time-picker.js +627 -0
  324. package/dist/collection/components/other/attendance/attendance.css +433 -0
  325. package/dist/collection/components/other/attendance/attendance.js +87 -0
  326. package/dist/collection/components/other/data-table/table.css +130 -0
  327. package/dist/collection/components/other/data-table/table.js +92 -0
  328. package/dist/collection/components/other/default/default.css +127 -0
  329. package/dist/collection/components/other/default/default.js +54 -0
  330. package/dist/collection/components/other_deprecated/collapse/collapse.css +177 -0
  331. package/dist/collection/components/other_deprecated/collapse/collapse.js +163 -0
  332. package/dist/collection/components/other_deprecated/collapse/group.js +128 -0
  333. package/dist/collection/components/other_deprecated/listbox/listbox-group.css +139 -0
  334. package/dist/collection/components/other_deprecated/listbox/listbox-group.js +93 -0
  335. package/dist/collection/components/other_deprecated/listbox/listbox-item.css +269 -0
  336. package/dist/collection/components/other_deprecated/listbox/listbox-item.js +641 -0
  337. package/dist/collection/components/other_deprecated/listbox/listbox.css +365 -0
  338. package/dist/collection/components/other_deprecated/listbox/listbox.js +1999 -0
  339. package/dist/collection/components/other_deprecated/listbox/types.js +11 -0
  340. package/dist/collection/components/other_deprecated/old-input/old-input.css +1360 -0
  341. package/dist/collection/components/other_deprecated/old-input/old-input.js +1154 -0
  342. package/dist/collection/components/other_deprecated/old-input/types.js +17 -0
  343. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +582 -0
  344. package/dist/collection/components/other_deprecated/old-popover/old-popover-box.js +422 -0
  345. package/dist/collection/components/other_deprecated/old-popover/old-popover.css +127 -0
  346. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +296 -0
  347. package/dist/collection/components/other_deprecated/old-search/old-search.css +131 -0
  348. package/dist/collection/components/other_deprecated/old-search/old-search.js +496 -0
  349. package/dist/collection/components/other_deprecated/old-tag/old-tag.css +305 -0
  350. package/dist/collection/components/other_deprecated/old-tag/old-tag.js +326 -0
  351. package/dist/collection/components/other_deprecated/old-tag/types.js +30 -0
  352. package/dist/collection/components/other_deprecated/select/group.css +144 -0
  353. package/dist/collection/components/other_deprecated/select/group.js +88 -0
  354. package/dist/collection/components/other_deprecated/select/option.css +164 -0
  355. package/dist/collection/components/other_deprecated/select/option.js +142 -0
  356. package/dist/collection/components/other_deprecated/select/select-box.css +143 -0
  357. package/dist/collection/components/other_deprecated/select/select-box.js +104 -0
  358. package/dist/collection/components/other_deprecated/select/select.css +364 -0
  359. package/dist/collection/components/other_deprecated/select/select.js +2281 -0
  360. package/dist/collection/components/other_deprecated/tabs/tab-pane.css +142 -0
  361. package/dist/collection/components/other_deprecated/tabs/tab-pane.js +168 -0
  362. package/dist/collection/components/other_deprecated/tabs/tab.css +587 -0
  363. package/dist/collection/components/other_deprecated/tabs/tab.js +303 -0
  364. package/dist/collection/components/other_deprecated/tabs/tabs-content.css +136 -0
  365. package/dist/collection/components/other_deprecated/tabs/tabs-content.js +147 -0
  366. package/dist/collection/components/other_deprecated/tabs/tabs.css +212 -0
  367. package/dist/collection/components/other_deprecated/tabs/tabs.js +806 -0
  368. package/dist/collection/components/other_deprecated/tabs/types.js +30 -0
  369. package/dist/collection/components/other_deprecated/text/text.css +429 -0
  370. package/dist/collection/components/other_deprecated/text/text.js +159 -0
  371. package/dist/collection/components/other_deprecated/treeview/treeview-group.css +0 -0
  372. package/dist/collection/components/other_deprecated/treeview/treeview-group.js +18 -0
  373. package/dist/collection/components/other_deprecated/treeview/treeview-item.css +318 -0
  374. package/dist/collection/components/other_deprecated/treeview/treeview-item.js +977 -0
  375. package/dist/collection/components/other_deprecated/treeview/treeview.css +190 -0
  376. package/dist/collection/components/other_deprecated/treeview/treeview.js +1699 -0
  377. package/dist/collection/components/other_deprecated/treeview/types.js +11 -0
  378. package/dist/collection/decorators/id-decorator.js +18 -0
  379. package/dist/collection/decorators/index.js +8 -0
  380. package/dist/collection/decorators/is-load-decorator.js +51 -0
  381. package/dist/collection/decorators/json-parse-decarator.js +35 -0
  382. package/dist/collection/decorators/property-decorators.js +28 -0
  383. package/dist/collection/global/components/_checkbox.css +627 -0
  384. package/dist/collection/global/config.js +45 -0
  385. package/dist/collection/global/global.js +43 -0
  386. package/dist/collection/global/variables/colors.js +220 -0
  387. package/dist/collection/helper/color-helper.js +81 -0
  388. package/dist/collection/helper/datetime-helper.js +7 -0
  389. package/dist/collection/helper/generate.js +168 -0
  390. package/dist/collection/helper/index.js +12 -0
  391. package/dist/collection/helper/number-helper.js +15 -0
  392. package/dist/collection/helper/popover-helper.js +106 -0
  393. package/dist/collection/helper/string-helper.js +65 -0
  394. package/dist/collection/helper/tooltip-helper.js +95 -0
  395. package/dist/collection/helper/validators.js +28 -0
  396. package/dist/collection/index.js +5 -0
  397. package/dist/collection/models/abstract-classes/abstract-key-control.js +97 -0
  398. package/dist/collection/models/bcm-types.js +5 -0
  399. package/dist/collection/models/bcm.js +466 -0
  400. package/dist/collection/models/index.js +6 -0
  401. package/dist/collection/models/states/atoms/bcm-atoms-state.js +5 -0
  402. package/dist/collection/models/states/molecules/bcm-molecules-state.js +5 -0
  403. package/dist/collection/models/states/organisms/bcm-organisms-state.js +5 -0
  404. package/dist/collection/templates/button-template.js +22 -0
  405. package/dist/collection/templates/caption-template.js +29 -0
  406. package/dist/collection/templates/checkbox-group-template.js +10 -0
  407. package/dist/collection/templates/checkbox-template.js +31 -0
  408. package/dist/collection/templates/icon-template.js +24 -0
  409. package/dist/collection/templates/index.js +17 -0
  410. package/dist/collection/templates/info-footer-template.js +16 -0
  411. package/dist/collection/templates/input-template.js +81 -0
  412. package/dist/collection/templates/label-template.js +18 -0
  413. package/dist/collection/templates/list-item-template.js +58 -0
  414. package/dist/collection/templates/list-template.js +24 -0
  415. package/dist/collection/templates/slot-template.js +10 -0
  416. package/dist/collection/templates/step-template.js +26 -0
  417. package/dist/collection/templates/tag-template.js +45 -0
  418. package/dist/collection/types/index.js +5 -0
  419. package/dist/collection/utils/element-dragger.js +274 -0
  420. package/dist/collection/utils/floating-ui.js +95 -0
  421. package/dist/collection/utils/index.js +9 -0
  422. package/dist/collection/utils/popover-placement.js +96 -0
  423. package/dist/collection/utils/utils.js +223 -0
  424. package/dist/collection/utils/validation.js +47 -0
  425. package/dist/esm/_commonjsHelpers-3016b722.js +25 -0
  426. package/dist/esm/bcm-accordion.entry.js +81 -0
  427. package/dist/esm/bcm-alert.entry.js +108 -0
  428. package/dist/esm/bcm-attendance.entry.js +46 -0
  429. package/dist/esm/bcm-autocomplete.entry.js +151 -0
  430. package/dist/esm/bcm-avatar_2.entry.js +151 -0
  431. package/dist/esm/bcm-b8d8a236.js +446 -0
  432. package/dist/esm/bcm-box.entry.js +31 -0
  433. package/dist/esm/bcm-breadcrumb.entry.js +63 -0
  434. package/dist/esm/bcm-button-group.entry.js +98 -0
  435. package/dist/esm/bcm-button_4.entry.js +988 -0
  436. package/dist/esm/bcm-card.entry.js +72 -0
  437. package/dist/esm/bcm-checkbox-group.entry.js +405 -0
  438. package/dist/esm/bcm-checkbox-lite_9.entry.js +2558 -0
  439. package/dist/esm/bcm-checkbox_2.entry.js +198 -0
  440. package/dist/esm/bcm-chip.entry.js +66 -0
  441. package/dist/esm/bcm-collapse-group.entry.js +53 -0
  442. package/dist/esm/bcm-collapse.entry.js +54 -0
  443. package/dist/esm/bcm-colorpicker.entry.js +429 -0
  444. package/dist/esm/bcm-date-picker.entry.js +167 -0
  445. package/dist/esm/bcm-datetime-picker.entry.js +1428 -0
  446. package/dist/esm/bcm-default.entry.js +36 -0
  447. package/dist/esm/bcm-drawer.entry.js +107 -0
  448. package/dist/esm/bcm-dropdown.entry.js +235 -0
  449. package/dist/esm/bcm-error-layout.entry.js +74 -0
  450. package/dist/esm/bcm-expansion-panel.entry.js +123 -0
  451. package/dist/esm/bcm-form-2.entry.js +202 -0
  452. package/dist/esm/bcm-form-group.entry.js +41 -0
  453. package/dist/esm/bcm-input.entry.js +321 -0
  454. package/dist/esm/bcm-item.entry.js +79 -0
  455. package/dist/esm/bcm-items.entry.js +57 -0
  456. package/dist/esm/bcm-label_2.entry.js +114 -0
  457. package/dist/esm/bcm-link.entry.js +58 -0
  458. package/dist/esm/bcm-linked.entry.js +175 -0
  459. package/dist/esm/bcm-list.entry.js +1764 -0
  460. package/dist/esm/bcm-menu.entry.js +244 -0
  461. package/dist/esm/bcm-message.entry.js +95 -0
  462. package/dist/esm/bcm-notification.entry.js +99 -0
  463. package/dist/esm/bcm-old-input.entry.js +394 -0
  464. package/dist/esm/bcm-old-tag_2.entry.js +152 -0
  465. package/dist/esm/bcm-popconfirm-box.entry.js +118 -0
  466. package/dist/esm/bcm-popconfirm.entry.js +108 -0
  467. package/dist/esm/bcm-popover.entry.js +178 -0
  468. package/dist/esm/bcm-progress.entry.js +170 -0
  469. package/dist/esm/bcm-radio-group.entry.js +263 -0
  470. package/dist/esm/bcm-radio.entry.js +100 -0
  471. package/dist/esm/bcm-range.entry.js +185 -0
  472. package/dist/esm/bcm-result.entry.js +75 -0
  473. package/dist/esm/bcm-search.entry.js +252 -0
  474. package/dist/esm/bcm-select-group.entry.js +27 -0
  475. package/dist/esm/bcm-select-option.entry.js +33 -0
  476. package/dist/esm/bcm-select.entry.js +1194 -0
  477. package/dist/esm/bcm-skeleton.entry.js +52 -0
  478. package/dist/esm/bcm-step.entry.js +89 -0
  479. package/dist/esm/bcm-stepper.entry.js +207 -0
  480. package/dist/esm/bcm-switch.entry.js +135 -0
  481. package/dist/esm/bcm-tab-group.entry.js +168 -0
  482. package/dist/esm/bcm-tab-pane.entry.js +66 -0
  483. package/dist/esm/bcm-tab.entry.js +85 -0
  484. package/dist/esm/bcm-table.entry.js +74 -0
  485. package/dist/esm/bcm-tabs-content.entry.js +58 -0
  486. package/dist/esm/bcm-tabs.entry.js +386 -0
  487. package/dist/esm/bcm-tag.entry.js +97 -0
  488. package/dist/esm/bcm-text.entry.js +56 -0
  489. package/dist/esm/bcm-textarea.entry.js +146 -0
  490. package/dist/esm/bcm-time-picker.entry.js +135 -0
  491. package/dist/esm/bcm-timeline-item.entry.js +51 -0
  492. package/dist/esm/bcm-timeline.entry.js +69 -0
  493. package/dist/esm/bcm-treeview-group.entry.js +19 -0
  494. package/dist/esm/bromcom-ui.js +22 -0
  495. package/dist/esm/caption-template-d54ee0c3.js +32 -0
  496. package/dist/esm/color-helper-7e202fd8.js +488 -0
  497. package/dist/esm/colors-1d7854ea.js +222 -0
  498. package/dist/esm/datetime-helper-df25808a.js +9 -0
  499. package/dist/esm/element-dragger-89bb52fd.js +277 -0
  500. package/dist/esm/floating-ui-f03a96ce.js +1453 -0
  501. package/dist/esm/generate-4e9309bd.js +200 -0
  502. package/dist/esm/global-4fad925b.js +13 -0
  503. package/dist/esm/index-2a3eeccc.js +1833 -0
  504. package/dist/esm/index-6e950253.js +191 -0
  505. package/dist/esm/index-ba2edd32.js +62 -0
  506. package/dist/esm/index.js +4 -0
  507. package/dist/esm/input-template-6a8e4cc6.js +84 -0
  508. package/dist/esm/is-load-decorator-b990575a.js +54 -0
  509. package/dist/esm/json-parse-decarator-87ac1cd9.js +38 -0
  510. package/dist/esm/label-template-e3eebfbc.js +21 -0
  511. package/dist/esm/loader.js +22 -0
  512. package/dist/esm/number-helper-f34393b1.js +18 -0
  513. package/dist/esm/old-bcm-popover-box.entry.js +157 -0
  514. package/dist/esm/old-bcm-popover.entry.js +100 -0
  515. package/dist/esm/polyfills/core-js.js +11 -0
  516. package/dist/esm/polyfills/css-shim.js +1 -0
  517. package/dist/esm/polyfills/dom.js +79 -0
  518. package/dist/esm/polyfills/es5-html-element.js +1 -0
  519. package/dist/esm/polyfills/index.js +34 -0
  520. package/dist/esm/polyfills/system.js +6 -0
  521. package/dist/esm/popover-placement-9864294b.js +95 -0
  522. package/dist/esm/property-decorators-f3f1e7de.js +31 -0
  523. package/dist/esm/slot-template-877c4e01.js +13 -0
  524. package/dist/esm/stepper-states-12a190b4.js +81 -0
  525. package/dist/esm/string-helper-74a1648f.js +132 -0
  526. package/dist/esm/tooltip-helper-ae137bee.js +102 -0
  527. package/dist/esm/types-6f06fa1a.js +19 -0
  528. package/dist/esm/types-b211a5eb.js +32 -0
  529. package/dist/esm/types-bfc3bba1.js +32 -0
  530. package/dist/esm/utils-57652744.js +123 -0
  531. package/dist/esm/validators-0e0c76db.js +31 -0
  532. package/dist/index.cjs.js +1 -0
  533. package/dist/index.js +1 -0
  534. package/dist/types/components/atoms/avatar/avatar.d.ts +23 -0
  535. package/dist/types/components/atoms/badge/badge.d.ts +17 -0
  536. package/dist/types/components/atoms/box/box.d.ts +5 -0
  537. package/dist/types/components/atoms/button/button.d.ts +33 -0
  538. package/dist/types/components/atoms/button/types.d.ts +166 -0
  539. package/dist/types/components/atoms/chip/chip.d.ts +24 -0
  540. package/dist/types/components/atoms/divider/divider.d.ts +7 -0
  541. package/dist/types/components/atoms/icon/icon.d.ts +6 -0
  542. package/dist/types/components/atoms/label/label.d.ts +16 -0
  543. package/dist/types/components/atoms/link/link.d.ts +13 -0
  544. package/dist/types/components/atoms/states/button.states.d.ts +7 -0
  545. package/dist/types/components/atoms/tag/tag.d.ts +24 -0
  546. package/dist/types/components/atoms/tag/types.d.ts +29 -0
  547. package/dist/types/components/atoms/typography/typography.d.ts +5 -0
  548. package/dist/types/components/molecules/accordion/accordion.d.ts +11 -0
  549. package/dist/types/components/molecules/alert/alert.d.ts +21 -0
  550. package/dist/types/components/molecules/alert/types.d.ts +25 -0
  551. package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +14 -0
  552. package/dist/types/components/molecules/breadcrumb/types.d.ts +10 -0
  553. package/dist/types/components/molecules/button-group/button-group.d.ts +21 -0
  554. package/dist/types/components/molecules/card/card.d.ts +11 -0
  555. package/dist/types/components/molecules/checkbox/checkbox-lite.d.ts +14 -0
  556. package/dist/types/components/molecules/checkbox/checkbox.d.ts +56 -0
  557. package/dist/types/components/molecules/checkbox/group.d.ts +56 -0
  558. package/dist/types/components/molecules/drawer/drawer.d.ts +21 -0
  559. package/dist/types/components/molecules/dropdown/dropdown.d.ts +55 -0
  560. package/dist/types/components/molecules/empty/empty.d.ts +5 -0
  561. package/dist/types/components/molecules/error-layout/error-layout.d.ts +25 -0
  562. package/dist/types/components/molecules/error-layout/types.d.ts +4 -0
  563. package/dist/types/components/molecules/expansion-panel/expansion-panel.d.ts +31 -0
  564. package/dist/types/components/molecules/input/input.d.ts +82 -0
  565. package/dist/types/components/molecules/input/types.d.ts +13 -0
  566. package/dist/types/components/molecules/item/item.d.ts +13 -0
  567. package/dist/types/components/molecules/items/items.d.ts +10 -0
  568. package/dist/types/components/molecules/linked/linked.d.ts +30 -0
  569. package/dist/types/components/molecules/menu/menu.d.ts +41 -0
  570. package/dist/types/components/molecules/message/message.d.ts +32 -0
  571. package/dist/types/components/molecules/message/types.d.ts +13 -0
  572. package/dist/types/components/molecules/modal/modal.d.ts +26 -0
  573. package/dist/types/components/molecules/notification/notification.d.ts +42 -0
  574. package/dist/types/components/molecules/notification/types.d.ts +14 -0
  575. package/dist/types/components/molecules/popconfirm/popconfirm-box.d.ts +29 -0
  576. package/dist/types/components/molecules/popconfirm/popconfirm.d.ts +28 -0
  577. package/dist/types/components/molecules/popover/popover.d.ts +20 -0
  578. package/dist/types/components/molecules/progress/progress.d.ts +25 -0
  579. package/dist/types/components/molecules/progress/types.d.ts +14 -0
  580. package/dist/types/components/molecules/radio/group.d.ts +54 -0
  581. package/dist/types/components/molecules/radio/radio.d.ts +21 -0
  582. package/dist/types/components/molecules/radio/types.d.ts +29 -0
  583. package/dist/types/components/molecules/range/range.d.ts +36 -0
  584. package/dist/types/components/molecules/result/result.d.ts +13 -0
  585. package/dist/types/components/molecules/result/types.d.ts +19 -0
  586. package/dist/types/components/molecules/search/search.d.ts +35 -0
  587. package/dist/types/components/molecules/skeleton/skeleton.d.ts +8 -0
  588. package/dist/types/components/molecules/states/alert.states.d.ts +7 -0
  589. package/dist/types/components/molecules/states/checkbox-group.states.d.ts +53 -0
  590. package/dist/types/components/molecules/states/radio-group.states.d.ts +48 -0
  591. package/dist/types/components/molecules/states/search.states.d.ts +14 -0
  592. package/dist/types/components/molecules/states/stepper-states.d.ts +13 -0
  593. package/dist/types/components/molecules/stepper/step.d.ts +25 -0
  594. package/dist/types/components/molecules/stepper/stepper.d.ts +34 -0
  595. package/dist/types/components/molecules/switch/switch.d.ts +46 -0
  596. package/dist/types/components/molecules/tab-group/tab-group.d.ts +18 -0
  597. package/dist/types/components/molecules/textarea/textarea.d.ts +53 -0
  598. package/dist/types/components/molecules/textarea/types.d.ts +9 -0
  599. package/dist/types/components/molecules/timeline/timeline-item.d.ts +16 -0
  600. package/dist/types/components/molecules/timeline/timeline.d.ts +25 -0
  601. package/dist/types/components/molecules/tooltip/tooltip.d.ts +19 -0
  602. package/dist/types/components/organism/autocomplete/autocomplete.d.ts +31 -0
  603. package/dist/types/components/organism/colorpicker/colorpicker.d.ts +176 -0
  604. package/dist/types/components/organism/date-picker/date-picker.d.ts +77 -0
  605. package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +438 -0
  606. package/dist/types/components/organism/datetime-picker/types.d.ts +54 -0
  607. package/dist/types/components/organism/form/form-group.d.ts +10 -0
  608. package/dist/types/components/organism/form/form.d.ts +34 -0
  609. package/dist/types/components/organism/form-2/bcm-form-components.d.ts +2 -0
  610. package/dist/types/components/organism/form-2/form-2.d.ts +25 -0
  611. package/dist/types/components/organism/list/list-key-control.d.ts +18 -0
  612. package/dist/types/components/organism/list/list-tag-control.d.ts +18 -0
  613. package/dist/types/components/organism/list/list.d.ts +140 -0
  614. package/dist/types/components/organism/states/bcm-list2.states.d.ts +28 -0
  615. package/dist/types/components/organism/time-picker/time-picker.d.ts +69 -0
  616. package/dist/types/components/other/attendance/attendance.d.ts +7 -0
  617. package/dist/types/components/other/data-table/table.d.ts +8 -0
  618. package/dist/types/components/other/default/default.d.ts +6 -0
  619. package/dist/types/components/other_deprecated/collapse/collapse.d.ts +12 -0
  620. package/dist/types/components/other_deprecated/collapse/group.d.ts +15 -0
  621. package/dist/types/components/other_deprecated/listbox/listbox-group.d.ts +7 -0
  622. package/dist/types/components/other_deprecated/listbox/listbox-item.d.ts +58 -0
  623. package/dist/types/components/other_deprecated/listbox/listbox.d.ts +152 -0
  624. package/dist/types/components/other_deprecated/listbox/types.d.ts +11 -0
  625. package/dist/types/components/other_deprecated/old-input/old-input.d.ts +80 -0
  626. package/dist/types/components/other_deprecated/old-input/types.d.ts +13 -0
  627. package/dist/types/components/other_deprecated/old-popover/old-popover-box.d.ts +26 -0
  628. package/dist/types/components/other_deprecated/old-popover/old-popover.d.ts +22 -0
  629. package/dist/types/components/other_deprecated/old-search/old-search.d.ts +32 -0
  630. package/dist/types/components/other_deprecated/old-tag/old-tag.d.ts +27 -0
  631. package/dist/types/components/other_deprecated/old-tag/types.d.ts +29 -0
  632. package/dist/types/components/other_deprecated/select/group.d.ts +6 -0
  633. package/dist/types/components/other_deprecated/select/option.d.ts +10 -0
  634. package/dist/types/components/other_deprecated/select/select-box.d.ts +15 -0
  635. package/dist/types/components/other_deprecated/select/select.d.ts +133 -0
  636. package/dist/types/components/other_deprecated/tabs/tab-pane.d.ts +19 -0
  637. package/dist/types/components/other_deprecated/tabs/tab.d.ts +36 -0
  638. package/dist/types/components/other_deprecated/tabs/tabs-content.d.ts +18 -0
  639. package/dist/types/components/other_deprecated/tabs/tabs.d.ts +112 -0
  640. package/dist/types/components/other_deprecated/tabs/types.d.ts +39 -0
  641. package/dist/types/components/other_deprecated/text/text.d.ts +11 -0
  642. package/dist/types/components/other_deprecated/treeview/treeview-group.d.ts +3 -0
  643. package/dist/types/components/other_deprecated/treeview/treeview-item.d.ts +119 -0
  644. package/dist/types/components/other_deprecated/treeview/treeview.d.ts +181 -0
  645. package/dist/types/components/other_deprecated/treeview/types.d.ts +11 -0
  646. package/dist/types/components.d.ts +3532 -0
  647. package/dist/types/decorators/id-decorator.d.ts +4 -0
  648. package/dist/types/decorators/index.d.ts +4 -0
  649. package/dist/types/decorators/is-load-decorator.d.ts +7 -0
  650. package/dist/types/decorators/json-parse-decarator.d.ts +4 -0
  651. package/dist/types/decorators/property-decorators.d.ts +4 -0
  652. package/dist/types/global/variables/colors.d.ts +217 -0
  653. package/dist/types/helper/color-helper.d.ts +16 -0
  654. package/dist/types/helper/datetime-helper.d.ts +3 -0
  655. package/dist/types/helper/generate.d.ts +22 -0
  656. package/dist/types/helper/index.d.ts +8 -0
  657. package/dist/types/helper/number-helper.d.ts +10 -0
  658. package/dist/types/helper/popover-helper.d.ts +31 -0
  659. package/dist/types/helper/string-helper.d.ts +27 -0
  660. package/dist/types/helper/tooltip-helper.d.ts +25 -0
  661. package/dist/types/helper/validators.d.ts +10 -0
  662. package/dist/types/index.d.ts +1 -0
  663. package/dist/types/models/abstract-classes/abstract-key-control.d.ts +31 -0
  664. package/dist/types/models/bcm-types.d.ts +21 -0
  665. package/dist/types/models/bcm.d.ts +456 -0
  666. package/dist/types/models/index.d.ts +2 -0
  667. package/dist/types/models/states/atoms/bcm-atoms-state.d.ts +34 -0
  668. package/dist/types/models/states/molecules/bcm-molecules-state.d.ts +90 -0
  669. package/dist/types/models/states/organisms/bcm-organisms-state.d.ts +78 -0
  670. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  671. package/dist/types/templates/button-template.d.ts +18 -0
  672. package/dist/types/templates/caption-template.d.ts +14 -0
  673. package/dist/types/templates/checkbox-group-template.d.ts +10 -0
  674. package/dist/types/templates/checkbox-template.d.ts +13 -0
  675. package/dist/types/templates/icon-template.d.ts +7 -0
  676. package/dist/types/templates/index.d.ts +13 -0
  677. package/dist/types/templates/info-footer-template.d.ts +10 -0
  678. package/dist/types/templates/input-template.d.ts +34 -0
  679. package/dist/types/templates/label-template.d.ts +12 -0
  680. package/dist/types/templates/list-item-template.d.ts +13 -0
  681. package/dist/types/templates/list-template.d.ts +29 -0
  682. package/dist/types/templates/slot-template.d.ts +8 -0
  683. package/dist/types/templates/step-template.d.ts +17 -0
  684. package/dist/types/templates/tag-template.d.ts +21 -0
  685. package/dist/types/types/index.d.ts +12 -0
  686. package/dist/types/utils/element-dragger.d.ts +146 -0
  687. package/dist/types/utils/floating-ui.d.ts +1 -0
  688. package/dist/types/utils/index.d.ts +5 -0
  689. package/dist/types/utils/popover-placement.d.ts +3 -0
  690. package/dist/types/utils/utils.d.ts +55 -0
  691. package/dist/types/utils/validation.d.ts +19 -0
  692. package/package.json +3 -3
  693. package/dist/bromcom-ui/p-0846712b.js +0 -5
  694. package/dist/bromcom-ui/p-0f4e34e9.js +0 -5
  695. package/dist/bromcom-ui/p-1b60d9d1.entry.js +0 -5
  696. package/dist/bromcom-ui/p-3c8d24f0.entry.js +0 -5
  697. package/dist/bromcom-ui/p-4ee3fbcf.entry.js +0 -5
  698. package/dist/bromcom-ui/p-517bca05.entry.js +0 -5
  699. package/dist/bromcom-ui/p-73cacbce.entry.js +0 -5
  700. package/dist/bromcom-ui/p-7a34d5a4.entry.js +0 -5
  701. package/dist/bromcom-ui/p-7de55a4c.entry.js +0 -5
  702. package/dist/bromcom-ui/p-8c4b256e.js +0 -5
  703. package/dist/bromcom-ui/p-8f394771.js +0 -5
  704. package/dist/bromcom-ui/p-b66edda8.js +0 -5
  705. package/dist/bromcom-ui/p-b970549a.entry.js +0 -5
  706. package/dist/bromcom-ui/p-bb698305.js +0 -5
  707. package/dist/bromcom-ui/p-d3d143b3.entry.js +0 -5
  708. package/dist/bromcom-ui/p-d9913ea9.js +0 -5
  709. package/dist/bromcom-ui/p-dbde0dc8.entry.js +0 -5
  710. package/dist/bromcom-ui/p-e8159c40.entry.js +0 -5
  711. package/dist/bromcom-ui/p-f7589887.entry.js +0 -5
  712. package/dist/bromcom-ui/p-f932d88a.entry.js +0 -5
@@ -0,0 +1,1999 @@
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 { Component, h, Host, Listen, Event, Prop, Element, State, Watch, Method } from '@stencil/core';
12
+ import { delay, getChilds } from '../../../utils/utils';
13
+ import cs from 'classnames';
14
+ import { IsLoad } from '../../../decorators/is-load-decorator';
15
+ /**
16
+ * @desc
17
+ * @param str
18
+ */
19
+ const lowercase = (str) => str.toLowerCase();
20
+ export class BcmListbox {
21
+ constructor() {
22
+ this.objectMapping = {
23
+ 'id': "id",
24
+ 'text': "text",
25
+ 'icon': "icon",
26
+ 'avatar': "avatar",
27
+ 'avatarName': "avatarName",
28
+ 'avatarImage': "avatarImage",
29
+ 'secondaryText': "secondaryText",
30
+ 'tooltipText': "tooltipText",
31
+ 'selected': "selected",
32
+ 'checked': "checked",
33
+ 'disabled': "disabled",
34
+ };
35
+ this.checkedObjectList = [];
36
+ this.cacheCheckedObjectList = [];
37
+ this.allChilds = [];
38
+ this.onlyChilds = [];
39
+ this.firstRun = true;
40
+ this.firstCheck = false;
41
+ this.onFocus = false;
42
+ this.isSetData = false;
43
+ this.isGroupArray = [];
44
+ this.intersection = [];
45
+ /**
46
+ * Component Properties
47
+ */
48
+ this.innerComponent = false;
49
+ this.checkboxes = false;
50
+ this.required = false;
51
+ this.value = null;
52
+ this.search = false;
53
+ this.infoFooter = false;
54
+ this.showIcon = false;
55
+ this.size = 'medium';
56
+ this.checkedList = [];
57
+ this.updateCheckedList = [];
58
+ this._items = [];
59
+ this.fullWidth = false;
60
+ this.searchFields = ['text', 'secondaryText', 'tooltipText'];
61
+ this.hidden = false;
62
+ this.returnField = "id";
63
+ this.searchSub = "items";
64
+ this.searchText = "";
65
+ this.treeview = false;
66
+ this.searchPlaceholder = "Search";
67
+ this.numberOfColumns = 1;
68
+ this.height = null;
69
+ this.maxHeight = null;
70
+ this.template = null;
71
+ this.highlight = false;
72
+ this.loading = true;
73
+ this.noCaption = false;
74
+ this.captionType = 'default';
75
+ this._internal_id = (Math.random() * 4).toString(16).replace('.', '');
76
+ /**
77
+ * Component States
78
+ */
79
+ this.searchResults = [];
80
+ this.totalSearch = 0;
81
+ this.showSearch = true;
82
+ this.empty = false;
83
+ this.runClearAndSelect = false;
84
+ this.total = 0;
85
+ this.items = [];
86
+ this.checklist = [];
87
+ this.sortedChecklist = [];
88
+ this.indeterminateState = 'uncheck';
89
+ this.checked = false;
90
+ this.checklistSorted = [];
91
+ }
92
+ async setClear() {
93
+ this.listboxChecklist.emit([]);
94
+ this.value = null;
95
+ this.selectedId = null;
96
+ this.listboxClearSelected.emit([]);
97
+ // this.checkedObjectList.forEach(item => {
98
+ // this.listboxUncheckedMethod(String(item[this.objectMapping['id']]), this._internal_id)
99
+ // });
100
+ let isItem = getChilds(this.el, 'bcm-listbox-item');
101
+ let elementStatuses = [];
102
+ if (isItem) {
103
+ isItem.map(element => {
104
+ elementStatuses.push(element.checked = false);
105
+ });
106
+ }
107
+ // console.log("uncheck")
108
+ await Promise.all(elementStatuses);
109
+ // if ( allStatuses ){
110
+ // console.log("bitti")
111
+ // }
112
+ this.checklist = [];
113
+ this.sortedChecklist = [];
114
+ this.checklistSorted = [];
115
+ this.checkedObjectList = [];
116
+ await delay(10);
117
+ return Promise.resolve();
118
+ }
119
+ async resetCaption() {
120
+ await delay(10);
121
+ this.caption = this.captionCache;
122
+ this.captionType = this.captionTypeCache;
123
+ this.captionError = null;
124
+ await delay(10);
125
+ return Promise.resolve();
126
+ }
127
+ connectedCallback() {
128
+ this.captionCache = this.caption;
129
+ this.captionTypeCache = this.captionType;
130
+ }
131
+ async getValue() {
132
+ if (this.checkboxes) {
133
+ return this.checkedObjectList;
134
+ }
135
+ else {
136
+ return this.value;
137
+ }
138
+ }
139
+ async getChecklist() {
140
+ return this.checkedObjectList;
141
+ }
142
+ async showSearchMethod(val = true) {
143
+ if (this.treeview == false && this.search == true) {
144
+ this.showSearch = val;
145
+ var search = null;
146
+ if (search = this.el.shadowRoot.getElementById("search")) {
147
+ if (val) {
148
+ search.classList.remove('hidden');
149
+ }
150
+ else {
151
+ search.classList.add('hidden');
152
+ }
153
+ }
154
+ }
155
+ }
156
+ async selected(id) {
157
+ this.selectedId = String(id);
158
+ if (this.treeview === true) {
159
+ setTimeout(async () => {
160
+ const bcmTreeview = this.el.shadowRoot.querySelector("bcm-treeview");
161
+ if (bcmTreeview) {
162
+ await bcmTreeview.selected(this.selectedId);
163
+ }
164
+ }, 100);
165
+ }
166
+ }
167
+ async clearAndSelectSearch(select = true) {
168
+ this.runClearAndSelect = true;
169
+ if (this.search == true) {
170
+ setTimeout(() => {
171
+ var searchInput = null;
172
+ searchInput = this.el.shadowRoot.querySelector("bcm-old-search");
173
+ if (searchInput) {
174
+ searchInput.setClear();
175
+ if (select == true) {
176
+ searchInput.select();
177
+ }
178
+ }
179
+ }, 100);
180
+ }
181
+ }
182
+ async addChecked(items) {
183
+ await this.setClear();
184
+ if (items) {
185
+ if (typeof items != 'string') {
186
+ await delay(50);
187
+ if (sessionStorage.getItem(this._internal_id + "-config")) {
188
+ this.config(JSON.parse(sessionStorage.getItem(this._internal_id + "-config")));
189
+ }
190
+ this.checkedList = items;
191
+ this.checkedList.forEach((item) => {
192
+ this.handleListboxChecked({ detail: String(item) }, this._internal_id);
193
+ });
194
+ this.updateCheckedList = [];
195
+ if (this.treeview === true) {
196
+ setTimeout(async () => {
197
+ await customElements.whenDefined("bcm-treeview");
198
+ const bcmTreeview = this.el.shadowRoot.querySelector("bcm-treeview");
199
+ if (bcmTreeview) {
200
+ await bcmTreeview.addChecked(items);
201
+ }
202
+ }, 50);
203
+ }
204
+ }
205
+ }
206
+ }
207
+ async updateChecked(items) {
208
+ this.setClear();
209
+ this.checkedList = [];
210
+ this.updateCheckedList = items;
211
+ this.updateCheckedList.forEach((item) => {
212
+ this.handleListboxChecked({ detail: item });
213
+ });
214
+ setTimeout(async () => {
215
+ if (this.treeview === true) {
216
+ await customElements.whenDefined("bcm-treeview");
217
+ const bcmTreeview = this.el.shadowRoot.querySelector("bcm-treeview");
218
+ if (bcmTreeview) {
219
+ await bcmTreeview.updateChecked(items);
220
+ }
221
+ }
222
+ }, 100);
223
+ }
224
+ async config(_config) {
225
+ if (_config['treeview'] && _config['treeview'] === true) {
226
+ typeof _config['treeview'] == 'boolean'
227
+ ? this.treeview = _config['treeview']
228
+ : this.treeview = false;
229
+ }
230
+ setTimeout(async () => {
231
+ if (this.treeview === true) {
232
+ await customElements.whenDefined("bcm-treeview");
233
+ const bcmTreeview = this.el.shadowRoot.querySelector("bcm-treeview");
234
+ if (bcmTreeview) {
235
+ await bcmTreeview.config(_config);
236
+ if (this.selectedId) {
237
+ await bcmTreeview.selected(this.selectedId);
238
+ }
239
+ }
240
+ }
241
+ }, 300);
242
+ if (_config['searchFields']) {
243
+ if (Array.isArray(_config['searchFields'])) {
244
+ this.searchFields = _config['searchFields'];
245
+ }
246
+ }
247
+ if (_config['searchPlaceholder']) {
248
+ typeof _config['searchPlaceholder'] == 'string'
249
+ ? this.searchPlaceholder = _config['searchPlaceholder']
250
+ : this.searchPlaceholder = null;
251
+ }
252
+ if (_config['maxHeight']) {
253
+ typeof _config['maxHeight'] == 'string'
254
+ ? this.maxHeight = _config['maxHeight']
255
+ : this.maxHeight = "100%";
256
+ }
257
+ if (_config['height']) {
258
+ typeof _config['height'] == 'string'
259
+ ? this.height = _config['height']
260
+ : this.height = "100%";
261
+ }
262
+ if (_config['template']) {
263
+ typeof _config['template'] == 'string'
264
+ ? this.template = _config['template']
265
+ : this.template = null;
266
+ }
267
+ if (_config['searchable']) {
268
+ typeof _config['searchable'] == 'boolean'
269
+ ? this.search = _config['searchable']
270
+ : this.search = false;
271
+ }
272
+ if (_config['highlight']) {
273
+ typeof _config['highlight'] == 'boolean'
274
+ ? this.highlight = _config['highlight']
275
+ : this.highlight = false;
276
+ }
277
+ if (_config['fullWidth']) {
278
+ typeof _config['fullWidth'] == 'boolean'
279
+ ? this.fullWidth = _config['fullWidth']
280
+ : this.fullWidth = false;
281
+ }
282
+ if (_config['numberOfColumns']) {
283
+ typeof _config['numberOfColumns'] == 'number'
284
+ ? this.numberOfColumns = _config['numberOfColumns']
285
+ : this.numberOfColumns = 1;
286
+ }
287
+ if (_config['infoFooter']) {
288
+ typeof _config['infoFooter'] == 'boolean'
289
+ ? this.infoFooter = _config['infoFooter']
290
+ : this.infoFooter = false;
291
+ }
292
+ if (_config['checkable']) {
293
+ typeof _config['checkable'] == 'boolean'
294
+ ? this.checkboxes = _config['checkable']
295
+ : this.checkboxes = false;
296
+ }
297
+ if (_config['showIcon']) {
298
+ typeof _config['showIcon'] == 'boolean'
299
+ ? this.showIcon = _config['showIcon']
300
+ : this.showIcon = false;
301
+ }
302
+ if (_config['size']) {
303
+ (["small", "medium", "large"].indexOf(_config['size']) >= 0)
304
+ ? this.size = _config['size']
305
+ : this.size = 'medium';
306
+ }
307
+ this.searchSub = this.objectMapping['items'];
308
+ if (_config['mapping']) {
309
+ if (_config['mapping']['id']) {
310
+ this.objectMapping['id'] = String(_config['mapping']['id']);
311
+ this.returnField = this.objectMapping['id'];
312
+ }
313
+ if (_config['mapping']['text']) {
314
+ this.objectMapping['text'] = _config['mapping']['text'];
315
+ }
316
+ if (_config['mapping']['icon']) {
317
+ this.objectMapping['icon'] = _config['mapping']['icon'];
318
+ }
319
+ if (_config['mapping']['avatar']) {
320
+ this.objectMapping['avatar'] = _config['mapping']['avatar'];
321
+ }
322
+ if (_config['mapping']['avatarName']) {
323
+ this.objectMapping['avatarName'] = _config['mapping']['avatarName'];
324
+ }
325
+ if (_config['mapping']['avatarImage']) {
326
+ this.objectMapping['avatarImage'] = _config['mapping']['avatarImage'];
327
+ }
328
+ if (_config['mapping']['secondaryText']) {
329
+ this.objectMapping['secondaryText'] = _config['mapping']['secondaryText'];
330
+ }
331
+ if (_config['mapping']['tooltipText']) {
332
+ this.objectMapping['tooltipText'] = _config['mapping']['tooltipText'];
333
+ }
334
+ if (_config['mapping']['disabled']) {
335
+ this.objectMapping['disabled'] = _config['mapping']['disabled'];
336
+ }
337
+ if (_config['mapping']['checked']) {
338
+ this.objectMapping['checked'] = _config['mapping']['checked'];
339
+ }
340
+ if (_config['mapping']['selected']) {
341
+ this.objectMapping['selected'] = _config['mapping']['selected'];
342
+ }
343
+ if (_config['mapping']['items']) {
344
+ this.objectMapping['items'] = _config['mapping']['items'];
345
+ this.searchSub = this.objectMapping['items'];
346
+ }
347
+ // if ( this.treeview ) {
348
+ // }else{
349
+ // this.searchSub = this.objectMapping['items']
350
+ // }
351
+ }
352
+ sessionStorage.setItem(this._internal_id + "-config", JSON.stringify(_config));
353
+ // forceUpdate(this.el)
354
+ return Promise.resolve(true);
355
+ }
356
+ async setData(_data = []) {
357
+ this.clearAndSelectSearch(false);
358
+ this.isLoading(true);
359
+ this._items = _data;
360
+ this.searchData = JSON.parse(_data);
361
+ this.isSetData = true;
362
+ // this.isEmpty(false)
363
+ setTimeout(async () => {
364
+ if (this.treeview === true) {
365
+ const bcmTreeview = this.el.shadowRoot.querySelector("bcm-treeview");
366
+ if (bcmTreeview) {
367
+ await bcmTreeview.setData(_data);
368
+ if (this.searchData.length > 0) {
369
+ this.isEmpty(false);
370
+ this.isLoading(false);
371
+ }
372
+ }
373
+ }
374
+ }, 100);
375
+ }
376
+ // componentDidLoad(){
377
+ // console.log("kilitle")
378
+ // setTimeout(() => {
379
+ // if(this.isSetData) {
380
+ // this.isLoading(true)
381
+ // this.isEmpty(false)
382
+ // }else{
383
+ // this.isLoading(false)
384
+ // this.isEmpty(true)
385
+ // }
386
+ // }, 100);
387
+ // }
388
+ componentWillRender() {
389
+ if (this.isSetData) {
390
+ this.onlyChilds = this.getAllGroup(this.el, true);
391
+ this.allChilds = this.getAllGroup();
392
+ if (this.onlyChilds.length != this.total) {
393
+ this.total = this.onlyChilds.length;
394
+ }
395
+ if (this.checkboxes === true) {
396
+ this.setIndeterminateState();
397
+ if (this.checklistSorted.length > 0) {
398
+ this.checkedObjectList = [];
399
+ this.getAllGroup(this.el).forEach(element => {
400
+ element.checked == true && (this.firstCheck = true,
401
+ this.checkedObjectList.indexOf(element.itemObject) == -1 && (this.checkedObjectList.push(element.itemObject)));
402
+ });
403
+ if (JSON.stringify(this.cacheCheckedObjectList) !== JSON.stringify(this.checkedObjectList)) {
404
+ this.listboxChecklist.emit(this.checkedObjectList);
405
+ this.cacheCheckedObjectList = this.checkedObjectList;
406
+ this.value = this.checkedObjectList;
407
+ }
408
+ }
409
+ else {
410
+ if (this.firstCheck) {
411
+ this.listboxChecklist.emit([]);
412
+ this.cacheCheckedObjectList = [];
413
+ if (this.value != null) {
414
+ this.value = null;
415
+ }
416
+ }
417
+ }
418
+ }
419
+ }
420
+ }
421
+ componentDidRender() {
422
+ // this.isEmpty(true)
423
+ // this.isLoading(true)
424
+ // if(this.total > 0) {
425
+ // this.isLoading(false)
426
+ // this.isEmpty(false)
427
+ // }
428
+ // this.isEmpty(true)
429
+ if (this.isSetData) {
430
+ if (this.total > 0) {
431
+ this.isEmpty(false);
432
+ this.isLoading(false);
433
+ }
434
+ else {
435
+ this.isEmpty(true);
436
+ }
437
+ }
438
+ }
439
+ /**
440
+ * @desc
441
+ * @returns {void}
442
+ */
443
+ setIndeterminateState() {
444
+ let state = 'uncheck';
445
+ let allChecked = true;
446
+ let allUnchecked = true;
447
+ this.getAllGroup(this.el, true).map((item) => {
448
+ item.checked && (allUnchecked = false);
449
+ !item.checked && (allChecked = false);
450
+ });
451
+ !allChecked && !allUnchecked
452
+ ? state = 'indeterminate'
453
+ : allChecked
454
+ ? state = 'determinate'
455
+ : state = 'uncheck';
456
+ this.indeterminateState = state;
457
+ this.checked = state == 'determinate' ? true : false;
458
+ // this.listboxChecklist.emit(this.sortedChecklist)
459
+ }
460
+ getAllGroup(element = this.el, onlyItem = false) {
461
+ let returnAllItems = [];
462
+ let isGroup = getChilds(element, 'bcm-listbox-group');
463
+ let isItem = getChilds(element, 'bcm-listbox-item');
464
+ if (isGroup.length > 0) {
465
+ isGroup.forEach(group => {
466
+ if (this.isGroupArray.indexOf(Number(group.id)) === -1) {
467
+ this.isGroupArray.push(Number(group.id));
468
+ }
469
+ if (onlyItem == false) {
470
+ returnAllItems = [...returnAllItems,
471
+ group
472
+ ];
473
+ }
474
+ getChilds(group, 'bcm-listbox-item').forEach(items => {
475
+ if (!(returnAllItems.indexOf(items) >= 0)) {
476
+ returnAllItems = [...returnAllItems,
477
+ items
478
+ ];
479
+ }
480
+ });
481
+ });
482
+ }
483
+ if (isItem.length > 0) {
484
+ isItem.forEach(items => {
485
+ if (!(returnAllItems.indexOf(items) >= 0)) {
486
+ returnAllItems = [...returnAllItems,
487
+ items
488
+ ];
489
+ }
490
+ });
491
+ }
492
+ return returnAllItems;
493
+ }
494
+ getAllChilds(element = this.el, type = null) {
495
+ let returnAllItems = [];
496
+ let oldItems = [];
497
+ if (!this._items || type === "slot") {
498
+ getChilds(element, 'bcm-listbox-item').forEach(items => {
499
+ returnAllItems = [...returnAllItems,
500
+ items
501
+ ];
502
+ });
503
+ }
504
+ else if (this._items && this._items.length > 0) {
505
+ oldItems = JSON.parse(this._items);
506
+ oldItems.map((item) => (((item.type === 'group') ? (item.items.map((item) => ((returnAllItems = [...returnAllItems, item])))) :
507
+ (returnAllItems = [...returnAllItems, item]))));
508
+ }
509
+ return returnAllItems;
510
+ }
511
+ /**
512
+ * @desc
513
+ */
514
+ handleCheckList(process = 'add', checkId) {
515
+ checkId = String(checkId);
516
+ if (this.checkboxes) {
517
+ if (this.items && this.items.find(e => e[this.objectMapping['id']] == checkId)) {
518
+ // checkId = Number(checkId)
519
+ switch (process) {
520
+ case 'add':
521
+ if (this.checklist.length > 0) {
522
+ if (!this.checklist.includes(checkId)) {
523
+ this.checklist = [...this.checklist, checkId];
524
+ }
525
+ }
526
+ else {
527
+ this.checklist = [checkId];
528
+ }
529
+ break;
530
+ case 'remove':
531
+ this.checklist = this.checklist.filter(item => item !== checkId);
532
+ break;
533
+ default:
534
+ break;
535
+ }
536
+ let sorted = this.checklist.sort(function (a, b) { return a - b; });
537
+ this.sortedChecklist = this.checklist;
538
+ this.checklistSorted = sorted;
539
+ // forceUpdate(this.el)
540
+ }
541
+ }
542
+ }
543
+ handleIndeterminateClick() {
544
+ let state = 'uncheck';
545
+ let allChecked = true;
546
+ let allUnchecked = true;
547
+ let visibleItem = [];
548
+ this.getAllGroup(this.el, true).map((item) => {
549
+ if (item.hidden === false) {
550
+ visibleItem.push(item);
551
+ item.checked && (allUnchecked = false);
552
+ !item.checked && (allChecked = false);
553
+ }
554
+ });
555
+ !allChecked && !allUnchecked
556
+ ? state = 'indeterminate'
557
+ : allChecked
558
+ ? state = 'determinate'
559
+ : state = 'uncheck';
560
+ visibleItem.map((item) => {
561
+ if (state !== 'uncheck') {
562
+ item.checked = false;
563
+ this.handleCheckList('remove', String(item.id));
564
+ }
565
+ else {
566
+ item.checked = true;
567
+ this.handleCheckList('add', String(item.id));
568
+ }
569
+ });
570
+ this.setIndeterminateState();
571
+ }
572
+ handleCheckboxClick(e) {
573
+ e.preventDefault();
574
+ }
575
+ /**
576
+ * @desc
577
+ * @param item
578
+ */
579
+ itemRenderer(item) {
580
+ if (item[this.objectMapping['id']] && String(this.selectedId) == String(item[this.objectMapping['id']])) {
581
+ this.listboxItemSelected.emit(item);
582
+ }
583
+ // if(item[this.objectMapping['selected']] && item[this.objectMapping['selected']] === true){
584
+ // this.listboxItemSelected.emit(item)
585
+ // }
586
+ // var checkedListCache = this.checkedList;
587
+ // if(checkedListCache && checkedListCache.find(e => e == item[this.objectMapping['id']])){
588
+ // this.handleListboxChecked({detail: item[this.objectMapping['id']]})
589
+ // }
590
+ // const index = checkedListCache.indexOf(item[this.objectMapping['id']]);
591
+ // if (index > -1) {
592
+ // checkedListCache.splice(index, 1);
593
+ // }
594
+ // if(this.updateCheckedList.length > 0 ){
595
+ // if( this.updateCheckedList.find(e => e == item[this.objectMapping['id']]) ){
596
+ // const index = this.updateCheckedList.indexOf(item[this.objectMapping['id']]);
597
+ // if (index > -1) {
598
+ // this.updateCheckedList.splice(index, 1);
599
+ // }
600
+ // this.listboxChecked.emit(item[this.objectMapping['id']])
601
+ // }
602
+ // }
603
+ return (h("bcm-listbox-item", Object.assign({ _internal_id: this._internal_id, id: String(item[this.objectMapping['id']]), text: item[this.objectMapping['text']] }, (item[this.objectMapping['icon']] && { icon: item[this.objectMapping['icon']] }), (item[this.objectMapping['avatar']] && { avatar: item[this.objectMapping['avatar']] }), (item[this.objectMapping['avatarName']] && { avatarName: item[this.objectMapping['avatarName']] }), (item[this.objectMapping['avatarImage']] && { avatarImage: item[this.objectMapping['avatarImage']] }), (item[this.objectMapping['secondaryText']] && { secondaryText: item[this.objectMapping['secondaryText']] }), (item[this.objectMapping['tooltipText']] && { tooltipText: item[this.objectMapping['tooltipText']] }), (Boolean(item[this.objectMapping['checked']]) === Boolean(true) && { checked: Boolean(item[this.objectMapping['checked']]) }), (item[this.objectMapping['disabled']] === true && { disabled: true }), (Boolean(item[this.objectMapping['selected']]) === Boolean(true) && this.checkboxes == false && { selected: Boolean(item[this.objectMapping['selected']]) }), (this.template && { template: this.template }), (this.checkboxes && { checkboxes: true }), (this.size && { size: this.size }), { itemObject: item, objectMapping: this.objectMapping })));
604
+ }
605
+ /**
606
+ * @desc
607
+ * @param group
608
+ */
609
+ recursiveGroupRenderer(group) {
610
+ return (h("bcm-listbox-group", { id: group[this.objectMapping['id']], text: group[this.objectMapping['text']] }, group.items.map((item) => ((item.type === 'group' ? this.recursiveGroupRenderer(item) : this.itemRenderer(item))))));
611
+ }
612
+ async searchResultMethod(items = []) {
613
+ if (this.treeview == true) {
614
+ const bcmtreeview = this.el.shadowRoot.querySelector("bcm-treeview");
615
+ // await bcmListbox.config(this._config)
616
+ if (bcmtreeview) {
617
+ bcmtreeview.searchResultMethod({ detail: (items.length > 0 ? items : true) });
618
+ }
619
+ }
620
+ else {
621
+ this.listenSearchResult({ detail: (items.length > 0 ? items : true), isEvent: true });
622
+ }
623
+ // return true
624
+ }
625
+ handleListboxSelected(event) {
626
+ this.listboxItemSelected.emit(event.detail);
627
+ }
628
+ /**
629
+ * @desc
630
+ */
631
+ // @Listen('bcm-treeview-checklist')
632
+ // handleListboxCheckedList(e) {
633
+ // this.listboxChecklist.emit(e.detail)
634
+ // }
635
+ isLoading(val) {
636
+ var listContainer = this.el.shadowRoot.getElementById("bcm-listbox-list");
637
+ var loading = this.el.shadowRoot.getElementById("loading");
638
+ var searchInput = this.el.shadowRoot.querySelector("bcm-old-search");
639
+ // var listcontainer = this.el.shadowRoot.getElementById("list-container")
640
+ if (val) {
641
+ if (searchInput) {
642
+ searchInput.disabled = true;
643
+ }
644
+ listContainer && listContainer.classList.add('loading');
645
+ loading && loading.classList.add('show');
646
+ // listcontainer && listcontainer.classList.add('hidden')
647
+ }
648
+ else {
649
+ if (searchInput) {
650
+ searchInput.disabled = false;
651
+ }
652
+ listContainer && listContainer.classList.remove('loading');
653
+ loading && loading.classList.remove('show');
654
+ // listcontainer && listcontainer.classList.remove('hidden')
655
+ }
656
+ }
657
+ isEmpty(val) {
658
+ var empty = this.el.shadowRoot.getElementById("empty");
659
+ var listcontainer = this.el.shadowRoot.getElementById("list-container");
660
+ var checkall = this.el.shadowRoot.getElementById("checkall");
661
+ if (val) {
662
+ empty && empty.classList.add('show');
663
+ listcontainer && listcontainer.classList.add('hidden');
664
+ checkall && checkall.classList.add('hidden');
665
+ }
666
+ else {
667
+ empty && empty.classList.remove('show');
668
+ listcontainer && listcontainer.classList.remove('hidden');
669
+ checkall && checkall.classList.remove('hidden');
670
+ }
671
+ }
672
+ isSearchCount(val = false) {
673
+ if (this.infoFooter) {
674
+ var inSearch = this.el.shadowRoot.getElementById("in-search");
675
+ var inTotal = this.el.shadowRoot.getElementById("in-total");
676
+ if (val !== false && val >= 0 && val != null && inSearch && inTotal) {
677
+ inSearch.innerHTML = val;
678
+ inTotal.style.display = "none";
679
+ }
680
+ else {
681
+ inTotal.style.display = "inline";
682
+ inSearch.innerHTML = "";
683
+ }
684
+ }
685
+ }
686
+ listenSearchResult(event) {
687
+ var path = event.path || (event.composedPath && event.composedPath());
688
+ if (event.isEvent == undefined) {
689
+ if (path && path.filter((input) => input['_internal_id'] == this._internal_id)[0] != undefined) {
690
+ var searchValue = '';
691
+ if (this.treeview == false) {
692
+ // var checkall = null
693
+ // this.checkboxes && (checkall = this.el.shadowRoot.getElementById("checkall"))
694
+ var totalSearch = event.detail.length;
695
+ // this.empty = false
696
+ this.isEmpty(false);
697
+ this.intersection = [];
698
+ if (event.detail.length > 0) {
699
+ if (event.detail[0] == -1) {
700
+ totalSearch = 0;
701
+ this.empty = true;
702
+ this.isEmpty(true);
703
+ }
704
+ if (this.allChilds.length > 0) {
705
+ // this.checkboxes && ( checkall && checkall.classList.add('hidden') )
706
+ this.allChilds.map((item) => {
707
+ if (this.highlight) {
708
+ event.target.addEventListener('bcm-on-search-value', async (e) => {
709
+ var inputText = item.shadowRoot.getElementById("text");
710
+ if (inputText) {
711
+ searchValue = await e.detail;
712
+ inputText = (inputText === null || inputText === void 0 ? void 0 : inputText.textContent) || (inputText === null || inputText === void 0 ? void 0 : inputText.innerText) || "";
713
+ if (searchValue) {
714
+ var cacheInputText = lowercase(inputText);
715
+ var cacheSearchValue = lowercase(searchValue);
716
+ var index = cacheInputText.indexOf(cacheSearchValue);
717
+ if (index >= 0) {
718
+ inputText = inputText.substring(0, index) + "<span class='highlight'>" + inputText.substring(index, index + searchValue.length) + "</span>" + inputText.substring(index + searchValue.length);
719
+ }
720
+ }
721
+ item.shadowRoot.getElementById("text").innerHTML = inputText;
722
+ }
723
+ });
724
+ }
725
+ item.hidden = true;
726
+ var _ids = String(item.id);
727
+ if (event.detail.indexOf(_ids) >= 0) {
728
+ item.hidden = false;
729
+ }
730
+ else {
731
+ item.hidden = true;
732
+ }
733
+ });
734
+ }
735
+ this.intersection = event.detail[0] == -1 ? [0] : event.detail.filter(x => this.isGroupArray.includes(x));
736
+ }
737
+ else {
738
+ if (this.allChilds.length > 0) {
739
+ this.allChilds.map((item) => {
740
+ item.hidden = false;
741
+ });
742
+ // this.checkboxes && ( checkall && checkall.classList.remove('hidden') )
743
+ }
744
+ // this.isEmpty(true)
745
+ }
746
+ if (this.search || this.checkboxes) {
747
+ setTimeout(() => {
748
+ if (totalSearch >= 0) {
749
+ var totals = totalSearch;
750
+ this.isSearchCount(totals);
751
+ }
752
+ else {
753
+ this.isSearchCount(0);
754
+ }
755
+ if (event.detail[0] === -1) {
756
+ this.isSearchCount(0);
757
+ }
758
+ if (event.detail === true) {
759
+ this.isSearchCount();
760
+ }
761
+ }, 100);
762
+ }
763
+ if (event.detail === true) {
764
+ this.isEmpty(false);
765
+ }
766
+ if (this.runClearAndSelect) {
767
+ this.runClearAndSelect = false;
768
+ this.isSearchCount(true);
769
+ }
770
+ }
771
+ }
772
+ }
773
+ }
774
+ /**
775
+ * @desc
776
+ * @param newValue
777
+ * @returns {void}
778
+ */
779
+ parseItems(newValue) {
780
+ if (newValue) {
781
+ typeof newValue == 'string'
782
+ ? this.items = JSON.parse(newValue)
783
+ : this.items = newValue;
784
+ }
785
+ this.handleChildProcess();
786
+ }
787
+ handleChange(newValue) {
788
+ this.change.emit(newValue);
789
+ this.listboxChange.emit(newValue);
790
+ }
791
+ handleChildProcess() {
792
+ setTimeout(() => {
793
+ this.onlyChilds = this.getAllGroup(this.el, true);
794
+ this.total = this.onlyChilds.length;
795
+ // console.log(this.total)
796
+ // this.allChilds = this.getAllChilds()
797
+ // this.total = this.allChilds.filter((v, i, a) => a.indexOf(v) === i).length
798
+ if (this.total > 0) {
799
+ // setTimeout(() => {
800
+ this.isLoading(false);
801
+ // }, 100);
802
+ this.isEmpty(false);
803
+ }
804
+ else {
805
+ // setTimeout(() => {
806
+ this.isLoading(false);
807
+ this.isEmpty(true);
808
+ // }, 100);
809
+ }
810
+ }, 100);
811
+ }
812
+ /**
813
+ * @desc
814
+ */
815
+ handleListboxClearSelected(event) {
816
+ var path = event.path || (event.composedPath && event.composedPath());
817
+ if (this.checkboxes == false && path && path.filter((input) => input['_internal_id'] == this._internal_id)[0] != undefined) {
818
+ this.value = event.detail;
819
+ this.selectedId = String(event.detail[this.objectMapping['id']]);
820
+ this.listboxClearSelected.emit(event.detail);
821
+ }
822
+ }
823
+ /**
824
+ * @desc
825
+ */
826
+ handleListboxChecked(event, _internal_id = this._internal_id) {
827
+ var path = event.path || (event.composedPath && event.composedPath());
828
+ if ((path && path.filter((input) => input['_internal_id'] == this._internal_id)[0] != undefined) || _internal_id == this._internal_id) {
829
+ this.listboxSendCheck.emit(event.detail);
830
+ this.handleCheckList('add', event.detail);
831
+ this.setIndeterminateState();
832
+ }
833
+ }
834
+ /**
835
+ * @desc
836
+ */
837
+ handleListboxUnchecked(event, _internal_id = this._internal_id) {
838
+ var path = event.path || (event.composedPath && event.composedPath());
839
+ if ((path && path.filter((input) => input['_internal_id'] == this._internal_id)[0] != undefined) || _internal_id == this._internal_id) {
840
+ this.listboxSendUncheck.emit(event.detail);
841
+ this.handleCheckList('remove', event.detail);
842
+ this.setIndeterminateState();
843
+ }
844
+ }
845
+ async listboxUncheckedMethod(item, internal_id = this._internal_id) {
846
+ if (this.treeview) {
847
+ await customElements.whenDefined("bcm-treeview");
848
+ const bcmTreeview = this.el.shadowRoot.querySelector("bcm-treeview");
849
+ if (bcmTreeview) {
850
+ await bcmTreeview.treeviewUncheckedMethod(item);
851
+ }
852
+ }
853
+ else {
854
+ this.handleListboxUnchecked({ "detail": item }, internal_id);
855
+ }
856
+ }
857
+ handleFocus(focusEvent = false) {
858
+ this.onFocus = focusEvent;
859
+ }
860
+ render() {
861
+ const { innerComponent, label, required, treeview, searchText, checkboxes, search, size, fullWidth, total, indeterminateState, checked, checklist, searchData, searchFields, _flex, returnField, searchSub, infoFooter, showSearch, noCaption, caption, captionError, captionType } = this;
862
+ const bcmListbox = cs('bcm-listbox', {
863
+ 'error': captionType == 'error' ? true : false,
864
+ 'full-width': fullWidth,
865
+ 'flex': _flex
866
+ });
867
+ const classes = cs('listbox-item', {
868
+ 'hidden': this.totalSearch > 0
869
+ });
870
+ const classesContainer = cs('listbox-item-container');
871
+ const textContent = cs('listbox-item-container-text-content', size, {
872
+ 'size-2': size === 'small' || size === 'medium',
873
+ 'size-3': size === 'large',
874
+ });
875
+ const listContainer = cs('list-container', {
876
+ 'column-1': this.numberOfColumns <= 1,
877
+ 'column-2': this.numberOfColumns == 2,
878
+ 'column-3': this.numberOfColumns >= 3,
879
+ });
880
+ const listContainerStyle = {
881
+ 'grid-template-columns': this.numberOfColumns <= 1 ? '1fr' : 'repeat(' + this.numberOfColumns + ', ' + (210 - (this.numberOfColumns * 10)) + 'px)'
882
+ };
883
+ const hostClasses = cs(this.hidden ? 'hidden' : null,
884
+ // this.totalSearch > 0 ? 'hidden' : null,
885
+ {
886
+ 'flex': _flex,
887
+ 'full-width': fullWidth
888
+ });
889
+ var customStyles = {
890
+ 'max-height': this.maxHeight
891
+ };
892
+ const customStylesList = {
893
+ 'min-height': this.height ? "inherit" : this.maxHeight ? "auto" : "200px"
894
+ };
895
+ if (this.height) {
896
+ customStyles = Object.assign(Object.assign({}, customStyles), { 'height': this.height });
897
+ }
898
+ const captionClasses = cs('size-1', 'input-caption', 'caption-' + captionType);
899
+ return (h(Host, { class: hostClasses, style: customStyles, "bcm-internal-id": this._internal_id },
900
+ !innerComponent && label && h("div", null,
901
+ h("bcm-label", { tooltip: this.tooltip, type: captionType, value: label, required: required })),
902
+ treeview === true && (h("bcm-treeview", { _internal_id: this._internal_id })),
903
+ treeview == false && (h("div", { class: bcmListbox, style: customStyles },
904
+ search && (h("div", { class: "search", id: "search", style: { 'display': String(showSearch) == 'false' ? 'none' : 'block' } },
905
+ h("bcm-old-search", { _internal_id: this._internal_id, searchPlaceholder: this.searchPlaceholder, searchValue: searchText, "on-bcm-focus": () => this.handleFocus(true), "on-bcm-blur": () => this.handleFocus(false), data: searchData, returnField: returnField, searchFields: searchFields, searchSub: searchSub, clearable: true }),
906
+ h("bcm-divider", null))),
907
+ h("div", { id: "bcm-listbox-list", class: "bcm-listbox-list loading", style: customStylesList },
908
+ checkboxes && (h("div", { class: classes, id: "checkall" },
909
+ h("div", { class: classesContainer, onClick: () => this.handleIndeterminateClick() },
910
+ h("div", { class: "check-content" }, indeterminateState == 'indeterminate' && (h("span", { class: "indeterminate" })) || (h("bcm-checkbox-lite", { onClick: (e) => this.handleCheckboxClick(e), checked: checked, "no-caption": true }))),
911
+ h("div", { class: textContent }, "Select All")),
912
+ h("div", { class: "divider" },
913
+ h("bcm-divider", null)))),
914
+ // this.empty == false && (
915
+ h("div", { id: "list-container", class: listContainer, style: listContainerStyle }, this.items.length !== 0 && this.items.map((item) => ((item.type === 'group' ? this.recursiveGroupRenderer(item) : this.itemRenderer(item)))))
916
+ // )
917
+ ,
918
+ // this.loading && (
919
+ h("div", { id: "loading", class: "loading show" },
920
+ h("bcm-icon", { class: "prefix", icon: "far fa-spinner-third fa-spin" }))
921
+ // )
922
+ ,
923
+ // ( this.empty || total == 0 ) && (
924
+ h("div", { id: "empty", class: "empty" },
925
+ h("bcm-empty", null, "No Data"))
926
+ // )
927
+ ),
928
+ infoFooter == true && (h("div", { class: "bcm-listbox-footer" },
929
+ h("bcm-text", { scale: "size-1", color: "grey-8" },
930
+ checklist.length > 0 && (' ( ' + checklist.length + ' selected ) '),
931
+ "Total ",
932
+ h("span", { id: "in-search" }),
933
+ " ",
934
+ h("span", { id: "in-total" }, total),
935
+ " items found."))))),
936
+ !noCaption && (h("div", { class: "caption-area" }, captionType == "error"
937
+ ? h("span", { class: captionClasses },
938
+ " ",
939
+ captionError,
940
+ " ")
941
+ : caption && h("span", { class: captionClasses },
942
+ " ",
943
+ caption,
944
+ " ")))));
945
+ }
946
+ static get is() { return "bcm-listbox"; }
947
+ static get encapsulation() { return "shadow"; }
948
+ static get originalStyleUrls() { return {
949
+ "$": ["listbox.scss"]
950
+ }; }
951
+ static get styleUrls() { return {
952
+ "$": ["listbox.css"]
953
+ }; }
954
+ static get properties() { return {
955
+ "innerComponent": {
956
+ "type": "boolean",
957
+ "mutable": true,
958
+ "complexType": {
959
+ "original": "boolean",
960
+ "resolved": "boolean",
961
+ "references": {}
962
+ },
963
+ "required": false,
964
+ "optional": false,
965
+ "docs": {
966
+ "tags": [],
967
+ "text": "Component Properties"
968
+ },
969
+ "attribute": "inner-component",
970
+ "reflect": false,
971
+ "defaultValue": "false"
972
+ },
973
+ "checkboxes": {
974
+ "type": "boolean",
975
+ "mutable": true,
976
+ "complexType": {
977
+ "original": "boolean",
978
+ "resolved": "boolean",
979
+ "references": {}
980
+ },
981
+ "required": false,
982
+ "optional": false,
983
+ "docs": {
984
+ "tags": [],
985
+ "text": ""
986
+ },
987
+ "attribute": "checkboxes",
988
+ "reflect": false,
989
+ "defaultValue": "false"
990
+ },
991
+ "label": {
992
+ "type": "string",
993
+ "mutable": true,
994
+ "complexType": {
995
+ "original": "string",
996
+ "resolved": "string",
997
+ "references": {}
998
+ },
999
+ "required": false,
1000
+ "optional": false,
1001
+ "docs": {
1002
+ "tags": [],
1003
+ "text": ""
1004
+ },
1005
+ "attribute": "label",
1006
+ "reflect": false
1007
+ },
1008
+ "required": {
1009
+ "type": "boolean",
1010
+ "mutable": true,
1011
+ "complexType": {
1012
+ "original": "boolean",
1013
+ "resolved": "boolean",
1014
+ "references": {}
1015
+ },
1016
+ "required": false,
1017
+ "optional": false,
1018
+ "docs": {
1019
+ "tags": [],
1020
+ "text": ""
1021
+ },
1022
+ "attribute": "required",
1023
+ "reflect": false,
1024
+ "defaultValue": "false"
1025
+ },
1026
+ "value": {
1027
+ "type": "any",
1028
+ "mutable": true,
1029
+ "complexType": {
1030
+ "original": "any",
1031
+ "resolved": "any",
1032
+ "references": {}
1033
+ },
1034
+ "required": false,
1035
+ "optional": false,
1036
+ "docs": {
1037
+ "tags": [],
1038
+ "text": ""
1039
+ },
1040
+ "attribute": "value",
1041
+ "reflect": false,
1042
+ "defaultValue": "null"
1043
+ },
1044
+ "search": {
1045
+ "type": "boolean",
1046
+ "mutable": true,
1047
+ "complexType": {
1048
+ "original": "boolean",
1049
+ "resolved": "boolean",
1050
+ "references": {}
1051
+ },
1052
+ "required": false,
1053
+ "optional": false,
1054
+ "docs": {
1055
+ "tags": [],
1056
+ "text": ""
1057
+ },
1058
+ "attribute": "search",
1059
+ "reflect": false,
1060
+ "defaultValue": "false"
1061
+ },
1062
+ "infoFooter": {
1063
+ "type": "boolean",
1064
+ "mutable": true,
1065
+ "complexType": {
1066
+ "original": "boolean",
1067
+ "resolved": "boolean",
1068
+ "references": {}
1069
+ },
1070
+ "required": false,
1071
+ "optional": false,
1072
+ "docs": {
1073
+ "tags": [],
1074
+ "text": ""
1075
+ },
1076
+ "attribute": "info-footer",
1077
+ "reflect": false,
1078
+ "defaultValue": "false"
1079
+ },
1080
+ "showIcon": {
1081
+ "type": "boolean",
1082
+ "mutable": true,
1083
+ "complexType": {
1084
+ "original": "boolean",
1085
+ "resolved": "boolean",
1086
+ "references": {}
1087
+ },
1088
+ "required": false,
1089
+ "optional": false,
1090
+ "docs": {
1091
+ "tags": [],
1092
+ "text": ""
1093
+ },
1094
+ "attribute": "show-icon",
1095
+ "reflect": false,
1096
+ "defaultValue": "false"
1097
+ },
1098
+ "size": {
1099
+ "type": "string",
1100
+ "mutable": true,
1101
+ "complexType": {
1102
+ "original": "SizeProp",
1103
+ "resolved": "\"large\" | \"medium\" | \"small\"",
1104
+ "references": {
1105
+ "SizeProp": {
1106
+ "location": "import",
1107
+ "path": "./types"
1108
+ }
1109
+ }
1110
+ },
1111
+ "required": false,
1112
+ "optional": false,
1113
+ "docs": {
1114
+ "tags": [],
1115
+ "text": ""
1116
+ },
1117
+ "attribute": "size",
1118
+ "reflect": false,
1119
+ "defaultValue": "'medium'"
1120
+ },
1121
+ "selectedId": {
1122
+ "type": "string",
1123
+ "mutable": true,
1124
+ "complexType": {
1125
+ "original": "string",
1126
+ "resolved": "string",
1127
+ "references": {}
1128
+ },
1129
+ "required": false,
1130
+ "optional": false,
1131
+ "docs": {
1132
+ "tags": [],
1133
+ "text": ""
1134
+ },
1135
+ "attribute": "selected-id",
1136
+ "reflect": false
1137
+ },
1138
+ "checkedList": {
1139
+ "type": "unknown",
1140
+ "mutable": true,
1141
+ "complexType": {
1142
+ "original": "Array<any>",
1143
+ "resolved": "any[]",
1144
+ "references": {
1145
+ "Array": {
1146
+ "location": "global"
1147
+ }
1148
+ }
1149
+ },
1150
+ "required": false,
1151
+ "optional": false,
1152
+ "docs": {
1153
+ "tags": [],
1154
+ "text": ""
1155
+ },
1156
+ "defaultValue": "[]"
1157
+ },
1158
+ "updateCheckedList": {
1159
+ "type": "unknown",
1160
+ "mutable": true,
1161
+ "complexType": {
1162
+ "original": "Array<any>",
1163
+ "resolved": "any[]",
1164
+ "references": {
1165
+ "Array": {
1166
+ "location": "global"
1167
+ }
1168
+ }
1169
+ },
1170
+ "required": false,
1171
+ "optional": false,
1172
+ "docs": {
1173
+ "tags": [],
1174
+ "text": ""
1175
+ },
1176
+ "defaultValue": "[]"
1177
+ },
1178
+ "_items": {
1179
+ "type": "string",
1180
+ "mutable": true,
1181
+ "complexType": {
1182
+ "original": "Array<object> | string",
1183
+ "resolved": "object[] | string",
1184
+ "references": {
1185
+ "Array": {
1186
+ "location": "global"
1187
+ }
1188
+ }
1189
+ },
1190
+ "required": false,
1191
+ "optional": false,
1192
+ "docs": {
1193
+ "tags": [],
1194
+ "text": ""
1195
+ },
1196
+ "attribute": "data",
1197
+ "reflect": false,
1198
+ "defaultValue": "[]"
1199
+ },
1200
+ "fullWidth": {
1201
+ "type": "boolean",
1202
+ "mutable": true,
1203
+ "complexType": {
1204
+ "original": "boolean",
1205
+ "resolved": "boolean",
1206
+ "references": {}
1207
+ },
1208
+ "required": false,
1209
+ "optional": false,
1210
+ "docs": {
1211
+ "tags": [],
1212
+ "text": ""
1213
+ },
1214
+ "attribute": "full-width",
1215
+ "reflect": false,
1216
+ "defaultValue": "false"
1217
+ },
1218
+ "searchFields": {
1219
+ "type": "unknown",
1220
+ "mutable": true,
1221
+ "complexType": {
1222
+ "original": "Array<string>",
1223
+ "resolved": "string[]",
1224
+ "references": {
1225
+ "Array": {
1226
+ "location": "global"
1227
+ }
1228
+ }
1229
+ },
1230
+ "required": false,
1231
+ "optional": false,
1232
+ "docs": {
1233
+ "tags": [],
1234
+ "text": ""
1235
+ },
1236
+ "defaultValue": "['text', 'secondaryText', 'tooltipText']"
1237
+ },
1238
+ "_flex": {
1239
+ "type": "string",
1240
+ "mutable": true,
1241
+ "complexType": {
1242
+ "original": "string",
1243
+ "resolved": "string",
1244
+ "references": {}
1245
+ },
1246
+ "required": false,
1247
+ "optional": false,
1248
+ "docs": {
1249
+ "tags": [],
1250
+ "text": ""
1251
+ },
1252
+ "attribute": "flex",
1253
+ "reflect": false
1254
+ },
1255
+ "hidden": {
1256
+ "type": "boolean",
1257
+ "mutable": true,
1258
+ "complexType": {
1259
+ "original": "boolean",
1260
+ "resolved": "boolean",
1261
+ "references": {}
1262
+ },
1263
+ "required": false,
1264
+ "optional": false,
1265
+ "docs": {
1266
+ "tags": [],
1267
+ "text": ""
1268
+ },
1269
+ "attribute": "hidden",
1270
+ "reflect": false,
1271
+ "defaultValue": "false"
1272
+ },
1273
+ "returnField": {
1274
+ "type": "string",
1275
+ "mutable": true,
1276
+ "complexType": {
1277
+ "original": "string",
1278
+ "resolved": "string",
1279
+ "references": {}
1280
+ },
1281
+ "required": false,
1282
+ "optional": false,
1283
+ "docs": {
1284
+ "tags": [],
1285
+ "text": ""
1286
+ },
1287
+ "attribute": "return-field",
1288
+ "reflect": false,
1289
+ "defaultValue": "\"id\""
1290
+ },
1291
+ "searchSub": {
1292
+ "type": "string",
1293
+ "mutable": true,
1294
+ "complexType": {
1295
+ "original": "string",
1296
+ "resolved": "string",
1297
+ "references": {}
1298
+ },
1299
+ "required": false,
1300
+ "optional": false,
1301
+ "docs": {
1302
+ "tags": [],
1303
+ "text": ""
1304
+ },
1305
+ "attribute": "search-sub",
1306
+ "reflect": false,
1307
+ "defaultValue": "\"items\""
1308
+ },
1309
+ "searchText": {
1310
+ "type": "string",
1311
+ "mutable": true,
1312
+ "complexType": {
1313
+ "original": "string",
1314
+ "resolved": "string",
1315
+ "references": {}
1316
+ },
1317
+ "required": false,
1318
+ "optional": false,
1319
+ "docs": {
1320
+ "tags": [],
1321
+ "text": ""
1322
+ },
1323
+ "attribute": "searchtext",
1324
+ "reflect": false,
1325
+ "defaultValue": "\"\""
1326
+ },
1327
+ "treeview": {
1328
+ "type": "boolean",
1329
+ "mutable": true,
1330
+ "complexType": {
1331
+ "original": "boolean",
1332
+ "resolved": "boolean",
1333
+ "references": {}
1334
+ },
1335
+ "required": false,
1336
+ "optional": false,
1337
+ "docs": {
1338
+ "tags": [],
1339
+ "text": ""
1340
+ },
1341
+ "attribute": "treeview",
1342
+ "reflect": false,
1343
+ "defaultValue": "false"
1344
+ },
1345
+ "searchPlaceholder": {
1346
+ "type": "string",
1347
+ "mutable": true,
1348
+ "complexType": {
1349
+ "original": "string",
1350
+ "resolved": "string",
1351
+ "references": {}
1352
+ },
1353
+ "required": false,
1354
+ "optional": false,
1355
+ "docs": {
1356
+ "tags": [],
1357
+ "text": ""
1358
+ },
1359
+ "attribute": "searchplaceholder",
1360
+ "reflect": false,
1361
+ "defaultValue": "\"Search\""
1362
+ },
1363
+ "numberOfColumns": {
1364
+ "type": "number",
1365
+ "mutable": true,
1366
+ "complexType": {
1367
+ "original": "number",
1368
+ "resolved": "number",
1369
+ "references": {}
1370
+ },
1371
+ "required": false,
1372
+ "optional": false,
1373
+ "docs": {
1374
+ "tags": [],
1375
+ "text": ""
1376
+ },
1377
+ "attribute": "number-of-columns",
1378
+ "reflect": false,
1379
+ "defaultValue": "1"
1380
+ },
1381
+ "height": {
1382
+ "type": "string",
1383
+ "mutable": true,
1384
+ "complexType": {
1385
+ "original": "string",
1386
+ "resolved": "string",
1387
+ "references": {}
1388
+ },
1389
+ "required": false,
1390
+ "optional": false,
1391
+ "docs": {
1392
+ "tags": [],
1393
+ "text": ""
1394
+ },
1395
+ "attribute": "height",
1396
+ "reflect": false,
1397
+ "defaultValue": "null"
1398
+ },
1399
+ "maxHeight": {
1400
+ "type": "string",
1401
+ "mutable": true,
1402
+ "complexType": {
1403
+ "original": "string",
1404
+ "resolved": "string",
1405
+ "references": {}
1406
+ },
1407
+ "required": false,
1408
+ "optional": false,
1409
+ "docs": {
1410
+ "tags": [],
1411
+ "text": ""
1412
+ },
1413
+ "attribute": "max-height",
1414
+ "reflect": false,
1415
+ "defaultValue": "null"
1416
+ },
1417
+ "template": {
1418
+ "type": "string",
1419
+ "mutable": true,
1420
+ "complexType": {
1421
+ "original": "string",
1422
+ "resolved": "string",
1423
+ "references": {}
1424
+ },
1425
+ "required": false,
1426
+ "optional": false,
1427
+ "docs": {
1428
+ "tags": [],
1429
+ "text": ""
1430
+ },
1431
+ "attribute": "template",
1432
+ "reflect": false,
1433
+ "defaultValue": "null"
1434
+ },
1435
+ "highlight": {
1436
+ "type": "boolean",
1437
+ "mutable": true,
1438
+ "complexType": {
1439
+ "original": "boolean",
1440
+ "resolved": "boolean",
1441
+ "references": {}
1442
+ },
1443
+ "required": false,
1444
+ "optional": false,
1445
+ "docs": {
1446
+ "tags": [],
1447
+ "text": ""
1448
+ },
1449
+ "attribute": "highlight",
1450
+ "reflect": false,
1451
+ "defaultValue": "false"
1452
+ },
1453
+ "loading": {
1454
+ "type": "boolean",
1455
+ "mutable": true,
1456
+ "complexType": {
1457
+ "original": "boolean",
1458
+ "resolved": "boolean",
1459
+ "references": {}
1460
+ },
1461
+ "required": false,
1462
+ "optional": false,
1463
+ "docs": {
1464
+ "tags": [],
1465
+ "text": ""
1466
+ },
1467
+ "attribute": "loading",
1468
+ "reflect": false,
1469
+ "defaultValue": "true"
1470
+ },
1471
+ "noCaption": {
1472
+ "type": "boolean",
1473
+ "mutable": true,
1474
+ "complexType": {
1475
+ "original": "boolean",
1476
+ "resolved": "boolean",
1477
+ "references": {}
1478
+ },
1479
+ "required": false,
1480
+ "optional": false,
1481
+ "docs": {
1482
+ "tags": [],
1483
+ "text": ""
1484
+ },
1485
+ "attribute": "no-caption",
1486
+ "reflect": false,
1487
+ "defaultValue": "false"
1488
+ },
1489
+ "caption": {
1490
+ "type": "string",
1491
+ "mutable": true,
1492
+ "complexType": {
1493
+ "original": "string",
1494
+ "resolved": "string",
1495
+ "references": {}
1496
+ },
1497
+ "required": false,
1498
+ "optional": false,
1499
+ "docs": {
1500
+ "tags": [],
1501
+ "text": ""
1502
+ },
1503
+ "attribute": "caption",
1504
+ "reflect": false
1505
+ },
1506
+ "captionError": {
1507
+ "type": "string",
1508
+ "mutable": true,
1509
+ "complexType": {
1510
+ "original": "string",
1511
+ "resolved": "string",
1512
+ "references": {}
1513
+ },
1514
+ "required": false,
1515
+ "optional": false,
1516
+ "docs": {
1517
+ "tags": [],
1518
+ "text": ""
1519
+ },
1520
+ "attribute": "caption-error",
1521
+ "reflect": false
1522
+ },
1523
+ "captionType": {
1524
+ "type": "string",
1525
+ "mutable": true,
1526
+ "complexType": {
1527
+ "original": "'primary' | 'success' | 'warning' | 'error' | 'default'",
1528
+ "resolved": "\"default\" | \"error\" | \"primary\" | \"success\" | \"warning\"",
1529
+ "references": {}
1530
+ },
1531
+ "required": false,
1532
+ "optional": false,
1533
+ "docs": {
1534
+ "tags": [],
1535
+ "text": ""
1536
+ },
1537
+ "attribute": "caption-type",
1538
+ "reflect": false,
1539
+ "defaultValue": "'default'"
1540
+ },
1541
+ "_internal_id": {
1542
+ "type": "string",
1543
+ "mutable": true,
1544
+ "complexType": {
1545
+ "original": "string",
1546
+ "resolved": "string",
1547
+ "references": {}
1548
+ },
1549
+ "required": false,
1550
+ "optional": false,
1551
+ "docs": {
1552
+ "tags": [],
1553
+ "text": ""
1554
+ },
1555
+ "attribute": "_internal_id",
1556
+ "reflect": true,
1557
+ "defaultValue": "(Math.random() * 4).toString(16).replace('.', '')"
1558
+ },
1559
+ "tooltip": {
1560
+ "type": "string",
1561
+ "mutable": true,
1562
+ "complexType": {
1563
+ "original": "string",
1564
+ "resolved": "string",
1565
+ "references": {}
1566
+ },
1567
+ "required": false,
1568
+ "optional": false,
1569
+ "docs": {
1570
+ "tags": [],
1571
+ "text": ""
1572
+ },
1573
+ "attribute": "tooltip",
1574
+ "reflect": false
1575
+ }
1576
+ }; }
1577
+ static get states() { return {
1578
+ "total": {},
1579
+ "items": {},
1580
+ "checklist": {},
1581
+ "sortedChecklist": {},
1582
+ "indeterminateState": {},
1583
+ "checked": {},
1584
+ "jsonItem": {},
1585
+ "searchData": {},
1586
+ "captionCache": {},
1587
+ "captionTypeCache": {},
1588
+ "checklistSorted": {}
1589
+ }; }
1590
+ static get events() { return [{
1591
+ "method": "listboxItemSelected",
1592
+ "name": "bcm-listbox-item-selected",
1593
+ "bubbles": true,
1594
+ "cancelable": true,
1595
+ "composed": true,
1596
+ "docs": {
1597
+ "tags": [],
1598
+ "text": "Component Events"
1599
+ },
1600
+ "complexType": {
1601
+ "original": "any",
1602
+ "resolved": "any",
1603
+ "references": {}
1604
+ }
1605
+ }, {
1606
+ "method": "listboxClearSelected",
1607
+ "name": "bcm-listbox-clear-selecteds",
1608
+ "bubbles": true,
1609
+ "cancelable": true,
1610
+ "composed": true,
1611
+ "docs": {
1612
+ "tags": [],
1613
+ "text": ""
1614
+ },
1615
+ "complexType": {
1616
+ "original": "any",
1617
+ "resolved": "any",
1618
+ "references": {}
1619
+ }
1620
+ }, {
1621
+ "method": "listboxSendCheck",
1622
+ "name": "bcm-listbox-send-check",
1623
+ "bubbles": true,
1624
+ "cancelable": true,
1625
+ "composed": true,
1626
+ "docs": {
1627
+ "tags": [],
1628
+ "text": ""
1629
+ },
1630
+ "complexType": {
1631
+ "original": "any",
1632
+ "resolved": "any",
1633
+ "references": {}
1634
+ }
1635
+ }, {
1636
+ "method": "listboxSendUncheck",
1637
+ "name": "bcm-listbox-send-uncheck",
1638
+ "bubbles": true,
1639
+ "cancelable": true,
1640
+ "composed": true,
1641
+ "docs": {
1642
+ "tags": [],
1643
+ "text": ""
1644
+ },
1645
+ "complexType": {
1646
+ "original": "any",
1647
+ "resolved": "any",
1648
+ "references": {}
1649
+ }
1650
+ }, {
1651
+ "method": "listboxChecklist",
1652
+ "name": "bcm-listbox-checklist",
1653
+ "bubbles": true,
1654
+ "cancelable": true,
1655
+ "composed": true,
1656
+ "docs": {
1657
+ "tags": [],
1658
+ "text": ""
1659
+ },
1660
+ "complexType": {
1661
+ "original": "any",
1662
+ "resolved": "any",
1663
+ "references": {}
1664
+ }
1665
+ }, {
1666
+ "method": "listboxChange",
1667
+ "name": "bcm-listbox-change",
1668
+ "bubbles": true,
1669
+ "cancelable": true,
1670
+ "composed": true,
1671
+ "docs": {
1672
+ "tags": [],
1673
+ "text": ""
1674
+ },
1675
+ "complexType": {
1676
+ "original": "any",
1677
+ "resolved": "any",
1678
+ "references": {}
1679
+ }
1680
+ }, {
1681
+ "method": "listboxChecked",
1682
+ "name": "bcm-listbox-checked",
1683
+ "bubbles": true,
1684
+ "cancelable": true,
1685
+ "composed": true,
1686
+ "docs": {
1687
+ "tags": [],
1688
+ "text": ""
1689
+ },
1690
+ "complexType": {
1691
+ "original": "any",
1692
+ "resolved": "any",
1693
+ "references": {}
1694
+ }
1695
+ }, {
1696
+ "method": "change",
1697
+ "name": "bcm-change",
1698
+ "bubbles": true,
1699
+ "cancelable": true,
1700
+ "composed": true,
1701
+ "docs": {
1702
+ "tags": [],
1703
+ "text": ""
1704
+ },
1705
+ "complexType": {
1706
+ "original": "any",
1707
+ "resolved": "any",
1708
+ "references": {}
1709
+ }
1710
+ }]; }
1711
+ static get methods() { return {
1712
+ "setClear": {
1713
+ "complexType": {
1714
+ "signature": "() => Promise<void>",
1715
+ "parameters": [],
1716
+ "references": {
1717
+ "Promise": {
1718
+ "location": "global"
1719
+ }
1720
+ },
1721
+ "return": "Promise<void>"
1722
+ },
1723
+ "docs": {
1724
+ "text": "",
1725
+ "tags": []
1726
+ }
1727
+ },
1728
+ "resetCaption": {
1729
+ "complexType": {
1730
+ "signature": "() => Promise<void>",
1731
+ "parameters": [],
1732
+ "references": {
1733
+ "Promise": {
1734
+ "location": "global"
1735
+ }
1736
+ },
1737
+ "return": "Promise<void>"
1738
+ },
1739
+ "docs": {
1740
+ "text": "",
1741
+ "tags": []
1742
+ }
1743
+ },
1744
+ "getValue": {
1745
+ "complexType": {
1746
+ "signature": "() => Promise<any>",
1747
+ "parameters": [],
1748
+ "references": {
1749
+ "Promise": {
1750
+ "location": "global"
1751
+ }
1752
+ },
1753
+ "return": "Promise<any>"
1754
+ },
1755
+ "docs": {
1756
+ "text": "",
1757
+ "tags": []
1758
+ }
1759
+ },
1760
+ "getChecklist": {
1761
+ "complexType": {
1762
+ "signature": "() => Promise<object[]>",
1763
+ "parameters": [],
1764
+ "references": {
1765
+ "Promise": {
1766
+ "location": "global"
1767
+ }
1768
+ },
1769
+ "return": "Promise<object[]>"
1770
+ },
1771
+ "docs": {
1772
+ "text": "",
1773
+ "tags": []
1774
+ }
1775
+ },
1776
+ "showSearchMethod": {
1777
+ "complexType": {
1778
+ "signature": "(val?: boolean) => Promise<void>",
1779
+ "parameters": [{
1780
+ "tags": [],
1781
+ "text": ""
1782
+ }],
1783
+ "references": {
1784
+ "Promise": {
1785
+ "location": "global"
1786
+ }
1787
+ },
1788
+ "return": "Promise<void>"
1789
+ },
1790
+ "docs": {
1791
+ "text": "",
1792
+ "tags": []
1793
+ }
1794
+ },
1795
+ "selected": {
1796
+ "complexType": {
1797
+ "signature": "(id: any) => Promise<void>",
1798
+ "parameters": [{
1799
+ "tags": [],
1800
+ "text": ""
1801
+ }],
1802
+ "references": {
1803
+ "Promise": {
1804
+ "location": "global"
1805
+ }
1806
+ },
1807
+ "return": "Promise<void>"
1808
+ },
1809
+ "docs": {
1810
+ "text": "",
1811
+ "tags": []
1812
+ }
1813
+ },
1814
+ "clearAndSelectSearch": {
1815
+ "complexType": {
1816
+ "signature": "(select?: boolean) => Promise<void>",
1817
+ "parameters": [{
1818
+ "tags": [],
1819
+ "text": ""
1820
+ }],
1821
+ "references": {
1822
+ "Promise": {
1823
+ "location": "global"
1824
+ }
1825
+ },
1826
+ "return": "Promise<void>"
1827
+ },
1828
+ "docs": {
1829
+ "text": "",
1830
+ "tags": []
1831
+ }
1832
+ },
1833
+ "addChecked": {
1834
+ "complexType": {
1835
+ "signature": "(items: any) => Promise<void>",
1836
+ "parameters": [{
1837
+ "tags": [],
1838
+ "text": ""
1839
+ }],
1840
+ "references": {
1841
+ "Promise": {
1842
+ "location": "global"
1843
+ }
1844
+ },
1845
+ "return": "Promise<void>"
1846
+ },
1847
+ "docs": {
1848
+ "text": "",
1849
+ "tags": []
1850
+ }
1851
+ },
1852
+ "updateChecked": {
1853
+ "complexType": {
1854
+ "signature": "(items: any) => Promise<void>",
1855
+ "parameters": [{
1856
+ "tags": [],
1857
+ "text": ""
1858
+ }],
1859
+ "references": {
1860
+ "Promise": {
1861
+ "location": "global"
1862
+ }
1863
+ },
1864
+ "return": "Promise<void>"
1865
+ },
1866
+ "docs": {
1867
+ "text": "",
1868
+ "tags": []
1869
+ }
1870
+ },
1871
+ "config": {
1872
+ "complexType": {
1873
+ "signature": "(_config: Array<object>) => Promise<boolean>",
1874
+ "parameters": [{
1875
+ "tags": [],
1876
+ "text": ""
1877
+ }],
1878
+ "references": {
1879
+ "Promise": {
1880
+ "location": "global"
1881
+ },
1882
+ "Array": {
1883
+ "location": "global"
1884
+ }
1885
+ },
1886
+ "return": "Promise<boolean>"
1887
+ },
1888
+ "docs": {
1889
+ "text": "",
1890
+ "tags": []
1891
+ }
1892
+ },
1893
+ "setData": {
1894
+ "complexType": {
1895
+ "signature": "(_data?: Array<object> | string) => Promise<void>",
1896
+ "parameters": [{
1897
+ "tags": [],
1898
+ "text": ""
1899
+ }],
1900
+ "references": {
1901
+ "Promise": {
1902
+ "location": "global"
1903
+ },
1904
+ "Array": {
1905
+ "location": "global"
1906
+ }
1907
+ },
1908
+ "return": "Promise<void>"
1909
+ },
1910
+ "docs": {
1911
+ "text": "",
1912
+ "tags": []
1913
+ }
1914
+ },
1915
+ "searchResultMethod": {
1916
+ "complexType": {
1917
+ "signature": "(items?: any[]) => Promise<void>",
1918
+ "parameters": [{
1919
+ "tags": [],
1920
+ "text": ""
1921
+ }],
1922
+ "references": {
1923
+ "Promise": {
1924
+ "location": "global"
1925
+ }
1926
+ },
1927
+ "return": "Promise<void>"
1928
+ },
1929
+ "docs": {
1930
+ "text": "",
1931
+ "tags": []
1932
+ }
1933
+ },
1934
+ "listboxUncheckedMethod": {
1935
+ "complexType": {
1936
+ "signature": "(item: any, internal_id?: string) => Promise<void>",
1937
+ "parameters": [{
1938
+ "tags": [],
1939
+ "text": ""
1940
+ }, {
1941
+ "tags": [],
1942
+ "text": ""
1943
+ }],
1944
+ "references": {
1945
+ "Promise": {
1946
+ "location": "global"
1947
+ }
1948
+ },
1949
+ "return": "Promise<void>"
1950
+ },
1951
+ "docs": {
1952
+ "text": "",
1953
+ "tags": []
1954
+ }
1955
+ }
1956
+ }; }
1957
+ static get elementRef() { return "el"; }
1958
+ static get watchers() { return [{
1959
+ "propName": "_items",
1960
+ "methodName": "parseItems"
1961
+ }, {
1962
+ "propName": "value",
1963
+ "methodName": "handleChange"
1964
+ }]; }
1965
+ static get listeners() { return [{
1966
+ "name": "bcm-treeview-item-selected",
1967
+ "method": "handleListboxSelected",
1968
+ "target": undefined,
1969
+ "capture": true,
1970
+ "passive": false
1971
+ }, {
1972
+ "name": "bcm-on-search",
1973
+ "method": "listenSearchResult",
1974
+ "target": undefined,
1975
+ "capture": false,
1976
+ "passive": false
1977
+ }, {
1978
+ "name": "bcm-listbox-item-selected",
1979
+ "method": "handleListboxClearSelected",
1980
+ "target": undefined,
1981
+ "capture": false,
1982
+ "passive": false
1983
+ }, {
1984
+ "name": "bcm-listbox-checked",
1985
+ "method": "handleListboxChecked",
1986
+ "target": undefined,
1987
+ "capture": false,
1988
+ "passive": false
1989
+ }, {
1990
+ "name": "bcm-listbox-unchecked",
1991
+ "method": "handleListboxUnchecked",
1992
+ "target": undefined,
1993
+ "capture": false,
1994
+ "passive": false
1995
+ }]; }
1996
+ }
1997
+ __decorate([
1998
+ IsLoad()
1999
+ ], BcmListbox.prototype, "el", void 0);