@acorex/components 5.0.4 → 5.0.8

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 (336) hide show
  1. package/README.md +24 -24
  2. package/acorex-components.d.ts +5 -5
  3. package/bundles/acorex-components.umd.js +7172 -6743
  4. package/bundles/acorex-components.umd.js.map +1 -1
  5. package/esm2015/acorex-components.js +4 -4
  6. package/esm2015/lib/alert/alert-button.component.js +52 -52
  7. package/esm2015/lib/alert/alert-contnet.component.js +21 -21
  8. package/esm2015/lib/alert/alert-footer.component.js +27 -27
  9. package/esm2015/lib/alert/alert-suffix.component.js +27 -27
  10. package/esm2015/lib/alert/alert-title.component.js +23 -23
  11. package/esm2015/lib/alert/alert.component.js +130 -131
  12. package/esm2015/lib/alert/alert.module.js +43 -43
  13. package/esm2015/lib/alert/index.js +8 -8
  14. package/esm2015/lib/avatar/avatar.component.js +55 -55
  15. package/esm2015/lib/avatar/avatar.module.js +21 -21
  16. package/esm2015/lib/avatar/index.js +3 -3
  17. package/esm2015/lib/badge/badge.component.js +34 -0
  18. package/esm2015/lib/badge/badge.module.js +21 -0
  19. package/esm2015/lib/badge/index.js +3 -0
  20. package/esm2015/lib/base/common.module.js +18 -18
  21. package/esm2015/lib/base/custom-cdk-overlay.service.js +47 -47
  22. package/esm2015/lib/base/drawing.class.js +11 -11
  23. package/esm2015/lib/base/events.class.js +53 -53
  24. package/esm2015/lib/base/index.js +7 -7
  25. package/esm2015/lib/base/mixin/base-components.class.js +83 -83
  26. package/esm2015/lib/base/mixin/button-mixin.class.js +129 -129
  27. package/esm2015/lib/base/mixin/clickable-mixin.class.js +24 -24
  28. package/esm2015/lib/base/mixin/constratctor.js +2 -2
  29. package/esm2015/lib/base/mixin/datalist-component.class.js +97 -97
  30. package/esm2015/lib/base/mixin/dropdown-mixin.class.js +36 -36
  31. package/esm2015/lib/base/mixin/index.js +3 -3
  32. package/esm2015/lib/base/mixin/interactive-mixin.class.js +77 -72
  33. package/esm2015/lib/base/mixin/loading-mixin.class.js +18 -18
  34. package/esm2015/lib/base/mixin/mixin.class.js +22 -23
  35. package/esm2015/lib/base/mixin/selection-component.class.js +158 -158
  36. package/esm2015/lib/base/mixin/sizable-mixin.class.js +18 -18
  37. package/esm2015/lib/base/mixin/textbox-mixin.class.js +38 -38
  38. package/esm2015/lib/base/mixin/value-mixin.class.js +190 -190
  39. package/esm2015/lib/base/overlay.service.js +91 -91
  40. package/esm2015/lib/base/responsive.directive.js +34 -34
  41. package/esm2015/lib/base/styles.class.js +4 -4
  42. package/esm2015/lib/button/button-group.component.js +131 -131
  43. package/esm2015/lib/button/button-item.class.js +2 -2
  44. package/esm2015/lib/button/button-item.component.js +81 -81
  45. package/esm2015/lib/button/button.component.js +73 -51
  46. package/esm2015/lib/button/button.module.js +33 -37
  47. package/esm2015/lib/button/index.js +6 -7
  48. package/esm2015/lib/calendar/calendar.component.js +287 -59
  49. package/esm2015/lib/calendar/calendar.module.js +25 -24
  50. package/esm2015/lib/calendar/index.js +3 -3
  51. package/esm2015/lib/carousel/carousel-arrows.component.js +53 -53
  52. package/esm2015/lib/carousel/carousel-item.component.js +21 -21
  53. package/esm2015/lib/carousel/carousel-pager.component.js +74 -74
  54. package/esm2015/lib/carousel/carousel-splidejs.class.js +82 -82
  55. package/esm2015/lib/carousel/carousel.class.js +10 -10
  56. package/esm2015/lib/carousel/carousel.component.js +246 -246
  57. package/esm2015/lib/carousel/carousel.module.js +24 -24
  58. package/esm2015/lib/carousel/index.js +7 -7
  59. package/esm2015/lib/checkbox/checkbox.component.js +40 -40
  60. package/esm2015/lib/checkbox/checkbox.module.js +20 -20
  61. package/esm2015/lib/checkbox/index.js +3 -3
  62. package/esm2015/lib/datalist/datalist.component.js +81 -81
  63. package/esm2015/lib/datalist/datalist.module.js +22 -22
  64. package/esm2015/lib/datalist/index.js +3 -3
  65. package/esm2015/lib/datepicker/datepicker.component.js +80 -64
  66. package/esm2015/lib/datepicker/datepicker.module.js +23 -23
  67. package/esm2015/lib/datepicker/index.js +3 -3
  68. package/esm2015/lib/decorators/decorators.module.js +22 -22
  69. package/esm2015/lib/decorators/index.js +4 -4
  70. package/esm2015/lib/decorators/prefix.component.js +27 -27
  71. package/esm2015/lib/decorators/suffix.component.js +27 -35
  72. package/esm2015/lib/dialog/dialog.class.js +2 -2
  73. package/esm2015/lib/dialog/dialog.component.js +45 -45
  74. package/esm2015/lib/dialog/dialog.module.js +26 -26
  75. package/esm2015/lib/dialog/dialog.service.js +146 -127
  76. package/esm2015/lib/dialog/index.js +5 -5
  77. package/esm2015/lib/drawer/drawer-container.component.js +73 -73
  78. package/esm2015/lib/drawer/drawer-content.component.js +27 -27
  79. package/esm2015/lib/drawer/drawer.component.js +145 -145
  80. package/esm2015/lib/drawer/drawer.module.js +23 -23
  81. package/esm2015/lib/drawer/index.js +5 -5
  82. package/esm2015/lib/dropdown/dropdown-base.class.js +98 -0
  83. package/esm2015/lib/dropdown/dropdown-panel.component.js +84 -194
  84. package/esm2015/lib/dropdown/dropdown.component.js +32 -139
  85. package/esm2015/lib/dropdown/dropdown.module.js +25 -24
  86. package/esm2015/lib/dropdown/index.js +4 -4
  87. package/esm2015/lib/form/form-field.component.js +20 -20
  88. package/esm2015/lib/form/form-field.module.js +21 -21
  89. package/esm2015/lib/form/form-hint.component.js +20 -20
  90. package/esm2015/lib/form/form.component.js +51 -51
  91. package/esm2015/lib/form/index.js +5 -5
  92. package/esm2015/lib/icon/icon.component.js +28 -28
  93. package/esm2015/lib/icon/icon.module.js +21 -21
  94. package/esm2015/lib/icon/index.js +3 -3
  95. package/esm2015/lib/input-mask/index.js +3 -3
  96. package/esm2015/lib/input-mask/input-mask.component.js +42 -42
  97. package/esm2015/lib/input-mask/input-mask.module.js +23 -23
  98. package/esm2015/lib/label/index.js +3 -3
  99. package/esm2015/lib/label/label.component.js +20 -20
  100. package/esm2015/lib/label/label.module.js +21 -21
  101. package/esm2015/lib/loading/index.js +6 -6
  102. package/esm2015/lib/loading/loading-spinner.component.js +32 -32
  103. package/esm2015/lib/loading/loading.component.js +54 -54
  104. package/esm2015/lib/loading/loading.directive.js +67 -67
  105. package/esm2015/lib/loading/loading.module.js +35 -35
  106. package/esm2015/lib/loading/loading.service.js +155 -155
  107. package/esm2015/lib/number-box/index.js +3 -3
  108. package/esm2015/lib/number-box/number-box.component.js +289 -289
  109. package/esm2015/lib/number-box/number-box.module.js +32 -32
  110. package/esm2015/lib/page/base-page.class.js +66 -66
  111. package/esm2015/lib/page/index.js +5 -5
  112. package/esm2015/lib/page/page-footer.component.js +32 -32
  113. package/esm2015/lib/page/page.component.js +33 -33
  114. package/esm2015/lib/page/page.module.js +18 -18
  115. package/esm2015/lib/password-box/index.js +3 -0
  116. package/esm2015/lib/password-box/password-box.component.js +74 -0
  117. package/esm2015/lib/password-box/password-box.module.js +35 -0
  118. package/esm2015/lib/popover/index.js +3 -3
  119. package/esm2015/lib/popover/popover.component.js +220 -119
  120. package/esm2015/lib/popover/popover.module.js +19 -19
  121. package/esm2015/lib/popup/index.js +4 -4
  122. package/esm2015/lib/popup/popup.component.js +97 -97
  123. package/esm2015/lib/popup/popup.module.js +26 -26
  124. package/esm2015/lib/popup/popup.service.js +94 -94
  125. package/esm2015/lib/range-slider/index.js +3 -3
  126. package/esm2015/lib/range-slider/range-slider.component.js +22 -22
  127. package/esm2015/lib/range-slider/range-slider.module.js +21 -21
  128. package/esm2015/lib/selectbox/index.js +3 -3
  129. package/esm2015/lib/selectbox/selectbox.component.js +201 -193
  130. package/esm2015/lib/selectbox/selectbox.module.js +25 -21
  131. package/esm2015/lib/selection-list/index.js +3 -3
  132. package/esm2015/lib/selection-list/selection-list.component.js +47 -46
  133. package/esm2015/lib/selection-list/selection-list.module.js +21 -21
  134. package/esm2015/lib/side-menu/index.js +3 -3
  135. package/esm2015/lib/side-menu/side-menu.component.js +21 -21
  136. package/esm2015/lib/side-menu/side-menu.module.js +21 -21
  137. package/esm2015/lib/switch/index.js +3 -3
  138. package/esm2015/lib/switch/switch.component.js +30 -30
  139. package/esm2015/lib/switch/switch.module.js +21 -21
  140. package/esm2015/lib/tabs/index.js +8 -6
  141. package/esm2015/lib/tabs/tab-content.directive.js +27 -0
  142. package/esm2015/lib/tabs/tab-item.component.js +76 -0
  143. package/esm2015/lib/tabs/tab-strip.component.js +69 -61
  144. package/esm2015/lib/tabs/tab-view.component.js +45 -46
  145. package/esm2015/lib/tabs/tab.component.js +58 -59
  146. package/esm2015/lib/tabs/tabs.class.js +4 -4
  147. package/esm2015/lib/tabs/tabs.component.js +74 -0
  148. package/esm2015/lib/tabs/tabs.module.js +25 -23
  149. package/esm2015/lib/textbox/index.js +3 -3
  150. package/esm2015/lib/textbox/textbox.component.js +62 -62
  151. package/esm2015/lib/textbox/textbox.module.js +43 -43
  152. package/esm2015/lib/time-box/index.js +3 -3
  153. package/esm2015/lib/time-box/time-box.component.js +134 -134
  154. package/esm2015/lib/time-box/time-box.module.js +32 -32
  155. package/esm2015/lib/toast/index.js +5 -5
  156. package/esm2015/lib/toast/toast.class.js +2 -2
  157. package/esm2015/lib/toast/toast.component.js +50 -50
  158. package/esm2015/lib/toast/toast.module.js +22 -22
  159. package/esm2015/lib/toast/toast.service.js +114 -114
  160. package/esm2015/lib/tooltip/index.js +4 -4
  161. package/esm2015/lib/tooltip/tooltip.component.js +45 -45
  162. package/esm2015/lib/tooltip/tooltip.directive.js +86 -86
  163. package/esm2015/lib/tooltip/tooltip.module.js +23 -23
  164. package/esm2015/lib/validation/index.js +3 -3
  165. package/esm2015/lib/validation/validation-rule.widget.js +113 -113
  166. package/esm2015/lib/validation/validation.class.js +2 -2
  167. package/esm2015/lib/validation/validation.module.js +32 -32
  168. package/esm2015/public-api.js +41 -39
  169. package/fesm2015/acorex-components.js +6215 -5830
  170. package/fesm2015/acorex-components.js.map +1 -1
  171. package/lib/alert/alert-button.component.d.ts +13 -13
  172. package/lib/alert/alert-contnet.component.d.ts +5 -5
  173. package/lib/alert/alert-footer.component.d.ts +5 -5
  174. package/lib/alert/alert-suffix.component.d.ts +5 -5
  175. package/lib/alert/alert-title.component.d.ts +5 -5
  176. package/lib/alert/alert.component.d.ts +46 -46
  177. package/lib/alert/alert.module.d.ts +13 -13
  178. package/lib/alert/index.d.ts +7 -7
  179. package/lib/avatar/avatar.component.d.ts +20 -20
  180. package/lib/avatar/avatar.module.d.ts +8 -8
  181. package/lib/avatar/index.d.ts +2 -2
  182. package/lib/badge/badge.component.d.ts +11 -0
  183. package/lib/badge/badge.module.d.ts +8 -0
  184. package/lib/badge/index.d.ts +2 -0
  185. package/lib/base/common.module.d.ts +7 -7
  186. package/lib/base/custom-cdk-overlay.service.d.ts +19 -19
  187. package/lib/base/drawing.class.d.ts +9 -9
  188. package/lib/base/events.class.d.ts +72 -72
  189. package/lib/base/index.d.ts +6 -6
  190. package/lib/base/mixin/base-components.class.d.ts +84 -84
  191. package/lib/base/mixin/button-mixin.class.d.ts +81 -79
  192. package/lib/base/mixin/clickable-mixin.class.d.ts +42 -42
  193. package/lib/base/mixin/constratctor.d.ts +4 -4
  194. package/lib/base/mixin/datalist-component.class.d.ts +54 -54
  195. package/lib/base/mixin/dropdown-mixin.class.d.ts +47 -47
  196. package/lib/base/mixin/index.d.ts +2 -2
  197. package/lib/base/mixin/interactive-mixin.class.d.ts +62 -60
  198. package/lib/base/mixin/loading-mixin.class.d.ts +46 -46
  199. package/lib/base/mixin/mixin.class.d.ts +591 -814
  200. package/lib/base/mixin/selection-component.class.d.ts +55 -55
  201. package/lib/base/mixin/sizable-mixin.class.d.ts +40 -40
  202. package/lib/base/mixin/textbox-mixin.class.d.ts +58 -59
  203. package/lib/base/mixin/value-mixin.class.d.ts +70 -68
  204. package/lib/base/overlay.service.d.ts +31 -31
  205. package/lib/base/responsive.directive.d.ts +10 -10
  206. package/lib/base/styles.class.d.ts +17 -17
  207. package/lib/button/button-group.component.d.ts +36 -36
  208. package/lib/button/button-item.class.d.ts +22 -22
  209. package/lib/button/button-item.component.d.ts +92 -92
  210. package/lib/button/button.component.d.ts +21 -18
  211. package/lib/button/button.module.d.ts +12 -13
  212. package/lib/button/index.d.ts +5 -6
  213. package/lib/calendar/calendar.component.d.ts +56 -16
  214. package/lib/calendar/calendar.module.d.ts +12 -11
  215. package/lib/calendar/index.d.ts +2 -2
  216. package/lib/carousel/carousel-arrows.component.d.ts +14 -14
  217. package/lib/carousel/carousel-item.component.d.ts +8 -8
  218. package/lib/carousel/carousel-pager.component.d.ts +22 -22
  219. package/lib/carousel/carousel-splidejs.class.d.ts +18 -18
  220. package/lib/carousel/carousel.class.d.ts +48 -48
  221. package/lib/carousel/carousel.component.d.ts +62 -62
  222. package/lib/carousel/carousel.module.d.ts +11 -11
  223. package/lib/carousel/index.d.ts +6 -6
  224. package/lib/checkbox/checkbox.component.d.ts +12 -12
  225. package/lib/checkbox/checkbox.module.d.ts +9 -9
  226. package/lib/checkbox/index.d.ts +2 -2
  227. package/lib/datalist/datalist.component.d.ts +25 -25
  228. package/lib/datalist/datalist.module.d.ts +9 -9
  229. package/lib/datalist/index.d.ts +2 -2
  230. package/lib/datepicker/datepicker.component.d.ts +18 -18
  231. package/lib/datepicker/datepicker.module.d.ts +10 -10
  232. package/lib/datepicker/index.d.ts +2 -2
  233. package/lib/decorators/decorators.module.d.ts +9 -9
  234. package/lib/decorators/index.d.ts +3 -3
  235. package/lib/decorators/prefix.component.d.ts +8 -8
  236. package/lib/decorators/suffix.component.d.ts +8 -8
  237. package/lib/dialog/dialog.class.d.ts +12 -12
  238. package/lib/dialog/dialog.component.d.ts +15 -15
  239. package/lib/dialog/dialog.module.d.ts +13 -13
  240. package/lib/dialog/dialog.service.d.ts +36 -18
  241. package/lib/dialog/index.d.ts +4 -4
  242. package/lib/drawer/drawer-container.component.d.ts +13 -13
  243. package/lib/drawer/drawer-content.component.d.ts +8 -8
  244. package/lib/drawer/drawer.component.d.ts +30 -30
  245. package/lib/drawer/drawer.module.d.ts +10 -10
  246. package/lib/drawer/index.d.ts +4 -4
  247. package/lib/dropdown/dropdown-base.class.d.ts +92 -0
  248. package/lib/dropdown/dropdown-panel.component.d.ts +28 -117
  249. package/lib/dropdown/dropdown.component.d.ts +13 -31
  250. package/lib/dropdown/dropdown.module.d.ts +14 -13
  251. package/lib/dropdown/index.d.ts +3 -3
  252. package/lib/form/form-field.component.d.ts +8 -8
  253. package/lib/form/form-field.module.d.ts +10 -10
  254. package/lib/form/form-hint.component.d.ts +8 -8
  255. package/lib/form/form.component.d.ts +13 -13
  256. package/lib/form/index.d.ts +4 -4
  257. package/lib/icon/icon.component.d.ts +10 -10
  258. package/lib/icon/icon.module.d.ts +8 -8
  259. package/lib/icon/index.d.ts +2 -2
  260. package/lib/input-mask/index.d.ts +2 -2
  261. package/lib/input-mask/input-mask.component.d.ts +14 -14
  262. package/lib/input-mask/input-mask.module.d.ts +9 -9
  263. package/lib/label/index.d.ts +2 -2
  264. package/lib/label/label.component.d.ts +8 -8
  265. package/lib/label/label.module.d.ts +8 -8
  266. package/lib/loading/index.d.ts +5 -5
  267. package/lib/loading/loading-spinner.component.d.ts +5 -5
  268. package/lib/loading/loading.component.d.ts +19 -19
  269. package/lib/loading/loading.directive.d.ts +22 -22
  270. package/lib/loading/loading.module.d.ts +13 -13
  271. package/lib/loading/loading.service.d.ts +48 -48
  272. package/lib/number-box/index.d.ts +2 -2
  273. package/lib/number-box/number-box.component.d.ts +69 -69
  274. package/lib/number-box/number-box.module.d.ts +11 -11
  275. package/lib/page/base-page.class.d.ts +37 -37
  276. package/lib/page/index.d.ts +4 -4
  277. package/lib/page/page-footer.component.d.ts +7 -7
  278. package/lib/page/page.component.d.ts +13 -13
  279. package/lib/page/page.module.d.ts +7 -7
  280. package/lib/password-box/index.d.ts +2 -0
  281. package/lib/password-box/password-box.component.d.ts +24 -0
  282. package/lib/password-box/password-box.module.d.ts +12 -0
  283. package/lib/popover/index.d.ts +2 -2
  284. package/lib/popover/popover.component.d.ts +44 -30
  285. package/lib/popover/popover.module.d.ts +8 -8
  286. package/lib/popup/index.d.ts +3 -3
  287. package/lib/popup/popup.component.d.ts +33 -33
  288. package/lib/popup/popup.module.d.ts +12 -12
  289. package/lib/popup/popup.service.d.ts +37 -37
  290. package/lib/range-slider/index.d.ts +2 -2
  291. package/lib/range-slider/range-slider.component.d.ts +8 -8
  292. package/lib/range-slider/range-slider.module.d.ts +8 -8
  293. package/lib/selectbox/index.d.ts +2 -2
  294. package/lib/selectbox/selectbox.component.d.ts +29 -28
  295. package/lib/selectbox/selectbox.module.d.ts +14 -10
  296. package/lib/selection-list/index.d.ts +2 -2
  297. package/lib/selection-list/selection-list.component.d.ts +10 -10
  298. package/lib/selection-list/selection-list.module.d.ts +10 -10
  299. package/lib/side-menu/index.d.ts +2 -2
  300. package/lib/side-menu/side-menu.component.d.ts +8 -8
  301. package/lib/side-menu/side-menu.module.d.ts +8 -8
  302. package/lib/switch/index.d.ts +2 -2
  303. package/lib/switch/switch.component.d.ts +9 -9
  304. package/lib/switch/switch.module.d.ts +9 -9
  305. package/lib/tabs/index.d.ts +7 -5
  306. package/lib/tabs/tab-content.directive.d.ts +11 -0
  307. package/lib/tabs/tab-item.component.d.ts +16 -0
  308. package/lib/tabs/tab-strip.component.d.ts +19 -17
  309. package/lib/tabs/tab-view.component.d.ts +14 -14
  310. package/lib/tabs/tab.component.d.ts +18 -18
  311. package/lib/tabs/tabs.class.d.ts +18 -18
  312. package/lib/tabs/tabs.component.d.ts +19 -0
  313. package/lib/tabs/tabs.module.d.ts +12 -10
  314. package/lib/textbox/index.d.ts +2 -2
  315. package/lib/textbox/textbox.component.d.ts +19 -19
  316. package/lib/textbox/textbox.module.d.ts +13 -13
  317. package/lib/time-box/index.d.ts +2 -2
  318. package/lib/time-box/time-box.component.d.ts +29 -29
  319. package/lib/time-box/time-box.module.d.ts +11 -11
  320. package/lib/toast/index.d.ts +4 -4
  321. package/lib/toast/toast.class.d.ts +14 -14
  322. package/lib/toast/toast.component.d.ts +16 -16
  323. package/lib/toast/toast.module.d.ts +9 -9
  324. package/lib/toast/toast.service.d.ts +18 -18
  325. package/lib/tooltip/index.d.ts +3 -3
  326. package/lib/tooltip/tooltip.component.d.ts +10 -10
  327. package/lib/tooltip/tooltip.directive.d.ts +18 -18
  328. package/lib/tooltip/tooltip.module.d.ts +10 -10
  329. package/lib/validation/index.d.ts +2 -2
  330. package/lib/validation/validation-rule.widget.d.ts +25 -25
  331. package/lib/validation/validation.class.d.ts +17 -17
  332. package/lib/validation/validation.module.d.ts +9 -9
  333. package/package.json +18 -18
  334. package/public-api.d.ts +39 -37
  335. package/esm2015/lib/button/dropdown-button.component.js +0 -200
  336. package/lib/button/dropdown-button.component.d.ts +0 -234
