@acorex/components 5.0.2 → 5.0.4

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 (316) hide show
  1. package/README.md +24 -24
  2. package/acorex-components.d.ts +5 -5
  3. package/bundles/acorex-components.umd.js +6719 -6658
  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 +131 -130
  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/base/common.module.js +18 -18
  18. package/esm2015/lib/base/custom-cdk-overlay.service.js +47 -47
  19. package/esm2015/lib/base/drawing.class.js +11 -11
  20. package/esm2015/lib/base/events.class.js +53 -47
  21. package/esm2015/lib/base/index.js +7 -7
  22. package/esm2015/lib/base/mixin/base-components.class.js +83 -83
  23. package/esm2015/lib/base/mixin/button-mixin.class.js +129 -129
  24. package/esm2015/lib/base/mixin/clickable-mixin.class.js +24 -24
  25. package/esm2015/lib/base/mixin/constratctor.js +2 -2
  26. package/esm2015/lib/base/mixin/datalist-component.class.js +97 -97
  27. package/esm2015/lib/base/mixin/dropdown-mixin.class.js +36 -36
  28. package/esm2015/lib/base/mixin/index.js +3 -3
  29. package/esm2015/lib/base/mixin/interactive-mixin.class.js +72 -72
  30. package/esm2015/lib/base/mixin/loading-mixin.class.js +18 -18
  31. package/esm2015/lib/base/mixin/mixin.class.js +23 -23
  32. package/esm2015/lib/base/mixin/selection-component.class.js +158 -158
  33. package/esm2015/lib/base/mixin/sizable-mixin.class.js +18 -18
  34. package/esm2015/lib/base/mixin/textbox-mixin.class.js +38 -38
  35. package/esm2015/lib/base/mixin/value-mixin.class.js +190 -190
  36. package/esm2015/lib/base/overlay.service.js +91 -91
  37. package/esm2015/lib/base/responsive.directive.js +34 -34
  38. package/esm2015/lib/base/styles.class.js +4 -4
  39. package/esm2015/lib/button/button-group.component.js +131 -131
  40. package/esm2015/lib/button/button-item.class.js +2 -2
  41. package/esm2015/lib/button/button-item.component.js +81 -81
  42. package/esm2015/lib/button/button.component.js +51 -52
  43. package/esm2015/lib/button/button.module.js +37 -37
  44. package/esm2015/lib/button/dropdown-button.component.js +200 -200
  45. package/esm2015/lib/button/index.js +7 -7
  46. package/esm2015/lib/calendar/calendar.component.js +59 -59
  47. package/esm2015/lib/calendar/calendar.module.js +24 -24
  48. package/esm2015/lib/calendar/index.js +3 -3
  49. package/esm2015/lib/carousel/carousel-arrows.component.js +53 -53
  50. package/esm2015/lib/carousel/carousel-item.component.js +21 -21
  51. package/esm2015/lib/carousel/carousel-pager.component.js +74 -74
  52. package/esm2015/lib/carousel/carousel-splidejs.class.js +82 -82
  53. package/esm2015/lib/carousel/carousel.class.js +10 -10
  54. package/esm2015/lib/carousel/carousel.component.js +246 -246
  55. package/esm2015/lib/carousel/carousel.module.js +24 -24
  56. package/esm2015/lib/carousel/index.js +7 -7
  57. package/esm2015/lib/checkbox/checkbox.component.js +40 -40
  58. package/esm2015/lib/checkbox/checkbox.module.js +20 -20
  59. package/esm2015/lib/checkbox/index.js +3 -3
  60. package/esm2015/lib/datalist/datalist.component.js +81 -81
  61. package/esm2015/lib/datalist/datalist.module.js +22 -22
  62. package/esm2015/lib/datalist/index.js +3 -3
  63. package/esm2015/lib/datepicker/datepicker.component.js +64 -64
  64. package/esm2015/lib/datepicker/datepicker.module.js +23 -23
  65. package/esm2015/lib/datepicker/index.js +3 -3
  66. package/esm2015/lib/decorators/decorators.module.js +22 -22
  67. package/esm2015/lib/decorators/index.js +4 -4
  68. package/esm2015/lib/decorators/prefix.component.js +27 -27
  69. package/esm2015/lib/decorators/suffix.component.js +35 -35
  70. package/esm2015/lib/dialog/dialog.class.js +2 -2
  71. package/esm2015/lib/dialog/dialog.component.js +45 -45
  72. package/esm2015/lib/dialog/dialog.module.js +26 -26
  73. package/esm2015/lib/dialog/dialog.service.js +127 -127
  74. package/esm2015/lib/dialog/index.js +5 -5
  75. package/esm2015/lib/drawer/drawer-container.component.js +73 -73
  76. package/esm2015/lib/drawer/drawer-content.component.js +27 -27
  77. package/esm2015/lib/drawer/drawer.component.js +145 -145
  78. package/esm2015/lib/drawer/drawer.module.js +23 -23
  79. package/esm2015/lib/drawer/index.js +5 -5
  80. package/esm2015/lib/dropdown/dropdown-panel.component.js +194 -191
  81. package/esm2015/lib/dropdown/dropdown.component.js +139 -139
  82. package/esm2015/lib/dropdown/dropdown.module.js +24 -24
  83. package/esm2015/lib/dropdown/index.js +4 -4
  84. package/esm2015/lib/form/form-field.component.js +20 -20
  85. package/esm2015/lib/form/form-field.module.js +21 -21
  86. package/esm2015/lib/form/form-hint.component.js +20 -20
  87. package/esm2015/lib/form/form.component.js +51 -51
  88. package/esm2015/lib/form/index.js +5 -5
  89. package/esm2015/lib/icon/icon.component.js +28 -28
  90. package/esm2015/lib/icon/icon.module.js +21 -21
  91. package/esm2015/lib/icon/index.js +3 -3
  92. package/esm2015/lib/input-mask/index.js +3 -3
  93. package/esm2015/lib/input-mask/input-mask.component.js +42 -42
  94. package/esm2015/lib/input-mask/input-mask.module.js +23 -23
  95. package/esm2015/lib/label/index.js +3 -3
  96. package/esm2015/lib/label/label.component.js +20 -20
  97. package/esm2015/lib/label/label.module.js +21 -21
  98. package/esm2015/lib/loading/index.js +6 -6
  99. package/esm2015/lib/loading/loading-spinner.component.js +32 -32
  100. package/esm2015/lib/loading/loading.component.js +54 -54
  101. package/esm2015/lib/loading/loading.directive.js +67 -67
  102. package/esm2015/lib/loading/loading.module.js +35 -35
  103. package/esm2015/lib/loading/loading.service.js +155 -155
  104. package/esm2015/lib/number-box/index.js +3 -3
  105. package/esm2015/lib/number-box/number-box.component.js +289 -289
  106. package/esm2015/lib/number-box/number-box.module.js +32 -32
  107. package/esm2015/lib/page/base-page.class.js +66 -66
  108. package/esm2015/lib/page/index.js +5 -5
  109. package/esm2015/lib/page/page-footer.component.js +32 -32
  110. package/esm2015/lib/page/page.component.js +33 -33
  111. package/esm2015/lib/page/page.module.js +18 -18
  112. package/esm2015/lib/popover/index.js +3 -3
  113. package/esm2015/lib/popover/popover.component.js +119 -119
  114. package/esm2015/lib/popover/popover.module.js +19 -19
  115. package/esm2015/lib/popup/index.js +4 -4
  116. package/esm2015/lib/popup/popup.component.js +97 -97
  117. package/esm2015/lib/popup/popup.module.js +26 -26
  118. package/esm2015/lib/popup/popup.service.js +94 -94
  119. package/esm2015/lib/range-slider/index.js +3 -0
  120. package/esm2015/lib/range-slider/range-slider.component.js +22 -0
  121. package/esm2015/lib/range-slider/range-slider.module.js +21 -0
  122. package/esm2015/lib/selectbox/index.js +3 -3
  123. package/esm2015/lib/selectbox/selectbox.component.js +193 -193
  124. package/esm2015/lib/selectbox/selectbox.module.js +21 -21
  125. package/esm2015/lib/selection-list/index.js +3 -3
  126. package/esm2015/lib/selection-list/selection-list.component.js +46 -46
  127. package/esm2015/lib/selection-list/selection-list.module.js +21 -21
  128. package/esm2015/lib/side-menu/index.js +3 -3
  129. package/esm2015/lib/side-menu/side-menu.component.js +21 -21
  130. package/esm2015/lib/side-menu/side-menu.module.js +21 -21
  131. package/esm2015/lib/switch/index.js +3 -3
  132. package/esm2015/lib/switch/switch.component.js +30 -30
  133. package/esm2015/lib/switch/switch.module.js +21 -21
  134. package/esm2015/lib/tabs/index.js +6 -6
  135. package/esm2015/lib/tabs/tab-strip.component.js +61 -61
  136. package/esm2015/lib/tabs/tab-view.component.js +46 -46
  137. package/esm2015/lib/tabs/tab.component.js +59 -59
  138. package/esm2015/lib/tabs/tabs.class.js +4 -4
  139. package/esm2015/lib/tabs/tabs.module.js +23 -23
  140. package/esm2015/lib/textbox/index.js +3 -3
  141. package/esm2015/lib/textbox/textbox.component.js +62 -60
  142. package/esm2015/lib/textbox/textbox.module.js +43 -39
  143. package/esm2015/lib/time-box/index.js +3 -3
  144. package/esm2015/lib/time-box/time-box.component.js +134 -134
  145. package/esm2015/lib/time-box/time-box.module.js +32 -32
  146. package/esm2015/lib/toast/index.js +5 -5
  147. package/esm2015/lib/toast/toast.class.js +2 -2
  148. package/esm2015/lib/toast/toast.component.js +50 -50
  149. package/esm2015/lib/toast/toast.module.js +22 -22
  150. package/esm2015/lib/toast/toast.service.js +114 -114
  151. package/esm2015/lib/tooltip/index.js +4 -4
  152. package/esm2015/lib/tooltip/tooltip.component.js +45 -45
  153. package/esm2015/lib/tooltip/tooltip.directive.js +86 -86
  154. package/esm2015/lib/tooltip/tooltip.module.js +23 -23
  155. package/esm2015/lib/validation/index.js +3 -3
  156. package/esm2015/lib/validation/validation-rule.widget.js +113 -113
  157. package/esm2015/lib/validation/validation.class.js +2 -2
  158. package/esm2015/lib/validation/validation.module.js +32 -32
  159. package/esm2015/public-api.js +39 -38
  160. package/fesm2015/acorex-components.js +5811 -5763
  161. package/fesm2015/acorex-components.js.map +1 -1
  162. package/lib/alert/alert-button.component.d.ts +13 -13
  163. package/lib/alert/alert-contnet.component.d.ts +5 -5
  164. package/lib/alert/alert-footer.component.d.ts +5 -5
  165. package/lib/alert/alert-suffix.component.d.ts +5 -5
  166. package/lib/alert/alert-title.component.d.ts +5 -5
  167. package/lib/alert/alert.component.d.ts +46 -46
  168. package/lib/alert/alert.module.d.ts +13 -13
  169. package/lib/alert/index.d.ts +7 -7
  170. package/lib/avatar/avatar.component.d.ts +20 -20
  171. package/lib/avatar/avatar.module.d.ts +8 -8
  172. package/lib/avatar/index.d.ts +2 -2
  173. package/lib/base/common.module.d.ts +7 -7
  174. package/lib/base/custom-cdk-overlay.service.d.ts +19 -19
  175. package/lib/base/drawing.class.d.ts +9 -9
  176. package/lib/base/events.class.d.ts +72 -65
  177. package/lib/base/index.d.ts +6 -6
  178. package/lib/base/mixin/base-components.class.d.ts +84 -84
  179. package/lib/base/mixin/button-mixin.class.d.ts +79 -79
  180. package/lib/base/mixin/clickable-mixin.class.d.ts +42 -42
  181. package/lib/base/mixin/constratctor.d.ts +4 -4
  182. package/lib/base/mixin/datalist-component.class.d.ts +54 -54
  183. package/lib/base/mixin/dropdown-mixin.class.d.ts +47 -47
  184. package/lib/base/mixin/index.d.ts +2 -2
  185. package/lib/base/mixin/interactive-mixin.class.d.ts +60 -63
  186. package/lib/base/mixin/loading-mixin.class.d.ts +46 -48
  187. package/lib/base/mixin/mixin.class.d.ts +814 -814
  188. package/lib/base/mixin/selection-component.class.d.ts +55 -55
  189. package/lib/base/mixin/sizable-mixin.class.d.ts +40 -40
  190. package/lib/base/mixin/textbox-mixin.class.d.ts +59 -61
  191. package/lib/base/mixin/value-mixin.class.d.ts +68 -71
  192. package/lib/base/overlay.service.d.ts +31 -31
  193. package/lib/base/responsive.directive.d.ts +10 -10
  194. package/lib/base/styles.class.d.ts +17 -17
  195. package/lib/button/button-group.component.d.ts +36 -35
  196. package/lib/button/button-item.class.d.ts +22 -22
  197. package/lib/button/button-item.component.d.ts +92 -92
  198. package/lib/button/button.component.d.ts +18 -18
  199. package/lib/button/button.module.d.ts +13 -13
  200. package/lib/button/dropdown-button.component.d.ts +234 -234
  201. package/lib/button/index.d.ts +6 -6
  202. package/lib/calendar/calendar.component.d.ts +16 -16
  203. package/lib/calendar/calendar.module.d.ts +11 -11
  204. package/lib/calendar/index.d.ts +2 -2
  205. package/lib/carousel/carousel-arrows.component.d.ts +14 -14
  206. package/lib/carousel/carousel-item.component.d.ts +8 -8
  207. package/lib/carousel/carousel-pager.component.d.ts +22 -22
  208. package/lib/carousel/carousel-splidejs.class.d.ts +18 -18
  209. package/lib/carousel/carousel.class.d.ts +48 -48
  210. package/lib/carousel/carousel.component.d.ts +62 -62
  211. package/lib/carousel/carousel.module.d.ts +11 -11
  212. package/lib/carousel/index.d.ts +6 -6
  213. package/lib/checkbox/checkbox.component.d.ts +12 -12
  214. package/lib/checkbox/checkbox.module.d.ts +9 -9
  215. package/lib/checkbox/index.d.ts +2 -2
  216. package/lib/datalist/datalist.component.d.ts +25 -25
  217. package/lib/datalist/datalist.module.d.ts +9 -9
  218. package/lib/datalist/index.d.ts +2 -2
  219. package/lib/datepicker/datepicker.component.d.ts +18 -18
  220. package/lib/datepicker/datepicker.module.d.ts +10 -10
  221. package/lib/datepicker/index.d.ts +2 -2
  222. package/lib/decorators/decorators.module.d.ts +9 -9
  223. package/lib/decorators/index.d.ts +3 -3
  224. package/lib/decorators/prefix.component.d.ts +8 -8
  225. package/lib/decorators/suffix.component.d.ts +8 -8
  226. package/lib/dialog/dialog.class.d.ts +12 -12
  227. package/lib/dialog/dialog.component.d.ts +15 -15
  228. package/lib/dialog/dialog.module.d.ts +13 -13
  229. package/lib/dialog/dialog.service.d.ts +18 -18
  230. package/lib/dialog/index.d.ts +4 -4
  231. package/lib/drawer/drawer-container.component.d.ts +13 -13
  232. package/lib/drawer/drawer-content.component.d.ts +8 -8
  233. package/lib/drawer/drawer.component.d.ts +30 -30
  234. package/lib/drawer/drawer.module.d.ts +10 -10
  235. package/lib/drawer/index.d.ts +4 -4
  236. package/lib/dropdown/dropdown-panel.component.d.ts +117 -116
  237. package/lib/dropdown/dropdown.component.d.ts +31 -31
  238. package/lib/dropdown/dropdown.module.d.ts +13 -13
  239. package/lib/dropdown/index.d.ts +3 -3
  240. package/lib/form/form-field.component.d.ts +8 -8
  241. package/lib/form/form-field.module.d.ts +10 -10
  242. package/lib/form/form-hint.component.d.ts +8 -8
  243. package/lib/form/form.component.d.ts +13 -13
  244. package/lib/form/index.d.ts +4 -4
  245. package/lib/icon/icon.component.d.ts +10 -10
  246. package/lib/icon/icon.module.d.ts +8 -8
  247. package/lib/icon/index.d.ts +2 -2
  248. package/lib/input-mask/index.d.ts +2 -2
  249. package/lib/input-mask/input-mask.component.d.ts +14 -14
  250. package/lib/input-mask/input-mask.module.d.ts +9 -9
  251. package/lib/label/index.d.ts +2 -2
  252. package/lib/label/label.component.d.ts +8 -8
  253. package/lib/label/label.module.d.ts +8 -8
  254. package/lib/loading/index.d.ts +5 -5
  255. package/lib/loading/loading-spinner.component.d.ts +5 -5
  256. package/lib/loading/loading.component.d.ts +19 -19
  257. package/lib/loading/loading.directive.d.ts +22 -22
  258. package/lib/loading/loading.module.d.ts +13 -13
  259. package/lib/loading/loading.service.d.ts +48 -48
  260. package/lib/number-box/index.d.ts +2 -2
  261. package/lib/number-box/number-box.component.d.ts +69 -69
  262. package/lib/number-box/number-box.module.d.ts +11 -11
  263. package/lib/page/base-page.class.d.ts +37 -37
  264. package/lib/page/index.d.ts +4 -4
  265. package/lib/page/page-footer.component.d.ts +7 -7
  266. package/lib/page/page.component.d.ts +13 -13
  267. package/lib/page/page.module.d.ts +7 -7
  268. package/lib/popover/index.d.ts +2 -2
  269. package/lib/popover/popover.component.d.ts +30 -30
  270. package/lib/popover/popover.module.d.ts +8 -8
  271. package/lib/popup/index.d.ts +3 -3
  272. package/lib/popup/popup.component.d.ts +33 -33
  273. package/lib/popup/popup.module.d.ts +12 -12
  274. package/lib/popup/popup.service.d.ts +37 -37
  275. package/lib/range-slider/index.d.ts +2 -0
  276. package/lib/range-slider/range-slider.component.d.ts +8 -0
  277. package/lib/range-slider/range-slider.module.d.ts +8 -0
  278. package/lib/selectbox/index.d.ts +2 -2
  279. package/lib/selectbox/selectbox.component.d.ts +28 -28
  280. package/lib/selectbox/selectbox.module.d.ts +10 -10
  281. package/lib/selection-list/index.d.ts +2 -2
  282. package/lib/selection-list/selection-list.component.d.ts +10 -10
  283. package/lib/selection-list/selection-list.module.d.ts +10 -10
  284. package/lib/side-menu/index.d.ts +2 -2
  285. package/lib/side-menu/side-menu.component.d.ts +8 -8
  286. package/lib/side-menu/side-menu.module.d.ts +8 -8
  287. package/lib/switch/index.d.ts +2 -2
  288. package/lib/switch/switch.component.d.ts +9 -9
  289. package/lib/switch/switch.module.d.ts +9 -9
  290. package/lib/tabs/index.d.ts +5 -5
  291. package/lib/tabs/tab-strip.component.d.ts +17 -17
  292. package/lib/tabs/tab-view.component.d.ts +14 -14
  293. package/lib/tabs/tab.component.d.ts +18 -18
  294. package/lib/tabs/tabs.class.d.ts +18 -18
  295. package/lib/tabs/tabs.module.d.ts +10 -10
  296. package/lib/textbox/index.d.ts +2 -2
  297. package/lib/textbox/textbox.component.d.ts +19 -19
  298. package/lib/textbox/textbox.module.d.ts +13 -12
  299. package/lib/time-box/index.d.ts +2 -2
  300. package/lib/time-box/time-box.component.d.ts +29 -29
  301. package/lib/time-box/time-box.module.d.ts +11 -11
  302. package/lib/toast/index.d.ts +4 -4
  303. package/lib/toast/toast.class.d.ts +14 -14
  304. package/lib/toast/toast.component.d.ts +16 -16
  305. package/lib/toast/toast.module.d.ts +9 -9
  306. package/lib/toast/toast.service.d.ts +18 -18
  307. package/lib/tooltip/index.d.ts +3 -3
  308. package/lib/tooltip/tooltip.component.d.ts +10 -10
  309. package/lib/tooltip/tooltip.directive.d.ts +18 -18
  310. package/lib/tooltip/tooltip.module.d.ts +10 -10
  311. package/lib/validation/index.d.ts +2 -2
  312. package/lib/validation/validation-rule.widget.d.ts +25 -25
  313. package/lib/validation/validation.class.d.ts +17 -17
  314. package/lib/validation/validation.module.d.ts +9 -9
  315. package/package.json +18 -18
  316. package/public-api.d.ts +37 -36
