@acorex/components 21.0.0-next.1 → 21.0.0-next.11

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 (241) hide show
  1. package/code-editor/README.md +291 -1
  2. package/code-editor/index.d.ts +260 -12
  3. package/drawer/README.md +2 -2
  4. package/drawer/index.d.ts +32 -57
  5. package/drawer-legacy/README.md +3 -0
  6. package/drawer-legacy/index.d.ts +86 -0
  7. package/editor/README.md +3 -0
  8. package/editor/index.d.ts +41 -0
  9. package/fesm2022/acorex-components-accordion.mjs +12 -12
  10. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  11. package/fesm2022/acorex-components-action-sheet.mjs +10 -10
  12. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  13. package/fesm2022/acorex-components-alert.mjs +8 -8
  14. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  15. package/fesm2022/acorex-components-aspect-ratio.mjs +4 -4
  16. package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
  17. package/fesm2022/acorex-components-audio-wave.mjs +8 -8
  18. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  19. package/fesm2022/acorex-components-autocomplete.mjs +8 -8
  20. package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
  21. package/fesm2022/acorex-components-avatar.mjs +11 -11
  22. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  23. package/fesm2022/acorex-components-badge.mjs +8 -8
  24. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  25. package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
  26. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  27. package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
  28. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  29. package/fesm2022/acorex-components-button-group.mjs +13 -13
  30. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  31. package/fesm2022/acorex-components-button.mjs +15 -15
  32. package/fesm2022/acorex-components-button.mjs.map +1 -1
  33. package/fesm2022/acorex-components-calendar.mjs +14 -14
  34. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  35. package/fesm2022/acorex-components-check-box.mjs +8 -8
  36. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  37. package/fesm2022/acorex-components-chips.mjs +8 -8
  38. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  39. package/fesm2022/acorex-components-circular-progress.mjs +8 -8
  40. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  41. package/fesm2022/acorex-components-code-editor.mjs +494 -162
  42. package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
  43. package/fesm2022/acorex-components-collapse.mjs +11 -26
  44. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  45. package/fesm2022/acorex-components-color-box.mjs +9 -9
  46. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  47. package/fesm2022/acorex-components-color-palette.mjs +30 -30
  48. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  49. package/fesm2022/acorex-components-command.mjs +10 -10
  50. package/fesm2022/acorex-components-command.mjs.map +1 -1
  51. package/fesm2022/acorex-components-comment.mjs +30 -30
  52. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  53. package/fesm2022/acorex-components-conversation.mjs +54 -63
  54. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  55. package/fesm2022/acorex-components-cron-job.mjs +53 -53
  56. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  57. package/fesm2022/acorex-components-data-list.mjs +5 -5
  58. package/fesm2022/acorex-components-data-list.mjs.map +1 -1
  59. package/fesm2022/acorex-components-data-pager.mjs +50 -38
  60. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  61. package/fesm2022/acorex-components-data-table.mjs +39 -37
  62. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  63. package/fesm2022/acorex-components-datetime-box.mjs +8 -8
  64. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  65. package/fesm2022/acorex-components-datetime-input.mjs +8 -8
  66. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  67. package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
  68. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  69. package/fesm2022/acorex-components-decorators.mjs +83 -41
  70. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  71. package/fesm2022/acorex-components-dialog.mjs +10 -10
  72. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  73. package/fesm2022/acorex-components-drawer-legacy.mjs +218 -0
  74. package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -0
  75. package/fesm2022/acorex-components-drawer.mjs +64 -149
  76. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  77. package/fesm2022/acorex-components-dropdown-button.mjs +9 -9
  78. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  79. package/fesm2022/acorex-components-dropdown.mjs +15 -15
  80. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  81. package/fesm2022/acorex-components-editor.mjs +180 -0
  82. package/fesm2022/acorex-components-editor.mjs.map +1 -0
  83. package/fesm2022/acorex-components-file-explorer.mjs +28 -28
  84. package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
  85. package/fesm2022/acorex-components-flow-chart.mjs +18 -18
  86. package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
  87. package/fesm2022/acorex-components-form.mjs +22 -28
  88. package/fesm2022/acorex-components-form.mjs.map +1 -1
  89. package/fesm2022/acorex-components-grid-layout-builder.mjs +12 -12
  90. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  91. package/fesm2022/acorex-components-image-editor.mjs +38 -38
  92. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  93. package/fesm2022/acorex-components-image.mjs +8 -8
  94. package/fesm2022/acorex-components-image.mjs.map +1 -1
  95. package/fesm2022/acorex-components-json-viewer.mjs +8 -8
  96. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
  97. package/fesm2022/acorex-components-kanban.mjs +4 -4
  98. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  99. package/fesm2022/acorex-components-kbd.mjs +7 -7
  100. package/fesm2022/acorex-components-kbd.mjs.map +1 -1
  101. package/fesm2022/acorex-components-label.mjs +7 -7
  102. package/fesm2022/acorex-components-label.mjs.map +1 -1
  103. package/fesm2022/acorex-components-list.mjs +8 -8
  104. package/fesm2022/acorex-components-list.mjs.map +1 -1
  105. package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
  106. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  107. package/fesm2022/acorex-components-loading.mjs +16 -16
  108. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  109. package/fesm2022/acorex-components-map.mjs +15 -14
  110. package/fesm2022/acorex-components-map.mjs.map +1 -1
  111. package/fesm2022/acorex-components-media-viewer.mjs +61 -87
  112. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  113. package/fesm2022/acorex-components-menu.mjs +19 -19
  114. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  115. package/fesm2022/{acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs → acorex-components-modal-acorex-components-modal-ClSGRCam.mjs} +23 -23
  116. package/fesm2022/acorex-components-modal-acorex-components-modal-ClSGRCam.mjs.map +1 -0
  117. package/fesm2022/{acorex-components-modal-modal-content.component-B6tyMLdU.mjs → acorex-components-modal-modal-content.component-BC-z7O0z.mjs} +7 -30
  118. package/fesm2022/acorex-components-modal-modal-content.component-BC-z7O0z.mjs.map +1 -0
  119. package/fesm2022/acorex-components-modal.mjs +1 -1
  120. package/fesm2022/acorex-components-navbar.mjs +7 -7
  121. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  122. package/fesm2022/acorex-components-notification.mjs +10 -10
  123. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  124. package/fesm2022/acorex-components-number-box-legacy.mjs +412 -0
  125. package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -0
  126. package/fesm2022/acorex-components-number-box.mjs +100 -331
  127. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  128. package/fesm2022/acorex-components-otp.mjs +8 -8
  129. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  130. package/fesm2022/acorex-components-page.mjs +10 -10
  131. package/fesm2022/acorex-components-page.mjs.map +1 -1
  132. package/fesm2022/acorex-components-paint.mjs +27 -27
  133. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  134. package/fesm2022/acorex-components-password-box.mjs +11 -11
  135. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  136. package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
  137. package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
  138. package/fesm2022/acorex-components-phone-box.mjs +8 -8
  139. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  140. package/fesm2022/acorex-components-picker.mjs +15 -15
  141. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  142. package/fesm2022/acorex-components-popover.mjs +8 -8
  143. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  144. package/fesm2022/acorex-components-popup.mjs +10 -10
  145. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  146. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  147. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  148. package/fesm2022/acorex-components-qrcode.mjs +8 -8
  149. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  150. package/fesm2022/acorex-components-query-builder.mjs +8 -8
  151. package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
  152. package/fesm2022/acorex-components-radio.mjs +7 -7
  153. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  154. package/fesm2022/acorex-components-rail-navigation.mjs +15 -15
  155. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  156. package/fesm2022/acorex-components-range-slider.mjs +8 -8
  157. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  158. package/fesm2022/acorex-components-rate-picker.mjs +8 -8
  159. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  160. package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
  161. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  162. package/fesm2022/acorex-components-result.mjs +7 -7
  163. package/fesm2022/acorex-components-result.mjs.map +1 -1
  164. package/fesm2022/acorex-components-routing-progress.mjs +7 -7
  165. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  166. package/fesm2022/acorex-components-rrule.mjs +110 -15
  167. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  168. package/fesm2022/acorex-components-scheduler.mjs +43 -43
  169. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  170. package/fesm2022/acorex-components-scss.mjs +4 -4
  171. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  172. package/fesm2022/acorex-components-search-box.mjs +8 -8
  173. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  174. package/fesm2022/acorex-components-select-box.mjs +20 -13
  175. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  176. package/fesm2022/acorex-components-selection-list-2.mjs +8 -8
  177. package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
  178. package/fesm2022/acorex-components-selection-list.mjs +8 -8
  179. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  180. package/fesm2022/acorex-components-side-menu.mjs +31 -38
  181. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  182. package/fesm2022/acorex-components-skeleton.mjs +7 -7
  183. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  184. package/fesm2022/acorex-components-slider.mjs +8 -8
  185. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  186. package/fesm2022/acorex-components-sliding-item.mjs +16 -16
  187. package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
  188. package/fesm2022/acorex-components-step-wizard.mjs +15 -15
  189. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  190. package/fesm2022/acorex-components-switch.mjs +10 -10
  191. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  192. package/fesm2022/acorex-components-tabs.mjs +15 -15
  193. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  194. package/fesm2022/acorex-components-tag-box.mjs +8 -8
  195. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  196. package/fesm2022/acorex-components-tag.mjs +7 -7
  197. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  198. package/fesm2022/acorex-components-text-area.mjs +7 -7
  199. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  200. package/fesm2022/acorex-components-text-box.mjs +11 -11
  201. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  202. package/fesm2022/acorex-components-time-duration.mjs +54 -14
  203. package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
  204. package/fesm2022/acorex-components-time-line.mjs +13 -28
  205. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  206. package/fesm2022/acorex-components-toast.mjs +10 -10
  207. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  208. package/fesm2022/acorex-components-toolbar.mjs +8 -8
  209. package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
  210. package/fesm2022/acorex-components-tooltip.mjs +11 -11
  211. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  212. package/fesm2022/acorex-components-tree-view.mjs +16 -45
  213. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  214. package/fesm2022/acorex-components-uploader.mjs +24 -39
  215. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  216. package/fesm2022/acorex-components-video-player.mjs +8 -8
  217. package/fesm2022/acorex-components-video-player.mjs.map +1 -1
  218. package/fesm2022/acorex-components-wysiwyg.mjs +207 -458
  219. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  220. package/media-viewer/index.d.ts +1 -0
  221. package/number-box/README.md +2 -2
  222. package/number-box/index.d.ts +31 -171
  223. package/number-box-legacy/README.md +3 -0
  224. package/number-box-legacy/index.d.ts +191 -0
  225. package/package.json +29 -14
  226. package/phone-box/index.d.ts +4 -4
  227. package/rrule/index.d.ts +96 -1
  228. package/select-box/index.d.ts +1 -0
  229. package/side-menu/index.d.ts +3 -2
  230. package/time-duration/index.d.ts +19 -3
  231. package/wysiwyg/index.d.ts +56 -159
  232. package/drawer-2/README.md +0 -3
  233. package/drawer-2/index.d.ts +0 -62
  234. package/fesm2022/acorex-components-drawer-2.mjs +0 -134
  235. package/fesm2022/acorex-components-drawer-2.mjs.map +0 -1
  236. package/fesm2022/acorex-components-modal-acorex-components-modal-h5Y-qcbh.mjs.map +0 -1
  237. package/fesm2022/acorex-components-modal-modal-content.component-B6tyMLdU.mjs.map +0 -1
  238. package/fesm2022/acorex-components-number-box-2.mjs +0 -183
  239. package/fesm2022/acorex-components-number-box-2.mjs.map +0 -1
  240. package/number-box-2/README.md +0 -3
  241. package/number-box-2/index.d.ts +0 -41