@@ -1,10 +1,10 @@
1
- import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
- import { AXSizableComponentMixin } from '../base';
3
- import * as i0 from "@angular/core";
4
- export declare class AXIconComponent extends AXSizableComponentMixin {
5
- icon: string;
6
- get iconClass(): string;
7
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AXIconComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<AXIconComponent, "ax-icon", never, { "icon": "icon"; }, {}, never, never>;
10
- }
1
+ import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
+ import { AXSizableComponentMixin } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXIconComponent extends AXSizableComponentMixin {
5
+ icon: string;
6
+ private get __iconClass();
7
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXIconComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXIconComponent, "ax-icon", never, { "icon": "icon"; }, {}, never, never>;
10
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./icon.component";
3
- import * as i2 from "@angular/common";
4
- export declare class AXIconModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXIconModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXIconModule, [typeof i1.AXIconComponent], [typeof i2.CommonModule], [typeof i1.AXIconComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<AXIconModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class AXIconModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXIconModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXIconModule, [typeof i1.AXIconComponent], [typeof i2.CommonModule], [typeof i1.AXIconComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXIconModule>;
8
+ }
@@ -1,2 +1,2 @@
1
- export * from './icon.component';
2
- export * from './icon.module';
1
+ export * from './icon.component';
2
+ export * from './icon.module';
@@ -1,2 +1,2 @@
1
- export * from './input-mask.component';
2
- export * from './input-mask.module';
1
+ export * from './input-mask.component';
2
+ export * from './input-mask.module';
@@ -1,14 +1,14 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXInputMaskComponent {
3
- private _prefix;
4
- get prefix(): string;
5
- set prefix(v: string);
6
- private _suffix;
7
- get suffix(): string;
8
- set suffix(v: string);
9
- showMaskTyped: boolean;
10
- clearIfNotMatch: boolean;
11
- mask: string;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<AXInputMaskComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<AXInputMaskComponent, "ax-input-mask", never, { "prefix": "prefix"; "suffix": "suffix"; "showMaskTyped": "showMaskTyped"; "clearIfNotMatch": "clearIfNotMatch"; "mask": "mask"; }, {}, never, never>;
14
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXInputMaskComponent {
3
+ private _prefix;
4
+ get prefix(): string;
5
+ set prefix(v: string);
6
+ private _suffix;
7
+ get suffix(): string;
8
+ set suffix(v: string);
9
+ showMaskTyped: boolean;
10
+ clearIfNotMatch: boolean;
11
+ mask: string;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXInputMaskComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXInputMaskComponent, "ax-input-mask", never, { "prefix": "prefix"; "suffix": "suffix"; "showMaskTyped": "showMaskTyped"; "clearIfNotMatch": "clearIfNotMatch"; "mask": "mask"; }, {}, never, never>;
14
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-mask.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "ngx-mask";
5
- export declare class AXInputMaskModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXInputMaskModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXInputMaskModule, [typeof i1.AXInputMaskComponent], [typeof i2.CommonModule, typeof i3.NgxMaskModule], [typeof i1.AXInputMaskComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<AXInputMaskModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-mask.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ngx-mask";
5
+ export declare class AXInputMaskModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXInputMaskModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXInputMaskModule, [typeof i1.AXInputMaskComponent], [typeof i2.CommonModule, typeof i3.NgxMaskModule], [typeof i1.AXInputMaskComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXInputMaskModule>;
9
+ }
@@ -1,2 +1,2 @@
1
- export * from './label.component';
2
- export * from './label.module';
1
+ export * from './label.component';
2
+ export * from './label.module';
@@ -1,8 +1,8 @@
1
- import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
- import { AXSizableComponentMixin } from '../base';
3
- import * as i0 from "@angular/core";
4
- export declare class AXLabelComponent extends AXSizableComponentMixin {
5
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLabelComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AXLabelComponent, "ax-label", never, {}, {}, never, ["*"]>;
8
- }
1
+ import { ElementRef, ChangeDetectorRef } from '@angular/core';
2
+ import { AXSizableComponentMixin } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXLabelComponent extends AXSizableComponentMixin {
5
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXLabelComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXLabelComponent, "ax-label", never, {}, {}, never, ["*"]>;
8
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./label.component";
3
- import * as i2 from "@angular/common";
4
- export declare class AXLabelModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLabelModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXLabelModule, [typeof i1.AXLabelComponent], [typeof i2.CommonModule], [typeof i1.AXLabelComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<AXLabelModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./label.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class AXLabelModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXLabelModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXLabelModule, [typeof i1.AXLabelComponent], [typeof i2.CommonModule], [typeof i1.AXLabelComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXLabelModule>;
8
+ }
@@ -1,5 +1,5 @@
1
- export * from './loading.component';
2
- export * from './loading-spinner.component';
3
- export * from './loading.module';
4
- export * from './loading.directive';
5
- export * from './loading.service';
1
+ export * from './loading.component';
2
+ export * from './loading-spinner.component';
3
+ export * from './loading.module';
4
+ export * from './loading.directive';
5
+ export * from './loading.service';
@@ -1,5 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXLoadingSpinnerComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingSpinnerComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingSpinnerComponent, "ax-loading-spinner", never, {}, {}, never, never>;
5
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXLoadingSpinnerComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingSpinnerComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingSpinnerComponent, "ax-loading-spinner", never, {}, {}, never, never>;
5
+ }
@@ -1,19 +1,19 @@
1
- import { Portal } from '@angular/cdk/portal';
2
- import { EventEmitter, ElementRef, ChangeDetectorRef } from '@angular/core';
3
- import { AXBaseComponentMixin } from '../base';
4
- import * as i0 from "@angular/core";
5
- export declare class AXLoadingComponent extends AXBaseComponentMixin {
6
- _selectedPortal: Portal<any>;
7
- /**
8
- * @ignore
9
- */
10
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
11
- visibleChange: EventEmitter<boolean>;
12
- private _visible;
13
- get visible(): boolean;
14
- set visible(v: boolean);
15
- type: string;
16
- onInit(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingComponent, "ax-loading", never, { "visible": "visible"; "type": "type"; }, { "visibleChange": "visibleChange"; }, never, never>;
19
- }
1
+ import { Portal } from '@angular/cdk/portal';
2
+ import { EventEmitter, ElementRef, ChangeDetectorRef } from '@angular/core';
3
+ import { AXBaseComponentMixin } from '../base';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AXLoadingComponent extends AXBaseComponentMixin {
6
+ _selectedPortal: Portal<any>;
7
+ /**
8
+ * @ignore
9
+ */
10
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
11
+ visibleChange: EventEmitter<boolean>;
12
+ private _visible;
13
+ get visible(): boolean;
14
+ set visible(v: boolean);
15
+ type: string;
16
+ onInit(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXLoadingComponent, "ax-loading", never, { "visible": "visible"; "type": "type"; }, { "visibleChange": "visibleChange"; }, never, never>;
19
+ }
@@ -1,22 +1,22 @@
1
- import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, OnChanges, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXLoadingDirective implements OnChanges {
4
- protected readonly elementRef: ElementRef;
5
- protected readonly renderer: Renderer2;
6
- protected readonly changeDetectorRef: ChangeDetectorRef;
7
- protected readonly viewContainerRef: ViewContainerRef;
8
- protected readonly componentFactoryResolver: ComponentFactoryResolver;
9
- isLoading: boolean;
10
- protected overlayElement: HTMLDivElement;
11
- protected spinnerElement: HTMLDivElement;
12
- protected hostElement: HTMLDivElement;
13
- constructor(elementRef: ElementRef, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver);
14
- ngOnChanges(changes: SimpleChanges): void;
15
- protected addLoadingIndicator(): void;
16
- protected removeLoadingIndicator(): void;
17
- protected init(): void;
18
- protected initSpinnerComponent(): void;
19
- protected initOverlayElement(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXLoadingDirective, "[axIsLoading]", never, { "isLoading": "axIsLoading"; }, {}, never>;
22
- }
1
+ import { ChangeDetectorRef, ComponentFactoryResolver, ElementRef, OnChanges, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXLoadingDirective implements OnChanges {
4
+ protected readonly elementRef: ElementRef;
5
+ protected readonly renderer: Renderer2;
6
+ protected readonly changeDetectorRef: ChangeDetectorRef;
7
+ protected readonly viewContainerRef: ViewContainerRef;
8
+ protected readonly componentFactoryResolver: ComponentFactoryResolver;
9
+ isLoading: boolean;
10
+ protected overlayElement: HTMLDivElement;
11
+ protected spinnerElement: HTMLDivElement;
12
+ protected hostElement: HTMLDivElement;
13
+ constructor(elementRef: ElementRef, renderer: Renderer2, changeDetectorRef: ChangeDetectorRef, viewContainerRef: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver);
14
+ ngOnChanges(changes: SimpleChanges): void;
15
+ protected addLoadingIndicator(): void;
16
+ protected removeLoadingIndicator(): void;
17
+ protected init(): void;
18
+ protected initSpinnerComponent(): void;
19
+ protected initOverlayElement(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingDirective, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXLoadingDirective, "[axIsLoading]", never, { "isLoading": "axIsLoading"; }, {}, never>;
22
+ }
@@ -1,13 +1,13 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./loading.component";
3
- import * as i2 from "./loading.directive";
4
- import * as i3 from "./loading-spinner.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/cdk/overlay";
7
- import * as i6 from "@angular/cdk/portal";
8
- export declare class AXLoadingModule {
9
- constructor();
10
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingModule, [typeof i1.AXLoadingComponent, typeof i2.AXLoadingDirective, typeof i3.AXLoadingSpinnerComponent], [typeof i4.CommonModule, typeof i5.OverlayModule, typeof i6.PortalModule], [typeof i1.AXLoadingComponent, typeof i2.AXLoadingDirective, typeof i3.AXLoadingSpinnerComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<AXLoadingModule>;
13
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./loading.component";
3
+ import * as i2 from "./loading.directive";
4
+ import * as i3 from "./loading-spinner.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/cdk/overlay";
7
+ import * as i6 from "@angular/cdk/portal";
8
+ export declare class AXLoadingModule {
9
+ constructor();
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXLoadingModule, [typeof i1.AXLoadingComponent, typeof i2.AXLoadingDirective, typeof i3.AXLoadingSpinnerComponent], [typeof i4.CommonModule, typeof i5.OverlayModule, typeof i6.PortalModule], [typeof i1.AXLoadingComponent, typeof i2.AXLoadingDirective, typeof i3.AXLoadingSpinnerComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXLoadingModule>;
13
+ }
@@ -1,48 +1,48 @@
1
- import { NgZone } from '@angular/core';
2
- import { BehaviorSubject, Observable } from 'rxjs';
3
- import { AXOverlayService } from '../base/overlay.service';
4
- import * as i0 from "@angular/core";
5
- declare type LoadingContext = object;
6
- declare type LoaderId = string | number;
7
- /**
8
- * Used for centrally setting/unsetting loading flags for components or services.
9
- * Should be connected to global HTTP interceptor which will unset
10
- * the loading flags in case an error happens using the clearLoadings() method.
11
- *
12
- * FAQ:
13
- * Q: How to change loading flag for a parent component?
14
- * A: Inject the parent component as a dependency to your constructor and
15
- * call loadingService.setLoading(parentComponent, STATE).
16
- *
17
- * Q: How to change loading flag for a child component?
18
- * A: Use a @ViewChild with component selector and pass the
19
- * reference of the child to setLoading method.
20
- *
21
- * Q: I need more loading indicators in my components. How to?
22
- * A: Assign a LoaderId to each indicator and then use them
23
- * with calls to methods of this service.
24
- */
25
- export declare class AXLoadingService {
26
- protected zoneRef: NgZone;
27
- private overlayService;
28
- protected loadingStates: WeakMap<object, Map<LoaderId, boolean>>;
29
- protected loadingStates$: WeakMap<object, Map<LoaderId, BehaviorSubject<boolean>>>;
30
- constructor(zoneRef: NgZone, overlayService: AXOverlayService);
31
- private _stack;
32
- show(location?: Element): number;
33
- hide(id: any): void;
34
- doLoading<V>(source$: Observable<V>, context: LoadingContext, loaderId?: LoaderId): Observable<V>;
35
- isLoading(context: LoadingContext, loaderId?: LoaderId): boolean;
36
- isLoading$(context: LoadingContext, loaderId?: LoaderId): Observable<boolean>;
37
- startLoading(context: LoadingContext, loaderId?: LoaderId): void;
38
- endLoading(context: LoadingContext, loaderId?: LoaderId): void;
39
- clearLoadings(): void;
40
- protected setLoadingState(context: LoadingContext, state: boolean, loaderId: LoaderId): void;
41
- protected hasLoadingStates(context: LoadingContext, loaderId: LoaderId): boolean;
42
- protected hasContextLoadingState(context: LoadingContext): boolean;
43
- protected hasLoaderLoadingState(context: LoadingContext, loaderId: LoaderId): boolean;
44
- protected getLoaderId(loaderId?: LoaderId): LoaderId;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingService, never>;
46
- static ɵprov: i0.ɵɵInjectableDeclaration<AXLoadingService>;
47
- }
48
- export {};
1
+ import { NgZone } from '@angular/core';
2
+ import { BehaviorSubject, Observable } from 'rxjs';
3
+ import { AXOverlayService } from '../base/overlay.service';
4
+ import * as i0 from "@angular/core";
5
+ declare type LoadingContext = object;
6
+ declare type LoaderId = string | number;
7
+ /**
8
+ * Used for centrally setting/unsetting loading flags for components or services.
9
+ * Should be connected to global HTTP interceptor which will unset
10
+ * the loading flags in case an error happens using the clearLoadings() method.
11
+ *
12
+ * FAQ:
13
+ * Q: How to change loading flag for a parent component?
14
+ * A: Inject the parent component as a dependency to your constructor and
15
+ * call loadingService.setLoading(parentComponent, STATE).
16
+ *
17
+ * Q: How to change loading flag for a child component?
18
+ * A: Use a @ViewChild with component selector and pass the
19
+ * reference of the child to setLoading method.
20
+ *
21
+ * Q: I need more loading indicators in my components. How to?
22
+ * A: Assign a LoaderId to each indicator and then use them
23
+ * with calls to methods of this service.
24
+ */
25
+ export declare class AXLoadingService {
26
+ protected zoneRef: NgZone;
27
+ private overlayService;
28
+ protected loadingStates: WeakMap<object, Map<LoaderId, boolean>>;
29
+ protected loadingStates$: WeakMap<object, Map<LoaderId, BehaviorSubject<boolean>>>;
30
+ constructor(zoneRef: NgZone, overlayService: AXOverlayService);
31
+ private _stack;
32
+ show(location?: Element): number;
33
+ hide(id: any): void;
34
+ doLoading<V>(source$: Observable<V>, context: LoadingContext, loaderId?: LoaderId): Observable<V>;
35
+ isLoading(context: LoadingContext, loaderId?: LoaderId): boolean;
36
+ isLoading$(context: LoadingContext, loaderId?: LoaderId): Observable<boolean>;
37
+ startLoading(context: LoadingContext, loaderId?: LoaderId): void;
38
+ endLoading(context: LoadingContext, loaderId?: LoaderId): void;
39
+ clearLoadings(): void;
40
+ protected setLoadingState(context: LoadingContext, state: boolean, loaderId: LoaderId): void;
41
+ protected hasLoadingStates(context: LoadingContext, loaderId: LoaderId): boolean;
42
+ protected hasContextLoadingState(context: LoadingContext): boolean;
43
+ protected hasLoaderLoadingState(context: LoadingContext, loaderId: LoaderId): boolean;
44
+ protected getLoaderId(loaderId?: LoaderId): LoaderId;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXLoadingService, never>;
46
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXLoadingService>;
47
+ }
48
+ export {};
@@ -1,2 +1,2 @@
1
- export * from './number-box.component';
2
- export * from './number-box.module';
1
+ export * from './number-box.component';
2
+ export * from './number-box.module';
@@ -1,69 +1,69 @@
1
- import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
- import { MaskApplierService } from 'ngx-mask';
3
- import { AXBaseTextBoxMixin } from '../base';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * The NumberBox is a component which detects user interaction and triggers a corresponding event
7
- *
8
- * @category Components
9
- */
10
- export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
11
- private cdr;
12
- private _maskService;
13
- get hostClass(): string;
14
- /**
15
- * A character value that specifies the separator character.
16
- */
17
- separator: string;
18
- /**
19
- * Specifies whether the Separator character will be displayed or not
20
- */
21
- thousandSeparator: boolean;
22
- /**
23
- * Specifies the value that is used to increment or decrement the **Integer** part of number
24
- */
25
- step: number;
26
- /**
27
- * Specifies the number of decimals that the user can enter
28
- */
29
- scale: number;
30
- /**
31
- * Specifies the value that is used to increment or decrement the **Deciaml** part of number
32
- */
33
- decimalStep: number;
34
- /**
35
- * Specifies whether the Up and Down spin buttons will be rendered or not
36
- */
37
- showSpinButtons: boolean;
38
- private _minValue;
39
- /**
40
- * Specifies the smallest value that is valid
41
- */
42
- get minValue(): number;
43
- set minValue(v: number);
44
- private _maxValue;
45
- /**
46
- * Specifies the greatest value that is valid
47
- */
48
- get maxValue(): number;
49
- set maxValue(v: number);
50
- displayTextChange: EventEmitter<string>;
51
- private _displayText;
52
- /**
53
- * The formatted string which is displaying in the numberbox
54
- */
55
- get displayText(): string;
56
- set displayText(v: string);
57
- /**
58
- * @ignore
59
- */
60
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _maskService: MaskApplierService);
61
- _handleOnKeydownEvent(e: KeyboardEvent): void;
62
- _onValueChanging(value: number): number;
63
- _fixValue(value: number): number;
64
- _format(value: number): string;
65
- _onValueChanged(oldValue: any, newValue: any): void;
66
- _handleOnBlurEvent(e: FocusEvent): void;
67
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "name": "name"; "separator": "separator"; "thousandSeparator": "thousandSeparator"; "step": "step"; "scale": "scale"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
69
- }
1
+ import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import { MaskApplierService } from 'ngx-mask';
3
+ import { AXBaseTextBoxMixin } from '../base';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * The NumberBox is a component which detects user interaction and triggers a corresponding event
7
+ *
8
+ * @category Components
9
+ */
10
+ export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
11
+ private cdr;
12
+ private _maskService;
13
+ private get __hostClass();
14
+ /**
15
+ * A character value that specifies the separator character.
16
+ */
17
+ separator: string;
18
+ /**
19
+ * Specifies whether the Separator character will be displayed or not
20
+ */
21
+ thousandSeparator: boolean;
22
+ /**
23
+ * Specifies the value that is used to increment or decrement the **Integer** part of number
24
+ */
25
+ step: number;
26
+ /**
27
+ * Specifies the number of decimals that the user can enter
28
+ */
29
+ scale: number;
30
+ /**
31
+ * Specifies the value that is used to increment or decrement the **Deciaml** part of number
32
+ */
33
+ decimalStep: number;
34
+ /**
35
+ * Specifies whether the Up and Down spin buttons will be rendered or not
36
+ */
37
+ showSpinButtons: boolean;
38
+ private _minValue;
39
+ /**
40
+ * Specifies the smallest value that is valid
41
+ */
42
+ get minValue(): number;
43
+ set minValue(v: number);
44
+ private _maxValue;
45
+ /**
46
+ * Specifies the greatest value that is valid
47
+ */
48
+ get maxValue(): number;
49
+ set maxValue(v: number);
50
+ displayTextChange: EventEmitter<string>;
51
+ private _displayText;
52
+ /**
53
+ * The formatted string which is displaying in the numberbox
54
+ */
55
+ get displayText(): string;
56
+ set displayText(v: string);
57
+ /**
58
+ * @ignore
59
+ */
60
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _maskService: MaskApplierService);
61
+ _handleOnKeydownEvent(e: KeyboardEvent): void;
62
+ _onValueChanging(value: number): number;
63
+ _fixValue(value: number): number;
64
+ _format(value: number): string;
65
+ _onValueChanged(oldValue: any, newValue: any): void;
66
+ _handleOnBlurEvent(e: FocusEvent): void;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "name": "name"; "separator": "separator"; "thousandSeparator": "thousandSeparator"; "step": "step"; "scale": "scale"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"]>;
69
+ }
@@ -1,11 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./number-box.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "../button/button.module";
6
- import * as i5 from "ngx-mask";
7
- export declare class AXNumberBoxModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxModule, [typeof i1.AXNumberBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.NgxMaskModule], [typeof i1.AXNumberBoxComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<AXNumberBoxModule>;
11
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./number-box.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../button/button.module";
6
+ import * as i5 from "ngx-mask";
7
+ export declare class AXNumberBoxModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxModule, [typeof i1.AXNumberBoxComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.AXButtonModule, typeof i5.NgxMaskModule], [typeof i1.AXNumberBoxComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXNumberBoxModule>;
11
+ }
@@ -1,37 +1,37 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { AXEvent } from '../base/events.class';
3
- import { AXPageFooterComponent } from './page-footer.component';
4
- import * as i0 from "@angular/core";
5
- export declare const TAB_META_KEY = "__meta__";
6
- export declare class AXPageCloseEvent extends AXEvent {
7
- data?: any;
8
- }
9
- export declare class AXPageClosing {
10
- cancel: boolean;
11
- data?: any;
12
- }
13
- export declare class AXPageResult {
14
- sender: AXBasePageComponent;
15
- data?: any;
16
- }
17
- /**
18
- * Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons after the primary text.
19
- */
20
- export declare class AXPageClosedPromise extends Promise<AXPageResult> {
21
- private closeMethod;
22
- constructor(executor: (resolve: (value?: AXPageResult | PromiseLike<AXPageResult>) => void, reject: (reason?: any) => void) => void);
23
- close(): void;
24
- }
25
- export declare class AXBasePageComponent {
26
- private pageContainer;
27
- footer: AXPageFooterComponent;
28
- private _isLoading;
29
- get isLoading(): boolean;
30
- set isLoading(v: boolean);
31
- onClosed: EventEmitter<AXPageCloseEvent>;
32
- close(data?: any): void;
33
- onClosing(e: AXPageClosing): void | Promise<void>;
34
- ngOnDestroy(): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<AXBasePageComponent, never>;
36
- static ɵprov: i0.ɵɵInjectableDeclaration<AXBasePageComponent>;
37
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AXEvent } from '../base/events.class';
3
+ import { AXPageFooterComponent } from './page-footer.component';
4
+ import * as i0 from "@angular/core";
5
+ export declare const TAB_META_KEY = "__meta__";
6
+ export declare class AXPageCloseEvent extends AXEvent {
7
+ data?: any;
8
+ }
9
+ export declare class AXPageClosing {
10
+ cancel: boolean;
11
+ data?: any;
12
+ }
13
+ export declare class AXPageResult {
14
+ sender: AXBasePageComponent;
15
+ data?: any;
16
+ }
17
+ /**
18
+ * Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons after the primary text.
19
+ */
20
+ export declare class AXPageClosedPromise extends Promise<AXPageResult> {
21
+ private closeMethod;
22
+ constructor(executor: (resolve: (value?: AXPageResult | PromiseLike<AXPageResult>) => void, reject: (reason?: any) => void) => void);
23
+ close(): void;
24
+ }
25
+ export declare class AXBasePageComponent {
26
+ private pageContainer;
27
+ footer: AXPageFooterComponent;
28
+ private _isLoading;
29
+ get isLoading(): boolean;
30
+ set isLoading(v: boolean);
31
+ onClosed: EventEmitter<AXPageCloseEvent>;
32
+ close(data?: any): void;
33
+ onClosing(e: AXPageClosing): void | Promise<void>;
34
+ ngOnDestroy(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXBasePageComponent, never>;
36
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXBasePageComponent>;
37
+ }