bromcom-ui 2.8.1-rc.9 → 2.9.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-016a9d78.entry.js → p-02afc93f.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-d657a132.entry.js → p-0906c9b4.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-ab51aa2b.entry.js → p-0d4a552d.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-3c15cdb7.entry.js → p-0ee4e283.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-494df97b.entry.js → p-0fdbbbe8.entry.js} +1 -1
  7. package/dist/bromcom-ui/p-14378828.entry.js +5 -0
  8. package/dist/bromcom-ui/{p-92924b7e.entry.js → p-15fa3329.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-5de5cb0d.entry.js → p-1c5a2111.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-2053339a.entry.js → p-20ac20d4.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-daf2ed63.entry.js → p-236def30.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-9b0855f6.entry.js → p-24a733ff.entry.js} +1 -1
  13. package/dist/bromcom-ui/p-24aefda6.js +1 -1
  14. package/dist/bromcom-ui/p-2cb4a196.entry.js +5 -0
  15. package/dist/bromcom-ui/{p-b3584d64.js → p-2ea24a6e.js} +1 -1
  16. package/dist/bromcom-ui/{p-6af5bc87.entry.js → p-334e3147.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-125d13c0.entry.js → p-344a4674.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-3ad545f0.entry.js +5 -0
  19. package/dist/bromcom-ui/{p-7b5ddef4.entry.js → p-40a5e4fc.entry.js} +1 -1
  20. package/dist/bromcom-ui/p-440afdfa.entry.js +5 -0
  21. package/dist/bromcom-ui/{p-6cf8afd4.entry.js → p-4b34b3f9.entry.js} +1 -1
  22. package/dist/bromcom-ui/{p-6b692c54.entry.js → p-55001c80.entry.js} +1 -1
  23. package/dist/bromcom-ui/{p-73f70b2f.entry.js → p-56896e3a.entry.js} +1 -1
  24. package/dist/bromcom-ui/{p-f8b03d4d.entry.js → p-5f288af5.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-284542a6.entry.js → p-70b428e8.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-40d258ce.entry.js → p-72b7fda0.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-a6f5fe0b.entry.js → p-7658ec26.entry.js} +1 -1
  28. package/dist/bromcom-ui/p-80a43b79.js +5 -0
  29. package/dist/bromcom-ui/p-87df3ffb.js +5 -0
  30. package/dist/bromcom-ui/{p-bc7ccd4e.entry.js → p-8864e6af.entry.js} +1 -1
  31. package/dist/bromcom-ui/p-89b21290.entry.js +5 -0
  32. package/dist/bromcom-ui/{p-90981da9.entry.js → p-89f7a5c7.entry.js} +1 -1
  33. package/dist/bromcom-ui/p-8d0ca8c2.js +1 -1
  34. package/dist/bromcom-ui/{p-34efb8eb.entry.js → p-9b10d955.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-585fbc98.entry.js → p-9c7e9b5d.entry.js} +1 -1
  36. package/dist/bromcom-ui/p-9eb2a75d.entry.js +5 -0
  37. package/dist/bromcom-ui/p-a0a3fd94.entry.js +5 -0
  38. package/dist/bromcom-ui/{p-b94bdddf.entry.js → p-a2046742.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-a429e85b.js +1 -1
  40. package/dist/bromcom-ui/{p-997c4fbd.entry.js → p-a49ded35.entry.js} +1 -1
  41. package/dist/bromcom-ui/p-a97ee69d.entry.js +19 -0
  42. package/dist/bromcom-ui/{p-8114163e.entry.js → p-ab55def1.entry.js} +1 -1
  43. package/dist/bromcom-ui/p-b60bcecf.js +1 -1
  44. package/dist/bromcom-ui/{p-a3453263.js → p-b94fa326.js} +1 -1
  45. package/dist/bromcom-ui/{p-e28100e6.entry.js → p-be6d0712.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-e60380c6.entry.js → p-c9b10de5.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-0a404cf9.entry.js → p-cad8f786.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-3642f316.entry.js → p-cf7af1fc.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-e17e1e3e.entry.js → p-d011a407.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-8c2bf4ad.entry.js → p-d1598dd5.entry.js} +1 -1
  51. package/dist/bromcom-ui/p-d3cb8d25.js +5 -0
  52. package/dist/bromcom-ui/{p-ee75e899.entry.js → p-dcb2ae7f.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-09d1d69d.entry.js → p-dce2079e.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-83bae50b.entry.js → p-e008411a.entry.js} +1 -1
  55. package/dist/bromcom-ui/{p-fe1532b5.js → p-e0f440b4.js} +1 -1
  56. package/dist/bromcom-ui/{p-bfb70c75.entry.js → p-e3cafc0d.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-0372f13a.entry.js → p-e606c42b.entry.js} +1 -1
  58. package/dist/bromcom-ui/p-e66821e5.entry.js +5 -0
  59. package/dist/bromcom-ui/{p-10d55ac5.entry.js → p-e6ce5ec8.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-508580f7.js → p-f902b559.js} +1 -1
  61. package/dist/cjs/{bcm-634604e3.js → bcm-ab921827.js} +4 -4
  62. package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
  63. package/dist/cjs/bcm-alert.cjs.entry.js +3 -3
  64. package/dist/cjs/bcm-attendance.cjs.entry.js +1 -1
  65. package/dist/cjs/{bcm-colorful_2.cjs.entry.js → bcm-avatar_15.cjs.entry.js} +6164 -92
  66. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
  67. package/dist/cjs/bcm-button-group.cjs.entry.js +6 -6
  68. package/dist/cjs/bcm-card.cjs.entry.js +4 -4
  69. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +416 -0
  70. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +5 -5
  71. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +193 -0
  72. package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
  73. package/dist/cjs/bcm-color-input.cjs.entry.js +5 -5
  74. package/dist/cjs/bcm-date-picker.cjs.entry.js +3 -3
  75. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
  76. package/dist/cjs/bcm-default.cjs.entry.js +1 -1
  77. package/dist/cjs/bcm-drawer.cjs.entry.js +7 -7
  78. package/dist/cjs/bcm-dropdown.cjs.entry.js +6 -6
  79. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +3 -3
  80. package/dist/cjs/bcm-form-2.cjs.entry.js +5 -4
  81. package/dist/cjs/bcm-input-custom.cjs.entry.js +1 -1
  82. package/dist/cjs/bcm-item.cjs.entry.js +3 -3
  83. package/dist/cjs/bcm-items.cjs.entry.js +3 -3
  84. package/dist/cjs/bcm-link.cjs.entry.js +3 -3
  85. package/dist/cjs/bcm-menu.cjs.entry.js +7 -7
  86. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +5 -5
  87. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +5 -5
  88. package/dist/cjs/bcm-modal-2.cjs.entry.js +6 -6
  89. package/dist/cjs/bcm-modal.cjs.entry.js +6 -6
  90. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +4 -4
  91. package/dist/cjs/bcm-popconfirm.cjs.entry.js +4 -4
  92. package/dist/cjs/bcm-popover.cjs.entry.js +8 -8
  93. package/dist/cjs/bcm-progress.cjs.entry.js +3 -3
  94. package/dist/cjs/bcm-radio-group.cjs.entry.js +9 -9
  95. package/dist/cjs/bcm-radio.cjs.entry.js +12 -12
  96. package/dist/cjs/bcm-range.cjs.entry.js +5 -5
  97. package/dist/cjs/bcm-select.cjs.entry.js +2 -2
  98. package/dist/cjs/bcm-skeleton.cjs.entry.js +1 -1
  99. package/dist/cjs/bcm-step.cjs.entry.js +2 -2
  100. package/dist/cjs/bcm-stepper.cjs.entry.js +8 -8
  101. package/dist/cjs/bcm-switch.cjs.entry.js +8 -8
  102. package/dist/cjs/bcm-tab-group.cjs.entry.js +6 -6
  103. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +9 -9
  104. package/dist/cjs/bcm-tab-item.cjs.entry.js +5 -5
  105. package/dist/cjs/bcm-tag.cjs.entry.js +14 -14
  106. package/dist/cjs/bcm-text.cjs.entry.js +3 -3
  107. package/dist/cjs/bcm-textarea.cjs.entry.js +6 -6
  108. package/dist/cjs/bcm-time-picker.cjs.entry.js +3 -3
  109. package/dist/cjs/bcm-toast.cjs.entry.js +10 -10
  110. package/dist/cjs/bromcom-ui.cjs.js +1 -1
  111. package/dist/cjs/{floating-ui-74eb26d6.js → floating-ui-c9fc2202.js} +2 -2
  112. package/dist/cjs/{generate-cf48ed2d.js → generate-21143214.js} +1 -1
  113. package/dist/cjs/{input-template-129e6e5b.js → input-template-1441e468.js} +6 -6
  114. package/dist/cjs/{json-parse-decarator-f0554ad2.js → json-parse-decarator-8dbf0b0e.js} +1 -1
  115. package/dist/cjs/{label-template-cc69bc21.js → label-template-4d5f99a5.js} +3 -3
  116. package/dist/cjs/loader.cjs.js +1 -1
  117. package/dist/cjs/{number-helper-453e02ee.js → number-helper-08a7ff70.js} +1 -1
  118. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +6 -6
  119. package/dist/cjs/old-bcm-popover.cjs.entry.js +4 -4
  120. package/dist/cjs/{popover-placement-3c8f3a72.js → popover-placement-ccb40073.js} +1 -1
  121. package/dist/cjs/{slot-template-3e59d7d8.js → slot-template-d70ea082.js} +1 -1
  122. package/dist/cjs/{stepper-states-3082dce8.js → stepper-states-9b6818aa.js} +1 -1
  123. package/dist/cjs/{string-helper-45cffee0.js → string-helper-d681e5c7.js} +2 -2
  124. package/dist/cjs/{tooltip-helper-748b4ab6.js → tooltip-helper-235b26ea.js} +9 -9
  125. package/dist/cjs/{validators-2fcf98d3.js → validators-6a0077a8.js} +1 -1
  126. package/dist/collection/collection-manifest.json +1 -0
  127. package/dist/collection/components/atoms/chip/chip-group.js +292 -0
  128. package/dist/collection/components/atoms/chip/chip.js +107 -26
  129. package/dist/collection/components/molecules/linked/linked.js +6 -17
  130. package/dist/collection/components/organism/form/form.js +1 -0
  131. package/dist/collection/components/organism/form-2/bcm-form-components.js +1 -0
  132. package/dist/collection/components/organism/list/list.css +3 -0
  133. package/dist/components/bcm-chip-group.d.ts +11 -0
  134. package/dist/components/bcm-chip-group.js +174 -0
  135. package/dist/components/bcm-chip.js +1 -100
  136. package/dist/components/bcm-form-2.js +1 -0
  137. package/dist/components/bcm-form.js +1 -0
  138. package/dist/components/bcm-list.js +1 -1702
  139. package/dist/{esm/bcm-chip.entry.js → components/chip.js} +110 -33
  140. package/dist/components/generate.js +1 -1
  141. package/dist/components/index.d.ts +1 -0
  142. package/dist/components/index.js +1 -0
  143. package/dist/components/linked.js +6 -17
  144. package/dist/{esm/bcm-list.entry.js → components/list.js} +136 -31
  145. package/dist/esm/bcm-9f50af9c.js +1 -1
  146. package/dist/esm/bcm-accordion.entry.js +1 -1
  147. package/dist/esm/bcm-alert.entry.js +1 -1
  148. package/dist/esm/bcm-attendance.entry.js +1 -1
  149. package/dist/esm/{bcm-colorful_2.entry.js → bcm-avatar_15.entry.js} +6148 -89
  150. package/dist/esm/bcm-breadcrumb.entry.js +1 -1
  151. package/dist/esm/bcm-button-group.entry.js +2 -2
  152. package/dist/esm/bcm-card.entry.js +1 -1
  153. package/dist/esm/bcm-checkbox-group.entry.js +412 -0
  154. package/dist/esm/bcm-checkbox-lite_9.entry.js +2 -2
  155. package/dist/esm/bcm-checkbox_2.entry.js +188 -0
  156. package/dist/esm/bcm-collapse.entry.js +1 -1
  157. package/dist/esm/bcm-color-input.entry.js +3 -3
  158. package/dist/esm/bcm-date-picker.entry.js +2 -2
  159. package/dist/esm/bcm-datetime-picker.entry.js +2 -2
  160. package/dist/esm/bcm-default.entry.js +1 -1
  161. package/dist/esm/bcm-drawer.entry.js +4 -4
  162. package/dist/esm/bcm-dropdown.entry.js +3 -3
  163. package/dist/esm/bcm-expansion-panel.entry.js +1 -1
  164. package/dist/esm/bcm-form-2.entry.js +3 -2
  165. package/dist/esm/bcm-input-custom.entry.js +1 -1
  166. package/dist/esm/bcm-item.entry.js +2 -2
  167. package/dist/esm/bcm-items.entry.js +1 -1
  168. package/dist/esm/bcm-link.entry.js +1 -1
  169. package/dist/esm/bcm-menu.entry.js +4 -4
  170. package/dist/esm/bcm-modal-2-footer.entry.js +3 -3
  171. package/dist/esm/bcm-modal-2-header.entry.js +3 -3
  172. package/dist/esm/bcm-modal-2.entry.js +4 -4
  173. package/dist/esm/bcm-modal.entry.js +2 -2
  174. package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
  175. package/dist/esm/bcm-popconfirm.entry.js +2 -2
  176. package/dist/esm/bcm-popover.entry.js +4 -4
  177. package/dist/esm/bcm-progress.entry.js +2 -2
  178. package/dist/esm/bcm-radio-group.entry.js +4 -4
  179. package/dist/esm/bcm-radio.entry.js +4 -4
  180. package/dist/esm/bcm-range.entry.js +2 -2
  181. package/dist/esm/bcm-skeleton.entry.js +1 -1
  182. package/dist/esm/bcm-step.entry.js +2 -2
  183. package/dist/esm/bcm-stepper.entry.js +5 -5
  184. package/dist/esm/bcm-switch.entry.js +2 -2
  185. package/dist/esm/bcm-tab-group.entry.js +4 -4
  186. package/dist/esm/bcm-tab-item-header.entry.js +4 -4
  187. package/dist/esm/bcm-tab-item.entry.js +3 -3
  188. package/dist/esm/bcm-tag.entry.js +3 -3
  189. package/dist/esm/bcm-textarea.entry.js +3 -3
  190. package/dist/esm/bcm-time-picker.entry.js +2 -2
  191. package/dist/esm/bcm-toast.entry.js +2 -2
  192. package/dist/esm/bromcom-ui.js +1 -1
  193. package/dist/esm/floating-ui-e7341329.js +1 -1
  194. package/dist/esm/{generate-03cf1f82.js → generate-a39b1045.js} +1 -1
  195. package/dist/esm/{input-template-6137ed1b.js → input-template-e1df6efd.js} +2 -2
  196. package/dist/esm/{json-parse-decarator-699aaeeb.js → json-parse-decarator-b1ceb8c8.js} +1 -1
  197. package/dist/esm/label-template-d74fe788.js +1 -1
  198. package/dist/esm/loader.js +1 -1
  199. package/dist/esm/{number-helper-61c91978.js → number-helper-fa8e8000.js} +1 -1
  200. package/dist/esm/old-bcm-popover-box.entry.js +2 -2
  201. package/dist/esm/old-bcm-popover.entry.js +2 -2
  202. package/dist/esm/{stepper-states-0fc18a9f.js → stepper-states-44849ee8.js} +1 -1
  203. package/dist/esm/string-helper-6bd24967.js +1 -1
  204. package/dist/esm/{tooltip-helper-a06cb0a2.js → tooltip-helper-10b64c23.js} +4 -4
  205. package/dist/esm/{validators-c6a4a8ac.js → validators-dd70be40.js} +1 -1
  206. package/dist/types/components/atoms/chip/chip-group.d.ts +22 -0
  207. package/dist/types/components/atoms/chip/chip.d.ts +18 -13
  208. package/dist/types/components/molecules/linked/linked.d.ts +0 -2
  209. package/dist/types/components.d.ts +47 -4
  210. package/package.json +1 -1
  211. package/dist/bromcom-ui/p-00fd6de2.entry.js +0 -5
  212. package/dist/bromcom-ui/p-1736eee9.entry.js +0 -5
  213. package/dist/bromcom-ui/p-1eabd5dc.js +0 -10
  214. package/dist/bromcom-ui/p-28345f61.js +0 -5
  215. package/dist/bromcom-ui/p-3b3f7c54.entry.js +0 -5
  216. package/dist/bromcom-ui/p-4cbc9da5.entry.js +0 -5
  217. package/dist/bromcom-ui/p-55837df1.entry.js +0 -5
  218. package/dist/bromcom-ui/p-6ea2108c.entry.js +0 -5
  219. package/dist/bromcom-ui/p-7aa855fc.entry.js +0 -5
  220. package/dist/bromcom-ui/p-88078128.entry.js +0 -13
  221. package/dist/bromcom-ui/p-8aa77fd1.js +0 -5
  222. package/dist/bromcom-ui/p-c5bd9dd7.entry.js +0 -5
  223. package/dist/bromcom-ui/p-c818a4fc.entry.js +0 -5
  224. package/dist/bromcom-ui/p-c8c9d35e.entry.js +0 -5
  225. package/dist/bromcom-ui/p-cc45ea99.entry.js +0 -5
  226. package/dist/bromcom-ui/p-d155cf69.entry.js +0 -5
  227. package/dist/bromcom-ui/p-ebc87fe9.entry.js +0 -5
  228. package/dist/bromcom-ui/p-ed9bf8e9.js +0 -5
  229. package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -139
  230. package/dist/cjs/bcm-button_7.cjs.entry.js +0 -1521
  231. package/dist/cjs/bcm-chip.cjs.entry.js +0 -74
  232. package/dist/cjs/bcm-input.cjs.entry.js +0 -370
  233. package/dist/cjs/bcm-list.cjs.entry.js +0 -1607
  234. package/dist/cjs/bcm-rc-overflow_2.cjs.entry.js +0 -2443
  235. package/dist/cjs/bcm-typography.cjs.entry.js +0 -21
  236. package/dist/cjs/index-906fb4e5.js +0 -540
  237. package/dist/esm/bcm-avatar_2.entry.js +0 -134
  238. package/dist/esm/bcm-button_7.entry.js +0 -1511
  239. package/dist/esm/bcm-input.entry.js +0 -366
  240. package/dist/esm/bcm-rc-overflow_2.entry.js +0 -2438
  241. package/dist/esm/bcm-typography.entry.js +0 -17
  242. package/dist/esm/index-6310a048.js +0 -537
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{r as t,h as e,H as i,g as s}from"./p-da1055cb.js";import{c as a}from"./p-d65a1e21.js";import{I as h}from"./p-c23b6240.js";import{D as n}from"./p-626a65e9.js";import{G as p}from"./p-8aa77fd1.js";import{B as r}from"./p-a429e85b.js";import{d as l}from"./p-8c018ae0.js";import"./p-6f56f8ca.js";import"./p-4aa0e6b1.js";const o=class{constructor(e){t(this,e),this._id=p.UID(),this.date=new Date,this.value=void 0,this.endDate=null,this.range=!1,this.hidden=!1,this.name=void 0,this.fullWidth=!1,this.required=!1,this.label=void 0,this.placeholder=void 0,this.disabledDates="",this.disabled=!1,this.noCaption=!1,this.caption="",this.captionError=void 0,this.captionType="default",this.alignment=void 0,this._internal_id=(4*Math.random()).toString(16).replace(".",""),this.placement=r.Placement["bottom-start"],this.linkedComponent=void 0,this.clearable=!1,this.stateStartDate=null,this.stateEndDate=null}handleStartDateChange(){this.handleDate()}handleEndDateChange(){this.handleDate()}handlePickerLoad(){this.value=this.picker.value}handlePickerChange(t){this.value=t.detail}async set(t){return this.picker.set(t)}async get(){var t;return(null===(t=this.value)||void 0===t?void 0:t.timestamp)||null}async setDisabled(t){this.disabled=t}async setClear(){return await this.picker.setClear(),await l(10),Promise.resolve()}async setStartDate(t){t?(t=n.convertTimeStampToDate(new Date(t).getTime()),this.stateStartDate=t):this.setClear()}async setEndDate(t){t?(t=n.convertTimeStampToDate(new Date(t).getTime()),this.stateEndDate=t):this.setClear()}handleDate(){this.range?this.stateStartDate&&this.stateEndDate&&this.set(this.stateStartDate+"-"+this.stateEndDate):this.set(this.stateStartDate)}async getInput(){return await this.picker.getInput()}async open(){return await this.picker.open()}async getValue(){return this.value}async isValid(){return await this.picker.isValid()}async resetCaption(){return await l(10),await this.picker.resetCaption(),this.captionType="default",this.captionError=null,await l(10),Promise.resolve()}render(){const t=a(this.hidden?"hidden":null,{"full-width":this.fullWidth,"linked-component":this.linkedComponent});return e(i,{class:t},e("bcm-datetime-picker",{"linked-component":this.linkedComponent,id:this._id,name:this.name,type:this.range?"range":"date",date:this.date,placeholder:this.placeholder,fullWidth:this.fullWidth,ref:t=>this.picker=t,required:this.required,clearable:this.clearable,label:this.label,"end-date":this.endDate,disabled:this.disabled,disabledDates:this.disabledDates,"on-bcm-load":()=>this.handlePickerLoad(),"on-bcm-change":t=>this.handlePickerChange(t),noCaption:this.noCaption,caption:this.caption,captionError:this.captionError,captionType:this.captionType,alignment:this.alignment,placement:this.placement}))}get el(){return s(this)}static get watchers(){return{stateStartDate:["handleStartDateChange"],stateEndDate:["handleEndDateChange"]}}};(function(t,e,i,s){var a,h=arguments.length,n=h<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var p=t.length-1;p>=0;p--)(a=t[p])&&(n=(h<3?a(n):h>3?a(e,i,n):a(e,i))||n);h>3&&n&&Object.defineProperty(e,i,n)})([h()],o.prototype,"el",void 0),o.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-block;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}';export{o as bcm_date_picker}
5
+ import{r as t,h as e,H as i,g as s}from"./p-da1055cb.js";import{c as a}from"./p-d65a1e21.js";import{I as h}from"./p-c23b6240.js";import{D as n}from"./p-626a65e9.js";import{G as p}from"./p-d3cb8d25.js";import{a as r}from"./p-a429e85b.js";import{d as l}from"./p-8c018ae0.js";import"./p-6f56f8ca.js";import"./p-4aa0e6b1.js";const o=class{constructor(e){t(this,e),this._id=p.UID(),this.date=new Date,this.value=void 0,this.endDate=null,this.range=!1,this.hidden=!1,this.name=void 0,this.fullWidth=!1,this.required=!1,this.label=void 0,this.placeholder=void 0,this.disabledDates="",this.disabled=!1,this.noCaption=!1,this.caption="",this.captionError=void 0,this.captionType="default",this.alignment=void 0,this._internal_id=(4*Math.random()).toString(16).replace(".",""),this.placement=r.Placement["bottom-start"],this.linkedComponent=void 0,this.clearable=!1,this.stateStartDate=null,this.stateEndDate=null}handleStartDateChange(){this.handleDate()}handleEndDateChange(){this.handleDate()}handlePickerLoad(){this.value=this.picker.value}handlePickerChange(t){this.value=t.detail}async set(t){return this.picker.set(t)}async get(){var t;return(null===(t=this.value)||void 0===t?void 0:t.timestamp)||null}async setDisabled(t){this.disabled=t}async setClear(){return await this.picker.setClear(),await l(10),Promise.resolve()}async setStartDate(t){t?(t=n.convertTimeStampToDate(new Date(t).getTime()),this.stateStartDate=t):this.setClear()}async setEndDate(t){t?(t=n.convertTimeStampToDate(new Date(t).getTime()),this.stateEndDate=t):this.setClear()}handleDate(){this.range?this.stateStartDate&&this.stateEndDate&&this.set(this.stateStartDate+"-"+this.stateEndDate):this.set(this.stateStartDate)}async getInput(){return await this.picker.getInput()}async open(){return await this.picker.open()}async getValue(){return this.value}async isValid(){return await this.picker.isValid()}async resetCaption(){return await l(10),await this.picker.resetCaption(),this.captionType="default",this.captionError=null,await l(10),Promise.resolve()}render(){const t=a(this.hidden?"hidden":null,{"full-width":this.fullWidth,"linked-component":this.linkedComponent});return e(i,{class:t},e("bcm-datetime-picker",{"linked-component":this.linkedComponent,id:this._id,name:this.name,type:this.range?"range":"date",date:this.date,placeholder:this.placeholder,fullWidth:this.fullWidth,ref:t=>this.picker=t,required:this.required,clearable:this.clearable,label:this.label,"end-date":this.endDate,disabled:this.disabled,disabledDates:this.disabledDates,"on-bcm-load":()=>this.handlePickerLoad(),"on-bcm-change":t=>this.handlePickerChange(t),noCaption:this.noCaption,caption:this.caption,captionError:this.captionError,captionType:this.captionType,alignment:this.alignment,placement:this.placement}))}get el(){return s(this)}static get watchers(){return{stateStartDate:["handleStartDateChange"],stateEndDate:["handleEndDateChange"]}}};(function(t,e,i,s){var a,h=arguments.length,n=h<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,s);else for(var p=t.length-1;p>=0;p--)(a=t[p])&&(n=(h<3?a(n):h>3?a(e,i,n):a(e,i))||n);h>3&&n&&Object.defineProperty(e,i,n)})([h()],o.prototype,"el",void 0),o.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:inline-block;width:100%;max-width:256px}:host(.full-width){max-width:100%}:host(.hidden){display:none}:host(.linked-component){display:none}';export{o as bcm_date_picker}
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import{h as s,r as t,c as i,g as e}from"./p-da1055cb.js";import{G as c}from"./p-d3cb8d25.js";import{a as o}from"./p-a429e85b.js";import{c as h}from"./p-d65a1e21.js";import{N as a}from"./p-80a43b79.js";import{e as r}from"./p-8c018ae0.js";import{C as l}from"./p-436364c8.js";import{C as n}from"./p-2e73d572.js";import"./p-4aa0e6b1.js";import"./p-6f56f8ca.js";const d=({_id:t,color:i,customStyle:e,size:c,checked:d,hidden:m,value:p,type:b,onDismiss:u,onSelect:f})=>{!c&&(c=o.FontSize["size-1"]);const k=h(((s,t=!1)=>(a.isNumber(s)&&(s=o.FontSize["size-"+s]||o.FontSize["size-4"]),t?+(o.FontSizeValue[s]||o.FontSizeValue["size-4"])+2:s))(c),"bcm-tag__content",b),g=h("bcm-tag",{hidden:m});return s("div",{id:t,class:h(g,{checked:d})},s("span",{hidden:!0},s("slot",null)),s("span",{class:k,style:(s=>{if((b===o.TagType.basic||b==o.TagType.dismissable)&&n[s])return{color:r(l,n[s]+"-6"),borderColor:r(l,n[s]+"-3"),backgroundColor:r(l,n[s]+"-1")}})(i),onClick:s=>f(s)},b===o.TagType.add&&s("span",{class:"left"},s("bcm-icon",{icon:"far fa-plus"})),b===o.TagType.checkable&&s("input",{type:"checkbox",checked:d}),s("span",{class:"value",style:e},p),b===o.TagType.dismissable&&s("span",{class:"right close-button",onClick:s=>u(s)},s("bcm-icon",{icon:"fal fa-times"}))))},m=class{constructor(s){t(this,s),this.change=i(this,"bcm-change",7),this.tagDismissable=i(this,"bcm-tag-dismissable",7),this.bcmTagSelect=i(this,"bcm-tag-select",7),this._id=c.UID(),this._internal_id=c.UID(),this.hidden=!1,this.value="",this.type=o.TagType.basic,this.checked=!1,this.color=void 0,this.customStyle=void 0,this.itemObject=void 0,this.size=o.FontSize["size-1"],this.closeFunc=s=>s,this.selectFunc=s=>s}handleClick(){this.type===o.TagType.checkable&&this.handleChecked()}handleClose(){this.tagDismissable.emit(this.el)}handleChecked(){this.checked=!this.checked,this.change.emit(this.checked)}render(){const{type:t,color:i,value:e,customStyle:c,size:h,hidden:a,checked:r}=this;return s(d,{size:h,hidden:a,color:i,customStyle:c,checked:r,value:e,type:o.TagType[t],onSelect:s=>{this.bcmTagSelect.emit(s),this.selectFunc({event:s,id:this._id})},onDismiss:s=>{this.handleClose(),this.closeFunc(s)}})}get el(){return e(this)}};export{m as bcm_tag}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{r as e,h as i,H as t,g as n}from"./p-da1055cb.js";import{G as p}from"./p-8aa77fd1.js";import"./p-4aa0e6b1.js";import"./p-6f56f8ca.js";const a=class{constructor(i){e(this,i),this._id=p.UID(),this.multi=!1}componentDidRender(){this.multi||this.checkExpandedCount()}checkExpandedCount(){var e,i;const t=this.el.querySelectorAll(".bcm-expansion-panel");if(t&&Array.from(t).map((e=>e.expanded)).filter(Boolean).length>1){const n=null===(i=null===(e=Array.from(t).filter((e=>e.expanded)))||void 0===e?void 0:e.pop())||void 0===i?void 0:i.id;Array.from(t).forEach((e=>{e.id!==n&&(e.expanded=!1)}))}}open(e){if(this.multi)return;const i=e.detail,t=this.el.querySelectorAll(".bcm-expansion-panel");t&&t.forEach((e=>{e.id!==i&&(e.expanded=!1)}))}isLoad(e){var i,t,n;if(!this.multi){var p=(null===(t=null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.parentElement)||void 0===t?void 0:t.id)||null;"BCM-EXPANSION-PANEL"==((null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.nodeName)||null)&&this._id==p&&this.checkExpandedCount()}}render(){return i(t,{id:this._id},i("slot",null))}get el(){return n(this)}};a.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}';export{a as bcm_accordion}
5
+ import{r as e,h as i,H as t,g as n}from"./p-da1055cb.js";import{G as p}from"./p-d3cb8d25.js";import"./p-4aa0e6b1.js";import"./p-6f56f8ca.js";const a=class{constructor(i){e(this,i),this._id=p.UID(),this.multi=!1}componentDidRender(){this.multi||this.checkExpandedCount()}checkExpandedCount(){var e,i;const t=this.el.querySelectorAll(".bcm-expansion-panel");if(t&&Array.from(t).map((e=>e.expanded)).filter(Boolean).length>1){const n=null===(i=null===(e=Array.from(t).filter((e=>e.expanded)))||void 0===e?void 0:e.pop())||void 0===i?void 0:i.id;Array.from(t).forEach((e=>{e.id!==n&&(e.expanded=!1)}))}}open(e){if(this.multi)return;const i=e.detail,t=this.el.querySelectorAll(".bcm-expansion-panel");t&&t.forEach((e=>{e.id!==i&&(e.expanded=!1)}))}isLoad(e){var i,t,n;if(!this.multi){var p=(null===(t=null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.parentElement)||void 0===t?void 0:t.id)||null;"BCM-EXPANSION-PANEL"==((null===(n=null==e?void 0:e.target)||void 0===n?void 0:n.nodeName)||null)&&this._id==p&&this.checkExpandedCount()}}render(){return i(t,{id:this._id},i("slot",null))}get el(){return n(this)}};a.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}';export{a as bcm_accordion}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{g as t}from"./p-da1055cb.js";import{s as n}from"./p-8aa77fd1.js";function s(s,o=!1){return(i,c)=>{const{connectedCallback:r,componentWillRender:e}=i;i.connectedCallback=function(){const o=t(this);if(o[c]){const t=n((()=>o.hasAttribute(s)?o.getAttribute(s).valueOf():o[s].valueOf()),null);t&&(this[c]=n((()=>"string"==typeof t?JSON.parse(t):t),[]),o.removeAttribute(s))}return r&&r.call(this)},i.componentWillRender=async function(){if(o){const i=t(this);if(o){const t=n((()=>i.hasAttribute(s)?i.getAttribute(s).valueOf():i[s].valueOf()),null);t&&t.length>0&&"string"==typeof t&&(this[s]=n((()=>JSON.parse(t)),[])),i.removeAttribute(s)}return e&&e.call(this)}}}}export{s as J}
5
+ import{g as t}from"./p-da1055cb.js";import{s as n}from"./p-d3cb8d25.js";function s(s,o=!1){return(i,c)=>{const{connectedCallback:r,componentWillRender:e}=i;i.connectedCallback=function(){const o=t(this);if(o[c]){const t=n((()=>o.hasAttribute(s)?o.getAttribute(s).valueOf():o[s].valueOf()),null);t&&(this[c]=n((()=>"string"==typeof t?JSON.parse(t):t),[]),o.removeAttribute(s))}return r&&r.call(this)},i.componentWillRender=async function(){if(o){const i=t(this);if(o){const t=n((()=>i.hasAttribute(s)?i.getAttribute(s).valueOf():i[s].valueOf()),null);t&&t.length>0&&"string"==typeof t&&(this[s]=n((()=>JSON.parse(t)),[])),i.removeAttribute(s)}return e&&e.call(this)}}}}export{s as J}
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- exports.Bcm$1 = void 0;
7
+ exports.Bcm = void 0;
8
8
  (function (Bcm) {
9
9
  (function (HtmlElementType) {
10
10
  HtmlElementType["div"] = "div";
@@ -443,7 +443,7 @@ exports.Bcm$1 = void 0;
443
443
  ListType["select"] = "select";
444
444
  ListType["autocomplete"] = "autocomplete";
445
445
  })(Bcm.ListType || (Bcm.ListType = {}));
446
- })(exports.Bcm$1 || (exports.Bcm$1 = {}));
447
- const Bcm = exports.Bcm$1;
446
+ })(exports.Bcm || (exports.Bcm = {}));
447
+ const Bcm = exports.Bcm;
448
448
 
