@acorex/components 18.7.2 → 18.8.0
Sign up to get free protection for your applications and to get access to all the features.
- 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-messages/conversation-message-audio/conversation-message-audio.component.d.ts +1 -0
- package/conversation/lib/conversation.module.d.ts +2 -2
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +13 -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 +12 -9
- package/esm2022/conversation/lib/conversation.module.mjs +5 -5
- 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 +429 -6
- package/esm2022/range-slider/lib/range-slider.module.mjs +3 -2
- package/fesm2022/acorex-components-color-palette.mjs +18 -12
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +21 -17
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +434 -8
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/package.json +36 -36
- 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 +98 -2
- package/range-slider/lib/range-slider.module.d.ts +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@acorex/components",
|
3
|
-
"version": "18.
|
3
|
+
"version": "18.8.0",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@angular/common": ">=18.2.0",
|
6
6
|
"@angular/core": ">=18.2.0",
|
@@ -31,17 +31,11 @@
|
|
31
31
|
"esm": "./esm2022/action-sheet/acorex-components-action-sheet.mjs",
|
32
32
|
"default": "./fesm2022/acorex-components-action-sheet.mjs"
|
33
33
|
},
|
34
|
-
"./
|
35
|
-
"types": "./
|
36
|
-
"esm2022": "./esm2022/
|
37
|
-
"esm": "./esm2022/
|
38
|
-
"default": "./fesm2022/acorex-components-
|
39
|
-
},
|
40
|
-
"./audio-wave": {
|
41
|
-
"types": "./audio-wave/index.d.ts",
|
42
|
-
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
43
|
-
"esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
44
|
-
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
34
|
+
"./avatar": {
|
35
|
+
"types": "./avatar/index.d.ts",
|
36
|
+
"esm2022": "./esm2022/avatar/acorex-components-avatar.mjs",
|
37
|
+
"esm": "./esm2022/avatar/acorex-components-avatar.mjs",
|
38
|
+
"default": "./fesm2022/acorex-components-avatar.mjs"
|
45
39
|
},
|
46
40
|
"./badge": {
|
47
41
|
"types": "./badge/index.d.ts",
|
@@ -49,24 +43,30 @@
|
|
49
43
|
"esm": "./esm2022/badge/acorex-components-badge.mjs",
|
50
44
|
"default": "./fesm2022/acorex-components-badge.mjs"
|
51
45
|
},
|
52
|
-
"./avatar": {
|
53
|
-
"types": "./avatar/index.d.ts",
|
54
|
-
"esm2022": "./esm2022/avatar/acorex-components-avatar.mjs",
|
55
|
-
"esm": "./esm2022/avatar/acorex-components-avatar.mjs",
|
56
|
-
"default": "./fesm2022/acorex-components-avatar.mjs"
|
57
|
-
},
|
58
46
|
"./bottom-navigation": {
|
59
47
|
"types": "./bottom-navigation/index.d.ts",
|
60
48
|
"esm2022": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
|
61
49
|
"esm": "./esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs",
|
62
50
|
"default": "./fesm2022/acorex-components-bottom-navigation.mjs"
|
63
51
|
},
|
52
|
+
"./alert": {
|
53
|
+
"types": "./alert/index.d.ts",
|
54
|
+
"esm2022": "./esm2022/alert/acorex-components-alert.mjs",
|
55
|
+
"esm": "./esm2022/alert/acorex-components-alert.mjs",
|
56
|
+
"default": "./fesm2022/acorex-components-alert.mjs"
|
57
|
+
},
|
64
58
|
"./breadcrumbs": {
|
65
59
|
"types": "./breadcrumbs/index.d.ts",
|
66
60
|
"esm2022": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
|
67
61
|
"esm": "./esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs",
|
68
62
|
"default": "./fesm2022/acorex-components-breadcrumbs.mjs"
|
69
63
|
},
|
64
|
+
"./audio-wave": {
|
65
|
+
"types": "./audio-wave/index.d.ts",
|
66
|
+
"esm2022": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
67
|
+
"esm": "./esm2022/audio-wave/acorex-components-audio-wave.mjs",
|
68
|
+
"default": "./fesm2022/acorex-components-audio-wave.mjs"
|
69
|
+
},
|
70
70
|
"./button": {
|
71
71
|
"types": "./button/index.d.ts",
|
72
72
|
"esm2022": "./esm2022/button/acorex-components-button.mjs",
|
@@ -259,18 +259,18 @@
|
|
259
259
|
"esm": "./esm2022/notification/acorex-components-notification.mjs",
|
260
260
|
"default": "./fesm2022/acorex-components-notification.mjs"
|
261
261
|
},
|
262
|
-
"./otp": {
|
263
|
-
"types": "./otp/index.d.ts",
|
264
|
-
"esm2022": "./esm2022/otp/acorex-components-otp.mjs",
|
265
|
-
"esm": "./esm2022/otp/acorex-components-otp.mjs",
|
266
|
-
"default": "./fesm2022/acorex-components-otp.mjs"
|
267
|
-
},
|
268
262
|
"./number-box": {
|
269
263
|
"types": "./number-box/index.d.ts",
|
270
264
|
"esm2022": "./esm2022/number-box/acorex-components-number-box.mjs",
|
271
265
|
"esm": "./esm2022/number-box/acorex-components-number-box.mjs",
|
272
266
|
"default": "./fesm2022/acorex-components-number-box.mjs"
|
273
267
|
},
|
268
|
+
"./otp": {
|
269
|
+
"types": "./otp/index.d.ts",
|
270
|
+
"esm2022": "./esm2022/otp/acorex-components-otp.mjs",
|
271
|
+
"esm": "./esm2022/otp/acorex-components-otp.mjs",
|
272
|
+
"default": "./fesm2022/acorex-components-otp.mjs"
|
273
|
+
},
|
274
274
|
"./page": {
|
275
275
|
"types": "./page/index.d.ts",
|
276
276
|
"esm2022": "./esm2022/page/acorex-components-page.mjs",
|
@@ -331,18 +331,18 @@
|
|
331
331
|
"esm": "./esm2022/range-slider/acorex-components-range-slider.mjs",
|
332
332
|
"default": "./fesm2022/acorex-components-range-slider.mjs"
|
333
333
|
},
|
334
|
-
"./result": {
|
335
|
-
"types": "./result/index.d.ts",
|
336
|
-
"esm2022": "./esm2022/result/acorex-components-result.mjs",
|
337
|
-
"esm": "./esm2022/result/acorex-components-result.mjs",
|
338
|
-
"default": "./fesm2022/acorex-components-result.mjs"
|
339
|
-
},
|
340
334
|
"./routing-progress": {
|
341
335
|
"types": "./routing-progress/index.d.ts",
|
342
336
|
"esm2022": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
|
343
337
|
"esm": "./esm2022/routing-progress/acorex-components-routing-progress.mjs",
|
344
338
|
"default": "./fesm2022/acorex-components-routing-progress.mjs"
|
345
339
|
},
|
340
|
+
"./result": {
|
341
|
+
"types": "./result/index.d.ts",
|
342
|
+
"esm2022": "./esm2022/result/acorex-components-result.mjs",
|
343
|
+
"esm": "./esm2022/result/acorex-components-result.mjs",
|
344
|
+
"default": "./fesm2022/acorex-components-result.mjs"
|
345
|
+
},
|
346
346
|
"./scheduler": {
|
347
347
|
"types": "./scheduler/index.d.ts",
|
348
348
|
"esm2022": "./esm2022/scheduler/acorex-components-scheduler.mjs",
|
@@ -379,18 +379,18 @@
|
|
379
379
|
"esm": "./esm2022/side-menu/acorex-components-side-menu.mjs",
|
380
380
|
"default": "./fesm2022/acorex-components-side-menu.mjs"
|
381
381
|
},
|
382
|
-
"./slider": {
|
383
|
-
"types": "./slider/index.d.ts",
|
384
|
-
"esm2022": "./esm2022/slider/acorex-components-slider.mjs",
|
385
|
-
"esm": "./esm2022/slider/acorex-components-slider.mjs",
|
386
|
-
"default": "./fesm2022/acorex-components-slider.mjs"
|
387
|
-
},
|
388
382
|
"./skeleton": {
|
389
383
|
"types": "./skeleton/index.d.ts",
|
390
384
|
"esm2022": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
391
385
|
"esm": "./esm2022/skeleton/acorex-components-skeleton.mjs",
|
392
386
|
"default": "./fesm2022/acorex-components-skeleton.mjs"
|
393
387
|
},
|
388
|
+
"./slider": {
|
389
|
+
"types": "./slider/index.d.ts",
|
390
|
+
"esm2022": "./esm2022/slider/acorex-components-slider.mjs",
|
391
|
+
"esm": "./esm2022/slider/acorex-components-slider.mjs",
|
392
|
+
"default": "./fesm2022/acorex-components-slider.mjs"
|
393
|
+
},
|
394
394
|
"./step-wizard": {
|
395
395
|
"types": "./step-wizard/index.d.ts",
|
396
396
|
"esm2022": "./esm2022/step-wizard/acorex-components-step-wizard.mjs",
|
package/range-slider/index.d.ts
CHANGED
@@ -0,0 +1,8 @@
|
|
1
|
+
import { AXEvent } from '@acorex/components/common';
|
2
|
+
export interface AXRangeStartEvent extends AXEvent {
|
3
|
+
data: any;
|
4
|
+
}
|
5
|
+
export type AXRangeSliderValue = number | [number, number] | undefined;
|
6
|
+
export type AXRangeSliderMode = 'single' | 'dual';
|
7
|
+
export type AXRangeSliderSnapMode = 'both' | 'start' | 'end';
|
8
|
+
export type AXRangeSliderTooltipMode = 'start' | 'end';
|
@@ -1,9 +1,105 @@
|
|
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
|
+
private zone;
|
15
|
+
onStart: import("@angular/core").OutputEmitterRef<AXRangeStartEvent>;
|
16
|
+
orientation: import("@angular/core").InputSignal<AXOrientation>;
|
17
|
+
color: import("@angular/core").InputSignal<AXStyleColorType>;
|
18
|
+
values: import("@angular/core").ModelSignal<AXRangeSliderValue>;
|
19
|
+
mode: import("@angular/core").InputSignal<AXRangeSliderMode>;
|
20
|
+
min: import("@angular/core").InputSignal<number>;
|
21
|
+
max: import("@angular/core").InputSignal<number>;
|
22
|
+
step: import("@angular/core").InputSignal<number>;
|
23
|
+
snap: import("@angular/core").InputSignal<number>;
|
24
|
+
tooltipMode: import("@angular/core").InputSignal<AXRangeSliderTooltipMode>;
|
25
|
+
snapMode: import("@angular/core").InputSignal<AXRangeSliderSnapMode>;
|
26
|
+
hasSnap: import("@angular/core").InputSignal<boolean>;
|
27
|
+
hasLable: import("@angular/core").InputSignal<boolean>;
|
28
|
+
hasTooltip: import("@angular/core").InputSignal<boolean>;
|
29
|
+
height: number;
|
30
|
+
range: import("@angular/core").Signal<number>;
|
31
|
+
isHorizontal: import("@angular/core").Signal<boolean>;
|
32
|
+
isDual: import("@angular/core").Signal<boolean>;
|
33
|
+
calculateSnapBar: import("@angular/core").Signal<any[]>;
|
34
|
+
calculatePos: import("@angular/core").Signal<AXRangeSliderValue>;
|
35
|
+
private choosenHandler;
|
36
|
+
private sliderElement;
|
37
|
+
protected AXRangeSliderHighlight: import("@angular/core").Signal<{
|
38
|
+
left: string;
|
39
|
+
width: string;
|
40
|
+
height?: undefined;
|
41
|
+
top?: undefined;
|
42
|
+
} | {
|
43
|
+
height: string;
|
44
|
+
top: string;
|
45
|
+
left?: undefined;
|
46
|
+
width?: undefined;
|
47
|
+
}>;
|
48
|
+
protected AXRangeSliderHandler1: import("@angular/core").Signal<{
|
49
|
+
left: string;
|
50
|
+
top?: undefined;
|
51
|
+
} | {
|
52
|
+
top: string;
|
53
|
+
left?: undefined;
|
54
|
+
}>;
|
55
|
+
protected AXRangeSliderHandler2: import("@angular/core").Signal<{
|
56
|
+
left: string;
|
57
|
+
top?: undefined;
|
58
|
+
} | {
|
59
|
+
top: string;
|
60
|
+
left?: undefined;
|
61
|
+
}>;
|
62
|
+
protected AXRangeSliderStep: import("@angular/core").Signal<{
|
63
|
+
top: string;
|
64
|
+
height: string;
|
65
|
+
width?: undefined;
|
66
|
+
left?: undefined;
|
67
|
+
} | {
|
68
|
+
top: string;
|
69
|
+
width: string;
|
70
|
+
height?: undefined;
|
71
|
+
left?: undefined;
|
72
|
+
} | {
|
73
|
+
left: string;
|
74
|
+
width: string;
|
75
|
+
top?: undefined;
|
76
|
+
height?: undefined;
|
77
|
+
}>;
|
78
|
+
protected AXRangeLabel: import("@angular/core").Signal<{
|
79
|
+
top: string;
|
80
|
+
left?: undefined;
|
81
|
+
} | {
|
82
|
+
left: string;
|
83
|
+
top?: undefined;
|
84
|
+
}>;
|
85
|
+
constructor();
|
86
|
+
protected ngOnInit(): void;
|
87
|
+
handleOnStart(event: MouseEvent | TouchEvent, circle: 'first' | 'second'): void;
|
88
|
+
onclickBar(event: MouseEvent | TouchEvent): void;
|
89
|
+
onMove(event: MouseEvent | TouchEvent, circle: 'first' | 'second'): void;
|
90
|
+
onWheel(event: WheelEvent): void;
|
91
|
+
onEnd(moveListener: (event: MouseEvent | TouchEvent) => void, endListener: () => void): void;
|
92
|
+
initializeValues(): void;
|
93
|
+
fixInitializeUndefined(): void;
|
94
|
+
fixInitializeValues(): void;
|
95
|
+
fixInitializeStep(): void;
|
96
|
+
fixChangingMode(): void;
|
97
|
+
calculateStep(x: number): number;
|
98
|
+
checkValue(x: number): boolean;
|
99
|
+
checkValues(value1: number, y: 'first' | 'second', value2: number): boolean;
|
100
|
+
getPercantage(value: number): number;
|
101
|
+
private get __hostClass();
|
7
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRangeSliderComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRangeSliderComponent, "ax-range-slider", never, {}, {}, never, never, false, never>;
|
103
|
+
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
104
|
}
|
105
|
+
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
|
}
|