@acorex/cdk 21.0.0-next.4 → 21.0.0-next.40
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/accordion/index.d.ts +1 -0
- package/common/index.d.ts +9 -7
- package/drag-drop/index.d.ts +57 -44
- package/drawer/index.d.ts +12 -9
- package/fesm2022/acorex-cdk-accordion.mjs +55 -70
- package/fesm2022/acorex-cdk-accordion.mjs.map +1 -1
- package/fesm2022/acorex-cdk-carousel.mjs +14 -11
- package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
- package/fesm2022/acorex-cdk-clipboard.mjs +7 -7
- package/fesm2022/acorex-cdk-clipboard.mjs.map +1 -1
- package/fesm2022/acorex-cdk-common.mjs +172 -118
- 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-drag-drop.mjs +279 -86
- package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drawer.mjs +44 -33
- package/fesm2022/acorex-cdk-drawer.mjs.map +1 -1
- package/fesm2022/acorex-cdk-focus-trap.mjs +3 -3
- package/fesm2022/acorex-cdk-focus-trap.mjs.map +1 -1
- package/fesm2022/acorex-cdk-input-mask.mjs +68 -63
- package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -1
- package/fesm2022/acorex-cdk-list-navigation.mjs +41 -23
- package/fesm2022/acorex-cdk-list-navigation.mjs.map +1 -1
- package/fesm2022/acorex-cdk-outline.mjs +8 -8
- package/fesm2022/acorex-cdk-outline.mjs.map +1 -1
- package/fesm2022/acorex-cdk-overlay.mjs +3 -3
- package/fesm2022/acorex-cdk-overlay.mjs.map +1 -1
- package/fesm2022/acorex-cdk-pan-view.mjs +4 -4
- 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 +167 -119
- package/fesm2022/acorex-cdk-resizable.mjs.map +1 -1
- package/fesm2022/acorex-cdk-selection.mjs +12 -12
- package/fesm2022/acorex-cdk-selection.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sliding-item.mjs +3 -3
- 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 +746 -0
- package/fesm2022/acorex-cdk-uploader.mjs.map +1 -0
- package/fesm2022/acorex-cdk-virtual-scroll.mjs +11 -11
- package/fesm2022/acorex-cdk-virtual-scroll.mjs.map +1 -1
- package/fesm2022/acorex-cdk-wysiwyg.mjs +5 -1
- package/fesm2022/acorex-cdk-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-cdk.mjs.map +1 -1
- package/input-mask/index.d.ts +1 -0
- package/list-navigation/index.d.ts +1 -0
- package/package.json +6 -2
- package/resizable/index.d.ts +19 -7
- package/uploader/README.md +3 -0
- package/uploader/index.d.ts +378 -0
- package/wysiwyg/index.d.ts +1 -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, clone, cloneDeep, isEqual, omit,
|
|
4
|
+
import { flatten, clone, 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';
|
|
@@ -21,29 +21,29 @@ class NXButtonComponent {
|
|
|
21
21
|
this.toggleableChange = output();
|
|
22
22
|
this.selectedChange = output();
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: NXButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.14", 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: "20.3.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", 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
36
|
this.color = model('default', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: NXColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.14", 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: "20.3.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", 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() {
|
|
@@ -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: "20.3.
|
|
67
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: NXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
67
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: NXComponent }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: NXComponent, decorators: [{
|
|
70
70
|
type: Injectable
|
|
71
71
|
}] });
|
|
72
72
|
|
|
@@ -106,29 +106,29 @@ 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: "20.3.
|
|
110
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
109
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: NXInteractiveComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
110
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.14", 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: "20.3.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", 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
121
|
this.look = model('solid', ...(ngDevMode ? [{ debugName: "look" }] : []));
|
|
122
122
|
}
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
124
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: NXLookComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.14", 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: "20.3.
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", 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() {
|
|
@@ -137,15 +137,15 @@ class NXValueComponent {
|
|
|
137
137
|
this.value = model(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
|
|
138
138
|
this.onValueChanged = output();
|
|
139
139
|
}
|
|
140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
141
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: NXValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
141
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.14", 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: "20.3.
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", 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: "20.3.
|
|
320
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXDomService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
320
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXDomService, providedIn: 'root' }); }
|
|
321
321
|
}
|
|
322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", 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: "20.3.
|
|
402
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
401
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
402
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXBaseComponent }); }
|
|
403
403
|
}
|
|
404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXBaseComponent, decorators: [{
|
|
405
405
|
type: Injectable
|
|
406
406
|
}] });
|
|
407
407
|
|
|
@@ -811,10 +811,10 @@ class MXValueComponent extends MXInteractiveComponent {
|
|
|
811
811
|
resetErrors() {
|
|
812
812
|
this.setState('clear');
|
|
813
813
|
}
|
|
814
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
815
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
814
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
815
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXValueComponent }); }
|
|
816
816
|
}
|
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXValueComponent, decorators: [{
|
|
818
818
|
type: Injectable
|
|
819
819
|
}] });
|
|
820
820
|
|
|
@@ -927,52 +927,52 @@ class AXComponentClosedPromise extends Promise {
|
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
class AXComponent {
|
|
930
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
931
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
930
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
931
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXComponent }); }
|
|
932
932
|
}
|
|
933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXComponent, decorators: [{
|
|
934
934
|
type: Injectable
|
|
935
935
|
}] });
|
|
936
936
|
class AXClosableComponent extends AXComponent {
|
|
937
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
938
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
937
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXClosableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
938
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXClosableComponent }); }
|
|
939
939
|
}
|
|
940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXClosableComponent, decorators: [{
|
|
941
941
|
type: Injectable
|
|
942
942
|
}] });
|
|
943
943
|
class AXClearableComponent extends AXComponent {
|
|
944
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
945
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
944
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXClearableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
945
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXClearableComponent }); }
|
|
946
946
|
}
|
|
947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXClearableComponent, decorators: [{
|
|
948
948
|
type: Injectable
|
|
949
949
|
}] });
|
|
950
950
|
class AXSearchableComponent extends AXComponent {
|
|
951
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
952
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
951
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXSearchableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
952
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXSearchableComponent }); }
|
|
953
953
|
}
|
|
954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
|
955
955
|
type: Injectable
|
|
956
956
|
}] });
|
|
957
957
|
class AXValuableComponent extends AXComponent {
|
|
958
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
959
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXValuableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
959
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXValuableComponent }); }
|
|
960
960
|
}
|
|
961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXValuableComponent, decorators: [{
|
|
962
962
|
type: Injectable
|
|
963
963
|
}] });
|
|
964
964
|
class AXFocusableComponent extends AXComponent {
|
|
965
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
966
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
965
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXFocusableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
966
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXFocusableComponent }); }
|
|
967
967
|
}
|
|
968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXFocusableComponent, decorators: [{
|
|
969
969
|
type: Injectable
|
|
970
970
|
}] });
|
|
971
971
|
class AXPagedComponent extends AXComponent {
|
|
972
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
973
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
972
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXPagedComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
973
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXPagedComponent }); }
|
|
974
974
|
}
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXPagedComponent, decorators: [{
|
|
976
976
|
type: Injectable
|
|
977
977
|
}] });
|
|
978
978
|
class AXAutocompleteParentComponent extends MXValueComponent {
|
|
@@ -994,10 +994,10 @@ class AXAutocompleteParentComponent extends MXValueComponent {
|
|
|
994
994
|
});
|
|
995
995
|
this.oldInputEmitValue = value;
|
|
996
996
|
}
|
|
997
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
998
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
997
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXAutocompleteParentComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
998
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXAutocompleteParentComponent }); }
|
|
999
999
|
}
|
|
1000
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXAutocompleteParentComponent, decorators: [{
|
|
1001
1001
|
type: Injectable
|
|
1002
1002
|
}] });
|
|
1003
1003
|
|
|
@@ -1274,10 +1274,10 @@ class AXAutoFocusDirective {
|
|
|
1274
1274
|
}, this.time);
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1278
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXAutoFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1278
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.14", type: AXAutoFocusDirective, isStandalone: true, selector: "[axAutoFocus]", inputs: { autoFocus: ["axAutoFocus", "autoFocus"], time: ["axAutoFocusTime", "time"] }, ngImport: i0 }); }
|
|
1279
1279
|
}
|
|
1280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXAutoFocusDirective, decorators: [{
|
|
1281
1281
|
type: Directive,
|
|
1282
1282
|
args: [{ selector: '[axAutoFocus]' }]
|
|
1283
1283
|
}], propDecorators: { autoFocus: [{
|
|
@@ -1324,10 +1324,10 @@ class AXHotkeysService {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
});
|
|
1326
1326
|
}
|
|
1327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1328
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXHotkeysService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1328
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXHotkeysService }); }
|
|
1329
1329
|
}
|
|
1330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXHotkeysService, decorators: [{
|
|
1331
1331
|
type: Injectable
|
|
1332
1332
|
}] });
|
|
1333
1333
|
|
|
@@ -1387,10 +1387,10 @@ class AXHotkeyDirective {
|
|
|
1387
1387
|
s.unsubscribe();
|
|
1388
1388
|
});
|
|
1389
1389
|
}
|
|
1390
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1391
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXHotkeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1391
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.14", type: AXHotkeyDirective, isStandalone: true, selector: "[axHotkey]", inputs: { axHotkey: "axHotkey" }, ngImport: i0 }); }
|
|
1392
1392
|
}
|
|
1393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXHotkeyDirective, decorators: [{
|
|
1394
1394
|
type: Directive,
|
|
1395
1395
|
args: [{ selector: '[axHotkey]' }]
|
|
1396
1396
|
}], propDecorators: { axHotkey: [{
|
|
@@ -1437,10 +1437,10 @@ class AXInfiniteScrollerDirective {
|
|
|
1437
1437
|
return this.scrollCallback();
|
|
1438
1438
|
}));
|
|
1439
1439
|
}
|
|
1440
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1441
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1440
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXInfiniteScrollerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1441
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.14", type: AXInfiniteScrollerDirective, isStandalone: true, selector: "[axInfiniteScroller]", inputs: { scrollCallback: "scrollCallback", immediateCallback: "immediateCallback", scrollPercent: "scrollPercent" }, ngImport: i0 }); }
|
|
1442
1442
|
}
|
|
1443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXInfiniteScrollerDirective, decorators: [{
|
|
1444
1444
|
type: Directive,
|
|
1445
1445
|
args: [{ selector: '[axInfiniteScroller]' }]
|
|
1446
1446
|
}], propDecorators: { scrollCallback: [{
|
|
@@ -1479,20 +1479,20 @@ class AXResponsiveDirective {
|
|
|
1479
1479
|
this._observer?.disconnect();
|
|
1480
1480
|
this._observer?.unobserve(this._elementRef.nativeElement);
|
|
1481
1481
|
}
|
|
1482
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1483
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1482
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXResponsiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1483
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.14", type: AXResponsiveDirective, isStandalone: true, selector: "[axResponsive]", ngImport: i0 }); }
|
|
1484
1484
|
}
|
|
1485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXResponsiveDirective, decorators: [{
|
|
1486
1486
|
type: Directive,
|
|
1487
1487
|
args: [{ selector: '[axResponsive]' }]
|
|
1488
1488
|
}], ctorParameters: () => [] });
|
|
1489
1489
|
|
|
1490
1490
|
class AXCommonModule {
|
|
1491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1492
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
1493
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
1491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1492
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.14", ngImport: i0, type: AXCommonModule, imports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective], exports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective] }); }
|
|
1493
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXCommonModule, providers: [AXHotkeysService] }); }
|
|
1494
1494
|
}
|
|
1495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXCommonModule, decorators: [{
|
|
1496
1496
|
type: NgModule,
|
|
1497
1497
|
args: [{
|
|
1498
1498
|
imports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective],
|
|
@@ -1511,7 +1511,22 @@ class MXColorComponent extends MXBaseComponent {
|
|
|
1511
1511
|
* Predefined color schemes
|
|
1512
1512
|
*/
|
|
1513
1513
|
get color() {
|
|
1514
|
-
|
|
1514
|
+
switch (this._color) {
|
|
1515
|
+
case 'primary':
|
|
1516
|
+
return 'ax-primary';
|
|
1517
|
+
case 'secondary':
|
|
1518
|
+
return 'ax-secondary';
|
|
1519
|
+
case 'success':
|
|
1520
|
+
return 'ax-success';
|
|
1521
|
+
case 'warning':
|
|
1522
|
+
return 'ax-warning';
|
|
1523
|
+
case 'danger':
|
|
1524
|
+
return 'ax-danger';
|
|
1525
|
+
case 'default':
|
|
1526
|
+
return 'ax-default';
|
|
1527
|
+
default:
|
|
1528
|
+
return this._color;
|
|
1529
|
+
}
|
|
1515
1530
|
}
|
|
1516
1531
|
set color(value) {
|
|
1517
1532
|
this.setOption({
|
|
@@ -1525,10 +1540,10 @@ class MXColorComponent extends MXBaseComponent {
|
|
|
1525
1540
|
}
|
|
1526
1541
|
|
|
1527
1542
|
class MXLookableComponent {
|
|
1528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1529
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1543
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXLookableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1544
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXLookableComponent }); }
|
|
1530
1545
|
}
|
|
1531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXLookableComponent, decorators: [{
|
|
1532
1547
|
type: Injectable
|
|
1533
1548
|
}] });
|
|
1534
1549
|
class MXLookComponent extends MXBaseComponent {
|
|
@@ -1541,7 +1556,48 @@ class MXLookComponent extends MXBaseComponent {
|
|
|
1541
1556
|
* Predefined look schemes
|
|
1542
1557
|
*/
|
|
1543
1558
|
get look() {
|
|
1544
|
-
|
|
1559
|
+
switch (this._look) {
|
|
1560
|
+
case 'solid':
|
|
1561
|
+
return 'ax-solid';
|
|
1562
|
+
case 'blank':
|
|
1563
|
+
return 'ax-blank';
|
|
1564
|
+
case 'outline':
|
|
1565
|
+
return 'ax-outline';
|
|
1566
|
+
case 'twotone':
|
|
1567
|
+
return 'ax-twotone';
|
|
1568
|
+
case 'flat':
|
|
1569
|
+
return 'ax-flat';
|
|
1570
|
+
case 'fill':
|
|
1571
|
+
return 'ax-fill';
|
|
1572
|
+
case 'link':
|
|
1573
|
+
return 'ax-link';
|
|
1574
|
+
case 'none':
|
|
1575
|
+
return 'ax-none';
|
|
1576
|
+
default:
|
|
1577
|
+
return this._look;
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
get interactiveLook() {
|
|
1581
|
+
switch (this._look) {
|
|
1582
|
+
case 'solid':
|
|
1583
|
+
return 'ax-solid-interactive';
|
|
1584
|
+
case 'blank':
|
|
1585
|
+
return 'ax-blank-interactive';
|
|
1586
|
+
case 'outline':
|
|
1587
|
+
return 'ax-outline-interactive';
|
|
1588
|
+
case 'twotone':
|
|
1589
|
+
return 'ax-twotone-interactive';
|
|
1590
|
+
case 'flat':
|
|
1591
|
+
return 'ax-flat-interactive';
|
|
1592
|
+
case 'fill':
|
|
1593
|
+
return 'ax-fill-interactive';
|
|
1594
|
+
case 'link':
|
|
1595
|
+
return 'ax-link-interactive';
|
|
1596
|
+
case 'none':
|
|
1597
|
+
return 'ax-none-interactive';
|
|
1598
|
+
default:
|
|
1599
|
+
return this._look;
|
|
1600
|
+
}
|
|
1545
1601
|
}
|
|
1546
1602
|
set look(value) {
|
|
1547
1603
|
this.setOption({
|
|
@@ -1632,11 +1688,9 @@ class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXColorLookC
|
|
|
1632
1688
|
get cssClasses() {
|
|
1633
1689
|
const cssClasses = {
|
|
1634
1690
|
'ax-button-icon': !this.text,
|
|
1635
|
-
'ax-state-disabled': this.disabled,
|
|
1636
|
-
'ax-state-selected': this.selected,
|
|
1637
1691
|
};
|
|
1638
|
-
set(cssClasses,
|
|
1639
|
-
set(cssClasses,
|
|
1692
|
+
// set(cssClasses, `${this.interactiveLook || 'ax-solid-interactive'}`, true);
|
|
1693
|
+
// set(cssClasses, `${this.color || 'ax-primary'}`, true);
|
|
1640
1694
|
return cssClasses;
|
|
1641
1695
|
}
|
|
1642
1696
|
}
|
|
@@ -1703,10 +1757,10 @@ class MXInputBaseValueComponent extends MXValueComponent {
|
|
|
1703
1757
|
else
|
|
1704
1758
|
super.focus();
|
|
1705
1759
|
}
|
|
1706
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1707
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1760
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXInputBaseValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1761
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXInputBaseValueComponent }); }
|
|
1708
1762
|
}
|
|
1709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1763
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXInputBaseValueComponent, decorators: [{
|
|
1710
1764
|
type: Injectable
|
|
1711
1765
|
}] });
|
|
1712
1766
|
|
|
@@ -1720,10 +1774,10 @@ class MXSelectionBridgeService {
|
|
|
1720
1774
|
/** Cache for normalized items keyed by their unique identifier */
|
|
1721
1775
|
this.cacheList = {};
|
|
1722
1776
|
}
|
|
1723
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1724
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1777
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXSelectionBridgeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1778
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXSelectionBridgeService }); }
|
|
1725
1779
|
}
|
|
1726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXSelectionBridgeService, decorators: [{
|
|
1727
1781
|
type: Injectable
|
|
1728
1782
|
}] });
|
|
1729
1783
|
/**
|
|
@@ -2087,6 +2141,19 @@ class MXSelectionValueComponent extends MXValueComponent {
|
|
|
2087
2141
|
// For string values, we need to normalize with findByKey=true to trigger async loading
|
|
2088
2142
|
const isStringValue = typeof item === 'string';
|
|
2089
2143
|
const normalizedItem = this.normalizeItem(item, isStringValue);
|
|
2144
|
+
// Try template formatting FIRST before checking cached textField
|
|
2145
|
+
if (this.textTemplate) {
|
|
2146
|
+
const formattedTemplate = this.formatService.format(this.textTemplate, 'string', normalizedItem);
|
|
2147
|
+
if (formattedTemplate !== this.textTemplate) {
|
|
2148
|
+
const result = formattedTemplate;
|
|
2149
|
+
// Cache the timestamp and result for debouncing in the cache
|
|
2150
|
+
if (normalizedItem) {
|
|
2151
|
+
normalizedItem['_lastDisplayTextCall'] = now;
|
|
2152
|
+
normalizedItem['_lastDisplayTextResult'] = result;
|
|
2153
|
+
}
|
|
2154
|
+
return result;
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2090
2157
|
// Check if this item is already in the cache with proper text
|
|
2091
2158
|
const itemValue = get(normalizedItem, this.valueField);
|
|
2092
2159
|
if (itemValue != null && itemValue !== '') {
|
|
@@ -2106,19 +2173,6 @@ class MXSelectionValueComponent extends MXValueComponent {
|
|
|
2106
2173
|
}
|
|
2107
2174
|
}
|
|
2108
2175
|
}
|
|
2109
|
-
// Try template formatting first
|
|
2110
|
-
if (this.textTemplate) {
|
|
2111
|
-
const formattedTemplate = this.formatService.format(this.textTemplate, 'string', normalizedItem);
|
|
2112
|
-
if (formattedTemplate !== this.textTemplate) {
|
|
2113
|
-
const result = formattedTemplate;
|
|
2114
|
-
// Cache the timestamp and result for debouncing in the cache
|
|
2115
|
-
if (normalizedItem) {
|
|
2116
|
-
normalizedItem['_lastDisplayTextCall'] = now;
|
|
2117
|
-
normalizedItem['_lastDisplayTextResult'] = result;
|
|
2118
|
-
}
|
|
2119
|
-
return result;
|
|
2120
|
-
}
|
|
2121
|
-
}
|
|
2122
2176
|
// Use text field or fallback to value field
|
|
2123
2177
|
const textValue = get(normalizedItem, this.textField);
|
|
2124
2178
|
if (textValue != null && textValue !== '') {
|
|
@@ -2278,10 +2332,10 @@ class MXSelectionValueComponent extends MXValueComponent {
|
|
|
2278
2332
|
}
|
|
2279
2333
|
}
|
|
2280
2334
|
}
|
|
2281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2282
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2335
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXSelectionValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2336
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXSelectionValueComponent }); }
|
|
2283
2337
|
}
|
|
2284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: MXSelectionValueComponent, decorators: [{
|
|
2285
2339
|
type: Injectable
|
|
2286
2340
|
}] });
|
|
2287
2341
|
|
|
@@ -2314,10 +2368,10 @@ class AXNgModelDelayedValueChangedDirective {
|
|
|
2314
2368
|
distinctUntilChanged(), debounceTime(this.delayTime))
|
|
2315
2369
|
.subscribe((value) => this.axDelayedValueChanged.emit(value));
|
|
2316
2370
|
}
|
|
2317
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2318
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2371
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXNgModelDelayedValueChangedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2372
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.14", type: AXNgModelDelayedValueChangedDirective, isStandalone: true, selector: "[axDelayedValueChanged]", inputs: { delayTime: "delayTime" }, outputs: { axDelayedValueChanged: "axDelayedValueChanged", axDelayTimeChange: "axDelayTimeChange" }, ngImport: i0 }); }
|
|
2319
2373
|
}
|
|
2320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXNgModelDelayedValueChangedDirective, decorators: [{
|
|
2321
2375
|
type: Directive,
|
|
2322
2376
|
args: [{
|
|
2323
2377
|
selector: '[axDelayedValueChanged]',
|
|
@@ -2368,22 +2422,22 @@ class AXInvertedColorDirective {
|
|
|
2368
2422
|
});
|
|
2369
2423
|
}
|
|
2370
2424
|
}
|
|
2371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2372
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
2425
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXInvertedColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2426
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.14", type: AXInvertedColorDirective, isStandalone: true, selector: "[axInvertedColor]", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
2373
2427
|
}
|
|
2374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXInvertedColorDirective, decorators: [{
|
|
2375
2429
|
type: Directive,
|
|
2376
2430
|
args: [{
|
|
2377
2431
|
selector: '[axInvertedColor]',
|
|
2378
2432
|
}]
|
|
2379
|
-
}], ctorParameters: () => [] });
|
|
2433
|
+
}], ctorParameters: () => [], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: true }] }] } });
|
|
2380
2434
|
|
|
2381
2435
|
class AXRippleDirective {
|
|
2382
2436
|
constructor() {
|
|
2383
2437
|
this.el = inject(ElementRef);
|
|
2384
2438
|
this.cdr = inject(ChangeDetectorRef);
|
|
2385
2439
|
this.enabled = true;
|
|
2386
|
-
this.axRippleColor = 'var(--ax-comp-ripple-
|
|
2440
|
+
this.axRippleColor = 'var(--ax-comp-ripple-color, rgba(255, 255, 255, 0.3))';
|
|
2387
2441
|
this.document = inject(DOCUMENT);
|
|
2388
2442
|
this.platformID = inject(PLATFORM_ID);
|
|
2389
2443
|
}
|
|
@@ -2424,10 +2478,10 @@ class AXRippleDirective {
|
|
|
2424
2478
|
});
|
|
2425
2479
|
}
|
|
2426
2480
|
}
|
|
2427
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2428
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
2481
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXRippleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2482
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.14", type: AXRippleDirective, isStandalone: true, selector: "[axRipple]", inputs: { enabled: ["axRipple", "enabled"], axRippleColor: "axRippleColor" }, ngImport: i0 }); }
|
|
2429
2483
|
}
|
|
2430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.14", ngImport: i0, type: AXRippleDirective, decorators: [{
|
|
2431
2485
|
type: Directive,
|
|
2432
2486
|
args: [{
|
|
2433
2487
|
selector: '[axRipple]',
|