@acorex/cdk 19.15.0-next.8 → 20.0.0
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 +56 -0
- package/carousel/index.d.ts +17 -1
- package/clipboard/README.md +3 -0
- package/{common/lib/directives/copy-clipboard.directive.d.ts → clipboard/index.d.ts} +14 -8
- package/common/index.d.ts +930 -33
- package/dom/index.d.ts +16 -1
- package/drag-drop/index.d.ts +111 -4
- package/drawer/index.d.ts +49 -3
- package/fesm2022/acorex-cdk-accordion.mjs +206 -0
- package/fesm2022/acorex-cdk-accordion.mjs.map +1 -0
- package/fesm2022/acorex-cdk-carousel.mjs +3 -3
- package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
- package/fesm2022/acorex-cdk-clipboard.mjs +90 -0
- package/fesm2022/acorex-cdk-clipboard.mjs.map +1 -0
- package/fesm2022/acorex-cdk-common.mjs +123 -208
- package/fesm2022/acorex-cdk-common.mjs.map +1 -1
- package/fesm2022/acorex-cdk-dom.mjs +3 -3
- package/fesm2022/acorex-cdk-dom.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drag-drop.mjs +15 -15
- package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drawer.mjs +85 -66
- 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 +79 -0
- package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -0
- package/fesm2022/acorex-cdk-list-navigation.mjs +10 -10
- package/fesm2022/acorex-cdk-list-navigation.mjs.map +1 -1
- package/fesm2022/acorex-cdk-outline.mjs +115 -40
- 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 +5 -5
- 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 +5 -5
- package/fesm2022/acorex-cdk-resizable.mjs.map +1 -1
- package/fesm2022/acorex-cdk-selection.mjs +24 -15
- package/fesm2022/acorex-cdk-selection.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sliding-item.mjs +7 -7
- package/fesm2022/acorex-cdk-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sticky.mjs +19 -19
- package/fesm2022/acorex-cdk-sticky.mjs.map +1 -1
- package/fesm2022/acorex-cdk-virtual-scroll.mjs +10 -10
- package/fesm2022/acorex-cdk-virtual-scroll.mjs.map +1 -1
- package/fesm2022/acorex-cdk-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-cdk.mjs.map +1 -1
- package/focus-trap/index.d.ts +19 -1
- package/index.d.ts +3 -1
- package/input-mask/README.md +3 -0
- package/input-mask/index.d.ts +19 -0
- package/list-navigation/index.d.ts +44 -3
- package/outline/index.d.ts +57 -3
- package/overlay/index.d.ts +27 -2
- package/package.json +22 -14
- package/pan-view/index.d.ts +51 -1
- package/qrcode/index.d.ts +21 -1
- package/resizable/index.d.ts +61 -1
- package/selection/index.d.ts +43 -3
- package/sliding-item/index.d.ts +25 -2
- package/sticky/index.d.ts +31 -1
- package/virtual-scroll/index.d.ts +41 -3
- package/wysiwyg/index.d.ts +29 -1
- package/carousel/carousel.directive.d.ts +0 -13
- package/collapse/index.d.ts +0 -6
- package/collapse/lib/collapse-directive/collapse-close-button.directive.d.ts +0 -8
- package/collapse/lib/collapse-directive/collapse-group.directive.d.ts +0 -9
- package/collapse/lib/collapse-directive/collapse-item-content.directive.d.ts +0 -8
- package/collapse/lib/collapse-directive/collapse-item-header.directive.d.ts +0 -5
- package/collapse/lib/collapse-directive/collapse-item.directive.d.ts +0 -13
- package/collapse/lib/collapse.module.d.ts +0 -12
- package/common/lib/classes/components.class.d.ts +0 -97
- package/common/lib/classes/datalist.class.d.ts +0 -37
- package/common/lib/classes/datasource.class.d.ts +0 -87
- package/common/lib/classes/events.class.d.ts +0 -96
- package/common/lib/classes/styles.class.d.ts +0 -12
- package/common/lib/common.module.d.ts +0 -10
- package/common/lib/components/base-component.class.d.ts +0 -42
- package/common/lib/components/button-base-component.class.d.ts +0 -55
- package/common/lib/components/color-component.class.d.ts +0 -12
- package/common/lib/components/colorlook-component.class.d.ts +0 -6
- package/common/lib/components/input-base-value-component.class.d.ts +0 -35
- package/common/lib/components/interactive-component.class.d.ts +0 -57
- package/common/lib/components/look-component.class.d.ts +0 -18
- package/common/lib/components/selection-base.component.class.d.ts +0 -53
- package/common/lib/components/value-component.class.d.ts +0 -70
- package/common/lib/directives/auto-focus.directive.d.ts +0 -17
- package/common/lib/directives/delayed-value-changed.directive.d.ts +0 -17
- package/common/lib/directives/hotkey.directive.d.ts +0 -22
- package/common/lib/directives/infinite-scroll.directive.d.ts +0 -25
- package/common/lib/directives/inverted-color.directive.d.ts +0 -12
- package/common/lib/directives/responsive.directive.d.ts +0 -10
- package/common/lib/directives/ripple.directive.d.ts +0 -18
- package/common/lib/interfaces/component.interface.d.ts +0 -4
- package/common/lib/services/dom.service.d.ts +0 -6
- package/common/lib/services/hotkey.service.d.ts +0 -31
- package/common/lib/types/animation.d.ts +0 -1
- package/common/lib/types/base/button.type.d.ts +0 -8
- package/common/lib/types/base/color.type.d.ts +0 -7
- package/common/lib/types/base/component.types.d.ts +0 -8
- package/common/lib/types/base/events.types.d.ts +0 -21
- package/common/lib/types/base/index.d.ts +0 -7
- package/common/lib/types/base/interactive.type.d.ts +0 -13
- package/common/lib/types/base/look.type.d.ts +0 -7
- package/common/lib/types/base/value.type.d.ts +0 -9
- package/common/lib/types/direction.d.ts +0 -4
- package/common/lib/types/orientation.d.ts +0 -4
- package/common/lib/types/placement.d.ts +0 -30
- package/common/lib/types/range.d.ts +0 -4
- package/common/lib/types/selection-mode.d.ts +0 -4
- package/dom/lib/dom-change.directive.d.ts +0 -13
- package/drag-drop/lib/drag-drop.module.d.ts +0 -9
- package/drag-drop/lib/drag-handle.directive.d.ts +0 -7
- package/drag-drop/lib/drag.directive.d.ts +0 -77
- package/drag-drop/lib/drop-zone.directive.d.ts +0 -20
- package/drawer/lib/drawer-container.directive.d.ts +0 -8
- package/drawer/lib/drawer-item.directive.d.ts +0 -27
- package/drawer/lib/drawer.module.d.ts +0 -8
- package/fesm2022/acorex-cdk-collapse.mjs +0 -171
- package/fesm2022/acorex-cdk-collapse.mjs.map +0 -1
- package/focus-trap/lib/focus-trap.directive.d.ts +0 -16
- package/list-navigation/lib/list-navigation-item.directive.d.ts +0 -13
- package/list-navigation/lib/list-navigation.directive.d.ts +0 -22
- package/list-navigation/lib/list-navigation.module.d.ts +0 -9
- package/outline/lib/outline-container.directive.d.ts +0 -28
- package/outline/lib/outline-item.directive.d.ts +0 -9
- package/outline/lib/outline.module.d.ts +0 -9
- package/overlay/lib/overlay.service.d.ts +0 -9
- package/overlay/lib/overlay.types.d.ts +0 -15
- package/pan-view/lib/pan-view.directive.d.ts +0 -48
- package/qrcode/qrcode.class.d.ts +0 -20
- package/resizable/lib/resize.directive.d.ts +0 -59
- package/selection/lib/selection-group.directive.d.ts +0 -18
- package/selection/lib/selection-item.directive.d.ts +0 -15
- package/selection/lib/selection.module.d.ts +0 -9
- package/sliding-item/lib/sliding-item.directive.d.ts +0 -15
- package/sliding-item/lib/sliding-item.module.d.ts +0 -8
- package/sticky/lib/sticky.directive.d.ts +0 -29
- package/virtual-scroll/lib/virtual-scroll.module.d.ts +0 -8
- package/virtual-scroll/lib/virtual-scrolling-contianer/virtual-scrolling-contianer.directive.d.ts +0 -26
- package/virtual-scroll/lib/virtual-scrolling-item/virtual-scrolling-item.directive.d.ts +0 -7
- package/wysiwyg/wysiwyg.class.d.ts +0 -25
- /package/{collapse → accordion}/README.md +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { model, output, Component, inject, ElementRef, signal, afterNextRender, Injectable, ChangeDetectorRef, ViewContainerRef, EventEmitter,
|
|
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
4
|
import { flatten, clone, cloneDeep, isEqual, omit, set } 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';
|
|
8
|
-
import {
|
|
8
|
+
import { isPlatformBrowser } from '@angular/common';
|
|
9
9
|
import { noop, Subscription, BehaviorSubject, debounceTime, distinctUntilChanged, Subject, fromEvent, skip } from 'rxjs';
|
|
10
10
|
import { DataSource } from '@angular/cdk/collections';
|
|
11
|
-
import
|
|
11
|
+
import { EventManager } from '@angular/platform-browser';
|
|
12
12
|
import { Observable } from 'rxjs/internal/Observable';
|
|
13
13
|
import { map, pairwise, filter, startWith, exhaustMap } from 'rxjs/operators';
|
|
14
14
|
import { classes } from 'polytype';
|
|
15
15
|
import { AXFormatService } from '@acorex/core/format';
|
|
16
|
-
import
|
|
16
|
+
import { NgModel } from '@angular/forms';
|
|
17
17
|
|
|
18
18
|
class NXButtonComponent {
|
|
19
19
|
constructor() {
|
|
@@ -21,10 +21,10 @@ 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: "
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NXButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", 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: "20.0.3", ngImport: i0, type: NXButtonComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{
|
|
30
30
|
template: '',
|
|
@@ -35,10 +35,10 @@ class NXColorComponent {
|
|
|
35
35
|
constructor() {
|
|
36
36
|
this.color = model('default');
|
|
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: "20.0.3", ngImport: i0, type: NXColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", 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: "20.0.3", ngImport: i0, type: NXColorComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{
|
|
44
44
|
template: '',
|
|
@@ -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: "20.0.3", ngImport: i0, type: NXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
67
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NXComponent }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NXComponent, decorators: [{
|
|
70
70
|
type: Injectable
|
|
71
71
|
}] });
|
|
72
72
|
|
|
@@ -106,10 +106,10 @@ 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: "20.0.3", ngImport: i0, type: NXInteractiveComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
110
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", 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: "20.0.3", ngImport: i0, type: NXInteractiveComponent, decorators: [{
|
|
113
113
|
type: Component,
|
|
114
114
|
args: [{
|
|
115
115
|
template: '',
|
|
@@ -120,10 +120,10 @@ class NXLookComponent {
|
|
|
120
120
|
constructor() {
|
|
121
121
|
this.look = model('solid');
|
|
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: "20.0.3", ngImport: i0, type: NXLookComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", 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: "20.0.3", ngImport: i0, type: NXLookComponent, decorators: [{
|
|
127
127
|
type: Component,
|
|
128
128
|
args: [{
|
|
129
129
|
template: '',
|
|
@@ -137,10 +137,10 @@ class NXValueComponent {
|
|
|
137
137
|
this.value = model();
|
|
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: "20.0.3", ngImport: i0, type: NXValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
141
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.3", 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: "20.0.3", ngImport: i0, type: NXValueComponent, decorators: [{
|
|
144
144
|
type: Component,
|
|
145
145
|
args: [{
|
|
146
146
|
template: '',
|
|
@@ -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: "20.0.3", ngImport: i0, type: AXDomService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
320
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXDomService, providedIn: 'root' }); }
|
|
321
321
|
}
|
|
322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXDomService, decorators: [{
|
|
323
323
|
type: Injectable,
|
|
324
324
|
args: [{ providedIn: 'root' }]
|
|
325
325
|
}] });
|
|
@@ -388,10 +388,10 @@ class MXBaseComponent {
|
|
|
388
388
|
if (option.afterCallback)
|
|
389
389
|
option.afterCallback(oldValue, newValue);
|
|
390
390
|
}
|
|
391
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
392
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
391
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
392
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXBaseComponent }); }
|
|
393
393
|
}
|
|
394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXBaseComponent, decorators: [{
|
|
395
395
|
type: Injectable
|
|
396
396
|
}] });
|
|
397
397
|
|
|
@@ -744,10 +744,10 @@ class MXValueComponent extends MXInteractiveComponent {
|
|
|
744
744
|
resetErrors() {
|
|
745
745
|
this.setState('clear');
|
|
746
746
|
}
|
|
747
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
748
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
747
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
748
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXValueComponent }); }
|
|
749
749
|
}
|
|
750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXValueComponent, decorators: [{
|
|
751
751
|
type: Injectable
|
|
752
752
|
}] });
|
|
753
753
|
|
|
@@ -854,52 +854,52 @@ class AXComponentClosedPromise extends Promise {
|
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
856
|
class AXComponent {
|
|
857
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
858
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
857
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
858
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXComponent }); }
|
|
859
859
|
}
|
|
860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
860
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXComponent, decorators: [{
|
|
861
861
|
type: Injectable
|
|
862
862
|
}] });
|
|
863
863
|
class AXClosableComponent extends AXComponent {
|
|
864
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
865
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
864
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXClosableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
865
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXClosableComponent }); }
|
|
866
866
|
}
|
|
867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXClosableComponent, decorators: [{
|
|
868
868
|
type: Injectable
|
|
869
869
|
}] });
|
|
870
870
|
class AXClearableComponent extends AXComponent {
|
|
871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
872
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXClearableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
872
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXClearableComponent }); }
|
|
873
873
|
}
|
|
874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXClearableComponent, decorators: [{
|
|
875
875
|
type: Injectable
|
|
876
876
|
}] });
|
|
877
877
|
class AXSearchableComponent extends AXComponent {
|
|
878
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
879
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
878
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXSearchableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
879
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXSearchableComponent }); }
|
|
880
880
|
}
|
|
881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
|
882
882
|
type: Injectable
|
|
883
883
|
}] });
|
|
884
884
|
class AXValuableComponent extends AXComponent {
|
|
885
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
886
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
885
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXValuableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
886
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXValuableComponent }); }
|
|
887
887
|
}
|
|
888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXValuableComponent, decorators: [{
|
|
889
889
|
type: Injectable
|
|
890
890
|
}] });
|
|
891
891
|
class AXFocusableComponent extends AXComponent {
|
|
892
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
893
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
892
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXFocusableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
893
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXFocusableComponent }); }
|
|
894
894
|
}
|
|
895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXFocusableComponent, decorators: [{
|
|
896
896
|
type: Injectable
|
|
897
897
|
}] });
|
|
898
898
|
class AXPagedComponent extends AXComponent {
|
|
899
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
900
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
899
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXPagedComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
900
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXPagedComponent }); }
|
|
901
901
|
}
|
|
902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXPagedComponent, decorators: [{
|
|
903
903
|
type: Injectable
|
|
904
904
|
}] });
|
|
905
905
|
class AXAutocompleteParentComponent extends MXValueComponent {
|
|
@@ -921,10 +921,10 @@ class AXAutocompleteParentComponent extends MXValueComponent {
|
|
|
921
921
|
});
|
|
922
922
|
this.oldInputEmitValue = value;
|
|
923
923
|
}
|
|
924
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
925
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
924
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXAutocompleteParentComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
925
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXAutocompleteParentComponent }); }
|
|
926
926
|
}
|
|
927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXAutocompleteParentComponent, decorators: [{
|
|
928
928
|
type: Injectable
|
|
929
929
|
}] });
|
|
930
930
|
|
|
@@ -1148,10 +1148,10 @@ const AX_LOCATIONS = [
|
|
|
1148
1148
|
];
|
|
1149
1149
|
|
|
1150
1150
|
class AXAutoFocusDirective {
|
|
1151
|
-
constructor(
|
|
1152
|
-
this.renderer =
|
|
1153
|
-
this.el =
|
|
1154
|
-
this._host =
|
|
1151
|
+
constructor() {
|
|
1152
|
+
this.renderer = inject(Renderer2);
|
|
1153
|
+
this.el = inject(ElementRef);
|
|
1154
|
+
this._host = inject(AXFocusableComponent, { host: true, self: true, optional: true });
|
|
1155
1155
|
this.autoFocus = true;
|
|
1156
1156
|
this.time = 50;
|
|
1157
1157
|
this.document = inject(DOCUMENT);
|
|
@@ -1183,19 +1183,13 @@ class AXAutoFocusDirective {
|
|
|
1183
1183
|
}, this.time);
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1187
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXAutoFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1187
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: AXAutoFocusDirective, isStandalone: true, selector: "[axAutoFocus]", inputs: { autoFocus: ["axAutoFocus", "autoFocus"], time: ["axAutoFocusTime", "time"] }, ngImport: i0 }); }
|
|
1188
1188
|
}
|
|
1189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXAutoFocusDirective, decorators: [{
|
|
1190
1190
|
type: Directive,
|
|
1191
1191
|
args: [{ selector: '[axAutoFocus]' }]
|
|
1192
|
-
}],
|
|
1193
|
-
type: Host
|
|
1194
|
-
}, {
|
|
1195
|
-
type: Self
|
|
1196
|
-
}, {
|
|
1197
|
-
type: Optional
|
|
1198
|
-
}] }], propDecorators: { autoFocus: [{
|
|
1192
|
+
}], propDecorators: { autoFocus: [{
|
|
1199
1193
|
type: Input,
|
|
1200
1194
|
args: ['axAutoFocus']
|
|
1201
1195
|
}], time: [{
|
|
@@ -1204,8 +1198,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
1204
1198
|
}] } });
|
|
1205
1199
|
|
|
1206
1200
|
class AXHotkeysService {
|
|
1207
|
-
constructor(
|
|
1208
|
-
this.eventManager =
|
|
1201
|
+
constructor() {
|
|
1202
|
+
this.eventManager = inject(EventManager);
|
|
1209
1203
|
this.document = inject(DOCUMENT);
|
|
1210
1204
|
this.defaults = {
|
|
1211
1205
|
element: this.document,
|
|
@@ -1239,18 +1233,18 @@ class AXHotkeysService {
|
|
|
1239
1233
|
}
|
|
1240
1234
|
});
|
|
1241
1235
|
}
|
|
1242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1243
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXHotkeysService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXHotkeysService }); }
|
|
1244
1238
|
}
|
|
1245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXHotkeysService, decorators: [{
|
|
1246
1240
|
type: Injectable
|
|
1247
|
-
}]
|
|
1241
|
+
}] });
|
|
1248
1242
|
|
|
1249
1243
|
class AXHotkeyDirective {
|
|
1250
|
-
constructor(
|
|
1251
|
-
this.el =
|
|
1252
|
-
this._host =
|
|
1253
|
-
this.hs =
|
|
1244
|
+
constructor() {
|
|
1245
|
+
this.el = inject(ElementRef);
|
|
1246
|
+
this._host = inject(AXComponent, { host: true, self: true, optional: true });
|
|
1247
|
+
this.hs = inject(AXHotkeysService);
|
|
1254
1248
|
this.axHotkey = '';
|
|
1255
1249
|
this._subs = [];
|
|
1256
1250
|
}
|
|
@@ -1302,19 +1296,13 @@ class AXHotkeyDirective {
|
|
|
1302
1296
|
s.unsubscribe();
|
|
1303
1297
|
});
|
|
1304
1298
|
}
|
|
1305
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1306
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXHotkeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1300
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: AXHotkeyDirective, isStandalone: true, selector: "[axHotkey]", inputs: { axHotkey: "axHotkey" }, ngImport: i0 }); }
|
|
1307
1301
|
}
|
|
1308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXHotkeyDirective, decorators: [{
|
|
1309
1303
|
type: Directive,
|
|
1310
1304
|
args: [{ selector: '[axHotkey]' }]
|
|
1311
|
-
}],
|
|
1312
|
-
type: Host
|
|
1313
|
-
}, {
|
|
1314
|
-
type: Self
|
|
1315
|
-
}, {
|
|
1316
|
-
type: Optional
|
|
1317
|
-
}] }, { type: AXHotkeysService }], propDecorators: { axHotkey: [{
|
|
1305
|
+
}], propDecorators: { axHotkey: [{
|
|
1318
1306
|
type: Input
|
|
1319
1307
|
}] } });
|
|
1320
1308
|
|
|
@@ -1324,8 +1312,8 @@ const AX_DEFAULT_SCROLL_POSITION = {
|
|
|
1324
1312
|
clientHeight: 0,
|
|
1325
1313
|
};
|
|
1326
1314
|
class AXInfiniteScrollerDirective {
|
|
1327
|
-
constructor(
|
|
1328
|
-
this.elm =
|
|
1315
|
+
constructor() {
|
|
1316
|
+
this.elm = inject(ElementRef);
|
|
1329
1317
|
this.scrollPercent = 70;
|
|
1330
1318
|
this.isUserScrollingDown = (positions) => {
|
|
1331
1319
|
return positions[0].sT < positions[1].sT;
|
|
@@ -1358,13 +1346,13 @@ class AXInfiniteScrollerDirective {
|
|
|
1358
1346
|
return this.scrollCallback();
|
|
1359
1347
|
}));
|
|
1360
1348
|
}
|
|
1361
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1362
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1349
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXInfiniteScrollerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1350
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: AXInfiniteScrollerDirective, isStandalone: true, selector: "[axInfiniteScroller]", inputs: { scrollCallback: "scrollCallback", immediateCallback: "immediateCallback", scrollPercent: "scrollPercent" }, ngImport: i0 }); }
|
|
1363
1351
|
}
|
|
1364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXInfiniteScrollerDirective, decorators: [{
|
|
1365
1353
|
type: Directive,
|
|
1366
1354
|
args: [{ selector: '[axInfiniteScroller]' }]
|
|
1367
|
-
}],
|
|
1355
|
+
}], propDecorators: { scrollCallback: [{
|
|
1368
1356
|
type: Input
|
|
1369
1357
|
}], immediateCallback: [{
|
|
1370
1358
|
type: Input
|
|
@@ -1373,8 +1361,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
1373
1361
|
}] } });
|
|
1374
1362
|
|
|
1375
1363
|
class AXResponsiveDirective {
|
|
1376
|
-
constructor(
|
|
1377
|
-
this._elementRef =
|
|
1364
|
+
constructor() {
|
|
1365
|
+
this._elementRef = inject(ElementRef);
|
|
1378
1366
|
this._observer = new ResizeObserver((entries) => {
|
|
1379
1367
|
for (const entry of entries) {
|
|
1380
1368
|
if (entry.target) {
|
|
@@ -1393,26 +1381,27 @@ class AXResponsiveDirective {
|
|
|
1393
1381
|
}
|
|
1394
1382
|
}
|
|
1395
1383
|
});
|
|
1384
|
+
const _elementRef = this._elementRef;
|
|
1396
1385
|
this._observer.observe(_elementRef.nativeElement);
|
|
1397
1386
|
}
|
|
1398
1387
|
ngOnDestroy() {
|
|
1399
1388
|
this._observer?.disconnect();
|
|
1400
1389
|
this._observer?.unobserve(this._elementRef.nativeElement);
|
|
1401
1390
|
}
|
|
1402
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1403
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1391
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXResponsiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1392
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: AXResponsiveDirective, isStandalone: true, selector: "[axResponsive]", ngImport: i0 }); }
|
|
1404
1393
|
}
|
|
1405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXResponsiveDirective, decorators: [{
|
|
1406
1395
|
type: Directive,
|
|
1407
1396
|
args: [{ selector: '[axResponsive]' }]
|
|
1408
|
-
}], ctorParameters: () => [
|
|
1397
|
+
}], ctorParameters: () => [] });
|
|
1409
1398
|
|
|
1410
1399
|
class AXCommonModule {
|
|
1411
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1412
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1413
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1401
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.3", ngImport: i0, type: AXCommonModule, imports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective], exports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective] }); }
|
|
1402
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXCommonModule, providers: [AXHotkeysService] }); }
|
|
1414
1403
|
}
|
|
1415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXCommonModule, decorators: [{
|
|
1416
1405
|
type: NgModule,
|
|
1417
1406
|
args: [{
|
|
1418
1407
|
imports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective],
|
|
@@ -1445,10 +1434,10 @@ class MXColorComponent extends MXBaseComponent {
|
|
|
1445
1434
|
}
|
|
1446
1435
|
|
|
1447
1436
|
class MXLookableComponent {
|
|
1448
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1449
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXLookableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1438
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXLookableComponent }); }
|
|
1450
1439
|
}
|
|
1451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXLookableComponent, decorators: [{
|
|
1452
1441
|
type: Injectable
|
|
1453
1442
|
}] });
|
|
1454
1443
|
class MXLookComponent extends MXBaseComponent {
|
|
@@ -1623,10 +1612,10 @@ class MXInputBaseValueComponent extends MXValueComponent {
|
|
|
1623
1612
|
else
|
|
1624
1613
|
super.focus();
|
|
1625
1614
|
}
|
|
1626
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1627
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1615
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXInputBaseValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1616
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXInputBaseValueComponent }); }
|
|
1628
1617
|
}
|
|
1629
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXInputBaseValueComponent, decorators: [{
|
|
1630
1619
|
type: Injectable
|
|
1631
1620
|
}] });
|
|
1632
1621
|
|
|
@@ -1635,10 +1624,10 @@ class MXSelectionBridgeService {
|
|
|
1635
1624
|
this.selectedItems = [];
|
|
1636
1625
|
this.cacheList = {};
|
|
1637
1626
|
}
|
|
1638
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1639
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXSelectionBridgeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1628
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXSelectionBridgeService }); }
|
|
1640
1629
|
}
|
|
1641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXSelectionBridgeService, decorators: [{
|
|
1642
1631
|
type: Injectable
|
|
1643
1632
|
}] });
|
|
1644
1633
|
const AX_SELECTION_DATA_TOKEN = new InjectionToken('AX_SELECTION_DATA_TOKEN');
|
|
@@ -1844,87 +1833,13 @@ class MXSelectionValueComponent extends MXValueComponent {
|
|
|
1844
1833
|
this.dataService.cacheList = {};
|
|
1845
1834
|
this.cdr.markForCheck();
|
|
1846
1835
|
}
|
|
1847
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1848
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1836
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXSelectionValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1837
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXSelectionValueComponent }); }
|
|
1849
1838
|
}
|
|
1850
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1839
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MXSelectionValueComponent, decorators: [{
|
|
1851
1840
|
type: Injectable
|
|
1852
1841
|
}] });
|
|
1853
1842
|
|
|
1854
|
-
/**
|
|
1855
|
-
* Directive to copy provided context to the clipboard on click,
|
|
1856
|
-
* using Angular's input signal injection for the context.
|
|
1857
|
-
* Emits copy status via a writable signal property.
|
|
1858
|
-
*
|
|
1859
|
-
* Usage:
|
|
1860
|
-
* <button
|
|
1861
|
-
* axCopyClipboard
|
|
1862
|
-
* [copiedSignal]="copiedSignal"
|
|
1863
|
-
* >Copy</button>
|
|
1864
|
-
*/
|
|
1865
|
-
class AXCopyClipboardDirective {
|
|
1866
|
-
constructor() {
|
|
1867
|
-
this.elementRef = inject(ElementRef);
|
|
1868
|
-
/**
|
|
1869
|
-
* Required string input signal for the context to copy.
|
|
1870
|
-
* Bound via: axCopyClipboard="textSignal"
|
|
1871
|
-
*/
|
|
1872
|
-
this.context = input.required({ alias: 'axCopyClipboard' });
|
|
1873
|
-
/**
|
|
1874
|
-
* WritableSignal to capture copy success (true) or failure (false).
|
|
1875
|
-
* Can be bound: [copiedSignal]="myWritableSignal"
|
|
1876
|
-
*/
|
|
1877
|
-
this.copied = output();
|
|
1878
|
-
}
|
|
1879
|
-
/**
|
|
1880
|
-
* Trigger copy when the host element is clicked.
|
|
1881
|
-
*/
|
|
1882
|
-
async onHostHover() {
|
|
1883
|
-
this.elementRef.nativeElement.style.cursor = 'pointer';
|
|
1884
|
-
}
|
|
1885
|
-
/**
|
|
1886
|
-
* Trigger copy when the host element is clicked.
|
|
1887
|
-
*/
|
|
1888
|
-
async onHostClick() {
|
|
1889
|
-
try {
|
|
1890
|
-
const text = this.context();
|
|
1891
|
-
await this.copyToClipboard(text);
|
|
1892
|
-
console.log(this.elementRef.nativeElement);
|
|
1893
|
-
this.copied.emit(true);
|
|
1894
|
-
}
|
|
1895
|
-
catch (err) {
|
|
1896
|
-
console.error('Copy failed', err);
|
|
1897
|
-
this.copied.emit(false);
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
/**
|
|
1901
|
-
* Copy the string to the clipboard.
|
|
1902
|
-
*/
|
|
1903
|
-
copyToClipboard(text) {
|
|
1904
|
-
if (!text) {
|
|
1905
|
-
return Promise.reject('No text provided to copy');
|
|
1906
|
-
}
|
|
1907
|
-
if (!navigator.clipboard?.writeText) {
|
|
1908
|
-
return Promise.reject('Permission denied to access clipboard');
|
|
1909
|
-
}
|
|
1910
|
-
return navigator.clipboard.writeText(text);
|
|
1911
|
-
}
|
|
1912
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCopyClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1913
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.11", type: AXCopyClipboardDirective, isStandalone: true, selector: "[axCopyClipboard]", inputs: { context: { classPropertyName: "context", publicName: "axCopyClipboard", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { copied: "copied" }, host: { listeners: { "mouseenter": "onHostHover()", "click": "onHostClick()" } }, ngImport: i0 }); }
|
|
1914
|
-
}
|
|
1915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: AXCopyClipboardDirective, decorators: [{
|
|
1916
|
-
type: Directive,
|
|
1917
|
-
args: [{
|
|
1918
|
-
selector: '[axCopyClipboard]',
|
|
1919
|
-
}]
|
|
1920
|
-
}], propDecorators: { onHostHover: [{
|
|
1921
|
-
type: HostListener,
|
|
1922
|
-
args: ['mouseenter']
|
|
1923
|
-
}], onHostClick: [{
|
|
1924
|
-
type: HostListener,
|
|
1925
|
-
args: ['click']
|
|
1926
|
-
}] } });
|
|
1927
|
-
|
|
1928
1843
|
class AXNgModelDelayedValueChangedDirective {
|
|
1929
1844
|
get delayTime() {
|
|
1930
1845
|
return this._delayTime;
|
|
@@ -1939,8 +1854,8 @@ class AXNgModelDelayedValueChangedDirective {
|
|
|
1939
1854
|
ngOnDestroy() {
|
|
1940
1855
|
this.subscription?.unsubscribe();
|
|
1941
1856
|
}
|
|
1942
|
-
constructor(
|
|
1943
|
-
this.ngModel =
|
|
1857
|
+
constructor() {
|
|
1858
|
+
this.ngModel = inject(NgModel);
|
|
1944
1859
|
this.axDelayedValueChanged = new EventEmitter();
|
|
1945
1860
|
this.axDelayTimeChange = new EventEmitter();
|
|
1946
1861
|
this._delayTime = 0;
|
|
@@ -1954,15 +1869,15 @@ class AXNgModelDelayedValueChangedDirective {
|
|
|
1954
1869
|
distinctUntilChanged(), debounceTime(this.delayTime))
|
|
1955
1870
|
.subscribe((value) => this.axDelayedValueChanged.emit(value));
|
|
1956
1871
|
}
|
|
1957
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1958
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1872
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXNgModelDelayedValueChangedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1873
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: AXNgModelDelayedValueChangedDirective, isStandalone: true, selector: "[axDelayedValueChanged]", inputs: { delayTime: "delayTime" }, outputs: { axDelayedValueChanged: "axDelayedValueChanged", axDelayTimeChange: "axDelayTimeChange" }, ngImport: i0 }); }
|
|
1959
1874
|
}
|
|
1960
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXNgModelDelayedValueChangedDirective, decorators: [{
|
|
1961
1876
|
type: Directive,
|
|
1962
1877
|
args: [{
|
|
1963
1878
|
selector: '[axDelayedValueChanged]',
|
|
1964
1879
|
}]
|
|
1965
|
-
}], ctorParameters: () => [
|
|
1880
|
+
}], ctorParameters: () => [], propDecorators: { axDelayedValueChanged: [{
|
|
1966
1881
|
type: Output
|
|
1967
1882
|
}], axDelayTimeChange: [{
|
|
1968
1883
|
type: Output
|
|
@@ -2008,10 +1923,10 @@ class AXInvertedColorDirective {
|
|
|
2008
1923
|
});
|
|
2009
1924
|
}
|
|
2010
1925
|
}
|
|
2011
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2012
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
1926
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXInvertedColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1927
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.3", type: AXInvertedColorDirective, isStandalone: true, selector: "[axInvertedColor]", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
2013
1928
|
}
|
|
2014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXInvertedColorDirective, decorators: [{
|
|
2015
1930
|
type: Directive,
|
|
2016
1931
|
args: [{
|
|
2017
1932
|
selector: '[axInvertedColor]',
|
|
@@ -2019,9 +1934,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2019
1934
|
}], ctorParameters: () => [] });
|
|
2020
1935
|
|
|
2021
1936
|
class AXRippleDirective {
|
|
2022
|
-
constructor(
|
|
2023
|
-
this.el =
|
|
2024
|
-
this.cdr =
|
|
1937
|
+
constructor() {
|
|
1938
|
+
this.el = inject(ElementRef);
|
|
1939
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
2025
1940
|
this.enabled = true;
|
|
2026
1941
|
this.axRippleColor = 'var(--ax-comp-ripple-bg-color, rgba(255, 255, 255, 0.3))';
|
|
2027
1942
|
this.document = inject(DOCUMENT);
|
|
@@ -2064,15 +1979,15 @@ class AXRippleDirective {
|
|
|
2064
1979
|
});
|
|
2065
1980
|
}
|
|
2066
1981
|
}
|
|
2067
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2068
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1982
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXRippleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1983
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: AXRippleDirective, isStandalone: true, selector: "[axRipple]", inputs: { enabled: ["axRipple", "enabled"], axRippleColor: "axRippleColor" }, ngImport: i0 }); }
|
|
2069
1984
|
}
|
|
2070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AXRippleDirective, decorators: [{
|
|
2071
1986
|
type: Directive,
|
|
2072
1987
|
args: [{
|
|
2073
1988
|
selector: '[axRipple]',
|
|
2074
1989
|
}]
|
|
2075
|
-
}],
|
|
1990
|
+
}], propDecorators: { enabled: [{
|
|
2076
1991
|
type: Input,
|
|
2077
1992
|
args: ['axRipple']
|
|
2078
1993
|
}], axRippleColor: [{
|
|
@@ -2083,5 +1998,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImpo
|
|
|
2083
1998
|
* Generated bundle index. Do not edit.
|
|
2084
1999
|
*/
|
|
2085
2000
|
|
|
2086
|
-
export { AXAutoFocusDirective, AXAutocompleteParentComponent, AXButtonClickEvent, AXClearableComponent, AXClickEvent, AXClosableComponent, AXCommonModule, AXComponent, AXComponentCloseEvent, AXComponentClosedPromise, AXComponentClosing, AXComponentResult,
|
|
2001
|
+
export { AXAutoFocusDirective, AXAutocompleteParentComponent, AXButtonClickEvent, AXClearableComponent, AXClickEvent, AXClosableComponent, AXCommonModule, AXComponent, AXComponentCloseEvent, AXComponentClosedPromise, AXComponentClosing, AXComponentResult, AXDataSource, AXDomService, AXEvent, AXFocusEvent, AXFocusableComponent, AXHotkeyDirective, AXHotkeysService, AXHtmlEvent, AXInfiniteScrollerDirective, AXInvertedColorDirective, AXItemClickEvent, AXListDataSource, AXNgModelDelayedValueChangedDirective, AXOptionChangedEvent, AXPagedComponent, AXRangeChangedEvent, AXResponsiveDirective, AXRippleDirective, AXSearchableComponent, AXSelectionValueChangedEvent, AXValuableComponent, AXValueChangedEvent, AX_LOCATIONS, AX_PLACEMENT_BOTTOM, AX_PLACEMENT_BOTTOM_END, AX_PLACEMENT_BOTTOM_START, AX_PLACEMENT_END, AX_PLACEMENT_END_BOTTOM, AX_PLACEMENT_END_TOP, AX_PLACEMENT_MAP, AX_PLACEMENT_START, AX_PLACEMENT_START_BOTTOM, AX_PLACEMENT_START_TOP, AX_PLACEMENT_TOP, AX_PLACEMENT_TOP_END, AX_PLACEMENT_TOP_START, AX_SELECTION_DATA_TOKEN, AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, MXBaseComponent, MXButtonBaseComponent, MXColorComponent, MXColorLookComponent, MXInputBaseValueComponent, MXInteractiveComponent, MXLookComponent, MXLookableComponent, MXSelectionBridgeService, MXSelectionValueComponent, MXValueComponent, NXButtonComponent, NXClickEvent, NXColorComponent, NXComponent, NXEvent, NXInteractiveComponent, NXLookComponent, NXNativeEvent, NXValueComponent, TAB_META_KEY, convertArrayToDataSource, convertToPlacement };
|
|
2087
2002
|
//# sourceMappingURL=acorex-cdk-common.mjs.map
|