@acorex/components 18.7.2 → 18.8.1
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.
- package/color-palette/lib/color-palette-picker.component.d.ts +3 -3
- package/color-palette/lib/color-palette.module.d.ts +4 -3
- package/conversation/lib/conversation.module.d.ts +2 -2
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +10 -10
- package/esm2022/color-palette/lib/color-palette.component.mjs +2 -2
- package/esm2022/color-palette/lib/color-palette.module.mjs +5 -2
- package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +8 -9
- package/esm2022/conversation/lib/conversation.module.mjs +5 -5
- package/esm2022/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.mjs +5 -5
- package/esm2022/paint/lib/paint.module.mjs +18 -4
- package/esm2022/range-slider/index.mjs +3 -1
- package/esm2022/range-slider/lib/range-slider.class.mjs +3 -0
- package/esm2022/range-slider/lib/range-slider.component.mjs +599 -6
- package/esm2022/range-slider/lib/range-slider.module.mjs +3 -2
- package/esm2022/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.mjs +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +15 -12
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +17 -17
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +20 -6
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +604 -8
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/package.json +37 -37
- package/paint/lib/paint.module.d.ts +2 -2
- package/range-slider/index.d.ts +2 -0
- package/range-slider/lib/range-slider.class.d.ts +8 -0
- package/range-slider/lib/range-slider.component.d.ts +233 -2
- package/range-slider/lib/range-slider.module.d.ts +1 -1
- package/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.d.ts +1 -1
@@ -1,9 +1,240 @@
|
|
1
|
+
import { AXOrientation, AXStyleColorType, MXValueComponent } from '@acorex/components/common';
|
2
|
+
import { AXRangeSliderMode, AXRangeSliderSnapMode, AXRangeSliderTooltipMode, AXRangeSliderValue, AXRangeStartEvent } from './range-slider.class';
|
1
3
|
import * as i0 from "@angular/core";
|
4
|
+
declare const AXRangeSliderComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
|
5
|
+
new (): MXValueComponent<AXRangeSliderValue>;
|
6
|
+
ɵfac: import("@angular/core").ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
|
7
|
+
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXValueComponent<any>>;
|
8
|
+
}]>;
|
2
9
|
/**
|
3
10
|
* @category
|
4
11
|
* Range slider for selecting a range of values.
|
5
12
|
*/
|
6
|
-
export declare class AXRangeSliderComponent {
|
13
|
+
export declare class AXRangeSliderComponent extends AXRangeSliderComponent_base {
|
14
|
+
/**
|
15
|
+
* @ignore
|
16
|
+
*/
|
17
|
+
private zone;
|
18
|
+
/**
|
19
|
+
* @event onStart when user interact with range-slider with its bar
|
20
|
+
*/
|
21
|
+
onStart: import("@angular/core").OutputEmitterRef<AXRangeStartEvent>;
|
22
|
+
/**
|
23
|
+
* @description orientation including vertical and horizontal
|
24
|
+
*/
|
25
|
+
orientation: import("@angular/core").InputSignal<AXOrientation>;
|
26
|
+
/**
|
27
|
+
* @description color for highlight and tooltip and handler
|
28
|
+
*/
|
29
|
+
color: import("@angular/core").InputSignal<AXStyleColorType>;
|
30
|
+
/**
|
31
|
+
* @description values is a number single mode
|
32
|
+
* and array of 2 number for dual mode
|
33
|
+
*/
|
34
|
+
values: import("@angular/core").ModelSignal<AXRangeSliderValue>;
|
35
|
+
/**
|
36
|
+
* @description mode including single and dual
|
37
|
+
*/
|
38
|
+
mode: import("@angular/core").InputSignal<AXRangeSliderMode>;
|
39
|
+
/**
|
40
|
+
* @description minimum value
|
41
|
+
*/
|
42
|
+
min: import("@angular/core").InputSignal<number>;
|
43
|
+
/**
|
44
|
+
* @description maximum value
|
45
|
+
*/
|
46
|
+
max: import("@angular/core").InputSignal<number>;
|
47
|
+
/**
|
48
|
+
* @description step for changing values
|
49
|
+
*/
|
50
|
+
step: import("@angular/core").InputSignal<number>;
|
51
|
+
/**
|
52
|
+
* @description act as ruler for range slider,
|
53
|
+
* its range of showing to user
|
54
|
+
*/
|
55
|
+
snap: import("@angular/core").InputSignal<number>;
|
56
|
+
/**
|
57
|
+
* @description tooltip for showing value of handlers
|
58
|
+
*/
|
59
|
+
tooltipMode: import("@angular/core").InputSignal<AXRangeSliderTooltipMode>;
|
60
|
+
/**
|
61
|
+
* @description deferent modes for snap including start, end and both
|
62
|
+
*/
|
63
|
+
snapMode: import("@angular/core").InputSignal<AXRangeSliderSnapMode>;
|
64
|
+
/**
|
65
|
+
* @description a flag for showing snap
|
66
|
+
*/
|
67
|
+
hasSnap: import("@angular/core").InputSignal<boolean>;
|
68
|
+
/**
|
69
|
+
* @description a flag for showing snap labels
|
70
|
+
*/
|
71
|
+
hasLable: import("@angular/core").InputSignal<boolean>;
|
72
|
+
/**
|
73
|
+
* @description a flag for showing tooltip for values
|
74
|
+
*/
|
75
|
+
hasTooltip: import("@angular/core").InputSignal<boolean>;
|
76
|
+
height: number;
|
77
|
+
newHeight: string;
|
78
|
+
range: import("@angular/core").Signal<number>;
|
79
|
+
isHorizontal: import("@angular/core").Signal<boolean>;
|
80
|
+
isDual: import("@angular/core").Signal<boolean>;
|
81
|
+
/**
|
82
|
+
* @ignore
|
83
|
+
*/
|
84
|
+
protected calculateSnapBar: import("@angular/core").Signal<any[]>;
|
85
|
+
/**
|
86
|
+
* @ignore
|
87
|
+
*/
|
88
|
+
protected calculatePos: import("@angular/core").Signal<AXRangeSliderValue>;
|
89
|
+
/**
|
90
|
+
* @ignore
|
91
|
+
*/
|
92
|
+
private choosenHandler;
|
93
|
+
/**
|
94
|
+
* @ignore
|
95
|
+
*/
|
96
|
+
private sliderElement;
|
97
|
+
/**
|
98
|
+
* @ignore
|
99
|
+
*/
|
100
|
+
protected AXRangeSliderHighlight: import("@angular/core").Signal<{
|
101
|
+
left: string;
|
102
|
+
width: string;
|
103
|
+
height?: undefined;
|
104
|
+
top?: undefined;
|
105
|
+
} | {
|
106
|
+
height: string;
|
107
|
+
top: string;
|
108
|
+
left?: undefined;
|
109
|
+
width?: undefined;
|
110
|
+
}>;
|
111
|
+
/**
|
112
|
+
* @ignore
|
113
|
+
*/
|
114
|
+
protected AXRangeSliderHandler1: import("@angular/core").Signal<{
|
115
|
+
left: string;
|
116
|
+
top?: undefined;
|
117
|
+
} | {
|
118
|
+
top: string;
|
119
|
+
left?: undefined;
|
120
|
+
}>;
|
121
|
+
/**
|
122
|
+
* @ignore
|
123
|
+
*/
|
124
|
+
protected AXRangeSliderHandler2: import("@angular/core").Signal<{
|
125
|
+
left: string;
|
126
|
+
top?: undefined;
|
127
|
+
} | {
|
128
|
+
top: string;
|
129
|
+
left?: undefined;
|
130
|
+
}>;
|
131
|
+
/**
|
132
|
+
* @ignore
|
133
|
+
*/
|
134
|
+
protected AXRangeSliderStep: import("@angular/core").Signal<{
|
135
|
+
top: string;
|
136
|
+
height: string;
|
137
|
+
width?: undefined;
|
138
|
+
left?: undefined;
|
139
|
+
} | {
|
140
|
+
top: string;
|
141
|
+
width: string;
|
142
|
+
height?: undefined;
|
143
|
+
left?: undefined;
|
144
|
+
} | {
|
145
|
+
left: string;
|
146
|
+
width: string;
|
147
|
+
top?: undefined;
|
148
|
+
height?: undefined;
|
149
|
+
}>;
|
150
|
+
/**
|
151
|
+
* @ignore
|
152
|
+
*/
|
153
|
+
protected AXRangeLabel: import("@angular/core").Signal<{
|
154
|
+
top: string;
|
155
|
+
left?: undefined;
|
156
|
+
} | {
|
157
|
+
left: string;
|
158
|
+
top?: undefined;
|
159
|
+
}>;
|
160
|
+
constructor();
|
161
|
+
/**
|
162
|
+
* @ignore
|
163
|
+
*/
|
164
|
+
protected ngOnInit(): void;
|
165
|
+
/**
|
166
|
+
* @ignore
|
167
|
+
*/
|
168
|
+
protected handleOnStart(event: MouseEvent | TouchEvent, circle: 'first' | 'second'): void;
|
169
|
+
/**
|
170
|
+
* @ignore
|
171
|
+
*/
|
172
|
+
protected onclickBar(event: MouseEvent | TouchEvent): void;
|
173
|
+
/**
|
174
|
+
* @ignore
|
175
|
+
*/
|
176
|
+
protected onMove(event: MouseEvent | TouchEvent, circle: 'first' | 'second'): void;
|
177
|
+
/**
|
178
|
+
* @ignore
|
179
|
+
*/
|
180
|
+
protected onEnd(moveListener: (event: MouseEvent | TouchEvent) => void, endListener: () => void): void;
|
181
|
+
/**
|
182
|
+
* @ignore
|
183
|
+
*/
|
184
|
+
private initializeValues;
|
185
|
+
/**
|
186
|
+
* @ignore
|
187
|
+
*/
|
188
|
+
private fixInitializeUndefined;
|
189
|
+
/**
|
190
|
+
* @ignore
|
191
|
+
*/
|
192
|
+
private fixInitializeValues;
|
193
|
+
/**
|
194
|
+
* @ignore
|
195
|
+
*/
|
196
|
+
private fixInitializeStep;
|
197
|
+
/**
|
198
|
+
* @ignore
|
199
|
+
*/
|
200
|
+
private fixChangingMode;
|
201
|
+
/**
|
202
|
+
* @ignore
|
203
|
+
*/
|
204
|
+
private calculateStep;
|
205
|
+
/**
|
206
|
+
* @ignore
|
207
|
+
*/
|
208
|
+
private checkValue;
|
209
|
+
/**
|
210
|
+
* @ignore
|
211
|
+
*/
|
212
|
+
private checkValues;
|
213
|
+
/**
|
214
|
+
* @ignore
|
215
|
+
*/
|
216
|
+
protected getPercantage(value: number): number;
|
217
|
+
/**
|
218
|
+
* Increase a step to value if slider in single mode
|
219
|
+
* and increase a step the second value if slider in dual mode
|
220
|
+
* @method increaseStep
|
221
|
+
*/
|
222
|
+
increaseStep(): void;
|
223
|
+
/**
|
224
|
+
* Decrease a step to value if slider in single mode
|
225
|
+
* and decrease a step the second value if slider in dual mode
|
226
|
+
* @method decreaseStep
|
227
|
+
*/
|
228
|
+
decreaseStep(): void;
|
229
|
+
/**
|
230
|
+
* @ignore
|
231
|
+
*/
|
232
|
+
onWheel(event: WheelEvent): void;
|
233
|
+
/**
|
234
|
+
* @ignore
|
235
|
+
*/
|
236
|
+
private get __hostClass();
|
7
237
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRangeSliderComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRangeSliderComponent, "ax-range-slider", never, {}, {}, never, never, false, 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>;
|
9
239
|
}
|
240
|
+
export {};
|
@@ -3,6 +3,6 @@ import * as i1 from "./range-slider.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
export declare class AXRangeSliderModule {
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRangeSliderModule, never>;
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXRangeSliderModule, [typeof i1.AXRangeSliderComponent], [typeof i2.CommonModule],
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXRangeSliderModule, [typeof i1.AXRangeSliderComponent], [typeof i2.CommonModule], [typeof i1.AXRangeSliderComponent]>;
|
7
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXRangeSliderModule>;
|
8
8
|
}
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
5
5
|
* @category Components
|
6
6
|
*/
|
7
7
|
export declare class AXUploaderDropZoneComponent extends MXBaseComponent {
|
8
|
-
|
8
|
+
description: import("@angular/core").InputSignal<string>;
|
9
9
|
preventRefresh(): boolean;
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderDropZoneComponent, never>;
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderDropZoneComponent, "ax-uploader-drop-zone", never, { "description": { "alias": "description"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|