bromcom-ui 2.11.0 → 2.11.1-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 (253) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-cd75feb9.entry.js → p-07f4b3b6.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-f2aca650.entry.js → p-0cea9de1.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-258aca86.entry.js → p-11d1263d.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-e70821f7.entry.js → p-12dcbe05.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-4c2ecca2.entry.js → p-13d338d4.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-37565993.entry.js → p-15b5b871.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-ba2ddaf6.js → p-18665a1b.js} +1 -1
  9. package/dist/bromcom-ui/{p-7af84928.entry.js → p-227b3c30.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-2c4e5bb2.entry.js → p-24bf5b68.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-3bb8785d.js → p-26ea59e8.js} +1 -1
  12. package/dist/bromcom-ui/{p-3c4fbed6.entry.js → p-28d8c0a9.entry.js} +1 -1
  13. package/dist/bromcom-ui/{p-a3ce764f.entry.js → p-3060ab0d.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-b851dcc2.entry.js → p-362cdc23.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-396ef644.entry.js → p-3ae1649c.entry.js} +1 -1
  16. package/dist/bromcom-ui/{p-7aa06da2.entry.js → p-3d009872.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-3b5a6c8e.js → p-444c4e62.js} +1 -1
  18. package/dist/bromcom-ui/{p-bd6c967c.entry.js → p-494b91de.entry.js} +1 -1
  19. package/dist/bromcom-ui/p-518b9b80.js +1 -1
  20. package/dist/bromcom-ui/{p-a3960507.entry.js → p-52263846.entry.js} +1 -1
  21. package/dist/bromcom-ui/{p-505709c6.entry.js → p-525d9122.entry.js} +1 -1
  22. package/dist/bromcom-ui/p-5436ddd6.js +1 -1
  23. package/dist/bromcom-ui/{p-1920c1cd.js → p-543a00fb.js} +1 -1
  24. package/dist/bromcom-ui/{p-964b3343.entry.js → p-5679b0d2.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-17821ee9.entry.js → p-56dd3fea.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-e082074a.entry.js → p-5b7c9354.entry.js} +1 -1
  27. package/dist/bromcom-ui/p-5c10f685.entry.js +5 -0
  28. package/dist/bromcom-ui/{p-70b34e79.entry.js → p-5ddfca71.entry.js} +1 -1
  29. package/dist/bromcom-ui/p-62822a2c.entry.js +5 -0
  30. package/dist/bromcom-ui/p-6369b73b.js +1 -1
  31. package/dist/bromcom-ui/p-676c9008.entry.js +5 -0
  32. package/dist/bromcom-ui/{p-cad2f118.entry.js → p-6896c082.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-fe22cf19.entry.js → p-6aaf444d.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-01c26454.entry.js → p-6cd9d6ac.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-f037abec.entry.js → p-6fad7b91.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-3b643e9a.entry.js → p-7194d922.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-aa22dd85.entry.js → p-71b45c22.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-f68c1b66.entry.js → p-72bc8abe.entry.js} +1 -1
  39. package/dist/bromcom-ui/{p-13f868f7.entry.js → p-7370b4fe.entry.js} +1 -1
  40. package/dist/bromcom-ui/p-7b7117a6.entry.js +5 -0
  41. package/dist/bromcom-ui/{p-eb4362ac.entry.js → p-7b7f2f30.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-7bd237c3.entry.js +5 -0
  43. package/dist/bromcom-ui/{p-f5958c67.entry.js → p-7d3de132.entry.js} +1 -1
  44. package/dist/bromcom-ui/p-7edf67d6.entry.js +5 -0
  45. package/dist/bromcom-ui/{p-f3246837.entry.js → p-84fe87a9.entry.js} +1 -1
  46. package/dist/bromcom-ui/{p-ccb3c2e2.entry.js → p-88aaae3d.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-e76bfd6b.entry.js → p-892dfb49.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-4f96ee59.entry.js → p-8a298b97.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-dbc66238.js → p-8bdcf95d.js} +1 -1
  50. package/dist/bromcom-ui/{p-092f751e.js → p-8da7f4c3.js} +1 -1
  51. package/dist/bromcom-ui/p-94554e42.js +1 -1
  52. package/dist/bromcom-ui/{p-dd1a1d12.entry.js → p-9cae421a.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-e0a4da6d.entry.js → p-9e2b2ff7.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-4a540b56.js → p-9f6bbc21.js} +1 -1
  55. package/dist/bromcom-ui/{p-e920c9b9.entry.js → p-9f9504ee.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-fd1c3951.entry.js → p-a4067bcc.entry.js} +1 -1
  57. package/dist/bromcom-ui/{p-f3423d98.entry.js → p-a8096b68.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-15302481.entry.js → p-a8f84d47.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-c439cb60.entry.js → p-b362b2b5.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-b701b3aa.entry.js → p-b3ef6a72.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-aee35345.entry.js → p-b5608cea.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-422e697d.entry.js → p-b5db6748.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-687ea920.entry.js → p-b7197a02.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-73f5c339.entry.js → p-b9c6cf34.entry.js} +1 -1
  65. package/dist/bromcom-ui/{p-8d4654ed.entry.js → p-bacb0014.entry.js} +1 -1
  66. package/dist/bromcom-ui/p-bcd599fd.js +5 -0
  67. package/dist/bromcom-ui/{p-e4ab4af0.entry.js → p-c0e42d05.entry.js} +1 -1
  68. package/dist/bromcom-ui/{p-66964e5c.entry.js → p-c2cab6c8.entry.js} +1 -1
  69. package/dist/bromcom-ui/{p-f0177251.entry.js → p-c8ae67c0.entry.js} +1 -1
  70. package/dist/bromcom-ui/{p-79007b75.entry.js → p-cbd050fa.entry.js} +1 -1
  71. package/dist/bromcom-ui/{p-3b7ac787.entry.js → p-ccc42e5f.entry.js} +1 -1
  72. package/dist/bromcom-ui/{p-2d776ab1.entry.js → p-d36d446d.entry.js} +1 -1
  73. package/dist/bromcom-ui/{p-02b30a5c.entry.js → p-ded1c855.entry.js} +1 -1
  74. package/dist/bromcom-ui/{p-62370fd0.entry.js → p-e49af670.entry.js} +1 -1
  75. package/dist/bromcom-ui/p-f1c672fd.entry.js +5 -0
  76. package/dist/bromcom-ui/{p-2fad0385.entry.js → p-f73dc7a3.entry.js} +1 -1
  77. package/dist/bromcom-ui/{p-c926e138.js → p-fe7e383d.js} +1 -1
  78. package/dist/cjs/{bcm-3c58a6d5.js → bcm-470704cd.js} +4 -4
  79. package/dist/cjs/bcm-accordion.cjs.entry.js +2 -2
  80. package/dist/cjs/bcm-alert.cjs.entry.js +4 -4
  81. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -8
  82. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -8
  83. package/dist/cjs/{bcm-button.cjs.entry.js → bcm-attendance-actions_2.cjs.entry.js} +344 -34
  84. package/dist/cjs/bcm-attendance.cjs.entry.js +2 -2
  85. package/dist/cjs/bcm-avatar_2.cjs.entry.js +10 -10
  86. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
  87. package/dist/cjs/bcm-button-group.cjs.entry.js +7 -7
  88. package/dist/cjs/bcm-caption.cjs.entry.js +8 -8
  89. package/dist/cjs/bcm-card.cjs.entry.js +5 -5
  90. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +7 -7
  91. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +6 -6
  92. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +10 -10
  93. package/dist/cjs/bcm-chip-group.cjs.entry.js +8 -8
  94. package/dist/cjs/bcm-chip.cjs.entry.js +2 -2
  95. package/dist/cjs/bcm-collapse.cjs.entry.js +2 -2
  96. package/dist/cjs/bcm-color-input.cjs.entry.js +6 -6
  97. package/dist/cjs/bcm-colorful_2.cjs.entry.js +12 -12
  98. package/dist/cjs/bcm-date-picker.cjs.entry.js +4 -4
  99. package/dist/cjs/bcm-date.cjs.entry.js +8 -8
  100. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
  101. package/dist/cjs/bcm-default.cjs.entry.js +2 -2
  102. package/dist/cjs/bcm-drawer.cjs.entry.js +8 -8
  103. package/dist/cjs/bcm-dropdown.cjs.entry.js +8 -8
  104. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
  105. package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
  106. package/dist/cjs/bcm-form.cjs.entry.js +2 -2
  107. package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
  108. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +8 -8
  109. package/dist/cjs/bcm-input_2.cjs.entry.js +15 -15
  110. package/dist/cjs/bcm-item.cjs.entry.js +4 -4
  111. package/dist/cjs/bcm-items.cjs.entry.js +4 -4
  112. package/dist/cjs/bcm-label_2.cjs.entry.js +13 -13
  113. package/dist/cjs/bcm-link.cjs.entry.js +3 -3
  114. package/dist/cjs/bcm-list_3.cjs.entry.js +25 -25
  115. package/dist/cjs/bcm-menu.cjs.entry.js +8 -8
  116. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
  117. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
  118. package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -7
  119. package/dist/cjs/bcm-modal.cjs.entry.js +7 -7
  120. package/dist/cjs/bcm-number-input.cjs.entry.js +8 -8
  121. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +5 -5
  122. package/dist/cjs/bcm-popconfirm.cjs.entry.js +5 -5
  123. package/dist/cjs/bcm-popover.cjs.entry.js +9 -9
  124. package/dist/cjs/bcm-progress.cjs.entry.js +4 -4
  125. package/dist/cjs/bcm-radio-group.cjs.entry.js +10 -10
  126. package/dist/cjs/bcm-radio.cjs.entry.js +13 -13
  127. package/dist/cjs/bcm-range.cjs.entry.js +6 -6
  128. package/dist/cjs/bcm-rc-picker.cjs.entry.js +2 -2
  129. package/dist/cjs/bcm-select.cjs.entry.js +2 -2
  130. package/dist/cjs/bcm-shortcut.cjs.entry.js +10 -10
  131. package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
  132. package/dist/cjs/bcm-step.cjs.entry.js +3 -3
  133. package/dist/cjs/bcm-stepper.cjs.entry.js +9 -9
  134. package/dist/cjs/bcm-switch.cjs.entry.js +9 -9
  135. package/dist/cjs/bcm-tab-group.cjs.entry.js +7 -7
  136. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +10 -10
  137. package/dist/cjs/bcm-tab-item.cjs.entry.js +6 -6
  138. package/dist/cjs/bcm-table.cjs.entry.js +6 -6
  139. package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
  140. package/dist/cjs/bcm-text.cjs.entry.js +3 -3
  141. package/dist/cjs/bcm-time-picker.cjs.entry.js +4 -4
  142. package/dist/cjs/bcm-toast.cjs.entry.js +11 -11
  143. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  144. package/dist/cjs/{floating-ui-555cd3d4.js → floating-ui-829ed777.js} +2 -2
  145. package/dist/cjs/{generate-183405cb.js → generate-c0b728d9.js} +1 -1
  146. package/dist/cjs/{global-4a756c02.js → global-8735cc95.js} +1 -1
  147. package/dist/cjs/{input-template-e36927b1.js → input-template-e9c37e34.js} +6 -6
  148. package/dist/cjs/{json-parse-decarator-4c1f74bb.js → json-parse-decarator-3e78a3ac.js} +1 -1
  149. package/dist/cjs/{label-template-a6f51ef2.js → label-template-df551eef.js} +2 -2
  150. package/dist/cjs/loader.cjs.js +3 -3
  151. package/dist/cjs/{number-helper-ca52fadf.js → number-helper-eea3b6e3.js} +1 -1
  152. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
  153. package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
  154. package/dist/cjs/{package-4c68d5f8.js → package-8156f6de.js} +1 -1
  155. package/dist/cjs/{popover-placement-9b4b4153.js → popover-placement-26859281.js} +1 -1
  156. package/dist/cjs/{slot-template-80b019d5.js → slot-template-a47f5492.js} +1 -1
  157. package/dist/cjs/{stepper-states-f97c457a.js → stepper-states-7e56ed0b.js} +1 -1
  158. package/dist/cjs/{string-helper-3212f4ea.js → string-helper-b6bd711a.js} +2 -2
  159. package/dist/cjs/{tooltip-helper-83971814.js → tooltip-helper-fad904a9.js} +9 -9
  160. package/dist/cjs/{validators-a31b53a5.js → validators-f952aefd.js} +1 -1
  161. package/dist/collection/components/molecules/dropdown/dropdown.css +1 -0
  162. package/dist/components/bcm-dropdown.js +1 -1
  163. package/dist/components/generate.js +1 -1
  164. package/dist/esm/bcm-0f9cc27c.js +1 -1
  165. package/dist/esm/bcm-accordion.entry.js +2 -2
  166. package/dist/esm/bcm-alert.entry.js +2 -2
  167. package/dist/esm/bcm-attendance-actions-comment.entry.js +5 -5
  168. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +5 -5
  169. package/dist/esm/{bcm-button.entry.js → bcm-attendance-actions_2.entry.js} +337 -28
  170. package/dist/esm/bcm-attendance.entry.js +2 -2
  171. package/dist/esm/bcm-avatar_2.entry.js +5 -5
  172. package/dist/esm/bcm-breadcrumb.entry.js +2 -2
  173. package/dist/esm/bcm-button-group.entry.js +3 -3
  174. package/dist/esm/bcm-caption.entry.js +5 -5
  175. package/dist/esm/bcm-card.entry.js +2 -2
  176. package/dist/esm/bcm-checkbox-group.entry.js +3 -3
  177. package/dist/esm/bcm-checkbox-lite_9.entry.js +3 -3
  178. package/dist/esm/bcm-checkbox_2.entry.js +3 -3
  179. package/dist/esm/bcm-chip-group.entry.js +5 -5
  180. package/dist/esm/bcm-chip.entry.js +2 -2
  181. package/dist/esm/bcm-collapse.entry.js +2 -2
  182. package/dist/esm/bcm-color-input.entry.js +4 -4
  183. package/dist/esm/bcm-colorful_2.entry.js +5 -5
  184. package/dist/esm/bcm-date-picker.entry.js +3 -3
  185. package/dist/esm/bcm-date.entry.js +5 -5
  186. package/dist/esm/bcm-datetime-picker.entry.js +3 -3
  187. package/dist/esm/bcm-default.entry.js +2 -2
  188. package/dist/esm/bcm-drawer.entry.js +5 -5
  189. package/dist/esm/bcm-dropdown.entry.js +5 -5
  190. package/dist/esm/bcm-expansion-panel.entry.js +2 -2
  191. package/dist/esm/bcm-form-2.entry.js +3 -3
  192. package/dist/esm/bcm-input-custom.entry.js +2 -2
  193. package/dist/esm/bcm-input-dropdown.entry.js +5 -5
  194. package/dist/esm/bcm-input_2.entry.js +6 -6
  195. package/dist/esm/bcm-item.entry.js +3 -3
  196. package/dist/esm/bcm-items.entry.js +2 -2
  197. package/dist/esm/bcm-label_2.entry.js +6 -6
  198. package/dist/esm/bcm-link.entry.js +1 -1
  199. package/dist/esm/bcm-list_3.entry.js +7 -7
  200. package/dist/esm/bcm-menu.entry.js +5 -5
  201. package/dist/esm/bcm-modal-2-footer.entry.js +4 -4
  202. package/dist/esm/bcm-modal-2-header.entry.js +4 -4
  203. package/dist/esm/bcm-modal-2.entry.js +5 -5
  204. package/dist/esm/bcm-modal.entry.js +3 -3
  205. package/dist/esm/bcm-number-input.entry.js +5 -5
  206. package/dist/esm/bcm-popconfirm-box.entry.js +2 -2
  207. package/dist/esm/bcm-popconfirm.entry.js +3 -3
  208. package/dist/esm/bcm-popover.entry.js +5 -5
  209. package/dist/esm/bcm-progress.entry.js +3 -3
  210. package/dist/esm/bcm-radio-group.entry.js +5 -5
  211. package/dist/esm/bcm-radio.entry.js +5 -5
  212. package/dist/esm/bcm-range.entry.js +3 -3
  213. package/dist/esm/bcm-rc-picker.entry.js +1 -1
  214. package/dist/esm/bcm-shortcut.entry.js +5 -5
  215. package/dist/esm/bcm-skeleton.entry.js +4 -4
  216. package/dist/esm/bcm-step.entry.js +3 -3
  217. package/dist/esm/bcm-stepper.entry.js +6 -6
  218. package/dist/esm/bcm-switch.entry.js +3 -3
  219. package/dist/esm/bcm-tab-group.entry.js +5 -5
  220. package/dist/esm/bcm-tab-item-header.entry.js +5 -5
  221. package/dist/esm/bcm-tab-item.entry.js +4 -4
  222. package/dist/esm/bcm-table.entry.js +4 -4
  223. package/dist/esm/bcm-tag.entry.js +4 -4
  224. package/dist/esm/bcm-time-picker.entry.js +3 -3
  225. package/dist/esm/bcm-toast.entry.js +3 -3
  226. package/dist/esm/bromcom-ui.js +3 -3
  227. package/dist/esm/floating-ui-a4e67246.js +1 -1
  228. package/dist/esm/{generate-ea4b5630.js → generate-79ee4441.js} +1 -1
  229. package/dist/esm/{global-8fd9695e.js → global-e756344b.js} +1 -1
  230. package/dist/esm/{input-template-2ac3ec12.js → input-template-b0ee6981.js} +2 -2
  231. package/dist/esm/{json-parse-decarator-c5e5dae7.js → json-parse-decarator-ea12b23b.js} +1 -1
  232. package/dist/esm/label-template-b2e8f81d.js +1 -1
  233. package/dist/esm/loader.js +3 -3
  234. package/dist/esm/{number-helper-148cd002.js → number-helper-abccb751.js} +1 -1
  235. package/dist/esm/old-bcm-popover-box.entry.js +3 -3
  236. package/dist/esm/old-bcm-popover.entry.js +3 -3
  237. package/dist/esm/{package-b6a53fde.js → package-e9c0a5b1.js} +1 -1
  238. package/dist/esm/{stepper-states-f02df67c.js → stepper-states-a0fe0c79.js} +1 -1
  239. package/dist/esm/string-helper-3526c4fe.js +1 -1
  240. package/dist/esm/{tooltip-helper-4b53b00b.js → tooltip-helper-9f73f914.js} +4 -4
  241. package/dist/esm/{validators-78ec4f0a.js → validators-37228b55.js} +1 -1
  242. package/package.json +1 -1
  243. package/dist/bromcom-ui/p-0511936c.entry.js +0 -5
  244. package/dist/bromcom-ui/p-3b30d329.entry.js +0 -5
  245. package/dist/bromcom-ui/p-4e40be76.entry.js +0 -5
  246. package/dist/bromcom-ui/p-6bea3bea.js +0 -5
  247. package/dist/bromcom-ui/p-ad359555.entry.js +0 -5
  248. package/dist/bromcom-ui/p-ada3eed7.entry.js +0 -5
  249. package/dist/bromcom-ui/p-bca72f17.entry.js +0 -5
  250. package/dist/bromcom-ui/p-f33d8f77.entry.js +0 -5
  251. package/dist/bromcom-ui/p-f650fed9.entry.js +0 -5
  252. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +0 -330
  253. package/dist/esm/bcm-attendance-actions.entry.js +0 -326
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{r as t,c as e,f as i,h as s,H as o,g as a}from"./p-e037ee2b.js";import{I as n}from"./p-8e5e362a.js";import{G as r,s as h}from"./p-c926e138.js";import{S as p}from"./p-94554e42.js";import{B as l}from"./p-6369b73b.js";import"./p-4a540b56.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";const c=["BCM-INPUT","BCM-TEXTAREA","BCM-SWITCH","BCM-CHECKBOX","BCM-RADIO-GROUP","BCM-CHECKBOX-GROUP","BCM-RANGE","BCM-FORM","BCM-FORM-GROUP","BCM-LIST","BCM-COLORPICKER","BCM-DATE","BCM-DATE-PICKER","BCM-TIME-PICKER","BCM-DATETIME-PICKER","BCM-SELECT","BCM-LISTBOX","BCM-CHIP-GROUP","BCM-INPUT-DROPDOWN"];const m=class{constructor(i){t(this,i),this.bcmForm=e(this,"bcm-form",7),this.isLoad=!1,this.formData={},this.formObj=new Map,this._id=r.UID(),this.validation=!1}componentDidLoad(){this.isLoad=!0,i(this)}componentIsValid(t){if(!t.hidden){this.checkIsGroup(t);const e=["bcm-checkbox","bcm-switch"].includes(p.lowercase(t.tagName))?0==t.value:p.isNullOrEmpty(t.value);t.required&&(e?(t.captionError=l.FormErrorMessages.required,t.captionType="error",this.formObj.set(t.id,{name:t.name,valid:!1,errorDetails:t.captionError})):(t.captionError=null,t.captionType="default",this.formObj.delete(t.id)))}}isGroup(t){return["bcm-checkbox-group"].includes(p.lowercase(t.tagName))}checkIsGroup(t){if(this.isGroup(t))for(let e of Array.from(t.querySelectorAll("bcm-checkbox")))e&&this.componentIsValid(e)}changeCheckboxGroup(t){const e=t.target,{changed:i}=t.detail,s=Array.from(e.querySelectorAll("bcm-checkbox"));for(let t of s)t.id==i.element.id&&(t.value=i.event.value,this.componentIsValid(t))}bcmComponentList(){return h((()=>Array.from(this.el.querySelectorAll("*")).filter((t=>c.includes(t.tagName)&&(!t["s-hn"]||"BCM-FORM-2"==t["s-hn"]))).filter(Boolean)),[])}formResponse(){const t={formData:this.formData,isValid:0==this.formObj.size,errorDetails:Object.assign({},this.formObj.size>0&&Array.from(this.formObj).map((([t,e])=>({[e.name]:e.errorDetails})))),message:0==this.formObj.size?"":"Please fill in all inputs"};return this.bcmForm.emit(t),t}async setMethodType(t){const{isLoad:e,validation:i}=this;if(e)for(const e of this.bcmComponentList())try{await e[t](),"setClear"==t&&i&&this.componentIsValid(e)}catch(i){console.error(e.nodeName,t,i)}return Promise.resolve()}async submit(){const{isLoad:t,validation:e}=this;if(t)for(const t of this.bcmComponentList()){const{name:i,value:s}=t;this.formData[i]=p.isNullOrEmpty(s)?null:s,e&&this.componentIsValid(t)}return Promise.resolve(this.formResponse())}async set(t){var e,i,s;if(this.isLoad&&t&&(null===(e=this.bcmComponentList())||void 0===e?void 0:e.length)>0)for(let e of Object.keys(t)){const o=null!==(s=null===(i=this.bcmComponentList())||void 0===i?void 0:i.find((t=>t.name==e)))&&void 0!==s?s:{};if(o)try{await o.set(t[e]),this.componentIsValid(o)}catch(t){console.warn("set: ",e,o.nodeName)}}}async get(){var t;let e={};if((null===(t=this.bcmComponentList())||void 0===t?void 0:t.length)>0)for(let t of this.bcmComponentList()){const i=await t.get();e=Object.assign(Object.assign({},e),{[t.name]:p.isNullOrEmpty(i)?null:i})}return Promise.resolve(e)}async resetCaption(){return Promise.resolve(await this.setMethodType("resetCaption"))}async setClear(){return this.formData={},this.formObj=new Map,Promise.resolve(await this.setMethodType("setClear"))}onChange(t){const{isLoad:e,validation:i}=this;if(e){const e=t.target,s=e&&e.tagName.toLowerCase().startsWith("bcm-");if(i&&s){if(this.isGroup(e))return this.changeCheckboxGroup(t);this.componentIsValid(e)}}}render(){return s(o,null,s("slot",null))}get el(){return a(this)}};(function(t,e,i,s){var o,a=arguments.length,n=a<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 r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);a>3&&n&&Object.defineProperty(e,i,n)})([n()],m.prototype,"el",void 0),m.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{m as bcm_form_2}
5
+ import{r as t,c as e,f as i,h as s,H as o,g as a}from"./p-e037ee2b.js";import{I as n}from"./p-8e5e362a.js";import{G as r,s as h}from"./p-fe7e383d.js";import{S as p}from"./p-94554e42.js";import{a as l}from"./p-6369b73b.js";import"./p-9f6bbc21.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";const c=["BCM-INPUT","BCM-TEXTAREA","BCM-SWITCH","BCM-CHECKBOX","BCM-RADIO-GROUP","BCM-CHECKBOX-GROUP","BCM-RANGE","BCM-FORM","BCM-FORM-GROUP","BCM-LIST","BCM-COLORPICKER","BCM-DATE","BCM-DATE-PICKER","BCM-TIME-PICKER","BCM-DATETIME-PICKER","BCM-SELECT","BCM-LISTBOX","BCM-CHIP-GROUP","BCM-INPUT-DROPDOWN"];const m=class{constructor(i){t(this,i),this.bcmForm=e(this,"bcm-form",7),this.isLoad=!1,this.formData={},this.formObj=new Map,this._id=r.UID(),this.validation=!1}componentDidLoad(){this.isLoad=!0,i(this)}componentIsValid(t){if(!t.hidden){this.checkIsGroup(t);const e=["bcm-checkbox","bcm-switch"].includes(p.lowercase(t.tagName))?0==t.value:p.isNullOrEmpty(t.value);t.required&&(e?(t.captionError=l.FormErrorMessages.required,t.captionType="error",this.formObj.set(t.id,{name:t.name,valid:!1,errorDetails:t.captionError})):(t.captionError=null,t.captionType="default",this.formObj.delete(t.id)))}}isGroup(t){return["bcm-checkbox-group"].includes(p.lowercase(t.tagName))}checkIsGroup(t){if(this.isGroup(t))for(let e of Array.from(t.querySelectorAll("bcm-checkbox")))e&&this.componentIsValid(e)}changeCheckboxGroup(t){const e=t.target,{changed:i}=t.detail,s=Array.from(e.querySelectorAll("bcm-checkbox"));for(let t of s)t.id==i.element.id&&(t.value=i.event.value,this.componentIsValid(t))}bcmComponentList(){return h((()=>Array.from(this.el.querySelectorAll("*")).filter((t=>c.includes(t.tagName)&&(!t["s-hn"]||"BCM-FORM-2"==t["s-hn"]))).filter(Boolean)),[])}formResponse(){const t={formData:this.formData,isValid:0==this.formObj.size,errorDetails:Object.assign({},this.formObj.size>0&&Array.from(this.formObj).map((([t,e])=>({[e.name]:e.errorDetails})))),message:0==this.formObj.size?"":"Please fill in all inputs"};return this.bcmForm.emit(t),t}async setMethodType(t){const{isLoad:e,validation:i}=this;if(e)for(const e of this.bcmComponentList())try{await e[t](),"setClear"==t&&i&&this.componentIsValid(e)}catch(i){console.error(e.nodeName,t,i)}return Promise.resolve()}async submit(){const{isLoad:t,validation:e}=this;if(t)for(const t of this.bcmComponentList()){const{name:i,value:s}=t;this.formData[i]=p.isNullOrEmpty(s)?null:s,e&&this.componentIsValid(t)}return Promise.resolve(this.formResponse())}async set(t){var e,i,s;if(this.isLoad&&t&&(null===(e=this.bcmComponentList())||void 0===e?void 0:e.length)>0)for(let e of Object.keys(t)){const o=null!==(s=null===(i=this.bcmComponentList())||void 0===i?void 0:i.find((t=>t.name==e)))&&void 0!==s?s:{};if(o)try{await o.set(t[e]),this.componentIsValid(o)}catch(t){console.warn("set: ",e,o.nodeName)}}}async get(){var t;let e={};if((null===(t=this.bcmComponentList())||void 0===t?void 0:t.length)>0)for(let t of this.bcmComponentList()){const i=await t.get();e=Object.assign(Object.assign({},e),{[t.name]:p.isNullOrEmpty(i)?null:i})}return Promise.resolve(e)}async resetCaption(){return Promise.resolve(await this.setMethodType("resetCaption"))}async setClear(){return this.formData={},this.formObj=new Map,Promise.resolve(await this.setMethodType("setClear"))}onChange(t){const{isLoad:e,validation:i}=this;if(e){const e=t.target,s=e&&e.tagName.toLowerCase().startsWith("bcm-");if(i&&s){if(this.isGroup(e))return this.changeCheckboxGroup(t);this.componentIsValid(e)}}}render(){return s(o,null,s("slot",null))}get el(){return a(this)}};(function(t,e,i,s){var o,a=arguments.length,n=a<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 r=t.length-1;r>=0;r--)(o=t[r])&&(n=(a<3?o(n):a>3?o(e,i,n):o(e,i))||n);a>3&&n&&Object.defineProperty(e,i,n)})([n()],m.prototype,"el",void 0),m.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{m as bcm_form_2}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{r as t,h as n,H as e}from"./p-e037ee2b.js";import"./p-4798d827.js";import"./p-626a65e9.js";import{G as i}from"./p-c926e138.js";import"./p-6bea3bea.js";import"./p-94554e42.js";import"./p-ba2ddaf6.js";import"./p-5ae0a59b.js";import{a as s}from"./p-6369b73b.js";import{C as a}from"./p-8a92f2bf.js";import"./p-bed627ab.js";import"./p-3fac58f7.js";import"./p-2e73d572.js";import{c as p}from"./p-08c75801.js";import"./p-436364c8.js";import"./p-3c7a0345.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-4a540b56.js";const r=p({slots:{host:"bcm-number-input bcm-ui-element tw-flex tw-flex-col tw-items-start tw-justify-start tw-max-w-[256px] tw-w-full",container:"tw-flex tw-flex-row tw-items-center tw-justify-between tw-rounded tw-border tw-border-solid tw-border-slate-300 tw-w-full tw-min-h-full hover:tw-bg-slate-50",inputContainer:"tw-flex tw-min-h-fit tw-w-full tw-flex-row tw-items-center tw-justify-center tw-gap-2 tw-px-3",input:"tw-outline-none tw-appearance-none tw-flex-1 tw-bg-transparent tw-text-slate-400 tw-text-inherit tw-font-normal",caretContainer:"tw-flex tw-flex-col tw-min-h-full tw-border-l tw-items-stretch tw-self-stretch tw-justify-center tw-border-l-slate-300 tw-select-none tw-w-[30px]",caretIcon:"tw-flex tw-items-center tw-text-slate-500 tw-justify-center tw-h-full tw-cursor-pointer active:tw-bg-slate-400 last:tw-border-t last:tw-border-t-slate-300",slotIcon:"tw-text-slate-500"},variants:{size:{small:{host:"tw-gap-0.5 tw-text-xs",slotIcon:"tw-text-[10px]",inputContainer:"tw-py-[2px]",caretIcon:"tw-text-[10px]"},medium:{host:"tw-gap-1 tw-text-base",slotIcon:"tw-text-xs",inputContainer:"tw-py-[5px]"},large:{host:"tw-gap-2 tw-text-base",slotIcon:"tw-text-[14px]",inputContainer:"tw-py-2"}},focus:{true:{container:"tw-ring-1 tw-ring-blue-600",input:"tw-text-slate-700"}}},defaultVariants:{size:"medium"}}),o=class{constructor(n){t(this,n),this.blockInvalidChar=t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),this._id=i.UID(),this.size=s.Size.medium,this.min=0,this.max=100,this.step=1,this.placeholder=void 0,this.label=void 0,this.tooltip=void 0,this.value=0,this.disabled=!1,this.readonly=!1,this.required=!1,this.pattern=void 0,this.caption=void 0,this.noCaption=!1,this.captionType=s.Status.default,this.captionError=void 0,this.customErrorMessage=void 0,this.prefixIcon=void 0,this.suffixIcon=void 0,this.isFocus=!1,this.isError=!1}render(){const{_id:t,value:i,min:s,max:p,step:o,tooltip:l,disabled:c,size:x,label:m,caption:h,captionType:u,required:w,noCaption:b,captionError:d,customErrorMessage:g,prefixIcon:f,suffixIcon:z,pattern:j}=this,{host:v,input:y,container:C,inputContainer:I,caretContainer:E,caretIcon:k,slotIcon:_}=r({size:x,focus:this.isFocus});return n(e,{class:v(),onClick:()=>!c&&this.nativeInput.focus()},m&&n("bcm-label",{tooltip:l,"no-margin":!0,type:u,value:m,required:w,htmlFor:t}),n("div",{class:C()},n("div",{class:I()},f&&n("span",{class:_()},n("i",{class:f})),n("input",{type:"number",class:y(),min:s,max:p,step:o,value:i,inputmode:"numeric",pattern:j,ref:t=>this.nativeInput=t,onKeyPress:this.blockInvalidChar,onFocus:()=>this.isFocus=!0,onBlur:()=>this.isFocus=!1,onError:t=>console.log(t),onErrorCapture:t=>console.log(t)}),z&&n("span",{class:_()},n("i",{class:z}))),n("div",{class:E()},n("span",{class:k()},n("i",{class:"fas fa-caret-up"})),n("span",{class:k()},n("i",{class:"fas fa-caret-down"})))),n(a,{noCaption:b,captionType:u,captionError:d,caption:h,customErrorMessage:g}))}};o.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");\n.size-1 {\n font-size: 12px;\n line-height: 20px;\n}\n\n.size-2 {\n font-size: 14px;\n line-height: 22px;\n}\n\n.size-3 {\n font-size: 16px;\n line-height: 24px;\n}\n\n.size-4 {\n font-size: 20px;\n line-height: 28px;\n}\n\n.size-5 {\n font-size: 24px;\n line-height: 32px;\n}\n\n.size-6 {\n font-size: 30px;\n line-height: 38px;\n}\n\n.size-7 {\n font-size: 38px;\n line-height: 46px;\n}\n\n.size-8 {\n font-size: 46px;\n line-height: 54px;\n}\n\n.size-9 {\n font-size: 56px;\n line-height: 64px;\n}\n\n.weight-regular {\n font-weight: 400;\n}\n\n.weight-semibold {\n font-weight: 500;\n}\n\n/**\n * Generator\n */\n.input-size-large {\n height: 40px;\n}\n\n.input-size-medium {\n height: 32px;\n}\n\n.input-size-small {\n height: 24px;\n}\n\n.resize-none textarea {\n resize: none;\n}\n\n.resize-vertical textarea {\n resize: vertical;\n}\n\n.resize-auto textarea {\n height: auto;\n resize: none;\n}\n\n.textarea-size-large {\n padding: 4px 0 0 4px;\n min-height: 40px;\n}\n.textarea-size-large .bcm-input-element {\n min-height: calc((40px - 8px) + 2px);\n}\n.textarea-size-large .input-clear-button {\n height: calc( 40px - 16px );\n top: 8px;\n padding: 0;\n margin-right: 8px;\n}\n\n.textarea-size-medium {\n padding: 4px 0 0 4px;\n min-height: 32px;\n}\n.textarea-size-medium .bcm-input-element {\n min-height: calc((32px - 8px) + 2px);\n}\n.textarea-size-medium .input-clear-button {\n height: calc( 32px - 16px );\n top: 8px;\n padding: 0;\n margin-right: 8px;\n}\n\n.textarea-size-small {\n padding: 0px 0 0 4px;\n min-height: 24px;\n}\n.textarea-size-small .bcm-input-element {\n min-height: calc((24px - 8px) + 2px);\n}\n.textarea-size-small .input-clear-button {\n height: calc( 24px - 16px );\n top: 8px;\n padding: 0;\n margin-right: 8px;\n}\n\n@layer base {\n .bcm-number-input input[type=number]::-webkit-outer-spin-button,\n.bcm-number-input input[type=number]::-webkit-inner-spin-button,\n.bcm-number-input input[type=number] {\n -webkit-appearance: none;\n padding: 0px;\n margin: 0px;\n outline: none;\n border: 0px;\n vertical-align: baseline;\n -moz-appearance: textfield !important;\n }\n}';export{o as bcm_number_input}
5
+ import{r as t,h as n,H as e}from"./p-e037ee2b.js";import"./p-4798d827.js";import"./p-626a65e9.js";import{G as i}from"./p-fe7e383d.js";import"./p-bcd599fd.js";import"./p-94554e42.js";import"./p-18665a1b.js";import"./p-5ae0a59b.js";import{B as s}from"./p-6369b73b.js";import{C as p}from"./p-8a92f2bf.js";import"./p-bed627ab.js";import"./p-3fac58f7.js";import"./p-2e73d572.js";import{c as a}from"./p-08c75801.js";import"./p-436364c8.js";import"./p-3c7a0345.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-9f6bbc21.js";const r=a({slots:{host:"bcm-number-input bcm-ui-element tw-flex tw-flex-col tw-items-start tw-justify-start tw-max-w-[256px] tw-w-full",container:"tw-flex tw-flex-row tw-items-center tw-justify-between tw-rounded tw-border tw-border-solid tw-border-slate-300 tw-w-full tw-min-h-full hover:tw-bg-slate-50",inputContainer:"tw-flex tw-min-h-fit tw-w-full tw-flex-row tw-items-center tw-justify-center tw-gap-2 tw-px-3",input:"tw-outline-none tw-appearance-none tw-flex-1 tw-bg-transparent tw-text-slate-400 tw-text-inherit tw-font-normal",caretContainer:"tw-flex tw-flex-col tw-min-h-full tw-border-l tw-items-stretch tw-self-stretch tw-justify-center tw-border-l-slate-300 tw-select-none tw-w-[30px]",caretIcon:"tw-flex tw-items-center tw-text-slate-500 tw-justify-center tw-h-full tw-cursor-pointer active:tw-bg-slate-400 last:tw-border-t last:tw-border-t-slate-300",slotIcon:"tw-text-slate-500"},variants:{size:{small:{host:"tw-gap-0.5 tw-text-xs",slotIcon:"tw-text-[10px]",inputContainer:"tw-py-[2px]",caretIcon:"tw-text-[10px]"},medium:{host:"tw-gap-1 tw-text-base",slotIcon:"tw-text-xs",inputContainer:"tw-py-[5px]"},large:{host:"tw-gap-2 tw-text-base",slotIcon:"tw-text-[14px]",inputContainer:"tw-py-2"}},focus:{true:{container:"tw-ring-1 tw-ring-blue-600",input:"tw-text-slate-700"}}},defaultVariants:{size:"medium"}}),o=class{constructor(n){t(this,n),this.blockInvalidChar=t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),this._id=i.UID(),this.size=s.Size.medium,this.min=0,this.max=100,this.step=1,this.placeholder=void 0,this.label=void 0,this.tooltip=void 0,this.value=0,this.disabled=!1,this.readonly=!1,this.required=!1,this.pattern=void 0,this.caption=void 0,this.noCaption=!1,this.captionType=s.Status.default,this.captionError=void 0,this.customErrorMessage=void 0,this.prefixIcon=void 0,this.suffixIcon=void 0,this.isFocus=!1,this.isError=!1}render(){const{_id:t,value:i,min:s,max:a,step:o,tooltip:l,disabled:c,size:x,label:m,caption:h,captionType:u,required:w,noCaption:b,captionError:d,customErrorMessage:f,prefixIcon:g,suffixIcon:z,pattern:j}=this,{host:v,input:y,container:C,inputContainer:I,caretContainer:E,caretIcon:k,slotIcon:_}=r({size:x,focus:this.isFocus});return n(e,{class:v(),onClick:()=>!c&&this.nativeInput.focus()},m&&n("bcm-label",{tooltip:l,"no-margin":!0,type:u,value:m,required:w,htmlFor:t}),n("div",{class:C()},n("div",{class:I()},g&&n("span",{class:_()},n("i",{class:g})),n("input",{type:"number",class:y(),min:s,max:a,step:o,value:i,inputmode:"numeric",pattern:j,ref:t=>this.nativeInput=t,onKeyPress:this.blockInvalidChar,onFocus:()=>this.isFocus=!0,onBlur:()=>this.isFocus=!1,onError:t=>console.log(t),onErrorCapture:t=>console.log(t)}),z&&n("span",{class:_()},n("i",{class:z}))),n("div",{class:E()},n("span",{class:k()},n("i",{class:"fas fa-caret-up"})),n("span",{class:k()},n("i",{class:"fas fa-caret-down"})))),n(p,{noCaption:b,captionType:u,captionError:d,caption:h,customErrorMessage:f}))}};o.style='@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");\n.size-1 {\n font-size: 12px;\n line-height: 20px;\n}\n\n.size-2 {\n font-size: 14px;\n line-height: 22px;\n}\n\n.size-3 {\n font-size: 16px;\n line-height: 24px;\n}\n\n.size-4 {\n font-size: 20px;\n line-height: 28px;\n}\n\n.size-5 {\n font-size: 24px;\n line-height: 32px;\n}\n\n.size-6 {\n font-size: 30px;\n line-height: 38px;\n}\n\n.size-7 {\n font-size: 38px;\n line-height: 46px;\n}\n\n.size-8 {\n font-size: 46px;\n line-height: 54px;\n}\n\n.size-9 {\n font-size: 56px;\n line-height: 64px;\n}\n\n.weight-regular {\n font-weight: 400;\n}\n\n.weight-semibold {\n font-weight: 500;\n}\n\n/**\n * Generator\n */\n.input-size-large {\n height: 40px;\n}\n\n.input-size-medium {\n height: 32px;\n}\n\n.input-size-small {\n height: 24px;\n}\n\n.resize-none textarea {\n resize: none;\n}\n\n.resize-vertical textarea {\n resize: vertical;\n}\n\n.resize-auto textarea {\n height: auto;\n resize: none;\n}\n\n.textarea-size-large {\n padding: 4px 0 0 4px;\n min-height: 40px;\n}\n.textarea-size-large .bcm-input-element {\n min-height: calc((40px - 8px) + 2px);\n}\n.textarea-size-large .input-clear-button {\n height: calc( 40px - 16px );\n top: 8px;\n padding: 0;\n margin-right: 8px;\n}\n\n.textarea-size-medium {\n padding: 4px 0 0 4px;\n min-height: 32px;\n}\n.textarea-size-medium .bcm-input-element {\n min-height: calc((32px - 8px) + 2px);\n}\n.textarea-size-medium .input-clear-button {\n height: calc( 32px - 16px );\n top: 8px;\n padding: 0;\n margin-right: 8px;\n}\n\n.textarea-size-small {\n padding: 0px 0 0 4px;\n min-height: 24px;\n}\n.textarea-size-small .bcm-input-element {\n min-height: calc((24px - 8px) + 2px);\n}\n.textarea-size-small .input-clear-button {\n height: calc( 24px - 16px );\n top: 8px;\n padding: 0;\n margin-right: 8px;\n}\n\n@layer base {\n .bcm-number-input input[type=number]::-webkit-outer-spin-button,\n.bcm-number-input input[type=number]::-webkit-inner-spin-button,\n.bcm-number-input input[type=number] {\n -webkit-appearance: none;\n padding: 0px;\n margin: 0px;\n outline: none;\n border: 0px;\n vertical-align: baseline;\n -moz-appearance: textfield !important;\n }\n}';export{o as bcm_number_input}
@@ -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 p}from"./p-e037ee2b.js";import{G as n}from"./p-c926e138.js";import"./p-4a540b56.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";const s=class{constructor(i){e(this,i),this._id=n.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 p=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!==p&&(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,p;if(!this.multi){var n=(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===(p=null==e?void 0:e.target)||void 0===p?void 0:p.nodeName)||null)&&this._id==n&&this.checkExpandedCount()}}render(){return i(t,{id:this._id},i("slot",null))}get el(){return p(this)}};s.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{s as bcm_accordion}
5
+ import{r as e,h as i,H as t,g as p}from"./p-e037ee2b.js";import{G as n}from"./p-fe7e383d.js";import"./p-9f6bbc21.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";const s=class{constructor(i){e(this,i),this._id=n.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 p=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!==p&&(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,p;if(!this.multi){var n=(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===(p=null==e?void 0:e.target)||void 0===p?void 0:p.nodeName)||null)&&this._id==n&&this.checkExpandedCount()}}render(){return i(t,{id:this._id},i("slot",null))}get el(){return p(this)}};s.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{s as bcm_accordion}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{r as t,c as i,h as s,H as e,g as h}from"./p-e037ee2b.js";import{I as r}from"./p-8e5e362a.js";import"./p-4798d827.js";import"./p-626a65e9.js";import{G as a}from"./p-c926e138.js";import"./p-6bea3bea.js";import"./p-94554e42.js";import"./p-ba2ddaf6.js";import"./p-5ae0a59b.js";import{a as o}from"./p-6369b73b.js";import{C as c}from"./p-8a92f2bf.js";import{c as n}from"./p-bed627ab.js";import"./p-3fac58f7.js";import"./p-2e73d572.js";import{h as p}from"./p-76edf59f.js";import"./p-436364c8.js";import"./p-3c7a0345.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-4a540b56.js";const m=class{constructor(s){t(this,s),this.change=i(this,"bcm-change",7),this.onChange=t=>{this.value=this.getValueObject(t.detail),this.change.emit(this.value)},this.getFormat=()=>{if(!this.format){const t=this.use12Hours?"hh":"HH",i=`${this.showSecond?`${t}:mm:ss`:this.showMinute?`${t}:mm`:`${t}`}${this.use12Hours?" a":""}`;switch(this.type){case"time":return`${i}`;case"date":default:return"DD/MM/YYYY";case"datetime":return`DD/MM/YYYY ${i}`;case"week":return"YYYY-wo";case"month":return"MM/YYYY";case"year":return"YYYY"}}return this.format},this.getValueObject=t=>this.range?this.getRangeValueObject(t):this.createValueObject(t),this.getRangeValueObject=t=>{const[i,s]=t._i||[],e=this.createValueObject(i),h=this.createValueObject(s);return Object.assign({isValid:e.isValid&&h.isValid,start:e,end:h,date:[e.date,h.date],timestamp:[e.timestamp,h.timestamp],value:`${e.value} - ${h.value}`},"time"===this.type&&{time:`${e.time} - ${h.time}`})},this.createValueObject=t=>t&&p(t).isValid()?Object.assign({isValid:p(t).isValid(),date:p(t).toDate(),timestamp:p(t).valueOf(),dateObject:{year:p(t).year(),day:p(t).date(),month:p(t).month(),dayOfWeek:p(t).day(),monthFirstDay:p(t).startOf("month").day()},value:p(t).format(this.getFormat())},"time"===this.type&&{time:p(t).format(this.getFormat()),timeObject:{hour:p(t).hour(),minute:p(t).minute(),second:p(t).second()}}):null,this._id=a.UID(),this.label=void 0,this.placeholder=void 0,this.size=o.Size.medium,this.fullWidth=!1,this.required=!1,this.clearable=!1,this.disabled=!1,this.noMargin=!1,this.caption=void 0,this.noCaption=!1,this.captionType=o.Status.default,this.captionError=void 0,this.name=void 0,this.value=void 0,this.type="date",this.format=void 0,this.range=!1,this.showTime=!1,this.showNow=!0,this.showHour=!0,this.showMinute=!0,this.showSecond=!1,this.use12Hours=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.hideDisabledOptions=!1,this.disabledTime=void 0,this.showToday=!0,this.disabledDates=void 0}async getValue(){return this.value}async get(){var t;return(null===(t=this.value)||void 0===t?void 0:t.timestamp)||null}async set(t){this.getPickerElement().set(t)}async setClear(){this.getPickerElement().set(null)}async resetCaption(){this.captionType="default",this.captionError=null}async getInput(){return this.el.querySelector("input")}async isValid(){var t;return(null===(t=this.getValueObject(this.value))||void 0===t?void 0:t.isValid)||!1}getPickerElement(){return this.el.querySelector("bcm-rc-picker")}render(){const{label:t,size:i,captionType:h,required:r,_id:a}=this;return s(e,{class:n("bcm-ui-element bcm-ui-input","tw-relative tw-m-0 tw-inline-flex tw-w-full tw-flex-col",{"tw-max-w-[256px]":!this.fullWidth,"tw-mb-2":!this.noMargin})},t&&s("bcm-label",{size:i,type:h,value:t,required:r,htmlFor:a}),s("bcm-rc-picker",{id:a+"-picker",class:n("w-full tw-flex"),onBcmRCPickerChange:t=>this.onChange(t),disabled:this.disabled,clearable:this.clearable,size:i,placeholder:this.placeholder,error:"error"===this.captionType,type:this.type,format:this.getFormat(),range:this.range,showToday:this.showToday,disabledDates:this.disabledDates,showTime:this.showTime,showNow:this.showNow,showHour:this.showHour,showMinute:this.showMinute,showSecond:this.showSecond,use12Hours:this.use12Hours,hourStep:this.hourStep,minuteStep:this.minuteStep,secondStep:this.secondStep,hideDisabledOptions:this.hideDisabledOptions,disabledTime:this.disabledTime}),s(c,{noCaption:this.noCaption,captionType:this.captionType,captionError:this.captionError,caption:this.caption}))}get el(){return h(this)}};!function(t,i,s,e){var h,r=arguments.length,a=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,s,e);else for(var o=t.length-1;o>=0;o--)(h=t[o])&&(a=(r<3?h(a):r>3?h(i,s,a):h(i,s))||a);r>3&&a&&Object.defineProperty(i,s,a)}([r()],m.prototype,"el",void 0);export{m as bcm_date}
5
+ import{r as t,c as i,h as s,H as e,g as h}from"./p-e037ee2b.js";import{I as r}from"./p-8e5e362a.js";import"./p-4798d827.js";import"./p-626a65e9.js";import{G as o}from"./p-fe7e383d.js";import"./p-bcd599fd.js";import"./p-94554e42.js";import"./p-18665a1b.js";import"./p-5ae0a59b.js";import{B as a}from"./p-6369b73b.js";import{C as c}from"./p-8a92f2bf.js";import{c as n}from"./p-bed627ab.js";import"./p-3fac58f7.js";import"./p-2e73d572.js";import{h as p}from"./p-76edf59f.js";import"./p-436364c8.js";import"./p-3c7a0345.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-9f6bbc21.js";const m=class{constructor(s){t(this,s),this.change=i(this,"bcm-change",7),this.onChange=t=>{this.value=this.getValueObject(t.detail),this.change.emit(this.value)},this.getFormat=()=>{if(!this.format){const t=this.use12Hours?"hh":"HH",i=`${this.showSecond?`${t}:mm:ss`:this.showMinute?`${t}:mm`:`${t}`}${this.use12Hours?" a":""}`;switch(this.type){case"time":return`${i}`;case"date":default:return"DD/MM/YYYY";case"datetime":return`DD/MM/YYYY ${i}`;case"week":return"YYYY-wo";case"month":return"MM/YYYY";case"year":return"YYYY"}}return this.format},this.getValueObject=t=>this.range?this.getRangeValueObject(t):this.createValueObject(t),this.getRangeValueObject=t=>{const[i,s]=t._i||[],e=this.createValueObject(i),h=this.createValueObject(s);return Object.assign({isValid:e.isValid&&h.isValid,start:e,end:h,date:[e.date,h.date],timestamp:[e.timestamp,h.timestamp],value:`${e.value} - ${h.value}`},"time"===this.type&&{time:`${e.time} - ${h.time}`})},this.createValueObject=t=>t&&p(t).isValid()?Object.assign({isValid:p(t).isValid(),date:p(t).toDate(),timestamp:p(t).valueOf(),dateObject:{year:p(t).year(),day:p(t).date(),month:p(t).month(),dayOfWeek:p(t).day(),monthFirstDay:p(t).startOf("month").day()},value:p(t).format(this.getFormat())},"time"===this.type&&{time:p(t).format(this.getFormat()),timeObject:{hour:p(t).hour(),minute:p(t).minute(),second:p(t).second()}}):null,this._id=o.UID(),this.label=void 0,this.placeholder=void 0,this.size=a.Size.medium,this.fullWidth=!1,this.required=!1,this.clearable=!1,this.disabled=!1,this.noMargin=!1,this.caption=void 0,this.noCaption=!1,this.captionType=a.Status.default,this.captionError=void 0,this.name=void 0,this.value=void 0,this.type="date",this.format=void 0,this.range=!1,this.showTime=!1,this.showNow=!0,this.showHour=!0,this.showMinute=!0,this.showSecond=!1,this.use12Hours=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.hideDisabledOptions=!1,this.disabledTime=void 0,this.showToday=!0,this.disabledDates=void 0}async getValue(){return this.value}async get(){var t;return(null===(t=this.value)||void 0===t?void 0:t.timestamp)||null}async set(t){this.getPickerElement().set(t)}async setClear(){this.getPickerElement().set(null)}async resetCaption(){this.captionType="default",this.captionError=null}async getInput(){return this.el.querySelector("input")}async isValid(){var t;return(null===(t=this.getValueObject(this.value))||void 0===t?void 0:t.isValid)||!1}getPickerElement(){return this.el.querySelector("bcm-rc-picker")}render(){const{label:t,size:i,captionType:h,required:r,_id:o}=this;return s(e,{class:n("bcm-ui-element bcm-ui-input","tw-relative tw-m-0 tw-inline-flex tw-w-full tw-flex-col",{"tw-max-w-[256px]":!this.fullWidth,"tw-mb-2":!this.noMargin})},t&&s("bcm-label",{size:i,type:h,value:t,required:r,htmlFor:o}),s("bcm-rc-picker",{id:o+"-picker",class:n("w-full tw-flex"),onBcmRCPickerChange:t=>this.onChange(t),disabled:this.disabled,clearable:this.clearable,size:i,placeholder:this.placeholder,error:"error"===this.captionType,type:this.type,format:this.getFormat(),range:this.range,showToday:this.showToday,disabledDates:this.disabledDates,showTime:this.showTime,showNow:this.showNow,showHour:this.showHour,showMinute:this.showMinute,showSecond:this.showSecond,use12Hours:this.use12Hours,hourStep:this.hourStep,minuteStep:this.minuteStep,secondStep:this.secondStep,hideDisabledOptions:this.hideDisabledOptions,disabledTime:this.disabledTime}),s(c,{noCaption:this.noCaption,captionType:this.captionType,captionError:this.captionError,caption:this.caption}))}get el(){return h(this)}};!function(t,i,s,e){var h,r=arguments.length,o=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,s):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,i,s,e);else for(var a=t.length-1;a>=0;a--)(h=t[a])&&(o=(r<3?h(o):r>3?h(i,s,o):h(i,s))||o);r>3&&o&&Object.defineProperty(i,s,o)}([r()],m.prototype,"el",void 0);export{m as bcm_date}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{c as e}from"./p-197aba37.js";import{G as t,s}from"./p-c926e138.js";import{f as a}from"./p-e037ee2b.js";const{state:c}=e({value:new Map,setData:{}}),i={removeState:e=>{c.value.delete(e)},getValue:e=>s((()=>c.value.get(e)),{}),setValue:e=>{const s=Object.assign(Object.assign({},e),{steps:e.steps&&e.steps.length>0&&e.steps.filter((e=>!e.hidden)).map(((s,a)=>({id:s.id||t.UID(),title:s.title||s._title,_title:s.title||s._title||"Step "+(a+1),description:s.description||"",status:s.status||"default",disabled:e.linear?0!=a:s.disabled||!1,icon:s.icon||void 0,valid:s.valid||!0,loading:s.loading||!1,index:a+1,active:e.linear?0==a:e.active===a+1,isLast:a===e.steps.length-1,statusIcon:e.icon,headerHidden:s.hidden})))});c.value.set(e.id,s)},changeActiveStep:(e,t)=>{const s=c.value.get(e);s&&(s.active=t,s.steps=s.steps.map(((e,s)=>Object.assign(Object.assign({},e),{active:s===t-1}))))},getActiveIndex:e=>s((()=>c.value.get(e).active),0),changeStepStatus:(e,t,s)=>{const i=c.value.get(e);i&&i.steps&&(i.steps=i.steps.map((e=>Object.assign(Object.assign({},e),{status:e.id===t?s:e.status}))),a(i.el))},changeStepDisabled:(e,t,s)=>{const i=c.value.get(e);i&&i.steps&&(i.steps=i.steps.map((e=>Object.assign(Object.assign({},e),{disabled:e.id===t?s:e.disabled}))),a(i.el))},stepperReset:e=>{const t=c.value.get(e);t&&(t.active=1,t.steps=t.steps.map(((e,t)=>Object.assign(Object.assign({},e),{active:0===t,status:"default",disabled:0!==t,loading:!1}))),a(t.el))},setActiveIndex:(e,t)=>c.value.get(e).active=t};export{i as s}
5
+ import{c as e}from"./p-197aba37.js";import{G as t,s}from"./p-fe7e383d.js";import{f as a}from"./p-e037ee2b.js";const{state:c}=e({value:new Map,setData:{}}),i={removeState:e=>{c.value.delete(e)},getValue:e=>s((()=>c.value.get(e)),{}),setValue:e=>{const s=Object.assign(Object.assign({},e),{steps:e.steps&&e.steps.length>0&&e.steps.filter((e=>!e.hidden)).map(((s,a)=>({id:s.id||t.UID(),title:s.title||s._title,_title:s.title||s._title||"Step "+(a+1),description:s.description||"",status:s.status||"default",disabled:e.linear?0!=a:s.disabled||!1,icon:s.icon||void 0,valid:s.valid||!0,loading:s.loading||!1,index:a+1,active:e.linear?0==a:e.active===a+1,isLast:a===e.steps.length-1,statusIcon:e.icon,headerHidden:s.hidden})))});c.value.set(e.id,s)},changeActiveStep:(e,t)=>{const s=c.value.get(e);s&&(s.active=t,s.steps=s.steps.map(((e,s)=>Object.assign(Object.assign({},e),{active:s===t-1}))))},getActiveIndex:e=>s((()=>c.value.get(e).active),0),changeStepStatus:(e,t,s)=>{const i=c.value.get(e);i&&i.steps&&(i.steps=i.steps.map((e=>Object.assign(Object.assign({},e),{status:e.id===t?s:e.status}))),a(i.el))},changeStepDisabled:(e,t,s)=>{const i=c.value.get(e);i&&i.steps&&(i.steps=i.steps.map((e=>Object.assign(Object.assign({},e),{disabled:e.id===t?s:e.disabled}))),a(i.el))},stepperReset:e=>{const t=c.value.get(e);t&&(t.active=1,t.steps=t.steps.map(((e,t)=>Object.assign(Object.assign({},e),{active:0===t,status:"default",disabled:0!==t,loading:!1}))),a(t.el))},setActiveIndex:(e,t)=>c.value.get(e).active=t};export{i as s}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{g as t}from"./p-e037ee2b.js";import{s as n}from"./p-c926e138.js";function s(s,o=!1){return(i,e)=>{const{connectedCallback:c,componentWillRender:r}=i;i.connectedCallback=function(){const o=t(this);if(o[e]){const t=n((()=>o.hasAttribute(s)?o.getAttribute(s).valueOf():o[s].valueOf()),null);t&&(this[e]=n((()=>"string"==typeof t?JSON.parse(t):t),[]),o.removeAttribute(s))}return c&&c.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 r&&r.call(this)}}}}export{s as J}
5
+ import{g as t}from"./p-e037ee2b.js";import{s as n}from"./p-fe7e383d.js";function s(s,o=!1){return(i,e)=>{const{connectedCallback:r,componentWillRender:c}=i;i.connectedCallback=function(){const o=t(this);if(o[e]){const t=n((()=>o.hasAttribute(s)?o.getAttribute(s).valueOf():o[s].valueOf()),null);t&&(this[e]=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 c&&c.call(this)}}}}export{s as J}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{B as e}from"./p-6369b73b.js";import{c as a,a as r}from"./p-e45c1546.js";var n=a((function(e){var a;e.exports=(a=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function r(r,n){if("string"!=typeof r)throw new Error("slugify: string argument expected");var o=a[(n="string"==typeof n?{replacement:n}:n||{}).locale]||{},i=void 0===n.replacement?"-":n.replacement,t=void 0===n.trim||n.trim,u=r.normalize().split("").reduce((function(a,r){var t=o[r];return void 0===t&&(t=e[r]),void 0===t&&(t=r),t===i&&(t=" "),a+t.replace(n.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return n.strict&&(u=u.replace(/[^A-Za-z0-9\s]/g,"")),t&&(u=u.trim()),u=u.replace(/\s+/g,i),n.lower&&(u=u.toLowerCase()),u}return r.extend=function(a){Object.assign(e,a)},r})(),e.exports.default=a()}));class o{}o.lowercase=e=>e.toLowerCase(),o.uppercase=e=>e.toUpperCase(),o.capitalize=e=>e.charAt(0).toUpperCase()+e.slice(1),o.camelCase=e=>e.replace(/\s(.)/g,(function(e){return e.toUpperCase()})).replace(/\s/g,""),o.kebabCase=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.snakeCase=e=>e.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase(),o.titleCase=e=>e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})),o.trim=e=>e&&e.trim(),o.trimLeft=e=>e.trimLeft(),o.trimRight=e=>e.trimRight(),o.trimAll=e=>e.trim().replace(/\s+/g," "),o.replace=(e,a,r)=>e.replace(a,r),o.remove=(e,a)=>e.replace(a,""),o.isNullOrEmpty=e=>null==e||""===e,o.localizationMessage=(e,a)=>e.replace(/{(\d+)}/g,((e,r)=>void 0!==a[r]?a[r]:e)),o.getMessage=(a,r)=>o.localizationMessage(e.FormErrorMessages[a],r),o.split=(e,a)=>e.split(a),o.textContains=(e,a)=>e&&-1!==e.indexOf(a),o.textLimitter=(e,a,r=!1)=>(e&&e.length>a?`${e.substring(0,a)}...`:e)+""+(r?" <br /> ":""),o.slugify=e=>n(e,{replacement:" ",remove:void 0,lower:!0,strict:!1,locale:"vi",trim:!1}),o.highlight=(e,a)=>{let r=e;r=r.replace(/(<mark>|<\/mark>)/gim,"");const n=a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),o=new RegExp(n,"gi");return r.replace(o,"<mark>$&</mark>")},o.templateParser=(e,a)=>e.replace(/\{{(\w+)\}}/g,((e,r)=>a[r]||"")),o.parseStringToBoolean=e=>"true"===e,o.elementBooleanCheck=e=>{const a=JSON.parse(JSON.stringify(e));if(null!=a){if(a.length>0){if("true"==a)return!0;if("false"==a)return!1}return!0}return!1},o.htmlEntities=e=>String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");export{o as S}
5
+ import{a as e}from"./p-6369b73b.js";import{c as a,a as r}from"./p-e45c1546.js";var n=a((function(e){var a;e.exports=(a=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function r(r,n){if("string"!=typeof r)throw new Error("slugify: string argument expected");var o=a[(n="string"==typeof n?{replacement:n}:n||{}).locale]||{},i=void 0===n.replacement?"-":n.replacement,t=void 0===n.trim||n.trim,u=r.normalize().split("").reduce((function(a,r){var t=o[r];return void 0===t&&(t=e[r]),void 0===t&&(t=r),t===i&&(t=" "),a+t.replace(n.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return n.strict&&(u=u.replace(/[^A-Za-z0-9\s]/g,"")),t&&(u=u.trim()),u=u.replace(/\s+/g,i),n.lower&&(u=u.toLowerCase()),u}return r.extend=function(a){Object.assign(e,a)},r})(),e.exports.default=a()}));class o{}o.lowercase=e=>e.toLowerCase(),o.uppercase=e=>e.toUpperCase(),o.capitalize=e=>e.charAt(0).toUpperCase()+e.slice(1),o.camelCase=e=>e.replace(/\s(.)/g,(function(e){return e.toUpperCase()})).replace(/\s/g,""),o.kebabCase=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.snakeCase=e=>e.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase(),o.titleCase=e=>e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})),o.trim=e=>e&&e.trim(),o.trimLeft=e=>e.trimLeft(),o.trimRight=e=>e.trimRight(),o.trimAll=e=>e.trim().replace(/\s+/g," "),o.replace=(e,a,r)=>e.replace(a,r),o.remove=(e,a)=>e.replace(a,""),o.isNullOrEmpty=e=>null==e||""===e,o.localizationMessage=(e,a)=>e.replace(/{(\d+)}/g,((e,r)=>void 0!==a[r]?a[r]:e)),o.getMessage=(a,r)=>o.localizationMessage(e.FormErrorMessages[a],r),o.split=(e,a)=>e.split(a),o.textContains=(e,a)=>e&&-1!==e.indexOf(a),o.textLimitter=(e,a,r=!1)=>(e&&e.length>a?`${e.substring(0,a)}...`:e)+""+(r?" <br /> ":""),o.slugify=e=>n(e,{replacement:" ",remove:void 0,lower:!0,strict:!1,locale:"vi",trim:!1}),o.highlight=(e,a)=>{let r=e;r=r.replace(/(<mark>|<\/mark>)/gim,"");const n=a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),o=new RegExp(n,"gi");return r.replace(o,"<mark>$&</mark>")},o.templateParser=(e,a)=>e.replace(/\{{(\w+)\}}/g,((e,r)=>a[r]||"")),o.parseStringToBoolean=e=>"true"===e,o.elementBooleanCheck=e=>{const a=JSON.parse(JSON.stringify(e));if(null!=a){if(a.length>0){if("true"==a)return!0;if("false"==a)return!1}return!0}return!1},o.htmlEntities=e=>String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");export{o as S}
@@ -2,4 +2,4 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import{r as e,c as t,h as i,g as s}from"./p-e037ee2b.js";import{G as c,s as d}from"./p-c926e138.js";import{S as l}from"./p-94554e42.js";import"./p-4a540b56.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-6369b73b.js";const n=class{constructor(i){e(this,i),this.bcmItems=t(this,"bcm-items",7),this._id=c.UID()}connectedCallback(){if(this.el.children&&this.el.children.length>0){let e=this.nestedItems(this.el);this.bcmItems.emit(e),this.el.remove()}}mapItems(e){var t;const i=null===(t=null==e?void 0:e.innerHTML)||void 0===t?void 0:t.replace(/<bcm-item>.*<\/bcm-item>/g,"").replace(/<bcm-item .*>.*<\/bcm-item>/g,"").replace(/<!--(.|\s)*?-->/g,"").trim(),s=t=>l.elementBooleanCheck(e.getAttribute(t));return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e.getAttribute("id")||c.UID(),text:e.getAttribute("text")||i},e.innerHTML.trim()&&{isHtmlContent:e.textContent.length>0?e.innerHTML.trim():null}),s("disabled")&&{disabled:s("disabled")}),s("selected")&&{selected:s("selected")}),s("hidden")&&{hidden:s("hidden")}),s("checked")&&{checked:s("checked")}),s("readonly")&&{readonly:s("readonly")}),s("active")&&{active:s("active")}),s("icon")&&{icon:e.getAttribute("icon")}),s("link")&&{link:e.getAttribute("link")})}nestedItems(e){return d((()=>Array.from(null==e?void 0:e.children).map((e=>{var t;return Object.assign(Object.assign({},"bcm-item"===(null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.toLowerCase())&&this.mapItems(e)),{items:this.nestedItems(e)})}))),[])}render(){return i("slot",null)}get el(){return s(this)}};export{n as bcm_items}
5
+ import{r as e,c as t,h as i,g as s}from"./p-e037ee2b.js";import{G as c,s as d}from"./p-fe7e383d.js";import{S as l}from"./p-94554e42.js";import"./p-9f6bbc21.js";import"./p-034bbcdd.js";import"./p-e45c1546.js";import"./p-6369b73b.js";const n=class{constructor(i){e(this,i),this.bcmItems=t(this,"bcm-items",7),this._id=c.UID()}connectedCallback(){if(this.el.children&&this.el.children.length>0){let e=this.nestedItems(this.el);this.bcmItems.emit(e),this.el.remove()}}mapItems(e){var t;const i=null===(t=null==e?void 0:e.innerHTML)||void 0===t?void 0:t.replace(/<bcm-item>.*<\/bcm-item>/g,"").replace(/<bcm-item .*>.*<\/bcm-item>/g,"").replace(/<!--(.|\s)*?-->/g,"").trim(),s=t=>l.elementBooleanCheck(e.getAttribute(t));return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e.getAttribute("id")||c.UID(),text:e.getAttribute("text")||i},e.innerHTML.trim()&&{isHtmlContent:e.textContent.length>0?e.innerHTML.trim():null}),s("disabled")&&{disabled:s("disabled")}),s("selected")&&{selected:s("selected")}),s("hidden")&&{hidden:s("hidden")}),s("checked")&&{checked:s("checked")}),s("readonly")&&{readonly:s("readonly")}),s("active")&&{active:s("active")}),s("icon")&&{icon:e.getAttribute("icon")}),s("link")&&{link:e.getAttribute("link")})}nestedItems(e){return d((()=>Array.from(null==e?void 0:e.children).map((e=>{var t;return Object.assign(Object.assign({},"bcm-item"===(null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.toLowerCase())&&this.mapItems(e)),{items:this.nestedItems(e)})}))),[])}render(){return i("slot",null)}get el(){return s(this)}};export{n as bcm_items}