@acorex/components 18.10.2 → 18.10.5
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/map/acorex-components-map.mjs +5 -0
- package/esm2022/map/index.mjs +3 -0
- package/esm2022/map/lib/map.component.mjs +74 -0
- package/esm2022/map/lib/map.module.mjs +18 -0
- package/esm2022/menu/index.mjs +2 -1
- package/esm2022/menu/lib/menu-item/menu-item.component.mjs +6 -18
- package/esm2022/menu/lib/menu-item-text/menu-item-text.component.mjs +11 -0
- package/esm2022/menu/lib/menu.component.mjs +9 -108
- package/esm2022/menu/lib/menu.module.mjs +4 -3
- package/esm2022/menu/lib/menu.service.mjs +2 -7
- package/esm2022/qrcode/lib/qrcode.component.mjs +2 -17
- package/esm2022/range-slider/lib/range-slider.component.mjs +8 -10
- package/esm2022/rate-picker/acorex-components-rate-picker.mjs +5 -0
- package/esm2022/rate-picker/index.mjs +3 -0
- package/esm2022/rate-picker/lib/calculatePercentage.mjs +45 -0
- package/esm2022/rate-picker/lib/rate-picker.component.mjs +184 -0
- package/esm2022/rate-picker/lib/rate-picker.module.mjs +18 -0
- package/esm2022/time-line/acorex-components-time-line.mjs +5 -0
- package/esm2022/time-line/index.mjs +4 -0
- package/esm2022/time-line/lib/time-line-item.component.mjs +34 -0
- package/esm2022/time-line/lib/time-line.component.mjs +11 -0
- package/esm2022/time-line/lib/time-line.module.mjs +19 -0
- package/esm2022/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.mjs +3 -3
- package/fesm2022/acorex-components-map.mjs +96 -0
- package/fesm2022/acorex-components-map.mjs.map +1 -0
- package/fesm2022/acorex-components-menu.mjs +25 -132
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +1 -16
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +7 -9
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +250 -0
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-time-line.mjs +65 -0
- package/fesm2022/acorex-components-time-line.mjs.map +1 -0
- package/fesm2022/acorex-components-wysiwyg.mjs +2 -2
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/map/README.md +3 -0
- package/map/index.d.ts +3 -0
- package/map/lib/map.component.d.ts +24 -0
- package/map/lib/map.module.d.ts +8 -0
- package/menu/index.d.ts +1 -0
- package/menu/lib/menu-item/menu-item.component.d.ts +2 -3
- package/menu/lib/menu-item-text/menu-item-text.component.d.ts +5 -0
- package/menu/lib/menu.component.d.ts +1 -6
- package/menu/lib/menu.module.d.ts +9 -8
- package/menu/lib/menu.service.d.ts +0 -5
- package/package.json +77 -59
- package/qrcode/lib/qrcode.component.d.ts +0 -4
- package/rate-picker/README.md +3 -0
- package/rate-picker/index.d.ts +2 -0
- package/rate-picker/lib/calculatePercentage.d.ts +27 -0
- package/rate-picker/lib/rate-picker.component.d.ts +69 -0
- package/rate-picker/lib/rate-picker.module.d.ts +8 -0
- package/time-line/README.md +3 -0
- package/time-line/index.d.ts +3 -0
- package/time-line/lib/time-line-item.component.d.ts +7 -0
- package/time-line/lib/time-line.component.d.ts +5 -0
- package/time-line/lib/time-line.module.d.ts +9 -0
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -1
@@ -0,0 +1,184 @@
|
|
1
|
+
import { AXValuableComponent, MXValueComponent } from '@acorex/components/common';
|
2
|
+
import { ChangeDetectionStrategy, Component, computed, effect, forwardRef, HostBinding, inject, input, Renderer2, signal, viewChild, ViewEncapsulation, } from '@angular/core';
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
+
import { getPointerPercentage } from './calculatePercentage';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
/**
|
7
|
+
* A component for selecting a rating using star icons.
|
8
|
+
*
|
9
|
+
* This component allows users to pick a rating by clicking or dragging over star icons.
|
10
|
+
* It supports rounding options and manages the rating state internally.
|
11
|
+
*/
|
12
|
+
export class AXRatePickerComponent extends MXValueComponent {
|
13
|
+
/**
|
14
|
+
* Initializes the component and sets up value change subscription.
|
15
|
+
*/
|
16
|
+
constructor() {
|
17
|
+
super();
|
18
|
+
/** The icon name to use for stars (e.g., 'fa-star'). */
|
19
|
+
this.iconName = input('fa-star');
|
20
|
+
/** The maximum rating value (e.g., 5 stars). */
|
21
|
+
this.max = input(5);
|
22
|
+
/** Determines if the rating should be rounded to the nearest integer. */
|
23
|
+
this.isRound = input(true);
|
24
|
+
/** choosing to have css transition for unchanging value after hover. */
|
25
|
+
this.hasTransition = input(true);
|
26
|
+
/** The percentage of the current rating value relative to the maximum rating. */
|
27
|
+
this.ratePercentage = computed(() => Math.round((this.currentValue() / this.max()) * 10000) / 100);
|
28
|
+
/** The current rating value as a signal. */
|
29
|
+
this.currentValue = signal(this.max());
|
30
|
+
/** State for tracking hover status and previous value. */
|
31
|
+
this.prevState = {
|
32
|
+
ishover: false,
|
33
|
+
previousValue: undefined,
|
34
|
+
};
|
35
|
+
/** Reference to the container element. */
|
36
|
+
this.containerEl = viewChild.required('c');
|
37
|
+
/** Reference to the rating element. */
|
38
|
+
this.ratingEl = viewChild.required('r');
|
39
|
+
/** Renderer for manipulating styles. */
|
40
|
+
this.renderer = inject(Renderer2);
|
41
|
+
/** Array of rating values from 1 to `max`. */
|
42
|
+
this.rates = computed(() => Array(this.max())
|
43
|
+
.fill(0)
|
44
|
+
.map((_, index) => index + 1));
|
45
|
+
effect(() => {
|
46
|
+
if (!this.hasTransition()) {
|
47
|
+
this.renderer.removeStyle(this.ratingEl().nativeElement, 'transition');
|
48
|
+
}
|
49
|
+
return this.hasTransition();
|
50
|
+
});
|
51
|
+
this.onValueChanged.subscribe((val) => {
|
52
|
+
if (val.value < 0) {
|
53
|
+
this.currentValue.set(0);
|
54
|
+
console.warn('ax-rate-picker: value cant be negative!');
|
55
|
+
}
|
56
|
+
else if (val.value > this.max()) {
|
57
|
+
this.currentValue.set(this.max());
|
58
|
+
console.warn('ax-rate-picker: value cant be more than max!');
|
59
|
+
}
|
60
|
+
else {
|
61
|
+
this.currentValue.set(val.value);
|
62
|
+
}
|
63
|
+
});
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* Calculates and updates the rating based on the mouse or touch event.
|
67
|
+
*
|
68
|
+
* @param event - The mouse or touch event triggering the rating calculation.
|
69
|
+
*/
|
70
|
+
calculateRate(event) {
|
71
|
+
if (this.hasTransition()) {
|
72
|
+
this.renderer.removeStyle(this.ratingEl().nativeElement, 'transition');
|
73
|
+
}
|
74
|
+
event.preventDefault();
|
75
|
+
if (!this.readonly && !this.disabled) {
|
76
|
+
const pointerPercentage = getPointerPercentage(event);
|
77
|
+
if (pointerPercentage === -1) {
|
78
|
+
return console.log('Only support touch and click events.');
|
79
|
+
}
|
80
|
+
const value = (pointerPercentage / 100) * this.max();
|
81
|
+
const finalValue = this.isRound() ? Math.ceil(value) : Number.parseFloat(value.toFixed(2));
|
82
|
+
if (finalValue !== this.value) {
|
83
|
+
if (this.prevState.ishover === true) {
|
84
|
+
this.currentValue.set(finalValue);
|
85
|
+
}
|
86
|
+
else {
|
87
|
+
this.commitValue(finalValue);
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
/**
|
93
|
+
* Handles mouse enter events to start tracking mouse movements for rating.
|
94
|
+
*/
|
95
|
+
mouseEnter() {
|
96
|
+
this.prevState = {
|
97
|
+
ishover: true,
|
98
|
+
previousValue: this.value,
|
99
|
+
};
|
100
|
+
if (this.hasTransition()) {
|
101
|
+
this.renderer.setStyle(this.ratingEl().nativeElement, 'opacity', '80%');
|
102
|
+
}
|
103
|
+
const moveListener = (moveEvent) => this.calculateRate(moveEvent);
|
104
|
+
const endListener = () => this.onEnd(moveListener, endListener);
|
105
|
+
const container = this.containerEl().nativeElement;
|
106
|
+
container.addEventListener('mousemove', moveListener);
|
107
|
+
container.addEventListener('mouseup', endListener);
|
108
|
+
container.addEventListener('mouseleave', endListener);
|
109
|
+
}
|
110
|
+
mouseLeave() {
|
111
|
+
if (this.hasTransition()) {
|
112
|
+
this.renderer.removeStyle(this.ratingEl().nativeElement, 'opacity');
|
113
|
+
}
|
114
|
+
}
|
115
|
+
/**
|
116
|
+
* Cleans up event listeners and restores the previous rating value.
|
117
|
+
*
|
118
|
+
* @param moveListener - The function to remove for mouse move events.
|
119
|
+
* @param endListener - The function to remove for mouse end events.
|
120
|
+
*/
|
121
|
+
onEnd(moveListener, endListener) {
|
122
|
+
if (this.hasTransition()) {
|
123
|
+
this.renderer.setStyle(this.ratingEl().nativeElement, 'transition', `width ${this.max() * 50 + 250}ms cubic-bezier(0.29, 0.72, 0.68, 0.85)`);
|
124
|
+
this.renderer.removeStyle(this.ratingEl().nativeElement, 'opacity');
|
125
|
+
}
|
126
|
+
this.currentValue.set(this.prevState.previousValue);
|
127
|
+
this.prevState = {
|
128
|
+
ishover: false,
|
129
|
+
previousValue: undefined,
|
130
|
+
};
|
131
|
+
const container = this.containerEl().nativeElement;
|
132
|
+
container.removeEventListener('mousemove', moveListener);
|
133
|
+
container.removeEventListener('mouseup', endListener);
|
134
|
+
container.removeEventListener('mouseleave', endListener);
|
135
|
+
}
|
136
|
+
/**
|
137
|
+
* Determines if the component is active (i.e., not readonly or disabled).
|
138
|
+
*/
|
139
|
+
get isActive() {
|
140
|
+
return !this.readonly && !this.disabled;
|
141
|
+
}
|
142
|
+
/**
|
143
|
+
* Determines if the component is in readonly mode.
|
144
|
+
*/
|
145
|
+
get isReadonly() {
|
146
|
+
return this.readonly;
|
147
|
+
}
|
148
|
+
/**
|
149
|
+
* Determines if the component is disabled.
|
150
|
+
*/
|
151
|
+
get isDisabled() {
|
152
|
+
return this.disabled;
|
153
|
+
}
|
154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRatePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
155
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.0", type: AXRatePickerComponent, selector: "ax-rate-picker", inputs: { readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, iconName: { classPropertyName: "iconName", publicName: "iconName", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, isRound: { classPropertyName: "isRound", publicName: "isRound", isSignal: true, isRequired: false, transformFunction: null }, hasTransition: { classPropertyName: "hasTransition", publicName: "hasTransition", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.active": "this.isActive", "class.readonly": "this.isReadonly", "class.disable": "this.isDisabled" } }, providers: [
|
156
|
+
{ provide: AXValuableComponent, useExisting: AXRatePickerComponent },
|
157
|
+
{
|
158
|
+
provide: NG_VALUE_ACCESSOR,
|
159
|
+
useExisting: forwardRef(() => AXRatePickerComponent),
|
160
|
+
multi: true,
|
161
|
+
},
|
162
|
+
], viewQueries: [{ propertyName: "containerEl", first: true, predicate: ["c"], descendants: true, isSignal: true }, { propertyName: "ratingEl", first: true, predicate: ["r"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\n #c\n class=\"ax-rate-picker-container\"\n (click)=\"calculateRate($event)\"\n (touchstart)=\"calculateRate($event)\"\n (mouseenter)=\"mouseEnter()\"\n (mouseleave)=\"mouseLeave()\"\n>\n <div #r class=\"ax-rate-picker-rating\" [style.width.%]=\"ratePercentage()\">\n <div class=\"ax-rate-picker-icons ax-rp-active\">\n @for (rate of rates(); track rate) {\n <i class=\"ax-rate-picker-icon fa-solid\" [class]=\"iconName()\" [class.pointer]=\"!this.readonly\"></i>\n }\n </div>\n </div>\n <div class=\"ax-rate-picker-icons ax-rp-inactive\">\n @for (rate of rates(); track rate) {\n <i class=\"ax-rate-picker-icon fa-solid\" [class]=\"iconName()\"></i>\n }\n </div>\n</div>\n", styles: [":root{--ax-rate-picker-color: rgba(var(--ax-color-primary-500));--ax-rate-picker-background: rgba(var(--ax-color-neutral-300))}ax-rate-picker.active{cursor:pointer}ax-rate-picker.readonly{opacity:.75}ax-rate-picker.disable{cursor:not-allowed;opacity:.5}ax-rate-picker.ax-sm{font-size:1rem}ax-rate-picker.ax-md{font-size:1.5rem}ax-rate-picker.ax-lg{font-size:2rem}ax-rate-picker.ax-xl{font-size:2.5rem}ax-rate-picker.ax-2xl{font-size:3rem}ax-rate-picker.ax-3xl{font-size:4rem}ax-rate-picker .ax-rate-picker-container{position:relative;width:min-content}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-rating{position:relative;z-index:10;overflow:hidden}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-rating .ax-rate-picker-icons{display:flex}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-rating .ax-rate-picker-icons.ax-rp-active{color:var(--ax-rate-picker-color)}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-icons{display:flex}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-icons.ax-rp-inactive{color:var(--ax-rate-picker-background);position:absolute;left:50%;top:50%;translate:-50% -50%;z-index:5}.ax-dark :root{--ax-rate-picker-color: rgba(var(--ax-color-primary-300));--ax-rate-picker-background: rgba(var(--ax-color-neutral-600))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
163
|
+
}
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRatePickerComponent, decorators: [{
|
165
|
+
type: Component,
|
166
|
+
args: [{ selector: 'ax-rate-picker', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['readonly', 'disabled'], providers: [
|
167
|
+
{ provide: AXValuableComponent, useExisting: AXRatePickerComponent },
|
168
|
+
{
|
169
|
+
provide: NG_VALUE_ACCESSOR,
|
170
|
+
useExisting: forwardRef(() => AXRatePickerComponent),
|
171
|
+
multi: true,
|
172
|
+
},
|
173
|
+
], template: "<div\n #c\n class=\"ax-rate-picker-container\"\n (click)=\"calculateRate($event)\"\n (touchstart)=\"calculateRate($event)\"\n (mouseenter)=\"mouseEnter()\"\n (mouseleave)=\"mouseLeave()\"\n>\n <div #r class=\"ax-rate-picker-rating\" [style.width.%]=\"ratePercentage()\">\n <div class=\"ax-rate-picker-icons ax-rp-active\">\n @for (rate of rates(); track rate) {\n <i class=\"ax-rate-picker-icon fa-solid\" [class]=\"iconName()\" [class.pointer]=\"!this.readonly\"></i>\n }\n </div>\n </div>\n <div class=\"ax-rate-picker-icons ax-rp-inactive\">\n @for (rate of rates(); track rate) {\n <i class=\"ax-rate-picker-icon fa-solid\" [class]=\"iconName()\"></i>\n }\n </div>\n</div>\n", styles: [":root{--ax-rate-picker-color: rgba(var(--ax-color-primary-500));--ax-rate-picker-background: rgba(var(--ax-color-neutral-300))}ax-rate-picker.active{cursor:pointer}ax-rate-picker.readonly{opacity:.75}ax-rate-picker.disable{cursor:not-allowed;opacity:.5}ax-rate-picker.ax-sm{font-size:1rem}ax-rate-picker.ax-md{font-size:1.5rem}ax-rate-picker.ax-lg{font-size:2rem}ax-rate-picker.ax-xl{font-size:2.5rem}ax-rate-picker.ax-2xl{font-size:3rem}ax-rate-picker.ax-3xl{font-size:4rem}ax-rate-picker .ax-rate-picker-container{position:relative;width:min-content}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-rating{position:relative;z-index:10;overflow:hidden}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-rating .ax-rate-picker-icons{display:flex}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-rating .ax-rate-picker-icons.ax-rp-active{color:var(--ax-rate-picker-color)}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-icons{display:flex}ax-rate-picker .ax-rate-picker-container .ax-rate-picker-icons.ax-rp-inactive{color:var(--ax-rate-picker-background);position:absolute;left:50%;top:50%;translate:-50% -50%;z-index:5}.ax-dark :root{--ax-rate-picker-color: rgba(var(--ax-color-primary-300));--ax-rate-picker-background: rgba(var(--ax-color-neutral-600))}\n"] }]
|
174
|
+
}], ctorParameters: () => [], propDecorators: { isActive: [{
|
175
|
+
type: HostBinding,
|
176
|
+
args: ['class.active']
|
177
|
+
}], isReadonly: [{
|
178
|
+
type: HostBinding,
|
179
|
+
args: ['class.readonly']
|
180
|
+
}], isDisabled: [{
|
181
|
+
type: HostBinding,
|
182
|
+
args: ['class.disable']
|
183
|
+
}] } });
|
184
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0ZS1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3JhdGUtcGlja2VyL3NyYy9saWIvcmF0ZS1waWNrZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3JhdGUtcGlja2VyL3NyYy9saWIvcmF0ZS1waWNrZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEYsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsUUFBUSxFQUNSLE1BQU0sRUFFTixVQUFVLEVBQ1YsV0FBVyxFQUNYLE1BQU0sRUFDTixLQUFLLEVBQ0wsU0FBUyxFQUNULE1BQU0sRUFDTixTQUFTLEVBQ1QsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxvQk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gpXCJcbj5cbiAgPGRpdiAjciBjbGFzcz1cImF4LXJhdGUtcGlja2VyLXJhdGluZ1wiIFtzdHlsZS53aWR0aC4lXT1cInJhdGVQZXJjZW50YWdlKClcIj5cbiAgICA8ZGl2IGNsYXNzPVwiYXgtcmF0ZS1waWNrZXItaWNvbnMgYXgtcnAtYWN0aXZlXCI+XG4gICAgICBAZm9yIChyYXRlIG9mIHJhdGVzKCk7IHRyYWNrIHJhdGUpIHtcbiAgICAgICAgPGkgY2xhc3M9XCJheC1yYXRlLXBpY2tlci1pY29uIGZhLXNvbGlkXCIgW2NsYXNzXT1cImljb25OYW1lKClcIiBbY2xhc3MucG9pbnRlcl09XCIhdGhpcy5yZWFkb25seVwiPjwvaT5cbiAgICAgIH1cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXYgY2xhc3M9XCJheC1yYXRlLXBpY2tlci1pY29ucyBheC1ycC1pbmFjdGl2ZVwiPlxuICAgIEBmb3IgKHJhdGUgb2YgcmF0ZXMoKTsgdHJhY2sgcmF0ZSkge1xuICAgICAgPGkgY2xhc3M9XCJheC1yYXRlLXBpY2tlci1pY29uIGZhLXNvbGlkXCIgW2NsYXNzXT1cImljb25OYW1lKClcIj48L2k+XG4gICAgfVxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
2
|
+
import { NgModule } from '@angular/core';
|
3
|
+
import { AXRatePickerComponent } from './rate-picker.component';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export class AXRatePickerModule {
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXRatePickerModule, declarations: [AXRatePickerComponent], imports: [CommonModule], exports: [AXRatePickerComponent] }); }
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRatePickerModule, imports: [CommonModule] }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXRatePickerModule, decorators: [{
|
11
|
+
type: NgModule,
|
12
|
+
args: [{
|
13
|
+
declarations: [AXRatePickerComponent],
|
14
|
+
imports: [CommonModule],
|
15
|
+
exports: [AXRatePickerComponent],
|
16
|
+
}]
|
17
|
+
}] });
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0ZS1waWNrZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3JhdGUtcGlja2VyL3NyYy9saWIvcmF0ZS1waWNrZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDOztBQU9oRSxNQUFNLE9BQU8sa0JBQWtCOzhHQUFsQixrQkFBa0I7K0dBQWxCLGtCQUFrQixpQkFKZCxxQkFBcUIsYUFDMUIsWUFBWSxhQUNaLHFCQUFxQjsrR0FFcEIsa0JBQWtCLFlBSG5CLFlBQVk7OzJGQUdYLGtCQUFrQjtrQkFMOUIsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxxQkFBcUIsQ0FBQztvQkFDckMsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixPQUFPLEVBQUUsQ0FBQyxxQkFBcUIsQ0FBQztpQkFDakMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEFYUmF0ZVBpY2tlckNvbXBvbmVudCB9IGZyb20gJy4vcmF0ZS1waWNrZXIuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQVhSYXRlUGlja2VyQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtBWFJhdGVQaWNrZXJDb21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBBWFJhdGVQaWNrZXJNb2R1bGUge31cbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtdGltZS1saW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3RpbWUtbGluZS9zcmMvYWNvcmV4LWNvbXBvbmVudHMtdGltZS1saW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './lib/time-line-item.component';
|
2
|
+
export * from './lib/time-line.component';
|
3
|
+
export * from './lib/time-line.module';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdGltZS1saW5lL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL3RpbWUtbGluZS1pdGVtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi90aW1lLWxpbmUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3RpbWUtbGluZS5tb2R1bGUnO1xuIl19
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { ChangeDetectionStrategy, Component, input, signal, ViewEncapsulation } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
import * as i1 from "@angular/common";
|
4
|
+
export class AXTimeLineItemComponent {
|
5
|
+
constructor() {
|
6
|
+
this.text = input('');
|
7
|
+
this.isCollapsed = signal(false);
|
8
|
+
}
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLineItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: AXTimeLineItemComponent, selector: "ax-time-line-item", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
11
|
+
<div class="ax-time-line-header">
|
12
|
+
<span class="ax-time-line-text">{{ text() }}</span>
|
13
|
+
<span
|
14
|
+
class="ax-icon ax-icon-chevron-down ax-collapse-arrow"
|
15
|
+
[ngClass]="{ '-rotation-90': isCollapsed(), 'rotation-90': !isCollapsed() }"
|
16
|
+
></span>
|
17
|
+
</div>
|
18
|
+
<div class="ax-time-line-content"><ng-content></ng-content></div>
|
19
|
+
`, isInline: true, styles: ["ax-time-line-item{padding-bottom:.75rem;display:block}ax-time-line-item .ax-time-line-header{display:flex;justify-content:space-between;align-items:center;padding:0 .75rem}ax-time-line-item .ax-time-line-header .ax-time-line-text{flex:1}ax-time-line-item .ax-time-line-content{padding:.75rem}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
20
|
+
}
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLineItemComponent, decorators: [{
|
22
|
+
type: Component,
|
23
|
+
args: [{ selector: 'ax-time-line-item', template: `
|
24
|
+
<div class="ax-time-line-header">
|
25
|
+
<span class="ax-time-line-text">{{ text() }}</span>
|
26
|
+
<span
|
27
|
+
class="ax-icon ax-icon-chevron-down ax-collapse-arrow"
|
28
|
+
[ngClass]="{ '-rotation-90': isCollapsed(), 'rotation-90': !isCollapsed() }"
|
29
|
+
></span>
|
30
|
+
</div>
|
31
|
+
<div class="ax-time-line-content"><ng-content></ng-content></div>
|
32
|
+
`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["ax-time-line-item{padding-bottom:.75rem;display:block}ax-time-line-item .ax-time-line-header{display:flex;justify-content:space-between;align-items:center;padding:0 .75rem}ax-time-line-item .ax-time-line-header .ax-time-line-text{flex:1}ax-time-line-item .ax-time-line-content{padding:.75rem}\n"] }]
|
33
|
+
}] });
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ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dGV4dFwiPnt7IHRleHQoKSB9fTwvc3Bhbj5cbiAgICAgIDxzcGFuXG4gICAgICAgIGNsYXNzPVwiYXgtaWNvbiBheC1pY29uLWNoZXZyb24tZG93biBheC1jb2xsYXBzZS1hcnJvd1wiXG4gICAgICAgIFtuZ0NsYXNzXT1cInsgJy1yb3RhdGlvbi05MCc6IGlzQ29sbGFwc2VkKCksICdyb3RhdGlvbi05MCc6ICFpc0NvbGxhcHNlZCgpIH1cIlxuICAgICAgPjwvc3Bhbj5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2IGNsYXNzPVwiYXgtdGltZS1saW5lLWNvbnRlbnRcIj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9kaXY+XG4gIGAsXG4gIHN0eWxlVXJsOiAnLi90aW1lLWxpbmUtaXRlbS5jb21wb25lbnQuc2NzcycsXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBBWFRpbWVMaW5lSXRlbUNvbXBvbmVudCB7XG4gIHRleHQgPSBpbnB1dCgnJyk7XG5cbiAgaXNDb2xsYXBzZWQgPSBzaWduYWwoZmFsc2UpO1xufVxuIl19
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Component } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class AXTimeLineComponent {
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
5
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXTimeLineComponent, selector: "ax-time-line", ngImport: i0, template: "<ng-content></ng-content>\n", styles: [""] }); }
|
6
|
+
}
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLineComponent, decorators: [{
|
8
|
+
type: Component,
|
9
|
+
args: [{ selector: 'ax-time-line', template: "<ng-content></ng-content>\n" }]
|
10
|
+
}] });
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1saW5lLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy90aW1lLWxpbmUvc3JjL2xpYi90aW1lLWxpbmUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3RpbWUtbGluZS9zcmMvbGliL3RpbWUtbGluZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8xQyxNQUFNLE9BQU8sbUJBQW1COzhHQUFuQixtQkFBbUI7a0dBQW5CLG1CQUFtQixvRENQaEMsNkJBQ0E7OzJGRE1hLG1CQUFtQjtrQkFML0IsU0FBUzsrQkFDRSxjQUFjIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2F4LXRpbWUtbGluZScsXG4gIHRlbXBsYXRlVXJsOiAnLi90aW1lLWxpbmUuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi90aW1lLWxpbmUuY29tcG9uZW50LnNjc3MnXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhUaW1lTGluZUNvbXBvbmVudCB7fVxuIiwiPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuIl19
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
2
|
+
import { NgModule } from '@angular/core';
|
3
|
+
import { AXTimeLineItemComponent } from './time-line-item.component';
|
4
|
+
import { AXTimeLineComponent } from './time-line.component';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export class AXTimeLineModule {
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLineModule, declarations: [AXTimeLineComponent, AXTimeLineItemComponent], imports: [CommonModule], exports: [AXTimeLineComponent, AXTimeLineItemComponent] }); }
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLineModule, imports: [CommonModule] }); }
|
10
|
+
}
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXTimeLineModule, decorators: [{
|
12
|
+
type: NgModule,
|
13
|
+
args: [{
|
14
|
+
declarations: [AXTimeLineComponent, AXTimeLineItemComponent],
|
15
|
+
imports: [CommonModule],
|
16
|
+
exports: [AXTimeLineComponent, AXTimeLineItemComponent],
|
17
|
+
}]
|
18
|
+
}] });
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZS1saW5lLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy90aW1lLWxpbmUvc3JjL2xpYi90aW1lLWxpbmUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVB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sZV0sXG4gIGV4cG9ydHM6IFtBWFRpbWVMaW5lQ29tcG9uZW50LCBBWFRpbWVMaW5lSXRlbUNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEFYVGltZUxpbmVNb2R1bGUge31cbiJdfQ==
|
@@ -68,7 +68,7 @@ export class AXWysiwygContainerComponent extends classes((MXInputBaseValueCompon
|
|
68
68
|
clearTimeout(this.setTimeOut);
|
69
69
|
}
|
70
70
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
71
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: { look: "look" }, providers: [
|
71
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXWysiwygContainerComponent, selector: "ax-wysiwyg-container", inputs: { look: "look" }, outputs: { onValueChanged: "onValueChanged" }, providers: [
|
72
72
|
{ provide: AXComponent, useExisting: AXWysiwygContainerComponent },
|
73
73
|
{ provide: AXFocusableComponent, useExisting: AXWysiwygContainerComponent },
|
74
74
|
{ provide: AXClearableComponent, useExisting: AXWysiwygContainerComponent },
|
@@ -82,7 +82,7 @@ export class AXWysiwygContainerComponent extends classes((MXInputBaseValueCompon
|
|
82
82
|
}
|
83
83
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXWysiwygContainerComponent, decorators: [{
|
84
84
|
type: Component,
|
85
|
-
args: [{ selector: 'ax-wysiwyg-container', inputs: ['look'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
85
|
+
args: [{ selector: 'ax-wysiwyg-container', inputs: ['look'], outputs: ['onValueChanged'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
86
86
|
{ provide: AXComponent, useExisting: AXWysiwygContainerComponent },
|
87
87
|
{ provide: AXFocusableComponent, useExisting: AXWysiwygContainerComponent },
|
88
88
|
{ provide: AXClearableComponent, useExisting: AXWysiwygContainerComponent },
|
@@ -94,4 +94,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
94
94
|
},
|
95
95
|
], template: "<div class=\"ax-editor-container ax-look-{{ look }}\">\n <ng-content></ng-content>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n</div>\n<div class=\"ax-error-container\"></div>\n", styles: [".ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container:not(.ql-disabled) li[data-list=checked]>.ql-ui,.ql-container:not(.ql-disabled) li[data-list=unchecked]>.ql-ui{cursor:pointer}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}@supports (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-set:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor p,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{counter-reset:list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor table{border-collapse:collapse}.ql-editor td{border:1px solid #000;padding:2px 5px}.ql-editor ol{padding-left:1.5em}.ql-editor li{list-style-type:none;padding-left:1.5em;position:relative}.ql-editor li>.ql-ui:before{display:inline-block;margin-left:-1.5em;margin-right:.3em;text-align:right;white-space:nowrap;width:1.2em}.ql-editor li[data-list=checked]>.ql-ui,.ql-editor li[data-list=unchecked]>.ql-ui{color:#777}.ql-editor li[data-list=bullet]>.ql-ui:before{content:\"\\2022\"}.ql-editor li[data-list=checked]>.ql-ui:before{content:\"\\2611\"}.ql-editor li[data-list=unchecked]>.ql-ui:before{content:\"\\2610\"}@supports (counter-set:none){.ql-editor li[data-list]{counter-set:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list]{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered]{counter-increment:list-0}.ql-editor li[data-list=ordered]>.ql-ui:before{content:counter(list-0,decimal) \". \"}.ql-editor li[data-list=ordered].ql-indent-1{counter-increment:list-1}.ql-editor li[data-list=ordered].ql-indent-1>.ql-ui:before{content:counter(list-1,lower-alpha) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-set:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-2{counter-increment:list-2}.ql-editor li[data-list=ordered].ql-indent-2>.ql-ui:before{content:counter(list-2,lower-roman) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-set:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-3{counter-increment:list-3}.ql-editor li[data-list=ordered].ql-indent-3>.ql-ui:before{content:counter(list-3,decimal) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-set:list-4 list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-4{counter-increment:list-4}.ql-editor li[data-list=ordered].ql-indent-4>.ql-ui:before{content:counter(list-4,lower-alpha) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-set:list-5 list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-5{counter-increment:list-5}.ql-editor li[data-list=ordered].ql-indent-5>.ql-ui:before{content:counter(list-5,lower-roman) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-set:list-6 list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-6{counter-increment:list-6}.ql-editor li[data-list=ordered].ql-indent-6>.ql-ui:before{content:counter(list-6,decimal) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-set:list-7 list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-6{counter-reset:list-7 list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-7{counter-increment:list-7}.ql-editor li[data-list=ordered].ql-indent-7>.ql-ui:before{content:counter(list-7,lower-alpha) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-set:list-8 list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-7{counter-reset:list-8 list-9}}.ql-editor li[data-list=ordered].ql-indent-8{counter-increment:list-8}.ql-editor li[data-list=ordered].ql-indent-8>.ql-ui:before{content:counter(list-8,lower-roman) \". \"}@supports (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-set:list-9}}@supports not (counter-set:none){.ql-editor li[data-list].ql-indent-8{counter-reset:list-9}}.ql-editor li[data-list=ordered].ql-indent-9{counter-increment:list-9}.ql-editor li[data-list=ordered].ql-indent-9>.ql-ui:before{content:counter(list-9,decimal) \". \"}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor li.ql-direction-rtl{padding-right:1.5em}.ql-editor li.ql-direction-rtl>.ql-ui:before{margin-left:.3em;margin-right:-1.5em;text-align:left}.ql-editor table{table-layout:fixed;width:100%}.ql-editor table td{outline:none}.ql-editor .ql-code-block-container{font-family:monospace}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor .ql-ui{position:absolute}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}ax-wysiwyg-container{width:100%;display:block}ax-wysiwyg-container>.ax-editor-container{display:block;height:auto!important}\n/*! Bundled license information:\n\nquill/dist/quill.core.css:\n (*!\n * Quill Editor v2.0.2\n * https://quilljs.com\n * Copyright (c) 2017-2024, Slab\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n *)\n*/\n"] }]
|
96
96
|
}], ctorParameters: () => [] });
|
97
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3lzaXd5Zy1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3d5c2l3eWcvc3JjL2xpYi93eXNpd3lnL3d5c2l3eWctY29udGFpbmVyL3d5c2l3eWctY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy93eXNpd3lnL3NyYy9saWIvd3lzaXd5Zy93eXNpd3lnLWNvbnRhaW5lci93eXNpd3lnLWNvbnRhaW5lci5jb21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7XG4gICAgICB0aGlzLmNvbW1pdFZhbHVlKGh0bWwpO1xuICAgICAgaWYgKCF0aGlzLnNlcnZpY2UuaXNFZGl0b3JDbGVhbigpKSByZXR1cm47XG4gICAgICB0aGlzLnNlcnZpY2UuaXNFZGl0b3JDbGVhbi5zZXQoZmFsc2UpO1xuICAgIH1cbiAgfVxuXG4gIC8qKiBAaWdub3JlICovXG4gIG92ZXJyaWRlIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgIHRoaXMud3lzaXd5ZygpLnd5c2l3eWdPYmoub2ZmKCd0ZXh0LWNoYW5nZScsIHRoaXMuY2hhbmdlSGFuZGxlcik7XG4gICAgY2xlYXJUaW1lb3V0KHRoaXMuc2V0VGltZU91dCk7XG4gIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJheC1lZGl0b3ItY29udGFpbmVyIGF4LWxvb2ste3sgbG9vayB9fVwiPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LXZhbGlkYXRpb24tcnVsZVwiPiA8L25nLWNvbnRlbnQ+XG48L2Rpdj5cbjxkaXYgY2xhc3M9XCJheC1lcnJvci1jb250YWluZXJcIj48L2Rpdj5cbiJdfQ==
|
@@ -0,0 +1,96 @@
|
|
1
|
+
import { AXLeafletService } from '@acorex/cdk/map';
|
2
|
+
import * as i0 from '@angular/core';
|
3
|
+
import { input, output, viewChild, effect, Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
|
4
|
+
import { distinctUntilChanged } from 'rxjs/operators';
|
5
|
+
import { CommonModule } from '@angular/common';
|
6
|
+
|
7
|
+
class AXMapComponent {
|
8
|
+
ngAfterViewInit() {
|
9
|
+
this.leaflet = new AXLeafletService(this.mapContainer().nativeElement, { latitude: this.latitude(), longitude: this.longitude() }, this.zoomLevel());
|
10
|
+
if (this.markers()) {
|
11
|
+
this.leaflet.addMarker(this.markers());
|
12
|
+
}
|
13
|
+
}
|
14
|
+
addMarker(location) {
|
15
|
+
this.leaflet.addMarker(location);
|
16
|
+
}
|
17
|
+
flyTo(location, zoom, setMarker, duration) {
|
18
|
+
this.leaflet.flyTo(location, zoom, setMarker, duration);
|
19
|
+
}
|
20
|
+
constructor() {
|
21
|
+
this.zoomLevel = input(13);
|
22
|
+
this.latitude = input(51.505);
|
23
|
+
this.longitude = input(-0.09);
|
24
|
+
this.hasMarker = input(false);
|
25
|
+
this.markerPlace = input('topleft');
|
26
|
+
this.hasLocator = input(false);
|
27
|
+
this.locatePlace = input('bottomright');
|
28
|
+
this.markers = input(undefined);
|
29
|
+
this.onMarkerAdded = output();
|
30
|
+
this.onLocationFound = output();
|
31
|
+
this.mapContainer = viewChild('mapContainer');
|
32
|
+
effect(() => {
|
33
|
+
if (!this.hasLocator()) {
|
34
|
+
this.leaflet.removeLocateControl();
|
35
|
+
}
|
36
|
+
else {
|
37
|
+
this.leaflet.addLocateControl(this.locatePlace());
|
38
|
+
this.leaflet.onLocationFound
|
39
|
+
.pipe(distinctUntilChanged((prev, curr) => prev.latitude === curr.latitude && prev.longitude === curr.longitude))
|
40
|
+
.subscribe((location) => {
|
41
|
+
this.onLocationFound.emit(location);
|
42
|
+
});
|
43
|
+
}
|
44
|
+
});
|
45
|
+
effect(() => {
|
46
|
+
if (!this.hasMarker()) {
|
47
|
+
this.leaflet.removeDrawControl(this.markerPlace());
|
48
|
+
}
|
49
|
+
else {
|
50
|
+
this.leaflet.addDrawControl();
|
51
|
+
this.leaflet.onMarkerAdded.subscribe((location) => {
|
52
|
+
this.onMarkerAdded.emit(location);
|
53
|
+
});
|
54
|
+
}
|
55
|
+
});
|
56
|
+
effect(() => {
|
57
|
+
this.leaflet.setZoomLevel(this.zoomLevel());
|
58
|
+
}, {});
|
59
|
+
effect(() => {
|
60
|
+
this.leaflet.setCenter({
|
61
|
+
latitude: this.latitude(),
|
62
|
+
longitude: this.longitude(),
|
63
|
+
});
|
64
|
+
});
|
65
|
+
}
|
66
|
+
ngOnDestroy() {
|
67
|
+
this.leaflet.destroyMap();
|
68
|
+
}
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
70
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.0", type: AXMapComponent, selector: "ax-map", inputs: { zoomLevel: { classPropertyName: "zoomLevel", publicName: "zoomLevel", isSignal: true, isRequired: false, transformFunction: null }, latitude: { classPropertyName: "latitude", publicName: "latitude", isSignal: true, isRequired: false, transformFunction: null }, longitude: { classPropertyName: "longitude", publicName: "longitude", isSignal: true, isRequired: false, transformFunction: null }, hasMarker: { classPropertyName: "hasMarker", publicName: "hasMarker", isSignal: true, isRequired: false, transformFunction: null }, markerPlace: { classPropertyName: "markerPlace", publicName: "markerPlace", isSignal: true, isRequired: false, transformFunction: null }, hasLocator: { classPropertyName: "hasLocator", publicName: "hasLocator", isSignal: true, isRequired: false, transformFunction: null }, locatePlace: { classPropertyName: "locatePlace", publicName: "locatePlace", isSignal: true, isRequired: false, transformFunction: null }, markers: { classPropertyName: "markers", publicName: "markers", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onMarkerAdded: "onMarkerAdded", onLocationFound: "onLocationFound" }, viewQueries: [{ propertyName: "mapContainer", first: true, predicate: ["mapContainer"], descendants: true, isSignal: true }], ngImport: i0, template: "<div #mapContainer class=\"ax-map-container\"></div>\n", styles: [".ax-map-container{height:100%;width:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
71
|
+
}
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMapComponent, decorators: [{
|
73
|
+
type: Component,
|
74
|
+
args: [{ selector: 'ax-map', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div #mapContainer class=\"ax-map-container\"></div>\n", styles: [".ax-map-container{height:100%;width:100%}\n"] }]
|
75
|
+
}], ctorParameters: () => [] });
|
76
|
+
|
77
|
+
class AXMapModule {
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
79
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: AXMapModule, declarations: [AXMapComponent], imports: [CommonModule], exports: [AXMapComponent] }); }
|
80
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMapModule, imports: [CommonModule] }); }
|
81
|
+
}
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXMapModule, decorators: [{
|
83
|
+
type: NgModule,
|
84
|
+
args: [{
|
85
|
+
declarations: [AXMapComponent],
|
86
|
+
imports: [CommonModule],
|
87
|
+
exports: [AXMapComponent],
|
88
|
+
}]
|
89
|
+
}] });
|
90
|
+
|
91
|
+
/**
|
92
|
+
* Generated bundle index. Do not edit.
|
93
|
+
*/
|
94
|
+
|
95
|
+
export { AXMapComponent, AXMapModule };
|
96
|
+
//# sourceMappingURL=acorex-components-map.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-components-map.mjs","sources":["../../../../libs/components/map/src/lib/map.component.ts","../../../../libs/components/map/src/lib/map.component.html","../../../../libs/components/map/src/lib/map.module.ts","../../../../libs/components/map/src/acorex-components-map.ts"],"sourcesContent":["import { AXLeafletService, AXMapControlPlace, AXMapLocation } from '@acorex/cdk/map';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n effect,\n ElementRef,\n input,\n OnDestroy,\n output,\n viewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { distinctUntilChanged } from 'rxjs/operators';\n\n@Component({\n selector: 'ax-map',\n templateUrl: './map.component.html',\n styleUrls: ['./map.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXMapComponent implements AfterViewInit, OnDestroy {\n zoomLevel = input(13);\n latitude = input(51.505);\n longitude = input(-0.09);\n hasMarker = input(false);\n markerPlace = input<AXMapControlPlace>('topleft');\n hasLocator = input(false);\n locatePlace = input<AXMapControlPlace>('bottomright');\n markers = input<AXMapLocation | AXMapLocation[] | undefined>(undefined);\n onMarkerAdded = output<AXMapLocation>();\n onLocationFound = output<AXMapLocation>();\n\n private mapContainer = viewChild<ElementRef>('mapContainer');\n private leaflet;\n\n ngAfterViewInit() {\n this.leaflet = new AXLeafletService(\n this.mapContainer().nativeElement,\n { latitude: this.latitude(), longitude: this.longitude() },\n this.zoomLevel(),\n );\n if (this.markers()) {\n this.leaflet.addMarker(this.markers());\n }\n }\n\n addMarker(location: AXMapLocation) {\n this.leaflet.addMarker(location);\n }\n\n flyTo(location: AXMapLocation, zoom?: number, setMarker?: boolean, duration?: number) {\n this.leaflet.flyTo(location, zoom, setMarker, duration);\n }\n\n constructor() {\n effect(() => {\n if (!this.hasLocator()) {\n this.leaflet.removeLocateControl();\n } else {\n this.leaflet.addLocateControl(this.locatePlace());\n this.leaflet.onLocationFound\n .pipe(\n distinctUntilChanged(\n (prev: AXMapLocation, curr: AXMapLocation) =>\n prev.latitude === curr.latitude && prev.longitude === curr.longitude,\n ),\n )\n .subscribe((location: AXMapLocation) => {\n this.onLocationFound.emit(location);\n });\n }\n });\n effect(() => {\n if (!this.hasMarker()) {\n this.leaflet.removeDrawControl(this.markerPlace());\n } else {\n this.leaflet.addDrawControl();\n this.leaflet.onMarkerAdded.subscribe((location: AXMapLocation) => {\n this.onMarkerAdded.emit(location);\n });\n }\n });\n effect(() => {\n this.leaflet.setZoomLevel(this.zoomLevel());\n }, {});\n effect(() => {\n this.leaflet.setCenter({\n latitude: this.latitude(),\n longitude: this.longitude(),\n } as AXMapLocation);\n });\n }\n ngOnDestroy(): void {\n this.leaflet.destroyMap();\n }\n}\n","<div #mapContainer class=\"ax-map-container\"></div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXMapComponent } from './map.component';\n\n@NgModule({\n declarations: [AXMapComponent],\n imports: [CommonModule],\n exports: [AXMapComponent],\n})\nexport class AXMapModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAsBa,cAAc,CAAA;IAezB,eAAe,GAAA;AACb,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI,gBAAgB,CACjC,IAAI,CAAC,YAAY,EAAE,CAAC,aAAa,EACjC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,EAAE,EAC1D,IAAI,CAAC,SAAS,EAAE,CACjB,CAAC;AACF,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE;YAClB,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;SACxC;KACF;AAED,IAAA,SAAS,CAAC,QAAuB,EAAA;AAC/B,QAAA,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;KAClC;AAED,IAAA,KAAK,CAAC,QAAuB,EAAE,IAAa,EAAE,SAAmB,EAAE,QAAiB,EAAA;AAClF,QAAA,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;KACzD;AAED,IAAA,WAAA,GAAA;AAjCA,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,EAAE,CAAC,CAAC;AACtB,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AACzB,QAAA,IAAA,CAAA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