bromcom-ui 2.9.0-rc.8 → 2.9.0-rc.9

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 (386) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/global/global.js +6 -0
  4. package/dist/bromcom-ui/{p-bd51d347.entry.js → p-01416407.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-499bb928.entry.js → p-0261a41f.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-4aa0e6b1.js → p-034bbcdd.js} +1 -1
  7. package/dist/bromcom-ui/{p-fb4b5224.entry.js → p-041d35e1.entry.js} +1 -1
  8. package/dist/bromcom-ui/{p-73ca7c0a.entry.js → p-0b390d63.entry.js} +1 -1
  9. package/dist/bromcom-ui/{p-5c3e9ac9.entry.js → p-123d6355.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-0cb5a92d.entry.js → p-13c84181.entry.js} +1 -1
  11. package/dist/bromcom-ui/p-14c7e2a8.js +297 -0
  12. package/dist/bromcom-ui/p-170cf07d.js +6 -0
  13. package/dist/bromcom-ui/{p-1be22601.entry.js → p-173a5459.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-8ded5483.entry.js → p-228c74e9.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-a429e85b.js → p-23c35e1b.js} +1 -1
  16. package/dist/bromcom-ui/{p-45767d1d.entry.js → p-27089653.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-f58c1fbe.entry.js → p-27c24ba2.entry.js} +1 -1
  18. package/dist/bromcom-ui/{p-81eeccfa.entry.js → p-28f78dd4.entry.js} +1 -1
  19. package/dist/bromcom-ui/p-2a9053d8.js +5 -0
  20. package/dist/bromcom-ui/{p-af0a447d.entry.js → p-2ad0514a.entry.js} +1 -1
  21. package/dist/bromcom-ui/p-2d4a0a66.entry.js +5 -0
  22. package/dist/bromcom-ui/{p-89e1d8c5.entry.js → p-3078fcd2.entry.js} +1 -1
  23. package/dist/bromcom-ui/p-3182df7e.js +10 -0
  24. package/dist/bromcom-ui/{p-2a7bdc8b.entry.js → p-33cb3b7a.entry.js} +1 -1
  25. package/dist/bromcom-ui/{p-65f01d32.entry.js → p-3788e33d.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-a82f2b2a.entry.js → p-39342bfb.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-6ca980dd.entry.js → p-3960cae8.entry.js} +1 -1
  28. package/dist/bromcom-ui/{p-f4538abb.entry.js → p-3a06c6b1.entry.js} +1 -1
  29. package/dist/bromcom-ui/{p-54c0916c.js → p-3ade1099.js} +1 -1
  30. package/dist/bromcom-ui/{p-e5a0d8f6.entry.js → p-3bcaa275.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-ebee9f45.entry.js → p-3d730230.entry.js} +1 -1
  32. package/dist/bromcom-ui/p-3f67e615.js +5 -0
  33. package/dist/bromcom-ui/{p-0f52bab9.entry.js → p-41143361.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-b1c83bb8.entry.js → p-44ca28fa.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-b4ac5904.js → p-477c5bae.js} +1 -1
  36. package/dist/bromcom-ui/{p-2fc584c4.js → p-4798d827.js} +1 -1
  37. package/dist/bromcom-ui/{p-d389b202.entry.js → p-485d801c.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-7c6e3ae5.entry.js → p-4e33341b.entry.js} +1 -1
  39. package/dist/bromcom-ui/p-52989d8c.entry.js +5 -0
  40. package/dist/bromcom-ui/{p-4484ed7d.entry.js → p-55309a20.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-d0bb9a84.entry.js → p-55b60edb.entry.js} +1 -1
  42. package/dist/bromcom-ui/p-5600c817.js +5 -0
  43. package/dist/bromcom-ui/{p-9fe802bc.entry.js → p-620aa5b0.entry.js} +1 -1
  44. package/dist/bromcom-ui/{p-065e0f32.entry.js → p-626c26aa.entry.js} +1 -1
  45. package/dist/bromcom-ui/p-62ea396b.entry.js +5 -0
  46. package/dist/bromcom-ui/{p-235023cc.entry.js → p-667876ac.entry.js} +1 -1
  47. package/dist/bromcom-ui/{p-03134b6f.entry.js → p-67343ad8.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-fdc3e5b8.entry.js → p-68bf022e.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-f331e009.entry.js → p-6ab403d2.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-24f0e23a.entry.js → p-6cc47ae0.entry.js} +1 -1
  51. package/dist/bromcom-ui/{p-c799b397.entry.js → p-6f375d08.entry.js} +1 -1
  52. package/dist/bromcom-ui/{p-908b1b5d.js → p-7236f21c.js} +1 -1
  53. package/dist/bromcom-ui/{p-3cde7f38.js → p-74e6d2b6.js} +1 -1
  54. package/dist/bromcom-ui/{p-dc2c4b14.entry.js → p-7b486021.entry.js} +1 -1
  55. package/dist/bromcom-ui/{p-d995750a.entry.js → p-7c5763cc.entry.js} +1 -1
  56. package/dist/bromcom-ui/{p-2caa75a4.entry.js → p-7cb2df5d.entry.js} +1 -1
  57. package/dist/bromcom-ui/p-7e3209a0.js +14 -0
  58. package/dist/bromcom-ui/{p-240151d4.entry.js → p-7f1612df.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-4fd78dbb.entry.js → p-7f22af84.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-8fcb5846.js → p-81d6b4a9.js} +1 -1
  61. package/dist/bromcom-ui/{p-ec36d0c0.entry.js → p-81f7a8cf.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-ec6b45ba.entry.js → p-833b0234.entry.js} +1 -1
  63. package/dist/bromcom-ui/{p-32028f4f.entry.js → p-875dcc4e.entry.js} +1 -1
  64. package/dist/bromcom-ui/{p-d7f10f7f.js → p-8b7f2c93.js} +1 -1
  65. package/dist/bromcom-ui/{p-7ddaedb7.entry.js → p-8c3535b6.entry.js} +1 -1
  66. package/dist/bromcom-ui/p-9166c160.entry.js +5 -0
  67. package/dist/bromcom-ui/{p-6c3e9e10.entry.js → p-9314d7ed.entry.js} +1 -1
  68. package/dist/bromcom-ui/{p-a9692ed3.entry.js → p-9682f59f.entry.js} +1 -1
  69. package/dist/bromcom-ui/{p-8bcfe3b3.entry.js → p-9d12a9da.entry.js} +1 -1
  70. package/dist/bromcom-ui/p-a231503d.js +5 -0
  71. package/dist/bromcom-ui/{p-5d89f348.entry.js → p-a2f55c7e.entry.js} +1 -1
  72. package/dist/bromcom-ui/{p-503feae9.entry.js → p-a3837b59.entry.js} +1 -1
  73. package/dist/bromcom-ui/{p-61c4745d.entry.js → p-a7bc8330.entry.js} +1 -1
  74. package/dist/bromcom-ui/p-a9842acd.entry.js +5 -0
  75. package/dist/bromcom-ui/{p-ea4d8a18.entry.js → p-ae57f046.entry.js} +1 -1
  76. package/dist/bromcom-ui/{p-f619f9f9.entry.js → p-b284e383.entry.js} +1 -1
  77. package/dist/bromcom-ui/p-b82685e4.js +12 -0
  78. package/dist/bromcom-ui/{p-e4477593.entry.js → p-ba3c6657.entry.js} +1 -1
  79. package/dist/bromcom-ui/p-ba7e96a8.entry.js +5 -0
  80. package/dist/bromcom-ui/p-ba89b896.entry.js +5 -0
  81. package/dist/bromcom-ui/p-bed627ab.js +11 -0
  82. package/dist/bromcom-ui/{p-c42dffea.entry.js → p-c05f56ab.entry.js} +1 -1
  83. package/dist/bromcom-ui/p-c0d7b05e.js +5 -0
  84. package/dist/bromcom-ui/{p-6aeaef2a.entry.js → p-c5c61430.entry.js} +1 -1
  85. package/dist/bromcom-ui/p-c7757dd5.entry.js +5 -0
  86. package/dist/bromcom-ui/{p-6bcaf906.entry.js → p-c82fc2b1.entry.js} +1 -1
  87. package/dist/bromcom-ui/{p-c75519d5.js → p-c87ea210.js} +1 -1
  88. package/dist/bromcom-ui/{p-1b1f4b44.entry.js → p-cea71a01.entry.js} +1 -1
  89. package/dist/bromcom-ui/{p-8d0ca8c2.js → p-cff8ef93.js} +1 -1
  90. package/dist/bromcom-ui/p-d0b993c1.entry.js +5 -0
  91. package/dist/bromcom-ui/{p-7f529bbe.entry.js → p-d20f131e.entry.js} +1 -1
  92. package/dist/bromcom-ui/{p-f5bed571.entry.js → p-d88bc175.entry.js} +1 -1
  93. package/dist/bromcom-ui/{p-ff48f5b2.entry.js → p-da4bd91f.entry.js} +1 -1
  94. package/dist/bromcom-ui/{p-b60bcecf.js → p-dc8305dc.js} +1 -1
  95. package/dist/bromcom-ui/p-de6dcf0d.entry.js +5 -0
  96. package/dist/bromcom-ui/{p-48f85544.entry.js → p-df185078.entry.js} +1 -1
  97. package/dist/bromcom-ui/{p-dbc4c30c.js → p-e1689f47.js} +1 -1
  98. package/dist/bromcom-ui/p-e1877ee9.js +5 -0
  99. package/dist/bromcom-ui/p-e45c1546.js +5 -0
  100. package/dist/bromcom-ui/p-e705fda8.entry.js +5 -0
  101. package/dist/bromcom-ui/{p-4f8b00bc.entry.js → p-ec04b3a4.entry.js} +1 -1
  102. package/dist/bromcom-ui/p-f3fb3196.entry.js +5 -0
  103. package/dist/bromcom-ui/{p-2acd6bee.entry.js → p-f6e549ce.entry.js} +1 -1
  104. package/dist/cjs/{_commonjsHelpers-bd20f4c0.js → _commonjsHelpers-ed84c3ca.js} +16 -0
  105. package/dist/cjs/ag-grid-enterprise.auto.esm-cf48f6b2.js +111638 -0
  106. package/dist/cjs/bcm-accordion.cjs.entry.js +5 -5
  107. package/dist/cjs/bcm-alert.cjs.entry.js +9 -9
  108. package/dist/cjs/bcm-attendance.cjs.entry.js +5 -5
  109. package/dist/cjs/bcm-autocomplete.cjs.entry.js +3 -3
  110. package/dist/cjs/bcm-avatar.cjs.entry.js +10 -10
  111. package/dist/cjs/bcm-badge_15.cjs.entry.js +17 -17
  112. package/dist/cjs/bcm-box.cjs.entry.js +1 -1
  113. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +6 -6
  114. package/dist/cjs/bcm-button-group.cjs.entry.js +8 -8
  115. package/dist/cjs/bcm-card.cjs.entry.js +10 -10
  116. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +12 -12
  117. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +7 -7
  118. package/dist/cjs/bcm-checkbox.cjs.entry.js +12 -12
  119. package/dist/cjs/bcm-chip-group.cjs.entry.js +14 -14
  120. package/dist/cjs/bcm-chip.cjs.entry.js +7 -7
  121. package/dist/cjs/bcm-collapse-group.cjs.entry.js +1 -1
  122. package/dist/cjs/bcm-collapse.cjs.entry.js +6 -6
  123. package/dist/cjs/bcm-color-input.cjs.entry.js +10 -10
  124. package/dist/cjs/{bcm-colorful.cjs.entry.js → bcm-colorful_2.cjs.entry.js} +363 -3
  125. package/dist/cjs/bcm-colorpicker.cjs.entry.js +3 -3
  126. package/dist/cjs/bcm-content.cjs.entry.js +1 -1
  127. package/dist/cjs/bcm-date-picker.cjs.entry.js +8 -8
  128. package/dist/cjs/bcm-date.cjs.entry.js +124 -0
  129. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +12 -12
  130. package/dist/cjs/bcm-default.cjs.entry.js +5 -5
  131. package/dist/cjs/bcm-drawer.cjs.entry.js +11 -11
  132. package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
  133. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +9 -9
  134. package/dist/cjs/{bcm-ab921827.js → bcm-fd724fe9.js} +1 -0
  135. package/dist/cjs/bcm-form-2.cjs.entry.js +12 -9
  136. package/dist/cjs/bcm-form-group.cjs.entry.js +1 -1
  137. package/dist/cjs/bcm-form.cjs.entry.js +7 -6
  138. package/dist/cjs/bcm-input-custom.cjs.entry.js +6 -6
  139. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +218 -0
  140. package/dist/cjs/bcm-label.cjs.entry.js +10 -10
  141. package/dist/cjs/bcm-link.cjs.entry.js +4 -4
  142. package/dist/cjs/bcm-list_3.cjs.entry.js +147 -1671
  143. package/dist/cjs/bcm-message.cjs.entry.js +3 -3
  144. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +11 -11
  145. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +10 -10
  146. package/dist/cjs/bcm-modal-2.cjs.entry.js +11 -11
  147. package/dist/cjs/bcm-modal.cjs.entry.js +9 -9
  148. package/dist/cjs/bcm-notification.cjs.entry.js +3 -3
  149. package/dist/cjs/bcm-old-input.cjs.entry.js +4 -4
  150. package/dist/cjs/bcm-old-tag_2.cjs.entry.js +3 -3
  151. package/dist/cjs/bcm-overlay_2.cjs.entry.js +4 -4
  152. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +10 -10
  153. package/dist/cjs/bcm-popconfirm.cjs.entry.js +7 -7
  154. package/dist/cjs/bcm-progress.cjs.entry.js +8 -8
  155. package/dist/cjs/bcm-radio-group.cjs.entry.js +13 -13
  156. package/dist/cjs/bcm-radio.cjs.entry.js +11 -11
  157. package/dist/cjs/bcm-range.cjs.entry.js +7 -7
  158. package/dist/cjs/bcm-rc-picker.cjs.entry.js +8120 -0
  159. package/dist/cjs/bcm-result.cjs.entry.js +3 -3
  160. package/dist/cjs/bcm-select-group.cjs.entry.js +3 -3
  161. package/dist/cjs/bcm-select-option.cjs.entry.js +3 -3
  162. package/dist/cjs/bcm-select.cjs.entry.js +5 -5
  163. package/dist/cjs/bcm-skeleton.cjs.entry.js +5 -5
  164. package/dist/cjs/bcm-step.cjs.entry.js +8 -8
  165. package/dist/cjs/bcm-stepper.cjs.entry.js +13 -13
  166. package/dist/cjs/bcm-switch.cjs.entry.js +9 -9
  167. package/dist/cjs/bcm-tab-pane.cjs.entry.js +3 -3
  168. package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
  169. package/dist/cjs/bcm-table.cjs.entry.js +236 -38
  170. package/dist/cjs/bcm-tabs-content.cjs.entry.js +3 -3
  171. package/dist/cjs/bcm-tabs.cjs.entry.js +3 -3
  172. package/dist/cjs/bcm-tag.cjs.entry.js +8 -8
  173. package/dist/cjs/bcm-textarea.cjs.entry.js +10 -10
  174. package/dist/cjs/bcm-time-picker.cjs.entry.js +8 -8
  175. package/dist/cjs/bcm-timeline-item.cjs.entry.js +3 -3
  176. package/dist/cjs/bcm-timeline.cjs.entry.js +3 -3
  177. package/dist/cjs/bcm-toast.cjs.entry.js +8 -8
  178. package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
  179. package/dist/cjs/bromcom-ui.cjs.js +5 -4
  180. package/dist/cjs/{caption-template-8d099fd6.js → caption-template-81dbc490.js} +2 -2
  181. package/dist/cjs/{color-helper-7ab15732.js → color-helper-c3a819ea.js} +1 -1
  182. package/dist/cjs/{colors-e1d142ad.js → colors-078851ec.js} +1 -1
  183. package/dist/cjs/{floating-ui-c9fc2202.js → floating-ui-5f42f872.js} +1 -1
  184. package/dist/cjs/{generate-cae9c0fb.js → generate-7e161828.js} +2 -2
  185. package/dist/cjs/{global-3ce50f9f.js → global-01094a23.js} +6 -1
  186. package/dist/cjs/index-3d67f613.js +1610 -0
  187. package/dist/cjs/{index-fdbf5226.js → index-95ae50d0.js} +1 -1
  188. package/dist/cjs/{index-ddfd6d8f.js → index-c591ecec.js} +4 -0
  189. package/dist/cjs/{index-4506fcd7.js → index-d321de96.js} +1 -1
  190. package/dist/cjs/{index-906fb4e5.js → index-e05a7c6f.js} +6 -1
  191. package/dist/cjs/{input-template-a7f8f2e9.js → input-template-c8d5ae30.js} +4 -4
  192. package/dist/cjs/{is-load-decorator-137dded1.js → is-load-decorator-7575fbd2.js} +1 -1
  193. package/dist/cjs/{json-parse-decarator-34a3d26e.js → json-parse-decarator-d9d1452c.js} +2 -2
  194. package/dist/cjs/{label-template-4d5f99a5.js → label-template-8738acbd.js} +4 -4
  195. package/dist/cjs/loader.cjs.js +5 -4
  196. package/dist/cjs/moment-c1a71617.js +5689 -0
  197. package/dist/cjs/{number-helper-101d8aa8.js → number-helper-c26ca8a7.js} +1 -1
  198. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +11 -11
  199. package/dist/cjs/old-bcm-popover.cjs.entry.js +7 -7
  200. package/dist/cjs/{package-ed8b3296.js → package-016f287a.js} +1 -1
  201. package/dist/cjs/{popover-placement-ccb40073.js → popover-placement-2161105e.js} +1 -1
  202. package/dist/cjs/{slot-template-d70ea082.js → slot-template-bc4e1c50.js} +2 -2
  203. package/dist/cjs/{stepper-states-308c8d3e.js → stepper-states-2a864ea5.js} +3 -3
  204. package/dist/cjs/{string-helper-d681e5c7.js → string-helper-c432b17c.js} +2 -2
  205. package/dist/cjs/{validators-26badb68.js → validators-5ca90062.js} +1 -1
  206. package/dist/collection/assets/csv.svg +9 -0
  207. package/dist/collection/assets/excel.svg +9 -0
  208. package/dist/collection/assets/pdf.svg +9 -0
  209. package/dist/collection/collection-manifest.json +5 -2
  210. package/dist/collection/components/{other/data-table/table.css → molecules/input-dropdown/input-dropdown.css} +4 -5
  211. package/dist/collection/components/molecules/input-dropdown/input-dropdown.js +664 -0
  212. package/dist/collection/components/molecules/linked/linked.js +2 -2
  213. package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
  214. package/dist/collection/components/molecules/popover/popover.js +1 -1
  215. package/dist/collection/components/molecules/tooltip/tooltip.js +1 -1
  216. package/dist/collection/components/organism/form/form.js +1 -0
  217. package/dist/collection/components/organism/form-2/bcm-form-components.js +4 -1
  218. package/dist/collection/components/other_deprecated/old-popover/old-popover.js +1 -1
  219. package/dist/collection/components/third-parts/rc-picker/date.js +572 -0
  220. package/dist/collection/components/third-parts/rc-picker/rc-picker.css +366 -0
  221. package/dist/collection/components/third-parts/rc-picker/rc-picker.js +228 -0
  222. package/dist/collection/components/third-parts/table/table-definations.js +42 -0
  223. package/dist/collection/components/third-parts/table/table.css +7169 -0
  224. package/dist/collection/components/third-parts/table/table.js +284 -0
  225. package/dist/collection/global/global.js +6 -0
  226. package/dist/collection/models/bcm.js +1 -0
  227. package/dist/collection/templates/index.js +2 -0
  228. package/dist/collection/templates/toolbar-hamburger-template.js +14 -0
  229. package/dist/collection/templates/toolbar-template.js +15 -0
  230. package/dist/components/_commonjsHelpers.js +16 -1
  231. package/dist/components/bcm-date.d.ts +11 -0
  232. package/dist/components/bcm-date.js +161 -0
  233. package/dist/components/bcm-form-2.js +4 -1
  234. package/dist/components/bcm-form.js +1 -0
  235. package/dist/components/bcm-input-dropdown.d.ts +11 -0
  236. package/dist/components/bcm-input-dropdown.js +296 -0
  237. package/dist/components/bcm-rc-picker.d.ts +11 -0
  238. package/dist/components/bcm-rc-picker.js +10 -0
  239. package/dist/components/bcm-table.js +111873 -41
  240. package/dist/components/bcm.js +1 -0
  241. package/dist/components/colors2.js +1 -1
  242. package/dist/components/generate.js +1 -1
  243. package/dist/components/index.d.ts +4 -1
  244. package/dist/components/index.js +9 -1
  245. package/dist/components/index3.js +5 -1
  246. package/dist/components/linked.js +1 -1
  247. package/dist/components/raf.js +1594 -0
  248. package/dist/components/rc-overflow.js +32 -1557
  249. package/dist/components/rc-picker.js +13821 -0
  250. package/dist/esm/{_commonjsHelpers-3016b722.js → _commonjsHelpers-be0d4ec8.js} +16 -1
  251. package/dist/esm/ag-grid-enterprise.auto.esm-9c29ba78.js +111635 -0
  252. package/dist/esm/{bcm-9f50af9c.js → bcm-ac17222c.js} +1 -0
  253. package/dist/esm/bcm-accordion.entry.js +5 -5
  254. package/dist/esm/bcm-alert.entry.js +9 -9
  255. package/dist/esm/bcm-attendance.entry.js +5 -5
  256. package/dist/esm/bcm-autocomplete.entry.js +3 -3
  257. package/dist/esm/bcm-avatar.entry.js +10 -10
  258. package/dist/esm/bcm-badge_15.entry.js +17 -17
  259. package/dist/esm/bcm-box.entry.js +1 -1
  260. package/dist/esm/bcm-breadcrumb.entry.js +6 -6
  261. package/dist/esm/bcm-button-group.entry.js +8 -8
  262. package/dist/esm/bcm-card.entry.js +10 -10
  263. package/dist/esm/bcm-checkbox-group.entry.js +12 -12
  264. package/dist/esm/bcm-checkbox-lite_9.entry.js +7 -7
  265. package/dist/esm/bcm-checkbox.entry.js +12 -12
  266. package/dist/esm/bcm-chip-group.entry.js +14 -14
  267. package/dist/esm/bcm-chip.entry.js +7 -7
  268. package/dist/esm/bcm-collapse-group.entry.js +1 -1
  269. package/dist/esm/bcm-collapse.entry.js +6 -6
  270. package/dist/esm/bcm-color-input.entry.js +10 -10
  271. package/dist/esm/{bcm-colorful.entry.js → bcm-colorful_2.entry.js} +363 -4
  272. package/dist/esm/bcm-colorpicker.entry.js +3 -3
  273. package/dist/esm/bcm-content.entry.js +1 -1
  274. package/dist/esm/bcm-date-picker.entry.js +8 -8
  275. package/dist/esm/bcm-date.entry.js +120 -0
  276. package/dist/esm/bcm-datetime-picker.entry.js +12 -12
  277. package/dist/esm/bcm-default.entry.js +5 -5
  278. package/dist/esm/bcm-drawer.entry.js +11 -11
  279. package/dist/esm/bcm-error-layout.entry.js +3 -3
  280. package/dist/esm/bcm-expansion-panel.entry.js +9 -9
  281. package/dist/esm/bcm-form-2.entry.js +12 -9
  282. package/dist/esm/bcm-form-group.entry.js +1 -1
  283. package/dist/esm/bcm-form.entry.js +7 -6
  284. package/dist/esm/bcm-input-custom.entry.js +6 -6
  285. package/dist/esm/bcm-input-dropdown.entry.js +214 -0
  286. package/dist/esm/bcm-label.entry.js +10 -10
  287. package/dist/esm/bcm-link.entry.js +4 -4
  288. package/dist/esm/bcm-list_3.entry.js +85 -1609
  289. package/dist/esm/bcm-message.entry.js +3 -3
  290. package/dist/esm/bcm-modal-2-footer.entry.js +11 -11
  291. package/dist/esm/bcm-modal-2-header.entry.js +10 -10
  292. package/dist/esm/bcm-modal-2.entry.js +11 -11
  293. package/dist/esm/bcm-modal.entry.js +9 -9
  294. package/dist/esm/bcm-notification.entry.js +3 -3
  295. package/dist/esm/bcm-old-input.entry.js +4 -4
  296. package/dist/esm/bcm-old-tag_2.entry.js +3 -3
  297. package/dist/esm/bcm-overlay_2.entry.js +4 -4
  298. package/dist/esm/bcm-popconfirm-box.entry.js +10 -10
  299. package/dist/esm/bcm-popconfirm.entry.js +7 -7
  300. package/dist/esm/bcm-progress.entry.js +8 -8
  301. package/dist/esm/bcm-radio-group.entry.js +13 -13
  302. package/dist/esm/bcm-radio.entry.js +11 -11
  303. package/dist/esm/bcm-range.entry.js +7 -7
  304. package/dist/esm/bcm-rc-picker.entry.js +8116 -0
  305. package/dist/esm/bcm-result.entry.js +3 -3
  306. package/dist/esm/bcm-select-group.entry.js +3 -3
  307. package/dist/esm/bcm-select-option.entry.js +3 -3
  308. package/dist/esm/bcm-select.entry.js +5 -5
  309. package/dist/esm/bcm-skeleton.entry.js +5 -5
  310. package/dist/esm/bcm-step.entry.js +8 -8
  311. package/dist/esm/bcm-stepper.entry.js +13 -13
  312. package/dist/esm/bcm-switch.entry.js +9 -9
  313. package/dist/esm/bcm-tab-pane.entry.js +3 -3
  314. package/dist/esm/bcm-tab.entry.js +3 -3
  315. package/dist/esm/bcm-table.entry.js +236 -38
  316. package/dist/esm/bcm-tabs-content.entry.js +3 -3
  317. package/dist/esm/bcm-tabs.entry.js +3 -3
  318. package/dist/esm/bcm-tag.entry.js +8 -8
  319. package/dist/esm/bcm-textarea.entry.js +10 -10
  320. package/dist/esm/bcm-time-picker.entry.js +8 -8
  321. package/dist/esm/bcm-timeline-item.entry.js +3 -3
  322. package/dist/esm/bcm-timeline.entry.js +3 -3
  323. package/dist/esm/bcm-toast.entry.js +8 -8
  324. package/dist/esm/bcm-treeview-group.entry.js +1 -1
  325. package/dist/esm/bromcom-ui.js +6 -5
  326. package/dist/esm/{caption-template-34a1cb44.js → caption-template-e973a48c.js} +2 -2
  327. package/dist/esm/{color-helper-116755ed.js → color-helper-c4fa9ebc.js} +1 -1
  328. package/dist/esm/{colors-44c95e7e.js → colors-e1c31f79.js} +1 -1
  329. package/dist/esm/{floating-ui-e7341329.js → floating-ui-54c52eaa.js} +1 -1
  330. package/dist/esm/{generate-e008f24f.js → generate-903ca965.js} +2 -2
  331. package/dist/esm/{global-9c04f017.js → global-9b1304a4.js} +6 -1
  332. package/dist/esm/{index-348b16ad.js → index-0615c2b8.js} +3 -1
  333. package/dist/esm/{index-0052017c.js → index-7e71bbc8.js} +1 -1
  334. package/dist/esm/{index-6310a048.js → index-a6d9d0af.js} +6 -2
  335. package/dist/esm/{index-ed9652af.js → index-b84bc8c9.js} +1 -1
  336. package/dist/esm/index-c4568336.js +1594 -0
  337. package/dist/esm/{input-template-0bdd4dda.js → input-template-332be34e.js} +4 -4
  338. package/dist/esm/{is-load-decorator-07d3502a.js → is-load-decorator-6784aa87.js} +1 -1
  339. package/dist/esm/{json-parse-decarator-40fc5701.js → json-parse-decarator-498602a3.js} +2 -2
  340. package/dist/esm/{label-template-98dafeb3.js → label-template-f156f33f.js} +4 -4
  341. package/dist/esm/loader.js +6 -5
  342. package/dist/esm/moment-24231dde.js +5686 -0
  343. package/dist/esm/{number-helper-ddce4326.js → number-helper-3809b83b.js} +1 -1
  344. package/dist/esm/old-bcm-popover-box.entry.js +11 -11
  345. package/dist/esm/old-bcm-popover.entry.js +7 -7
  346. package/dist/esm/{package-00ece356.js → package-9887f1c0.js} +1 -1
  347. package/dist/esm/{popover-placement-78f86f15.js → popover-placement-018109c4.js} +1 -1
  348. package/dist/esm/{slot-template-672e941d.js → slot-template-46035685.js} +2 -2
  349. package/dist/esm/{stepper-states-56644bc7.js → stepper-states-372c3c9c.js} +3 -3
  350. package/dist/esm/{string-helper-6bd24967.js → string-helper-4a28f775.js} +2 -2
  351. package/dist/esm/{validators-77fbe47e.js → validators-c8f34de9.js} +1 -1
  352. package/dist/types/components/molecules/input-dropdown/input-dropdown.d.ts +54 -0
  353. package/dist/types/components/third-parts/rc-picker/date.d.ts +46 -0
  354. package/dist/types/components/third-parts/rc-picker/rc-picker.d.ts +20 -0
  355. package/dist/types/components/third-parts/table/table-definations.d.ts +28 -0
  356. package/dist/types/components/third-parts/table/table.d.ts +37 -0
  357. package/dist/types/components.d.ts +170 -3
  358. package/dist/types/models/bcm.d.ts +9 -1
  359. package/dist/types/templates/index.d.ts +2 -0
  360. package/dist/types/templates/toolbar-hamburger-template.d.ts +12 -0
  361. package/dist/types/templates/toolbar-template.d.ts +13 -0
  362. package/package.json +7 -3
  363. package/dist/bromcom-ui/p-019b44bb.entry.js +0 -5
  364. package/dist/bromcom-ui/p-01a50abe.entry.js +0 -5
  365. package/dist/bromcom-ui/p-15758356.entry.js +0 -5
  366. package/dist/bromcom-ui/p-1eabd5dc.js +0 -10
  367. package/dist/bromcom-ui/p-3a68eca1.js +0 -5
  368. package/dist/bromcom-ui/p-663766cf.entry.js +0 -5
  369. package/dist/bromcom-ui/p-6d7fe687.js +0 -6
  370. package/dist/bromcom-ui/p-6f56f8ca.js +0 -5
  371. package/dist/bromcom-ui/p-74b2d896.js +0 -5
  372. package/dist/bromcom-ui/p-a19320bb.entry.js +0 -13
  373. package/dist/bromcom-ui/p-a56e8c98.js +0 -5
  374. package/dist/bromcom-ui/p-a8033cda.entry.js +0 -5
  375. package/dist/bromcom-ui/p-bddbd954.entry.js +0 -5
  376. package/dist/bromcom-ui/p-c49d038e.js +0 -5
  377. package/dist/bromcom-ui/p-cf0ab7f0.entry.js +0 -5
  378. package/dist/bromcom-ui/p-d65a1e21.js +0 -11
  379. package/dist/bromcom-ui/p-e09fa0dc.entry.js +0 -5
  380. package/dist/bromcom-ui/p-e32d9cfc.js +0 -5
  381. package/dist/bromcom-ui/p-e9842c26.js +0 -5
  382. package/dist/bromcom-ui/p-f645d9ae.entry.js +0 -5
  383. package/dist/cjs/bcm-input.cjs.entry.js +0 -371
  384. package/dist/collection/components/other/data-table/table.js +0 -88
  385. package/dist/esm/bcm-input.entry.js +0 -367
  386. package/dist/types/components/other/data-table/table.d.ts +0 -8