449
- exports.Bcm = Bcm;
449
+ exports.Bcm$1 = Bcm;
@@ -7,7 +7,7 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-ddfd6d8f.js');
10
- const generate = require('./generate-cf48ed2d.js');
10
+ const generate = require('./generate-21143214.js');
11
11
  require('./colors-e1d142ad.js');
12
12
  require('./_commonjsHelpers-bd20f4c0.js');
13
13
 
@@ -7,13 +7,13 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index$1 = require('./index-ddfd6d8f.js');
10
- const generate = require('./generate-cf48ed2d.js');
10
+ const generate = require('./generate-21143214.js');
11
11
  const index$2 = require('./index-fdbf5226.js');
12
12
  const index = require('./index-4506fcd7.js');
13
- const stringHelper = require('./string-helper-45cffee0.js');
13
+ const stringHelper = require('./string-helper-d681e5c7.js');
14
14
  require('./colors-e1d142ad.js');
15
15
  require('./_commonjsHelpers-bd20f4c0.js');
16
- require('./bcm-634604e3.js');
16
+ require('./bcm-ab921827.js');
17
17
 
18
18
  const { state } = index.createStore({
19
19
  value: new Map(),
@@ -7,7 +7,7 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-ddfd6d8f.js');
10
- const generate = require('./generate-cf48ed2d.js');
10
+ const generate = require('./generate-21143214.js');
11
11
  require('./colors-e1d142ad.js');
12
12
  require('./_commonjsHelpers-bd20f4c0.js');
13
13