@acorex/cdk 21.0.2-next.49 → 21.0.2-next.50
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-cdk-accordion.mjs +38 -38
- package/fesm2022/acorex-cdk-accordion.mjs.map +1 -1
- package/fesm2022/acorex-cdk-carousel.mjs +4 -4
- package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
- package/fesm2022/acorex-cdk-clipboard.mjs +8 -8
- package/fesm2022/acorex-cdk-clipboard.mjs.map +1 -1
- package/fesm2022/acorex-cdk-common.mjs +171 -116
- package/fesm2022/acorex-cdk-common.mjs.map +1 -1
- package/fesm2022/acorex-cdk-dom.mjs +4 -4
- package/fesm2022/acorex-cdk-dom.mjs.map +1 -1
- package/fesm2022/acorex-cdk-double-click.mjs +6 -6
- package/fesm2022/acorex-cdk-double-click.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drag-drop.mjs +71 -71
- package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drawer.mjs +26 -26
- package/fesm2022/acorex-cdk-drawer.mjs.map +1 -1
- package/fesm2022/acorex-cdk-focus-trap.mjs +6 -6
- package/fesm2022/acorex-cdk-focus-trap.mjs.map +1 -1
- package/fesm2022/acorex-cdk-full-screen.mjs +5 -5
- package/fesm2022/acorex-cdk-full-screen.mjs.map +1 -1
- package/fesm2022/acorex-cdk-horizontal-scroll.mjs +6 -6
- package/fesm2022/acorex-cdk-horizontal-scroll.mjs.map +1 -1
- package/fesm2022/acorex-cdk-input-mask.mjs +20 -14
- package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -1
- package/fesm2022/acorex-cdk-list-navigation.mjs +19 -19
- package/fesm2022/acorex-cdk-list-navigation.mjs.map +1 -1
- package/fesm2022/acorex-cdk-outline.mjs +79 -68
- package/fesm2022/acorex-cdk-outline.mjs.map +1 -1
- package/fesm2022/acorex-cdk-overlay.mjs +16 -3
- package/fesm2022/acorex-cdk-overlay.mjs.map +1 -1
- package/fesm2022/acorex-cdk-pan-view.mjs +22 -22
- package/fesm2022/acorex-cdk-pan-view.mjs.map +1 -1
- package/fesm2022/acorex-cdk-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-cdk-resizable.mjs +12 -12
- package/fesm2022/acorex-cdk-resizable.mjs.map +1 -1
- package/fesm2022/acorex-cdk-selection.mjs +23 -23
- package/fesm2022/acorex-cdk-selection.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sliding-item.mjs +11 -11
- package/fesm2022/acorex-cdk-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sticky.mjs +3 -3
- package/fesm2022/acorex-cdk-sticky.mjs.map +1 -1
- package/fesm2022/acorex-cdk-uploader.mjs +28 -28
- package/fesm2022/acorex-cdk-uploader.mjs.map +1 -1
- package/fesm2022/acorex-cdk-virtual-scroll.mjs +18 -18
- package/fesm2022/acorex-cdk-virtual-scroll.mjs.map +1 -1
- package/fesm2022/acorex-cdk-wysiwyg.mjs +1 -1
- package/fesm2022/acorex-cdk-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-cdk-z-index.mjs +4 -4
- package/fesm2022/acorex-cdk-z-index.mjs.map +1 -1
- package/fesm2022/acorex-cdk.mjs.map +1 -1
- package/package.json +30 -29
- package/{common/index.d.ts → types/acorex-cdk-common.d.ts} +9 -7
- package/{focus-trap/index.d.ts → types/acorex-cdk-focus-trap.d.ts} +1 -1
- package/{input-mask/index.d.ts → types/acorex-cdk-input-mask.d.ts} +1 -0
- package/{outline/index.d.ts → types/acorex-cdk-outline.d.ts} +1 -0
- package/{overlay/index.d.ts → types/acorex-cdk-overlay.d.ts} +1 -0
- /package/{accordion/index.d.ts → types/acorex-cdk-accordion.d.ts} +0 -0
- /package/{carousel/index.d.ts → types/acorex-cdk-carousel.d.ts} +0 -0
- /package/{clipboard/index.d.ts → types/acorex-cdk-clipboard.d.ts} +0 -0
- /package/{dom/index.d.ts → types/acorex-cdk-dom.d.ts} +0 -0
- /package/{double-click/index.d.ts → types/acorex-cdk-double-click.d.ts} +0 -0
- /package/{drag-drop/index.d.ts → types/acorex-cdk-drag-drop.d.ts} +0 -0
- /package/{drawer/index.d.ts → types/acorex-cdk-drawer.d.ts} +0 -0
- /package/{full-screen/index.d.ts → types/acorex-cdk-full-screen.d.ts} +0 -0
- /package/{horizontal-scroll/index.d.ts → types/acorex-cdk-horizontal-scroll.d.ts} +0 -0
- /package/{list-navigation/index.d.ts → types/acorex-cdk-list-navigation.d.ts} +0 -0
- /package/{pan-view/index.d.ts → types/acorex-cdk-pan-view.d.ts} +0 -0
- /package/{qrcode/index.d.ts → types/acorex-cdk-qrcode.d.ts} +0 -0
- /package/{resizable/index.d.ts → types/acorex-cdk-resizable.d.ts} +0 -0
- /package/{selection/index.d.ts → types/acorex-cdk-selection.d.ts} +0 -0
- /package/{sliding-item/index.d.ts → types/acorex-cdk-sliding-item.d.ts} +0 -0
- /package/{sticky/index.d.ts → types/acorex-cdk-sticky.d.ts} +0 -0
- /package/{uploader/index.d.ts → types/acorex-cdk-uploader.d.ts} +0 -0
- /package/{virtual-scroll/index.d.ts → types/acorex-cdk-virtual-scroll.d.ts} +0 -0
- /package/{wysiwyg/index.d.ts → types/acorex-cdk-wysiwyg.d.ts} +0 -0
- /package/{z-index/index.d.ts → types/acorex-cdk-z-index.d.ts} +0 -0
- /package/{index.d.ts → types/acorex-cdk.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { model, output, Component, inject, ElementRef, signal, afterNextRender, Injectable, ChangeDetectorRef, ViewContainerRef, EventEmitter, DOCUMENT, PLATFORM_ID, Renderer2, Input, Directive, NgModule, InjectionToken, Output, input, effect } from '@angular/core';
|
|
3
3
|
import { AXHtmlUtil } from '@acorex/core/utils';
|
|
4
|
-
import { flatten, cloneDeep, isEqual, omit,
|
|
4
|
+
import { flatten, cloneDeep, isEqual, omit, get } from 'lodash-es';
|
|
5
5
|
import { isBrowser } from '@acorex/core/platform';
|
|
6
6
|
import { AXValidationService } from '@acorex/core/validation';
|
|
7
7
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
@@ -17,38 +17,38 @@ import { NgModel } from '@angular/forms';
|
|
|
17
17
|
|
|
18
18
|
class NXButtonComponent {
|
|
19
19
|
constructor() {
|
|
20
|
-
this.text = model(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
|
|
20
|
+
this.text = model(...(ngDevMode ? [undefined, { debugName: "text" }] : /* istanbul ignore next */ []));
|
|
21
21
|
this.toggleableChange = output();
|
|
22
22
|
this.selectedChange = output();
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NXButtonComponent, isStandalone: true, selector: "ng-component", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { text: "textChange", toggleableChange: "toggleableChange", selectedChange: "selectedChange" }, ngImport: i0, template: '', isInline: true }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXButtonComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{
|
|
30
30
|
template: '',
|
|
31
31
|
}]
|
|
32
|
-
}] });
|
|
32
|
+
}], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }, { type: i0.Output, args: ["textChange"] }], toggleableChange: [{ type: i0.Output, args: ["toggleableChange"] }], selectedChange: [{ type: i0.Output, args: ["selectedChange"] }] } });
|
|
33
33
|
|
|
34
34
|
class NXColorComponent {
|
|
35
35
|
constructor() {
|
|
36
|
-
this.color = model('default', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
36
|
+
this.color = model('default', ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NXColorComponent, isStandalone: true, selector: "ng-component", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { color: "colorChange" }, ngImport: i0, template: '', isInline: true }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXColorComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{
|
|
44
44
|
template: '',
|
|
45
45
|
}]
|
|
46
|
-
}] });
|
|
46
|
+
}], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }, { type: i0.Output, args: ["colorChange"] }] } });
|
|
47
47
|
|
|
48
48
|
class NXComponent {
|
|
49
49
|
constructor() {
|
|
50
50
|
this.#elementRef = inject(ElementRef);
|
|
51
|
-
this.#isRendered = signal(false, ...(ngDevMode ? [{ debugName: "#isRendered" }] : []));
|
|
51
|
+
this.#isRendered = signal(false, ...(ngDevMode ? [{ debugName: "#isRendered" }] : /* istanbul ignore next */ []));
|
|
52
52
|
this.isRendered = this.#isRendered.asReadonly();
|
|
53
53
|
this.#afterNextRender = afterNextRender(() => {
|
|
54
54
|
if (!this.isRendered()) {
|
|
@@ -63,10 +63,10 @@ class NXComponent {
|
|
|
63
63
|
get nativeElement() {
|
|
64
64
|
return this.#elementRef.nativeElement;
|
|
65
65
|
}
|
|
66
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
67
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
67
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXComponent }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXComponent, decorators: [{
|
|
70
70
|
type: Injectable
|
|
71
71
|
}] });
|
|
72
72
|
|
|
@@ -92,8 +92,8 @@ class NXClickEvent extends NXNativeEvent {
|
|
|
92
92
|
class NXInteractiveComponent extends NXComponent {
|
|
93
93
|
constructor() {
|
|
94
94
|
super(...arguments);
|
|
95
|
-
this.disabled = model(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
96
|
-
this.tabIndex = model(0, ...(ngDevMode ? [{ debugName: "tabIndex" }] : []));
|
|
95
|
+
this.disabled = model(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
96
|
+
this.tabIndex = model(0, ...(ngDevMode ? [{ debugName: "tabIndex" }] : /* istanbul ignore next */ []));
|
|
97
97
|
this.onFocus = output();
|
|
98
98
|
this.onBlur = output();
|
|
99
99
|
}
|
|
@@ -106,46 +106,46 @@ class NXInteractiveComponent extends NXComponent {
|
|
|
106
106
|
hasFocus() {
|
|
107
107
|
return AXHtmlUtil.hasFocus(this.nativeElement);
|
|
108
108
|
}
|
|
109
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
110
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
109
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXInteractiveComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
110
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NXInteractiveComponent, isStandalone: true, selector: "ng-component", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { disabled: "disabledChange", tabIndex: "tabIndexChange", onFocus: "onFocus", onBlur: "onBlur" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
111
111
|
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXInteractiveComponent, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{
|
|
115
115
|
template: '',
|
|
116
116
|
}]
|
|
117
|
-
}] });
|
|
117
|
+
}], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }, { type: i0.Output, args: ["disabledChange"] }], tabIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabIndex", required: false }] }, { type: i0.Output, args: ["tabIndexChange"] }], onFocus: [{ type: i0.Output, args: ["onFocus"] }], onBlur: [{ type: i0.Output, args: ["onBlur"] }] } });
|
|
118
118
|
|
|
119
119
|
class NXLookComponent {
|
|
120
120
|
constructor() {
|
|
121
|
-
this.look = model('solid', ...(ngDevMode ? [{ debugName: "look" }] : []));
|
|
121
|
+
this.look = model('solid', ...(ngDevMode ? [{ debugName: "look" }] : /* istanbul ignore next */ []));
|
|
122
122
|
}
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
124
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXLookComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NXLookComponent, isStandalone: true, selector: "ng-component", inputs: { look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { look: "lookChange" }, ngImport: i0, template: '', isInline: true }); }
|
|
125
125
|
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXLookComponent, decorators: [{
|
|
127
127
|
type: Component,
|
|
128
128
|
args: [{
|
|
129
129
|
template: '',
|
|
130
130
|
}]
|
|
131
|
-
}] });
|
|
131
|
+
}], propDecorators: { look: [{ type: i0.Input, args: [{ isSignal: true, alias: "look", required: false }] }, { type: i0.Output, args: ["lookChange"] }] } });
|
|
132
132
|
|
|
133
133
|
class NXValueComponent {
|
|
134
134
|
constructor() {
|
|
135
|
-
this.readonly = model(...(ngDevMode ? [undefined, { debugName: "readonly" }] : []));
|
|
136
|
-
this.name = model(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
|
|
137
|
-
this.value = model(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
|
|
135
|
+
this.readonly = model(...(ngDevMode ? [undefined, { debugName: "readonly" }] : /* istanbul ignore next */ []));
|
|
136
|
+
this.name = model(...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
|
|
137
|
+
this.value = model(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
138
138
|
this.onValueChanged = output();
|
|
139
139
|
}
|
|
140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
141
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
141
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.9", type: NXValueComponent, isStandalone: true, selector: "ng-component", inputs: { readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { readonly: "readonlyChange", name: "nameChange", value: "valueChange", onValueChanged: "onValueChanged" }, ngImport: i0, template: '', isInline: true }); }
|
|
142
142
|
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NXValueComponent, decorators: [{
|
|
144
144
|
type: Component,
|
|
145
145
|
args: [{
|
|
146
146
|
template: '',
|
|
147
147
|
}]
|
|
148
|
-
}] });
|
|
148
|
+
}], propDecorators: { readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }, { type: i0.Output, args: ["readonlyChange"] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }, { type: i0.Output, args: ["nameChange"] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], onValueChanged: [{ type: i0.Output, args: ["onValueChanged"] }] } });
|
|
149
149
|
|
|
150
150
|
const defaultOffset = 3;
|
|
151
151
|
function convertToPlacement(value) {
|
|
@@ -316,10 +316,10 @@ class AXDomService {
|
|
|
316
316
|
const randomness = Math.random().toString(36).substr(2);
|
|
317
317
|
return dateString + randomness;
|
|
318
318
|
}
|
|
319
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
320
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXDomService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
320
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXDomService, providedIn: 'root' }); }
|
|
321
321
|
}
|
|
322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXDomService, decorators: [{
|
|
323
323
|
type: Injectable,
|
|
324
324
|
args: [{ providedIn: 'root' }]
|
|
325
325
|
}] });
|
|
@@ -398,10 +398,10 @@ class MXBaseComponent {
|
|
|
398
398
|
if (option.afterCallback)
|
|
399
399
|
option.afterCallback(oldValue, newValue);
|
|
400
400
|
}
|
|
401
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
402
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
401
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
402
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXBaseComponent }); }
|
|
403
403
|
}
|
|
404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXBaseComponent, decorators: [{
|
|
405
405
|
type: Injectable
|
|
406
406
|
}] });
|
|
407
407
|
|
|
@@ -820,10 +820,10 @@ class MXValueComponent extends MXInteractiveComponent {
|
|
|
820
820
|
resetErrors() {
|
|
821
821
|
this.setState('clear');
|
|
822
822
|
}
|
|
823
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
824
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
823
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
824
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXValueComponent }); }
|
|
825
825
|
}
|
|
826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
826
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXValueComponent, decorators: [{
|
|
827
827
|
type: Injectable
|
|
828
828
|
}] });
|
|
829
829
|
|
|
@@ -936,52 +936,52 @@ class AXComponentClosedPromise extends Promise {
|
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
938
|
class AXComponent {
|
|
939
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
940
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
939
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
940
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXComponent }); }
|
|
941
941
|
}
|
|
942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXComponent, decorators: [{
|
|
943
943
|
type: Injectable
|
|
944
944
|
}] });
|
|
945
945
|
class AXClosableComponent extends AXComponent {
|
|
946
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
947
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
946
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXClosableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
947
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXClosableComponent }); }
|
|
948
948
|
}
|
|
949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
949
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXClosableComponent, decorators: [{
|
|
950
950
|
type: Injectable
|
|
951
951
|
}] });
|
|
952
952
|
class AXClearableComponent extends AXComponent {
|
|
953
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
954
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
953
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXClearableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
954
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXClearableComponent }); }
|
|
955
955
|
}
|
|
956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXClearableComponent, decorators: [{
|
|
957
957
|
type: Injectable
|
|
958
958
|
}] });
|
|
959
959
|
class AXSearchableComponent extends AXComponent {
|
|
960
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
961
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
960
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSearchableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
961
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSearchableComponent }); }
|
|
962
962
|
}
|
|
963
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
|
964
964
|
type: Injectable
|
|
965
965
|
}] });
|
|
966
966
|
class AXValuableComponent extends AXComponent {
|
|
967
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
968
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
967
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXValuableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
968
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXValuableComponent }); }
|
|
969
969
|
}
|
|
970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXValuableComponent, decorators: [{
|
|
971
971
|
type: Injectable
|
|
972
972
|
}] });
|
|
973
973
|
class AXFocusableComponent extends AXComponent {
|
|
974
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
975
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
974
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXFocusableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
975
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXFocusableComponent }); }
|
|
976
976
|
}
|
|
977
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXFocusableComponent, decorators: [{
|
|
978
978
|
type: Injectable
|
|
979
979
|
}] });
|
|
980
980
|
class AXPagedComponent extends AXComponent {
|
|
981
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
982
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPagedComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
982
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPagedComponent }); }
|
|
983
983
|
}
|
|
984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXPagedComponent, decorators: [{
|
|
985
985
|
type: Injectable
|
|
986
986
|
}] });
|
|
987
987
|
class AXAutocompleteParentComponent extends MXValueComponent {
|
|
@@ -1003,10 +1003,10 @@ class AXAutocompleteParentComponent extends MXValueComponent {
|
|
|
1003
1003
|
});
|
|
1004
1004
|
this.oldInputEmitValue = value;
|
|
1005
1005
|
}
|
|
1006
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1007
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXAutocompleteParentComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1007
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXAutocompleteParentComponent }); }
|
|
1008
1008
|
}
|
|
1009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXAutocompleteParentComponent, decorators: [{
|
|
1010
1010
|
type: Injectable
|
|
1011
1011
|
}] });
|
|
1012
1012
|
|
|
@@ -1283,10 +1283,10 @@ class AXAutoFocusDirective {
|
|
|
1283
1283
|
}, this.time);
|
|
1284
1284
|
}
|
|
1285
1285
|
}
|
|
1286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1287
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXAutoFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1287
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXAutoFocusDirective, isStandalone: true, selector: "[axAutoFocus]", inputs: { autoFocus: ["axAutoFocus", "autoFocus"], time: ["axAutoFocusTime", "time"] }, ngImport: i0 }); }
|
|
1288
1288
|
}
|
|
1289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXAutoFocusDirective, decorators: [{
|
|
1290
1290
|
type: Directive,
|
|
1291
1291
|
args: [{ selector: '[axAutoFocus]' }]
|
|
1292
1292
|
}], propDecorators: { autoFocus: [{
|
|
@@ -1333,11 +1333,12 @@ class AXHotkeysService {
|
|
|
1333
1333
|
}
|
|
1334
1334
|
});
|
|
1335
1335
|
}
|
|
1336
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1337
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1336
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXHotkeysService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1337
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXHotkeysService, providedIn: 'root' }); }
|
|
1338
1338
|
}
|
|
1339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1340
|
-
type: Injectable
|
|
1339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXHotkeysService, decorators: [{
|
|
1340
|
+
type: Injectable,
|
|
1341
|
+
args: [{ providedIn: 'root' }]
|
|
1341
1342
|
}] });
|
|
1342
1343
|
|
|
1343
1344
|
class AXHotkeyDirective {
|
|
@@ -1396,10 +1397,10 @@ class AXHotkeyDirective {
|
|
|
1396
1397
|
s.unsubscribe();
|
|
1397
1398
|
});
|
|
1398
1399
|
}
|
|
1399
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1400
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXHotkeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1401
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXHotkeyDirective, isStandalone: true, selector: "[axHotkey]", inputs: { axHotkey: "axHotkey" }, ngImport: i0 }); }
|
|
1401
1402
|
}
|
|
1402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXHotkeyDirective, decorators: [{
|
|
1403
1404
|
type: Directive,
|
|
1404
1405
|
args: [{ selector: '[axHotkey]' }]
|
|
1405
1406
|
}], propDecorators: { axHotkey: [{
|
|
@@ -1446,10 +1447,10 @@ class AXInfiniteScrollerDirective {
|
|
|
1446
1447
|
return this.scrollCallback();
|
|
1447
1448
|
}));
|
|
1448
1449
|
}
|
|
1449
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1450
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1450
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXInfiniteScrollerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1451
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXInfiniteScrollerDirective, isStandalone: true, selector: "[axInfiniteScroller]", inputs: { scrollCallback: "scrollCallback", immediateCallback: "immediateCallback", scrollPercent: "scrollPercent" }, ngImport: i0 }); }
|
|
1451
1452
|
}
|
|
1452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXInfiniteScrollerDirective, decorators: [{
|
|
1453
1454
|
type: Directive,
|
|
1454
1455
|
args: [{ selector: '[axInfiniteScroller]' }]
|
|
1455
1456
|
}], propDecorators: { scrollCallback: [{
|
|
@@ -1488,20 +1489,20 @@ class AXResponsiveDirective {
|
|
|
1488
1489
|
this._observer?.disconnect();
|
|
1489
1490
|
this._observer?.unobserve(this._elementRef.nativeElement);
|
|
1490
1491
|
}
|
|
1491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1492
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXResponsiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1493
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXResponsiveDirective, isStandalone: true, selector: "[axResponsive]", ngImport: i0 }); }
|
|
1493
1494
|
}
|
|
1494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXResponsiveDirective, decorators: [{
|
|
1495
1496
|
type: Directive,
|
|
1496
1497
|
args: [{ selector: '[axResponsive]' }]
|
|
1497
1498
|
}], ctorParameters: () => [] });
|
|
1498
1499
|
|
|
1499
1500
|
class AXCommonModule {
|
|
1500
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1501
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1502
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1501
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1502
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXCommonModule, imports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective], exports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective] }); }
|
|
1503
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCommonModule, providers: [AXHotkeysService] }); }
|
|
1503
1504
|
}
|
|
1504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXCommonModule, decorators: [{
|
|
1505
1506
|
type: NgModule,
|
|
1506
1507
|
args: [{
|
|
1507
1508
|
imports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective],
|
|
@@ -1520,7 +1521,22 @@ class MXColorComponent extends MXBaseComponent {
|
|
|
1520
1521
|
* Predefined color schemes
|
|
1521
1522
|
*/
|
|
1522
1523
|
get color() {
|
|
1523
|
-
|
|
1524
|
+
switch (this._color) {
|
|
1525
|
+
case 'primary':
|
|
1526
|
+
return 'ax-primary';
|
|
1527
|
+
case 'secondary':
|
|
1528
|
+
return 'ax-secondary';
|
|
1529
|
+
case 'success':
|
|
1530
|
+
return 'ax-success';
|
|
1531
|
+
case 'warning':
|
|
1532
|
+
return 'ax-warning';
|
|
1533
|
+
case 'danger':
|
|
1534
|
+
return 'ax-danger';
|
|
1535
|
+
case 'default':
|
|
1536
|
+
return 'ax-default';
|
|
1537
|
+
default:
|
|
1538
|
+
return `ax-${this._color}`;
|
|
1539
|
+
}
|
|
1524
1540
|
}
|
|
1525
1541
|
set color(value) {
|
|
1526
1542
|
this.setOption({
|
|
@@ -1534,10 +1550,10 @@ class MXColorComponent extends MXBaseComponent {
|
|
|
1534
1550
|
}
|
|
1535
1551
|
|
|
1536
1552
|
class MXLookableComponent {
|
|
1537
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1538
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1553
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXLookableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1554
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXLookableComponent }); }
|
|
1539
1555
|
}
|
|
1540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXLookableComponent, decorators: [{
|
|
1541
1557
|
type: Injectable
|
|
1542
1558
|
}] });
|
|
1543
1559
|
class MXLookComponent extends MXBaseComponent {
|
|
@@ -1550,7 +1566,48 @@ class MXLookComponent extends MXBaseComponent {
|
|
|
1550
1566
|
* Predefined look schemes
|
|
1551
1567
|
*/
|
|
1552
1568
|
get look() {
|
|
1553
|
-
|
|
1569
|
+
switch (this._look) {
|
|
1570
|
+
case 'solid':
|
|
1571
|
+
return 'ax-solid';
|
|
1572
|
+
case 'blank':
|
|
1573
|
+
return 'ax-blank';
|
|
1574
|
+
case 'outline':
|
|
1575
|
+
return 'ax-outline';
|
|
1576
|
+
case 'twotone':
|
|
1577
|
+
return 'ax-twotone';
|
|
1578
|
+
case 'flat':
|
|
1579
|
+
return 'ax-flat';
|
|
1580
|
+
case 'fill':
|
|
1581
|
+
return 'ax-fill';
|
|
1582
|
+
case 'link':
|
|
1583
|
+
return 'ax-link';
|
|
1584
|
+
case 'none':
|
|
1585
|
+
return 'ax-none';
|
|
1586
|
+
default:
|
|
1587
|
+
return this._look;
|
|
1588
|
+
}
|
|
1589
|
+
}
|
|
1590
|
+
get interactiveLook() {
|
|
1591
|
+
switch (this._look) {
|
|
1592
|
+
case 'solid':
|
|
1593
|
+
return 'ax-solid-interactive';
|
|
1594
|
+
case 'blank':
|
|
1595
|
+
return 'ax-blank-interactive';
|
|
1596
|
+
case 'outline':
|
|
1597
|
+
return 'ax-outline-interactive';
|
|
1598
|
+
case 'twotone':
|
|
1599
|
+
return 'ax-twotone-interactive';
|
|
1600
|
+
case 'flat':
|
|
1601
|
+
return 'ax-flat-interactive';
|
|
1602
|
+
case 'fill':
|
|
1603
|
+
return 'ax-fill-interactive';
|
|
1604
|
+
case 'link':
|
|
1605
|
+
return 'ax-link-interactive';
|
|
1606
|
+
case 'none':
|
|
1607
|
+
return 'ax-none-interactive';
|
|
1608
|
+
default:
|
|
1609
|
+
return this._look;
|
|
1610
|
+
}
|
|
1554
1611
|
}
|
|
1555
1612
|
set look(value) {
|
|
1556
1613
|
this.setOption({
|
|
@@ -1641,11 +1698,9 @@ class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXColorLookC
|
|
|
1641
1698
|
get cssClasses() {
|
|
1642
1699
|
const cssClasses = {
|
|
1643
1700
|
'ax-button-icon': !this.text,
|
|
1644
|
-
'ax-state-disabled': this.disabled,
|
|
1645
|
-
'ax-state-selected': this.selected,
|
|
1646
1701
|
};
|
|
1647
|
-
set(cssClasses,
|
|
1648
|
-
set(cssClasses,
|
|
1702
|
+
// set(cssClasses, `${this.interactiveLook || 'ax-solid-interactive'}`, true);
|
|
1703
|
+
// set(cssClasses, `${this.color || 'ax-primary'}`, true);
|
|
1649
1704
|
return cssClasses;
|
|
1650
1705
|
}
|
|
1651
1706
|
}
|
|
@@ -1712,10 +1767,10 @@ class MXInputBaseValueComponent extends MXValueComponent {
|
|
|
1712
1767
|
else
|
|
1713
1768
|
super.focus();
|
|
1714
1769
|
}
|
|
1715
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1716
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1770
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXInputBaseValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1771
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXInputBaseValueComponent }); }
|
|
1717
1772
|
}
|
|
1718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXInputBaseValueComponent, decorators: [{
|
|
1719
1774
|
type: Injectable
|
|
1720
1775
|
}] });
|
|
1721
1776
|
|
|
@@ -1729,10 +1784,10 @@ class MXSelectionBridgeService {
|
|
|
1729
1784
|
/** Cache for normalized items keyed by their unique identifier */
|
|
1730
1785
|
this.cacheList = {};
|
|
1731
1786
|
}
|
|
1732
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1733
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1787
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXSelectionBridgeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1788
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXSelectionBridgeService }); }
|
|
1734
1789
|
}
|
|
1735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1790
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXSelectionBridgeService, decorators: [{
|
|
1736
1791
|
type: Injectable
|
|
1737
1792
|
}] });
|
|
1738
1793
|
/**
|
|
@@ -2287,10 +2342,10 @@ class MXSelectionValueComponent extends MXValueComponent {
|
|
|
2287
2342
|
}
|
|
2288
2343
|
}
|
|
2289
2344
|
}
|
|
2290
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2291
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXSelectionValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2346
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXSelectionValueComponent }); }
|
|
2292
2347
|
}
|
|
2293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MXSelectionValueComponent, decorators: [{
|
|
2294
2349
|
type: Injectable
|
|
2295
2350
|
}] });
|
|
2296
2351
|
|
|
@@ -2323,10 +2378,10 @@ class AXNgModelDelayedValueChangedDirective {
|
|
|
2323
2378
|
distinctUntilChanged(), debounceTime(this.delayTime))
|
|
2324
2379
|
.subscribe((value) => this.axDelayedValueChanged.emit(value));
|
|
2325
2380
|
}
|
|
2326
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2327
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2381
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXNgModelDelayedValueChangedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2382
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXNgModelDelayedValueChangedDirective, isStandalone: true, selector: "[axDelayedValueChanged]", inputs: { delayTime: "delayTime" }, outputs: { axDelayedValueChanged: "axDelayedValueChanged", axDelayTimeChange: "axDelayTimeChange" }, ngImport: i0 }); }
|
|
2328
2383
|
}
|
|
2329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXNgModelDelayedValueChangedDirective, decorators: [{
|
|
2330
2385
|
type: Directive,
|
|
2331
2386
|
args: [{
|
|
2332
2387
|
selector: '[axDelayedValueChanged]',
|
|
@@ -2341,7 +2396,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
|
|
|
2341
2396
|
|
|
2342
2397
|
class AXInvertedColorDirective {
|
|
2343
2398
|
constructor() {
|
|
2344
|
-
this.color = input.required(...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
2399
|
+
this.color = input.required(...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
2345
2400
|
this.ref = inject(ViewContainerRef);
|
|
2346
2401
|
this.platformID = inject(PLATFORM_ID);
|
|
2347
2402
|
afterNextRender(() => {
|
|
@@ -2377,22 +2432,22 @@ class AXInvertedColorDirective {
|
|
|
2377
2432
|
});
|
|
2378
2433
|
}
|
|
2379
2434
|
}
|
|
2380
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2381
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
2435
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXInvertedColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2436
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: AXInvertedColorDirective, isStandalone: true, selector: "[axInvertedColor]", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
2382
2437
|
}
|
|
2383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXInvertedColorDirective, decorators: [{
|
|
2384
2439
|
type: Directive,
|
|
2385
2440
|
args: [{
|
|
2386
2441
|
selector: '[axInvertedColor]',
|
|
2387
2442
|
}]
|
|
2388
|
-
}], ctorParameters: () => [] });
|
|
2443
|
+
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: true }] }] } });
|
|
2389
2444
|
|
|
2390
2445
|
class AXRippleDirective {
|
|
2391
2446
|
constructor() {
|
|
2392
2447
|
this.el = inject(ElementRef);
|
|
2393
2448
|
this.cdr = inject(ChangeDetectorRef);
|
|
2394
2449
|
this.enabled = true;
|
|
2395
|
-
this.axRippleColor = 'var(--ax-comp-ripple-
|
|
2450
|
+
this.axRippleColor = 'var(--ax-comp-ripple-color, rgba(255, 255, 255, 0.3))';
|
|
2396
2451
|
this.document = inject(DOCUMENT);
|
|
2397
2452
|
this.platformID = inject(PLATFORM_ID);
|
|
2398
2453
|
}
|
|
@@ -2433,10 +2488,10 @@ class AXRippleDirective {
|
|
|
2433
2488
|
});
|
|
2434
2489
|
}
|
|
2435
2490
|
}
|
|
2436
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2437
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXRippleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2492
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: AXRippleDirective, isStandalone: true, selector: "[axRipple]", inputs: { enabled: ["axRipple", "enabled"], axRippleColor: "axRippleColor" }, ngImport: i0 }); }
|
|
2438
2493
|
}
|
|
2439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXRippleDirective, decorators: [{
|
|
2440
2495
|
type: Directive,
|
|
2441
2496
|
args: [{
|
|
2442
2497
|
selector: '[axRipple]',
|