@acorex/cdk 19.1.0-next.2 → 19.2.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/carousel/README.md +3 -0
- package/carousel/carousel.directive.d.ts +16 -0
- package/carousel/index.d.ts +1 -0
- package/fesm2022/acorex-cdk-carousel.mjs +66 -0
- package/fesm2022/acorex-cdk-carousel.mjs.map +1 -0
- package/fesm2022/acorex-cdk-wysiwyg.mjs.map +1 -1
- package/package.json +7 -2
- package/wysiwyg/wysiwyg.class.d.ts +7 -3
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import 'swiper/css/bundle';
|
|
3
|
+
import type { Swiper, SwiperOptions } from 'swiper/types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type AXCarousel = Swiper;
|
|
6
|
+
export type AXCarouselOptions = SwiperOptions;
|
|
7
|
+
export declare class AXCarouselDirective {
|
|
8
|
+
#private;
|
|
9
|
+
private el;
|
|
10
|
+
carousel: AXCarousel;
|
|
11
|
+
carouselOption: import("@angular/core").InputSignal<SwiperOptions>;
|
|
12
|
+
constructor(el: ElementRef);
|
|
13
|
+
init(container: HTMLElement | string, option?: AXCarouselOptions): Promise<void>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXCarouselDirective, "[axCarousel]", never, { "carouselOption": { "alias": "carouselOption"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './carousel.directive';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, afterNextRender, Directive } from '@angular/core';
|
|
3
|
+
import 'swiper/css/bundle';
|
|
4
|
+
|
|
5
|
+
class AXCarouselDirective {
|
|
6
|
+
constructor(el) {
|
|
7
|
+
this.el = el;
|
|
8
|
+
this.carouselOption = input();
|
|
9
|
+
this.#init = afterNextRender(async () => {
|
|
10
|
+
const parentElem = this.el.nativeElement;
|
|
11
|
+
parentElem.querySelector('.ax-carousel-wrapper').classList.add('swiper-wrapper');
|
|
12
|
+
parentElem.querySelector('.ax-carousel-pagination').classList.add('swiper-pagination');
|
|
13
|
+
parentElem.querySelector('.ax-carousel-scrollbar').classList.add('swiper-scrollbar');
|
|
14
|
+
parentElem.querySelector('.ax-carousel-button-prev').classList.add('swiper-button-prev');
|
|
15
|
+
parentElem.querySelector('.ax-carousel-button-next').classList.add('swiper-button-next');
|
|
16
|
+
await this.init(this.el.nativeElement, this.carouselOption());
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
#init;
|
|
20
|
+
async init(container, option) {
|
|
21
|
+
const { A11y, Autoplay, Controller, EffectCoverflow, EffectCube, EffectFade, EffectFlip, EffectCreative, EffectCards, HashNavigation, History, Keyboard, Mousewheel, Navigation, Pagination, Parallax, Scrollbar, Thumbs, Virtual, Zoom, FreeMode, Grid, Manipulation, } = await import('swiper/modules');
|
|
22
|
+
this.carousel = new (await import('swiper')).Swiper(container, {
|
|
23
|
+
...option,
|
|
24
|
+
modules: [
|
|
25
|
+
A11y,
|
|
26
|
+
Autoplay,
|
|
27
|
+
Controller,
|
|
28
|
+
EffectCoverflow,
|
|
29
|
+
EffectCube,
|
|
30
|
+
EffectFade,
|
|
31
|
+
EffectFlip,
|
|
32
|
+
EffectCreative,
|
|
33
|
+
EffectCards,
|
|
34
|
+
HashNavigation,
|
|
35
|
+
History,
|
|
36
|
+
Keyboard,
|
|
37
|
+
Mousewheel,
|
|
38
|
+
Navigation,
|
|
39
|
+
Pagination,
|
|
40
|
+
Parallax,
|
|
41
|
+
Scrollbar,
|
|
42
|
+
Thumbs,
|
|
43
|
+
Virtual,
|
|
44
|
+
Zoom,
|
|
45
|
+
FreeMode,
|
|
46
|
+
Grid,
|
|
47
|
+
Manipulation,
|
|
48
|
+
],
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCarouselDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
52
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.0.3", type: AXCarouselDirective, isStandalone: true, selector: "[axCarousel]", inputs: { carouselOption: { classPropertyName: "carouselOption", publicName: "carouselOption", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
53
|
+
}
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXCarouselDirective, decorators: [{
|
|
55
|
+
type: Directive,
|
|
56
|
+
args: [{
|
|
57
|
+
selector: '[axCarousel]',
|
|
58
|
+
}]
|
|
59
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Generated bundle index. Do not edit.
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
export { AXCarouselDirective };
|
|
66
|
+
//# sourceMappingURL=acorex-cdk-carousel.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-cdk-carousel.mjs","sources":["../../../../libs/cdk/carousel/src/carousel.directive.ts","../../../../libs/cdk/carousel/src/acorex-cdk-carousel.ts"],"sourcesContent":["import { afterNextRender, Directive, ElementRef, input } from '@angular/core';\nimport 'swiper/css/bundle';\nimport type { Swiper, SwiperOptions } from 'swiper/types';\n\nexport type AXCarousel = Swiper;\nexport type AXCarouselOptions = SwiperOptions;\n\n@Directive({\n selector: '[axCarousel]',\n})\nexport class AXCarouselDirective {\n carousel: AXCarousel;\n carouselOption = input<AXCarouselOptions>();\n\n constructor(private el: ElementRef) {}\n\n #init = afterNextRender(async () => {\n const parentElem = this.el.nativeElement as HTMLElement;\n parentElem.querySelector('.ax-carousel-wrapper').classList.add('swiper-wrapper');\n parentElem.querySelector('.ax-carousel-pagination').classList.add('swiper-pagination');\n parentElem.querySelector('.ax-carousel-scrollbar').classList.add('swiper-scrollbar');\n parentElem.querySelector('.ax-carousel-button-prev').classList.add('swiper-button-prev');\n parentElem.querySelector('.ax-carousel-button-next').classList.add('swiper-button-next');\n await this.init(this.el.nativeElement, this.carouselOption());\n });\n\n async init(container: HTMLElement | string, option?: AXCarouselOptions) {\n const {\n A11y,\n Autoplay,\n Controller,\n EffectCoverflow,\n EffectCube,\n EffectFade,\n EffectFlip,\n EffectCreative,\n EffectCards,\n HashNavigation,\n History,\n Keyboard,\n Mousewheel,\n Navigation,\n Pagination,\n Parallax,\n Scrollbar,\n Thumbs,\n Virtual,\n Zoom,\n FreeMode,\n Grid,\n Manipulation,\n } = await import('swiper/modules');\n\n this.carousel = new (await import('swiper')).Swiper(container, {\n ...option,\n modules: [\n A11y,\n Autoplay,\n Controller,\n EffectCoverflow,\n EffectCube,\n EffectFade,\n EffectFlip,\n EffectCreative,\n EffectCards,\n HashNavigation,\n History,\n Keyboard,\n Mousewheel,\n Navigation,\n Pagination,\n Parallax,\n Scrollbar,\n Thumbs,\n Virtual,\n Zoom,\n FreeMode,\n Grid,\n Manipulation,\n ],\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAUa,mBAAmB,CAAA;AAI9B,IAAA,WAAA,CAAoB,EAAc,EAAA;QAAd,IAAE,CAAA,EAAA,GAAF,EAAE;QAFtB,IAAc,CAAA,cAAA,GAAG,KAAK,EAAqB;AAI3C,QAAA,IAAA,CAAA,KAAK,GAAG,eAAe,CAAC,YAAW;AACjC,YAAA,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,CAAC,aAA4B;AACvD,YAAA,UAAU,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC,SAAS,CAAC,GAAG,C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U;gBACV,UAAU;gBACV,QAAQ;gBACR,SAAS;gBACT,MAAM;gBACN,OAAO;gBACP,IAAI;gBACJ,QAAQ;gBACR,IAAI;gBACJ,YAAY;AACb,aAAA;AACF,SAAA,CAAC;;8GAtEO,mBAAmB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,cAAA,EAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAH/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,cAAc;AACzB,iBAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-cdk-wysiwyg.mjs","sources":["../../../../libs/cdk/wysiwyg/src/wysiwyg.class.ts","../../../../libs/cdk/wysiwyg/src/acorex-cdk-wysiwyg.ts"],"sourcesContent":["import { signal } from '@angular/core';\r\n\r\nexport class AXWysiwyg {\r\n quillObj = signal(null);\r\n\r\n async init(container: HTMLElement | string, option?:
|
|
1
|
+
{"version":3,"file":"acorex-cdk-wysiwyg.mjs","sources":["../../../../libs/cdk/wysiwyg/src/wysiwyg.class.ts","../../../../libs/cdk/wysiwyg/src/acorex-cdk-wysiwyg.ts"],"sourcesContent":["import { signal } from '@angular/core';\r\nimport type Quill from 'quill/quill.d.ts';\r\nimport type { QuillOptions } from 'quill/quill.d.ts';\r\n\r\nexport type Wysiwyg = Quill;\r\nexport type WysiwygOptions = QuillOptions;\r\n\r\nexport class AXWysiwyg {\r\n quillObj = signal<Wysiwyg | null>(null);\r\n\r\n async init(container: HTMLElement | string, option?: WysiwygOptions) {\r\n await import('quill').then((e) => {\r\n const wysiwygObject = new e.default(container, option);\r\n this.quillObj.set(wysiwygObject);\r\n });\r\n }\r\n\r\n bold(value: boolean) {\r\n this.quillObj().format('bold', value);\r\n }\r\n\r\n italic(value: boolean) {\r\n this.quillObj().format('italic', value);\r\n }\r\n\r\n underLine(value: boolean) {\r\n this.quillObj().format('underline', value);\r\n }\r\n\r\n strike(value: boolean) {\r\n this.quillObj().format('strike', value);\r\n }\r\n\r\n color(value: string) {\r\n this.quillObj().format('color', value);\r\n }\r\n\r\n header(value: number) {\r\n this.quillObj().format('header', value);\r\n }\r\n\r\n list(value: 'ordered' | 'bullet' | '') {\r\n this.quillObj().format('list', value);\r\n }\r\n\r\n align(value: 'center' | 'right' | 'left' | 'justify') {\r\n if (value === 'left') {\r\n this.quillObj().format('align', '');\r\n } else {\r\n this.quillObj().format('align', value);\r\n }\r\n }\r\n\r\n direction(value: 'rtl' | 'ltr') {\r\n this.quillObj().format('direction', value);\r\n }\r\n\r\n fontSize(value: 'small' | false | 'large' | 'huge', range) {\r\n this.quillObj().formatText(range.index, range.length, 'size', value);\r\n }\r\n\r\n get HTMLoutput() {\r\n return this.quillObj().root.innerHTML;\r\n }\r\n\r\n undo() {\r\n this.quillObj().history.undo();\r\n }\r\n\r\n redo() {\r\n this.quillObj().history.redo();\r\n }\r\n\r\n background(value: string) {\r\n this.quillObj().format('background', value);\r\n }\r\n\r\n addImage(value: string) {\r\n const range = this.quillObj().getSelection();\r\n const currentIndex = range?.index;\r\n this.quillObj().insertEmbed(currentIndex, 'image', value);\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;MAOa,SAAS,CAAA;AAAtB,IAAA,WAAA,GAAA;AACE,QA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@angular/common": ">=19.0.0",
|
|
6
6
|
"@angular/core": ">=19.0.0",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"qrcode": ">=1.5.4",
|
|
10
10
|
"leaflet": ">=1.9.4",
|
|
11
11
|
"leaflet-draw": ">=1.0.4",
|
|
12
|
-
"leaflet.locatecontrol": ">=0.81.1"
|
|
12
|
+
"leaflet.locatecontrol": ">=0.81.1",
|
|
13
|
+
"swiper": ">=11.1.15"
|
|
13
14
|
},
|
|
14
15
|
"sideEffects": false,
|
|
15
16
|
"module": "fesm2022/acorex-cdk.mjs",
|
|
@@ -22,6 +23,10 @@
|
|
|
22
23
|
"types": "./index.d.ts",
|
|
23
24
|
"default": "./fesm2022/acorex-cdk.mjs"
|
|
24
25
|
},
|
|
26
|
+
"./carousel": {
|
|
27
|
+
"types": "./carousel/index.d.ts",
|
|
28
|
+
"default": "./fesm2022/acorex-cdk-carousel.mjs"
|
|
29
|
+
},
|
|
25
30
|
"./qrcode": {
|
|
26
31
|
"types": "./qrcode/index.d.ts",
|
|
27
32
|
"default": "./fesm2022/acorex-cdk-qrcode.mjs"
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import type Quill from 'quill/quill.d.ts';
|
|
2
|
+
import type { QuillOptions } from 'quill/quill.d.ts';
|
|
3
|
+
export type Wysiwyg = Quill;
|
|
4
|
+
export type WysiwygOptions = QuillOptions;
|
|
1
5
|
export declare class AXWysiwyg {
|
|
2
|
-
quillObj: import("@angular/core").WritableSignal<
|
|
3
|
-
init(container: HTMLElement | string, option?:
|
|
6
|
+
quillObj: import("@angular/core").WritableSignal<Quill>;
|
|
7
|
+
init(container: HTMLElement | string, option?: WysiwygOptions): Promise<void>;
|
|
4
8
|
bold(value: boolean): void;
|
|
5
9
|
italic(value: boolean): void;
|
|
6
10
|
underLine(value: boolean): void;
|
|
@@ -11,7 +15,7 @@ export declare class AXWysiwyg {
|
|
|
11
15
|
align(value: 'center' | 'right' | 'left' | 'justify'): void;
|
|
12
16
|
direction(value: 'rtl' | 'ltr'): void;
|
|
13
17
|
fontSize(value: 'small' | false | 'large' | 'huge', range: any): void;
|
|
14
|
-
get HTMLoutput():
|
|
18
|
+
get HTMLoutput(): string;
|
|
15
19
|
undo(): void;
|
|
16
20
|
redo(): void;
|
|
17
21
|
background(value: string): void;
|