@acorex/components 18.11.0 → 18.11.1
Sign up to get free protection for your applications and to get access to all the features.
- package/action-sheet/lib/action-sheet.class.d.ts +8 -0
- package/common/index.d.ts +1 -0
- package/common/lib/types/base/component.types.d.ts +8 -0
- package/common/lib/types/base/events.types.d.ts +21 -0
- package/common/lib/types/base/index.d.ts +2 -0
- package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +3 -3
- package/esm2022/common/index.mjs +2 -1
- package/esm2022/common/lib/components/base-component.class.mjs +1 -1
- package/esm2022/common/lib/types/base/component.types.mjs +27 -0
- package/esm2022/common/lib/types/base/events.types.mjs +19 -0
- package/esm2022/common/lib/types/base/index.mjs +3 -0
- package/esm2022/menu/lib/context-menu.component.mjs +101 -50
- package/esm2022/menu/lib/menu-item.component.mjs +23 -24
- package/esm2022/menu/lib/menu.component.mjs +6 -6
- package/esm2022/menu/lib/menu.types.mjs +3 -11
- package/fesm2022/acorex-components-action-sheet.mjs +2 -2
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +47 -3
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +128 -86
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/menu/lib/context-menu.component.d.ts +27 -16
- package/menu/lib/menu-item.component.d.ts +6 -6
- package/menu/lib/menu.component.d.ts +5 -4
- package/menu/lib/menu.types.d.ts +9 -14
- package/package.json +29 -29
@@ -8,6 +8,14 @@ export interface AXActionSheetItem {
|
|
8
8
|
disabled?: boolean;
|
9
9
|
color?: AXStyleColorType;
|
10
10
|
onClick?: () => void;
|
11
|
+
suffix?: {
|
12
|
+
text: string;
|
13
|
+
};
|
14
|
+
break?: boolean;
|
15
|
+
group?: {
|
16
|
+
name?: string;
|
17
|
+
title?: string;
|
18
|
+
};
|
11
19
|
}
|
12
20
|
export type AXActionSheetContentType = TemplateRef<unknown> | ComponentType<unknown>;
|
13
21
|
export interface AXActionSheetConfig {
|
package/common/index.d.ts
CHANGED
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare abstract class NXComponent {
|
3
|
+
#private;
|
4
|
+
protected isRendered: import("@angular/core").Signal<boolean>;
|
5
|
+
get nativeElement(): HTMLElement;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NXComponent, never>;
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NXComponent>;
|
8
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { NXComponent } from "./component.types";
|
2
|
+
/**
|
3
|
+
* Base event class
|
4
|
+
* @category Events
|
5
|
+
*/
|
6
|
+
export declare class NXEvent<T extends NXComponent = NXComponent> {
|
7
|
+
sender: T;
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Contains native event
|
11
|
+
* @category Events
|
12
|
+
*/
|
13
|
+
export declare class NXNativeEvent<T extends NXComponent = NXComponent, E extends Event = Event> extends NXEvent<T> {
|
14
|
+
nativeEvent: E;
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* Fires each time the user click the element.
|
18
|
+
* @category Events
|
19
|
+
*/
|
20
|
+
export declare class NXClickEvent<T extends NXComponent = NXComponent> extends NXNativeEvent<T, MouseEvent> {
|
21
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2FjdGlvbi1zaGVldC9zcmMvbGliL2FjdGlvbi1zaGVldC5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQVhTdHlsZUNvbG9yVHlwZSB9IG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cGU7XG4gIG9uQ2xpY2s/OiAoKSA9PiB2b2lkO1xuICBzdWZmaXg/OiB7XG4gICAgdGV4dDogc3RyaW5nO1xuICB9O1xuICBicmVhaz86IGJvb2xlYW47XG4gIGdyb3VwPzoge1xuICAgIG5hbWU/OiBzdHJpbmc7XG4gICAgdGl0bGU/OiBzdHJpbmc7XG4gIH07XG59XG5cbmV4cG9ydCB0eXBlIEFYQWN0aW9uU2hlZXRDb250ZW50VHlwZSA9IFRlbXBsYXRlUmVmPHVua25vd24+IHwgQ29tcG9uZW50VHlwZTx1bmtub3duPjtcblxuZXhwb3J0IGludGVyZmFjZSBBWEFjdGlvblNoZWV0Q29uZmlnIHtcbiAgdGl0bGU/OiBzdHJpbmc7XG4gIHN1YlRpdGxlPzogc3RyaW5nO1xuICBjbG9zZUJ1dHRvbj86IGJvb2xlYW47XG4gIGhlYWRlcj86IGJvb2xlYW47XG4gIGRhdGE/OiB1bmtub3duO1xuICBjbG9zZU9uQmFja2Ryb3BDbGljaz86IGJvb2xlYW47XG4gIGl0ZW1zPzogQVhBY3Rpb25TaGVldEl0ZW1bXTtcbiAgY29udGVudD86IEFYQWN0aW9uU2hlZXRDb250ZW50VHlwZTtcbn1cbiJdfQ==
|
@@ -85,7 +85,7 @@ export class AXActionSheetComponent extends MXBaseComponent {
|
|
85
85
|
provide: AXFocusableComponent,
|
86
86
|
useExisting: AXActionSheetComponent,
|
87
87
|
},
|
88
|
-
], usesInheritance: true, ngImport: i0, template: "@if (data.header) {\n<ax-header>\n
|
88
|
+
], usesInheritance: true, ngImport: i0, template: "@if (data.header) {\n <ax-header>\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n </ax-header>\n}\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n<div class=\"ax-action-list ax-action-list-vertical\">\n @for (item of data.items; let i = $index; track i) {\n @if (item.group?.title) {\n <ax-title>{{ item.group?.title }}</ax-title>\n }\n <div\n class=\"ax-action-item ax-el-interactive ax-el-{{ item.color }}-blank\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n <div class=\"ax-action-item-prefix\">\n @if (item.icon) {\n <span class=\"ax-item-icon\" [class]=\"item.icon\"></span>\n }\n <ax-text>{{ item.text | translate | async }}</ax-text>\n </div>\n <div class=\"ax-action-item-suffix\"></div>\n </div>\n @if (item.break) {\n <ax-divider></ax-divider>\n }\n }\n</div>\n<!-- <div\n class=\"ax-action-item ax-{{ item.color }}\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n @if (item.icon) {\n <span class=\"item-icon\" [class]=\"item.icon\"></span>\n }\n <span class=\"item-text\">{{ item.text | translate | async }}</span>\n </div> -->\n", styles: ["ax-action-sheet{display:block;width:100vw}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-prefix ax-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}ax-action-sheet ax-header ax-suffix{align-items:flex-end;max-width:fit-content}ax-action-sheet .ax-action-list ax-title{font-size:.875rem}ax-action-sheet .ax-action-list .ax-action-item{height:3.5rem!important;font-size:1rem!important}ax-action-sheet .ax-action-list .ax-action-item .ax-item-icon{margin-inline-end:.75rem!important;font-size:1.5rem!important;line-height:2rem!important}\n"], dependencies: [{ kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
89
89
|
}
|
90
90
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXActionSheetComponent, decorators: [{
|
91
91
|
type: Component,
|
@@ -98,7 +98,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
98
98
|
provide: AXFocusableComponent,
|
99
99
|
useExisting: AXActionSheetComponent,
|
100
100
|
},
|
101
|
-
], template: "@if (data.header) {\n<ax-header>\n
|
101
|
+
], template: "@if (data.header) {\n <ax-header>\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if (data.subTitle) {\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n }\n </ax-prefix>\n @if (data.closeButton) {\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n </ax-header>\n}\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"handleAttched($event)\"></ng-template>\n<div class=\"ax-action-list ax-action-list-vertical\">\n @for (item of data.items; let i = $index; track i) {\n @if (item.group?.title) {\n <ax-title>{{ item.group?.title }}</ax-title>\n }\n <div\n class=\"ax-action-item ax-el-interactive ax-el-{{ item.color }}-blank\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n <div class=\"ax-action-item-prefix\">\n @if (item.icon) {\n <span class=\"ax-item-icon\" [class]=\"item.icon\"></span>\n }\n <ax-text>{{ item.text | translate | async }}</ax-text>\n </div>\n <div class=\"ax-action-item-suffix\"></div>\n </div>\n @if (item.break) {\n <ax-divider></ax-divider>\n }\n }\n</div>\n<!-- <div\n class=\"ax-action-item ax-{{ item.color }}\"\n [class.ax-state-disabled]=\"item.disabled\"\n [tabindex]=\"i\"\n (click)=\"onItemClick(item)\"\n >\n @if (item.icon) {\n <span class=\"item-icon\" [class]=\"item.icon\"></span>\n }\n <span class=\"item-text\">{{ item.text | translate | async }}</span>\n </div> -->\n", styles: ["ax-action-sheet{display:block;width:100vw}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-prefix ax-title{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}ax-action-sheet ax-header ax-suffix{align-items:flex-end;max-width:fit-content}ax-action-sheet .ax-action-list ax-title{font-size:.875rem}ax-action-sheet .ax-action-list .ax-action-item{height:3.5rem!important;font-size:1rem!important}ax-action-sheet .ax-action-list .ax-action-item .ax-item-icon{margin-inline-end:.75rem!important;font-size:1.5rem!important;line-height:2rem!important}\n"] }]
|
102
102
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
103
103
|
type: Inject,
|
104
104
|
args: [DIALOG_DATA]
|
@@ -106,4 +106,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
106
106
|
type: HostListener,
|
107
107
|
args: ['keydown.escape']
|
108
108
|
}] } });
|
109
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9hY3Rpb24tc2hlZXQvc3JjL2xpYi9hY3Rpb24tc2hlZXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2FjdGlvbi1zaGVldC9zcmMvbGliL2FjdGlvbi1zaGVldC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQXlCLG9CQUFvQixFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzlILE9BQU8sRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDN0QsT0FBTyxFQUE4QixlQUFlLEVBQVUsY0FBYyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDMUcsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBRVQsWUFBWSxFQUNaLE1BQU0sRUFFTixXQUFXLEVBQ1gsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDOzs7Ozs7O0FBR3ZCOzs7O0dBSUc7QUFrQkgsTUFBTSxPQUFPLHNCQUF1QixTQUFRLGVBQWU7SUFXekQ7O09BRUc7SUFDSCxZQUVZLElBQXlCLEVBQzNCLFNBQTJDO1FBRW5ELEtBQUssRUFBRSxDQUFDO1FBSEUsU0FBSSxHQUFKLElBQUksQ0FBcUI7UUFDM0IsY0FBUyxHQUF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NsYXRlIHwgYXN5bmMgfX08L3NwYW4+XG4gICAgPC9kaXY+IC0tPlxuIl19
|
package/esm2022/common/index.mjs
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
export * from './lib/types/base';
|
1
2
|
export * from './lib/types/direction';
|
2
3
|
export * from './lib/types/orientation';
|
3
4
|
export * from './lib/types/placement';
|
@@ -27,4 +28,4 @@ export * from './lib/directives/responsive.directive';
|
|
27
28
|
export * from './lib/directives/ripple.directive';
|
28
29
|
export * from './lib/services/dom.service';
|
29
30
|
export * from './lib/services/hotkey.service';
|
30
|
-
//# sourceMappingURL=data:application/json;base64,
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyw0QkFBNEIsQ0FBQztBQUUzQyxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMsNEJBQTRCLENBQUM7QUFFM0MsY0FBYyxxQkFBcUIsQ0FBQztBQUVwQyxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsOENBQThDLENBQUM7QUFDN0QsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLDRDQUE0QyxDQUFDO0FBQzNELGNBQWMsbURBQW1ELEN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N0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvaW52ZXJ0ZWQtY29sb3IuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvcmVzcG9uc2l2ZS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcy9yaXBwbGUuZGlyZWN0aXZlJztcblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvZG9tLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvaG90a2V5LnNlcnZpY2UnO1xuIl19
|
@@ -71,4 +71,4 @@ export class MXBaseComponent {
|
|
71
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MXBaseComponent, decorators: [{
|
72
72
|
type: Injectable
|
73
73
|
}] });
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jb21wb25lbnQuY2xhc3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvY29tcG9uZW50cy9iYXNlLWNvbXBvbmVudC5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsaUJBQWlCLEVBQ2pCLFVBQVUsRUFDVixZQUFZLEVBQ1osVUFBVSxFQUNWLGdCQUFnQixFQUVoQixNQUFNLEdBRVAsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHlCQUF5QixDQUFDOztBQWV2RCxNQUFNLE9BQWdCLGVBQWU7SUFEckM7UUFFVSxTQUFJLEdBQXNCLE1BQU0sQ0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gbmV3VmFsdWUpIHtcbiAgICAgIHRoaXNbYF8ke29wdGlvbi5uYW1lfWBdID0gb3B0aW9uLnZhbHVlO1xuICAgICAgdGhpcy5vbk9wdGlvbkNoYW5nZWQuZW1pdCh7XG4gICAgICAgIGNvbXBvbmVudDogdGhpcyxcbiAgICAgICAgbmFtZTogb3B0aW9uLm5hbWUsXG4gICAgICAgIG5ld1ZhbHVlLFxuICAgICAgICBvbGRWYWx1ZSxcbiAgICAgIH0pO1xuICAgICAgY29uc3QgZW1pdHRlciA9IHRoaXNbYCR7b3B0aW9uLm5hbWV9Q2hhbmdlYF0gYXMgRXZlbnRFbWl0dGVyPGFueT47XG4gICAgICBlbWl0dGVyPy5lbWl0KG5ld1ZhbHVlKTtcbiAgICAgIHRoaXMuaW50ZXJuYWxPcHRpb25DaGFuZ2VkKHsgbmFtZTogb3B0aW9uLm5hbWUsIHZhbHVlOiBuZXdWYWx1ZSB9KTtcbiAgICB9XG4gICAgaWYgKG9wdGlvbi5hZnRlckNhbGxiYWNrKSBvcHRpb24uYWZ0ZXJDYWxsYmFjayhvbGRWYWx1ZSwgbmV3VmFsdWUpO1xuICB9XG59XG5cblxuIl19
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { afterNextRender, ElementRef, inject, Injectable, signal } from "@angular/core";
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class NXComponent {
|
4
|
+
constructor() {
|
5
|
+
this.#elementRef = inject(ElementRef);
|
6
|
+
this.#isRendered = signal(false);
|
7
|
+
this.isRendered = this.#isRendered.asReadonly();
|
8
|
+
this.#afterNextRender = afterNextRender(() => {
|
9
|
+
if (!this.isRendered()) {
|
10
|
+
this.nativeElement['__axContext__'] = this;
|
11
|
+
this.#isRendered.set(true);
|
12
|
+
}
|
13
|
+
});
|
14
|
+
}
|
15
|
+
#elementRef;
|
16
|
+
#isRendered;
|
17
|
+
#afterNextRender;
|
18
|
+
get nativeElement() {
|
19
|
+
return this.#elementRef.nativeElement;
|
20
|
+
}
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
22
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXComponent }); }
|
23
|
+
}
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NXComponent, decorators: [{
|
25
|
+
type: Injectable
|
26
|
+
}] });
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL3R5cGVzL2Jhc2UvY29tcG9uZW50LnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUd4RixNQUFNLE9BQWdCLFdBQVc7SUFEakM7UUFHSSxnQkFBVyxHQUE0QixNQUFNLENBQUMsVUFBVSxDQUFDLENBQUM7UUFDMUQsZ0JBQVcsR0FBRyxNQUFNLENBQUMsS0FBSyxDQUFDLENBQUM7UUFFbEIsZUFBVSxHQUFHLElBQUksQ0FBQyxXQUFXLENBQUMsVUFBVSxFQUFFLENBQUM7UUFFckQscUJBQWdCLEdBQUcsZUFBZSxDQUFDLEdBQUcsRUFBRTtZQUNwQyxJQUFJLENBQUMsSUFBSSxDQUFDLFVBQVUsRUFBRSxFQUFFLENBQUM7Z0JBQ3JCLElBQUksQ0FBQyxhQUFhLENBQUMsZUFBZSxDQUFDLEdB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xpYyBnZXQgbmF0aXZlRWxlbWVudCgpOiBIVE1MRWxlbWVudCB7XG4gICAgICAgIHJldHVybiB0aGlzLiNlbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQ7XG4gICAgfVxuXG59Il19
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Base event class
|
3
|
+
* @category Events
|
4
|
+
*/
|
5
|
+
export class NXEvent {
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* Contains native event
|
9
|
+
* @category Events
|
10
|
+
*/
|
11
|
+
export class NXNativeEvent extends NXEvent {
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* Fires each time the user click the element.
|
15
|
+
* @category Events
|
16
|
+
*/
|
17
|
+
export class NXClickEvent extends NXNativeEvent {
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnRzLnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NvbW1vbi9zcmMvbGliL3R5cGVzL2Jhc2UvZXZlbnRzLnR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBOzs7R0FHRztBQUNILE1BQU0sT0FBTyxPQUFPO0NBRW5CO0FBRUQ7OztHQUdHO0FBQ0gsTUFBTSxPQUFPLGFBQTRFLFNBQVEsT0FBVTtDQUUxRztBQUdEOzs7R0FHRztBQUNILE1BQU0sT0FBTyxZQUFrRCxTQUFRLGFBQTRCO0NBRWxHIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTlhDb21wb25lbnQgfSBmcm9tIFwiLi9jb21wb25lbnQudHlwZXNcIjtcblxuLyoqXG4gKiAgQmFzZSBldmVudCBjbGFzc1xuICogQGNhdGVnb3J5IEV2ZW50c1xuICovXG5leHBvcnQgY2xhc3MgTlhFdmVudDxUIGV4dGVuZHMgTlhDb21wb25lbnQgPSBOWENvbXBvbmVudD4ge1xuICAgIHNlbmRlcjogVDtcbn1cblxuLyoqXG4gKiAgQ29udGFpbnMgbmF0aXZlIGV2ZW50XG4gKiBAY2F0ZWdvcnkgRXZlbnRzXG4gKi9cbmV4cG9ydCBjbGFzcyBOWE5hdGl2ZUV2ZW50PFQgZXh0ZW5kcyBOWENvbXBvbmVudCA9IE5YQ29tcG9uZW50LCBFIGV4dGVuZHMgRXZlbnQgPSBFdmVudD4gZXh0ZW5kcyBOWEV2ZW50PFQ+IHtcbiAgICBuYXRpdmVFdmVudDogRTtcbn1cblxuXG4vKipcbiAqICBGaXJlcyBlYWNoIHRpbWUgdGhlIHVzZXIgY2xpY2sgdGhlIGVsZW1lbnQuXG4gKiBAY2F0ZWdvcnkgRXZlbnRzXG4gKi9cbmV4cG9ydCBjbGFzcyBOWENsaWNrRXZlbnQ8VCBleHRlbmRzIE5YQ29tcG9uZW50ID0gTlhDb21wb25lbnQ+IGV4dGVuZHMgTlhOYXRpdmVFdmVudDxULCBNb3VzZUV2ZW50PiB7XG5cbn0iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './component.types';
|
2
|
+
export * from './events.types';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvdHlwZXMvYmFzZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsZ0JBQWdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudC50eXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2V2ZW50cy50eXBlcyc7Il19
|