@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
@@ -1,15 +1,438 @@
|
|
1
|
-
import {
|
1
|
+
import { AXValuableComponent, MXValueComponent, } from '@acorex/components/common';
|
2
|
+
import { ChangeDetectionStrategy, Component, HostBinding, NgZone, ViewEncapsulation, computed, effect, forwardRef, inject, input, model, output, } from '@angular/core';
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
+
import { classes } from 'polytype';
|
2
5
|
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "@angular/common";
|
3
7
|
/**
|
4
8
|
* @category
|
5
9
|
* Range slider for selecting a range of values.
|
6
10
|
*/
|
7
|
-
export class AXRangeSliderComponent {
|
11
|
+
export class AXRangeSliderComponent extends classes((MXValueComponent)) {
|
12
|
+
//protected AXTooltip = computed(() => {});
|
13
|
+
constructor() {
|
14
|
+
super();
|
15
|
+
this.zone = inject(NgZone);
|
16
|
+
//outputs
|
17
|
+
this.onStart = output();
|
18
|
+
//inputs
|
19
|
+
this.orientation = input('horizontal');
|
20
|
+
this.color = input('primary');
|
21
|
+
this.values = model(this.value);
|
22
|
+
this.mode = input('single');
|
23
|
+
this.min = input(0);
|
24
|
+
this.max = input(100);
|
25
|
+
this.step = input(1);
|
26
|
+
this.snap = input(1);
|
27
|
+
this.tooltipMode = input('end');
|
28
|
+
this.snapMode = input('start');
|
29
|
+
this.hasSnap = input(false);
|
30
|
+
this.hasLable = input(this.hasSnap());
|
31
|
+
this.hasTooltip = input(false);
|
32
|
+
//computed
|
33
|
+
this.height = 0.25;
|
34
|
+
this.range = computed(() => this.max() - this.min());
|
35
|
+
this.isHorizontal = computed(() => this.orientation() === 'horizontal');
|
36
|
+
this.isDual = computed(() => this.mode() === 'dual');
|
37
|
+
this.calculateSnapBar = computed(() => {
|
38
|
+
if (this.hasSnap()) {
|
39
|
+
let array = [];
|
40
|
+
for (let i = this.min(); i < this.max(); i += this.snap()) {
|
41
|
+
array.push(i);
|
42
|
+
}
|
43
|
+
array = [...array, this.max()];
|
44
|
+
if (array[0] < 0) {
|
45
|
+
array = array.map((i) => i + -array[0]).sort((a, b) => a - b);
|
46
|
+
}
|
47
|
+
if (array[0] > 0) {
|
48
|
+
array = array.map((i) => i - array[0]).sort((a, b) => a - b);
|
49
|
+
}
|
50
|
+
return array;
|
51
|
+
}
|
52
|
+
else {
|
53
|
+
return undefined;
|
54
|
+
}
|
55
|
+
});
|
56
|
+
this.calculatePos = computed(() => {
|
57
|
+
if (this.isDual() && this.values()) {
|
58
|
+
return [
|
59
|
+
((this.values()[0] - this.min()) / this.range()) * 100,
|
60
|
+
((this.values()[1] - this.min()) / this.range()) * 100,
|
61
|
+
];
|
62
|
+
}
|
63
|
+
else {
|
64
|
+
return ((this.values() - this.min()) / this.range()) * 100;
|
65
|
+
}
|
66
|
+
});
|
67
|
+
this.choosenHandler = undefined;
|
68
|
+
this.sliderElement = null;
|
69
|
+
this.AXRangeSliderHighlight = computed(() => this.isHorizontal()
|
70
|
+
? {
|
71
|
+
left: this.isDual() ? this.calculatePos()[0] + '%' : this.min() + '%',
|
72
|
+
width: this.isDual()
|
73
|
+
? this.calculatePos()[1] - this.calculatePos()[0] + '%'
|
74
|
+
: this.calculatePos() + '%',
|
75
|
+
}
|
76
|
+
: {
|
77
|
+
height: this.isDual()
|
78
|
+
? this.calculatePos()[1] - this.calculatePos()[0] + '%'
|
79
|
+
: this.calculatePos() + '%',
|
80
|
+
top: this.mode() === 'dual' ? this.calculatePos()[0] + '%' : this.min() + '%',
|
81
|
+
});
|
82
|
+
this.AXRangeSliderHandler1 = computed(() => this.isHorizontal()
|
83
|
+
? {
|
84
|
+
left: this.isDual() ? this.calculatePos()[0] + '%' : this.calculatePos() + '%',
|
85
|
+
}
|
86
|
+
: {
|
87
|
+
top: this.isDual() ? this.calculatePos()[0] + '%' : this.calculatePos() + '%',
|
88
|
+
});
|
89
|
+
this.AXRangeSliderHandler2 = computed(() => this.isHorizontal()
|
90
|
+
? {
|
91
|
+
left: this.calculatePos()[1] + '%',
|
92
|
+
}
|
93
|
+
: {
|
94
|
+
top: this.calculatePos()[1] + '%',
|
95
|
+
});
|
96
|
+
this.AXRangeSliderStep = computed(() => {
|
97
|
+
if (this.isHorizontal()) {
|
98
|
+
switch (this.snapMode()) {
|
99
|
+
case 'both':
|
100
|
+
return { top: '0', height: 8 * this.height + 'rem' };
|
101
|
+
case 'start':
|
102
|
+
return { top: 4 * this.height + 'rem', height: 4 * this.height + 'rem' };
|
103
|
+
case 'end':
|
104
|
+
return { top: -2 * this.height + 'rem', height: 4 * this.height + 'rem' };
|
105
|
+
}
|
106
|
+
}
|
107
|
+
else {
|
108
|
+
switch (this.snapMode()) {
|
109
|
+
case 'both':
|
110
|
+
return { top: '0', width: 8 * this.height + 'rem' };
|
111
|
+
case 'start':
|
112
|
+
return { left: 4 * this.height + 'rem', width: 4 * this.height + 'rem' };
|
113
|
+
case 'end':
|
114
|
+
return { left: -2 * this.height + 'rem', width: 4 * this.height + 'rem' };
|
115
|
+
}
|
116
|
+
}
|
117
|
+
});
|
118
|
+
this.AXRangeLabel = computed(() => {
|
119
|
+
if (this.isHorizontal()) {
|
120
|
+
switch (this.snapMode()) {
|
121
|
+
case 'both':
|
122
|
+
return { top: 6 * this.height + 'rem' };
|
123
|
+
case 'start':
|
124
|
+
return { top: 4 * this.height + 'rem' };
|
125
|
+
case 'end':
|
126
|
+
return { top: -6 * this.height + 'rem' };
|
127
|
+
}
|
128
|
+
}
|
129
|
+
else {
|
130
|
+
switch (this.snapMode()) {
|
131
|
+
case 'both':
|
132
|
+
return { left: 8 * this.height + 'rem' };
|
133
|
+
case 'start':
|
134
|
+
return { left: 4 * this.height + 'rem' };
|
135
|
+
case 'end':
|
136
|
+
return { left: -8 * this.height + 'rem' };
|
137
|
+
}
|
138
|
+
}
|
139
|
+
});
|
140
|
+
effect(() => {
|
141
|
+
this.fixInitializeValues();
|
142
|
+
this.fixChangingMode();
|
143
|
+
}, { allowSignalWrites: true });
|
144
|
+
}
|
145
|
+
ngOnInit() {
|
146
|
+
super.ngOnInit();
|
147
|
+
this.initializeValues();
|
148
|
+
}
|
149
|
+
handleOnStart(event, circle) {
|
150
|
+
this.zone.runOutsideAngular(() => {
|
151
|
+
if (this.disabled)
|
152
|
+
return;
|
153
|
+
event.preventDefault();
|
154
|
+
this.sliderElement = event.target.closest('ax-range-slider');
|
155
|
+
if (this.sliderElement) {
|
156
|
+
this.choosenHandler = circle;
|
157
|
+
const moveListener = (moveEvent) => this.onMove(moveEvent, circle);
|
158
|
+
const endListener = () => this.onEnd(moveListener, endListener);
|
159
|
+
window.addEventListener('mousemove', moveListener);
|
160
|
+
window.addEventListener('mouseup', endListener);
|
161
|
+
window.addEventListener('touchmove', moveListener, { passive: true });
|
162
|
+
window.addEventListener('touchend', endListener);
|
163
|
+
}
|
164
|
+
});
|
165
|
+
}
|
166
|
+
onclickBar(event) {
|
167
|
+
this.sliderElement = event.target.closest('ax-range-slider');
|
168
|
+
this.zone.runOutsideAngular(() => {
|
169
|
+
if (!this.sliderElement || this.disabled)
|
170
|
+
return;
|
171
|
+
const clientX = event instanceof MouseEvent ? event.clientX : event.touches[0].clientX;
|
172
|
+
const sliderRect = this.sliderElement.getBoundingClientRect();
|
173
|
+
const clickPosition = ((clientX - sliderRect.left) / sliderRect.width) * 100;
|
174
|
+
let newValue = Math.round(this.min() + (clickPosition / 100) * (this.max() - this.min()));
|
175
|
+
newValue = this.calculateStep(newValue);
|
176
|
+
if (this.isDual()) {
|
177
|
+
if (clickPosition < this.calculatePos()[0]) {
|
178
|
+
this.values.set([newValue, this.values()[1]]);
|
179
|
+
this.commitValue(this.values());
|
180
|
+
}
|
181
|
+
else if (clickPosition > this.calculatePos()[1]) {
|
182
|
+
this.values.set([this.values()[0], newValue]);
|
183
|
+
this.commitValue(this.values());
|
184
|
+
}
|
185
|
+
}
|
186
|
+
else {
|
187
|
+
if (clickPosition > this.calculatePos()) {
|
188
|
+
this.values.set(newValue);
|
189
|
+
this.commitValue(this.values());
|
190
|
+
}
|
191
|
+
}
|
192
|
+
this.onStart.emit({
|
193
|
+
component: this,
|
194
|
+
htmlElement: event.target,
|
195
|
+
isUserInteraction: event.isTrusted,
|
196
|
+
data: this.values(),
|
197
|
+
});
|
198
|
+
});
|
199
|
+
}
|
200
|
+
onMove(event, circle) {
|
201
|
+
if (!this.sliderElement || this.readonly)
|
202
|
+
return;
|
203
|
+
const sliderRect = this.sliderElement.getBoundingClientRect();
|
204
|
+
let newValue;
|
205
|
+
if (this.isHorizontal()) {
|
206
|
+
const clientX = event instanceof MouseEvent ? event.clientX : event.touches[0].clientX;
|
207
|
+
let newLeft = ((clientX - sliderRect.left) / sliderRect.width) * 100;
|
208
|
+
newLeft = Math.max(0, Math.min(newLeft, 100));
|
209
|
+
newValue = Math.round(this.min() + (newLeft / 100) * (this.max() - this.min()));
|
210
|
+
}
|
211
|
+
else {
|
212
|
+
const clientY = event instanceof MouseEvent ? event.clientY : event.touches[0].clientY;
|
213
|
+
let newLeft = ((clientY - sliderRect.top) / sliderRect.height) * 100;
|
214
|
+
newLeft = Math.max(0, Math.min(newLeft, 100));
|
215
|
+
newValue = Math.round(this.min() + (newLeft / 100) * (this.max() - this.min()));
|
216
|
+
}
|
217
|
+
if (!this.readonly) {
|
218
|
+
if (this.isDual()) {
|
219
|
+
if (circle === 'first') {
|
220
|
+
newValue = Math.max(this.min(), Math.min(newValue, this.values()[1] - this.step()));
|
221
|
+
if (this.step() !== 1)
|
222
|
+
newValue = this.calculateStep(newValue);
|
223
|
+
if (this.values()[0] !== newValue) {
|
224
|
+
this.values.set([newValue, this.values()[1]]);
|
225
|
+
this.commitValue(this.values());
|
226
|
+
}
|
227
|
+
}
|
228
|
+
else {
|
229
|
+
newValue = Math.min(this.max(), Math.max(newValue, this.values()[0] + this.step()));
|
230
|
+
if (this.step() !== 1)
|
231
|
+
newValue = this.calculateStep(newValue);
|
232
|
+
if (this.values()[1] !== newValue) {
|
233
|
+
this.values.set([this.values()[0], newValue]);
|
234
|
+
this.commitValue(this.values());
|
235
|
+
}
|
236
|
+
}
|
237
|
+
}
|
238
|
+
else {
|
239
|
+
newValue = Math.max(this.min(), newValue);
|
240
|
+
if (this.step() !== 1)
|
241
|
+
newValue = this.calculateStep(newValue);
|
242
|
+
if (this.values() !== newValue) {
|
243
|
+
this.values.set(newValue);
|
244
|
+
this.commitValue(newValue);
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
249
|
+
onWheel(event) {
|
250
|
+
this.zone.runOutsideAngular(() => {
|
251
|
+
event.preventDefault();
|
252
|
+
if ((this.choosenHandler && this.mode() === 'single') || this.readonly)
|
253
|
+
return;
|
254
|
+
let newValue;
|
255
|
+
if (this.isDual()) {
|
256
|
+
if (event.deltaY < 0) {
|
257
|
+
if (this.choosenHandler === 'first') {
|
258
|
+
newValue = this.calculateStep(this.values()[0] + this.step());
|
259
|
+
if (this.checkValues(newValue, this.choosenHandler, this.values()[1]) &&
|
260
|
+
this.values()[0] !== newValue) {
|
261
|
+
this.values.update((old) => [this.calculateStep(old[0] + this.step()), old[1]]);
|
262
|
+
}
|
263
|
+
}
|
264
|
+
else {
|
265
|
+
newValue = this.calculateStep(this.values()[1] + this.step());
|
266
|
+
if (newValue <= this.max() && this.values()[1] !== newValue) {
|
267
|
+
this.values.update((old) => [old[0], this.calculateStep(old[1] + this.step())]);
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
else {
|
272
|
+
if (this.choosenHandler === 'first') {
|
273
|
+
newValue = this.calculateStep(this.values()[0] - this.step());
|
274
|
+
if (this.checkValues(newValue, this.choosenHandler, this.values()[1]) &&
|
275
|
+
this.values() !== newValue) {
|
276
|
+
this.values.update((old) => [this.calculateStep(old[0] - this.step()), old[1]]);
|
277
|
+
}
|
278
|
+
}
|
279
|
+
else {
|
280
|
+
newValue = this.calculateStep(this.values()[1] - this.step());
|
281
|
+
if (this.checkValues(newValue, this.choosenHandler, this.values()[0]) &&
|
282
|
+
this.values()[1] !== newValue) {
|
283
|
+
this.values.update((old) => [old[0], this.calculateStep(old[1] - this.step())]);
|
284
|
+
}
|
285
|
+
}
|
286
|
+
}
|
287
|
+
}
|
288
|
+
else {
|
289
|
+
if (event.deltaY < 0) {
|
290
|
+
if (this.checkValue(this.calculateStep(this.values() + this.step()))) {
|
291
|
+
this.values.update((old) => this.calculateStep(old + this.step()));
|
292
|
+
}
|
293
|
+
}
|
294
|
+
else {
|
295
|
+
if (this.checkValue(this.calculateStep(this.values() - this.step()))) {
|
296
|
+
this.values.update((old) => this.calculateStep(old - this.step()));
|
297
|
+
}
|
298
|
+
}
|
299
|
+
}
|
300
|
+
});
|
301
|
+
}
|
302
|
+
onEnd(moveListener, endListener) {
|
303
|
+
window.removeEventListener('mousemove', moveListener);
|
304
|
+
window.removeEventListener('mouseup', endListener);
|
305
|
+
window.removeEventListener('touchmove', moveListener);
|
306
|
+
window.removeEventListener('touchend', endListener);
|
307
|
+
this.sliderElement = null;
|
308
|
+
}
|
309
|
+
initializeValues() {
|
310
|
+
this.fixInitializeUndefined();
|
311
|
+
this.fixInitializeValues();
|
312
|
+
this.fixInitializeStep();
|
313
|
+
}
|
314
|
+
fixInitializeUndefined() {
|
315
|
+
if (typeof this.values() === 'undefined') {
|
316
|
+
if (this.isDual()) {
|
317
|
+
this.values.set([this.min(), this.max()]);
|
318
|
+
}
|
319
|
+
else {
|
320
|
+
this.values.set(this.min());
|
321
|
+
}
|
322
|
+
this.commitValue(this.values());
|
323
|
+
}
|
324
|
+
}
|
325
|
+
fixInitializeValues() {
|
326
|
+
//swap value
|
327
|
+
if (this.isDual() && this.values()[0] > this.values()[1]) {
|
328
|
+
this.values.set([this.values()[1], this.values()[0]]);
|
329
|
+
this.commitValue(this.values());
|
330
|
+
}
|
331
|
+
//not in range
|
332
|
+
if (typeof this.values() === 'number' && !this.checkValue(this.values())) {
|
333
|
+
this.values.set(this.min());
|
334
|
+
this.commitValue(this.values());
|
335
|
+
}
|
336
|
+
else if (typeof this.values() !== 'number' &&
|
337
|
+
!this.checkValues(this.values()[0], 'first', this.values()[1])) {
|
338
|
+
this.values.set([this.min(), this.max()]);
|
339
|
+
this.commitValue(this.values());
|
340
|
+
}
|
341
|
+
}
|
342
|
+
fixInitializeStep() {
|
343
|
+
if (this.step() !== 1) {
|
344
|
+
if (this.isDual()) {
|
345
|
+
this.values.update((old) => [this.calculateStep(old[0]), this.calculateStep(old[1])]);
|
346
|
+
this.commitValue(this.values());
|
347
|
+
if (this.values()[0] === this.values()[1]) {
|
348
|
+
this.values.update((old) => [this.calculateStep(old[0]), this.calculateStep(old[1]) + this.step()]);
|
349
|
+
this.commitValue(this.values());
|
350
|
+
}
|
351
|
+
}
|
352
|
+
else {
|
353
|
+
this.values.update((old) => this.calculateStep(old));
|
354
|
+
this.commitValue(this.values());
|
355
|
+
}
|
356
|
+
}
|
357
|
+
}
|
358
|
+
fixChangingMode() {
|
359
|
+
if (typeof this.values() === 'number' && this.isDual()) {
|
360
|
+
this.values.set([this.min(), this.max()]);
|
361
|
+
this.commitValue(this.values());
|
362
|
+
}
|
363
|
+
else if (typeof this.values() !== 'number' && !this.isDual()) {
|
364
|
+
this.values.set(this.min());
|
365
|
+
this.commitValue(this.values());
|
366
|
+
}
|
367
|
+
}
|
368
|
+
calculateStep(x) {
|
369
|
+
const roundedValue = Math.round(x / this.step()) * this.step();
|
370
|
+
if (roundedValue > this.max())
|
371
|
+
return this.max();
|
372
|
+
else if (roundedValue < this.min())
|
373
|
+
return this.min();
|
374
|
+
//else if (x >= this.min() && x < this.min() - (this.min() % this.step())) return this.min();
|
375
|
+
else if (x <= this.max() && x > this.max() - (this.max() % this.step()))
|
376
|
+
return this.max();
|
377
|
+
else
|
378
|
+
return roundedValue;
|
379
|
+
}
|
380
|
+
checkValue(x) {
|
381
|
+
if (x >= this.min() && x <= this.max())
|
382
|
+
return true;
|
383
|
+
else
|
384
|
+
return false;
|
385
|
+
}
|
386
|
+
checkValues(value1, y, value2) {
|
387
|
+
if (value1 >= this.min() && value1 <= this.max()) {
|
388
|
+
if (y === 'first') {
|
389
|
+
if (value1 < value2 && value2 <= this.max())
|
390
|
+
return true;
|
391
|
+
else
|
392
|
+
return false;
|
393
|
+
}
|
394
|
+
else {
|
395
|
+
if (value1 > value2 && value2 >= this.min())
|
396
|
+
return true;
|
397
|
+
else
|
398
|
+
return false;
|
399
|
+
}
|
400
|
+
}
|
401
|
+
else
|
402
|
+
return false;
|
403
|
+
}
|
404
|
+
getPercantage(value) {
|
405
|
+
return (value / this.range()) * 100;
|
406
|
+
}
|
407
|
+
get __hostClass() {
|
408
|
+
return [
|
409
|
+
`ax-${this.color()}-solid`,
|
410
|
+
`${this.disabled ? 'ax-state-disabled' : ''}`,
|
411
|
+
`${this.readonly ? 'ax-state-readonly' : ''}`,
|
412
|
+
];
|
413
|
+
}
|
8
414
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRangeSliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
415
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXRangeSliderComponent, selector: "ax-range-slider", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, snap: { classPropertyName: "snap", publicName: "snap", isSignal: true, isRequired: false, transformFunction: null }, tooltipMode: { classPropertyName: "tooltipMode", publicName: "tooltipMode", isSignal: true, isRequired: false, transformFunction: null }, snapMode: { classPropertyName: "snapMode", publicName: "snapMode", isSignal: true, isRequired: false, transformFunction: null }, hasSnap: { classPropertyName: "hasSnap", publicName: "hasSnap", isSignal: true, isRequired: false, transformFunction: null }, hasLable: { classPropertyName: "hasLable", publicName: "hasLable", isSignal: true, isRequired: false, transformFunction: null }, hasTooltip: { classPropertyName: "hasTooltip", publicName: "hasTooltip", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onStart: "onStart", values: "valuesChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
416
|
+
{ provide: AXValuableComponent, useExisting: AXRangeSliderComponent },
|
417
|
+
{
|
418
|
+
provide: NG_VALUE_ACCESSOR,
|
419
|
+
useExisting: forwardRef(() => AXRangeSliderComponent),
|
420
|
+
multi: true,
|
421
|
+
},
|
422
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-range-slider\" (wheel)=\"onWheel($event)\" [class]=\"'ax-orientation-' + orientation()\">\n <div class=\"ax-range-slider-bar\" (mousedown)=\"onclickBar($event)\" (touchstart)=\"onclickBar($event)\"></div>\n <div class=\"ax-range-slider-highlight\" [ngStyle]=\"AXRangeSliderHighlight()\"></div>\n\n <div\n class=\"ax-range-slider-handler\"\n [ngStyle]=\"AXRangeSliderHandler1()\"\n (mousedown)=\"handleOnStart($event, 'first')\"\n (touchstart)=\"handleOnStart($event, 'first')\"\n >\n @if (hasTooltip()) {\n <div class=\"ax-range-slider-tooltip\">{{ isDual() ? values()[0] : values() }}</div>\n }\n </div>\n\n @if (isDual()) {\n <div\n class=\"ax-range-slider-handler\"\n [ngStyle]=\"AXRangeSliderHandler2()\"\n (mousedown)=\"handleOnStart($event, 'second')\"\n (touchstart)=\"handleOnStart($event, 'second')\"\n >\n @if (hasTooltip()) {\n <div class=\"ax-range-slider-tooltip\">{{ values()[1] }}</div>\n }\n </div>\n }\n @if (hasSnap()) {\n <div class=\"ax-range-slider-step\" [ngStyle]=\"AXRangeSliderStep()\">\n @for (item of calculateSnapBar(); track $index) {\n <div\n class=\"ax-range-slider-steps\"\n [ngStyle]=\"\n isHorizontal() ? { left: getPercantage(item) + '%' } : { top: getPercantage(item) + '%' }\n \"\n >\n @if (hasLable()) {\n <div class=\"ax-range-slider-label\" [ngStyle]=\"AXRangeLabel()\">\n {{ item + min() }}\n </div>\n }\n </div>\n }\n </div>\n }\n</div>\n", styles: [":root{--ax-range-slider-base-thickness: .25rem}ax-range-slider{display:flex;align-items:center;justify-content:center;font-size:small}ax-range-slider .ax-range-slider.ax-orientation-horizontal{position:relative;width:100%;height:calc(var(--ax-range-slider-base-thickness) * 4)}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-bar{position:absolute;top:50%;left:0;width:100.1%;height:var(--ax-range-slider-base-thickness);transform:translateY(-50%);z-index:20;border-radius:9999rem;background-color:rgb(var(--ax-range-slider-bg));cursor:pointer}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-highlight{position:absolute;top:50%;height:calc(var(--ax-range-slider-base-thickness) * 3 / 2);transform:translateY(-50%);z-index:20;border-radius:9999rem;background-color:rgb(var(--ax-range-slider-fg))}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-handler{position:absolute;top:50%;width:calc(var(--ax-range-slider-base-thickness) * 6);height:calc(var(--ax-range-slider-base-thickness) * 6);z-index:20;background-color:rgb(var(--ax-range-slider-fg));border-radius:50%;cursor:pointer;transform:translate(-50%,-50%);transition:box-shadow .1s linear}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-handler:hover{box-shadow:var(--tw-ring-inset) 0 0 0 calc(.6rem + var(--tw-ring-offset-width)) rgba(var(--ax-range-slider-fg),.25)}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-handler:active{box-shadow:var(--tw-ring-inset) 0 0 0 calc(.6rem + var(--tw-ring-offset-width)) rgba(var(--ax-range-slider-fg),.25)}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-tooltip{position:absolute;left:calc(var(--ax-range-slider-base-thickness) * 2.8);top:calc(var(--ax-range-slider-base-thickness) * -2);background-color:rgb(var(--ax-range-slider-fg));color:rgb(var(--ax-range-tooltip-text));padding:5px 10px;border-radius:3px;white-space:nowrap;transform:translate(-50%,-125%)}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-tooltip:after{content:\"\";position:absolute;top:calc(var(--ax-range-slider-base-thickness) * 7);left:50%;transform:translate(-50%);border-width:.5rem;border-style:solid;border-color:rgb(var(--ax-range-slider-fg)) transparent transparent transparent}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-step{position:absolute;display:flex;flex-direction:row;width:100%;z-index:10}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-step .ax-range-slider-steps{position:absolute;border-left:calc(var(--ax-range-slider-base-thickness) / 2) solid rgb(var(--ax-color-border-default));height:50%}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-step .ax-range-slider-steps .ax-range-slider-label{position:relative;text-align:center;top:calc(var(--ax-range-slider-base-thickness) * 2);left:-50%}ax-range-slider .ax-range-slider.ax-orientation-vertical{position:relative;width:calc(var(--ax-range-slider-base-thickness) * 4);height:100%}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-bar{position:absolute;top:0;left:50%;width:var(--ax-range-slider-base-thickness);height:100.1%;transform:translate(-50%);z-index:20;border-radius:9999rem;background-color:rgb(var(--ax-range-slider-bg));cursor:pointer}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-highlight{position:absolute;left:50%;width:calc(var(--ax-range-slider-base-thickness) * 3 / 2);transform:translate(-50%);z-index:20;border-radius:9999rem;background-color:rgb(var(--ax-range-slider-fg))}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-handler{position:absolute;left:50%;width:calc(var(--ax-range-slider-base-thickness) * 6);height:calc(var(--ax-range-slider-base-thickness) * 6);z-index:20;background-color:rgb(var(--ax-range-slider-fg));border-radius:50%;cursor:pointer;transform:translate(-50%,-50%);transition:background-color .2s ease}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-handler:active{border:1px solid transparent;box-shadow:var(--tw-ring-inset) 0 0 0 calc(.5rem + var(--tw-ring-offset-width)) rgba(var(--ax-range-slider-fg),.25)}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-tooltip{position:absolute;top:calc(var(--ax-range-slider-base-thickness) * 8.5);left:calc(var(--ax-range-slider-base-thickness) * -8);background-color:rgb(var(--ax-range-slider-fg));color:rgb(var(--ax-range-tooltip-text));padding:5px 10px;border-radius:3px;white-space:nowrap;transform:translate(-50%,-125%)}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-tooltip:after{content:\"\";position:absolute;top:50%;left:97%;transform:translateY(-50%);border-width:.5rem;border-style:solid;border-color:transparent transparent transparent rgb(var(--ax-range-slider-fg))}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-step{position:absolute;display:flex;flex-direction:column;height:100%;z-index:10}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-step .ax-range-slider-steps{position:absolute;width:50%;border-top:calc(var(--ax-range-slider-base-thickness) / 2) solid rgb(var(--ax-color-border-default))}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-step .ax-range-slider-steps .ax-range-slider-label{position:absolute;left:150%;top:calc(var(--ax-range-slider-base-thickness) * -3)}ax-range-slider.ax-primary-solid{--ax-range-slider-bg: var(--ax-color-primary-200);--ax-range-slider-fg: var(--ax-color-primary-500);--ax-range-tooltip-text: var(--ax-color-primary-fore)}ax-range-slider.ax-secondary-solid{--ax-range-slider-bg: var(--ax-color-secondary-200);--ax-range-slider-fg: var(--ax-color-secondary-500);--ax-range-tooltip-text: var(--ax-color-secondary-fore)}ax-range-slider.ax-success-solid{--ax-range-slider-bg: var(--ax-color-success-200);--ax-range-slider-fg: var(--ax-color-success-500);--ax-range-tooltip-text: var(--ax-color-success-fore)}ax-range-slider.ax-warning-solid{--ax-range-slider-bg: var(--ax-color-warning-200);--ax-range-slider-fg: var(--ax-color-warning-500);--ax-range-tooltip-text: var(--ax-color-warning-fore)}ax-range-slider.ax-danger-solid{--ax-range-slider-bg: var(--ax-color-danger-200);--ax-range-slider-fg: var(--ax-color-danger-500);--ax-range-tooltip-text: var(--ax-color-danger-fore)}ax-range-slider.ax-info-solid{--ax-range-slider-bg: var(--ax-color-info-200);--ax-range-slider-fg: var(--ax-color-info-500);--ax-range-tooltip-text: var(--ax-color-info-fore)}ax-range-slider.ax-state-disabled{opacity:.5;cursor:not-allowed}ax-range-slider.ax-state-readonly{opacity:.75}.ax-dark ax-range-slider.ax-primary-solid{--ax-range-slider-bg: var(--ax-color-primary-700);--ax-range-slider-fg: var(--ax-color-primary-200);--ax-range-tooltip-text: var(--ax-color-primary-fore-tint)}.ax-dark ax-range-slider.ax-secondary-solid{--ax-range-slider-bg: var(--ax-color-secondary-700);--ax-range-slider-fg: var(--ax-color-secondary-200);--ax-range-tooltip-text: var(--ax-color-secondary-fore-tint)}.ax-dark ax-range-slider.ax-success-solid{--ax-range-slider-bg: var(--ax-color-success-700);--ax-range-slider-fg: var(--ax-color-success-200);--ax-range-tooltip-text: var(--ax-color-success-fore-tint)}.ax-dark ax-range-slider.ax-warning-solid{--ax-range-slider-bg: var(--ax-color-warning-700);--ax-range-slider-fg: var(--ax-color-warning-200);--ax-range-tooltip-text: var(--ax-color-warning-fore-tint)}.ax-dark ax-range-slider.ax-danger-solid{--ax-range-slider-bg: var(--ax-color-danger-700);--ax-range-slider-fg: var(--ax-color-danger-200);--ax-range-tooltip-text: var(--ax-color-danger-fore-tint)}.ax-dark ax-range-slider.ax-info-solid{--ax-range-slider-bg: var(--ax-color-info-700);--ax-range-slider-fg: var(--ax-color-info-200);--ax-range-tooltip-text: var(--ax-color-info-fore-tint)}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
10
423
|
}
|
11
424
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRangeSliderComponent, decorators: [{
|
12
425
|
type: Component,
|
13
|
-
args: [{ selector: 'ax-range-slider',
|
14
|
-
|
15
|
-
|
426
|
+
args: [{ selector: 'ax-range-slider', inputs: ['disabled', 'readonly'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
427
|
+
{ provide: AXValuableComponent, useExisting: AXRangeSliderComponent },
|
428
|
+
{
|
429
|
+
provide: NG_VALUE_ACCESSOR,
|
430
|
+
useExisting: forwardRef(() => AXRangeSliderComponent),
|
431
|
+
multi: true,
|
432
|
+
},
|
433
|
+
], template: "<div class=\"ax-range-slider\" (wheel)=\"onWheel($event)\" [class]=\"'ax-orientation-' + orientation()\">\n <div class=\"ax-range-slider-bar\" (mousedown)=\"onclickBar($event)\" (touchstart)=\"onclickBar($event)\"></div>\n <div class=\"ax-range-slider-highlight\" [ngStyle]=\"AXRangeSliderHighlight()\"></div>\n\n <div\n class=\"ax-range-slider-handler\"\n [ngStyle]=\"AXRangeSliderHandler1()\"\n (mousedown)=\"handleOnStart($event, 'first')\"\n (touchstart)=\"handleOnStart($event, 'first')\"\n >\n @if (hasTooltip()) {\n <div class=\"ax-range-slider-tooltip\">{{ isDual() ? values()[0] : values() }}</div>\n }\n </div>\n\n @if (isDual()) {\n <div\n class=\"ax-range-slider-handler\"\n [ngStyle]=\"AXRangeSliderHandler2()\"\n (mousedown)=\"handleOnStart($event, 'second')\"\n (touchstart)=\"handleOnStart($event, 'second')\"\n >\n @if (hasTooltip()) {\n <div class=\"ax-range-slider-tooltip\">{{ values()[1] }}</div>\n }\n </div>\n }\n @if (hasSnap()) {\n <div class=\"ax-range-slider-step\" [ngStyle]=\"AXRangeSliderStep()\">\n @for (item of calculateSnapBar(); track $index) {\n <div\n class=\"ax-range-slider-steps\"\n [ngStyle]=\"\n isHorizontal() ? { left: getPercantage(item) + '%' } : { top: getPercantage(item) + '%' }\n \"\n >\n @if (hasLable()) {\n <div class=\"ax-range-slider-label\" [ngStyle]=\"AXRangeLabel()\">\n {{ item + min() }}\n </div>\n }\n </div>\n }\n </div>\n }\n</div>\n", styles: [":root{--ax-range-slider-base-thickness: .25rem}ax-range-slider{display:flex;align-items:center;justify-content:center;font-size:small}ax-range-slider .ax-range-slider.ax-orientation-horizontal{position:relative;width:100%;height:calc(var(--ax-range-slider-base-thickness) * 4)}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-bar{position:absolute;top:50%;left:0;width:100.1%;height:var(--ax-range-slider-base-thickness);transform:translateY(-50%);z-index:20;border-radius:9999rem;background-color:rgb(var(--ax-range-slider-bg));cursor:pointer}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-highlight{position:absolute;top:50%;height:calc(var(--ax-range-slider-base-thickness) * 3 / 2);transform:translateY(-50%);z-index:20;border-radius:9999rem;background-color:rgb(var(--ax-range-slider-fg))}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-handler{position:absolute;top:50%;width:calc(var(--ax-range-slider-base-thickness) * 6);height:calc(var(--ax-range-slider-base-thickness) * 6);z-index:20;background-color:rgb(var(--ax-range-slider-fg));border-radius:50%;cursor:pointer;transform:translate(-50%,-50%);transition:box-shadow .1s linear}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-handler:hover{box-shadow:var(--tw-ring-inset) 0 0 0 calc(.6rem + var(--tw-ring-offset-width)) rgba(var(--ax-range-slider-fg),.25)}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-handler:active{box-shadow:var(--tw-ring-inset) 0 0 0 calc(.6rem + var(--tw-ring-offset-width)) rgba(var(--ax-range-slider-fg),.25)}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-tooltip{position:absolute;left:calc(var(--ax-range-slider-base-thickness) * 2.8);top:calc(var(--ax-range-slider-base-thickness) * -2);background-color:rgb(var(--ax-range-slider-fg));color:rgb(var(--ax-range-tooltip-text));padding:5px 10px;border-radius:3px;white-space:nowrap;transform:translate(-50%,-125%)}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-tooltip:after{content:\"\";position:absolute;top:calc(var(--ax-range-slider-base-thickness) * 7);left:50%;transform:translate(-50%);border-width:.5rem;border-style:solid;border-color:rgb(var(--ax-range-slider-fg)) transparent transparent transparent}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-step{position:absolute;display:flex;flex-direction:row;width:100%;z-index:10}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-step .ax-range-slider-steps{position:absolute;border-left:calc(var(--ax-range-slider-base-thickness) / 2) solid rgb(var(--ax-color-border-default));height:50%}ax-range-slider .ax-range-slider.ax-orientation-horizontal .ax-range-slider-step .ax-range-slider-steps .ax-range-slider-label{position:relative;text-align:center;top:calc(var(--ax-range-slider-base-thickness) * 2);left:-50%}ax-range-slider .ax-range-slider.ax-orientation-vertical{position:relative;width:calc(var(--ax-range-slider-base-thickness) * 4);height:100%}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-bar{position:absolute;top:0;left:50%;width:var(--ax-range-slider-base-thickness);height:100.1%;transform:translate(-50%);z-index:20;border-radius:9999rem;background-color:rgb(var(--ax-range-slider-bg));cursor:pointer}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-highlight{position:absolute;left:50%;width:calc(var(--ax-range-slider-base-thickness) * 3 / 2);transform:translate(-50%);z-index:20;border-radius:9999rem;background-color:rgb(var(--ax-range-slider-fg))}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-handler{position:absolute;left:50%;width:calc(var(--ax-range-slider-base-thickness) * 6);height:calc(var(--ax-range-slider-base-thickness) * 6);z-index:20;background-color:rgb(var(--ax-range-slider-fg));border-radius:50%;cursor:pointer;transform:translate(-50%,-50%);transition:background-color .2s ease}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-handler:active{border:1px solid transparent;box-shadow:var(--tw-ring-inset) 0 0 0 calc(.5rem + var(--tw-ring-offset-width)) rgba(var(--ax-range-slider-fg),.25)}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-tooltip{position:absolute;top:calc(var(--ax-range-slider-base-thickness) * 8.5);left:calc(var(--ax-range-slider-base-thickness) * -8);background-color:rgb(var(--ax-range-slider-fg));color:rgb(var(--ax-range-tooltip-text));padding:5px 10px;border-radius:3px;white-space:nowrap;transform:translate(-50%,-125%)}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-tooltip:after{content:\"\";position:absolute;top:50%;left:97%;transform:translateY(-50%);border-width:.5rem;border-style:solid;border-color:transparent transparent transparent rgb(var(--ax-range-slider-fg))}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-step{position:absolute;display:flex;flex-direction:column;height:100%;z-index:10}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-step .ax-range-slider-steps{position:absolute;width:50%;border-top:calc(var(--ax-range-slider-base-thickness) / 2) solid rgb(var(--ax-color-border-default))}ax-range-slider .ax-range-slider.ax-orientation-vertical .ax-range-slider-step .ax-range-slider-steps .ax-range-slider-label{position:absolute;left:150%;top:calc(var(--ax-range-slider-base-thickness) * -3)}ax-range-slider.ax-primary-solid{--ax-range-slider-bg: var(--ax-color-primary-200);--ax-range-slider-fg: var(--ax-color-primary-500);--ax-range-tooltip-text: var(--ax-color-primary-fore)}ax-range-slider.ax-secondary-solid{--ax-range-slider-bg: var(--ax-color-secondary-200);--ax-range-slider-fg: var(--ax-color-secondary-500);--ax-range-tooltip-text: var(--ax-color-secondary-fore)}ax-range-slider.ax-success-solid{--ax-range-slider-bg: var(--ax-color-success-200);--ax-range-slider-fg: var(--ax-color-success-500);--ax-range-tooltip-text: var(--ax-color-success-fore)}ax-range-slider.ax-warning-solid{--ax-range-slider-bg: var(--ax-color-warning-200);--ax-range-slider-fg: var(--ax-color-warning-500);--ax-range-tooltip-text: var(--ax-color-warning-fore)}ax-range-slider.ax-danger-solid{--ax-range-slider-bg: var(--ax-color-danger-200);--ax-range-slider-fg: var(--ax-color-danger-500);--ax-range-tooltip-text: var(--ax-color-danger-fore)}ax-range-slider.ax-info-solid{--ax-range-slider-bg: var(--ax-color-info-200);--ax-range-slider-fg: var(--ax-color-info-500);--ax-range-tooltip-text: var(--ax-color-info-fore)}ax-range-slider.ax-state-disabled{opacity:.5;cursor:not-allowed}ax-range-slider.ax-state-readonly{opacity:.75}.ax-dark ax-range-slider.ax-primary-solid{--ax-range-slider-bg: var(--ax-color-primary-700);--ax-range-slider-fg: var(--ax-color-primary-200);--ax-range-tooltip-text: var(--ax-color-primary-fore-tint)}.ax-dark ax-range-slider.ax-secondary-solid{--ax-range-slider-bg: var(--ax-color-secondary-700);--ax-range-slider-fg: var(--ax-color-secondary-200);--ax-range-tooltip-text: var(--ax-color-secondary-fore-tint)}.ax-dark ax-range-slider.ax-success-solid{--ax-range-slider-bg: var(--ax-color-success-700);--ax-range-slider-fg: var(--ax-color-success-200);--ax-range-tooltip-text: var(--ax-color-success-fore-tint)}.ax-dark ax-range-slider.ax-warning-solid{--ax-range-slider-bg: var(--ax-color-warning-700);--ax-range-slider-fg: var(--ax-color-warning-200);--ax-range-tooltip-text: var(--ax-color-warning-fore-tint)}.ax-dark ax-range-slider.ax-danger-solid{--ax-range-slider-bg: var(--ax-color-danger-700);--ax-range-slider-fg: var(--ax-color-danger-200);--ax-range-tooltip-text: var(--ax-color-danger-fore-tint)}.ax-dark ax-range-slider.ax-info-solid{--ax-range-slider-bg: var(--ax-color-info-700);--ax-range-slider-fg: var(--ax-color-info-200);--ax-range-tooltip-text: var(--ax-color-info-fore-tint)}\n"] }]
|
434
|
+
}], ctorParameters: () => [], propDecorators: { __hostClass: [{
|
435
|
+
type: HostBinding,
|
436
|
+
args: ['class']
|
437
|
+
}] } });
|
438
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFuZ2Utc2xpZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4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-slider.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export class AXRangeSliderModule {
|
6
6
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule] }); }
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXRangeSliderModule, declarations: [AXRangeSliderComponent], imports: [CommonModule], exports: [AXRangeSliderComponent] }); }
|
8
8
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRangeSliderModule, imports: [CommonModule] }); }
|
9
9
|
}
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRangeSliderModule, decorators: [{
|
@@ -12,6 +12,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
12
12
|
args: [{
|
13
13
|
declarations: [AXRangeSliderComponent],
|
14
14
|
imports: [CommonModule],
|
15
|
+
exports: [AXRangeSliderComponent],
|
15
16
|
}]
|
16
17
|
}] });
|
17
|
-
//# sourceMappingURL=data:application/json;base64,
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFuZ2Utc2xpZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9yYW5nZS1zbGlkZXIvc3JjL2xpYi9yYW5nZS1zbGlkZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbX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