@@ -1,13 +1,13 @@
1
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
2
- import { AXBaseComponentMixin } from '../base/mixin/mixin.class';
3
- import { AXValidationResult } from '../validation/validation.class';
4
- import * as i0 from "@angular/core";
5
- export declare class AXFormComponent extends AXBaseComponentMixin {
6
- private cdr;
7
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
8
- _getComponenets(): Element[];
9
- validate(): Promise<AXValidationResult>;
10
- clear(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<AXFormComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<AXFormComponent, "ax-form", never, {}, {}, never, ["*"]>;
13
- }
1
+ import { ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import { AXBaseComponentMixin } from '../base/mixin/mixin.class';
3
+ import { AXValidationResult } from '../validation/validation.class';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AXFormComponent extends AXBaseComponentMixin {
6
+ private cdr;
7
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
8
+ _getComponenets(): Element[];
9
+ validate(): Promise<AXValidationResult>;
10
+ clear(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXFormComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXFormComponent, "ax-form", never, {}, {}, never, ["*"]>;
13
+ }
@@ -1,4 +1,4 @@
1
- export * from './form-field.component';
2
- export * from './form-hint.component';
3
- export * from './form.component';
4
- export * from './form-field.module';
1
+ export * from './form-field.component';
2
+ export * from './form-hint.component';
3
+ export * from './form.component';
4
+ export * from './form-field.module';
@@ -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
+ 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,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
+ 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,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
+ }