@acorex/components 18.8.1 → 18.8.3

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 (46) hide show
  1. package/action-sheet/lib/action-sheet.component.d.ts +3 -12
  2. package/esm2022/action-sheet/lib/action-sheet.component.mjs +13 -22
  3. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +8 -9
  4. package/esm2022/color-palette/lib/color-palette.component.mjs +2 -2
  5. package/esm2022/common/lib/components/value-component.class.mjs +1 -1
  6. package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +1 -1
  7. package/esm2022/number-box/lib/number-box.component.mjs +47 -29
  8. package/esm2022/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.mjs +3 -3
  9. package/esm2022/paint/lib/paint/paint-tools/paint-pen-cap/paint-pen-cap.component.mjs +3 -3
  10. package/esm2022/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.mjs +1 -1
  11. package/esm2022/paint/lib/paint/paint-view/paint-view.component.mjs +4 -3
  12. package/esm2022/phone-box/lib/phone-box.component.mjs +3 -3
  13. package/esm2022/range-slider/lib/range-slider.class.mjs +1 -1
  14. package/esm2022/range-slider/lib/range-slider.component.mjs +156 -134
  15. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +8 -2
  16. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.mjs +4 -4
  17. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.mjs +33 -5
  18. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.mjs +1 -19
  19. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.mjs +3 -3
  20. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.mjs +18 -8
  21. package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg.service.mjs +2 -1
  22. package/fesm2022/acorex-components-action-sheet.mjs +12 -21
  23. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  24. package/fesm2022/acorex-components-color-palette.mjs +7 -7
  25. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  26. package/fesm2022/acorex-components-common.mjs.map +1 -1
  27. package/fesm2022/acorex-components-conversation.mjs +1 -1
  28. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  29. package/fesm2022/acorex-components-number-box.mjs +46 -28
  30. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  31. package/fesm2022/acorex-components-paint.mjs +8 -7
  32. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  33. package/fesm2022/acorex-components-phone-box.mjs +2 -2
  34. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  35. package/fesm2022/acorex-components-range-slider.mjs +154 -132
  36. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  37. package/fesm2022/acorex-components-wysiwyg.mjs +60 -33
  38. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  39. package/number-box/lib/number-box.component.d.ts +30 -29
  40. package/package.json +54 -54
  41. package/range-slider/lib/range-slider.class.d.ts +1 -0
  42. package/range-slider/lib/range-slider.component.d.ts +43 -11
  43. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +8 -0
  44. package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-font-style/wysiwyg-font-style.component.d.ts +0 -2
  45. package/wysiwyg/lib/wysiwyg/wysiwyg-view/wysiwyg-view.component.d.ts +3 -3
  46. package/wysiwyg/lib/wysiwyg/wysiwyg.service.d.ts +1 -0
@@ -1,4 +1,4 @@
1
- import { AXOrientation, AXStyleColorType, MXValueComponent } from '@acorex/components/common';
1
+ import { AXOrientation, AXStyleColorType, AXValueChangedEvent, MXValueComponent } from '@acorex/components/common';
2
2
  import { AXRangeSliderMode, AXRangeSliderSnapMode, AXRangeSliderTooltipMode, AXRangeSliderValue, AXRangeStartEvent } from './range-slider.class';
3
3
  import * as i0 from "@angular/core";
4
4
  declare const AXRangeSliderComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
@@ -61,6 +61,10 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
61
61
  * @description deferent modes for snap including start, end and both
62
62
  */
63
63
  snapMode: import("@angular/core").InputSignal<AXRangeSliderSnapMode>;
64
+ /**
65
+ * @description a flag for having step
66
+ */
67
+ hasStep: import("@angular/core").InputSignal<boolean>;
64
68
  /**
65
69
  * @description a flag for showing snap
66
70
  */
@@ -73,11 +77,30 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
73
77
  * @description a flag for showing tooltip for values
74
78
  */
75
79
  hasTooltip: import("@angular/core").InputSignal<boolean>;