@@ -58,6 +58,7 @@ declare class AXMediaViewerContainerComponent implements OnDestroy {
58
58
  private swiperRef;
59
59
  private swiperRef2;
60
60
  private fullScreenButton;
61
+ private globalOptions;
61
62
  private setActiveIndex;
62
63
  getActiveIndex(): number;
63
64
  ngOnDestroy(): void;
@@ -1,3 +1,3 @@
1
- # @acorex/components/number-box
1
+ # @acorex/components/number-box-2
2
2
 
3
- Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/number-box`.
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/number-box-2`.
@@ -1,191 +1,51 @@
1
1
  import * as polytype from 'polytype';
2
- import * as i0 from '@angular/core';
3
- import { AfterViewInit, ElementRef } from '@angular/core';
4
- import { MaskedNumber } from 'imask';
2
+ import * as _angular_core from '@angular/core';
3
+ import * as i2 from '@acorex/cdk/input-mask';
4
+ import { AXInputMaskEvent } from '@acorex/cdk/input-mask';
5
5
  import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
6
- import * as i1 from '@angular/common';
7
- import * as i2 from '@angular/forms';
6
+ import * as i1 from '@angular/forms';
8
7
  import * as i3 from '@acorex/components/button';
9
8
  import * as i4 from '@acorex/components/decorators';
10
- import * as i5 from 'angular-imask';
11
9
 
12
10
  declare const AXNumberBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
13
11
  new (): MXInputBaseValueComponent<number>;
14
- ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
15
- ɵprov: i0.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
12
+ ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
13
+ ɵprov: _angular_core.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
16
14
  }, typeof MXLookComponent]>;
