bromcom-ui 2.7.38-rc.9 → 2.7.38

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 (413) 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-2b73f6b1.entry.js → p-047c35b1.entry.js} +1 -1
  4. package/dist/bromcom-ui/p-074c97d3.js +5 -0
  5. package/dist/bromcom-ui/p-0a8b9f8a.entry.js +5 -0
  6. package/dist/bromcom-ui/{p-72f741db.entry.js → p-0b77585e.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-64b20f43.entry.js → p-0f685aa9.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-1097cec9.entry.js +5 -0
  9. package/dist/bromcom-ui/{p-c58f338d.entry.js → p-14938158.entry.js} +1 -1
  10. package/dist/bromcom-ui/p-1731c4f9.entry.js +10 -0
  11. package/dist/bromcom-ui/p-19a500b9.entry.js +5 -0
  12. package/dist/bromcom-ui/p-1aa79294.entry.js +5 -0
  13. package/dist/bromcom-ui/{p-1d44dbea.entry.js → p-2183c4bd.entry.js} +1 -1
  14. package/dist/bromcom-ui/p-22e08221.entry.js +5 -0
  15. package/dist/bromcom-ui/p-24a7260a.entry.js +5 -0
  16. package/dist/bromcom-ui/{p-568f4f45.entry.js → p-2649e63a.entry.js} +1 -1
  17. package/dist/bromcom-ui/p-26e2f7ac.entry.js +5 -0
  18. package/dist/bromcom-ui/p-28079630.entry.js +5 -0
  19. package/dist/bromcom-ui/p-2867f803.entry.js +5 -0
  20. package/dist/bromcom-ui/p-3440e465.entry.js +5 -0
  21. package/dist/bromcom-ui/p-3614e6c5.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-4721d58a.entry.js → p-369d6e4f.entry.js} +1 -1
  23. package/dist/bromcom-ui/p-3847b46e.entry.js +5 -0
  24. package/dist/bromcom-ui/{p-69ef565b.entry.js → p-3d4897d8.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-7dfb39a6.js → p-3f260a4c.js} +1 -1
  26. package/dist/bromcom-ui/p-3fccedf3.entry.js +5 -0
  27. package/dist/bromcom-ui/{p-3126f440.entry.js → p-40df99e2.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-969f623c.entry.js → p-4171e9a0.entry.js} +1 -1
  29. package/dist/bromcom-ui/p-4487e8c2.js +5 -0
  30. package/dist/bromcom-ui/p-4630dd52.entry.js +5 -0
  31. package/dist/bromcom-ui/p-4790b60c.js +5 -0
  32. package/dist/bromcom-ui/{p-5775dcea.js → p-48e9166c.js} +1 -1
  33. package/dist/bromcom-ui/p-4d0f27cb.js +5 -0
  34. package/dist/bromcom-ui/p-509e2130.entry.js +5 -0
  35. package/dist/bromcom-ui/p-52df9b68.entry.js +5 -0
  36. package/dist/bromcom-ui/p-53062c43.entry.js +5 -0
  37. package/dist/bromcom-ui/p-5b664dec.js +5 -0
  38. package/dist/bromcom-ui/p-5de651cc.entry.js +5 -0
  39. package/dist/bromcom-ui/p-5e7565fe.entry.js +5 -0
  40. package/dist/bromcom-ui/p-64683551.entry.js +5 -0
  41. package/dist/bromcom-ui/p-66e9afac.entry.js +5 -0
  42. package/dist/bromcom-ui/p-6842b4b7.entry.js +5 -0
  43. package/dist/bromcom-ui/p-696fe6a3.entry.js +5 -0
  44. package/dist/bromcom-ui/{p-9979bd82.entry.js → p-69cce4d0.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-6cc9c855.entry.js +5 -0
  46. package/dist/bromcom-ui/p-73138fc4.entry.js +5 -0
  47. package/dist/bromcom-ui/{p-16ff1ff3.js → p-74595a06.js} +1 -1
  48. package/dist/bromcom-ui/{p-4f86851c.entry.js → p-74fb9a64.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-ba062b3c.js → p-88f7d869.js} +1 -1
  50. package/dist/bromcom-ui/{p-5001042f.js → p-8994cc96.js} +1 -1
  51. package/dist/bromcom-ui/p-89b5b86c.entry.js +5 -0
  52. package/dist/bromcom-ui/{p-219b3300.entry.js → p-8d1cd79f.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-57d0c6e7.entry.js → p-97df9122.entry.js} +1 -1
  54. package/dist/bromcom-ui/p-9812aaa8.entry.js +5 -0
  55. package/dist/bromcom-ui/p-982562ae.entry.js +5 -0
  56. package/dist/bromcom-ui/{p-ee9ba6ba.entry.js → p-9a1dc17c.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-1d77b8a6.js → p-9bef5a59.js} +1 -1
  58. package/dist/bromcom-ui/p-9df5c5ca.entry.js +5 -0
  59. package/dist/bromcom-ui/{p-fc55a7e3.entry.js → p-9e0f2680.entry.js} +1 -1
  60. package/dist/bromcom-ui/p-a1700c81.entry.js +5 -0
  61. package/dist/bromcom-ui/p-a32c26ec.entry.js +5 -0
  62. package/dist/bromcom-ui/p-a5982982.entry.js +5 -0
  63. package/dist/bromcom-ui/p-a6d95251.entry.js +5 -0
  64. package/dist/bromcom-ui/{p-444cb95f.entry.js → p-ad81c97f.entry.js} +1 -1
  65. package/dist/bromcom-ui/p-ae458ce8.entry.js +5 -0
  66. package/dist/bromcom-ui/p-ae5a0d1c.entry.js +5 -0
  67. package/dist/bromcom-ui/{p-620afa4f.js → p-b303a574.js} +1 -1
  68. package/dist/bromcom-ui/p-b69fa12b.entry.js +5 -0
  69. package/dist/bromcom-ui/p-b8f14695.entry.js +5 -0
  70. package/dist/bromcom-ui/p-b963626d.js +5 -0
  71. package/dist/bromcom-ui/p-b9e64c93.entry.js +5 -0
  72. package/dist/bromcom-ui/{p-5a9b78f6.entry.js → p-bdb012c3.entry.js} +1 -1
  73. package/dist/bromcom-ui/p-c0ea429a.entry.js +5 -0
  74. package/dist/bromcom-ui/p-c7458ce2.entry.js +5 -0
  75. package/dist/bromcom-ui/p-d7fc6422.entry.js +5 -0
  76. package/dist/bromcom-ui/p-d8d1a9d3.entry.js +5 -0
  77. package/dist/bromcom-ui/{p-a368c325.entry.js → p-dae1cc7b.entry.js} +1 -1
  78. package/dist/bromcom-ui/{p-b9352123.entry.js → p-dc306bd8.entry.js} +1 -1
  79. package/dist/bromcom-ui/{p-764ae0c1.js → p-de954bc9.js} +1 -1
  80. package/dist/bromcom-ui/{p-c3ef369d.entry.js → p-dfe8e354.entry.js} +1 -1
  81. package/dist/bromcom-ui/{p-930558cd.js → p-e118a7f1.js} +1 -1
  82. package/dist/bromcom-ui/{p-0b6afb97.entry.js → p-ed59e34f.entry.js} +1 -1
  83. package/dist/bromcom-ui/p-edf79ae6.entry.js +5 -0
  84. package/dist/bromcom-ui/{p-4b1ed966.entry.js → p-f089027d.entry.js} +1 -1
  85. package/dist/bromcom-ui/p-f102cc57.entry.js +5 -0
  86. package/dist/bromcom-ui/p-f116e15f.entry.js +5 -0
  87. package/dist/bromcom-ui/p-f3669849.entry.js +5 -0
  88. package/dist/bromcom-ui/{p-ac156ba4.entry.js → p-f7c6b75a.entry.js} +1 -1
  89. package/dist/bromcom-ui/p-fab02b40.entry.js +5 -0
  90. package/dist/bromcom-ui/p-face119d.entry.js +5 -0
  91. package/dist/bromcom-ui/p-fe702e56.entry.js +5 -0
  92. package/dist/cjs/bcm-accordion.cjs.entry.js +3 -1
  93. package/dist/cjs/bcm-alert.cjs.entry.js +2 -1
  94. package/dist/cjs/bcm-attendance.cjs.entry.js +4 -2
  95. package/dist/cjs/bcm-avatar_2.cjs.entry.js +5 -4
  96. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -1
  97. package/dist/cjs/bcm-button-group.cjs.entry.js +2 -1
  98. package/dist/cjs/bcm-button.cjs.entry.js +5 -4
  99. package/dist/cjs/bcm-card.cjs.entry.js +3 -2
  100. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +18 -17
  101. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +3 -2
  102. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +5 -4
  103. package/dist/cjs/bcm-chip.cjs.entry.js +4 -3
  104. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -1
  105. package/dist/cjs/bcm-color-input.cjs.entry.js +5 -4
  106. package/dist/cjs/{bcm-colorful_7.cjs.entry.js → bcm-colorful_2.cjs.entry.js} +10 -904
  107. package/dist/cjs/bcm-colorpicker.cjs.entry.js +432 -0
  108. package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -1
  109. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -2
  110. package/dist/cjs/bcm-default.cjs.entry.js +3 -1
  111. package/dist/cjs/bcm-drawer.cjs.entry.js +5 -4
  112. package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -2
  113. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +3 -2
  114. package/dist/cjs/bcm-form-2.cjs.entry.js +2 -1
  115. package/dist/cjs/bcm-form.cjs.entry.js +1 -1
  116. package/dist/cjs/{bcm-list.cjs.entry.js → bcm-icon_3.cjs.entry.js} +365 -94
  117. package/dist/cjs/bcm-input-custom.cjs.entry.js +73 -0
  118. package/dist/cjs/bcm-input.cjs.entry.js +369 -0
  119. package/dist/cjs/bcm-item.cjs.entry.js +3 -2
  120. package/dist/cjs/bcm-items.cjs.entry.js +3 -2
  121. package/dist/cjs/bcm-label_2.cjs.entry.js +149 -0
  122. package/dist/cjs/bcm-link.cjs.entry.js +1 -1
  123. package/dist/cjs/bcm-menu.cjs.entry.js +7 -6
  124. package/dist/cjs/bcm-modal.cjs.entry.js +2 -1
  125. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +3 -2
  126. package/dist/cjs/bcm-popconfirm.cjs.entry.js +3 -2
  127. package/dist/cjs/bcm-popover.cjs.entry.js +84 -34
  128. package/dist/cjs/bcm-progress.cjs.entry.js +3 -2
  129. package/dist/cjs/bcm-radio-group.cjs.entry.js +77 -211
  130. package/dist/cjs/bcm-radio.cjs.entry.js +36 -77
  131. package/dist/cjs/bcm-range.cjs.entry.js +2 -1
  132. package/dist/cjs/bcm-select.cjs.entry.js +1 -1
  133. package/dist/cjs/bcm-skeleton.cjs.entry.js +3 -1
  134. package/dist/cjs/bcm-step.cjs.entry.js +3 -2
  135. package/dist/cjs/bcm-stepper.cjs.entry.js +56 -29
  136. package/dist/cjs/bcm-switch.cjs.entry.js +3 -2
  137. package/dist/cjs/bcm-tab-group.cjs.entry.js +86 -98
  138. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +87 -0
  139. package/dist/cjs/bcm-tab-item.cjs.entry.js +104 -0
  140. package/dist/cjs/bcm-tag.cjs.entry.js +3 -2
  141. package/dist/cjs/bcm-text.cjs.entry.js +2 -1
  142. package/dist/cjs/bcm-textarea.cjs.entry.js +3 -2
  143. package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -1
  144. package/dist/cjs/bromcom-ui.cjs.js +1 -1
  145. package/dist/cjs/color-helper-0e3e8ce5.js +86 -0
  146. package/dist/cjs/{color-helper-c9882bd8.js → colors-25c96ed6.js} +4 -81
  147. package/dist/cjs/{generate-dbed3a63.js → generate-279ee026.js} +131 -29
  148. package/dist/cjs/{input-template-79002b88.js → input-template-b5da5370.js} +2 -2
  149. package/dist/cjs/{json-parse-decarator-65760934.js → json-parse-decarator-8201b40b.js} +1 -1
  150. package/dist/cjs/loader.cjs.js +1 -1
  151. package/dist/cjs/{number-helper-d77c9113.js → number-helper-5d3173db.js} +1 -1
  152. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -2
  153. package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -1
  154. package/dist/cjs/{stepper-states-fae35b0d.js → stepper-states-f4380d04.js} +1 -1
  155. package/dist/cjs/{tooltip-helper-7beca613.js → tooltip-helper-adaa5f33.js} +37 -7
  156. package/dist/cjs/{validators-95afb38d.js → validators-ef83a65e.js} +1 -1
  157. package/dist/collection/collection-manifest.json +4 -1
  158. package/dist/collection/components/atoms/button/button.js +1 -1
  159. package/dist/collection/components/atoms/chip/chip.js +1 -1
  160. package/dist/collection/components/atoms/link/link.js +1 -1
  161. package/dist/collection/components/external-source/bcm-toast-helper.js +20 -0
  162. package/dist/collection/components/external-source/test.js/bcm-toast-helper.js +20 -0
  163. package/dist/collection/components/molecules/checkbox/checkbox.css +1 -0
  164. package/dist/collection/components/molecules/checkbox/checkbox.js +1 -1
  165. package/dist/collection/components/molecules/input/input.js +5 -2
  166. package/dist/collection/components/molecules/menu/menu.js +1 -1
  167. package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
  168. package/dist/collection/components/molecules/popover/popover.js +107 -2
  169. package/dist/collection/components/molecules/radio/{group.js → radio-group.js} +163 -246
  170. package/dist/collection/components/molecules/radio/radio.js +42 -132
  171. package/dist/collection/components/molecules/search/search.js +20 -1
  172. package/dist/collection/components/molecules/stepper/stepper.js +55 -35
  173. package/dist/collection/components/molecules/switch/switch.js +1 -1
  174. package/dist/collection/components/molecules/tab-group/tab-group.js +98 -100
  175. package/dist/collection/components/molecules/tab-group/tab-item-header.js +186 -0
  176. package/dist/collection/components/molecules/tab-group/tab-item.js +161 -0
  177. package/dist/collection/components/molecules/tooltip/tooltip.js +109 -2
  178. package/dist/collection/components/organism/datetime-picker/datetime-picker.js +1 -1
  179. package/dist/collection/components/organism/form/form.js +1 -1
  180. package/dist/collection/components/organism/list/list.css +1 -0
  181. package/dist/collection/components/organism/list/list.js +21 -2
  182. package/dist/collection/components/other/attendance/attendance.js +1 -1
  183. package/dist/collection/components/other/input-custom/input-custom.js +249 -0
  184. package/dist/collection/components/other_deprecated/select/select.js +1 -1
  185. package/dist/collection/global/components/_checkbox.css +1 -0
  186. package/dist/collection/helper/generate.js +120 -19
  187. package/dist/collection/helper/popover-helper.js +57 -29
  188. package/dist/collection/helper/tooltip-helper.js +33 -4
  189. package/dist/collection/stories/assets/button/1.svg +35 -0
  190. package/dist/collection/stories/assets/button/10.svg +24 -0
  191. package/dist/collection/stories/assets/button/11.svg +24 -0
  192. package/dist/collection/stories/assets/button/12.svg +24 -0
  193. package/dist/collection/stories/assets/button/2.svg +28 -0
  194. package/dist/collection/stories/assets/button/3.svg +41 -0
  195. package/dist/collection/stories/assets/button/4.svg +9 -0
  196. package/dist/collection/stories/assets/button/5.svg +65 -0
  197. package/dist/collection/stories/assets/button/6.svg +68 -0
  198. package/dist/collection/stories/assets/button/7.svg +203 -0
  199. package/dist/collection/stories/assets/button/8.svg +316 -0
  200. package/dist/collection/stories/assets/button/9.svg +9 -0
  201. package/dist/collection/templates/button-template.js +1 -1
  202. package/dist/collection/templates/input-template.js +1 -1
  203. package/dist/collection/templates/list-item-template.js +1 -1
  204. package/dist/collection/templates/list-template.js +2 -2
  205. package/dist/components/bcm-attendance.js +1 -1
  206. package/dist/components/bcm-chip.js +1 -1
  207. package/dist/components/bcm-form.js +1 -1
  208. package/dist/components/bcm-input-custom.d.ts +11 -0
  209. package/dist/components/bcm-input-custom.js +114 -0
  210. package/dist/components/bcm-list.js +10 -8
  211. package/dist/components/bcm-popconfirm.js +1 -1
  212. package/dist/components/bcm-popover.js +83 -30
  213. package/dist/components/bcm-radio-group.js +88 -230
  214. package/dist/components/bcm-select.js +1 -1
  215. package/dist/components/bcm-stepper.js +51 -33
  216. package/dist/components/bcm-switch.js +1 -1
  217. package/dist/components/bcm-tab-group.js +84 -98
  218. package/dist/components/bcm-tab-item-header.d.ts +11 -0
  219. package/dist/components/bcm-tab-item-header.js +102 -0
  220. package/dist/components/bcm-tab-item.d.ts +11 -0
  221. package/dist/components/bcm-tab-item.js +117 -0
  222. package/dist/components/bcm-tab.js +1 -1
  223. package/dist/components/bcm-tabs-content.js +1 -1
  224. package/dist/components/bcm-tabs.js +1 -1
  225. package/dist/components/bcm-tag.js +1 -1
  226. package/dist/components/button.js +2 -2
  227. package/dist/components/checkbox-lite.js +1 -1
  228. package/dist/components/checkbox.js +2 -2
  229. package/dist/components/color-helper.js +1 -405
  230. package/dist/{esm/color-helper-b5e9aa56.js → components/colors2.js} +2 -79
  231. package/dist/components/datetime-picker.js +1 -1
  232. package/dist/components/generate.js +117 -16
  233. package/dist/components/index.d.ts +4 -1
  234. package/dist/components/index.js +3 -0
  235. package/dist/components/input-template.js +2 -15
  236. package/dist/components/input.js +5 -2
  237. package/dist/components/link.js +1 -1
  238. package/dist/components/menu.js +1 -1
  239. package/dist/components/radio.js +38 -82
  240. package/dist/components/search.js +3 -1
  241. package/dist/components/tooltip-helper.js +33 -3
  242. package/dist/components/tooltip.js +29 -3
  243. package/dist/components/types.js +14 -27
  244. package/dist/components/types2.js +25 -25
  245. package/dist/components/types3.js +32 -0
  246. package/dist/esm/bcm-accordion.entry.js +5 -3
  247. package/dist/esm/bcm-alert.entry.js +5 -4
  248. package/dist/esm/bcm-attendance.entry.js +6 -4
  249. package/dist/esm/bcm-autocomplete.entry.js +2 -2
  250. package/dist/esm/bcm-avatar_2.entry.js +8 -7
  251. package/dist/esm/bcm-box.entry.js +2 -2
  252. package/dist/esm/bcm-breadcrumb.entry.js +4 -3
  253. package/dist/esm/bcm-button-group.entry.js +4 -3
  254. package/dist/esm/bcm-button.entry.js +9 -8
  255. package/dist/esm/bcm-card.entry.js +6 -5
  256. package/dist/esm/bcm-checkbox-group.entry.js +13 -12
  257. package/dist/esm/bcm-checkbox-lite_9.entry.js +5 -4
  258. package/dist/esm/bcm-checkbox_2.entry.js +9 -8
  259. package/dist/esm/bcm-chip.entry.js +6 -5
  260. package/dist/esm/bcm-collapse-group.entry.js +2 -2
  261. package/dist/esm/bcm-collapse.entry.js +4 -3
  262. package/dist/esm/bcm-color-input.entry.js +6 -5
  263. package/dist/esm/{bcm-colorful_7.entry.js → bcm-colorful_2.entry.js} +15 -904
  264. package/dist/esm/bcm-colorpicker.entry.js +428 -0
  265. package/dist/esm/bcm-date-picker.entry.js +4 -3
  266. package/dist/esm/bcm-datetime-picker.entry.js +7 -6
  267. package/dist/esm/bcm-default.entry.js +5 -3
  268. package/dist/esm/bcm-drawer.entry.js +7 -6
  269. package/dist/esm/bcm-dropdown.entry.js +5 -4
  270. package/dist/esm/bcm-error-layout.entry.js +2 -2
  271. package/dist/esm/bcm-expansion-panel.entry.js +5 -4
  272. package/dist/esm/bcm-form-2.entry.js +4 -3
  273. package/dist/esm/bcm-form-group.entry.js +2 -2
  274. package/dist/esm/bcm-form.entry.js +3 -3
  275. package/dist/esm/{bcm-list.entry.js → bcm-icon_3.entry.js} +324 -55
  276. package/dist/esm/bcm-input-custom.entry.js +69 -0
  277. package/dist/esm/bcm-input.entry.js +365 -0
  278. package/dist/esm/bcm-item.entry.js +5 -4
  279. package/dist/esm/bcm-items.entry.js +5 -4
  280. package/dist/esm/bcm-label_2.entry.js +144 -0
  281. package/dist/esm/bcm-link.entry.js +3 -3
  282. package/dist/esm/bcm-menu.entry.js +9 -8
  283. package/dist/esm/bcm-message.entry.js +2 -2
  284. package/dist/esm/bcm-modal.entry.js +5 -4
  285. package/dist/esm/bcm-notification.entry.js +2 -2
  286. package/dist/esm/bcm-old-input.entry.js +3 -3
  287. package/dist/esm/bcm-old-tag_2.entry.js +2 -2
  288. package/dist/esm/bcm-popconfirm-box.entry.js +5 -4
  289. package/dist/esm/bcm-popconfirm.entry.js +5 -4
  290. package/dist/esm/bcm-popover.entry.js +86 -36
  291. package/dist/esm/bcm-progress.entry.js +5 -4
  292. package/dist/esm/bcm-radio-group.entry.js +74 -208
  293. package/dist/esm/bcm-radio.entry.js +36 -77
  294. package/dist/esm/bcm-range.entry.js +4 -3
  295. package/dist/esm/bcm-result.entry.js +2 -2
  296. package/dist/esm/bcm-select-group.entry.js +1 -1
  297. package/dist/esm/bcm-select-option.entry.js +1 -1
  298. package/dist/esm/bcm-select.entry.js +3 -3
  299. package/dist/esm/bcm-skeleton.entry.js +5 -3
  300. package/dist/esm/bcm-step.entry.js +6 -5
  301. package/dist/esm/bcm-stepper.entry.js +57 -30
  302. package/dist/esm/bcm-switch.entry.js +6 -5
  303. package/dist/esm/bcm-tab-group.entry.js +87 -99
  304. package/dist/esm/bcm-tab-item-header.entry.js +83 -0
  305. package/dist/esm/bcm-tab-item.entry.js +100 -0
  306. package/dist/esm/bcm-tab-pane.entry.js +2 -2
  307. package/dist/esm/bcm-tab.entry.js +2 -2
  308. package/dist/esm/bcm-table.entry.js +2 -2
  309. package/dist/esm/bcm-tabs-content.entry.js +2 -2
  310. package/dist/esm/bcm-tabs.entry.js +2 -2
  311. package/dist/esm/bcm-tag.entry.js +5 -4
  312. package/dist/esm/bcm-text.entry.js +5 -4
  313. package/dist/esm/bcm-textarea.entry.js +6 -5
  314. package/dist/esm/bcm-time-picker.entry.js +4 -3
  315. package/dist/esm/bcm-timeline-item.entry.js +2 -2
  316. package/dist/esm/bcm-timeline.entry.js +2 -2
  317. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  318. package/dist/esm/bromcom-ui.js +2 -2
  319. package/dist/esm/{caption-template-2ef181f9.js → caption-template-389f5bd6.js} +1 -1
  320. package/dist/esm/color-helper-0277e11a.js +84 -0
  321. package/dist/esm/colors-fabca483.js +411 -0
  322. package/dist/esm/{generate-1e46485f.js → generate-c2266936.js} +131 -29
  323. package/dist/esm/{index-662f4cf5.js → index-6e2d80d7.js} +1 -1
  324. package/dist/esm/{index-cb0cdd87.js → index-8b349654.js} +1 -1
  325. package/dist/esm/{input-template-844dc974.js → input-template-36e21911.js} +3 -3
  326. package/dist/esm/{is-load-decorator-0a59085d.js → is-load-decorator-66e19e04.js} +1 -1
  327. package/dist/esm/{json-parse-decarator-00aa321e.js → json-parse-decarator-8a7d935f.js} +2 -2
  328. package/dist/esm/{label-template-d8687efd.js → label-template-eed2dd69.js} +2 -2
  329. package/dist/esm/loader.js +2 -2
  330. package/dist/esm/{number-helper-f2cdb65b.js → number-helper-4b765a19.js} +1 -1
  331. package/dist/esm/old-bcm-popover-box.entry.js +5 -4
  332. package/dist/esm/old-bcm-popover.entry.js +4 -3
  333. package/dist/esm/{slot-template-5b2da1d3.js → slot-template-64b41ee5.js} +1 -1
  334. package/dist/esm/{stepper-states-822ebfe9.js → stepper-states-2d2c383b.js} +3 -3
  335. package/dist/esm/{tooltip-helper-aecc821b.js → tooltip-helper-71d04ca8.js} +37 -7
  336. package/dist/esm/{validators-1b3c085a.js → validators-fb7175a3.js} +1 -1
  337. package/dist/types/components/external-source/bcm-toast-helper.d.ts +12 -0
  338. package/dist/types/components/external-source/test.js/bcm-toast-helper.d.ts +12 -0
  339. package/dist/types/components/molecules/popover/popover.d.ts +10 -1
  340. package/dist/types/components/molecules/radio/{group.d.ts → radio-group.d.ts} +19 -27
  341. package/dist/types/components/molecules/radio/radio.d.ts +5 -11
  342. package/dist/types/components/molecules/search/search.d.ts +1 -0
  343. package/dist/types/components/molecules/stepper/stepper.d.ts +3 -3
  344. package/dist/types/components/molecules/tab-group/tab-group.d.ts +7 -4
  345. package/dist/types/components/molecules/tab-group/tab-item-header.d.ts +13 -0
  346. package/dist/types/components/molecules/tab-group/tab-item.d.ts +17 -0
  347. package/dist/types/components/molecules/tooltip/tooltip.d.ts +10 -1
  348. package/dist/types/components/organism/list/list.d.ts +1 -0
  349. package/dist/types/components/other/input-custom/input-custom.d.ts +20 -0
  350. package/dist/types/components.d.ts +136 -42
  351. package/dist/types/helper/generate.d.ts +3 -0
  352. package/dist/types/helper/popover-helper.d.ts +13 -3
  353. package/dist/types/helper/tooltip-helper.d.ts +13 -3
  354. package/dist/types/templates/list-template.d.ts +1 -0
  355. package/package.json +1 -1
  356. package/dist/bromcom-ui/p-053e9893.js +0 -5
  357. package/dist/bromcom-ui/p-07ebe62b.entry.js +0 -10
  358. package/dist/bromcom-ui/p-08c22a43.entry.js +0 -5
  359. package/dist/bromcom-ui/p-0a6cf248.entry.js +0 -5
  360. package/dist/bromcom-ui/p-15dcafdc.entry.js +0 -5
  361. package/dist/bromcom-ui/p-1683b3c0.entry.js +0 -5
  362. package/dist/bromcom-ui/p-1eaffb4d.entry.js +0 -5
  363. package/dist/bromcom-ui/p-2d75fb9d.entry.js +0 -5
  364. package/dist/bromcom-ui/p-2dc55ebd.entry.js +0 -5
  365. package/dist/bromcom-ui/p-2de23a54.entry.js +0 -5
  366. package/dist/bromcom-ui/p-3118bba1.entry.js +0 -5
  367. package/dist/bromcom-ui/p-3f3bb4b0.entry.js +0 -5
  368. package/dist/bromcom-ui/p-3f4192c8.entry.js +0 -5
  369. package/dist/bromcom-ui/p-40736ee7.entry.js +0 -5
  370. package/dist/bromcom-ui/p-44843df2.entry.js +0 -5
  371. package/dist/bromcom-ui/p-612f6cbc.entry.js +0 -5
  372. package/dist/bromcom-ui/p-69bffd70.entry.js +0 -5
  373. package/dist/bromcom-ui/p-6c77955c.entry.js +0 -5
  374. package/dist/bromcom-ui/p-6f98089c.entry.js +0 -5
  375. package/dist/bromcom-ui/p-6fcb72c6.entry.js +0 -5
  376. package/dist/bromcom-ui/p-73076cdb.entry.js +0 -5
  377. package/dist/bromcom-ui/p-751ee360.entry.js +0 -5
  378. package/dist/bromcom-ui/p-7b7ae0f3.entry.js +0 -5
  379. package/dist/bromcom-ui/p-7c318b12.js +0 -5
  380. package/dist/bromcom-ui/p-7ea09be3.js +0 -5
  381. package/dist/bromcom-ui/p-87de49b4.entry.js +0 -5
  382. package/dist/bromcom-ui/p-8914af05.entry.js +0 -5
  383. package/dist/bromcom-ui/p-918acf86.entry.js +0 -5
  384. package/dist/bromcom-ui/p-962d32ef.entry.js +0 -5
  385. package/dist/bromcom-ui/p-968e2d79.js +0 -5
  386. package/dist/bromcom-ui/p-9d349123.entry.js +0 -5
  387. package/dist/bromcom-ui/p-a3864e85.entry.js +0 -5
  388. package/dist/bromcom-ui/p-a5077dec.entry.js +0 -5
  389. package/dist/bromcom-ui/p-a8d1397d.js +0 -5
  390. package/dist/bromcom-ui/p-adf96c3b.entry.js +0 -5
  391. package/dist/bromcom-ui/p-b00d3d27.entry.js +0 -5
  392. package/dist/bromcom-ui/p-c421b369.entry.js +0 -5
  393. package/dist/bromcom-ui/p-c9e1f317.entry.js +0 -5
  394. package/dist/bromcom-ui/p-cd8998bd.entry.js +0 -5
  395. package/dist/bromcom-ui/p-cf5ad8a8.entry.js +0 -5
  396. package/dist/bromcom-ui/p-d1bd9b8d.entry.js +0 -5
  397. package/dist/bromcom-ui/p-dddbb790.entry.js +0 -5
  398. package/dist/bromcom-ui/p-de332baa.entry.js +0 -5
  399. package/dist/bromcom-ui/p-e258c81c.entry.js +0 -5
  400. package/dist/bromcom-ui/p-e9cea37d.entry.js +0 -5
  401. package/dist/bromcom-ui/p-ea9667ba.entry.js +0 -5
  402. package/dist/bromcom-ui/p-f7e85c95.entry.js +0 -5
  403. package/dist/bromcom-ui/p-f9608226.entry.js +0 -5
  404. package/dist/bromcom-ui/p-fa5118d5.entry.js +0 -5
  405. package/dist/bromcom-ui/p-faee01b2.entry.js +0 -5
  406. package/dist/cjs/bcm-search.cjs.entry.js +0 -257
  407. package/dist/collection/components/molecules/radio/group.css +0 -802
  408. package/dist/collection/components/molecules/radio/radio.css +0 -1286
  409. package/dist/collection/components/molecules/radio/types.js +0 -30
  410. package/dist/collection/components/molecules/states/radio-group.states.js +0 -107
  411. package/dist/esm/bcm-search.entry.js +0 -253
  412. package/dist/types/components/molecules/radio/types.d.ts +0 -29
  413. package/dist/types/components/molecules/states/radio-group.states.d.ts +0 -48
@@ -13,89 +13,77 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
13
13
  return c > 3 && r && Object.defineProperty(target, key, r), r;
14
14
  };