80
+ /**
81
+ * @ignore
82
+ */
76
83
  height: number;
84
+ /**
85
+ * @ignore
86
+ */
77
87
  newHeight: string;
88
+ /**
89
+ * @ignore
90
+ */
78
91
  range: import("@angular/core").Signal<number>;
92
+ /**
93
+ * @ignore
94
+ */
79
95
  isHorizontal: import("@angular/core").Signal<boolean>;
96
+ /**
97
+ * @ignore
98
+ */
80
99
  isDual: import("@angular/core").Signal<boolean>;
100
+ /**
101
+ * @ignore
102
+ */
103
+ correctMinMax: import("@angular/core").Signal<boolean>;
81
104
  /**
82
105
  * @ignore
83
106
  */
@@ -101,10 +124,10 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
101
124
  left: string;
102
125
  width: string;
103
126
  height?: undefined;
104
- top?: undefined;
127
+ bottom?: undefined;
105
128
  } | {
106
129
  height: string;
107
- top: string;
130
+ bottom: string;
108
131
  left?: undefined;
109
132
  width?: undefined;
110
133
  }>;
@@ -113,9 +136,9 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
113
136
  */
114
137
  protected AXRangeSliderHandler1: import("@angular/core").Signal<{
115
138
  left: string;
116
- top?: undefined;
139
+ bottom?: undefined;
117
140
  } | {
118
- top: string;
141
+ bottom: string;
119
142
  left?: undefined;
120
143
  }>;
121
144
  /**
@@ -123,9 +146,9 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
123
146
  */
124
147
  protected AXRangeSliderHandler2: import("@angular/core").Signal<{
125
148
  left: string;
126
- top?: undefined;
149
+ bottom?: undefined;
127
150
  } | {
128
- top: string;
151
+ bottom: string;
129
152
  left?: undefined;
130
153
  }>;
131
154
  /**
@@ -165,11 +188,11 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
165
188
  /**
166
189
  * @ignore
167
190
  */
168
- protected handleOnStart(event: MouseEvent | TouchEvent, circle: 'first' | 'second'): void;
191
+ protected onStartHandler(event: MouseEvent | TouchEvent, circle: 'first' | 'second'): void;
169
192
  /**
170
193
  * @ignore
171
194
  */
172
- protected onclickBar(event: MouseEvent | TouchEvent): void;
195
+ protected onStartBar(event: MouseEvent | TouchEvent): void;
173
196
  /**
174
197
  * @ignore
175
198
  */
@@ -201,7 +224,11 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
201
224
  /**
202
225
  * @ignore
203
226
  */
204
- private calculateStep;
227
+ private calculatePercentOnMove;
228
+ /**
229
+ * @ignore
230
+ */
231
+ private roundToStep;
205
232
  /**
206
233
  * @ignore
207
234
  */
@@ -210,6 +237,10 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
210
237
  * @ignore
211
238
  */
212
239
  private checkValues;
240
+ /**
241
+ * @ignore
242
+ */
243
+ protected getValueFromPercent(value: number): number;
213
244
  /**
214
245
  * @ignore
215
246
  */
@@ -234,7 +265,8 @@ export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base
234
265
  * @ignore
235
266
  */
236
267
  private get __hostClass();
268
+ onNgModelChange(event: AXValueChangedEvent<any>): void;
237
269
  static ɵfac: i0.ɵɵFactoryDeclaration<AXRangeSliderComponent, never>;