17
15
  /**
18
16
  * The NumberBox is a component which detects user interaction and triggers a corresponding event
19
17
  *
20
18
  * @category Components
21
19
  */
22
- declare class AXNumberBoxComponent extends AXNumberBoxComponent_base implements AfterViewInit {
23
- /** @ignore */
24
- input: ElementRef<HTMLInputElement>;
25
- /** @ignore */
26
- private _thousandsSeparator;
27
- /**
28
- * This property determines the type of the input element (e.g., 'text', 'password', 'email', etc.). It can be dynamically bound from a parent component template to change the input field type based on different conditions or requirements.
29
- */
30
- type: i0.InputSignal<string>;
31
- /**
32
- * boolean value that specifies the number box change step by scrolling.
33
- */
34
- changeOnScroll: boolean;
35
- /** @ignore */
36
- private _allDigits;
37
- /**
38
- * A number value that specifies the all digits of number.
39
- */
40
- get allDigits(): number;
41
- /**
42
- * Sets the all digits of number.
43
- * @param {number} v
44
- */
45
- set allDigits(v: number);
46
- /**
47
- * A character value that specifies the separator character.
48
- */
49
- get thousandsSeparator(): string;
50
- /**
51
- * Sets the thousands separator for formatting.
52
- * @param {string} v
53
- */
54
- set thousandsSeparator(v: string);
55
- /** @ignore */
56
- private _padDecimalZeros;
57
- /**
58
- * A character value that specifies the separator character.
59
- */
60
- get padDecimalZeros(): boolean;
61
- /**
62
- * Sets whether decimal zeros should be padded.
63
- * @param {boolean} v
64
- */
65
- set padDecimalZeros(v: boolean);
66
- /**
67
- * Specifies the value that is used to increment or decrement the **Integer** part of number
68
- */
69
- /**
70
- * Defines the increment step value.
71
- */
72
- step: number;
73
- /** @ignore */
74
- private _decimals;
75
- /**
76
- * Specifies the number of decimals that the user can enter
77
- */
78
- get decimals(): number;
79
- /**
80
- * Sets the decimal places; defaults to 0 if not provided.
81
- */
82
- set decimals(v: number);
83
- /**
84
- * Specifies the value that is used to increment or decrement the **Deciaml** part of number
85
- */
86
- /**
87
- * Defines the step size for decimal values.
88
- * @defaultvalue 'auto'
89
- */
90
- decimalStep: number | 'auto';
91
- /**
92
- * Specifies whether the Up and Down spin buttons will be rendered or not
93
- */
94
- /**
95
- * Indicates whether spin buttons are displayed.
96
- * @defaultvalue true
97
- */
98
- showSpinButtons: boolean;
99
- /** @ignore */
100
- private _minValue;
101
- /**
102
- * Specifies the smallest value that is valid
103
- */
104
- get minValue(): number;
105
- /**
106
- * Sets the number of decimal places to be used.
107
- * @param {number} v
108
- * @defaultvalue 0
109
- */
110
- set minValue(v: number);
111
- /** @ignore */
112
- private _maxValue;
113
- /**
114
- * Specifies the greatest value that is valid
115
- */
116
- get maxValue(): number;
117
- /**
118
- * Sets the maximum allowable value, defaulting to `Number.MAX_SAFE_INTEGER` if null.
119
- * @param v
120
- */
121
- set maxValue(v: number);
122
- /**
123
- * CSS classes to apply to the component.
124
- * @param classNames
125
- */
126
- /**
127
- * CSS classes to apply to the component.
128
- */
129
- classNames: string;
130
- /**
131
- * @ignore
132
- */
133
- _maskObj: MaskedNumber;
134
- /** @ignore */
135
- /** @ignore */
136
- private _maskDirective;
137
- /** @ignore */
138
- private _onWheelFlag;
139
- constructor();
140
- /** @ignore */
141
- ngAfterViewInit(): void;
142
- /**
143
- * Handles internal option changes and updates the mask accordingly.
144
- */
145
- internalOptionChanged(): void;
146
- /**
147
- * Resets the input element to its default state and calls the parent class reset method.
148
- */
149
- reset(): void;
150
- /**
151
- * Ensures the value is within the min-max range, returning the default if null.
152
- * @param value
153
- */
154
- internalSetValue(value: any): number;
155
- /** @ignore */
156
- private _updateMask;
157
- /** @ignore */
158
- _handleModelChange(value: number): void;
159
- /** @ignore */
160
- _handleOnKeydownEvent(e: KeyboardEvent): void;
161
- /** @ignore */
162
- protected _handleUpDownClick(v: -1 | 1, e: Event): void;
163
- /**
164
- * Increases the value by the step amount, ensuring it's at least the minimum value.
165
- */
166
- stepUp(u?: boolean): void;
167
- /**
168
- * Decreases the value by the step amount, ensuring it's at least the minimum value.
169
- */
170
- stepDown(u?: boolean): void;
171
- /**
172
- * Increases the value by the decimal step amount, using 'auto' or a custom step value.
173
- */
174
- decimalStepUp(u?: boolean): void;
175
- /**
176
- * Decreases the value by the decimal step amount, using 'auto' or a custom step value.
177
- */
178
- decimalStepDown(u?: boolean): void;
179
- onWheel(event: WheelEvent): void;
20
+ declare class AXNumberBoxComponent extends AXNumberBoxComponent_base {
21
+ #private;
22
+ minValue: _angular_core.InputSignal<number>;
23
+ maxValue: _angular_core.InputSignal<number>;
24
+ showSpinButtons: _angular_core.InputSignal<boolean>;
25
+ thousandsSeparator: _angular_core.ModelSignal<string>;
26
+ decimals: _angular_core.InputSignal<number>;
27
+ changeOnScroll: _angular_core.InputSignal<boolean>;
28
+ step: _angular_core.InputSignal<number>;
29
+ protected mode: _angular_core.WritableSignal<"digits" | "thousandsSeparator" | "decimal">;
30
+ private input;
31
+ protected stringValue: string;
32
+ protected internalValueChanged(value: number): void;
33
+ private plusValue;
34
+ private minusValue;
35
+ protected handleOnKeydownEvent(e: KeyboardEvent): void;
36
+ protected handleUpClick(): void;
37
+ protected handleDownClick(): void;
38
+ protected handleOnMaskChanged(e: AXInputMaskEvent): void;
39
+ protected onWheel(event: WheelEvent): void;
180
40
  private get __hostName();
181
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
182
- static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "look": { "alias": "look"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "changeOnScroll": { "alias": "changeOnScroll"; "required": false; }; "allDigits": { "alias": "allDigits"; "required": false; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; }; "padDecimalZeros": { "alias": "padDecimalZeros"; "required": false; }; "step": { "alias": "step"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "decimalStep": { "alias": "decimalStep"; "required": false; }; "showSpinButtons": { "alias": "showSpinButtons"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "classNames": { "alias": "class"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
41
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
42
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "look": { "alias": "look"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "showSpinButtons": { "alias": "showSpinButtons"; "required": false; "isSignal": true; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "changeOnScroll": { "alias": "changeOnScroll"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; "thousandsSeparator": "thousandsSeparatorChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
183
43
  }
184
44
 
185
45
  declare class AXNumberBoxModule {
186
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxModule, never>;
187
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof i5.IMaskModule, typeof AXNumberBoxComponent], [typeof AXNumberBoxComponent]>;
188
- static ɵinj: i0.ɵɵInjectorDeclaration<AXNumberBoxModule>;
46
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXNumberBoxModule, never>;
47
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXNumberBoxModule, never, [typeof i1.FormsModule, typeof i2.AXInputMaskDirective, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof AXNumberBoxComponent], [typeof AXNumberBoxComponent]>;
48
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXNumberBoxModule>;
189
49
  }
190
50
 
191
51
  export { AXNumberBoxComponent, AXNumberBoxModule };
@@ -0,0 +1,3 @@
1
+ # @acorex/components/number-box
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/number-box`.
@@ -0,0 +1,191 @@
1
+ import * as polytype from 'polytype';
2
+ import * as i0 from '@angular/core';
3
+ import { AfterViewInit, ElementRef } from '@angular/core';
4
+ import { MaskedNumber } from 'imask';
5
+ import { MXInputBaseValueComponent, MXLookComponent } from '@acorex/cdk/common';
6
+ import * as i1 from '@angular/common';
7
+ import * as i2 from '@angular/forms';
8
+ import * as i3 from '@acorex/components/button';
9
+ import * as i4 from '@acorex/components/decorators';
10
+ import * as i5 from 'angular-imask';
11
+
12
+ declare const AXNumberBoxLegacyComponent_base: polytype.Polytype.ClusteredConstructor<[{
13
+ new (): MXInputBaseValueComponent<number>;
14
+ ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
15
+ ɵprov: i0.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
16
+ }, typeof MXLookComponent]>;
17
+ /**
18
+ * The NumberBox is a component which detects user interaction and triggers a corresponding event
19
+ *
20
+ * @category Components
21
+ */
22
+ declare class AXNumberBoxLegacyComponent extends AXNumberBoxLegacyComponent_base implements AfterViewInit {
23
+ /** @ignore */
24
+ input: ElementRef<HTMLInputElement>;
25
+ /** @ignore */
26
+ private _thousandsSeparator;
27
+ /**
28
+ * This property determines the type of the input element (e.g., 'text', 'password', 'email', etc.). It can be dynamically bound from a parent component template to change the input field type based on different conditions or requirements.
29
+ */
30
+ type: i0.InputSignal<string>;
31
+ /**
32
+ * boolean value that specifies the number box change step by scrolling.
33
+ */
34
+ changeOnScroll: boolean;
35
+ /** @ignore */
36
+ private _allDigits;
37
+ /**
38
+ * A number value that specifies the all digits of number.
39
+ */
40
+ get allDigits(): number;
41
+ /**
42
+ * Sets the all digits of number.
43
+ * @param {number} v
44
+ */
45
+ set allDigits(v: number);
46
+ /**
47
+ * A character value that specifies the separator character.
48
+ */
49
+ get thousandsSeparator(): string;
50
+ /**
51
+ * Sets the thousands separator for formatting.
52
+ * @param {string} v
53
+ */
54
+ set thousandsSeparator(v: string);
55
+ /** @ignore */
56
+ private _padDecimalZeros;
57
+ /**
58
+ * A character value that specifies the separator character.
59
+ */
60
+ get padDecimalZeros(): boolean;
61
+ /**
62
+ * Sets whether decimal zeros should be padded.
63
+ * @param {boolean} v
64
+ */
65
+ set padDecimalZeros(v: boolean);
66
+ /**
67
+ * Specifies the value that is used to increment or decrement the **Integer** part of number
68
+ */
69
+ /**
70
+ * Defines the increment step value.
71
+ */
72
+ step: number;
73
+ /** @ignore */
74
+ private _decimals;
75
+ /**
76
+ * Specifies the number of decimals that the user can enter
77
+ */
78
+ get decimals(): number;
79
+ /**
80
+ * Sets the decimal places; defaults to 0 if not provided.
81
+ */
82
+ set decimals(v: number);
83
+ /**
84
+ * Specifies the value that is used to increment or decrement the **Deciaml** part of number
85
+ */
86
+ /**
87
+ * Defines the step size for decimal values.
88
+ * @defaultvalue 'auto'
89
+ */
90
+ decimalStep: number | 'auto';
91
+ /**
92
+ * Specifies whether the Up and Down spin buttons will be rendered or not
93
+ */
94
+ /**
95
+ * Indicates whether spin buttons are displayed.
96
+ * @defaultvalue true
97
+ */
98
+ showSpinButtons: boolean;
99
+ /** @ignore */
100
+ private _minValue;
101
+ /**
102
+ * Specifies the smallest value that is valid
103
+ */
104
+ get minValue(): number;
105
+ /**
106
+ * Sets the number of decimal places to be used.
107
+ * @param {number} v
108
+ * @defaultvalue 0
109
+ */
110
+ set minValue(v: number);
111
+ /** @ignore */
112
+ private _maxValue;
113
+ /**
114
+ * Specifies the greatest value that is valid
115
+ */
116
+ get maxValue(): number;
117
+ /**
118
+ * Sets the maximum allowable value, defaulting to `Number.MAX_SAFE_INTEGER` if null.
119
+ * @param v
120
+ */
121
+ set maxValue(v: number);
122
+ /**
123
+ * CSS classes to apply to the component.
124
+ * @param classNames
125
+ */
126
+ /**
127
+ * CSS classes to apply to the component.
128
+ */
129
+ classNames: string;
130
+ /**
131
+ * @ignore
132
+ */
133
+ _maskObj: MaskedNumber;
134
+ /** @ignore */
135
+ /** @ignore */
136
+ private _maskDirective;
137
+ /** @ignore */
138
+ private _onWheelFlag;
139
+ constructor();
140
+ /** @ignore */
141
+ ngAfterViewInit(): void;
142
+ /**
143
+ * Handles internal option changes and updates the mask accordingly.
144
+ */
145
+ internalOptionChanged(): void;
146
+ /**
147
+ * Resets the input element to its default state and calls the parent class reset method.
148
+ */
149
+ reset(): void;
150
+ /**
151
+ * Ensures the value is within the min-max range, returning the default if null.
152
+ * @param value
153
+ */
154
+ internalSetValue(value: any): number;
155
+ /** @ignore */
156
+ private _updateMask;
157
+ /** @ignore */
158
+ _handleModelChange(value: number): void;
159
+ /** @ignore */
160
+ _handleOnKeydownEvent(e: KeyboardEvent): void;
161
+ /** @ignore */
162
+ protected _handleUpDownClick(v: -1 | 1, e: Event): void;
163
+ /**
164
+ * Increases the value by the step amount, ensuring it's at least the minimum value.
165
+ */
166
+ stepUp(u?: boolean): void;
167
+ /**
168
+ * Decreases the value by the step amount, ensuring it's at least the minimum value.
169
+ */
170
+ stepDown(u?: boolean): void;
171
+ /**
172
+ * Increases the value by the decimal step amount, using 'auto' or a custom step value.
173
+ */
174
+ decimalStepUp(u?: boolean): void;
175
+ /**
176
+ * Decreases the value by the decimal step amount, using 'auto' or a custom step value.
177
+ */
178
+ decimalStepDown(u?: boolean): void;
179
+ onWheel(event: WheelEvent): void;
180
+ private get __hostName();
181
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxLegacyComponent, never>;
182
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxLegacyComponent, "ax-number-box-legacy", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "look": { "alias": "look"; "required": false; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "changeOnScroll": { "alias": "changeOnScroll"; "required": false; }; "allDigits": { "alias": "allDigits"; "required": false; }; "thousandsSeparator": { "alias": "thousandsSeparator"; "required": false; }; "padDecimalZeros": { "alias": "padDecimalZeros"; "required": false; }; "step": { "alias": "step"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "decimalStep": { "alias": "decimalStep"; "required": false; }; "showSpinButtons": { "alias": "showSpinButtons"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "classNames": { "alias": "class"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], true, never>;
183
+ }
184
+
185
+ declare class AXNumberBoxLegacyModule {
186
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxLegacyModule, never>;
187
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXNumberBoxLegacyModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof i5.IMaskModule, typeof AXNumberBoxLegacyComponent], [typeof AXNumberBoxLegacyComponent]>;
188
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXNumberBoxLegacyModule>;
189
+ }
190
+
191
+ export { AXNumberBoxLegacyComponent, AXNumberBoxLegacyModule };
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "21.0.0-next.1",
3
+ "version": "21.0.0-next.11",
4
4
  "peerDependencies": {
5
- "@acorex/core": "21.0.0-next.1",
6
- "@acorex/cdk": "21.0.0-next.1",
5
+ "@acorex/core": "21.0.0-next.11",
6
+ "@acorex/cdk": "21.0.0-next.11",
7
7
  "@angular/common": "^20.0.0",
8
8
  "@angular/core": "^20.0.0",
9
9
  "@angular/cdk": "^20.0.0",
@@ -15,6 +15,8 @@
15
15
  "leaflet": "^1.9.4",
16
16
  "leaflet-draw": "^1.0.4",
17
17
  "leaflet.locatecontrol": "^0.81.1",
18
+ "highlight.js": "^11.11.1",
19
+ "quill": "^2.0.3",
18
20
  "quill-delta-to-html": ">=0.12.1",
19
21
  "@codemirror/state": "^6.4.0",
20
22
  "@codemirror/view": "^6.30.0",
@@ -32,7 +34,16 @@
32
34
  "@codemirror/lang-markdown": "^6.2.4",
33
35
  "@codemirror/lang-sass": "^6.0.2",
34
36
  "@codemirror/theme-one-dark": "^6.1.0",
35
- "prettier": ">=3.0.0"
37
+ "prettier": ">=3.0.0",
38
+ "@editorjs/code": "^2.9.3",
39
+ "@editorjs/editorjs": "2.28.2",
40
+ "@editorjs/header": "^2.8.8",
41
+ "@editorjs/list": "^2.0.8",
42
+ "@editorjs/quote": "^2.7.6",
43
+ "@editorjs/raw": "^2.5.1",
44
+ "@editorjs/simple-image": "^1.6.0",
45
+ "@editorjs/underline": "^1.2.1",
46
+ "editorjs-text-color-plugin": "^2.0.3"
36
47
  },
37
48
  "peerDependenciesMeta": {
38
49
  "prettier": {
@@ -185,9 +196,9 @@
185
196
  "types": "./drawer/index.d.ts",
186
197
  "default": "./fesm2022/acorex-components-drawer.mjs"
187
198
  },
188
- "./drawer-2": {
189
- "types": "./drawer-2/index.d.ts",
190
- "default": "./fesm2022/acorex-components-drawer-2.mjs"
199
+ "./drawer-legacy": {
200
+ "types": "./drawer-legacy/index.d.ts",
201
+ "default": "./fesm2022/acorex-components-drawer-legacy.mjs"
191
202
  },
192
203
  "./dropdown": {
193
204
  "types": "./dropdown/index.d.ts",
@@ -197,6 +208,10 @@
197
208
  "types": "./dropdown-button/index.d.ts",
198
209
  "default": "./fesm2022/acorex-components-dropdown-button.mjs"
199
210
  },
211
+ "./editor": {
212
+ "types": "./editor/index.d.ts",
213
+ "default": "./fesm2022/acorex-components-editor.mjs"
214
+ },
200
215
  "./file-explorer": {
201
216
  "types": "./file-explorer/index.d.ts",
202
217
  "default": "./fesm2022/acorex-components-file-explorer.mjs"
@@ -241,10 +256,6 @@
241
256
  "types": "./list/index.d.ts",
242
257
  "default": "./fesm2022/acorex-components-list.mjs"
243
258
  },
244
- "./loading": {
245
- "types": "./loading/index.d.ts",
246
- "default": "./fesm2022/acorex-components-loading.mjs"
247
- },
248
259
  "./loading-dialog": {
249
260
  "types": "./loading-dialog/index.d.ts",
250
261
  "default": "./fesm2022/acorex-components-loading-dialog.mjs"
@@ -269,6 +280,10 @@
269
280
  "types": "./navbar/index.d.ts",
270
281
  "default": "./fesm2022/acorex-components-navbar.mjs"
271
282
  },
283
+ "./loading": {
284
+ "types": "./loading/index.d.ts",
285
+ "default": "./fesm2022/acorex-components-loading.mjs"
286
+ },
272
287
  "./notification": {
273
288
  "types": "./notification/index.d.ts",
274
289
  "default": "./fesm2022/acorex-components-notification.mjs"
@@ -277,9 +292,9 @@
277
292
  "types": "./number-box/index.d.ts",
278
293
  "default": "./fesm2022/acorex-components-number-box.mjs"
279
294
  },
280
- "./number-box-2": {
281
- "types": "./number-box-2/index.d.ts",
282
- "default": "./fesm2022/acorex-components-number-box-2.mjs"
295
+ "./number-box-legacy": {
296
+ "types": "./number-box-legacy/index.d.ts",
297
+ "default": "./fesm2022/acorex-components-number-box-legacy.mjs"
283
298
  },
284
299
  "./otp": {
285
300
  "types": "./otp/index.d.ts",
@@ -30,11 +30,11 @@ declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
30
30
  /**
31
31
  * CSS classes to apply to the component.
32
32
  */
33
- readonly classNames: string;
33
+ classNames: string;
34
34
  /**
35
35
  * static precode.
36
36
  */
37
- readonly precode: _angular_core.InputSignal<unknown>;
37
+ precode: _angular_core.InputSignal<unknown>;
38
38
  /**
39
39
  * The default country value for the component.
40
40
  */
@@ -42,11 +42,11 @@ declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
42
42
  /**
43
43
  * List of included values for the component.
44
44
  */
45
- readonly included: _angular_core.InputSignal<string[]>;
45
+ included: _angular_core.InputSignal<string[]>;
46
46
  /**
47
47
  * List of excluded values for the component.
48
48
  */
49
- readonly excluded: _angular_core.InputSignal<string[]>;
49
+ excluded: _angular_core.InputSignal<string[]>;
50
50
  private selectBox;
51
51
  /** @ignore */
52
52
  protected countries: _angular_core.WritableSignal<CountryItem[]>;