@acorex/components 16.18.49 → 16.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-components.mjs +726 -693
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/base/base-page.class.d.ts +2 -2
- package/lib/base/element.class.d.ts +5 -5
- package/lib/calendar/scheduler/views/scheduler-view.component.d.ts +1 -1
- package/lib/data-filter/filter.class.d.ts +1 -1
- package/lib/data-list/core/data-list.component.d.ts +1 -1
- package/lib/property-editor/property-editor.class.d.ts +1 -1
- package/package.json +4 -6
- package/esm2022/acorex-components.mjs +0 -5
- package/esm2022/index.mjs +0 -159
- package/esm2022/lib/accordion/accordion.component.mjs +0 -45
- package/esm2022/lib/accordion/accordion.module.mjs +0 -20
- package/esm2022/lib/base/base-page.class.mjs +0 -97
- package/esm2022/lib/base/components.class.mjs +0 -17
- package/esm2022/lib/base/element.class.mjs +0 -307
- package/esm2022/lib/base/events.class.mjs +0 -17
- package/esm2022/lib/button/button.component.mjs +0 -74
- package/esm2022/lib/button/button.module.mjs +0 -21
- package/esm2022/lib/calendar/calendar-box/calendar-box.component.mjs +0 -472
- package/esm2022/lib/calendar/calendar-box/calendar-box.module.mjs +0 -22
- package/esm2022/lib/calendar/scheduler/scheduler-views.property.mjs +0 -59
- package/esm2022/lib/calendar/scheduler/scheduler.class.mjs +0 -16
- package/esm2022/lib/calendar/scheduler/scheduler.component.mjs +0 -226
- package/esm2022/lib/calendar/scheduler/scheduler.module.mjs +0 -68
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +0 -136
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +0 -37
- package/esm2022/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.mjs +0 -49
- package/esm2022/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.mjs +0 -102
- package/esm2022/lib/calendar/scheduler/views/month/scheduler-month-view.component.mjs +0 -214
- package/esm2022/lib/calendar/scheduler/views/scheduler-view.component.mjs +0 -99
- package/esm2022/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.mjs +0 -85
- package/esm2022/lib/checkbox/checkbox.component.mjs +0 -112
- package/esm2022/lib/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/lib/color-picker/color-box/color-box.component.mjs +0 -423
- package/esm2022/lib/color-picker/color-picker.component.mjs +0 -89
- package/esm2022/lib/color-picker/color-picker.module.mjs +0 -24
- package/esm2022/lib/context-menu/context-menu.component.mjs +0 -68
- package/esm2022/lib/context-menu/context-menu.directive.mjs +0 -146
- package/esm2022/lib/context-menu/context-menu.module.mjs +0 -20
- package/esm2022/lib/data-filter/columns/filter-column-date.component.mjs +0 -140
- package/esm2022/lib/data-filter/columns/filter-column-number.component.mjs +0 -119
- package/esm2022/lib/data-filter/columns/filter-column-selection.component.mjs +0 -75
- package/esm2022/lib/data-filter/columns/filter-column-string.component.mjs +0 -119
- package/esm2022/lib/data-filter/filter-panel/filter-panel.component.mjs +0 -267
- package/esm2022/lib/data-filter/filter.class.mjs +0 -46
- package/esm2022/lib/data-filter/filter.module.mjs +0 -88
- package/esm2022/lib/data-filter/toolbar/filter-toolbar.component.mjs +0 -168
- package/esm2022/lib/data-list/core/data-list.component.mjs +0 -37
- package/esm2022/lib/data-list/list/list.component.mjs +0 -134
- package/esm2022/lib/data-list/list/list.module.mjs +0 -22
- package/esm2022/lib/data-list/list/toolbar-list-view.component.mjs +0 -84
- package/esm2022/lib/data-source/datasource.component.mjs +0 -47
- package/esm2022/lib/data-source/datasource.module.mjs +0 -18
- package/esm2022/lib/data-source/read-param.mjs +0 -7
- package/esm2022/lib/date-picker/date-picker.component.mjs +0 -1102
- package/esm2022/lib/date-picker/date-picker.module.mjs +0 -50
- package/esm2022/lib/dialog/dialog.component.mjs +0 -26
- package/esm2022/lib/dialog/dialog.module.mjs +0 -21
- package/esm2022/lib/dialog/dialog.service.mjs +0 -160
- package/esm2022/lib/drawer/content.component.mjs +0 -18
- package/esm2022/lib/drawer/drawer-container.component.mjs +0 -38
- package/esm2022/lib/drawer/drawer.component.mjs +0 -146
- package/esm2022/lib/drawer/drawer.module.mjs +0 -23
- package/esm2022/lib/dropdown/dropdown.component.mjs +0 -186
- package/esm2022/lib/dropdown/dropdown.module.mjs +0 -26
- package/esm2022/lib/fieldset/fieldset.component.mjs +0 -57
- package/esm2022/lib/fieldset/fieldset.module.mjs +0 -19
- package/esm2022/lib/form-group/form-group.component.mjs +0 -108
- package/esm2022/lib/form-group/form-group.module.mjs +0 -22
- package/esm2022/lib/form-group/form-lable.directive.mjs +0 -23
- package/esm2022/lib/label/label.component.mjs +0 -22
- package/esm2022/lib/label/label.module.mjs +0 -21
- package/esm2022/lib/loading/loading-indicator.component.mjs +0 -18
- package/esm2022/lib/loading/loading-panel.component.mjs +0 -45
- package/esm2022/lib/loading/loading.module.mjs +0 -21
- package/esm2022/lib/loading/loading.service.mjs +0 -47
- package/esm2022/lib/menu/menu-item.component.mjs +0 -50
- package/esm2022/lib/menu/menu.component.mjs +0 -114
- package/esm2022/lib/menu/menu.module.mjs +0 -22
- package/esm2022/lib/menu/menu2.component.mjs +0 -100
- package/esm2022/lib/number-box/number-box.component.mjs +0 -715
- package/esm2022/lib/number-box/number-box.module.mjs +0 -21
- package/esm2022/lib/page/content.component.mjs +0 -27
- package/esm2022/lib/page/footer.component.mjs +0 -19
- package/esm2022/lib/page/page.component.mjs +0 -57
- package/esm2022/lib/page/page.module.mjs +0 -22
- package/esm2022/lib/panel-box/panel-box.component.mjs +0 -87
- package/esm2022/lib/panel-box/panel-box.module.mjs +0 -19
- package/esm2022/lib/password-box/password-box.component.mjs +0 -36
- package/esm2022/lib/password-box/password-box.module.mjs +0 -23
- package/esm2022/lib/popover/custom-cdk-overlay.service.mjs +0 -50
- package/esm2022/lib/popover/overlay.service.mjs +0 -94
- package/esm2022/lib/popover/popover.component.mjs +0 -145
- package/esm2022/lib/popover/popover.module.mjs +0 -19
- package/esm2022/lib/popup/popup.component.mjs +0 -160
- package/esm2022/lib/popup/popup.module.mjs +0 -25
- package/esm2022/lib/popup/popup.service.mjs +0 -94
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +0 -16
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +0 -19
- package/esm2022/lib/property-editor/editors/check-editor/check-editor.mjs +0 -65
- package/esm2022/lib/property-editor/editors/check-editor/check.module.mjs +0 -22
- package/esm2022/lib/property-editor/editors/color-editor/color.editor.mjs +0 -41
- package/esm2022/lib/property-editor/editors/color-editor/color.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/column-editor/column.editor.mjs +0 -118
- package/esm2022/lib/property-editor/editors/column-editor/column.module.mjs +0 -32
- package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.mjs +0 -216
- package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.module.mjs +0 -76
- package/esm2022/lib/property-editor/editors/date-editor/date.editor.mjs +0 -87
- package/esm2022/lib/property-editor/editors/date-editor/date.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/number-editor/number.editor.mjs +0 -72
- package/esm2022/lib/property-editor/editors/number-editor/number.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/range-editor/range.editor.mjs +0 -145
- package/esm2022/lib/property-editor/editors/range-editor/range.module.mjs +0 -59
- package/esm2022/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.mjs +0 -76
- package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +0 -75
- package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.module.mjs +0 -25
- package/esm2022/lib/property-editor/editors/selection-editor/selection-editor.mjs +0 -73
- package/esm2022/lib/property-editor/editors/selection-editor/selection.module.mjs +0 -22
- package/esm2022/lib/property-editor/editors/switch-editor/number.editor.mjs +0 -30
- package/esm2022/lib/property-editor/editors/switch-editor/number.module.mjs +0 -25
- package/esm2022/lib/property-editor/editors/text-editor/text.editor.mjs +0 -36
- package/esm2022/lib/property-editor/editors/text-editor/text.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/textarea-editor/textarea.editor.mjs +0 -35
- package/esm2022/lib/property-editor/editors/textarea-editor/textarea.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/time-editor/time.editor.mjs +0 -55
- package/esm2022/lib/property-editor/editors/time-editor/time.module.mjs +0 -24
- package/esm2022/lib/property-editor/property-editor-renderer.directive.mjs +0 -167
- package/esm2022/lib/property-editor/property-editor.class.mjs +0 -108
- package/esm2022/lib/property-editor/property-editor.module.mjs +0 -194
- package/esm2022/lib/query-builder/query-builder-group.component.mjs +0 -129
- package/esm2022/lib/query-builder/query-builder-popup/query-builder-popup.component.mjs +0 -177
- package/esm2022/lib/query-builder/query-builder-rule.component.mjs +0 -428
- package/esm2022/lib/query-builder/query-builder.class.mjs +0 -42
- package/esm2022/lib/query-builder/query-builder.component.mjs +0 -92
- package/esm2022/lib/query-builder/query-builder.module.mjs +0 -62
- package/esm2022/lib/query-builder/query-builder.service.mjs +0 -199
- package/esm2022/lib/search-bar/search-bar.component.mjs +0 -293
- package/esm2022/lib/search-bar/search-bar.module.mjs +0 -61
- package/esm2022/lib/searchbox/searchbox.component.mjs +0 -138
- package/esm2022/lib/searchbox/searchbox.module.mjs +0 -24
- package/esm2022/lib/selectbox/selectbox.component.mjs +0 -1137
- package/esm2022/lib/selectbox/selectbox.module.mjs +0 -45
- package/esm2022/lib/selectbox/selectbox2.component.mjs +0 -617
- package/esm2022/lib/selection-list/selection-list.component.mjs +0 -120
- package/esm2022/lib/selection-list/selection-list.module.mjs +0 -21
- package/esm2022/lib/switch/switch.component.mjs +0 -55
- package/esm2022/lib/switch/switch.module.mjs +0 -20
- package/esm2022/lib/tab-page/tab-page-Renderer.component.mjs +0 -75
- package/esm2022/lib/tab-page/tab-page-host.component.mjs +0 -124
- package/esm2022/lib/tab-page/tab-page.module.mjs +0 -21
- package/esm2022/lib/tab-page/tab-page.service.mjs +0 -159
- package/esm2022/lib/tab-strip/tab-strip.component.mjs +0 -48
- package/esm2022/lib/tab-strip/tab-strip.module.mjs +0 -19
- package/esm2022/lib/tab-view/dynamic-tabs.directive.mjs +0 -25
- package/esm2022/lib/tab-view/tab-view.component.mjs +0 -110
- package/esm2022/lib/tab-view/tab-view.module.mjs +0 -21
- package/esm2022/lib/tab-view/tab.component.mjs +0 -33
- package/esm2022/lib/textarea/textarea.component.mjs +0 -44
- package/esm2022/lib/textarea/textarea.module.mjs +0 -21
- package/esm2022/lib/textbox/textbox.component.mjs +0 -46
- package/esm2022/lib/textbox/textbox.module.mjs +0 -36
- package/esm2022/lib/time-picker/time-picker.component.mjs +0 -1107
- package/esm2022/lib/time-picker/time-picker.module.mjs +0 -34
- package/esm2022/lib/toast/toast-message/toast-message.component.mjs +0 -76
- package/esm2022/lib/toast/toast-wrapper/toast-wrapper.component.mjs +0 -13
- package/esm2022/lib/toast/toast.module.mjs +0 -21
- package/esm2022/lib/toast/toast.service.mjs +0 -45
- package/esm2022/lib/toolbar/group-button/toolbar-group-button.component.mjs +0 -77
- package/esm2022/lib/toolbar/menu/toolbar-menu.component.mjs +0 -65
- package/esm2022/lib/toolbar/search/toolbar-search.component.mjs +0 -56
- package/esm2022/lib/toolbar/title/toolbar-title.component.mjs +0 -37
- package/esm2022/lib/toolbar/toolbar-item.mjs +0 -4
- package/esm2022/lib/toolbar/toolbar.component.mjs +0 -13
- package/esm2022/lib/toolbar/toolbar.module.mjs +0 -40
- package/esm2022/lib/tooltip/tooltip.directive.mjs +0 -115
- package/esm2022/lib/tooltip/tooltip.module.mjs +0 -19
- package/esm2022/lib/tree-side-menu/tree-side-menu.component.mjs +0 -697
- package/esm2022/lib/tree-side-menu/tree-side-menu.module.mjs +0 -33
- package/esm2022/lib/tree-view/tree-view.component.mjs +0 -854
- package/esm2022/lib/tree-view/tree-view.module.mjs +0 -22
- package/esm2022/lib/upload-file/upload-file.component.mjs +0 -299
- package/esm2022/lib/upload-file/upload-file.events.mjs +0 -2
- package/esm2022/lib/upload-file/upload-file.module.mjs +0 -24
- package/esm2022/lib/validation/validation-form.component.mjs +0 -68
- package/esm2022/lib/validation/validation-rule.widget.mjs +0 -133
- package/esm2022/lib/validation/validation.class.mjs +0 -2
- package/esm2022/lib/validation/validation.component.mjs +0 -89
- package/esm2022/lib/validation/validation.module.mjs +0 -34
@@ -1,307 +0,0 @@
|
|
1
|
-
import { Input, Output, EventEmitter, ChangeDetectorRef, ViewChild, ElementRef, ContentChild, Directive, } from '@angular/core';
|
2
|
-
import { AXValidation, } from '../validation/validation.component';
|
3
|
-
import { AXHtmlUtil } from '@acorex/core';
|
4
|
-
import { AXValueEvent } from './events.class';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export class AXBaseComponent {
|
7
|
-
cssClass;
|
8
|
-
uid = AXHtmlUtil.getUID();
|
9
|
-
constructor() { }
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
11
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.7", type: AXBaseComponent, inputs: { cssClass: "cssClass" }, ngImport: i0 });
|
12
|
-
}
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXBaseComponent, decorators: [{
|
14
|
-
type: Directive
|
15
|
-
}], ctorParameters: () => [], propDecorators: { cssClass: [{
|
16
|
-
type: Input
|
17
|
-
}] } });
|
18
|
-
export class AXBaseInputChangeEvent extends AXValueEvent {
|
19
|
-
isUserChange;
|
20
|
-
}
|
21
|
-
export class AXValidatableComponent extends AXBaseComponent {
|
22
|
-
__valueField = 'value';
|
23
|
-
__nativeElement;
|
24
|
-
__validation;
|
25
|
-
tabIndex = 0;
|
26
|
-
initValidation(elementRef, valueField, validation) {
|
27
|
-
this.__nativeElement = elementRef.nativeElement;
|
28
|
-
this.__valueField = valueField;
|
29
|
-
this.__validation = validation;
|
30
|
-
const value = this[this.__valueField];
|
31
|
-
if ((!Array.isArray(value) && value) ||
|
32
|
-
(Array.isArray(value) && value.length > 0))
|
33
|
-
this.validate();
|
34
|
-
}
|
35
|
-
get validation() {
|
36
|
-
return this.__validation;
|
37
|
-
}
|
38
|
-
validate() {
|
39
|
-
if (this.__validation !== undefined &&
|
40
|
-
(this.__validation.rules || []).length > 0) {
|
41
|
-
const result = this.__validation.validate(this[this.__valueField]);
|
42
|
-
result.then((c) => {
|
43
|
-
if (c.result) {
|
44
|
-
this.clearValidationStyle(this.__nativeElement);
|
45
|
-
}
|
46
|
-
else {
|
47
|
-
this.applyValidationStyle(this.__nativeElement, c);
|
48
|
-
}
|
49
|
-
});
|
50
|
-
return result;
|
51
|
-
}
|
52
|
-
else {
|
53
|
-
return Promise.resolve({ result: true });
|
54
|
-
}
|
55
|
-
}
|
56
|
-
clearValidationStyle(element, clear = false) {
|
57
|
-
if (this.__validation !== undefined &&
|
58
|
-
(this.__validation.rules || []).length > 0) {
|
59
|
-
const formGroup = element.closest('.form-group');
|
60
|
-
const formItem = formGroup?.querySelector('.form-item') ||
|
61
|
-
element.closest('.form-item') ||
|
62
|
-
element.querySelector('.form-item');
|
63
|
-
const label = formGroup?.querySelector('.form-group-label');
|
64
|
-
const parent = formItem?.parentElement || element.parentElement;
|
65
|
-
formItem?.classList.remove('success-state');
|
66
|
-
formItem?.classList.remove('error-state');
|
67
|
-
//formItem?.classList.remove('required-state');
|
68
|
-
if (!clear) {
|
69
|
-
formItem?.classList.add('success-state');
|
70
|
-
}
|
71
|
-
// label?.classList.remove('error-text');
|
72
|
-
if (parent.querySelector('span.error-text')) {
|
73
|
-
parent.removeChild(parent.querySelector('span.error-text'));
|
74
|
-
}
|
75
|
-
}
|
76
|
-
}
|
77
|
-
applyValidationStyle(element, v) {
|
78
|
-
if (this.__validation !== undefined &&
|
79
|
-
(this.__validation.rules || []).length > 0) {
|
80
|
-
const formGroup = element.closest('.form-group');
|
81
|
-
const formItem = formGroup?.querySelector('.form-item') ||
|
82
|
-
element.closest('.form-item') ||
|
83
|
-
element.querySelector('.form-item');
|
84
|
-
const label = formGroup?.querySelector('.form-group-label');
|
85
|
-
const parent = formItem?.parentElement || element.parentElement;
|
86
|
-
formItem?.classList.add('error-state');
|
87
|
-
formItem?.classList.remove('success-state');
|
88
|
-
if (parent.querySelector('span.error-text')) {
|
89
|
-
parent.removeChild(parent.querySelector('span.error-text'));
|
90
|
-
}
|
91
|
-
if (this.__validation.showMessage) {
|
92
|
-
const span = document.createElement('span');
|
93
|
-
span.innerText = v.message;
|
94
|
-
span.classList.add('ax', 'error-text');
|
95
|
-
parent.appendChild(span);
|
96
|
-
}
|
97
|
-
// label?.classList.add('error-text');
|
98
|
-
}
|
99
|
-
}
|
100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidatableComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
101
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.7", type: AXValidatableComponent, inputs: { tabIndex: "tabIndex" }, usesInheritance: true, ngImport: i0 });
|
102
|
-
}
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidatableComponent, decorators: [{
|
104
|
-
type: Directive
|
105
|
-
}], propDecorators: { tabIndex: [{
|
106
|
-
type: Input
|
107
|
-
}] } });
|
108
|
-
export class AXBaseTextComponent extends AXValidatableComponent {
|
109
|
-
cdr;
|
110
|
-
ref;
|
111
|
-
ngAfterViewInit() {
|
112
|
-
if (this.input) {
|
113
|
-
this.input.nativeElement.onkeyup = (e) => {
|
114
|
-
this.userChange = true;
|
115
|
-
this.value = e.target.value;
|
116
|
-
this.onkey.emit(e);
|
117
|
-
};
|
118
|
-
this.input.nativeElement.onkeydown = (e) => {
|
119
|
-
this.userChange = true;
|
120
|
-
this.value = e.target.value;
|
121
|
-
this.onkey.emit(e);
|
122
|
-
};
|
123
|
-
this.input.nativeElement.onkeypress = (e) => {
|
124
|
-
this.userChange = true;
|
125
|
-
this.value = e.target.value;
|
126
|
-
this.onkey.emit(e);
|
127
|
-
};
|
128
|
-
}
|
129
|
-
}
|
130
|
-
ngAfterContentInit() {
|
131
|
-
this.initValidation(this.ref, 'value', this.validation);
|
132
|
-
}
|
133
|
-
tabIndex = 0;
|
134
|
-
// @ContentChild('input', { static: true })
|
135
|
-
input;
|
136
|
-
_contentValidation;
|
137
|
-
_validation;
|
138
|
-
get validation() {
|
139
|
-
return this._validation ? this._validation : this._contentValidation;
|
140
|
-
}
|
141
|
-
set validation(v) {
|
142
|
-
this._validation = v;
|
143
|
-
this.initValidation(this.ref, 'value', v);
|
144
|
-
}
|
145
|
-
disabled = false;
|
146
|
-
readonly = false;
|
147
|
-
textAlign = null;
|
148
|
-
size = 'md';
|
149
|
-
placeholder;
|
150
|
-
autocomplete;
|
151
|
-
name;
|
152
|
-
userChange = false;
|
153
|
-
constructor(cdr, ref) {
|
154
|
-
super();
|
155
|
-
this.cdr = cdr;
|
156
|
-
this.ref = ref;
|
157
|
-
}
|
158
|
-
onkey = new EventEmitter();
|
159
|
-
onBlur = new EventEmitter();
|
160
|
-
onFocus = new EventEmitter();
|
161
|
-
onValueChanged = new EventEmitter();
|
162
|
-
valueChange = new EventEmitter();
|
163
|
-
icon = '';
|
164
|
-
allowClear = false;
|
165
|
-
_value;
|
166
|
-
get value() {
|
167
|
-
return this._value;
|
168
|
-
}
|
169
|
-
set value(v) {
|
170
|
-
if (v !== this._value) {
|
171
|
-
const old = this._value;
|
172
|
-
this._value = v;
|
173
|
-
this.valueChange.emit(v);
|
174
|
-
this.onValueChanged.emit({
|
175
|
-
component: this,
|
176
|
-
value: v,
|
177
|
-
oldValue: old,
|
178
|
-
isUserChange: this.userChange,
|
179
|
-
});
|
180
|
-
this.userChange = false;
|
181
|
-
this.clearValidationStyle(this.input.nativeElement, v ? false : true);
|
182
|
-
this.cdr.detectChanges();
|
183
|
-
}
|
184
|
-
}
|
185
|
-
focus() {
|
186
|
-
this.input.nativeElement.focus();
|
187
|
-
}
|
188
|
-
clear() {
|
189
|
-
this.userChange = true;
|
190
|
-
this.value = null;
|
191
|
-
this.input.nativeElement.value = null;
|
192
|
-
}
|
193
|
-
isFocused() {
|
194
|
-
return this.input.nativeElement === document.activeElement;
|
195
|
-
}
|
196
|
-
setTextAlign() {
|
197
|
-
if (this.textAlign === 'left') {
|
198
|
-
return 'text-left';
|
199
|
-
}
|
200
|
-
if (this.textAlign === 'right') {
|
201
|
-
return 'text-right';
|
202
|
-
}
|
203
|
-
}
|
204
|
-
handleInputBlur(e) {
|
205
|
-
this.onBlur.emit({
|
206
|
-
component: this,
|
207
|
-
htmlElement: this.ref.nativeElement,
|
208
|
-
htmlEvent: e,
|
209
|
-
});
|
210
|
-
}
|
211
|
-
handleInputFocus(e) {
|
212
|
-
this.onFocus.emit({
|
213
|
-
component: this,
|
214
|
-
htmlElement: this.ref.nativeElement,
|
215
|
-
htmlEvent: e,
|
216
|
-
});
|
217
|
-
}
|
218
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXBaseTextComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
219
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.7", type: AXBaseTextComponent, inputs: { tabIndex: "tabIndex", validation: "validation", disabled: "disabled", readonly: "readonly", textAlign: "textAlign", size: "size", placeholder: "placeholder", autocomplete: "autocomplete", name: "name", icon: "icon", allowClear: "allowClear", value: "value" }, outputs: { onkey: "onkey", onBlur: "onBlur", onFocus: "onFocus", onValueChanged: "onValueChanged", valueChange: "valueChange" }, queries: [{ propertyName: "_contentValidation", first: true, predicate: AXValidation, descendants: true, static: true }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], usesInheritance: true, ngImport: i0 });
|
220
|
-
}
|
221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXBaseTextComponent, decorators: [{
|
222
|
-
type: Directive
|
223
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { tabIndex: [{
|
224
|
-
type: Input
|
225
|
-
}],
|
226
|
-
// @ContentChild('input', { static: true })
|
227
|
-
input: [{
|
228
|
-
type: ViewChild,
|
229
|
-
args: ['input', { static: true }]
|
230
|
-
}], _contentValidation: [{
|
231
|
-
type: ContentChild,
|
232
|
-
args: [AXValidation, { static: true }]
|
233
|
-
}], validation: [{
|
234
|
-
type: Input
|
235
|
-
}], disabled: [{
|
236
|
-
type: Input
|
237
|
-
}], readonly: [{
|
238
|
-
type: Input
|
239
|
-
}], textAlign: [{
|
240
|
-
type: Input
|
241
|
-
}], size: [{
|
242
|
-
type: Input
|
243
|
-
}], placeholder: [{
|
244
|
-
type: Input
|
245
|
-
}], autocomplete: [{
|
246
|
-
type: Input
|
247
|
-
}], name: [{
|
248
|
-
type: Input
|
249
|
-
}], onkey: [{
|
250
|
-
type: Output
|
251
|
-
}], onBlur: [{
|
252
|
-
type: Output
|
253
|
-
}], onFocus: [{
|
254
|
-
type: Output
|
255
|
-
}], onValueChanged: [{
|
256
|
-
type: Output
|
257
|
-
}], valueChange: [{
|
258
|
-
type: Output
|
259
|
-
}], icon: [{
|
260
|
-
type: Input
|
261
|
-
}], allowClear: [{
|
262
|
-
type: Input
|
263
|
-
}], value: [{
|
264
|
-
type: Input
|
265
|
-
}] } });
|
266
|
-
export class AXBaseButtonComponent extends AXBaseComponent {
|
267
|
-
disabled;
|
268
|
-
click = new EventEmitter();
|
269
|
-
size = 'md';
|
270
|
-
tabIndex = 0;
|
271
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXBaseButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
272
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.7", type: AXBaseButtonComponent, inputs: { disabled: "disabled", size: "size", tabIndex: "tabIndex" }, outputs: { click: "click" }, usesInheritance: true, ngImport: i0 });
|
273
|
-
}
|
274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXBaseButtonComponent, decorators: [{
|
275
|
-
type: Directive
|
276
|
-
}], propDecorators: { disabled: [{
|
277
|
-
type: Input
|
278
|
-
}], click: [{
|
279
|
-
type: Output
|
280
|
-
}], size: [{
|
281
|
-
type: Input
|
282
|
-
}], tabIndex: [{
|
283
|
-
type: Input
|
284
|
-
}] } });
|
285
|
-
export class AXBaseDropdownComponent extends AXBaseComponent {
|
286
|
-
disabled;
|
287
|
-
size;
|
288
|
-
fitParent = true;
|
289
|
-
tabIndex = 0;
|
290
|
-
showDropDownButton = true;
|
291
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXBaseDropdownComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
292
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.7", type: AXBaseDropdownComponent, inputs: { disabled: "disabled", size: "size", fitParent: "fitParent", tabIndex: "tabIndex", showDropDownButton: "showDropDownButton" }, usesInheritance: true, ngImport: i0 });
|
293
|
-
}
|
294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXBaseDropdownComponent, decorators: [{
|
295
|
-
type: Directive
|
296
|
-
}], propDecorators: { disabled: [{
|
297
|
-
type: Input
|
298
|
-
}], size: [{
|
299
|
-
type: Input
|
300
|
-
}], fitParent: [{
|
301
|
-
type: Input
|
302
|
-
}], t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1
|
-
export class AXBaseEvent {
|
2
|
-
component;
|
3
|
-
htmlElement;
|
4
|
-
}
|
5
|
-
export class AXHtmlEvent extends AXBaseEvent {
|
6
|
-
htmlEvent;
|
7
|
-
}
|
8
|
-
export class AXValueEvent extends AXBaseEvent {
|
9
|
-
value;
|
10
|
-
oldValue;
|
11
|
-
}
|
12
|
-
export class AXDataEvent extends AXBaseEvent {
|
13
|
-
data;
|
14
|
-
}
|
15
|
-
export class AXEvent {
|
16
|
-
}
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnRzLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvYmFzZS9ldmVudHMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLFdBQVc7SUFDcEIsU0FBUyxDQUFNO0lBQ2YsV0FBVyxDQUFlO0NBQzdCO0FBRUQsTUFBTSxPQUFPLFdBQTZCLFNBQVEsV0FBVztJQUV6RCxTQUFTLENBQUs7Q0FDakI7QUFFRCxNQUFNLE9BQU8sWUFBZ0IsU0FBUSxXQUFXO0lBQzVDLEtBQUssQ0FBSztJQUNWLFFBQVEsQ0FBSztDQUNoQjtBQUVELE1BQU0sT0FBTyxXQUFlLFNBQVEsV0FBVztJQUMzQyxJQUFJLENBQUs7Q0FDWjtBQUVELE1BQU0sT0FBTyxPQUFPO0NBR25CIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIEFYQmFzZUV2ZW50IHtcbiAgICBjb21wb25lbnQ6IGFueTtcbiAgICBodG1sRWxlbWVudD86IEhUTUxFbGVtZW50O1xufVxuXG5leHBvcnQgY2xhc3MgQVhIdG1sRXZlbnQ8RSBleHRlbmRzIEV2ZW50PiBleHRlbmRzIEFYQmFzZUV2ZW50IHtcblxuICAgIGh0bWxFdmVudD86IEU7XG59XG5cbmV4cG9ydCBjbGFzcyBBWFZhbHVlRXZlbnQ8VD4gZXh0ZW5kcyBBWEJhc2VFdmVudCB7XG4gICAgdmFsdWU/OiBUO1xuICAgIG9sZFZhbHVlPzogVDtcbn1cblxuZXhwb3J0IGNsYXNzIEFYRGF0YUV2ZW50PFQ+IGV4dGVuZHMgQVhCYXNlRXZlbnQge1xuICAgIGRhdGE/OiBUO1xufVxuXG5leHBvcnQgY2xhc3MgQVhFdmVudDxULCBFIGV4dGVuZHMgRXZlbnQ+XG57XG5cbn1cbmV4cG9ydCBpbnRlcmZhY2UgQVhFdmVudDxULCBFIGV4dGVuZHMgRXZlbnQ+IGV4dGVuZHMgQVhEYXRhRXZlbnQ8VD4sIEFYSHRtbEV2ZW50PEU+IHtcblxufVxuXG5cblxuXG5cblxuIl19
|
@@ -1,74 +0,0 @@
|
|
1
|
-
import { Component, Input, ViewEncapsulation, ElementRef, ViewChild, HostListener } from '@angular/core';
|
2
|
-
import { AXBaseButtonComponent } from '../base/element.class';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/common";
|
5
|
-
export class AXButtonComponent extends AXBaseButtonComponent {
|
6
|
-
el;
|
7
|
-
constructor(el) {
|
8
|
-
super();
|
9
|
-
this.el = el;
|
10
|
-
}
|
11
|
-
container;
|
12
|
-
type = 'primary';
|
13
|
-
icon;
|
14
|
-
submitBehavior = false;
|
15
|
-
cancelBehavior = false;
|
16
|
-
block = false;
|
17
|
-
loading = false;
|
18
|
-
selected = false;
|
19
|
-
ngAfterViewInit() {
|
20
|
-
if (this.submitBehavior) {
|
21
|
-
setTimeout(() => {
|
22
|
-
this.focusButton();
|
23
|
-
}, 10);
|
24
|
-
}
|
25
|
-
}
|
26
|
-
handleClick(e) {
|
27
|
-
if (this.disabled === true) {
|
28
|
-
this.click.emit({
|
29
|
-
component: this,
|
30
|
-
htmlElement: this.el.nativeElement,
|
31
|
-
htmlEvent: e,
|
32
|
-
});
|
33
|
-
e.stopPropagation();
|
34
|
-
}
|
35
|
-
}
|
36
|
-
onKeydownHandler(e) {
|
37
|
-
if (this.cancelBehavior) {
|
38
|
-
this.handleClick(null);
|
39
|
-
e.stopPropagation();
|
40
|
-
e.preventDefault();
|
41
|
-
return false;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
focusButton() {
|
45
|
-
this.container.nativeElement.focus();
|
46
|
-
}
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
48
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXButtonComponent, selector: "ax-button", inputs: { type: "type", icon: "icon", submitBehavior: "submitBehavior", cancelBehavior: "cancelBehavior", block: "block", loading: "loading", selected: "selected" }, host: { listeners: { "document:keydown.escape": "onKeydownHandler($event)" } }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<button #container class=\"ax button form-control {{type}} {{size}} {{cssClass}}\" [class.ax-button-icon]=\"refContent.innerText.length==0 && refContent.children.length == 0\" [class.selected]=\"selected\" [class.icon]=\"icon\"\n [class.icon]=\"loading\" [class.disabled]=\"disabled || loading\" (click)=\"handleClick($event)\" [disabled]=\"disabled\"\n [ngStyle]=\"{'width.%': block ? 100 : 'auto'}\" [attr.tabindex]=\"tabIndex\">\n <div class=\"button-inner-content\">\n <ng-container *ngIf=\"icon && !loading\">\n <i class=\"{{icon}} icon\"></i>\n <ng-container *ngIf=\"refContent.innerText.length==0 && refContent.children.length == 0\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"loading\">\n <i class=\"far fa-circle-notch fa-spin icon\"></i>\n <ng-container *ngIf=\"refContent.innerText.length==0 && refContent.children.length == 0\"></ng-container>\n </ng-container>\n <div class=\"ax-wrapper\" #refContent>\n <ng-content></ng-content>\n </div>\n </div>\n</button>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], encapsulation: i0.ViewEncapsulation.None });
|
49
|
-
}
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXButtonComponent, decorators: [{
|
51
|
-
type: Component,
|
52
|
-
args: [{ selector: 'ax-button', encapsulation: ViewEncapsulation.None, template: "<button #container class=\"ax button form-control {{type}} {{size}} {{cssClass}}\" [class.ax-button-icon]=\"refContent.innerText.length==0 && refContent.children.length == 0\" [class.selected]=\"selected\" [class.icon]=\"icon\"\n [class.icon]=\"loading\" [class.disabled]=\"disabled || loading\" (click)=\"handleClick($event)\" [disabled]=\"disabled\"\n [ngStyle]=\"{'width.%': block ? 100 : 'auto'}\" [attr.tabindex]=\"tabIndex\">\n <div class=\"button-inner-content\">\n <ng-container *ngIf=\"icon && !loading\">\n <i class=\"{{icon}} icon\"></i>\n <ng-container *ngIf=\"refContent.innerText.length==0 && refContent.children.length == 0\"></ng-container>\n </ng-container>\n <ng-container *ngIf=\"loading\">\n <i class=\"far fa-circle-notch fa-spin icon\"></i>\n <ng-container *ngIf=\"refContent.innerText.length==0 && refContent.children.length == 0\"></ng-container>\n </ng-container>\n <div class=\"ax-wrapper\" #refContent>\n <ng-content></ng-content>\n </div>\n </div>\n</button>" }]
|
53
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { container: [{
|
54
|
-
type: ViewChild,
|
55
|
-
args: ['container', { static: true }]
|
56
|
-
}], type: [{
|
57
|
-
type: Input
|
58
|
-
}], icon: [{
|
59
|
-
type: Input
|
60
|
-
}], submitBehavior: [{
|
61
|
-
type: Input
|
62
|
-
}], cancelBehavior: [{
|
63
|
-
type: Input
|
64
|
-
}], block: [{
|
65
|
-
type: Input
|
66
|
-
}], loading: [{
|
67
|
-
type: Input
|
68
|
-
}], selected: [{
|
69
|
-
type: Input
|
70
|
-
}], onKeydownHandler: [{
|
71
|
-
type: HostListener,
|
72
|
-
args: ['document:keydown.escape', ['$event']]
|
73
|
-
}] } });
|
74
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL2J1dHRvbi9idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvYnV0dG9uL2J1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxpQkFBaUIsRUFBRSxVQUFVLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7O0FBTzlELE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxxQkFBcUI7SUFFdEM7SUFBcEIsWUFBb0IsRUFBYztRQUNoQyxLQUFLLEVBQUUsQ0FBQztRQURVLE9BQUUsR0FBRixFQUFFLENBQVk7SUFFbEMsQ0FBQztJQUV5QyxTQUFTLENBQWdDO0lBR25GLElBQUksR0FBVyxTQUFTLENBQUM7SUFHekIsSUFBSSxDQUFTO0lBR2IsY0FBYyxHQUFZLEtBQUssQ0FBQztJQUdoQyxjQUFjLEdBQVksS0FBSyxDQUFDO0lBR2hDLEtBQUssR0FBWSxLQUFLLENBQUM7SUFHdkIsT0FBTyxHQUFZLEtBQUssQ0FBQztJQUd6QixRQUFRLEdB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5lclRleHQubGVuZ3RoPT0wICYmIHJlZkNvbnRlbnQuY2hpbGRyZW4ubGVuZ3RoID09IDBcIj48L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJsb2FkaW5nXCI+XG4gICAgICAgICAgICA8aSBjbGFzcz1cImZhciBmYS1jaXJjbGUtbm90Y2ggZmEtc3BpbiBpY29uXCI+PC9pPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInJlZkNvbnRlbnQuaW5uZXJUZXh0Lmxlbmd0aD09MCAmJiByZWZDb250ZW50LmNoaWxkcmVuLmxlbmd0aCA9PSAwXCI+PC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8ZGl2IGNsYXNzPVwiYXgtd3JhcHBlclwiICNyZWZDb250ZW50PlxuICAgICAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvYnV0dG9uPiJdfQ==
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { AXButtonComponent } from './button.component';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
const COMPONENT = [AXButtonComponent];
|
6
|
-
const MODULES = [CommonModule];
|
7
|
-
export class AXButtonModule {
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
9
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: AXButtonModule, declarations: [AXButtonComponent], imports: [CommonModule], exports: [AXButtonComponent] });
|
10
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXButtonModule, imports: [MODULES] });
|
11
|
-
}
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXButtonModule, decorators: [{
|
13
|
-
type: NgModule,
|
14
|
-
args: [{
|
15
|
-
declarations: [...COMPONENT],
|
16
|
-
imports: [...MODULES],
|
17
|
-
exports: [...COMPONENT],
|
18
|
-
providers: [],
|
19
|
-
}]
|
20
|
-
}] });
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL2J1dHRvbi9idXR0b24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG9CQUFvQixDQUFDOztBQUV2RCxNQUFNLFNBQVMsR0FBRyxDQUFDLGlCQUFpQixDQUFDLENBQUM7QUFDdEMsTUFBTSxPQUFPLEdBQUcsQ0FBQyxZQUFZLENBQUMsQ0FBQztBQVEvQixNQUFNLE9BQU8sY0FBYzt1R0FBZCxjQUFjO3dHQUFkLGNBQWMsaUJBVFIsaUJBQWlCLGFBQ25CLFlBQVksYUFEVixpQkFBaUI7d0dBU3ZCLGNBQWMsWUFKVixPQUFPOzsyRkFJWCxjQUFjO2tCQU4xQixRQUFRO21CQUFDO29CQUNOLFlBQVksRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDO29CQUM1QixPQUFPLEVBQUUsQ0FBQyxHQUFHLE9BQU8sQ0FB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