@@ -2,9 +2,22 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, c as createEvent, g as getElement } from './index-348b16ad.js';
6
- import { r as react, a as reactDom } from './index-6310a048.js';
7
- import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-3016b722.js';
5
+ import { r as registerInstance, c as createEvent, g as getElement, h as h$1, H as Host } from './index-0615c2b8.js';
6
+ import { r as react, a as reactDom } from './index-a6d9d0af.js';
7
+ import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-be0d4ec8.js';
8
+ import { G as Generate } from './generate-903ca965.js';
9
+ import { N as NumberHelper } from './number-helper-3809b83b.js';
10
+ import { S as StringHelper } from './string-helper-4a28f775.js';
11
+ import { V as Validators } from './validators-c8f34de9.js';
12
+ import { a as Bcm } from './bcm-ac17222c.js';
13
+ import { C as CaptionTemplate } from './caption-template-e973a48c.js';
14
+ import { I as InputTemplate } from './input-template-332be34e.js';
15
+ import { c as classnames } from './index-b84bc8c9.js';
16
+ import { d as delay } from './utils-b3338faf.js';
17
+ import { I as IsLoad } from './is-load-decorator-6784aa87.js';
18
+ import './package-9887f1c0.js';
19
+ import './colors-e1c31f79.js';
20
+ import './types-6f06fa1a.js';
8
21
 
