bromcom-ui 2.11.2-test.0 → 2.12.0-test.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 (359) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/{p-c49b6287.entry.js → p-01416407.entry.js} +1 -1
  4. package/dist/bromcom-ui/p-0218b337.js +5 -0
  5. package/dist/bromcom-ui/p-055e4575.entry.js +5 -0
  6. package/dist/bromcom-ui/p-0a1c01fa.entry.js +5 -0
  7. package/dist/bromcom-ui/p-0d207b61.entry.js +5 -0
  8. package/dist/bromcom-ui/{p-a42fbe84.entry.js → p-183bc78f.entry.js} +1 -1
  9. package/dist/bromcom-ui/p-195c5945.entry.js +5 -0
  10. package/dist/bromcom-ui/p-1e793658.entry.js +5 -0
  11. package/dist/bromcom-ui/{p-e8eaa3bb.entry.js → p-28f78dd4.entry.js} +1 -1
  12. package/dist/bromcom-ui/p-2ab4e748.entry.js +5 -0
  13. package/dist/bromcom-ui/p-2fbae1fa.entry.js +5 -0
  14. package/dist/bromcom-ui/p-2fdde750.entry.js +5 -0
  15. package/dist/bromcom-ui/{p-a6aa173f.entry.js → p-3078fcd2.entry.js} +1 -1
  16. package/dist/bromcom-ui/p-30a06f92.js +5 -0
  17. package/dist/bromcom-ui/p-310cab1a.js +14 -0
  18. package/dist/bromcom-ui/p-3182df7e.js +10 -0
  19. package/dist/bromcom-ui/{p-1b558b0f.entry.js → p-3960cae8.entry.js} +1 -1
  20. package/dist/bromcom-ui/p-39eb3017.entry.js +5 -0
  21. package/dist/bromcom-ui/{p-59f7fa84.entry.js → p-3a06c6b1.entry.js} +1 -1
  22. package/dist/bromcom-ui/p-3dba7987.js +5 -0
  23. package/dist/bromcom-ui/{p-f7e70814.entry.js → p-3e63aea1.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-3f8853a8.entry.js +5 -0
  25. package/dist/bromcom-ui/p-4680865d.js +5 -0
  26. package/dist/bromcom-ui/p-4689c10d.entry.js +5 -0
  27. package/dist/bromcom-ui/{p-d01426b6.entry.js → p-4e33341b.entry.js} +1 -1
  28. package/dist/bromcom-ui/p-516eb821.entry.js +5 -0
  29. package/dist/bromcom-ui/{p-894c02ef.entry.js → p-54c2dc4e.entry.js} +1 -1
  30. package/dist/bromcom-ui/{p-b66e0388.entry.js → p-56fca120.entry.js} +1 -1
  31. package/dist/bromcom-ui/{p-69c64256.entry.js → p-57d2c129.entry.js} +1 -1
  32. package/dist/bromcom-ui/{p-270e1b24.entry.js → p-59294a5a.entry.js} +1 -1
  33. package/dist/bromcom-ui/p-5a6caa99.entry.js +5 -0
  34. package/dist/bromcom-ui/{p-9098db35.entry.js → p-5bea1cd3.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-666d9883.entry.js → p-5e50d99c.entry.js} +1 -1
  36. package/dist/bromcom-ui/p-5f04686a.entry.js +5 -0
  37. package/dist/bromcom-ui/p-619d632d.entry.js +5 -0
  38. package/dist/bromcom-ui/p-626a65e9.js +5 -0
  39. package/dist/bromcom-ui/{p-8b3eafe7.entry.js → p-67a6f0b1.entry.js} +1 -1
  40. package/dist/bromcom-ui/{p-695d8d34.entry.js → p-68fb3f60.entry.js} +1 -1
  41. package/dist/bromcom-ui/{p-80a43d63.js → p-6b55a1fe.js} +1 -1
  42. package/dist/bromcom-ui/{p-a0d6d680.js → p-6b5ed4d8.js} +1 -1
  43. package/dist/bromcom-ui/p-70761906.entry.js +5 -0
  44. package/dist/bromcom-ui/{p-6c6beb41.entry.js → p-72bbcca6.entry.js} +1 -1
  45. package/dist/bromcom-ui/{p-70c2412a.entry.js → p-74cedefe.entry.js} +1 -1
  46. package/dist/bromcom-ui/p-76edf59f.js +7 -0
  47. package/dist/bromcom-ui/{p-fc27c9ca.entry.js → p-7c43d2ac.entry.js} +1 -1
  48. package/dist/bromcom-ui/{p-f9b59bcc.entry.js → p-7edab876.entry.js} +1 -1
  49. package/dist/bromcom-ui/{p-d59d9687.entry.js → p-7f1612df.entry.js} +1 -1
  50. package/dist/bromcom-ui/{p-61753299.js → p-816fbffd.js} +1 -1
  51. package/dist/bromcom-ui/p-86bfeae7.entry.js +5 -0
  52. package/dist/bromcom-ui/{p-0cd4e8a1.entry.js → p-8858f845.entry.js} +1 -1
  53. package/dist/bromcom-ui/{p-2270e612.entry.js → p-89cffdc1.entry.js} +1 -1
  54. package/dist/bromcom-ui/{p-32c55505.entry.js → p-8c3535b6.entry.js} +1 -1
  55. package/dist/bromcom-ui/p-8de5e85a.entry.js +5 -0
  56. package/dist/bromcom-ui/p-8e2fc0fb.entry.js +5 -0
  57. package/dist/bromcom-ui/{p-c6b86846.entry.js → p-8eec338f.entry.js} +1 -1
  58. package/dist/bromcom-ui/{p-4393b33e.entry.js → p-903d62ff.entry.js} +1 -1
  59. package/dist/bromcom-ui/{p-f2e06aca.entry.js → p-90b3e6b7.entry.js} +1 -1
  60. package/dist/bromcom-ui/{p-9589f69c.entry.js → p-91873347.entry.js} +1 -1
  61. package/dist/bromcom-ui/{p-50926f4c.entry.js → p-91c0ab1c.entry.js} +1 -1
  62. package/dist/bromcom-ui/{p-b6e6027b.entry.js → p-94fd1636.entry.js} +1 -1
  63. package/dist/bromcom-ui/p-a5830216.entry.js +5 -0
  64. package/dist/bromcom-ui/{p-5196912d.js → p-a8fd6d69.js} +1 -1
  65. package/dist/bromcom-ui/{p-d51f76b2.js → p-aaed6cc7.js} +1 -1
  66. package/dist/bromcom-ui/{p-4757735e.js → p-b175108e.js} +1 -1
  67. package/dist/bromcom-ui/{p-77b1dbdd.entry.js → p-b284e383.entry.js} +1 -1
  68. package/dist/bromcom-ui/{p-ad8d9e10.entry.js → p-b378aff5.entry.js} +1 -1
  69. package/dist/bromcom-ui/{p-9b59c689.entry.js → p-b3fe26a3.entry.js} +1 -1
  70. package/dist/bromcom-ui/p-b4548f75.entry.js +5 -0
  71. package/dist/bromcom-ui/{p-77ef609e.entry.js → p-ba3c6657.entry.js} +1 -1
  72. package/dist/bromcom-ui/p-bba4602d.entry.js +5 -0
  73. package/dist/bromcom-ui/p-bd640601.entry.js +5 -0
  74. package/dist/bromcom-ui/{p-09318a64.js → p-be7e5e83.js} +1 -1
  75. package/dist/bromcom-ui/p-be970dce.entry.js +5 -0
  76. package/dist/bromcom-ui/p-bed627ab.js +11 -0
  77. package/dist/bromcom-ui/p-bf2dcc43.entry.js +5 -0
  78. package/dist/bromcom-ui/p-c1c4d275.entry.js +5 -0
  79. package/dist/bromcom-ui/{p-543457d1.entry.js → p-c2620166.entry.js} +1 -1
  80. package/dist/bromcom-ui/p-c4b075da.entry.js +5 -0
  81. package/dist/bromcom-ui/{p-f6169b46.js → p-c4d3aee2.js} +1 -1
  82. package/dist/bromcom-ui/{p-195c1819.entry.js → p-c7a3c347.entry.js} +1 -1
  83. package/dist/bromcom-ui/{p-00c28e19.entry.js → p-c9aa4a0d.entry.js} +1 -1
  84. package/dist/bromcom-ui/{p-79153d4a.entry.js → p-cfffca09.entry.js} +1 -1
  85. package/dist/bromcom-ui/{p-3b38d001.js → p-d0dc95ae.js} +1 -1
  86. package/dist/bromcom-ui/{p-8b6d3a37.js → p-d2f863d9.js} +1 -1
  87. package/dist/bromcom-ui/{p-86384d20.entry.js → p-d9157255.entry.js} +1 -1
  88. package/dist/bromcom-ui/p-d971ec3b.entry.js +5 -0
  89. package/dist/bromcom-ui/p-de5a0e24.entry.js +5 -0
  90. package/dist/bromcom-ui/{p-a486613b.entry.js → p-df185078.entry.js} +1 -1
  91. package/dist/bromcom-ui/p-e0aa747b.entry.js +5 -0
  92. package/dist/bromcom-ui/{p-b85fd5f4.entry.js → p-e2e529ef.entry.js} +1 -1
  93. package/dist/bromcom-ui/{p-6657830f.js → p-e45c1546.js} +1 -1
  94. package/dist/bromcom-ui/p-e61cd999.entry.js +5 -0
  95. package/dist/bromcom-ui/{p-34740cfd.entry.js → p-e671e409.entry.js} +1 -1
  96. package/dist/bromcom-ui/{p-ccbb5a6b.js → p-e6755449.js} +1 -1
  97. package/dist/bromcom-ui/p-ebcb30ef.entry.js +5 -0
  98. package/dist/bromcom-ui/{p-ef4baf81.entry.js → p-ed1fb15d.entry.js} +1 -1
  99. package/dist/bromcom-ui/p-f06f42dc.entry.js +5 -0
  100. package/dist/bromcom-ui/{p-207c20c6.entry.js → p-f144de37.entry.js} +1 -1
  101. package/dist/bromcom-ui/{p-fc787048.entry.js → p-f1550bf5.entry.js} +1 -1
  102. package/dist/bromcom-ui/{p-b3f7b64d.entry.js → p-f9a7a32e.entry.js} +1 -1
  103. package/dist/bromcom-ui/{p-beaec5b8.js → p-fcc6f71e.js} +1 -1
  104. package/dist/bromcom-ui/p-fd8a6bb8.entry.js +5 -0
  105. package/dist/bromcom-ui/p-fe39eea8.js +5 -0
  106. package/dist/cjs/Overflow-7a86d378.js +2233 -0
  107. package/dist/cjs/bcm-accordion.cjs.entry.js +3 -3
  108. package/dist/cjs/bcm-alert.cjs.entry.js +3 -3
  109. package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +7 -6
  110. package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +7 -6
  111. package/dist/cjs/bcm-attendance-actions.cjs.entry.js +7 -6
  112. package/dist/cjs/bcm-attendance.cjs.entry.js +3 -3
  113. package/dist/cjs/bcm-avatar_2.cjs.entry.js +7 -6
  114. package/dist/cjs/bcm-breadcrumb.cjs.entry.js +3 -3
  115. package/dist/cjs/bcm-button-group.cjs.entry.js +3 -3
  116. package/dist/cjs/bcm-button_11.cjs.entry.js +3340 -0
  117. package/dist/cjs/bcm-caption.cjs.entry.js +7 -6
  118. package/dist/cjs/bcm-card.cjs.entry.js +4 -4
  119. package/dist/cjs/bcm-checkbox-group.cjs.entry.js +3 -3
  120. package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +3 -3
  121. package/dist/cjs/bcm-checkbox_2.cjs.entry.js +4 -4
  122. package/dist/cjs/bcm-chip-group.cjs.entry.js +7 -6
  123. package/dist/cjs/bcm-chip.cjs.entry.js +4 -4
  124. package/dist/cjs/bcm-collapse.cjs.entry.js +3 -3
  125. package/dist/cjs/bcm-color-input.cjs.entry.js +7 -6
  126. package/dist/cjs/bcm-date-picker.cjs.entry.js +182 -0
  127. package/dist/cjs/bcm-date.cjs.entry.js +182 -0
  128. package/dist/cjs/bcm-datetime-picker.cjs.entry.js +1450 -0
  129. package/dist/cjs/bcm-default.cjs.entry.js +3 -3
  130. package/dist/cjs/bcm-drawer.cjs.entry.js +7 -6
  131. package/dist/cjs/bcm-dropdown.cjs.entry.js +4 -4
  132. package/dist/cjs/bcm-expansion-panel.cjs.entry.js +4 -4
  133. package/dist/cjs/bcm-form-2.cjs.entry.js +213 -0
  134. package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -3
  135. package/dist/cjs/bcm-input-dropdown.cjs.entry.js +7 -6
  136. package/dist/cjs/bcm-item.cjs.entry.js +4 -4
  137. package/dist/cjs/bcm-items.cjs.entry.js +3 -3
  138. package/dist/cjs/bcm-list_3.cjs.entry.js +21 -19
  139. package/dist/cjs/bcm-menu.cjs.entry.js +8 -7
  140. package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +7 -6
  141. package/dist/cjs/bcm-modal-2-header.cjs.entry.js +7 -6
  142. package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -6
  143. package/dist/cjs/bcm-modal.cjs.entry.js +3 -3
  144. package/dist/cjs/bcm-old-input.cjs.entry.js +397 -0
  145. package/dist/cjs/bcm-overlay_2.cjs.entry.js +1 -1
  146. package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +4 -4
  147. package/dist/cjs/bcm-popconfirm.cjs.entry.js +3 -3
  148. package/dist/cjs/bcm-popover.cjs.entry.js +7 -6
  149. package/dist/cjs/bcm-progress.cjs.entry.js +4 -4
  150. package/dist/cjs/bcm-radio-group.cjs.entry.js +7 -6
  151. package/dist/cjs/bcm-radio.cjs.entry.js +8 -7
  152. package/dist/cjs/bcm-range.cjs.entry.js +3 -3
  153. package/dist/cjs/bcm-rc-picker.cjs.entry.js +9986 -0
  154. package/dist/cjs/bcm-shortcut.cjs.entry.js +7 -6
  155. package/dist/cjs/bcm-skeleton.cjs.entry.js +7 -6
  156. package/dist/cjs/bcm-step.cjs.entry.js +4 -4
  157. package/dist/cjs/bcm-stepper.cjs.entry.js +8 -7
  158. package/dist/cjs/bcm-switch.cjs.entry.js +3 -3
  159. package/dist/cjs/bcm-tab-group.cjs.entry.js +7 -6
  160. package/dist/cjs/bcm-tab-item-header.cjs.entry.js +7 -6
  161. package/dist/cjs/bcm-tab-item.cjs.entry.js +7 -6
  162. package/dist/cjs/bcm-table.cjs.entry.js +7 -6
  163. package/dist/cjs/bcm-tag.cjs.entry.js +4 -4
  164. package/dist/cjs/bcm-text.cjs.entry.js +2 -2
  165. package/dist/cjs/bcm-textarea.cjs.entry.js +4 -4
  166. package/dist/cjs/bcm-time-picker.cjs.entry.js +150 -0
  167. package/dist/cjs/bcm-toast.cjs.entry.js +3 -3
  168. package/dist/cjs/bromcom-ui.cjs.js +3 -3
  169. package/dist/cjs/{color-helper-c3a819ea.js → color-helper-dc98a2ca.js} +1 -1
  170. package/dist/cjs/{colors-078851ec.js → colors-250d0982.js} +13 -7
  171. package/dist/cjs/datetime-helper-eaf4fadb.js +11 -0
  172. package/dist/cjs/{generate-64f84d95.js → generate-c09a3ff3.js} +2 -2
  173. package/dist/cjs/{global-895f2946.js → global-6b15ed51.js} +1 -1
  174. package/dist/cjs/{Overflow-a821abd0.js → index-e05a7c6f.js} +87 -2311
  175. package/dist/cjs/{input-template-9c106337.js → input-template-8ca49c2e.js} +1 -1
  176. package/dist/cjs/{json-parse-decarator-9db107be.js → json-parse-decarator-d32b1b4a.js} +1 -1
  177. package/dist/cjs/loader.cjs.js +3 -3
  178. package/dist/cjs/moment-d06b012f.js +4601 -0
  179. package/dist/cjs/{number-helper-f9323233.js → number-helper-243f0583.js} +1 -1
  180. package/dist/cjs/old-bcm-popover-box.cjs.entry.js +4 -4
  181. package/dist/cjs/old-bcm-popover.cjs.entry.js +3 -3
  182. package/dist/cjs/{package-992c024f.js → package-6483ada2.js} +1 -1
  183. package/dist/cjs/{stepper-states-b3496b3f.js → stepper-states-4e435c7d.js} +1 -1
  184. package/dist/cjs/{tooltip-helper-cb99c02e.js → tooltip-helper-31cc88d8.js} +5 -4
  185. package/dist/cjs/{validators-abb0434a.js → validators-e7423b70.js} +1 -6
  186. package/dist/collection/collection-manifest.json +2 -0
  187. package/dist/collection/components/molecules/input/input.style.js +117 -0
  188. package/dist/collection/components/molecules/input/input2.js +918 -0
  189. package/dist/collection/components/molecules/number-input/number-input.js +776 -95
  190. package/dist/collection/components/molecules/number-input/react-input.js +96 -0
  191. package/dist/collection/components/molecules/radio/radio.js +1 -1
  192. package/dist/collection/components/organism/form/form.js +2 -2
  193. package/dist/collection/components/organism/form-2/bcm-form-components.js +2 -1
  194. package/dist/components/bcm-form-2.js +2 -1
  195. package/dist/components/bcm-input-2.d.ts +11 -0
  196. package/dist/components/bcm-input-2.js +225 -0
  197. package/dist/components/bcm-number-input.js +295 -79
  198. package/dist/components/bcm-react-number.d.ts +11 -0
  199. package/dist/components/bcm-react-number.js +10 -0
  200. package/dist/components/colors2.js +13 -7
  201. package/dist/components/form.js +2 -2
  202. package/dist/components/generate.js +1 -1
  203. package/dist/components/index.d.ts +2 -0
  204. package/dist/components/index.js +2 -0
  205. package/dist/components/input.style.js +120 -0
  206. package/dist/components/radio.js +1 -1
  207. package/dist/components/react-input.js +1242 -0
  208. package/dist/esm/Overflow-32a0ec34.js +2217 -0
  209. package/dist/esm/{_commonjsHelpers-82aa9212.js → _commonjsHelpers-be0d4ec8.js} +1 -1
  210. package/dist/esm/bcm-accordion.entry.js +4 -4
  211. package/dist/esm/bcm-alert.entry.js +6 -6
  212. package/dist/esm/bcm-attendance-actions-comment.entry.js +9 -8
  213. package/dist/esm/bcm-attendance-actions-dropdown.entry.js +10 -9
  214. package/dist/esm/bcm-attendance-actions.entry.js +10 -9
  215. package/dist/esm/bcm-attendance.entry.js +4 -4
  216. package/dist/esm/bcm-autocomplete.entry.js +2 -2
  217. package/dist/esm/bcm-avatar_2.entry.js +9 -8
  218. package/dist/esm/bcm-breadcrumb.entry.js +5 -5
  219. package/dist/esm/bcm-button-group.entry.js +6 -6
  220. package/dist/esm/bcm-button_11.entry.js +3326 -0
  221. package/dist/esm/bcm-caption.entry.js +11 -10
  222. package/dist/esm/bcm-card.entry.js +8 -8
  223. package/dist/esm/bcm-checkbox-group.entry.js +6 -6
  224. package/dist/esm/bcm-checkbox-lite_9.entry.js +5 -5
  225. package/dist/esm/bcm-checkbox_2.entry.js +9 -9
  226. package/dist/esm/bcm-chip-group.entry.js +12 -11
  227. package/dist/esm/bcm-chip.entry.js +6 -6
  228. package/dist/esm/bcm-collapse.entry.js +6 -6
  229. package/dist/esm/bcm-color-input.entry.js +9 -8
  230. package/dist/esm/bcm-colorpicker.entry.js +2 -2
  231. package/dist/esm/bcm-date-picker.entry.js +178 -0
  232. package/dist/esm/bcm-date.entry.js +178 -0
  233. package/dist/esm/bcm-datetime-picker.entry.js +1446 -0
  234. package/dist/esm/bcm-default.entry.js +4 -4
  235. package/dist/esm/bcm-drawer.entry.js +10 -9
  236. package/dist/esm/bcm-dropdown.entry.js +6 -6
  237. package/dist/esm/bcm-error-layout.entry.js +2 -2
  238. package/dist/esm/bcm-expansion-panel.entry.js +7 -7
  239. package/dist/esm/bcm-form-2.entry.js +209 -0
  240. package/dist/esm/bcm-input-custom.entry.js +5 -5
  241. package/dist/esm/bcm-input-dropdown.entry.js +11 -10
  242. package/dist/esm/bcm-item.entry.js +6 -6
  243. package/dist/esm/bcm-items.entry.js +5 -5
  244. package/dist/esm/bcm-link.entry.js +2 -2
  245. package/dist/esm/bcm-list_3.entry.js +16 -14
  246. package/dist/esm/bcm-menu.entry.js +11 -10
  247. package/dist/esm/bcm-message.entry.js +2 -2
  248. package/dist/esm/bcm-modal-2-footer.entry.js +10 -9
  249. package/dist/esm/bcm-modal-2-header.entry.js +9 -8
  250. package/dist/esm/bcm-modal-2.entry.js +10 -9
  251. package/dist/esm/bcm-modal.entry.js +7 -7
  252. package/dist/esm/bcm-notification.entry.js +2 -2
  253. package/dist/esm/bcm-old-input.entry.js +393 -0
  254. package/dist/esm/bcm-old-tag_2.entry.js +2 -2
  255. package/dist/esm/bcm-overlay_2.entry.js +3 -3
  256. package/dist/esm/bcm-popconfirm-box.entry.js +8 -8
  257. package/dist/esm/bcm-popconfirm.entry.js +5 -5
  258. package/dist/esm/bcm-popover.entry.js +9 -8
  259. package/dist/esm/bcm-progress.entry.js +6 -6
  260. package/dist/esm/bcm-radio-group.entry.js +11 -10
  261. package/dist/esm/bcm-radio.entry.js +11 -10
  262. package/dist/esm/bcm-range.entry.js +5 -5
  263. package/dist/esm/{bcm-button_15.entry.js → bcm-rc-picker.entry.js} +9 -8632
  264. package/dist/esm/bcm-result.entry.js +2 -2
  265. package/dist/esm/bcm-select-group.entry.js +2 -2
  266. package/dist/esm/bcm-select-option.entry.js +2 -2
  267. package/dist/esm/bcm-select.entry.js +3 -3
  268. package/dist/esm/bcm-shortcut.entry.js +10 -9
  269. package/dist/esm/bcm-skeleton.entry.js +9 -8
  270. package/dist/esm/bcm-step.entry.js +6 -6
  271. package/dist/esm/bcm-stepper.entry.js +11 -10
  272. package/dist/esm/bcm-switch.entry.js +6 -6
  273. package/dist/esm/bcm-tab-group.entry.js +9 -8
  274. package/dist/esm/bcm-tab-item-header.entry.js +10 -9
  275. package/dist/esm/bcm-tab-item.entry.js +9 -8
  276. package/dist/esm/bcm-tab-pane.entry.js +2 -2
  277. package/dist/esm/bcm-tab.entry.js +2 -2
  278. package/dist/esm/bcm-table.entry.js +10 -9
  279. package/dist/esm/bcm-tabs-content.entry.js +2 -2
  280. package/dist/esm/bcm-tabs.entry.js +2 -2
  281. package/dist/esm/bcm-tag.entry.js +6 -6
  282. package/dist/esm/bcm-text.entry.js +6 -6
  283. package/dist/esm/bcm-textarea.entry.js +7 -7
  284. package/dist/esm/bcm-time-picker.entry.js +146 -0
  285. package/dist/esm/bcm-timeline-item.entry.js +2 -2
  286. package/dist/esm/bcm-timeline.entry.js +2 -2
  287. package/dist/esm/bcm-toast.entry.js +6 -6
  288. package/dist/esm/bromcom-ui.js +3 -3
  289. package/dist/esm/{caption-template-fd7738eb.js → caption-template-5c43c733.js} +1 -1
  290. package/dist/esm/{color-helper-3b528349.js → color-helper-c0bb1d8a.js} +1 -1
  291. package/dist/esm/{colors-c530a5b8.js → colors-df32bb43.js} +14 -8
  292. package/dist/esm/datetime-helper-df25808a.js +9 -0
  293. package/dist/esm/{generate-56856b63.js → generate-bcc4b036.js} +2 -2
  294. package/dist/esm/{global-c0272f2f.js → global-158eb485.js} +1 -1
  295. package/dist/esm/{Overflow-2cffcda0.js → index-a6d9d0af.js} +89 -2298
  296. package/dist/esm/{index-f549811f.js → index-b84bc8c9.js} +1 -1
  297. package/dist/esm/{input-template-19a34625.js → input-template-673e33b3.js} +2 -2
  298. package/dist/esm/{json-parse-decarator-c9a132f1.js → json-parse-decarator-c5dee289.js} +1 -1
  299. package/dist/esm/{label-template-374fbdcd.js → label-template-c15569c4.js} +1 -1
  300. package/dist/esm/loader.js +3 -3
  301. package/dist/esm/{lodash-4197be99.js → lodash-0a4396a7.js} +1 -1
  302. package/dist/esm/moment-15cd9198.js +4598 -0
  303. package/dist/esm/{number-helper-0501b786.js → number-helper-f6f2817c.js} +1 -1
  304. package/dist/esm/old-bcm-popover-box.entry.js +8 -8
  305. package/dist/esm/old-bcm-popover.entry.js +5 -5
  306. package/dist/esm/{package-a9b6e2c6.js → package-255a905d.js} +1 -1
  307. package/dist/esm/{popover-placement-d12fec40.js → popover-placement-2f5939ea.js} +1 -1
  308. package/dist/esm/{slot-template-2a19b2db.js → slot-template-7c36d3be.js} +1 -1
  309. package/dist/esm/{stepper-states-a4b1efb3.js → stepper-states-aef71cbc.js} +1 -1
  310. package/dist/esm/{string-helper-3592bdc2.js → string-helper-85990695.js} +1 -1
  311. package/dist/esm/{tooltip-helper-de7eb9a3.js → tooltip-helper-b27db4cd.js} +6 -5
  312. package/dist/esm/{validators-be951131.js → validators-2052b679.js} +2 -6
  313. package/dist/types/components/molecules/input/input.style.d.ts +576 -0
  314. package/dist/types/components/molecules/input/input2.d.ts +64 -0
  315. package/dist/types/components/molecules/number-input/number-input.d.ts +66 -17
  316. package/dist/types/components/molecules/number-input/react-input.d.ts +16 -0
  317. package/dist/types/components.d.ts +203 -19
  318. package/package.json +3 -2
  319. package/dist/bromcom-ui/p-0533a1b0.entry.js +0 -5
  320. package/dist/bromcom-ui/p-0a44db90.entry.js +0 -5
  321. package/dist/bromcom-ui/p-19783732.entry.js +0 -5
  322. package/dist/bromcom-ui/p-1e5df686.entry.js +0 -5
  323. package/dist/bromcom-ui/p-350719ca.entry.js +0 -5
  324. package/dist/bromcom-ui/p-376a20ed.js +0 -5
  325. package/dist/bromcom-ui/p-385a50b0.entry.js +0 -5
  326. package/dist/bromcom-ui/p-3a43bf45.js +0 -5
  327. package/dist/bromcom-ui/p-3c04d0f7.entry.js +0 -5
  328. package/dist/bromcom-ui/p-3e2fb868.entry.js +0 -5
  329. package/dist/bromcom-ui/p-44faabe9.entry.js +0 -5
  330. package/dist/bromcom-ui/p-4d5eb722.entry.js +0 -5
  331. package/dist/bromcom-ui/p-58ca54dc.js +0 -5
  332. package/dist/bromcom-ui/p-60dd2172.entry.js +0 -5
  333. package/dist/bromcom-ui/p-6146d180.entry.js +0 -5
  334. package/dist/bromcom-ui/p-62804f2c.entry.js +0 -5
  335. package/dist/bromcom-ui/p-6e961eb9.entry.js +0 -7
  336. package/dist/bromcom-ui/p-7175c984.entry.js +0 -5
  337. package/dist/bromcom-ui/p-7222a8db.entry.js +0 -5
  338. package/dist/bromcom-ui/p-75e4f799.entry.js +0 -5
  339. package/dist/bromcom-ui/p-76f6db61.entry.js +0 -5
  340. package/dist/bromcom-ui/p-7b9e8f58.entry.js +0 -5
  341. package/dist/bromcom-ui/p-8b00d553.entry.js +0 -5
  342. package/dist/bromcom-ui/p-a516049b.entry.js +0 -5
  343. package/dist/bromcom-ui/p-a62adacd.js +0 -5
  344. package/dist/bromcom-ui/p-aaf36d5c.entry.js +0 -5
  345. package/dist/bromcom-ui/p-ab2dcd70.entry.js +0 -5
  346. package/dist/bromcom-ui/p-b12c8235.js +0 -5
  347. package/dist/bromcom-ui/p-b2c6659a.entry.js +0 -5
  348. package/dist/bromcom-ui/p-b381e7f1.js +0 -19
  349. package/dist/bromcom-ui/p-b4755ed0.entry.js +0 -5
  350. package/dist/bromcom-ui/p-cc449a87.entry.js +0 -5
  351. package/dist/bromcom-ui/p-d43d75d2.entry.js +0 -5
  352. package/dist/bromcom-ui/p-e0ab7b38.js +0 -11
  353. package/dist/bromcom-ui/p-f2b520a4.entry.js +0 -5
  354. package/dist/cjs/bcm-button_15.cjs.entry.js +0 -18623
  355. package/dist/cjs/bcm-number-input.cjs.entry.js +0 -108
  356. package/dist/collection/components/molecules/number-input/number-input.css +0 -137
  357. package/dist/collection/components/molecules/number-input/number-input.style.js +0 -45
  358. package/dist/esm/bcm-number-input.entry.js +0 -104
  359. package/dist/types/components/molecules/number-input/number-input.style.d.ts +0 -200
@@ -2,55 +2,267 @@
2
2
  * Built with Stencil
3
3
  * Copyright (c) Bromcom.
4
4
  */
5
- import { Generate } from "@bcm/helpers";
6
- import { Host, h } from "@stencil/core";
5
+ import { Generate, StringHelper } from "@bcm/helpers";
7
6
  import { Bcm } from "@bcm/model";
8
7
  import { CaptionTemplate } from "@bcm/template";
9
- import { numberInputStyle } from "./number-input.style";
8
+ import { delay } from "@bcm/utils";
9
+ import { Host, h } from "@stencil/core";
10
+ import cs from "classnames";
11
+ import { inputStyle } from "../input/input.style";
10
12
  export class NumberInput {
11
13
  constructor() {
12
- this.blockInvalidChar = e => {
13
- return ["e", "E", "+", "-"].includes(e.key) && e.preventDefault();
14
+ this.inValid = false;
15
+ this.onInput = () => {
16
+ var _a;
17
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("input", (e) => {
18
+ this.input.emit(e);
19
+ });
20
+ };
21
+ this.onChange = () => {
22
+ var _a;
23
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("change", (e) => {
24
+ this.change.emit(e);
25
+ });
26
+ };
27
+ this.onFocus = () => {
28
+ var _a;
29
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("focus", e => {
30
+ this.isFocus = true;
31
+ this.focus.emit(e);
32
+ });
33
+ };
34
+ this.onBlur = () => {
35
+ var _a;
36
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("blur", e => {
37
+ this.isFocus = false;
38
+ this.blur.emit(e);
39
+ });
40
+ };
41
+ this.onKeydown = () => {
42
+ var _a;
43
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener("keydown", (e) => {
44
+ if (e.key === "ArrowUp") {
45
+ e.preventDefault();
46
+ this.up();
47
+ }
48
+ if (e.key === "ArrowDown") {
49
+ e.preventDefault();
50
+ this.down();
51
+ }
52
+ });
53
+ };
54
+ this.listener = () => {
55
+ this.onInput();
56
+ this.onChange();
57
+ this.onFocus();
58
+ this.onBlur();
59
+ this.onKeydown();
14
60
  };
15
61
  this._id = Generate.UID();
16
- this.size = Bcm.Size.medium;
17
- this.min = 0;
18
- this.max = 100;
62
+ this.value = "";
63
+ this.defaultValue = undefined;
64
+ this._prefix = undefined;
65
+ this._suffix = undefined;
66
+ this.size = "medium";
67
+ this.min = undefined;
68
+ this.max = undefined;
19
69
  this.step = 1;
20
- this.placeholder = undefined;
21
70
  this.label = undefined;
22
- this.tooltip = undefined;
23
- this.value = 0;
24
- this.disabled = false;
71
+ this.name = undefined;
72
+ this.fullWidth = false;
73
+ this.clearable = false;
25
74
  this.readonly = false;
75
+ this.disabled = false;
26
76
  this.required = false;
27
- this.pattern = undefined;
77
+ this.mode = "none";
78
+ this.placeholder = undefined;
79
+ this.thousandSeparator = false;
80
+ this.decimalSeparator = undefined;
81
+ this.decimalScale = undefined;
82
+ this.fixedDecimalScale = false;
83
+ this.allowNegative = false;
84
+ this.allowLeadingZeros = false;
85
+ this.unitPrefix = undefined;
86
+ this.unitSuffix = undefined;
28
87
  this.caption = undefined;
29
88
  this.noCaption = false;
30
89
  this.captionType = Bcm.Status.default;
31
90
  this.captionError = undefined;
32
91
  this.customErrorMessage = undefined;
33
- this.prefixIcon = undefined;
34
- this.suffixIcon = undefined;
35
92
  this.isFocus = false;
36
- this.isError = false;
93
+ this.captionCache = undefined;
94
+ this.captionTypeCache = undefined;
95
+ this.valueCache = "";
37
96
  }
38
- render() {
39
- const { _id, value, min, max, step, tooltip, disabled, size, label, caption, captionType, required, noCaption, captionError, customErrorMessage, prefixIcon, suffixIcon, pattern } = this;
40
- const { host, input, container, inputContainer, caretContainer, caretIcon, slotIcon } = numberInputStyle({ size, focus: this.isFocus });
41
- return (h(Host, { class: host(), onClick: () => !disabled && this.nativeInput.focus() }, label && h("bcm-label", { tooltip: tooltip, "no-margin": true, type: captionType, value: label, required: required, htmlFor: _id }), h("div", { class: container() }, h("div", { class: inputContainer() }, prefixIcon && (h("span", { class: slotIcon() }, h("i", { class: prefixIcon }))), h("input", { type: "number", class: input(), min: min, max: max, step: step, value: value, inputmode: "numeric", pattern: pattern, ref: input => (this.nativeInput = input), onKeyPress: this.blockInvalidChar, onFocus: () => (this.isFocus = true), onBlur: () => (this.isFocus = false), onError: e => console.log(e), onErrorCapture: e => console.log(e) }), suffixIcon && (h("span", { class: slotIcon() }, h("i", { class: suffixIcon })))), h("div", { class: caretContainer() }, h("span", { class: caretIcon() }, h("i", { class: "fas fa-caret-up" })), h("span", { class: caretIcon() }, h("i", { class: "fas fa-caret-down" })))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: customErrorMessage })));
97
+ connectedCallback() {
98
+ if (this.defaultValue)
99
+ this.value = +this.defaultValue;
100
+ this.valueCache = this.value;
101
+ this.captionCache = this.caption;
102
+ this.captionTypeCache = this.captionType;
42
103
  }
43
- static get is() { return "bcm-number-input"; }
44
- static get originalStyleUrls() {
45
- return {
46
- "$": ["number-input.scss"]
47
- };
104
+ componentDidLoad() {
105
+ this.listener();
48
106
  }
49
- static get styleUrls() {
50
- return {
51
- "$": ["number-input.css"]
107
+ up() {
108
+ if (this.disabled)
109
+ return;
110
+ if (!this.value)
111
+ this.value = Number(0);
112
+ this.value = +this.value + +this.step;
113
+ if (this.mode === "strict") {
114
+ if (this.max && +this.value > +this.max) {
115
+ this.value = this.max;
116
+ }
117
+ }
118
+ }
119
+ down() {
120
+ if (this.disabled)
121
+ return;
122
+ if (!this.value)
123
+ this.value = Number(0);
124
+ this.value = +this.value - +this.step;
125
+ if (this.mode === "strict") {
126
+ if (this.min && +this.value < +this.min) {
127
+ this.value = this.min;
128
+ }
129
+ }
130
+ }
131
+ handleClear(e) {
132
+ if (this.disabled)
133
+ return;
134
+ const event = this.beforeClear.emit(e);
135
+ if (event.defaultPrevented)
136
+ return;
137
+ this.value = "";
138
+ this.clear.emit(e);
139
+ }
140
+ checkLength() {
141
+ const { min, max, value } = this;
142
+ const minLength = min;
143
+ const maxLength = max;
144
+ let valuePoint = value === null || value === void 0 ? void 0 : value.toString();
145
+ if (min && max) {
146
+ if (+valuePoint < +min || +valuePoint > +max) {
147
+ this.setCaption(StringHelper.getMessage("betweenlength", [minLength, maxLength]), "error");
148
+ this.inValid = true;
149
+ }
150
+ else {
151
+ this.setCaption();
152
+ this.inValid = false;
153
+ }
154
+ }
155
+ else if (minLength) {
156
+ if (+valuePoint < +minLength) {
157
+ this.setCaption(StringHelper.getMessage("minlength", [minLength]), "error");
158
+ this.inValid = true;
159
+ }
160
+ else {
161
+ this.setCaption();
162
+ this.inValid = false;
163
+ }
164
+ }
165
+ else if (maxLength) {
166
+ if (valuePoint > maxLength) {
167
+ this.setCaption(StringHelper.getMessage("maxlength", [maxLength]), "error");
168
+ this.inValid = true;
169
+ }
170
+ else {
171
+ this.setCaption();
172
+ this.inValid = false;
173
+ }
174
+ }
175
+ }
176
+ watchValue() {
177
+ this.checkLength();
178
+ }
179
+ async onBcmFocus() {
180
+ this.inputElement.focus();
181
+ }
182
+ async onBcmBlur() {
183
+ this.inputElement.blur();
184
+ }
185
+ async onBcmSelect() {
186
+ this.inputElement.select();
187
+ }
188
+ async set(data) {
189
+ await this.setValue(data);
190
+ }
191
+ async get() {
192
+ return this.value || null;
193
+ }
194
+ async setValue(value) {
195
+ this.value = value;
196
+ }
197
+ async setClear() {
198
+ this.value = null;
199
+ await delay(10);
200
+ return Promise.resolve();
201
+ }
202
+ async resetCaption() {
203
+ await delay(10);
204
+ this.caption = this.captionCache;
205
+ this.captionType = this.captionTypeCache;
206
+ this.captionError = null;
207
+ this.inValid = false;
208
+ await delay(10);
209
+ return Promise.resolve();
210
+ }
211
+ setCaption(caption = null, captionType = null) {
212
+ this.caption = caption || this.captionCache;
213
+ this.captionType = captionType || this.captionTypeCache;
214
+ this.captionError = captionType == "error" ? caption : null;
215
+ return Promise.resolve();
216
+ }
217
+ disconnectedCallback() {
218
+ var _a, _b, _c, _d, _e;
219
+ (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.removeEventListener("input", this.onInput.bind(this));
220
+ (_b = this.inputElement) === null || _b === void 0 ? void 0 : _b.removeEventListener("change", this.onChange.bind(this));
221
+ (_c = this.inputElement) === null || _c === void 0 ? void 0 : _c.removeEventListener("focus", this.onFocus.bind(this));
222
+ (_d = this.inputElement) === null || _d === void 0 ? void 0 : _d.removeEventListener("blur", this.onBlur.bind(this));
223
+ (_e = this.inputElement) === null || _e === void 0 ? void 0 : _e.removeEventListener("keydown", this.onKeydown.bind(this));
224
+ }
225
+ render() {
226
+ const { _prefix, _suffix, noCaption, captionType, captionError, caption, required, _id, label, size, fullWidth, clearable, value, placeholder, thousandSeparator, decimalSeparator, decimalScale, fixedDecimalScale, allowNegative, allowLeadingZeros, unitPrefix, unitSuffix, min, max, step, defaultValue, disabled, mode, } = this;
227
+ const isActiveClearable = (value === null || value === void 0 ? void 0 : value.toString().length) > 0 && clearable;
228
+ const isInvalid = this.captionType == "error" || this.inValid;
229
+ const { host, inputContainer, slotClass, clearButton, controls, controlsBtn, controlsBtnDown, controlsBtnUp, controlsDivider, input } = inputStyle({
230
+ size,
231
+ fullWidth,
232
+ clearable: isActiveClearable,
233
+ disabled,
234
+ invalid: isInvalid,
235
+ });
236
+ const numericProps = {
237
+ placeholder,
238
+ thousandSeparator,
239
+ decimalSeparator,
240
+ decimalScale,
241
+ fixedDecimalScale,
242
+ allowNegative,
243
+ allowLeadingZeros,
244
+ prefix: unitPrefix,
245
+ suffix: unitSuffix,
246
+ };
247
+ /* input props */
248
+ const inputProps = {
249
+ min,
250
+ max,
251
+ step,
252
+ value,
253
+ defaultValue,
52
254
  };
255
+ const generalProps = Object.assign(Object.assign(Object.assign({ "id": _id + "-base-input", "name": this.name, disabled,
256
+ mode, "aria-label": label, "aria-labelledby": _id + "-label", "getInputRef": el => {
257
+ this.inputElement = el;
258
+ }, "className": input() }, numericProps), inputProps), { "onValueChange": (e) => {
259
+ const { floatValue } = e;
260
+ this.value = floatValue;
261
+ this._onChange.emit(e);
262
+ } });
263
+ return (h(Host, { class: host() }, label && h("bcm-label", { size: size, type: captionType, value: label, required: required, htmlFor: _id + "-base-input", id: _id + "-label" }), h("div", { class: inputContainer() }, h("div", { class: slotClass() }, h("slot", { name: "prefix" }, _prefix && _prefix.length > 0 && h("span", { innerHTML: _prefix }))), h("bcm-react-number", { disabled: disabled, class: "tw-flex-1", options: generalProps }), h("div", { class: slotClass() }, !disabled && isActiveClearable && (h("button", { class: clearButton(), onClick: event => this.handleClear(event) }, h("i", { class: "far fa-times" }))), h("slot", { name: "suffix" }, _suffix && _suffix.length > 0 && h("span", { innerHTML: _suffix })), h("div", { class: controls() }, h("button", { type: "button", disabled: disabled, class: cs(controlsBtn(), controlsBtnUp()), onClick: this.up.bind(this), "aria-label": "Increase value" }, h("i", { class: "fas fa-caret-up" })), h("div", { class: controlsDivider() }), h("button", { type: "button", disabled: disabled, class: cs(controlsBtn(), controlsBtnDown()), onClick: this.down.bind(this), "aria-label": "Decrease value" }, h("i", { class: "fas fa-caret-down" }))))), h(CaptionTemplate, { noCaption: noCaption, captionType: captionType, captionError: captionError, caption: caption, customErrorMessage: this.customErrorMessage })));
53
264
  }
265
+ static get is() { return "bcm-number-input"; }
54
266
  static get properties() {
55
267
  return {
56
268
  "_id": {
@@ -71,6 +283,75 @@ export class NumberInput {
71
283
  "reflect": true,
72
284
  "defaultValue": "Generate.UID()"
73
285
  },
286
+ "value": {
287
+ "type": "any",
288
+ "mutable": true,
289
+ "complexType": {
290
+ "original": "number | string",
291
+ "resolved": "number | string",
292
+ "references": {}
293
+ },
294
+ "required": false,
295
+ "optional": true,
296
+ "docs": {
297
+ "tags": [],
298
+ "text": ""
299
+ },
300
+ "attribute": "value",
301
+ "reflect": false,
302
+ "defaultValue": "\"\""
303
+ },
304
+ "defaultValue": {
305
+ "type": "any",
306
+ "mutable": false,
307
+ "complexType": {
308
+ "original": "number | string",
309
+ "resolved": "number | string",
310
+ "references": {}
311
+ },
312
+ "required": false,
313
+ "optional": true,
314
+ "docs": {
315
+ "tags": [],
316
+ "text": ""
317
+ },
318
+ "attribute": "default-value",
319
+ "reflect": false
320
+ },
321
+ "_prefix": {
322
+ "type": "string",
323
+ "mutable": false,
324
+ "complexType": {
325
+ "original": "string",
326
+ "resolved": "string",
327
+ "references": {}
328
+ },
329
+ "required": false,
330
+ "optional": true,
331
+ "docs": {
332
+ "tags": [],
333
+ "text": ""
334
+ },
335
+ "attribute": "prefix",
336
+ "reflect": false
337
+ },
338
+ "_suffix": {
339
+ "type": "string",
340
+ "mutable": false,
341
+ "complexType": {
342
+ "original": "string",
343
+ "resolved": "string",
344
+ "references": {}
345
+ },
346
+ "required": false,
347
+ "optional": true,
348
+ "docs": {
349
+ "tags": [],
350
+ "text": ""
351
+ },
352
+ "attribute": "suffix",
353
+ "reflect": false
354
+ },
74
355
  "size": {
75
356
  "type": "string",
76
357
  "mutable": false,
@@ -85,50 +366,48 @@ export class NumberInput {
85
366
  }
86
367
  },
87
368
  "required": false,
88
- "optional": false,
369
+ "optional": true,
89
370
  "docs": {
90
371
  "tags": [],
91
372
  "text": ""
92
373
  },
93
374
  "attribute": "size",
94
375
  "reflect": false,
95
- "defaultValue": "Bcm.Size.medium"
376
+ "defaultValue": "\"medium\""
96
377
  },
97
378
  "min": {
98
- "type": "number",
379
+ "type": "any",
99
380
  "mutable": false,
100
381
  "complexType": {
101
- "original": "number",
102
- "resolved": "number",
382
+ "original": "number | string",
383
+ "resolved": "number | string",
103
384
  "references": {}
104
385
  },
105
386
  "required": false,
106
- "optional": false,
387
+ "optional": true,
107
388
  "docs": {
108
389
  "tags": [],
109
390
  "text": ""
110
391
  },
111
392
  "attribute": "min",
112
- "reflect": false,
113
- "defaultValue": "0"
393
+ "reflect": false
114
394
  },
115
395
  "max": {
116
- "type": "number",
396
+ "type": "any",
117
397
  "mutable": false,
118
398
  "complexType": {
119
- "original": "number",
120
- "resolved": "number",
399
+ "original": "number | string",
400
+ "resolved": "number | string",
121
401
  "references": {}
122
402
  },
123
403
  "required": false,
124
- "optional": false,
404
+ "optional": true,
125
405
  "docs": {
126
406
  "tags": [],
127
407
  "text": ""
128
408
  },
129
409
  "attribute": "max",
130
- "reflect": false,
131
- "defaultValue": "100"
410
+ "reflect": false
132
411
  },
133
412
  "step": {
134
413
  "type": "number",
@@ -139,7 +418,7 @@ export class NumberInput {
139
418
  "references": {}
140
419
  },
141
420
  "required": false,
142
- "optional": false,
421
+ "optional": true,
143
422
  "docs": {
144
423
  "tags": [],
145
424
  "text": ""
@@ -148,7 +427,7 @@ export class NumberInput {
148
427
  "reflect": false,
149
428
  "defaultValue": "1"
150
429
  },
151
- "placeholder": {
430
+ "label": {
152
431
  "type": "string",
153
432
  "mutable": false,
154
433
  "complexType": {
@@ -162,10 +441,10 @@ export class NumberInput {
162
441
  "tags": [],
163
442
  "text": ""
164
443
  },
165
- "attribute": "placeholder",
444
+ "attribute": "label",
166
445
  "reflect": false
167
446
  },
168
- "label": {
447
+ "name": {
169
448
  "type": "string",
170
449
  "mutable": false,
171
450
  "complexType": {
@@ -179,12 +458,120 @@ export class NumberInput {
179
458
  "tags": [],
180
459
  "text": ""
181
460
  },
182
- "attribute": "label",
461
+ "attribute": "name",
183
462
  "reflect": false
184
463
  },
185
- "tooltip": {
464
+ "fullWidth": {
465
+ "type": "boolean",
466
+ "mutable": false,
467
+ "complexType": {
468
+ "original": "boolean",
469
+ "resolved": "boolean",
470
+ "references": {}
471
+ },
472
+ "required": false,
473
+ "optional": false,
474
+ "docs": {
475
+ "tags": [],
476
+ "text": ""
477
+ },
478
+ "attribute": "full-width",
479
+ "reflect": false,
480
+ "defaultValue": "false"
481
+ },
482
+ "clearable": {
483
+ "type": "boolean",
484
+ "mutable": false,
485
+ "complexType": {
486
+ "original": "boolean",
487
+ "resolved": "boolean",
488
+ "references": {}
489
+ },
490
+ "required": false,
491
+ "optional": false,
492
+ "docs": {
493
+ "tags": [],
494
+ "text": ""
495
+ },
496
+ "attribute": "clearable",
497
+ "reflect": false,
498
+ "defaultValue": "false"
499
+ },
500
+ "readonly": {
501
+ "type": "boolean",
502
+ "mutable": false,
503
+ "complexType": {
504
+ "original": "boolean",
505
+ "resolved": "boolean",
506
+ "references": {}
507
+ },
508
+ "required": false,
509
+ "optional": true,
510
+ "docs": {
511
+ "tags": [],
512
+ "text": "Input states"
513
+ },
514
+ "attribute": "readonly",
515
+ "reflect": false,
516
+ "defaultValue": "false"
517
+ },
518
+ "disabled": {
519
+ "type": "boolean",
520
+ "mutable": false,
521
+ "complexType": {
522
+ "original": "boolean",
523
+ "resolved": "boolean",
524
+ "references": {}
525
+ },
526
+ "required": false,
527
+ "optional": true,
528
+ "docs": {
529
+ "tags": [],
530
+ "text": ""
531
+ },
532
+ "attribute": "disabled",
533
+ "reflect": false,
534
+ "defaultValue": "false"
535
+ },
536
+ "required": {
537
+ "type": "boolean",
538
+ "mutable": false,
539
+ "complexType": {
540
+ "original": "boolean",
541
+ "resolved": "boolean",
542
+ "references": {}
543
+ },
544
+ "required": false,
545
+ "optional": true,
546
+ "docs": {
547
+ "tags": [],
548
+ "text": ""
549
+ },
550
+ "attribute": "required",
551
+ "reflect": false,
552
+ "defaultValue": "false"
553
+ },
554
+ "mode": {
186
555
  "type": "string",
187
- "mutable": true,
556
+ "mutable": false,
557
+ "complexType": {
558
+ "original": "\"strict\" | \"none\"",
559
+ "resolved": "\"none\" | \"strict\"",
560
+ "references": {}
561
+ },
562
+ "required": false,
563
+ "optional": false,
564
+ "docs": {
565
+ "tags": [],
566
+ "text": "Number Input Props"
567
+ },
568
+ "attribute": "mode",
569
+ "reflect": false,
570
+ "defaultValue": "\"none\""
571
+ },
572
+ "placeholder": {
573
+ "type": "string",
574
+ "mutable": false,
188
575
  "complexType": {
189
576
  "original": "string",
190
577
  "resolved": "string",
@@ -196,28 +583,62 @@ export class NumberInput {
196
583
  "tags": [],
197
584
  "text": ""
198
585
  },
199
- "attribute": "tooltip",
586
+ "attribute": "placeholder",
200
587
  "reflect": false
201
588
  },
202
- "value": {
589
+ "thousandSeparator": {
590
+ "type": "any",
591
+ "mutable": false,
592
+ "complexType": {
593
+ "original": "string | boolean",
594
+ "resolved": "boolean | string",
595
+ "references": {}
596
+ },
597
+ "required": false,
598
+ "optional": true,
599
+ "docs": {
600
+ "tags": [],
601
+ "text": ""
602
+ },
603
+ "attribute": "thousand-separator",
604
+ "reflect": false,
605
+ "defaultValue": "false"
606
+ },
607
+ "decimalSeparator": {
608
+ "type": "string",
609
+ "mutable": false,
610
+ "complexType": {
611
+ "original": "string",
612
+ "resolved": "string",
613
+ "references": {}
614
+ },
615
+ "required": false,
616
+ "optional": true,
617
+ "docs": {
618
+ "tags": [],
619
+ "text": ""
620
+ },
621
+ "attribute": "decimal-separator",
622
+ "reflect": false
623
+ },
624
+ "decimalScale": {
203
625
  "type": "number",
204
- "mutable": true,
626
+ "mutable": false,
205
627
  "complexType": {
206
628
  "original": "number",
207
629
  "resolved": "number",
208
630
  "references": {}
209
631
  },
210
632
  "required": false,
211
- "optional": false,
633
+ "optional": true,
212
634
  "docs": {
213
635
  "tags": [],
214
636
  "text": ""
215
637
  },
216
- "attribute": "value",
217
- "reflect": false,
218
- "defaultValue": "0"
638
+ "attribute": "decimal-scale",
639
+ "reflect": false
219
640
  },
220
- "disabled": {
641
+ "fixedDecimalScale": {
221
642
  "type": "boolean",
222
643
  "mutable": false,
223
644
  "complexType": {
@@ -226,16 +647,16 @@ export class NumberInput {
226
647
  "references": {}
227
648
  },
228
649
  "required": false,
229
- "optional": false,
650
+ "optional": true,
230
651
  "docs": {
231
652
  "tags": [],
232
653
  "text": ""
233
654
  },
234
- "attribute": "disabled",
655
+ "attribute": "fixed-decimal-scale",
235
656
  "reflect": false,
236
657
  "defaultValue": "false"
237
658
  },
238
- "readonly": {
659
+ "allowNegative": {
239
660
  "type": "boolean",
240
661
  "mutable": false,
241
662
  "complexType": {
@@ -244,16 +665,16 @@ export class NumberInput {
244
665
  "references": {}
245
666
  },
246
667
  "required": false,
247
- "optional": false,
668
+ "optional": true,
248
669
  "docs": {
249
670
  "tags": [],
250
671
  "text": ""
251
672
  },
252
- "attribute": "readonly",
673
+ "attribute": "allow-negative",
253
674
  "reflect": false,
254
675
  "defaultValue": "false"
255
676
  },
256
- "required": {
677
+ "allowLeadingZeros": {
257
678
  "type": "boolean",
258
679
  "mutable": false,
259
680
  "complexType": {
@@ -262,30 +683,47 @@ export class NumberInput {
262
683
  "references": {}
263
684
  },
264
685
  "required": false,
265
- "optional": false,
686
+ "optional": true,
266
687
  "docs": {
267
688
  "tags": [],
268
689
  "text": ""
269
690
  },
270
- "attribute": "required",
691
+ "attribute": "allow-leading-zeros",
271
692
  "reflect": false,
272
693
  "defaultValue": "false"
273
694
  },
274
- "pattern": {
695
+ "unitPrefix": {
275
696
  "type": "string",
276
- "mutable": true,
697
+ "mutable": false,
277
698
  "complexType": {
278
699
  "original": "string",
279
700
  "resolved": "string",
280
701
  "references": {}
281
702
  },
282
703
  "required": false,
283
- "optional": false,
704
+ "optional": true,
705
+ "docs": {
706
+ "tags": [],
707
+ "text": ""
708
+ },
709
+ "attribute": "unit-prefix",
710
+ "reflect": false
711
+ },
712
+ "unitSuffix": {
713
+ "type": "string",
714
+ "mutable": false,
715
+ "complexType": {
716
+ "original": "string",
717
+ "resolved": "string",
718
+ "references": {}
719
+ },
720
+ "required": false,
721
+ "optional": true,
284
722
  "docs": {
285
723
  "tags": [],
286
724
  "text": ""
287
725
  },
288
- "attribute": "pattern",
726
+ "attribute": "unit-suffix",
289
727
  "reflect": false
290
728
  },
291
729
  "caption": {
@@ -300,7 +738,7 @@ export class NumberInput {
300
738
  "optional": false,
301
739
  "docs": {
302
740
  "tags": [],
303
- "text": ""
741
+ "text": "Caption Props"
304
742
  },
305
743
  "attribute": "caption",
306
744
  "reflect": false
@@ -379,47 +817,290 @@ export class NumberInput {
379
817
  },
380
818
  "attribute": "custom-error-message",
381
819
  "reflect": false
382
- },
383
- "prefixIcon": {
384
- "type": "string",
385
- "mutable": true,
820
+ }
821
+ };
822
+ }
823
+ static get states() {
824
+ return {
825
+ "isFocus": {},
826
+ "captionCache": {},
827
+ "captionTypeCache": {},
828
+ "valueCache": {}
829
+ };
830
+ }
831
+ static get events() {
832
+ return [{
833
+ "method": "focus",
834
+ "name": "bcm-focus",
835
+ "bubbles": false,
836
+ "cancelable": true,
837
+ "composed": true,
838
+ "docs": {
839
+ "tags": [],
840
+ "text": "Events *"
841
+ },
386
842
  "complexType": {
387
- "original": "string",
388
- "resolved": "string",
843
+ "original": "any",
844
+ "resolved": "any",
389
845
  "references": {}
846
+ }
847
+ }, {
848
+ "method": "blur",
849
+ "name": "bcm-blur",
850
+ "bubbles": false,
851
+ "cancelable": true,
852
+ "composed": true,
853
+ "docs": {
854
+ "tags": [],
855
+ "text": ""
390
856
  },
391
- "required": false,
392
- "optional": false,
857
+ "complexType": {
858
+ "original": "any",
859
+ "resolved": "any",
860
+ "references": {}
861
+ }
862
+ }, {
863
+ "method": "clear",
864
+ "name": "bcm-clear",
865
+ "bubbles": false,
866
+ "cancelable": true,
867
+ "composed": true,
393
868
  "docs": {
394
869
  "tags": [],
395
870
  "text": ""
396
871
  },
397
- "attribute": "prefix-icon",
398
- "reflect": false
399
- },
400
- "suffixIcon": {
401
- "type": "string",
402
- "mutable": true,
403
872
  "complexType": {
404
- "original": "string",
405
- "resolved": "string",
873
+ "original": "any",
874
+ "resolved": "any",
406
875
  "references": {}
876
+ }
877
+ }, {
878
+ "method": "change",
879
+ "name": "bcm-change",
880
+ "bubbles": true,
881
+ "cancelable": true,
882
+ "composed": true,
883
+ "docs": {
884
+ "tags": [],
885
+ "text": ""
407
886
  },
408
- "required": false,
409
- "optional": false,
887
+ "complexType": {
888
+ "original": "any",
889
+ "resolved": "any",
890
+ "references": {}
891
+ }
892
+ }, {
893
+ "method": "input",
894
+ "name": "bcm-input",
895
+ "bubbles": false,
896
+ "cancelable": true,
897
+ "composed": true,
410
898
  "docs": {
411
899
  "tags": [],
412
900
  "text": ""
413
901
  },
414
- "attribute": "suffix-icon",
415
- "reflect": false
416
- }
417
- };
902
+ "complexType": {
903
+ "original": "any",
904
+ "resolved": "any",
905
+ "references": {}
906
+ }
907
+ }, {
908
+ "method": "beforeClear",
909
+ "name": "bcm-input-before-clear",
910
+ "bubbles": false,
911
+ "cancelable": true,
912
+ "composed": true,
913
+ "docs": {
914
+ "tags": [],
915
+ "text": ""
916
+ },
917
+ "complexType": {
918
+ "original": "any",
919
+ "resolved": "any",
920
+ "references": {}
921
+ }
922
+ }, {
923
+ "method": "_onChange",
924
+ "name": "bcm-onchange",
925
+ "bubbles": false,
926
+ "cancelable": true,
927
+ "composed": true,
928
+ "docs": {
929
+ "tags": [],
930
+ "text": ""
931
+ },
932
+ "complexType": {
933
+ "original": "any",
934
+ "resolved": "any",
935
+ "references": {}
936
+ }
937
+ }];
418
938
  }
419
- static get states() {
939
+ static get methods() {
420
940
  return {
421
- "isFocus": {},
422
- "isError": {}
941
+ "onBcmFocus": {
942
+ "complexType": {
943
+ "signature": "() => Promise<void>",
944
+ "parameters": [],
945
+ "references": {
946
+ "Promise": {
947
+ "location": "global"
948
+ }
949
+ },
950
+ "return": "Promise<void>"
951
+ },
952
+ "docs": {
953
+ "text": "",
954
+ "tags": []
955
+ }
956
+ },
957
+ "onBcmBlur": {
958
+ "complexType": {
959
+ "signature": "() => Promise<void>",
960
+ "parameters": [],
961
+ "references": {
962
+ "Promise": {
963
+ "location": "global"
964
+ }
965
+ },
966
+ "return": "Promise<void>"
967
+ },
968
+ "docs": {
969
+ "text": "",
970
+ "tags": []
971
+ }
972
+ },
973
+ "onBcmSelect": {
974
+ "complexType": {
975
+ "signature": "() => Promise<void>",
976
+ "parameters": [],
977
+ "references": {
978
+ "Promise": {
979
+ "location": "global"
980
+ }
981
+ },
982
+ "return": "Promise<void>"
983
+ },
984
+ "docs": {
985
+ "text": "",
986
+ "tags": []
987
+ }
988
+ },
989
+ "set": {
990
+ "complexType": {
991
+ "signature": "(data: any) => Promise<void>",
992
+ "parameters": [{
993
+ "tags": [],
994
+ "text": ""
995
+ }],
996
+ "references": {
997
+ "Promise": {
998
+ "location": "global"
999
+ }
1000
+ },
1001
+ "return": "Promise<void>"
1002
+ },
1003
+ "docs": {
1004
+ "text": "",
1005
+ "tags": []
1006
+ }
1007
+ },
1008
+ "get": {
1009
+ "complexType": {
1010
+ "signature": "() => Promise<string | number>",
1011
+ "parameters": [],
1012
+ "references": {
1013
+ "Promise": {
1014
+ "location": "global"
1015
+ }
1016
+ },
1017
+ "return": "Promise<string | number>"
1018
+ },
1019
+ "docs": {
1020
+ "text": "",
1021
+ "tags": []
1022
+ }
1023
+ },
1024
+ "setValue": {
1025
+ "complexType": {
1026
+ "signature": "(value: any) => Promise<void>",
1027
+ "parameters": [{
1028
+ "tags": [],
1029
+ "text": ""
1030
+ }],
1031
+ "references": {
1032
+ "Promise": {
1033
+ "location": "global"
1034
+ }
1035
+ },
1036
+ "return": "Promise<void>"
1037
+ },
1038
+ "docs": {
1039
+ "text": "",
1040
+ "tags": []
1041
+ }
1042
+ },
1043
+ "setClear": {
1044
+ "complexType": {
1045
+ "signature": "() => Promise<void>",
1046
+ "parameters": [],
1047
+ "references": {
1048
+ "Promise": {
1049
+ "location": "global"
1050
+ }
1051
+ },
1052
+ "return": "Promise<void>"
1053
+ },
1054
+ "docs": {
1055
+ "text": "",
1056
+ "tags": []
1057
+ }
1058
+ },
1059
+ "resetCaption": {
1060
+ "complexType": {
1061
+ "signature": "() => Promise<void>",
1062
+ "parameters": [],
1063
+ "references": {
1064
+ "Promise": {
1065
+ "location": "global"
1066
+ }
1067
+ },
1068
+ "return": "Promise<void>"
1069
+ },
1070
+ "docs": {
1071
+ "text": "",
1072
+ "tags": []
1073
+ }
1074
+ },
1075
+ "setCaption": {
1076
+ "complexType": {
1077
+ "signature": "(caption?: any, captionType?: any) => Promise<void>",
1078
+ "parameters": [{
1079
+ "tags": [],
1080
+ "text": ""
1081
+ }, {
1082
+ "tags": [],
1083
+ "text": ""
1084
+ }],
1085
+ "references": {
1086
+ "Promise": {
1087
+ "location": "global"
1088
+ }
1089
+ },
1090
+ "return": "Promise<void>"
1091
+ },
1092
+ "docs": {
1093
+ "text": "",
1094
+ "tags": []
1095
+ }
1096
+ }
423
1097
  };
424
1098
  }
1099
+ static get elementRef() { return "el"; }
1100
+ static get watchers() {
1101
+ return [{
1102
+ "propName": "value",
1103
+ "methodName": "watchValue"
1104
+ }];
1105
+ }
425
1106
  }