15
15
  import { h, Host } from "@stencil/core";
16
+ import { Generate } from "@bcm/helpers";
17
+ import { Bcm } from "@bcm/model";
18
+ import { CaptionTemplate } from "@bcm/template";
19
+ import { delay } from "@bcm/utils";
16
20
  import cs from 'classnames';
17
- import snq from "snq";
18
- import { IsLoad } from "../../../decorators/is-load-decorator";
19
- import { Generate } from "../../../helper/generate";
20
- import Bcm from "../../../models/bcm";
21
- import { CaptionTemplate } from "../../../templates/caption-template";
22
- import { delay, getChildElements } from "../../../utils/utils";
23
- import radioGroupState from "../states/radio-group.states";
21
+ import { IsLoad } from "@bcm/decorator";
24
22
  export class BcmRadioGroup {
25
23
  constructor() {
26
24
  this._id = Generate.UID();
27
- this.value = undefined;
28
- this.direction = Bcm.Direction.horizontal;
29
- this.items = [];
30
- this.size = Bcm.Size.medium;
31
- this.name = undefined;
32
25
  this.label = undefined;
26
+ this.name = undefined;
27
+ this.value = null;
28
+ this.defaultValue = undefined;
29
+ this.size = Bcm.Size.medium;
33
30
  this.disabled = false;
34
31
  this.hidden = false;
35
32
  this.required = false;
36
33
  this.gap = undefined;
37
- this.defaultValue = undefined;
38
- this.optionType = 'default';
39
- this.buttonStyle = 'solid';
34
+ this.direction = Bcm.Direction.horizontal;
40
35
  this.fullWidth = false;
36
+ this.items = [];
41
37
  this.caption = undefined;
42
38
  this.noCaption = false;
43
39
  this.captionError = undefined;
44
40
  this.captionType = Bcm.Status.default;
45
41
  this.captionCache = undefined;
46
42
  this.captionTypeCache = undefined;
47
- this.radioOptions = [];
48
- this.usingSlots = true;
49
- this.tick = {};
50
43
  }
51
- disconnectedCallback() {
52
- radioGroupState.removeState(this._id);
44
+ get radios() {
45
+ return Array.from(this.el.querySelectorAll("bcm-radio"));
53
46
  }
54
- componentDidLoad() {
55
- this.initState();
47
+ get Items() {
48
+ return this.items;
56
49
  }
57
- componentShouldUpdate(newVal, oldVal, propName) {
58
- if ((propName == 'defaultValue' || propName == 'tick') && newVal !== oldVal) {
59
- const isHaveChild = snq(() => radioGroupState.getProperty(this._id).childs.length > 0, false);
60
- if (isHaveChild) {
61
- this.getValue().then(values => (this.value = values));
62
- }
63
- }
50
+ connectedCallback() {
51
+ this.captionCache = this.caption;
52
+ this.captionTypeCache = this.captionType;
64
53
  }
65
- async initState() {
66
- const { fullWidth, optionType, buttonStyle, size, disabled, noCaption, defaultValue, label, required, captionType, hidden, direction, gap, items, name } = this;
67
- const defaultCheckedItems = defaultValue && defaultValue;
68
- const childElements = items.length > 0 ? snq(() => (typeof this.items == 'string' ? JSON.parse(this.items) : this.items)) : await this.getRadioItems();
69
- await radioGroupState.setValue({
70
- id: this._id,
71
- el: this.el,
72
- name,
73
- fullWidth,
74
- optionType,
75
- buttonStyle,
76
- size,
77
- disabled,
78
- defaultCheckedItems,
79
- label,
80
- noCaption,
81
- required,
82
- captionType,
83
- hidden,
84
- gap,
85
- direction,
86
- childs: childElements,
54
+ updateValue() {
55
+ var _a, _b, _c;
56
+ this.value = (_c = (_b = (_a = this.radios) === null || _a === void 0 ? void 0 : _a.find(radio => radio.checked)) === null || _b === void 0 ? void 0 : _b.value) !== null && _c !== void 0 ? _c : null;
57
+ }
58
+ componentWillLoad() {
59
+ var _a;
60
+ (_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
61
+ radio.disabled = radio.disabled || this.disabled;
62
+ radio.size = this.size;
63
+ if (this.defaultValue) {
64
+ radio.checked = radio.value == this.defaultValue;
65
+ }
87
66
  });
88
- this.getValue().then(values => (this.value = values));
67
+ this.updateValue();
89
68
  }
90
- async markForCheck() {
91
- await delay(10);
92
- this.tick = Generate.UID();
69
+ handleChange(e) {
70
+ var _a, _b;
71
+ e.stopPropagation();
72
+ e.preventDefault();
73
+ const checked = (_a = e.target.checked) !== null && _a !== void 0 ? _a : false;
74
+ (_b = this.radios) === null || _b === void 0 ? void 0 : _b.forEach(radio => {
75
+ radio.checked = radio.id == e.target.id ? !checked : false;
76
+ });
77
+ this.updateValue();
78
+ this.change.emit(this.value);
93
79
  }
80
+ ;
94
81
  async setClear() {
95
- radioGroupState.setClear(this._id);
96
- this.markForCheck();
97
- await delay(10);
98
- return Promise.resolve();
82
+ var _a;
83
+ this.value = null;
84
+ (_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
85
+ radio.checked = false;
86
+ });
99
87
  }
100
88
  async resetCaption() {
101
89
  await delay(10);
@@ -105,71 +93,35 @@ export class BcmRadioGroup {
105
93
  await delay(10);
106
94
  return Promise.resolve();
107
95
  }
108
- async set(data) {
109
- await this.check(data);
96
+ async check(itemId, checked = true) {
97
+ var _a;
98
+ (_a = this.radios) === null || _a === void 0 ? void 0 : _a.forEach(radio => {
99
+ radio.checked = radio.id == itemId || radio.value == itemId ? checked : false;
100
+ });
101
+ this.updateValue();
102
+ this.change.emit(this.value);
110
103
  }
111
104
  async get() {
112
- return await this.getValue();
105
+ return this.value;
113
106
  }
114
- async check(item, checked = true) {
115
- radioGroupState.setCheckedItem(this._id, item, checked);
116
- this.defaultValue = item;
117
- await this.markForCheck();
118
- this.change.emit(this.value);
107
+ async set(data) {
108
+ await this.check(data);
119
109
  }
120
110
  async getValue() {
121
- return radioGroupState.getValue(this._id);
122
- }
123
- handleItemsChange() {
124
- this.initState();
125
- }
126
- getRadioItems() {
127
- return getChildElements(this.el, 'bcm-radio');
128
- }
129
- async changeRadio(event) {
130
- radioGroupState.state.onChange = { id: this._id, childId: event };
131
- await this.markForCheck();
132
- this.change.emit(this.value);
133
- }
134
- getItems() {
135
- return radioGroupState.getProperty(this._id);
136
- }
137
- connectedCallback() {
138
- this.captionCache = this.caption;
139
- this.captionTypeCache = this.captionType;
111
+ return this.value;
140
112
  }
141
113
  render() {
142
- const { label, required, hidden, childs, gap, direction, fullWidth, optionType } = this.getItems();
143
- const bcmRadioGroupHostClasses = cs('bcm-radio-group', {
144
- hidden,
145
- 'error': this.captionType == 'error',
146
- 'full-width': fullWidth,
147
- });
148
- const bcmRadioGroupContainerClasses = cs('bcm-radio-group__container', optionType, {
149
- [direction]: optionType === 'default',
150
- 'full-width': fullWidth,
151
- });
152
- return (h(Host, { class: bcmRadioGroupHostClasses }, label && h("bcm-label", { type: this.captionType, value: label, required: required }), h("div", { class: bcmRadioGroupContainerClasses, style: gap && { gap: gap } }, childs &&
153
- childs.map(radio => (h("bcm-radio", { id: radio.id, onClick: e => {
154
- !radio.disabled && this.changeRadio(radio.id), e.preventDefault();
155
- }, value: radio.value, disabled: radio.disabled, checked: radio.checked, size: radio.size, color: radio.color, required: radio.required, hidden: radio.hidden, "no-margin": true }, radio.slot || radio.label)))), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption }), h("span", { hidden: true }, h("slot", null))));
114
+ var _a, _b;
115
+ const { direction, fullWidth, gap, label, size, required, disabled, caption, captionError, captionType, noCaption } = this;
116
+ return (h(Host, { role: "radio-group", class: "tw-mb-2 tw-flex tw-flex-col" }, label && h("bcm-label", { type: captionType, value: label, required: required }), h("div", { class: cs("tw-flex tw-flex-wrap", direction == Bcm.Direction.horizontal ? "tw-flex-row" : "tw-flex-col", fullWidth && "tw-w-full"), style: { "gap": gap } }, h("slot", null), ((_a = this.Items) === null || _a === void 0 ? void 0 : _a.length) > 0 &&
117
+ ((_b = this.Items) === null || _b === void 0 ? void 0 : _b.map(item => (h("bcm-radio", { id: item.id, value: item.value, disabled: disabled || item.disabled, checked: item.checked, color: item.color, size: size }, item.label))))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption })));
156
118
  }
157
119
  static get is() { return "bcm-radio-group"; }
158
- static get originalStyleUrls() {
159
- return {
160
- "$": ["group.scss"]
161
- };
162
- }
163
- static get styleUrls() {
164
- return {
165
- "$": ["group.css"]
166
- };
167
- }
168
120
  static get properties() {
169
121
  return {
170
122
  "_id": {
171
123
  "type": "string",
172
- "mutable": true,
124
+ "mutable": false,
173
125
  "complexType": {
174
126
  "original": "string",
175
127
  "resolved": "string",
@@ -185,12 +137,12 @@ export class BcmRadioGroup {
185
137
  "reflect": true,
186
138
  "defaultValue": "Generate.UID()"
187
139
  },
188
- "value": {
189
- "type": "any",
190
- "mutable": true,
140
+ "label": {
141
+ "type": "string",
142
+ "mutable": false,
191
143
  "complexType": {
192
- "original": "string | number",
193
- "resolved": "number | string",
144
+ "original": "string",
145
+ "resolved": "string",
194
146
  "references": {}
195
147
  },
196
148
  "required": false,
@@ -199,46 +151,16 @@ export class BcmRadioGroup {
199
151
  "tags": [],
200
152
  "text": ""
201
153
  },
202
- "attribute": "value",
154
+ "attribute": "label",
203
155
  "reflect": false
204
156
  },
205
- "direction": {
206
- "type": "string",
207
- "mutable": true,
208
- "complexType": {
209
- "original": "DirectionTypes",
210
- "resolved": "\"horizontal\" | \"vertical\"",
211
- "references": {
212
- "DirectionTypes": {
213
- "location": "import",
214
- "path": "../../../models/bcm-types"
215
- }
216
- }
217
- },
218
- "required": false,
219
- "optional": false,
220
- "docs": {
221
- "tags": [],
222
- "text": ""
223
- },
224
- "attribute": "direction",
225
- "reflect": false,
226
- "defaultValue": "Bcm.Direction.horizontal"
227
- },
228
- "items": {
157
+ "name": {
229
158
  "type": "string",
230
- "mutable": true,
159
+ "mutable": false,
231
160
  "complexType": {
232
- "original": "Array<object> | OptionType[] | string",
233
- "resolved": "OptionType[] | object[] | string",
234
- "references": {
235
- "Array": {
236
- "location": "global"
237
- },
238
- "OptionType": {
239
- "location": "local"
240
- }
241
- }
161
+ "original": "string",
162
+ "resolved": "string",
163
+ "references": {}
242
164
  },
243
165
  "required": false,
244
166
  "optional": false,
@@ -246,22 +168,16 @@ export class BcmRadioGroup {
246
168
  "tags": [],
247
169
  "text": ""
248
170
  },
249
- "attribute": "items",
250
- "reflect": false,
251
- "defaultValue": "[]"
171
+ "attribute": "name",
172
+ "reflect": false
252
173
  },
253
- "size": {
254
- "type": "string",
174
+ "value": {
175
+ "type": "any",
255
176
  "mutable": true,
256
177
  "complexType": {
257
- "original": "SizeTypes",
258
- "resolved": "\"large\" | \"medium\" | \"small\"",
259
- "references": {
260
- "SizeTypes": {
261
- "location": "import",
262
- "path": "../../../models/bcm-types"
263
- }
264
- }
178
+ "original": "string | number",
179
+ "resolved": "number | string",
180
+ "references": {}
265
181
  },
266
182
  "required": false,
267
183
  "optional": false,
@@ -269,16 +185,16 @@ export class BcmRadioGroup {
269
185
  "tags": [],
270
186
  "text": ""
271
187
  },
272
- "attribute": "size",
188
+ "attribute": "value",
273
189
  "reflect": false,
274
- "defaultValue": "Bcm.Size.medium"
190
+ "defaultValue": "null"
275
191
  },
276
- "name": {
277
- "type": "string",
278
- "mutable": true,
192
+ "defaultValue": {
193
+ "type": "any",
194
+ "mutable": false,
279
195
  "complexType": {
280
- "original": "string",
281
- "resolved": "string",
196
+ "original": "string | number",
197
+ "resolved": "number | string",
282
198
  "references": {}
283
199
  },
284
200
  "required": false,
@@ -287,16 +203,21 @@ export class BcmRadioGroup {
287
203
  "tags": [],
288
204
  "text": ""
289
205
  },
290
- "attribute": "name",
206
+ "attribute": "default-value",
291
207
  "reflect": false
292
208
  },
293
- "label": {
209
+ "size": {
294
210
  "type": "string",
295
- "mutable": true,
211
+ "mutable": false,
296
212
  "complexType": {
297
- "original": "string",
298
- "resolved": "string",
299
- "references": {}
213
+ "original": "SizeTypes",
214
+ "resolved": "\"large\" | \"medium\" | \"small\"",
215
+ "references": {
216
+ "SizeTypes": {
217
+ "location": "import",
218
+ "path": "@bcm/model"
219
+ }
220
+ }
300
221
  },
301
222
  "required": false,
302
223
  "optional": false,
@@ -304,12 +225,13 @@ export class BcmRadioGroup {
304
225
  "tags": [],
305
226
  "text": ""
306
227
  },
307
- "attribute": "label",
308
- "reflect": false
228
+ "attribute": "size",
229
+ "reflect": false,
230
+ "defaultValue": "Bcm.Size.medium"
309
231
  },
310
232
  "disabled": {
311
233
  "type": "boolean",
312
- "mutable": true,
234
+ "mutable": false,
313
235
  "complexType": {
314
236
  "original": "boolean",
315
237
  "resolved": "boolean",
@@ -327,7 +249,7 @@ export class BcmRadioGroup {
327
249
  },
328
250
  "hidden": {
329
251
  "type": "boolean",
330
- "mutable": true,
252
+ "mutable": false,
331
253
  "complexType": {
332
254
  "original": "boolean",
333
255
  "resolved": "boolean",
@@ -345,7 +267,7 @@ export class BcmRadioGroup {
345
267
  },
346
268
  "required": {
347
269
  "type": "boolean",
348
- "mutable": true,
270
+ "mutable": false,
349
271
  "complexType": {
350
272
  "original": "boolean",
351
273
  "resolved": "boolean",
@@ -363,7 +285,7 @@ export class BcmRadioGroup {
363
285
  },
364
286
  "gap": {
365
287
  "type": "string",
366
- "mutable": true,
288
+ "mutable": false,
367
289
  "complexType": {
368
290
  "original": "string",
369
291
  "resolved": "string",
@@ -378,13 +300,18 @@ export class BcmRadioGroup {
378
300
  "attribute": "gap",
379
301
  "reflect": false
380
302
  },
381
- "defaultValue": {
303
+ "direction": {
382
304
  "type": "string",
383
- "mutable": true,
305
+ "mutable": false,
384
306
  "complexType": {
385
- "original": "string",
386
- "resolved": "string",
387
- "references": {}
307
+ "original": "DirectionTypes",
308
+ "resolved": "\"horizontal\" | \"vertical\"",
309
+ "references": {
310
+ "DirectionTypes": {
311
+ "location": "import",
312
+ "path": "@bcm/model"
313
+ }
314
+ }
388
315
  },
389
316
  "required": false,
390
317
  "optional": false,
@@ -392,15 +319,16 @@ export class BcmRadioGroup {
392
319
  "tags": [],
393
320
  "text": ""
394
321
  },
395
- "attribute": "default-value",
396
- "reflect": false
322
+ "attribute": "direction",
323
+ "reflect": false,
324
+ "defaultValue": "Bcm.Direction.horizontal"
397
325
  },
398
- "optionType": {
399
- "type": "string",
400
- "mutable": true,
326
+ "fullWidth": {
327
+ "type": "boolean",
328
+ "mutable": false,
401
329
  "complexType": {
402
- "original": "'default' | 'button'",
403
- "resolved": "\"button\" | \"default\"",
330
+ "original": "boolean",
331
+ "resolved": "boolean",
404
332
  "references": {}
405
333
  },
406
334
  "required": false,
@@ -409,17 +337,24 @@ export class BcmRadioGroup {
409
337
  "tags": [],
410
338
  "text": ""
411
339
  },
412
- "attribute": "option-type",
340
+ "attribute": "full-width",
413
341
  "reflect": false,
414
- "defaultValue": "'default'"
342
+ "defaultValue": "false"
415
343
  },
416
- "buttonStyle": {
344
+ "items": {
417
345
  "type": "string",
418
- "mutable": true,
346
+ "mutable": false,
419
347
  "complexType": {
420
- "original": "'solid' | 'outline'",
421
- "resolved": "\"outline\" | \"solid\"",
422
- "references": {}
348
+ "original": "Array<object> | OptionType[] | string",
349
+ "resolved": "OptionType[] | object[] | string",
350
+ "references": {
351
+ "Array": {
352
+ "location": "global"
353
+ },
354
+ "OptionType": {
355
+ "location": "local"
356
+ }
357
+ }
423
358
  },
424
359
  "required": false,
425
360
  "optional": false,
@@ -427,31 +362,13 @@ export class BcmRadioGroup {
427
362
  "tags": [],
428
363
  "text": ""
429
364
  },
430
- "attribute": "button-style",
365
+ "attribute": "items",
431
366
  "reflect": false,
432
- "defaultValue": "'solid'"
433
- },
434
- "fullWidth": {
435
- "type": "any",
436
- "mutable": true,
437
- "complexType": {
438
- "original": "boolean | 'flex'",
439
- "resolved": "\"flex\" | boolean",
440
- "references": {}
441
- },
442
- "required": false,
443
- "optional": false,
444
- "docs": {
445
- "tags": [],
446
- "text": ""
447
- },
448
- "attribute": "full-width",
449
- "reflect": true,
450
- "defaultValue": "false"
367
+ "defaultValue": "[]"
451
368
  },
452
369
  "caption": {
453
370
  "type": "string",
454
- "mutable": true,
371
+ "mutable": false,
455
372
  "complexType": {
456
373
  "original": "string",
457
374
  "resolved": "string",
@@ -468,7 +385,7 @@ export class BcmRadioGroup {
468
385
  },
469
386
  "noCaption": {
470
387
  "type": "boolean",
471
- "mutable": true,
388
+ "mutable": false,
472
389
  "complexType": {
473
390
  "original": "boolean",
474
391
  "resolved": "boolean",
@@ -486,7 +403,7 @@ export class BcmRadioGroup {
486
403
  },
487
404
  "captionError": {
488
405
  "type": "string",
489
- "mutable": true,
406
+ "mutable": false,
490
407
  "complexType": {
491
408
  "original": "string",
492
409
  "resolved": "string",
@@ -503,14 +420,14 @@ export class BcmRadioGroup {
503
420
  },
504
421
  "captionType": {
505
422
  "type": "string",
506
- "mutable": true,
423
+ "mutable": false,
507
424
  "complexType": {
508
425
  "original": "StatusTypes",
509
426
  "resolved": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
510
427
  "references": {
511
428
  "StatusTypes": {
512
429
  "location": "import",
513
- "path": "../../../models/bcm-types"
430
+ "path": "@bcm/model"
514
431
  }
515
432
  }
516
433
  },
@@ -529,10 +446,7 @@ export class BcmRadioGroup {
529
446
  static get states() {
530
447
  return {
531
448
  "captionCache": {},
532
- "captionTypeCache": {},
533
- "radioOptions": {},
534
- "usingSlots": {},
535
- "tick": {}
449
+ "captionTypeCache": {}
536
450
  };
537
451
  }
538
452
  static get events() {
@@ -587,12 +501,15 @@ export class BcmRadioGroup {
587
501
  "tags": []
588
502
  }
589
503
  },
590
- "set": {
504
+ "check": {
591
505
  "complexType": {
592
- "signature": "(data: any) => Promise<void>",
506
+ "signature": "(itemId: any, checked?: boolean) => Promise<void>",
593
507
  "parameters": [{
594
508
  "tags": [],
595
509
  "text": ""
510
+ }, {
511
+ "tags": [],
512
+ "text": ""
596
513
  }],
597
514
  "references": {
598
515
  "Promise": {
@@ -608,29 +525,26 @@ export class BcmRadioGroup {
608
525
  },
609
526
  "get": {
610
527
  "complexType": {
611
- "signature": "() => Promise<string>",
528
+ "signature": "() => Promise<string | number>",
612
529
  "parameters": [],
613
530
  "references": {
614
531
  "Promise": {
615
532
  "location": "global"
616
533
  }
617
534
  },
618
- "return": "Promise<string>"
535
+ "return": "Promise<string | number>"
619
536
  },
620
537
  "docs": {
621
538
  "text": "",
622
539
  "tags": []
623
540
  }
624
541
  },
625
- "check": {
542
+ "set": {
626
543
  "complexType": {
627
- "signature": "(item: any, checked?: boolean) => Promise<void>",
544
+ "signature": "(data: any) => Promise<void>",
628
545
  "parameters": [{
629
546
  "tags": [],
630
547
  "text": ""
631
- }, {
632
- "tags": [],
633
- "text": ""
634
548
  }],
635
549
  "references": {
636
550
  "Promise": {
@@ -646,14 +560,14 @@ export class BcmRadioGroup {
646
560
  },
647
561
  "getValue": {
648
562
  "complexType": {
649
- "signature": "() => Promise<string>",
563
+ "signature": "() => Promise<string | number>",
650
564
  "parameters": [],
651
565
  "references": {
652
566
  "Promise": {
653
567
  "location": "global"
654
568
  }
655
569
  },
656
- "return": "Promise<string>"
570
+ "return": "Promise<string | number>"
657
571
  },
658
572
  "docs": {
659
573
  "text": "",
@@ -663,10 +577,13 @@ export class BcmRadioGroup {
663
577
  };
664
578
  }
665
579
  static get elementRef() { return "el"; }
666
- static get watchers() {
580
+ static get listeners() {
667
581
  return [{
668
- "propName": "items",
669
- "methodName": "handleItemsChange"
582
+ "name": "bcm-radio-change",
583
+ "method": "handleChange",
584
+ "target": undefined,
585
+ "capture": false,
586
+ "passive": false
670
587
  }];
671
588
  }
672
589
  }