238
- static ɵcmp: i0.ɵɵComponentDeclaration<AXRangeSliderComponent, "ax-range-slider", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "snap": { "alias": "snap"; "required": false; "isSignal": true; }; "tooltipMode": { "alias": "tooltipMode"; "required": false; "isSignal": true; }; "snapMode": { "alias": "snapMode"; "required": false; "isSignal": true; }; "hasSnap": { "alias": "hasSnap"; "required": false; "isSignal": true; }; "hasLable": { "alias": "hasLable"; "required": false; "isSignal": true; }; "hasTooltip": { "alias": "hasTooltip"; "required": false; "isSignal": true; }; }, { "onStart": "onStart"; "values": "valuesChange"; }, never, never, false, never>;
270
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXRangeSliderComponent, "ax-range-slider", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "snap": { "alias": "snap"; "required": false; "isSignal": true; }; "tooltipMode": { "alias": "tooltipMode"; "required": false; "isSignal": true; }; "snapMode": { "alias": "snapMode"; "required": false; "isSignal": true; }; "hasStep": { "alias": "hasStep"; "required": false; "isSignal": true; }; "hasSnap": { "alias": "hasSnap"; "required": false; "isSignal": true; }; "hasLable": { "alias": "hasLable"; "required": false; "isSignal": true; }; "hasTooltip": { "alias": "hasTooltip"; "required": false; "isSignal": true; }; }, { "onStart": "onStart"; "values": "valuesChange"; }, never, never, false, never>;
239
271
  }
240
272
  export {};
@@ -17,6 +17,10 @@ export declare class AXWysiwygColorsComponent {
17
17
  /** @ignore */
18
18
  protected selectedHighlightColor: import("@angular/core").WritableSignal<string>;
19
19
  /** @ignore */
20
+ protected userInteractColor: import("@angular/core").WritableSignal<boolean>;
21
+ /** @ignore */
22
+ protected userInteractHighligh: import("@angular/core").WritableSignal<boolean>;
23
+ /** @ignore */
20
24
  protected popoverOption: {
21
25
  openOn: AXPopoverOpenTrigger;
22
26
  closeOn: AXPopoverCloseTrigger;
@@ -30,6 +34,10 @@ export declare class AXWysiwygColorsComponent {
30
34
  protected changeColorHandler(e: string): void;
31
35
  /** @ignore */
32
36
  protected changeHighlightColorHandler(e: string): void;
37
+ /** @ignore */
38
+ protected initialHighlightHandler(): void;
39
+ /** @ignore */
40
+ protected initialColorHandler(): void;
33
41
  static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygColorsComponent, never>;
34
42
  static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygColorsComponent, "ax-wysiwyg-colors", never, {}, {}, never, never, false, never>;
35
43
  }
@@ -26,8 +26,6 @@ export declare class AXWysiwygFontStyleComponent {
26
26
  /** @ignore */
27
27
  constructor();
28
28
  /** @ignore */
29
- protected fontHandler(e: any): void;
30
- /** @ignore */
31
29
  protected bold(): void;
32
30
  /** @ignore */
33
31
  protected italic(): void;
@@ -7,10 +7,10 @@ import * as i0 from "@angular/core";
7
7
  export declare class AXWysiwygViewComponent {
8
8
  classes: import("@angular/core").InputSignal<string>;
9
9
  /** @ignore */
10
- wysiwygService: AXWysiwygService;
11
- /** @ignore */
12
- editorStateHandler(e: any): void;
10
+ protected wysiwygService: AXWysiwygService;
13
11
  get __hostClass(): string;
12
+ protected onKeydownHandler(e: any): void;
13
+ protected editorStateHandler(e: any): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<AXWysiwygViewComponent, never>;
15
15
  static ɵcmp: i0.ɵɵComponentDeclaration<AXWysiwygViewComponent, "ax-wysiwyg-view", never, { "classes": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
16
16
  }
@@ -2,6 +2,7 @@ import { AXWysiwyg } from '@acorex/cdk/wysiwyg';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class AXWysiwygService {
4
4
  wysiwyg: import("@angular/core").WritableSignal<AXWysiwyg>;
5
+ isEditorClean: import("@angular/core").WritableSignal<boolean>;
5
6
  currentSelectedElemArray: import("@angular/core").WritableSignal<string[]>;
6
7
  currentSelectedElemList: import("@angular/core").WritableSignal<string>;
7
8
  currentSelectedElemAlign: import("@angular/core").WritableSignal<string>;