@acorex/cdk 21.0.1-next.6 → 21.0.1-next.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acorex-cdk-accordion.mjs +23 -23
- package/fesm2022/acorex-cdk-accordion.mjs.map +1 -1
- package/fesm2022/acorex-cdk-carousel.mjs +22 -31
- 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 +175 -111
- 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-double-click.mjs +3 -3
- package/fesm2022/acorex-cdk-double-click.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drag-drop.mjs +21 -23
- package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drawer.mjs +40 -16
- 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-full-screen.mjs +15 -4
- package/fesm2022/acorex-cdk-full-screen.mjs.map +1 -1
- package/fesm2022/acorex-cdk-input-mask.mjs +67 -14
- package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -1
- package/fesm2022/acorex-cdk-list-navigation.mjs +11 -11
- package/fesm2022/acorex-cdk-list-navigation.mjs.map +1 -1
- package/fesm2022/acorex-cdk-outline.mjs +6 -6
- package/fesm2022/acorex-cdk-outline.mjs.map +1 -1
- package/fesm2022/acorex-cdk-overlay.mjs +370 -14
- package/fesm2022/acorex-cdk-overlay.mjs.map +1 -1
- package/fesm2022/acorex-cdk-pan-view.mjs +3 -3
- 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 +3 -3
- package/fesm2022/acorex-cdk-resizable.mjs.map +1 -1
- package/fesm2022/acorex-cdk-selection.mjs +11 -11
- 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 +50 -29
- package/fesm2022/acorex-cdk-sticky.mjs.map +1 -1
- package/fesm2022/acorex-cdk-uploader.mjs +9 -9
- package/fesm2022/acorex-cdk-uploader.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-z-index.mjs +35 -0
- package/fesm2022/acorex-cdk-z-index.mjs.map +1 -0
- package/fesm2022/acorex-cdk.mjs.map +1 -1
- package/package.json +31 -29
- package/types/acorex-cdk-carousel.d.ts +16 -0
- package/{common/index.d.ts → types/acorex-cdk-common.d.ts} +10 -7
- package/{drawer/index.d.ts → types/acorex-cdk-drawer.d.ts} +2 -0
- package/{focus-trap/index.d.ts → types/acorex-cdk-focus-trap.d.ts} +1 -1
- package/{full-screen/index.d.ts → types/acorex-cdk-full-screen.d.ts} +5 -0
- package/{input-mask/index.d.ts → types/acorex-cdk-input-mask.d.ts} +39 -3
- package/types/acorex-cdk-overlay.d.ts +128 -0
- package/{sticky/index.d.ts → types/acorex-cdk-sticky.d.ts} +18 -11
- package/types/acorex-cdk-z-index.d.ts +14 -0
- package/z-index/README.md +3 -0
- package/carousel/index.d.ts +0 -18
- package/overlay/index.d.ts +0 -27
- /package/{accordion/index.d.ts → types/acorex-cdk-accordion.d.ts} +0 -0
- /package/{clipboard/index.d.ts → types/acorex-cdk-clipboard.d.ts} +0 -0
- /package/{dom/index.d.ts → types/acorex-cdk-dom.d.ts} +0 -0
- /package/{double-click/index.d.ts → types/acorex-cdk-double-click.d.ts} +0 -0
- /package/{drag-drop/index.d.ts → types/acorex-cdk-drag-drop.d.ts} +0 -0
- /package/{list-navigation/index.d.ts → types/acorex-cdk-list-navigation.d.ts} +0 -0
- /package/{outline/index.d.ts → types/acorex-cdk-outline.d.ts} +0 -0
- /package/{pan-view/index.d.ts → types/acorex-cdk-pan-view.d.ts} +0 -0
- /package/{qrcode/index.d.ts → types/acorex-cdk-qrcode.d.ts} +0 -0
- /package/{resizable/index.d.ts → types/acorex-cdk-resizable.d.ts} +0 -0
- /package/{selection/index.d.ts → types/acorex-cdk-selection.d.ts} +0 -0
- /package/{sliding-item/index.d.ts → types/acorex-cdk-sliding-item.d.ts} +0 -0
- /package/{uploader/index.d.ts → types/acorex-cdk-uploader.d.ts} +0 -0
- /package/{virtual-scroll/index.d.ts → types/acorex-cdk-virtual-scroll.d.ts} +0 -0
- /package/{wysiwyg/index.d.ts → types/acorex-cdk-wysiwyg.d.ts} +0 -0
- /package/{index.d.ts → types/acorex-cdk.d.ts} +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AXZIndexService } from '@acorex/core/z-index';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, ElementRef, signal, afterNextRender, Directive } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
class AXZindexDirective {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.el = inject(ElementRef);
|
|
8
|
+
this.z = inject(AXZIndexService);
|
|
9
|
+
this.token = signal(null, ...(ngDevMode ? [{ debugName: "token" }] : []));
|
|
10
|
+
this.#init = afterNextRender(() => {
|
|
11
|
+
this.token.set(this.z.acquire());
|
|
12
|
+
this.el.nativeElement.style.zIndex = String(this.token().zIndex);
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
#init;
|
|
16
|
+
ngOnDestroy() {
|
|
17
|
+
this.z.release(this.token());
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXZindexDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.3", type: AXZindexDirective, isStandalone: true, selector: "[axZindex]", exportAs: ["axZindex"], ngImport: i0 }); }
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXZindexDirective, decorators: [{
|
|
23
|
+
type: Directive,
|
|
24
|
+
args: [{
|
|
25
|
+
selector: '[axZindex]',
|
|
26
|
+
exportAs: 'axZindex',
|
|
27
|
+
}]
|
|
28
|
+
}] });
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Generated bundle index. Do not edit.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
export { AXZindexDirective };
|
|
35
|
+
//# sourceMappingURL=acorex-cdk-z-index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-cdk-z-index.mjs","sources":["../../../../packages/cdk/z-index/src/lib/z-index.directive.ts","../../../../packages/cdk/z-index/src/acorex-cdk-z-index.ts"],"sourcesContent":["import { AXZIndexService, AXZToken } from '@acorex/core/z-index';\nimport { afterNextRender, Directive, ElementRef, inject, OnDestroy, signal } from '@angular/core';\n@Directive({\n selector: '[axZindex]',\n exportAs: 'axZindex',\n})\nexport class AXZindexDirective implements OnDestroy {\n private el = inject<ElementRef<HTMLElement>>(ElementRef);\n private z = inject(AXZIndexService);\n\n private token = signal<AXZToken>(null);\n\n #init = afterNextRender(() => {\n this.token.set(this.z.acquire());\n this.el.nativeElement.style.zIndex = String(this.token().zIndex);\n });\n\n ngOnDestroy() {\n this.z.release(this.token());\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,iBAAiB,CAAA;AAJ9B,IAAA,WAAA,GAAA;AAKU,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAA0B,UAAU,CAAC;AAChD,QAAA,IAAA,CAAA,CAAC,GAAG,MAAM,CAAC,eAAe,CAAC;AAE3B,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAW,IAAI,iDAAC;AAEtC,QAAA,IAAA,CAAA,KAAK,GAAG,eAAe,CAAC,MAAK;AAC3B,YAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAChC,YAAA,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,MAAM,CAAC;AAClE,QAAA,CAAC,CAAC;AAKH,IAAA;AARC,IAAA,KAAK;IAKL,WAAW,GAAA;QACT,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;IAC9B;8GAbW,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,QAAA,EAAA,CAAA,UAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,QAAQ,EAAE,UAAU;AACrB,iBAAA;;;ACLD;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-cdk.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"acorex-cdk.mjs","sources":["../../../../packages/cdk/src/index.ts","../../../../packages/cdk/src/acorex-cdk.ts"],"sourcesContent":["export const ACOREX_CDK = 'ACorex CDK';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAO,MAAM,UAAU,GAAG;;ACA1B;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/cdk",
|
|
3
|
-
"version": "21.0.1-next.
|
|
3
|
+
"version": "21.0.1-next.61",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "21.0.1-next.
|
|
6
|
-
"@angular/common": "^20.0.0",
|
|
7
|
-
"@angular/core": "^20.0.0",
|
|
5
|
+
"@acorex/core": "21.0.1-next.61",
|
|
8
6
|
"quill": ">=2.0.2",
|
|
9
7
|
"qrcode": ">=1.5.4",
|
|
10
8
|
"swiper": ">=11.1.15",
|
|
@@ -12,106 +10,110 @@
|
|
|
12
10
|
},
|
|
13
11
|
"sideEffects": false,
|
|
14
12
|
"module": "fesm2022/acorex-cdk.mjs",
|
|
15
|
-
"typings": "
|
|
13
|
+
"typings": "types/acorex-cdk.d.ts",
|
|
16
14
|
"exports": {
|
|
17
15
|
"./package.json": {
|
|
18
16
|
"default": "./package.json"
|
|
19
17
|
},
|
|
20
18
|
".": {
|
|
21
|
-
"types": "./
|
|
19
|
+
"types": "./types/acorex-cdk.d.ts",
|
|
22
20
|
"default": "./fesm2022/acorex-cdk.mjs"
|
|
23
21
|
},
|
|
24
22
|
"./accordion": {
|
|
25
|
-
"types": "./accordion
|
|
23
|
+
"types": "./types/acorex-cdk-accordion.d.ts",
|
|
26
24
|
"default": "./fesm2022/acorex-cdk-accordion.mjs"
|
|
27
25
|
},
|
|
28
26
|
"./carousel": {
|
|
29
|
-
"types": "./carousel
|
|
27
|
+
"types": "./types/acorex-cdk-carousel.d.ts",
|
|
30
28
|
"default": "./fesm2022/acorex-cdk-carousel.mjs"
|
|
31
29
|
},
|
|
32
30
|
"./clipboard": {
|
|
33
|
-
"types": "./clipboard
|
|
31
|
+
"types": "./types/acorex-cdk-clipboard.d.ts",
|
|
34
32
|
"default": "./fesm2022/acorex-cdk-clipboard.mjs"
|
|
35
33
|
},
|
|
36
34
|
"./common": {
|
|
37
|
-
"types": "./common
|
|
35
|
+
"types": "./types/acorex-cdk-common.d.ts",
|
|
38
36
|
"default": "./fesm2022/acorex-cdk-common.mjs"
|
|
39
37
|
},
|
|
40
38
|
"./dom": {
|
|
41
|
-
"types": "./dom
|
|
39
|
+
"types": "./types/acorex-cdk-dom.d.ts",
|
|
42
40
|
"default": "./fesm2022/acorex-cdk-dom.mjs"
|
|
43
41
|
},
|
|
44
42
|
"./double-click": {
|
|
45
|
-
"types": "./double-click
|
|
43
|
+
"types": "./types/acorex-cdk-double-click.d.ts",
|
|
46
44
|
"default": "./fesm2022/acorex-cdk-double-click.mjs"
|
|
47
45
|
},
|
|
48
46
|
"./drag-drop": {
|
|
49
|
-
"types": "./drag-drop
|
|
47
|
+
"types": "./types/acorex-cdk-drag-drop.d.ts",
|
|
50
48
|
"default": "./fesm2022/acorex-cdk-drag-drop.mjs"
|
|
51
49
|
},
|
|
52
50
|
"./drawer": {
|
|
53
|
-
"types": "./drawer
|
|
51
|
+
"types": "./types/acorex-cdk-drawer.d.ts",
|
|
54
52
|
"default": "./fesm2022/acorex-cdk-drawer.mjs"
|
|
55
53
|
},
|
|
56
54
|
"./focus-trap": {
|
|
57
|
-
"types": "./focus-trap
|
|
55
|
+
"types": "./types/acorex-cdk-focus-trap.d.ts",
|
|
58
56
|
"default": "./fesm2022/acorex-cdk-focus-trap.mjs"
|
|
59
57
|
},
|
|
60
58
|
"./full-screen": {
|
|
61
|
-
"types": "./full-screen
|
|
59
|
+
"types": "./types/acorex-cdk-full-screen.d.ts",
|
|
62
60
|
"default": "./fesm2022/acorex-cdk-full-screen.mjs"
|
|
63
61
|
},
|
|
64
62
|
"./input-mask": {
|
|
65
|
-
"types": "./input-mask
|
|
63
|
+
"types": "./types/acorex-cdk-input-mask.d.ts",
|
|
66
64
|
"default": "./fesm2022/acorex-cdk-input-mask.mjs"
|
|
67
65
|
},
|
|
68
66
|
"./list-navigation": {
|
|
69
|
-
"types": "./list-navigation
|
|
67
|
+
"types": "./types/acorex-cdk-list-navigation.d.ts",
|
|
70
68
|
"default": "./fesm2022/acorex-cdk-list-navigation.mjs"
|
|
71
69
|
},
|
|
72
70
|
"./outline": {
|
|
73
|
-
"types": "./outline
|
|
71
|
+
"types": "./types/acorex-cdk-outline.d.ts",
|
|
74
72
|
"default": "./fesm2022/acorex-cdk-outline.mjs"
|
|
75
73
|
},
|
|
76
74
|
"./overlay": {
|
|
77
|
-
"types": "./overlay
|
|
75
|
+
"types": "./types/acorex-cdk-overlay.d.ts",
|
|
78
76
|
"default": "./fesm2022/acorex-cdk-overlay.mjs"
|
|
79
77
|
},
|
|
80
78
|
"./pan-view": {
|
|
81
|
-
"types": "./pan-view
|
|
79
|
+
"types": "./types/acorex-cdk-pan-view.d.ts",
|
|
82
80
|
"default": "./fesm2022/acorex-cdk-pan-view.mjs"
|
|
83
81
|
},
|
|
84
82
|
"./qrcode": {
|
|
85
|
-
"types": "./qrcode
|
|
83
|
+
"types": "./types/acorex-cdk-qrcode.d.ts",
|
|
86
84
|
"default": "./fesm2022/acorex-cdk-qrcode.mjs"
|
|
87
85
|
},
|
|
88
86
|
"./resizable": {
|
|
89
|
-
"types": "./resizable
|
|
87
|
+
"types": "./types/acorex-cdk-resizable.d.ts",
|
|
90
88
|
"default": "./fesm2022/acorex-cdk-resizable.mjs"
|
|
91
89
|
},
|
|
92
90
|
"./selection": {
|
|
93
|
-
"types": "./selection
|
|
91
|
+
"types": "./types/acorex-cdk-selection.d.ts",
|
|
94
92
|
"default": "./fesm2022/acorex-cdk-selection.mjs"
|
|
95
93
|
},
|
|
96
94
|
"./sliding-item": {
|
|
97
|
-
"types": "./sliding-item
|
|
95
|
+
"types": "./types/acorex-cdk-sliding-item.d.ts",
|
|
98
96
|
"default": "./fesm2022/acorex-cdk-sliding-item.mjs"
|
|
99
97
|
},
|
|
100
98
|
"./sticky": {
|
|
101
|
-
"types": "./sticky
|
|
99
|
+
"types": "./types/acorex-cdk-sticky.d.ts",
|
|
102
100
|
"default": "./fesm2022/acorex-cdk-sticky.mjs"
|
|
103
101
|
},
|
|
104
102
|
"./uploader": {
|
|
105
|
-
"types": "./uploader
|
|
103
|
+
"types": "./types/acorex-cdk-uploader.d.ts",
|
|
106
104
|
"default": "./fesm2022/acorex-cdk-uploader.mjs"
|
|
107
105
|
},
|
|
108
106
|
"./virtual-scroll": {
|
|
109
|
-
"types": "./virtual-scroll
|
|
107
|
+
"types": "./types/acorex-cdk-virtual-scroll.d.ts",
|
|
110
108
|
"default": "./fesm2022/acorex-cdk-virtual-scroll.mjs"
|
|
111
109
|
},
|
|
112
110
|
"./wysiwyg": {
|
|
113
|
-
"types": "./wysiwyg
|
|
111
|
+
"types": "./types/acorex-cdk-wysiwyg.d.ts",
|
|
114
112
|
"default": "./fesm2022/acorex-cdk-wysiwyg.mjs"
|
|
113
|
+
},
|
|
114
|
+
"./z-index": {
|
|
115
|
+
"types": "./types/acorex-cdk-z-index.d.ts",
|
|
116
|
+
"default": "./fesm2022/acorex-cdk-z-index.mjs"
|
|
115
117
|
}
|
|
116
118
|
},
|
|
117
119
|
"dependencies": {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Swiper, SwiperOptions } from 'swiper/types';
|
|
3
|
+
|
|
4
|
+
type AXCarousel = Swiper;
|
|
5
|
+
type AXCarouselOptions = SwiperOptions;
|
|
6
|
+
declare class AXCarouselDirective {
|
|
7
|
+
carousel: i0.WritableSignal<Swiper>;
|
|
8
|
+
private el;
|
|
9
|
+
private platformId;
|
|
10
|
+
init(option: AXCarouselOptions): Promise<void>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXCarouselDirective, "[axCarousel]", ["axCarousel"], {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { AXCarouselDirective };
|
|
16
|
+
export type { AXCarousel, AXCarouselOptions };
|
|
@@ -22,8 +22,11 @@ declare abstract class NXButtonComponent {
|
|
|
22
22
|
* A token that specifies the color style of component.
|
|
23
23
|
*/
|
|
24
24
|
type AXStyleColorType = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'default';
|
|
25
|
+
type AXStyleColorClassType = `ax-${AXStyleColorType}`;
|
|
25
26
|
declare const AX_STYLE_COLOR_TYPES: AXStyleColorType[];
|
|
26
27
|
type AXStyleLookType = 'solid' | 'blank' | 'outline' | 'twotone' | 'flat' | 'fill' | 'link' | 'none';
|
|
28
|
+
type AXStyleLookClassType = `ax-${AXStyleLookType}`;
|
|
29
|
+
type AXStyleInteractiveLookClassType = `${AXStyleLookClassType}-interactive`;
|
|
27
30
|
declare const AX_STYLE_LOOK_TYPES: AXStyleLookType[];
|
|
28
31
|
type AXSizeType = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
29
32
|
type AXStyleSizeType = `ax-${AXSizeType}`;
|
|
@@ -432,6 +435,7 @@ declare class MXValueComponent<T = any> extends MXInteractiveComponent implement
|
|
|
432
435
|
* @param ruleToRemove - The validation rule to remove.
|
|
433
436
|
*/
|
|
434
437
|
removeValidationRule(ruleToRemove: AXFormValidationRule): void;
|
|
438
|
+
removeValidationRuleByType(type: string): void;
|
|
435
439
|
/**
|
|
436
440
|
* Validates the component.
|
|
437
441
|
*
|
|
@@ -771,8 +775,8 @@ declare class MXColorComponent extends MXBaseComponent {
|
|
|
771
775
|
/**
|
|
772
776
|
* Predefined color schemes
|
|
773
777
|
*/
|
|
774
|
-
get color():
|
|
775
|
-
set color(value: AXStyleColorType);
|
|
778
|
+
get color(): AXStyleColorClassType | string;
|
|
779
|
+
set color(value: AXStyleColorType | string);
|
|
776
780
|
}
|
|
777
781
|
|
|
778
782
|
declare abstract class MXLookableComponent {
|
|
@@ -786,8 +790,9 @@ declare class MXLookComponent extends MXBaseComponent {
|
|
|
786
790
|
/**
|
|
787
791
|
* Predefined look schemes
|
|
788
792
|
*/
|
|
789
|
-
get look():
|
|
790
|
-
|
|
793
|
+
get look(): AXStyleLookClassType | string;
|
|
794
|
+
get interactiveLook(): AXStyleInteractiveLookClassType | string;
|
|
795
|
+
set look(value: AXStyleLookType | string);
|
|
791
796
|
}
|
|
792
797
|
|
|
793
798
|
declare const MXColorLookComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXColorComponent, typeof MXLookComponent]>;
|
|
@@ -841,8 +846,6 @@ declare class MXButtonBaseComponent extends MXButtonBaseComponent_base {
|
|
|
841
846
|
*/
|
|
842
847
|
protected get cssClasses(): {
|
|
843
848
|
'ax-button-icon': boolean;
|
|
844
|
-
'ax-state-disabled': boolean;
|
|
845
|
-
'ax-state-selected': boolean;
|
|
846
849
|
};
|
|
847
850
|
}
|
|
848
851
|
|
|
@@ -1155,4 +1158,4 @@ declare class AXHotkeysService {
|
|
|
1155
1158
|
}
|
|
1156
1159
|
|
|
1157
1160
|
export { AXAutoFocusDirective, AXAutocompleteParentComponent, AXButtonClickEvent, AXClearableComponent, AXClickEvent, AXClosableComponent, AXCommonModule, AXComponent, AXComponentCloseEvent, AXComponentClosedPromise, AXComponentClosing, AXComponentResult, AXDataSource, AXDomService, AXEvent, AXFocusEvent, AXFocusableComponent, AXHotkeyDirective, AXHotkeysService, AXHtmlEvent, AXInfiniteScrollerDirective, AXInvertedColorDirective, AXItemClickEvent, AXItemSelectedEvent, 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, applyDataSourceQuery, convertArrayToDataSource, convertToPlacement };
|
|
1158
|
-
export type { AXAnimationEasing, AXComponentState, AXConnectedPosition, AXDataListFetchCallbackResult, AXDataListFetchDataCallback, AXDataListItems, AXDataListQuery, AXDataSourceByKeyCallback, AXDataSourceCallbackResult, AXDataSourceChangedEvent, AXDataSourceConfig, AXDataSourceFilterOption, AXDataSourceItemExpandedEvent, AXDataSourceLoadCallback, AXDataSourceOperator, AXDataSourceQuery, AXDataSourceSortOption, AXDirection, AXExpandToggleIcons, AXFilterLogic, AXFormValidationRule, AXHotKeyAction, AXLocation, AXOrientation, AXPagedComponentInterface, AXPlacement, AXPlacementType, AXRange, AXScrollPosition, AXSelectionMode, AXSizeType, AXSortOrder, AXStyleColorType, AXStyleLookType, AXStyleSizeType, AXSurfaceType, DisabledCallback, MXComponentOptionChanged, MXComponentOptionChanging, MXComponentSetOption, NormalizedItem };
|
|
1161
|
+
export type { AXAnimationEasing, AXComponentState, AXConnectedPosition, AXDataListFetchCallbackResult, AXDataListFetchDataCallback, AXDataListItems, AXDataListQuery, AXDataSourceByKeyCallback, AXDataSourceCallbackResult, AXDataSourceChangedEvent, AXDataSourceConfig, AXDataSourceFilterOption, AXDataSourceItemExpandedEvent, AXDataSourceLoadCallback, AXDataSourceOperator, AXDataSourceQuery, AXDataSourceSortOption, AXDirection, AXExpandToggleIcons, AXFilterLogic, AXFormValidationRule, AXHotKeyAction, AXLocation, AXOrientation, AXPagedComponentInterface, AXPlacement, AXPlacementType, AXRange, AXScrollPosition, AXSelectionMode, AXSizeType, AXSortOrder, AXStyleColorClassType, AXStyleColorType, AXStyleInteractiveLookClassType, AXStyleLookClassType, AXStyleLookType, AXStyleSizeType, AXSurfaceType, DisabledCallback, MXComponentOptionChanged, MXComponentOptionChanging, MXComponentSetOption, NormalizedItem };
|
|
@@ -10,6 +10,8 @@ declare class AXDrawerItemDirective implements OnDestroy {
|
|
|
10
10
|
private htmlElem;
|
|
11
11
|
private parent;
|
|
12
12
|
private platformID;
|
|
13
|
+
private zIndexService;
|
|
14
|
+
private zToken;
|
|
13
15
|
private collapseState;
|
|
14
16
|
private resizeObserver;
|
|
15
17
|
collapseStateChanged: _angular_core.OutputEmitterRef<boolean>;
|
|
@@ -11,7 +11,7 @@ declare class AXFocusTrapDirective implements OnDestroy {
|
|
|
11
11
|
private observer;
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
private setFocusableElements;
|
|
14
|
-
|
|
14
|
+
handleKeyboardEvent(event: KeyboardEvent): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXFocusTrapDirective, never>;
|
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXFocusTrapDirective, "[axFocusTrap]", never, {}, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -26,8 +26,13 @@ declare class AXFullScreenDirective {
|
|
|
26
26
|
* Fullscreen change event
|
|
27
27
|
*/
|
|
28
28
|
readonly fullscreenChange: i0.OutputEmitterRef<boolean>;
|
|
29
|
+
/**
|
|
30
|
+
* Z-index token for this fullscreen instance
|
|
31
|
+
*/
|
|
32
|
+
private zToken;
|
|
29
33
|
private readonly renderer;
|
|
30
34
|
private readonly elementRef;
|
|
35
|
+
private readonly zIndexService;
|
|
31
36
|
constructor();
|
|
32
37
|
/**
|
|
33
38
|
* Toggle fullscreen state
|
|
@@ -11,7 +11,22 @@ type AXInputMaskEvent = {
|
|
|
11
11
|
/**
|
|
12
12
|
* Available input mask modes for different data types.
|
|
13
13
|
*/
|
|
14
|
-
type AXInputMaskModes = 'hijriDate' | 'digits' | 'thousandsSeparator' | 'decimal';
|
|
14
|
+
type AXInputMaskModes = 'hijriDate' | 'digits' | 'thousandsSeparator' | 'decimal' | 'mask';
|
|
15
|
+
/**
|
|
16
|
+
* Token definitions for custom mask patterns.
|
|
17
|
+
* - `#`: Digit (0-9)
|
|
18
|
+
* - `^`: Letter (a-z, A-Z)
|
|
19
|
+
* - `@`: Alphanumeric (0-9, a-z, A-Z)
|
|
20
|
+
*/
|
|
21
|
+
type AXMaskTokens = {
|
|
22
|
+
[key: string]: {
|
|
23
|
+
pattern: RegExp;
|
|
24
|
+
optional?: boolean;
|
|
25
|
+
transform?: (char: string) => string;
|
|
26
|
+
repeated?: boolean;
|
|
27
|
+
multiple?: boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
15
30
|
/**
|
|
16
31
|
* Directive that provides input masking functionality for various data types including
|
|
17
32
|
* Hijri dates, digits, decimal numbers, and thousands-separated numbers.
|
|
@@ -55,14 +70,35 @@ declare class AXInputMaskDirective {
|
|
|
55
70
|
* @default 0
|
|
56
71
|
*/
|
|
57
72
|
decimal: _angular_core.InputSignal<number>;
|
|
73
|
+
/**
|
|
74
|
+
* Custom mask pattern for 'mask' mode.
|
|
75
|
+
* Use the following tokens:
|
|
76
|
+
* - `#`: Required digit (0-9)
|
|
77
|
+
* - `^`: Required letter (a-z, A-Z)
|
|
78
|
+
* - `@`: Required alphanumeric (0-9, a-z, A-Z)
|
|
79
|
+
*
|
|
80
|
+
* Use ! before token to escape symbol. For example !# will render # instead of a digit.
|
|
81
|
+
* Any other character is treated as a literal separator.
|
|
82
|
+
* @example '(###) ###-####' for phone numbers
|
|
83
|
+
* @example 'AA-####' for license plates
|
|
84
|
+
* @example '##/##/####' for dates
|
|
85
|
+
*/
|
|
86
|
+
maskPattern: _angular_core.InputSignal<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Custom token definitions to extend or override default mask tokens.
|
|
89
|
+
* Each token maps to a pattern regex and optional transformation.
|
|
90
|
+
* @example { 'P': { pattern: /[1-9]/, transform: (c) => c.toUpperCase() } }
|
|
91
|
+
*/
|
|
92
|
+
customTokens: _angular_core.InputSignal<AXMaskTokens>;
|
|
58
93
|
private initializeMask;
|
|
59
94
|
private thousandsSeparatorHandler;
|
|
60
95
|
private hijriMaskHandler;
|
|
61
96
|
private rangeValueLimit;
|
|
97
|
+
private convertToEnglishDigits;
|
|
62
98
|
private decimalMaskHandler;
|
|
63
99
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXInputMaskDirective, never>;
|
|
64
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXInputMaskDirective, "[axInputMask]", ["axInputMask"], { "maskMode": { "alias": "maskMode"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "eager": { "alias": "eager"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "decimal": { "alias": "decimal"; "required": false; "isSignal": true; }; }, { "onMaskChanged": "onMaskChanged"; }, never, never, true, never>;
|
|
100
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXInputMaskDirective, "[axInputMask]", ["axInputMask"], { "maskMode": { "alias": "maskMode"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; "eager": { "alias": "eager"; "required": false; "isSignal": true; }; "minValue": { "alias": "minValue"; "required": false; "isSignal": true; }; "maxValue": { "alias": "maxValue"; "required": false; "isSignal": true; }; "decimal": { "alias": "decimal"; "required": false; "isSignal": true; }; "maskPattern": { "alias": "maskPattern"; "required": false; "isSignal": true; }; "customTokens": { "alias": "customTokens"; "required": false; "isSignal": true; }; }, { "onMaskChanged": "onMaskChanged"; }, never, never, true, never>;
|
|
65
101
|
}
|
|
66
102
|
|
|
67
103
|
export { AXInputMaskDirective };
|
|
68
|
-
export type { AXInputMaskEvent, AXInputMaskModes };
|
|
104
|
+
export type { AXInputMaskEvent, AXInputMaskModes, AXMaskTokens };
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { AXComponentOptions, AXComponentContent } from '@acorex/core/components';
|
|
2
|
+
import { AXPlacementType, AXPlacement, AXConnectedPosition } from '@acorex/cdk/common';
|
|
3
|
+
import { AXZToken } from '@acorex/core/z-index';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { ElementRef, EmbeddedViewRef, ComponentRef } from '@angular/core';
|
|
6
|
+
|
|
7
|
+
interface AXOverlayRef<T> {
|
|
8
|
+
instance: EmbeddedViewRef<T> | ComponentRef<T>;
|
|
9
|
+
/** Updates the overlay position relative to the anchor */
|
|
10
|
+
updatePosition: () => void;
|
|
11
|
+
/** Destroys the overlay and removes it from the DOM */
|
|
12
|
+
dispose: () => void;
|
|
13
|
+
/** The overlay container element */
|
|
14
|
+
overlayElement: HTMLElement | null;
|
|
15
|
+
/** The z-index token for this overlay */
|
|
16
|
+
zToken: AXZToken | null;
|
|
17
|
+
/** Brings this overlay to the front of all other overlays */
|
|
18
|
+
bringToFront: () => void;
|
|
19
|
+
}
|
|
20
|
+
interface AXOverlayAnchorOptions {
|
|
21
|
+
/** The anchor element to position relative to */
|
|
22
|
+
anchor: HTMLElement | ElementRef<HTMLElement>;
|
|
23
|
+
/** Placement of the overlay relative to the anchor */
|
|
24
|
+
placement?: AXPlacementType;
|
|
25
|
+
/** Horizontal offset in pixels */
|
|
26
|
+
offsetX?: number;
|
|
27
|
+
/** Vertical offset in pixels */
|
|
28
|
+
offsetY?: number;
|
|
29
|
+
/** Whether to flip the overlay when it overflows the viewport */
|
|
30
|
+
autoFlip?: boolean;
|
|
31
|
+
}
|
|
32
|
+
interface AXOverlayOptions extends AXComponentOptions {
|
|
33
|
+
backdrop?: {
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
background?: boolean;
|
|
36
|
+
backdropClass?: string;
|
|
37
|
+
closeOnClick?: boolean;
|
|
38
|
+
};
|
|
39
|
+
position?: AXPlacement;
|
|
40
|
+
/** Anchor-based positioning options for tooltips, popovers, etc. */
|
|
41
|
+
anchorOptions?: AXOverlayAnchorOptions;
|
|
42
|
+
/** Custom CSS class for the overlay panel */
|
|
43
|
+
panelClass?: string | string[];
|
|
44
|
+
/** Whether to close when clicking outside */
|
|
45
|
+
closeOnOutsideClick?: boolean;
|
|
46
|
+
/** Whether to close when pressing Escape */
|
|
47
|
+
closeOnEscape?: boolean;
|
|
48
|
+
/** Width of the overlay container (e.g., 'auto', '200px', '100%') */
|
|
49
|
+
width?: string;
|
|
50
|
+
/** Callback when the overlay is disposed (e.g., due to scroll) */
|
|
51
|
+
onDispose?: () => void;
|
|
52
|
+
/** Whether to use centered container (default: true). Set to false for positioned overlays like toasts */
|
|
53
|
+
centered?: boolean;
|
|
54
|
+
actionSheetStyle?: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Calculates the position of an overlay element relative to an anchor element.
|
|
58
|
+
*/
|
|
59
|
+
declare function calculateAnchorPosition(anchorRect: DOMRect, overlayRect: DOMRect, position: AXConnectedPosition): {
|
|
60
|
+
top: number;
|
|
61
|
+
left: number;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Checks if the overlay position fits within the viewport.
|
|
65
|
+
*/
|
|
66
|
+
declare function fitsInViewport(position: {
|
|
67
|
+
top: number;
|
|
68
|
+
left: number;
|
|
69
|
+
}, overlayRect: DOMRect, viewportWidth: number, viewportHeight: number): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Clamps a position to ensure the overlay stays within viewport bounds.
|
|
72
|
+
*/
|
|
73
|
+
declare function clampToViewport(coords: {
|
|
74
|
+
top: number;
|
|
75
|
+
left: number;
|
|
76
|
+
}, overlayRect: DOMRect, viewportWidth: number, viewportHeight: number, margin?: number): {
|
|
77
|
+
top: number;
|
|
78
|
+
left: number;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Finds the best position for an overlay that fits in the viewport.
|
|
82
|
+
*/
|
|
83
|
+
declare function findBestPosition(anchorRect: DOMRect, overlayRect: DOMRect, positions: AXConnectedPosition[], viewportWidth: number, viewportHeight: number): {
|
|
84
|
+
position: AXConnectedPosition;
|
|
85
|
+
coords: {
|
|
86
|
+
top: number;
|
|
87
|
+
left: number;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
declare class AXOverlayService {
|
|
92
|
+
private componentService;
|
|
93
|
+
private document;
|
|
94
|
+
private zIndexService;
|
|
95
|
+
private _platform;
|
|
96
|
+
/**
|
|
97
|
+
* Creates an overlay with optional anchor-based positioning.
|
|
98
|
+
* @param content - Component or template to display
|
|
99
|
+
* @param options - Configuration options for the overlay
|
|
100
|
+
* @returns Promise<AXOverlayRef> - Reference to the created overlay
|
|
101
|
+
*/
|
|
102
|
+
create<T = unknown>(content: AXComponentContent<T>, options?: AXOverlayOptions): Promise<AXOverlayRef<T>>;
|
|
103
|
+
/**
|
|
104
|
+
* Creates a backdrop element.
|
|
105
|
+
*/
|
|
106
|
+
private createBackdrop;
|
|
107
|
+
/**
|
|
108
|
+
* Creates a centered overlay container (for modals/popups).
|
|
109
|
+
*/
|
|
110
|
+
private createCenteredOverlayContainer;
|
|
111
|
+
/**
|
|
112
|
+
* Gets the host element from a ComponentRef or EmbeddedViewRef.
|
|
113
|
+
*/
|
|
114
|
+
private getHostElement;
|
|
115
|
+
/**
|
|
116
|
+
* Creates an overlay container element and appends the content to it.
|
|
117
|
+
*/
|
|
118
|
+
private createOverlayContainer;
|
|
119
|
+
/**
|
|
120
|
+
* Positions the overlay container relative to the anchor element.
|
|
121
|
+
*/
|
|
122
|
+
private positionOverlay;
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXOverlayService, never>;
|
|
124
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXOverlayService>;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export { AXOverlayService, calculateAnchorPosition, clampToViewport, findBestPosition, fitsInViewport };
|
|
128
|
+
export type { AXOverlayAnchorOptions, AXOverlayOptions, AXOverlayRef };
|
|
@@ -2,30 +2,37 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
declare class AXStickyDirective implements AfterViewInit, OnDestroy {
|
|
5
|
+
stickyClass: string;
|
|
6
|
+
stickyOffset: number;
|
|
7
|
+
stickyParent: string | HTMLElement;
|
|
8
|
+
stickyTarget: string;
|
|
9
|
+
isStickyChange: EventEmitter<boolean>;
|
|
5
10
|
private element;
|
|
6
11
|
private renderer;
|
|
7
12
|
private zone;
|
|
8
13
|
private cdr;
|
|
9
|
-
stickyClass: string;
|
|
10
|
-
stickyOffset: number;
|
|
11
|
-
isStickyChange: EventEmitter<boolean>;
|
|
12
|
-
private _isSticky;
|
|
13
|
-
get isSticky(): boolean;
|
|
14
|
-
set isSticky(value: boolean);
|
|
15
|
-
private topOffset;
|
|
16
14
|
private parentElement;
|
|
17
15
|
private targetElement;
|
|
18
16
|
private mutationObserver;
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
private _isSticky;
|
|
18
|
+
get isSticky(): boolean;
|
|
19
|
+
set isSticky(value: boolean);
|
|
20
|
+
private readonly onWindowResize;
|
|
21
21
|
ngAfterViewInit(): void;
|
|
22
22
|
private initSticky;
|
|
23
|
-
private
|
|
23
|
+
private getScrollTop;
|
|
24
|
+
/**
|
|
25
|
+
* Toggle stuck styling only while this element is visually pinned (matches `position: sticky; top: 0`).
|
|
26
|
+
* Scroll-offset thresholds would stay true for every section already passed, so multiple stacked stickies
|
|
27
|
+
* would all keep `--stuck`; geometry fixes that.
|
|
28
|
+
*/
|
|
29
|
+
private computeShouldStick;
|
|
30
|
+
private applyStickyStateFromScrollPosition;
|
|
24
31
|
private onParentScroll;
|
|
25
32
|
private toggleStickyClasses;
|
|
26
33
|
ngOnDestroy(): void;
|
|
27
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXStickyDirective, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXStickyDirective, "[axSticky]", ["axpSticky"], { "stickyClass": { "alias": "
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXStickyDirective, "[axSticky]", ["axpSticky"], { "stickyClass": { "alias": "axpSticky"; "required": false; }; "stickyOffset": { "alias": "stickyOffset"; "required": false; }; "stickyParent": { "alias": "stickyParent"; "required": false; }; "stickyTarget": { "alias": "stickyTarget"; "required": false; }; }, { "isStickyChange": "isStickyChange"; }, never, never, true, never>;
|
|
29
36
|
}
|
|
30
37
|
|
|
31
38
|
export { AXStickyDirective };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class AXZindexDirective implements OnDestroy {
|
|
5
|
+
#private;
|
|
6
|
+
private el;
|
|
7
|
+
private z;
|
|
8
|
+
private token;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXZindexDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXZindexDirective, "[axZindex]", ["axZindex"], {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { AXZindexDirective };
|
package/carousel/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { Swiper, SwiperOptions } from 'swiper/types';
|
|
3
|
-
|
|
4
|
-
type AXCarousel = Swiper;
|
|
5
|
-
type AXCarouselOptions = SwiperOptions;
|
|
6
|
-
declare class AXCarouselDirective {
|
|
7
|
-
#private;
|
|
8
|
-
carousel: _angular_core.WritableSignal<Swiper>;
|
|
9
|
-
carouselOptions: _angular_core.InputSignal<SwiperOptions>;
|
|
10
|
-
private el;
|
|
11
|
-
private platformId;
|
|
12
|
-
private init;
|
|
13
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCarouselDirective, never>;
|
|
14
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXCarouselDirective, "[axCarousel]", ["axCarousel"], { "carouselOptions": { "alias": "carouselOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { AXCarouselDirective };
|
|
18
|
-
export type { AXCarousel, AXCarouselOptions };
|
package/overlay/index.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AXComponentOptions, AXComponentContent } from '@acorex/core/components';
|
|
2
|
-
import { AXPlacement } from '@acorex/cdk/common';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { EmbeddedViewRef, ComponentRef } from '@angular/core';
|
|
5
|
-
|
|
6
|
-
interface AXOverlayRef<T> {
|
|
7
|
-
instance: EmbeddedViewRef<T> | ComponentRef<T>;
|
|
8
|
-
}
|
|
9
|
-
interface AXOverlayOptions extends AXComponentOptions {
|
|
10
|
-
backdrop?: {
|
|
11
|
-
enabled?: boolean;
|
|
12
|
-
background?: boolean;
|
|
13
|
-
backdropClass?: string;
|
|
14
|
-
closeOnClick?: boolean;
|
|
15
|
-
};
|
|
16
|
-
position?: AXPlacement;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
declare class AXOverlayService {
|
|
20
|
-
private componentService;
|
|
21
|
-
create<T = any>(content: AXComponentContent<T>, options?: AXOverlayOptions): Promise<AXOverlayRef<T>>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXOverlayService, never>;
|
|
23
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AXOverlayService>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export { AXOverlayService };
|
|
27
|
-
export type { AXOverlayOptions, AXOverlayRef };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|