9
22
  function u(){return (u=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);}return e}).apply(this,arguments)}function c(e,r){if(null==e)return {};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r.indexOf(t=a[n])>=0||(o[t]=e[t]);return o}function i(e){var t=react.useRef(e),n=react.useRef(function(e){t.current&&t.current(e);});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e<r?r:e},f=function(e){return "touches"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},d=function(e,r,t){var n=e.getBoundingClientRect(),o=f(r)?function(e,r){for(var t=0;t<e.length;t++)if(e[t].identifier===r)return e[t];return e[0]}(r.touches,t):r;return {left:s((o.pageX-(n.left+v(e).pageXOffset))/n.width),top:s((o.pageY-(n.top+v(e).pageYOffset))/n.height)}},h=function(e){!f(e)&&e.preventDefault();},m=react.memo(function(o){var a=o.onMove,l=o.onKey,s=c(o,["onMove","onKey"]),m=react.useRef(null),g=i(a),p=i(l),b=react.useRef(null),_=react.useRef(!1),x=react.useMemo(function(){var e=function(e){h(e),(f(e)?e.touches.length>0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1);},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r);}return [function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier);}n.focus(),g(d(n,r,b.current)),t(!0);}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}));},t]},[p,g]),C=x[0],E=x[1],H=x[2];return react.useEffect(function(){return H},[H]),react.createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))}),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return react.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},react.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},x=function(e){return L(C(e))},C=function(e){return "#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?b(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?b(parseInt(e.substring(6,8),16)/255,2):1}},w=function(e){return K(I(e))},y=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return {h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},q=function(e){var r=y(e);return "hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},I=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return {r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},D=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},K=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=o<1?D(b(255*o)):"";return "#"+D(r)+D(t)+D(n)+a},L=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return {h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},S=react.memo(function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return react.createElement("div",{className:o},react.createElement(m,{onMove:function(e){n({h:360*e.left});},onKey:function(e){n({h:s(t+360*e.left,0,360)});},"aria-label":"Hue","aria-valuenow":b(t),"aria-valuemax":"360","aria-valuemin":"0"},react.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:q({h:t,s:100,v:100,a:1})})))}),T=react.memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:q({h:t.h,s:100,v:100,a:1})};return react.createElement("div",{className:"react-colorful__saturation",style:o},react.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top});},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)});},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},react.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:q(t)})))}),F=function(e,r){if(e===r)return !0;for(var t in e)if(e[t]!==r[t])return !1;return !0},X=function(e,r){return e.toLowerCase()===r.toLowerCase()||F(C(e),C(r))};function Y(e,t,l){var u=i(l),c=react.useState(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=react.useRef({color:t,hsva:s});react.useEffect(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r);}},[t,e]),react.useEffect(function(){var r;F(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r));},[s,e,u]);var d=react.useCallback(function(e){f(function(r){return Object.assign({},r,e)});},[]);return [s,d]}var V="undefined"!=typeof window?react.useLayoutEffect:react.useEffect,$=function(){return ("undefined"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},J=new Map,Q=function(e){V(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!J.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',J.set(r,t);var n=$();n&&t.setAttribute("nonce",n),r.head.appendChild(t);}},[]);},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=react.useRef(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react.createElement("div",u({},s,{ref:f,className:m}),react.createElement(T,{hsva:d,onChange:h}),react.createElement(S,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:"000",toHsva:x,fromHsva:function(e){return w({h:e.h,s:e.s,v:e.v,a:1})},equal:X},Z=function(r){return react.createElement(U,u({},r,{colorModel:W}))};
10
23
 
@@ -17220,4 +17233,350 @@ const BcmColorful = class {
17220
17233
  };
17221
17234
  BcmColorful.style = colorfulCss;
17222
17235
 
17223
- export { BcmColorful as bcm_colorful };
17236
+ const inputCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); @import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .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}*{box-sizing:border-box}.bcm-caption-area{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;font-size:12px;line-height:calc(12px + 8px);color:var(--bcm-new-ds-color-slate-400);display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;margin-top:2px}.bcm-caption-area__text{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.default{color:var(--bcm-new-ds-color-slate-400)}.bcm-caption-area__text.info{color:var(--bcm-new-ds-color-blue-500)}.bcm-caption-area__text.success{color:var(--bcm-new-ds-color-emerald-500)}.bcm-caption-area__text.warning{color:var(--bcm-new-ds-color-amber-500)}.bcm-caption-area__text.error{color:var(--bcm-new-ds-color-red-500)}.bcm-caption-area__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-caption-area__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-caption-area__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}*{box-sizing:border-box}.bcm-label{display:inline-flex;align-items:flex-start;grid-gap:2px}.bcm-label__text{margin-bottom:2px;font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:inline-block;color:var(--bcm-new-ds-color-slate-600)}.bcm-label__size-small{font-size:10px;line-height:calc(10px + 8px);min-height:calc(10px + 8px)}.bcm-label__size-medium{font-size:12px;line-height:calc(12px + 8px);min-height:calc(12px + 8px)}.bcm-label__size-large{font-size:14px;line-height:calc(14px + 8px);min-height:calc(14px + 8px)}.bcm-input[no-margin]{margin:0}.bcm-textarea[no-margin]{margin:0}.bcm-switch[no-margin]{margin:0}.bcm-checkbox[no-margin]{margin:0}.bcm-radio-group[no-margin]{margin:0}.bcm-checkbox-group[no-margin]{margin:0}.bcm-range[no-margin]{margin:0}.bcm-form[no-margin]{margin:0}.bcm-form-group[no-margin]{margin:0}.bcm-list[no-margin]{margin:0}.bcm-colorpicker[no-margin]{margin:0}.bcm-date-picker[no-margin]{margin:0}.bcm-time-picker[no-margin]{margin:0}.bcm-datetime-picker[no-margin]{margin:0}.bcm-select[no-margin]{margin:0}.bcm-listbox[no-margin]{margin:0}*{box-sizing:border-box}.bcm-input{display:inline-flex;flex-direction:column;width:100%;max-width:256px;margin-bottom:8px}.bcm-input.full-width{max-width:100%}.bcm-input.hidden{display:none}.bcm-input__container{font-family:\"Inter\", sans-serif;font-size:14px;line-height:calc(14px + 8px);font-weight:400;display:flex;align-items:stretch;flex-direction:row;background-color:var(--bcm-new-ds-color-white);border:1px solid var(--bcm-new-ds-color-slate-300);border-radius:4px;box-sizing:border-box;cursor:text;padding:0 0 0 4px;position:relative;width:100%}.bcm-input__container.disabled{background-color:var(--bcm-new-ds-color-slate-50);cursor:not-allowed}.bcm-input__container.disabled .bcm-input-element{color:var(--bcm-new-ds-color-slate-500)}.bcm-input__container.readonly{background-color:var(--bcm-new-ds-color-slate-50);cursor:default}.bcm-input__container.readonly .bcm-input-element{color:var(--bcm-new-ds-color-slate-600)}.bcm-input__container:not(.disabled):hover .caret-container,.bcm-input__container:not(.disabled).focused .caret-container{opacity:1}.bcm-input__container:not(.disabled):hover .input-clear-button,.bcm-input__container:not(.disabled).focused .input-clear-button{opacity:1}.bcm-input__container:not(.disabled).focused{background-color:var(--bcm-new-ds-color-slate-50)}.bcm-input__container:not(.disabled):hover{border-color:var(--bcm-color-prime-blue-6)}.bcm-input__container.empty .input-clear-button{display:none}.bcm-input__container.invalid,.bcm-input__container.error{border-color:var(--bcm-new-ds-color-red-500)}.bcm-input__container .bcm-input-element{width:100%;color:var(--bcm-new-ds-color-slate-600);flex:1;border:none;background:transparent;box-shadow:unset;padding:0 4px;font-family:\"Inter\", sans-serif;cursor:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;overflow:hidden;text-overflow:ellipsis}.bcm-input__container .bcm-input-element::placeholder{font-family:\"Inter\", sans-serif;color:var(--bcm-new-ds-color-slate-300);user-select:none}.bcm-input__container .bcm-input-element::-webkit-search-decoration,.bcm-input__container .bcm-input-element::-webkit-search-cancel-button,.bcm-input__container .bcm-input-element::-webkit-search-results-button,.bcm-input__container .bcm-input-element::-webkit-search-results-decoration,.bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator,.bcm-input__container .bcm-input-element::-webkit-inner-spin-button,.bcm-input__container .bcm-input-element::-webkit-outer-spin-button{-webkit-appearance:none}.bcm-input__container .caret-container{width:30px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;border-left:1px solid #D9D9D9;transition:0.2s opacity;user-select:none;box-sizing:border-box}.bcm-input__container .caret-container .bcm-input-caret{display:flex;align-items:center;justify-content:center;color:var(--bcm-color-grey-7);cursor:pointer;flex:1}.bcm-input__container .caret-container .bcm-input-caret bcm-icon{line-height:1}.bcm-input__container .caret-container .bcm-input-caret:hover{color:var(--bcm-color-prime-blue-6)}.bcm-input__container .caret-container .bcm-input-caret:active{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container .bcm-input-caret:last-child{border-top:1px solid #D9D9D9}.bcm-input__container .caret-container.disabled{background-color:var(--bcm-color-grey-3)}.bcm-input__container .caret-container.disabled .bcm-input-caret{cursor:not-allowed}.bcm-input__container .input-suffix-content{display:flex;align-items:center;justify-content:center}.bcm-input__container .input-prefix:not(:empty){padding-left:4px}.bcm-input__container .input-suffix:not(:empty){min-width:24px;padding-right:4px}.bcm-input__container .input-prefix:not(:empty),.bcm-input__container .input-suffix:not(:empty){display:flex;align-items:center;justify-content:center;cursor:default;color:#64748a}.bcm-input__container .input-prefix:not(:empty) .unit-prefix,.bcm-input__container .input-suffix:not(:empty) .unit-prefix{color:#64748a}.bcm-input__container .input-prefix-button:not(:empty),.bcm-input__container .input-suffix-button:not(:empty){cursor:pointer}.bcm-input__container .caret-container,.bcm-input__container .input-clear-button{opacity:0}.bcm-input__container--small{font-size:12px}.bcm-input__container--medium{font-size:14px}.bcm-input__container--large{font-size:16px}.bcm-input__textarea.clearable .bcm-input-element{padding-right:24px}.bcm-input__textarea .input-clear-button{position:absolute;top:4px;right:0}";
17237
+
17238
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
17239
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17240
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
17241
+ r = Reflect.decorate(decorators, target, key, desc);
17242
+ else
17243
+ for (var i = decorators.length - 1; i >= 0; i--)
17244
+ if (d = decorators[i])
17245
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
17246
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
17247
+ };
17248
+ const BcmInput = class {
17249
+ constructor(hostRef) {
17250
+ registerInstance(this, hostRef);
17251
+ this.focus = createEvent(this, "bcm-focus", 7);
17252
+ this.blur = createEvent(this, "bcm-blur", 7);
17253
+ this.clear = createEvent(this, "bcm-clear", 7);
17254
+ this.change = createEvent(this, "bcm-change", 7);
17255
+ this.input = createEvent(this, "bcm-input", 7);
17256
+ this.isBlur = false;
17257
+ this._id = Generate.UID();
17258
+ this._internal_id = Generate.UID();
17259
+ this.value = '';
17260
+ this.size = Bcm.Size.medium;
17261
+ this.label = undefined;
17262
+ this.pattern = undefined;
17263
+ this.tooltip = undefined;
17264
+ this.placeholder = undefined;
17265
+ this.disabled = false;
17266
+ this.readonly = false;
17267
+ this.clearable = false;
17268
+ this.autocomplete = false;
17269
+ this.name = undefined;
17270
+ this.type = Bcm.InputType.text;
17271
+ this.hidden = false;
17272
+ this.required = false;
17273
+ this.fullWidth = false;
17274
+ this.noDefaultIcon = undefined;
17275
+ this.disableWatchValue = false // datetimepicker
17276
+ ;
17277
+ this.passwordToggle = false // type password
17278
+ ;
17279
+ this.maxLength = null;
17280
+ this.unitPrefix = null;
17281
+ this.unit = undefined;
17282
+ this.decimal = true;
17283
+ this.min = undefined;
17284
+ this.max = undefined;
17285
+ this.step = undefined;
17286
+ this.caption = undefined;
17287
+ this.noCaption = false;
17288
+ this.captionType = Bcm.Status.default;
17289
+ this.captionError = undefined;
17290
+ this.customErrorMessage = undefined;
17291
+ this._prefix = undefined;
17292
+ this._suffix = undefined;
17293
+ this.captionCache = undefined;
17294
+ this.captionTypeCache = undefined;
17295
+ this.inValid = false;
17296
+ this.valueCache = '';
17297
+ this.focused = false;
17298
+ this.isPasswordVisible = false;
17299
+ }
17300
+ connectedCallback() {
17301
+ this.valueCache = this.value;
17302
+ this.captionCache = this.caption;
17303
+ this.captionTypeCache = this.captionType;
17304
+ }
17305
+ componentWillRender() {
17306
+ const { type, isBlur, value } = this;
17307
+ if (value) {
17308
+ this.value.length > 0 && (this.checkPattern());
17309
+ switch (type) {
17310
+ case "number":
17311
+ {
17312
+ !this.checkValid("number") && (this.validationRange());
17313
+ }
17314
+ break;
17315
+ case "email":
17316
+ {
17317
+ isBlur && (this.checkValid("email"));
17318
+ }
17319
+ break;
17320
+ case "tel":
17321
+ {
17322
+ isBlur && (this.checkValid("phone"));
17323
+ }
17324
+ break;
17325
+ }
17326
+ }
17327
+ else {
17328
+ !this.required && (this.resetCaption());
17329
+ }
17330
+ }
17331
+ async onBcmFocus() {
17332
+ this.inputElement.focus();
17333
+ }
17334
+ async onBcmBlur() {
17335
+ this.inputElement.blur();
17336
+ }
17337
+ async onBcmSelect() {
17338
+ this.inputElement.select();
17339
+ }
17340
+ async set(data) {
17341
+ await this.setValue(data);
17342
+ }
17343
+ async get() {
17344
+ return this.value || null;
17345
+ }
17346
+ async setValue(value) {
17347
+ this.inputElement.value = value;
17348
+ this.handleChange();
17349
+ return value;
17350
+ }
17351
+ async setClear() {
17352
+ this.inputElement.value = '';
17353
+ this.value = '';
17354
+ await delay(10);
17355
+ return Promise.resolve();
17356
+ }
17357
+ async resetCaption() {
17358
+ await delay(10);
17359
+ this.caption = this.captionCache;
17360
+ this.captionType = this.captionTypeCache;
17361
+ this.captionError = null;
17362
+ this.inValid = false;
17363
+ await delay(10);
17364
+ return Promise.resolve();
17365
+ }
17366
+ async getValue() {
17367
+ return this.value;
17368
+ }
17369
+ watchValue(newValue) {
17370
+ this.inputElement.value = newValue;
17371
+ if (!this.disableWatchValue && this.type != "number") {
17372
+ this.handleChange();
17373
+ }
17374
+ }
17375
+ listenKeyDown(e) {
17376
+ if (!this.disabled && !this.readonly) {
17377
+ this.onBcmFocus();
17378
+ if (this.type == "number") {
17379
+ var which = e.which || 0;
17380
+ var key = e.key;
17381
+ if (which == 38) { // up arrow
17382
+ e.preventDefault(),
17383
+ this.stepUpOrDown('up');
17384
+ }
17385
+ if (which == 40) { // down arrow
17386
+ e.preventDefault(),
17387
+ this.stepUpOrDown('down');
17388
+ }
17389
+ if ((which == 190 || which == 110 || key == ".") && this.value.indexOf(".") > -1) { //.
17390
+ e.preventDefault();
17391
+ }
17392
+ if ((which == 189 || which == 109 || key == "-")) { //-
17393
+ if (this.value.charAt(0) == '-' || this.value.indexOf("-") > -1) {
17394
+ e.preventDefault();
17395
+ }
17396
+ }
17397
+ }
17398
+ }
17399
+ }
17400
+ handleFocus() {
17401
+ this.focused = true;
17402
+ this.focus.emit();
17403
+ this.whatchHasFocus();
17404
+ }
17405
+ handleBlur() {
17406
+ this.focused = false;
17407
+ this.isBlur = true;
17408
+ this.whatchHasFocus();
17409
+ this.blur.emit();
17410
+ }
17411
+ handleChange() {
17412
+ this.valueSync();
17413
+ }
17414
+ handleInput() {
17415
+ if (this.type == "number" && this.maxLength) {
17416
+ const inputValue = this.inputElement.value;
17417
+ if (inputValue && inputValue.length > 0 && inputValue.length > this.maxLength) {
17418
+ this.inputElement.value = inputValue.substring(0, this.maxLength);
17419
+ }
17420
+ }
17421
+ this.valueSync();
17422
+ }
17423
+ valueSync() {
17424
+ if (this.value != this.inputElement.value) {
17425
+ this.value = this.inputElement.value;
17426
+ this.change.emit(this.value);
17427
+ return true;
17428
+ }
17429
+ this.input.emit(this.value);
17430
+ return false;
17431
+ }
17432
+ handleClear(e) {
17433
+ this.inputElement.value = '';
17434
+ this.value = '';
17435
+ this.inputElement.focus();
17436
+ this.clear.emit(e);
17437
+ this.change.emit(this.value);
17438
+ e.stopPropagation();
17439
+ }
17440
+ changePasswordVisibility() {
17441
+ this.isPasswordVisible = !this.isPasswordVisible;
17442
+ }
17443
+ setCaption(caption = null, captionType = null) {
17444
+ this.caption = caption || this.captionCache;
17445
+ this.captionType = captionType || this.captionTypeCache;
17446
+ this.captionError = captionType == "error" ? caption : null;
17447
+ }
17448
+ stepUpOrDown(type) {
17449
+ if (!this.inValid && !this.disabled && !this.readonly) {
17450
+ let step = +(this.step) || 1;
17451
+ let val = +(this.value);
17452
+ if (type == 'up') {
17453
+ val = +(val + step);
17454
+ }
17455
+ else {
17456
+ val = +(val - step);
17457
+ }
17458
+ this.value = val.toString();
17459
+ this.change.emit(this.value);
17460
+ }
17461
+ }
17462
+ validationRange() {
17463
+ const { min, max, value } = this;
17464
+ if (value !== undefined) {
17465
+ if ((min !== undefined) && (max !== undefined)) {
17466
+ if (value < min || value > max) {
17467
+ this.setCaption(StringHelper.getMessage('between', [min, max]), "error");
17468
+ return false;
17469
+ }
17470
+ }
17471
+ else if (min !== undefined) {
17472
+ if (value < min) {
17473
+ this.setCaption(StringHelper.getMessage('min', [min]), "error");
17474
+ return false;
17475
+ }
17476
+ }
17477
+ else if (max !== undefined) {
17478
+ if (value > max) {
17479
+ this.setCaption(StringHelper.getMessage('max', [max]), "error");
17480
+ return false;
17481
+ }
17482
+ }
17483
+ }
17484
+ this.setCaption();
17485
+ return true;
17486
+ }
17487
+ checkPattern() {
17488
+ const { pattern, value } = this;
17489
+ if (pattern) {
17490
+ if (Validators.pattern(value, pattern)) {
17491
+ this.setCaption();
17492
+ this.inValid = false;
17493
+ }
17494
+ else {
17495
+ this.setCaption(StringHelper.getMessage('pattern'), "error");
17496
+ this.inValid = true;
17497
+ }
17498
+ }
17499
+ }
17500
+ checkValid(type) {
17501
+ const { value } = this;
17502
+ if (Validators.isValidate(value, type)) {
17503
+ this.setCaption();
17504
+ this.inValid = false;
17505
+ }
17506
+ else {
17507
+ this.setCaption(StringHelper.getMessage(type), "error");
17508
+ this.inValid = true;
17509
+ }
17510
+ return this.inValid;
17511
+ }
17512
+ whatchHasFocus() {
17513
+ const { type, focused, valueCache, inValid } = this;
17514
+ if (type == Bcm.InputType.number && inValid) {
17515
+ console.log("whatchHasFocus");
17516
+ if (focused) {
17517
+ this.value = '';
17518
+ }
17519
+ else {
17520
+ if (!StringHelper.isNullOrEmpty(this.value)) {
17521
+ this.value = this.value ? this.fixToNumber(this.value) : '';
17522
+ }
17523
+ else {
17524
+ this.value = valueCache;
17525
+ }
17526
+ }
17527
+ }
17528
+ }
17529
+ fixToNumber(val) {
17530
+ if (val) {
17531
+ const decLen = NumberHelper.getDecimalLength(this.step);
17532
+ return decLen > 0 ? NumberHelper.parseFloatFixed(val, decLen) : val;
17533
+ }
17534
+ return val;
17535
+ }
17536
+ eyeDropper() {
17537
+ const eyeDropper = new window.EyeDropper();
17538
+ eyeDropper
17539
+ .open()
17540
+ .then((color) => {
17541
+ console.log("color: ", color.sRGBHex);
17542
+ this.setValue(color.sRGBHex);
17543
+ })
17544
+ .catch((error) => {
17545
+ if (error.name === "NotAllowedError") {
17546
+ console.log("Permission to access sensor was denied.");
17547
+ }
17548
+ else if (error.name === "NotSupportedError") {
17549
+ console.log("Sensor not supported.");
17550
+ }
17551
+ });
17552
+ }
17553
+ isEyeDropperSupported() {
17554
+ return typeof window !== "undefined" && "EyeDropper" in window;
17555
+ }
17556
+ toggleLinked() {
17557
+ const linkedElement = document.getElementById(`${this._id}-linked`);
17558
+ if (linkedElement) {
17559
+ linkedElement.toggle();
17560
+ }
17561
+ }
17562
+ render() {
17563
+ const { value, size, label, type, captionType, caption, captionError, placeholder, fullWidth, disabled, readonly, clearable, passwordToggle, isPasswordVisible, noDefaultIcon, unit, inValid, focused, unitPrefix, noCaption, required, hidden, _id, autocomplete } = this;
17564
+ const isActiveClearable = (value === null || value === void 0 ? void 0 : value.length) > 0 && clearable;
17565
+ const hostClasses = classnames('bcm-input', `bcm-input__container--${size}`, {
17566
+ hidden,
17567
+ // 'no-margin': noMargin,
17568
+ 'full-width': fullWidth
17569
+ });
17570
+ return (h$1(Host, { onfocus: () => this.onBcmFocus(), class: hostClasses, onClick: () => this.onBcmFocus() }, label && h$1("bcm-label", { onClick: () => this.toggleLinked(), tooltip: this.tooltip, type: captionType, value: label, required: required, htmlFor: _id }), h$1(InputTemplate, { id: _id, type: type, value: value, pattern: this.pattern, placeholder: placeholder, disabled: disabled, readonly: readonly, clearable: isActiveClearable, passwordToggle: passwordToggle, isPasswordVisible: isPasswordVisible, noDefaultIcon: noDefaultIcon, focused: focused, inValid: inValid, unitPrefix: unitPrefix, maxLength: this.maxLength, internalId: this._internal_id, captionType: captionType, unit: unit, size: size, handleFocus: () => this.handleFocus(), handleBlur: () => this.handleBlur(), handleChange: () => this.handleChange(), handleInput: () => this.handleInput(), steps: (e) => this.stepUpOrDown(e), changePasswordVisibility: () => this.changePasswordVisibility(), handleClear: (e) => this.handleClear(e), eyeDropper: () => this.eyeDropper(), isEyeDropperSupported: () => this.isEyeDropperSupported(), ref: (el) => this.inputElement = el, _suffix: this._suffix, _prefix: this._prefix, autocomplete: autocomplete }), h$1(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage }), type == Bcm.InputType.color &&
17571
+ h$1("bcm-linked", { targetId: this._id + "-container", id: this._id + "-linked" }, h$1("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: e => this.setValue(e.detail) }))));
17572
+ }
17573
+ static get watchers() { return {
17574
+ "value": ["watchValue"]
17575
+ }; }
17576
+ };
17577
+ __decorate([
17578
+ IsLoad()
17579
+ ], BcmInput.prototype, "inputElement", void 0);
17580
+ BcmInput.style = inputCss;
17581
+
17582
+ export { BcmColorful as bcm_colorful, BcmInput as bcm_input };
@@ -2,11 +2,11 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, c as createEvent, h, a as getAssetPath, H as Host, g as getElement } from './index-348b16ad.js';
5
+ import { r as registerInstance, c as createEvent, h, a as getAssetPath, H as Host, g as getElement } from './index-0615c2b8.js';
6
6
  import { E as ElementDragger, D as DragDirections } from './element-dragger-7ea06c76.js';
7
- import { c as classnames } from './index-ed9652af.js';
7
+ import { c as classnames } from './index-b84bc8c9.js';
8
8
  import './utils-b3338faf.js';
9
- import './_commonjsHelpers-3016b722.js';
9
+ import './_commonjsHelpers-be0d4ec8.js';
10
10
 
11
11
  const colorpickerCss = "@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{position:relative;margin:0 0 8px 0}.color-picker{position:relative;width:200px}.color-picker.open .picker{opacity:1;visibility:visible;transform:scale(1) translateY(56px)}.picker{width:300px;position:absolute;top:0;z-index:1;background-color:#ffffff;border:1px solid #F6F6F6;box-shadow:0px 3px 3.6px 0.4px rgba(0, 0, 0, 0.15);opacity:0;visibility:hidden;transition:transform 0.2s ease, opacity 0.3s ease;transform:scale(0.8) translateY(-100px)}.label{display:flex;flex-direction:column;color:var(--bcm-color-grey-9);margin-bottom:4px}.caption-area{min-height:20px}.input-caption{display:block}.input{display:flex;cursor:pointer;border:1px solid var(--bcm-color-grey-5);border-radius:2px}.color{position:relative;width:100%;height:166px;user-select:none}.color img{width:100%;height:100%;user-select:none;pointer-events:none}.color-indicator{position:absolute;top:0;left:0;width:17px;height:17px;border:1px solid rgba(255, 255, 255, 0.82);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.25);transform:translate(0, 0);border-radius:100px;user-select:none;box-sizing:border-box;pointer-events:none}.colors{position:relative;width:100%;height:16px;margin-top:8px}.colors img{width:100%;user-select:none;pointer-events:none}.colors-holder{position:absolute;top:50%;left:0;width:100%;height:8px;overflow:hidden;transform:translateY(-50%);border-radius:8px;user-select:none}.colors-indicator{position:absolute;top:50%;left:0;width:17px;height:17px;border:2px solid rgba(255, 255, 255, 0.82);box-shadow:0px 1px 4px rgba(0, 0, 0, 0.25);transform:translateY(-50%);border-radius:100px;user-select:none;box-sizing:border-box;pointer-events:none}.transparency{position:relative;width:100%;height:16px;margin-top:8px}.transparency-holder{position:absolute;top:50%;left:0;width:100%;height:8px;overflow:hidden;transform:translateY(-50%);border-radius:8px;background:transparent none repeat center center/20px}.transparency-indicator{position:absolute;top:50%;left:0;width:17px;height:17px;border:2px solid rgba(255, 255, 255, 0.82);box-shadow:0px 1px 4px rgba(0, 0, 0, 0.25);transform:translateY(-50%);border-radius:100px;user-select:none;box-sizing:border-box}.colors-transparency{padding:16px}.active-color{display:flex;align-items:center;width:100%;height:30px}.active-color .color-thumb{width:100%;height:100%;background-color:transparent;border-radius:1px 0 0 1px}.active-color .color-text{font-size:14px;color:#656565;margin-left:8px}.icon{display:flex;align-items:center;justify-content:center;cursor:pointer;width:30px;color:var(--bcm-color-grey-6)}.color-input{border:none;width:100%;padding:10px;outline:none;-webkit-tap-highlight-color:transparent}";
12
12
 
@@ -2,7 +2,7 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, h, H as Host, g as getElement } from './index-348b16ad.js';
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
6
 
7
7
  const BcmContent = class {
8
8
  constructor(hostRef) {
@@ -2,16 +2,16 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, h, H as Host, g as getElement } from './index-348b16ad.js';
6
- import { c as classnames } from './index-ed9652af.js';
7
- import { I as IsLoad } from './is-load-decorator-07d3502a.js';
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
+ import { c as classnames } from './index-b84bc8c9.js';
7
+ import { I as IsLoad } from './is-load-decorator-6784aa87.js';
8
8
  import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
9
- import { G as Generate } from './generate-e008f24f.js';
10
- import { a as Bcm } from './bcm-9f50af9c.js';
9
+ import { G as Generate } from './generate-903ca965.js';
10
+ import { a as Bcm } from './bcm-ac17222c.js';
11
11
  import { d as delay } from './utils-b3338faf.js';
12
- import './_commonjsHelpers-3016b722.js';
13
- import './package-00ece356.js';
14
- import './colors-44c95e7e.js';
12
+ import './_commonjsHelpers-be0d4ec8.js';
13
+ import './package-9887f1c0.js';
14
+ import './colors-e1c31f79.js';
15
15
 
16
16
  const datePickerCss = "@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}";
17
17
 
@@ -0,0 +1,120 @@
1
+ /*!
2
+ * Built with Stencil
3
+ * Copyright (c) Bromcom.
4
+ */
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
+ import { I as IsLoad } from './is-load-decorator-6784aa87.js';
7
+ import './color-helper-c4fa9ebc.js';
8
+ import './datetime-helper-df25808a.js';
9
+ import { G as Generate } from './generate-903ca965.js';
10
+ import './number-helper-3809b83b.js';
11
+ import './string-helper-4a28f775.js';
12
+ import './validators-c8f34de9.js';
13
+ import './element-dragger-7ea06c76.js';
14
+ import { B as Bcm } from './bcm-ac17222c.js';
15
+ import { C as CaptionTemplate } from './caption-template-e973a48c.js';
16
+ import { c as classnames } from './index-b84bc8c9.js';
17
+ import './types-6f06fa1a.js';
18
+ import { L as LabelTemplate } from './label-template-f156f33f.js';
19
+ import './types-9493a7ed.js';
20
+ import { h as hooks } from './moment-24231dde.js';
21
+ import './colors-1d7854ea.js';
22
+ import './utils-b3338faf.js';
23
+ import './colors-e1c31f79.js';
24
+ import './_commonjsHelpers-be0d4ec8.js';
25
+ import './package-9887f1c0.js';
26
+ import './slot-template-46035685.js';
27
+
28
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
29
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
30
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
31
+ r = Reflect.decorate(decorators, target, key, desc);
32
+ else
33
+ for (var i = decorators.length - 1; i >= 0; i--)
34
+ if (d = decorators[i])
35
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
36
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
37
+ };
38
+ const BcmDate = class {
39
+ constructor(hostRef) {
40
+ registerInstance(this, hostRef);
41
+ this.change = createEvent(this, "bcm-change", 7);
42
+ this.onChange = (e) => {
43
+ this.value = this.getValueObject(e.detail);
44
+ this.change.emit(this.value);
45
+ };
46
+ this.getValueObject = (value) => {
47
+ if (value && hooks(value).isValid()) {
48
+ return {
49
+ isValid: hooks(value).isValid(),
50
+ date: hooks(value).toDate(),
51
+ timestamp: hooks(value).valueOf(),
52
+ dateObject: {
53
+ year: hooks(value).year(),
54
+ day: hooks(value).date(),
55
+ month: hooks(value).month(),
56
+ dayOfWeek: hooks(value).day(),
57
+ monthFirstDay: hooks(value).startOf("month").day(),
58
+ },
59
+ value: hooks(value).format(this.format),
60
+ };
61
+ }
62
+ else {
63
+ return null;
64
+ }
65
+ };
66
+ this._id = Generate.UID();
67
+ this.name = undefined;
68
+ this.value = undefined;
69
+ this.label = undefined;
70
+ this.placeholder = undefined;
71
+ this.size = Bcm.Size.medium;
72
+ this.fullWidth = false;
73
+ this.required = false;
74
+ this.clearable = false;
75
+ this.caption = undefined;
76
+ this.noCaption = false;
77
+ this.captionType = Bcm.Status.default;
78
+ this.captionError = undefined;
79
+ this.type = undefined;
80
+ this.format = "DD/MM/YYYY";
81
+ this.showTime = false;
82
+ this.showToday = true;
83
+ this.showNow = true;
84
+ }
85
+ async getValue() {
86
+ var _a;
87
+ return ((_a = this.getValueObject(this.value)) === null || _a === void 0 ? void 0 : _a.value) || null;
88
+ }
89
+ async get() {
90
+ var _a;
91
+ return ((_a = this.getValueObject(this.value)) === null || _a === void 0 ? void 0 : _a.timestamp) || null;
92
+ }
93
+ async set(value) {
94
+ this.value = value;
95
+ }
96
+ async setClear() {
97
+ this.value = null;
98
+ }
99
+ async resetCaption() {
100
+ this.captionType = "default";
101
+ this.captionError = null;
102
+ }
103
+ async getInput() {
104
+ return this.el.querySelector("input");
105
+ }
106
+ async isValid() {
107
+ var _a;
108
+ return ((_a = this.getValueObject(this.value)) === null || _a === void 0 ? void 0 : _a.isValid) || false;
109
+ }
110
+ render() {
111
+ const { label, size, captionType, required, _id } = this;
112
+ return (h(Host, { class: classnames("bcm-ui-element bcm-ui-action", "tw-inline-flex tw-flex-col") }, label && h(LabelTemplate, { size: size, type: captionType, value: label, required: required, htmlFor: _id }), h("bcm-rc-picker", { onBcmRCPickerChange: e => this.onChange(e), type: this.type, format: this.format, "show-time": this.showTime, clearable: this.clearable, val: this.value }), h(CaptionTemplate, { noCaption: this.noCaption, captionType: this.captionType, captionError: this.captionError, caption: this.caption })));
113
+ }
114
+ get el() { return getElement(this); }
115
+ };
116
+ __decorate([
117
+ IsLoad()
118
+ ], BcmDate.prototype, "el", void 0);
119
+
120
+ export { BcmDate as bcm_date };
@@ -2,21 +2,21 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-348b16ad.js';
5
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
6
  import { D as DragDirections, E as ElementDragger } from './element-dragger-7ea06c76.js';
7
- import { c as classnames } from './index-ed9652af.js';
7
+ import { c as classnames } from './index-b84bc8c9.js';
8
8
  import { D as DateTimeHelper } from './datetime-helper-df25808a.js';
9
9
  import { d as delay } from './utils-b3338faf.js';
10
- import { G as Generate } from './generate-e008f24f.js';
11
- import { a as Bcm } from './bcm-9f50af9c.js';
12
- import { g as getPlacement, s as setPosition } from './popover-placement-78f86f15.js';
13
- import { L as LabelTemplate } from './label-template-98dafeb3.js';
14
- import { I as IsLoad } from './is-load-decorator-07d3502a.js';
15
- import './_commonjsHelpers-3016b722.js';
16
- import './package-00ece356.js';
17
- import './colors-44c95e7e.js';
18
- import './string-helper-6bd24967.js';
19
- import './slot-template-672e941d.js';
10
+ import { G as Generate } from './generate-903ca965.js';
11
+ import { a as Bcm } from './bcm-ac17222c.js';
12
+ import { g as getPlacement, s as setPosition } from './popover-placement-018109c4.js';
13
+ import { L as LabelTemplate } from './label-template-f156f33f.js';
14
+ import { I as IsLoad } from './is-load-decorator-6784aa87.js';
15
+ import './_commonjsHelpers-be0d4ec8.js';
16
+ import './package-9887f1c0.js';
17
+ import './colors-e1c31f79.js';
18
+ import './string-helper-4a28f775.js';
19
+ import './slot-template-46035685.js';
20
20
 
21
21
  var Months;
22
22
  (function (Months) {
@@ -2,11 +2,11 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { r as registerInstance, h, H as Host, g as getElement } from './index-348b16ad.js';
6
- import { G as Generate } from './generate-e008f24f.js';
7
- import './package-00ece356.js';
8
- import './colors-44c95e7e.js';
9
- import './_commonjsHelpers-3016b722.js';
5
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-0615c2b8.js';
6
+ import { G as Generate } from './generate-903ca965.js';
7
+ import './package-9887f1c0.js';
8
+ import './colors-e1c31f79.js';
9
+ import './_commonjsHelpers-be0d4ec8.js';
10
10
 
11
11
  const defaultCss = "@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}";
12
12