@acorex/cdk 20.1.24 → 20.1.26
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/common/index.d.ts +68 -1
- package/fesm2022/acorex-cdk-accordion.mjs +19 -19
- package/fesm2022/acorex-cdk-accordion.mjs.map +1 -1
- package/fesm2022/acorex-cdk-carousel.mjs +3 -3
- package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
- package/fesm2022/acorex-cdk-clipboard.mjs +6 -6
- package/fesm2022/acorex-cdk-clipboard.mjs.map +1 -1
- package/fesm2022/acorex-cdk-common.mjs +159 -92
- 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 +16 -16
- package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drawer.mjs +10 -10
- 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 +3 -3
- package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -1
- 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 +19 -13
- 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 +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 +10 -10
- 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 +3 -3
- 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/outline/index.d.ts +2 -0
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-cdk-clipboard.mjs","sources":["../tmp-esm2022/clipboard/lib/clipboard.service.js","../tmp-esm2022/clipboard/lib/copy-clipboard.directive.js","../tmp-esm2022/clipboard/acorex-cdk-clipboard.js"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXClipBoardService {\n copy(text) {\n if (!text) {\n return Promise.reject('No text provided to copy');\n }\n if (!navigator.clipboard?.writeText) {\n return Promise.reject('Permission denied to access clipboard');\n }\n return navigator.clipboard.writeText(text);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.7\", ngImport: i0, type: AXClipBoardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.1.7\", ngImport: i0, type: AXClipBoardService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.7\", ngImport: i0, type: AXClipBoardService, decorators: [{\n type: Injectable\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpcGJvYXJkLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8u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ZXJtaXNzaW9uIGRlbmllZCB0byBhY2Nlc3MgY2xpcGJvYXJkJyk7XG4gICAgfVxuXG4gICAgcmV0dXJuIG5hdmlnYXRvci5jbGlwYm9hcmQud3JpdGVUZXh0KHRleHQpO1xuICB9XG59XG4iXX0=","import { Directive, ElementRef, HostListener, inject, input, output } from '@angular/core';\nimport { AXClipBoardService } from './clipboard.service';\nimport * as i0 from \"@angular/core\";\n/**\n * Directive to copy provided context to the clipboard on click,\n * using Angular's input signal injection for the context.\n * Emits copy status via a writable signal property.\n *\n * Usage:\n * <button\n * axCopyClipboard\n * [copiedSignal]=\"copiedSignal\"\n * >Copy</button>\n */\nexport class AXCopyClipboardDirective {\n constructor() {\n this.elementRef = inject(ElementRef);\n this.clipboardService = inject(AXClipBoardService);\n /**\n * Required string input signal for the context to copy.\n * Bound via: axCopyClipboard=\"textSignal\"\n */\n this.context = input.required(...(ngDevMode ? [{ debugName: \"context\", alias: 'axCopyClipboard' }] : [{ alias: 'axCopyClipboard' }]));\n /**\n * WritableSignal to capture copy success (true) or failure (false).\n * Can be bound: [copiedSignal]=\"myWritableSignal\"\n */\n this.copied = output();\n }\n /**\n * Trigger copy when the host element is clicked.\n */\n async onHostHover() {\n this.elementRef.nativeElement.style.cursor = 'pointer';\n }\n /**\n * Trigger copy when the host element is clicked.\n */\n async onHostClick() {\n try {\n const text = this.context();\n await this.clipboardService.copy(text);\n console.log(this.elementRef.nativeElement);\n this.copied.emit(true);\n }\n catch (err) {\n console.error('Copy failed', err);\n this.copied.emit(false);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.7\", ngImport: i0, type: AXCopyClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"17.1.0\", version: \"20.1.7\", 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()\" } }, providers: [AXClipBoardService], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.7\", ngImport: i0, type: AXCopyClipboardDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[axCopyClipboard]',\n providers: [AXClipBoardService],\n }]\n }], propDecorators: { onHostHover: [{\n type: HostListener,\n args: ['mouseenter']\n }], onHostClick: [{\n type: HostListener,\n args: ['click']\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29weS1jbGlwYm9hcmQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY2RrL2NsaXBib2FyZC9zcmMvbGliL2NvcHktY2xpcGJvYXJkLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0YsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBRXpEOzs7Ozs7Ozs7O0dBVUc7QUFLSCxNQUFNLE9BQU8sd0JBQXdCO0lBSnJDO1FBS0UsZUFBVSxHQUFHLE1BQU0sQ0FBQyxVQUFVLENBQUMsQ0FBQztRQUNoQyxxQkFBZ0IsR0FBRyxNQUFNLENBQUMsa0JBQWtCLENBQUMsQ0FBQztRQUM5Qzs7O1dBR0c7UUFDSCxZQUFPLEdBQUcsS0FBSyxDQUFDLFFBQVEsMENBQVcsS0FBSyxFQUFFLGlCQUFpQixPQUExQixFQUF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5lbWl0KHRydWUpO1xuICAgIH0gY2F0Y2ggKGVycikge1xuICAgICAgY29uc29sZS5lcnJvcignQ29weSBmYWlsZWQnLCBlcnIpO1xuICAgICAgdGhpcy5jb3BpZWQuZW1pdChmYWxzZSk7XG4gICAgfVxuICB9XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNkay1jbGlwYm9hcmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jZGsvY2xpcGJvYXJkL3NyYy9hY29yZXgtY2RrLWNsaXBib2FyZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;AAEO,MAAM,kBAAkB,CAAC;AAChC,IAAI,IAAI,CAAC,IAAI,EAAE;AACf,QAAQ,IAAI,CAAC,IAAI,EAAE;AACnB,YAAY,OAAO,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;AAC7D;AACA,QAAQ,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,SAAS,EAAE;AAC7C,YAAY,OAAO,OAAO,CAAC,MAAM,CAAC,uCAAuC,CAAC;AAC1E;AACA,QAAQ,OAAO,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC;AAClD;AACA,IAAI,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE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,SAAS,EAAE,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;AACle;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,UAAU,EAAE,CAAC;AAClI,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,QAAQ,EAAE,mBAAmB;AACjD,oBAAoB,SAAS,EAAE,CAAC,kBAAkB,CAAC;AACnD,iBAAiB;AACjB,SAAS,CAAC,EAAE,cAAc,EAAE,EAAE,WAAW,EAAE,CAAC;AAC5C,gBAAgB,IAAI,EAAE,YAAY;AAClC,gBAAgB,IAAI,EAAE,CAAC,YAAY;AACnC,aAAa,CAAC,EAAE,WAAW,EAAE,CAAC;AAC9B,gBAAgB,IAAI,EAAE,YAAY;AAClC,gBAAgB,IAAI,EAAE,CAAC,OAAO;AAC9B,aAAa,CAAC,EAAE,EAAE,CAAC;;ACjEnB;AACA;AACA;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-cdk-clipboard.mjs","sources":["../tmp-esm2022/clipboard/lib/clipboard.service.js","../tmp-esm2022/clipboard/lib/copy-clipboard.directive.js","../tmp-esm2022/clipboard/acorex-cdk-clipboard.js"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport * as i0 from \"@angular/core\";\nexport class AXClipBoardService {\n copy(text) {\n if (!text) {\n return Promise.reject('No text provided to copy');\n }\n if (!navigator.clipboard?.writeText) {\n return Promise.reject('Permission denied to access clipboard');\n }\n return navigator.clipboard.writeText(text);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.8\", ngImport: i0, type: AXClipBoardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.1.8\", ngImport: i0, type: AXClipBoardService }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.8\", ngImport: i0, type: AXClipBoardService, decorators: [{\n type: Injectable\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpcGJvYXJkLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jZGsvY2xpcGJvYXJkL3NyYy9saWIvY2xpcGJvYXJkLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHM0MsTUFBTSxPQUFPLGtCQUFrQjtJQUN0QixJQUFJLENBQUMsSUFBWTtRQUN0QixJQUFJLENBQUMsSUFBSSxFQUFFLENBQUM7WUFDVixPQUFPLE9BQU8sQ0FBQyxNQUFNLENBQUMsMEJBQTBCLENBQUMsQ0FBQztRQUNwRCxDQUFDO1FBRUQsSUFBSSxDQUFDLFNBQVMsQ0FBQyxTQUFTLEVBQUUsU0FBUyxFQUFFLENBQUM7WUFDcEMsT0FBTyxPQUFPLENBQUMsTUFBTSxDQUFDLHVDQUF1QyxDQUFDLENBQUM7UUFDakUsQ0FBQztRQUVELE9BQU8sU0FBUyxDQUFDLFNBQVMsQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDN0MsQ0FBQzs4R0FYVSxrQkFBa0I7a0hBQWxCLGtCQUFrQjs7MkZBQWxCLGtCQUFrQjtrQkFEOUIsVUFBVSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEFYQ2xpcEJvYXJkU2VydmljZSB7XG4gIHB1YmxpYyBjb3B5KHRleHQ6IHN0cmluZyk6IFByb21pc2U8dm9pZD4ge1xuICAgIGlmICghdGV4dCkge1xuICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KCdObyB0ZXh0IHByb3ZpZGVkIHRvIGNvcHknKTtcbiAgICB9XG5cbiAgICBpZiAoIW5hdmlnYXRvci5jbGlwYm9hcmQ/LndyaXRlVGV4dCkge1xuICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KCdQZXJtaXNzaW9uIGRlbmllZCB0byBhY2Nlc3MgY2xpcGJvYXJkJyk7XG4gICAgfVxuXG4gICAgcmV0dXJuIG5hdmlnYXRvci5jbGlwYm9hcmQud3JpdGVUZXh0KHRleHQpO1xuICB9XG59XG4iXX0=","import { Directive, ElementRef, HostListener, inject, input, output } from '@angular/core';\nimport { AXClipBoardService } from './clipboard.service';\nimport * as i0 from \"@angular/core\";\n/**\n * Directive to copy provided context to the clipboard on click,\n * using Angular's input signal injection for the context.\n * Emits copy status via a writable signal property.\n *\n * Usage:\n * <button\n * axCopyClipboard\n * [copiedSignal]=\"copiedSignal\"\n * >Copy</button>\n */\nexport class AXCopyClipboardDirective {\n constructor() {\n this.elementRef = inject(ElementRef);\n this.clipboardService = inject(AXClipBoardService);\n /**\n * Required string input signal for the context to copy.\n * Bound via: axCopyClipboard=\"textSignal\"\n */\n this.context = input.required(...(ngDevMode ? [{ debugName: \"context\", alias: 'axCopyClipboard' }] : [{ alias: 'axCopyClipboard' }]));\n /**\n * WritableSignal to capture copy success (true) or failure (false).\n * Can be bound: [copiedSignal]=\"myWritableSignal\"\n */\n this.copied = output();\n }\n /**\n * Trigger copy when the host element is clicked.\n */\n async onHostHover() {\n this.elementRef.nativeElement.style.cursor = 'pointer';\n }\n /**\n * Trigger copy when the host element is clicked.\n */\n async onHostClick() {\n try {\n const text = this.context();\n await this.clipboardService.copy(text);\n console.log(this.elementRef.nativeElement);\n this.copied.emit(true);\n }\n catch (err) {\n console.error('Copy failed', err);\n this.copied.emit(false);\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.8\", ngImport: i0, type: AXCopyClipboardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"17.1.0\", version: \"20.1.8\", 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()\" } }, providers: [AXClipBoardService], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.8\", ngImport: i0, type: AXCopyClipboardDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[axCopyClipboard]',\n providers: [AXClipBoardService],\n }]\n }], propDecorators: { onHostHover: [{\n type: HostListener,\n args: ['mouseenter']\n }], onHostClick: [{\n type: HostListener,\n args: ['click']\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29weS1jbGlwYm9hcmQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY2RrL2NsaXBib2FyZC9zcmMvbGliL2NvcHktY2xpcGJvYXJkLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0YsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBRXpEOzs7Ozs7Ozs7O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gYXN5bmMgb25Ib3N0Q2xpY2soKTogUHJvbWlzZTx2b2lkPiB7XG4gICAgdHJ5IHtcbiAgICAgIGNvbnN0IHRleHQgPSB0aGlzLmNvbnRleHQoKTtcbiAgICAgIGF3YWl0IHRoaXMuY2xpcGJvYXJkU2VydmljZS5jb3B5KHRleHQpO1xuICAgICAgY29uc29sZS5sb2codGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQpO1xuXG4gICAgICB0aGlzLmNvcGllZC5lbWl0KHRydWUpO1xuICAgIH0gY2F0Y2ggKGVycikge1xuICAgICAgY29uc29sZS5lcnJvcignQ29weSBmYWlsZWQnLCBlcnIpO1xuICAgICAgdGhpcy5jb3BpZWQuZW1pdChmYWxzZSk7XG4gICAgfVxuICB9XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNkay1jbGlwYm9hcmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9jZGsvY2xpcGJvYXJkL3NyYy9hY29yZXgtY2RrLWNsaXBib2FyZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ=="],"names":[],"mappings":";;;AAEO,MAAM,kBAAkB,CAAC;AAChC,IAAI,IAAI,CAAC,IAAI,EAAE;AACf,QAAQ,IAAI,CAAC,IAAI,EAAE;AACnB,YAAY,OAAO,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;AAC7D,QAAQ;AACR,QAAQ,IAAI,CAAC,SAAS,CA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.0.0", version: "20.1.
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: NXButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.8", type: NXButtonComponent, isStandalone: true, selector: "ng-component", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { text: "textChange", toggleableChange: "toggleableChange", selectedChange: "selectedChange" }, ngImport: i0, template: '', isInline: true }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", 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', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: NXColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.8", type: NXColorComponent, isStandalone: true, selector: "ng-component", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { color: "colorChange" }, ngImport: i0, template: '', isInline: true }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", 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: "20.1.
|
|
67
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: NXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
67
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: NXComponent }); }
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", 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: "20.1.
|
|
110
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.
|
|
109
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: NXInteractiveComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
110
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.8", type: NXInteractiveComponent, isStandalone: true, selector: "ng-component", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, tabIndex: { classPropertyName: "tabIndex", publicName: "tabIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { disabled: "disabledChange", tabIndex: "tabIndexChange", onFocus: "onFocus", onBlur: "onBlur" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); }
|
|
111
111
|
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", 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', ...(ngDevMode ? [{ debugName: "look" }] : []));
|
|
122
122
|
}
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
124
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: NXLookComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.8", type: NXLookComponent, isStandalone: true, selector: "ng-component", inputs: { look: { classPropertyName: "look", publicName: "look", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { look: "lookChange" }, ngImport: i0, template: '', isInline: true }); }
|
|
125
125
|
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", 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(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
|
|
138
138
|
this.onValueChanged = output();
|
|
139
139
|
}
|
|
140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
141
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.
|
|
140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: NXValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
141
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.8", type: NXValueComponent, isStandalone: true, selector: "ng-component", inputs: { readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { readonly: "readonlyChange", name: "nameChange", value: "valueChange", onValueChanged: "onValueChanged" }, ngImport: i0, template: '', isInline: true }); }
|
|
142
142
|
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", 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: "20.1.
|
|
320
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXDomService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
320
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXDomService, providedIn: 'root' }); }
|
|
321
321
|
}
|
|
322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXDomService, decorators: [{
|
|
323
323
|
type: Injectable,
|
|
324
324
|
args: [{ providedIn: 'root' }]
|
|
325
325
|
}] });
|
|
@@ -347,6 +347,11 @@ class MXBaseComponent {
|
|
|
347
347
|
get cdr() {
|
|
348
348
|
return this._cdr;
|
|
349
349
|
}
|
|
350
|
+
/**
|
|
351
|
+
* Gets the host HTML element of the component.
|
|
352
|
+
*
|
|
353
|
+
* @returns T - The native DOM element associated with this component.
|
|
354
|
+
*/
|
|
350
355
|
getHostElement() {
|
|
351
356
|
return this._elementRef?.nativeElement;
|
|
352
357
|
}
|
|
@@ -363,6 +368,11 @@ class MXBaseComponent {
|
|
|
363
368
|
ngOnInit() {
|
|
364
369
|
this.getHostElement().__axContext__ = this;
|
|
365
370
|
}
|
|
371
|
+
/**
|
|
372
|
+
* Sets a component option with optional lifecycle callbacks.
|
|
373
|
+
*
|
|
374
|
+
* @param option - The option configuration containing the name, value and optional before/after callbacks.
|
|
375
|
+
*/
|
|
366
376
|
setOption(option) {
|
|
367
377
|
const oldValue = this[option.name];
|
|
368
378
|
let newValue = this.internalOptionChanging({
|
|
@@ -388,10 +398,10 @@ class MXBaseComponent {
|
|
|
388
398
|
if (option.afterCallback)
|
|
389
399
|
option.afterCallback(oldValue, newValue);
|
|
390
400
|
}
|
|
391
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
392
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
401
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
402
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXBaseComponent }); }
|
|
393
403
|
}
|
|
394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXBaseComponent, decorators: [{
|
|
395
405
|
type: Injectable
|
|
396
406
|
}] });
|
|
397
407
|
|
|
@@ -428,6 +438,11 @@ class MXInteractiveComponent extends MXBaseComponent {
|
|
|
428
438
|
// this._focused.set(false);
|
|
429
439
|
// }
|
|
430
440
|
}
|
|
441
|
+
/**
|
|
442
|
+
* Registers a touched callback function (ControlValueAccessor method).
|
|
443
|
+
*
|
|
444
|
+
* @param fn - The callback function to register.
|
|
445
|
+
*/
|
|
431
446
|
registerOnTouched(fn) {
|
|
432
447
|
this.onTouchedCallback = fn;
|
|
433
448
|
}
|
|
@@ -463,6 +478,11 @@ class MXInteractiveComponent extends MXBaseComponent {
|
|
|
463
478
|
},
|
|
464
479
|
});
|
|
465
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* Sets the disabled state of the component.
|
|
483
|
+
*
|
|
484
|
+
* @param isDisabled - Whether the component should be disabled.
|
|
485
|
+
*/
|
|
466
486
|
setDisabledState(isDisabled) {
|
|
467
487
|
this.disabled = isDisabled;
|
|
468
488
|
}
|
|
@@ -505,14 +525,22 @@ class MXInteractiveComponent extends MXBaseComponent {
|
|
|
505
525
|
// nativeEvent: e,
|
|
506
526
|
// });
|
|
507
527
|
// }
|
|
528
|
+
/**
|
|
529
|
+
* Focuses the component.
|
|
530
|
+
*/
|
|
508
531
|
focus() {
|
|
509
532
|
AXHtmlUtil.focusElement(this.getHostElement());
|
|
510
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* Removes focus from the component.
|
|
536
|
+
*/
|
|
511
537
|
blur() {
|
|
512
538
|
AXHtmlUtil.blurElement(this.getHostElement());
|
|
513
539
|
}
|
|
514
540
|
/**
|
|
515
|
-
*
|
|
541
|
+
* Checks if the component is focused or has any focused element.
|
|
542
|
+
*
|
|
543
|
+
* @returns boolean - True if the component has focus.
|
|
516
544
|
*/
|
|
517
545
|
hasFocus() {
|
|
518
546
|
return AXHtmlUtil.hasFocus(this.getHostElement());
|
|
@@ -639,10 +667,20 @@ class MXValueComponent extends MXInteractiveComponent {
|
|
|
639
667
|
get isRequired() {
|
|
640
668
|
return this.validationRules?.some((c) => c.rule == 'required');
|
|
641
669
|
}
|
|
670
|
+
/**
|
|
671
|
+
* Adds a validation rule.
|
|
672
|
+
*
|
|
673
|
+
* @param rule - The validation rule to add.
|
|
674
|
+
*/
|
|
642
675
|
addValidationRule(rule) {
|
|
643
676
|
this.validationRules.push(rule);
|
|
644
677
|
this.validationRulesChange.emit(this.validationRules);
|
|
645
678
|
}
|
|
679
|
+
/**
|
|
680
|
+
* Removes a validation rule.
|
|
681
|
+
*
|
|
682
|
+
* @param ruleToRemove - The validation rule to remove.
|
|
683
|
+
*/
|
|
646
684
|
removeValidationRule(ruleToRemove) {
|
|
647
685
|
this.validationRules = this.validationRules.filter((r) => {
|
|
648
686
|
if (r.rule !== ruleToRemove.rule) {
|
|
@@ -656,6 +694,11 @@ class MXValueComponent extends MXInteractiveComponent {
|
|
|
656
694
|
this.validationRulesChange.emit(this.validationRules);
|
|
657
695
|
this.setState('clear');
|
|
658
696
|
}
|
|
697
|
+
/**
|
|
698
|
+
* Validates the component.
|
|
699
|
+
*
|
|
700
|
+
* @returns Promise<AXValidationSummary> - Validation result.
|
|
701
|
+
*/
|
|
659
702
|
async validate() {
|
|
660
703
|
const container_classes = ['ax-editor-container', 'ax-checkbox', 'ax-radio'];
|
|
661
704
|
const container = container_classes.some((c) => this.getHostElement().classList.contains(c))
|
|
@@ -724,12 +767,28 @@ class MXValueComponent extends MXInteractiveComponent {
|
|
|
724
767
|
this.cdr.markForCheck();
|
|
725
768
|
}
|
|
726
769
|
}
|
|
770
|
+
/**
|
|
771
|
+
* Registers a change callback function (ControlValueAccessor method).
|
|
772
|
+
*
|
|
773
|
+
* @param fn - The callback function to register.
|
|
774
|
+
*/
|
|
727
775
|
registerOnChange(fn) {
|
|
728
776
|
this.onChangeCallback = fn;
|
|
729
777
|
}
|
|
778
|
+
/**
|
|
779
|
+
* Writes a value to the component (ControlValueAccessor method).
|
|
780
|
+
*
|
|
781
|
+
* @param value - The value to write.
|
|
782
|
+
*/
|
|
730
783
|
writeValue(value) {
|
|
731
784
|
this.value = value;
|
|
732
785
|
}
|
|
786
|
+
/**
|
|
787
|
+
* Commits a value with optional user interaction flag.
|
|
788
|
+
*
|
|
789
|
+
* @param value - The value to commit.
|
|
790
|
+
* @param u - Optional flag indicating if this is a user interaction.
|
|
791
|
+
*/
|
|
733
792
|
commitValue(value, u = false) {
|
|
734
793
|
if (u) {
|
|
735
794
|
this.markAsTouched();
|
|
@@ -738,16 +797,24 @@ class MXValueComponent extends MXInteractiveComponent {
|
|
|
738
797
|
}
|
|
739
798
|
this.writeValue(value);
|
|
740
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* Resets the component value.
|
|
802
|
+
*
|
|
803
|
+
* @param e - Optional flag indicating if this is a user interaction.
|
|
804
|
+
*/
|
|
741
805
|
reset(e = false) {
|
|
742
806
|
this.commitValue(null, e);
|
|
743
807
|
}
|
|
808
|
+
/**
|
|
809
|
+
* Resets validation errors.
|
|
810
|
+
*/
|
|
744
811
|
resetErrors() {
|
|
745
812
|
this.setState('clear');
|
|
746
813
|
}
|
|
747
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
748
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
814
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
815
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXValueComponent }); }
|
|
749
816
|
}
|
|
750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXValueComponent, decorators: [{
|
|
751
818
|
type: Injectable
|
|
752
819
|
}] });
|
|
753
820
|
|
|
@@ -854,52 +921,52 @@ class AXComponentClosedPromise extends Promise {
|
|
|
854
921
|
}
|
|
855
922
|
}
|
|
856
923
|
class AXComponent {
|
|
857
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
858
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
924
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
925
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXComponent }); }
|
|
859
926
|
}
|
|
860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXComponent, decorators: [{
|
|
861
928
|
type: Injectable
|
|
862
929
|
}] });
|
|
863
930
|
class AXClosableComponent extends AXComponent {
|
|
864
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
865
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
931
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXClosableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
932
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXClosableComponent }); }
|
|
866
933
|
}
|
|
867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXClosableComponent, decorators: [{
|
|
868
935
|
type: Injectable
|
|
869
936
|
}] });
|
|
870
937
|
class AXClearableComponent extends AXComponent {
|
|
871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
872
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
938
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXClearableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
939
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXClearableComponent }); }
|
|
873
940
|
}
|
|
874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXClearableComponent, decorators: [{
|
|
875
942
|
type: Injectable
|
|
876
943
|
}] });
|
|
877
944
|
class AXSearchableComponent extends AXComponent {
|
|
878
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
879
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
945
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXSearchableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
946
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXSearchableComponent }); }
|
|
880
947
|
}
|
|
881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
|
882
949
|
type: Injectable
|
|
883
950
|
}] });
|
|
884
951
|
class AXValuableComponent extends AXComponent {
|
|
885
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
886
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXValuableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
953
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXValuableComponent }); }
|
|
887
954
|
}
|
|
888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXValuableComponent, decorators: [{
|
|
889
956
|
type: Injectable
|
|
890
957
|
}] });
|
|
891
958
|
class AXFocusableComponent extends AXComponent {
|
|
892
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
893
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
959
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXFocusableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
960
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXFocusableComponent }); }
|
|
894
961
|
}
|
|
895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXFocusableComponent, decorators: [{
|
|
896
963
|
type: Injectable
|
|
897
964
|
}] });
|
|
898
965
|
class AXPagedComponent extends AXComponent {
|
|
899
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
900
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
966
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPagedComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
967
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPagedComponent }); }
|
|
901
968
|
}
|
|
902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXPagedComponent, decorators: [{
|
|
903
970
|
type: Injectable
|
|
904
971
|
}] });
|
|
905
972
|
class AXAutocompleteParentComponent extends MXValueComponent {
|
|
@@ -921,10 +988,10 @@ class AXAutocompleteParentComponent extends MXValueComponent {
|
|
|
921
988
|
});
|
|
922
989
|
this.oldInputEmitValue = value;
|
|
923
990
|
}
|
|
924
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
925
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
991
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAutocompleteParentComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
992
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAutocompleteParentComponent }); }
|
|
926
993
|
}
|
|
927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAutocompleteParentComponent, decorators: [{
|
|
928
995
|
type: Injectable
|
|
929
996
|
}] });
|
|
930
997
|
|
|
@@ -1185,10 +1252,10 @@ class AXAutoFocusDirective {
|
|
|
1185
1252
|
}, this.time);
|
|
1186
1253
|
}
|
|
1187
1254
|
}
|
|
1188
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1189
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
1255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAutoFocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1256
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXAutoFocusDirective, isStandalone: true, selector: "[axAutoFocus]", inputs: { autoFocus: ["axAutoFocus", "autoFocus"], time: ["axAutoFocusTime", "time"] }, ngImport: i0 }); }
|
|
1190
1257
|
}
|
|
1191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAutoFocusDirective, decorators: [{
|
|
1192
1259
|
type: Directive,
|
|
1193
1260
|
args: [{ selector: '[axAutoFocus]' }]
|
|
1194
1261
|
}], propDecorators: { autoFocus: [{
|
|
@@ -1235,10 +1302,10 @@ class AXHotkeysService {
|
|
|
1235
1302
|
}
|
|
1236
1303
|
});
|
|
1237
1304
|
}
|
|
1238
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1239
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1305
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXHotkeysService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1306
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXHotkeysService }); }
|
|
1240
1307
|
}
|
|
1241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXHotkeysService, decorators: [{
|
|
1242
1309
|
type: Injectable
|
|
1243
1310
|
}] });
|
|
1244
1311
|
|
|
@@ -1298,10 +1365,10 @@ class AXHotkeyDirective {
|
|
|
1298
1365
|
s.unsubscribe();
|
|
1299
1366
|
});
|
|
1300
1367
|
}
|
|
1301
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1302
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
1368
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXHotkeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1369
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXHotkeyDirective, isStandalone: true, selector: "[axHotkey]", inputs: { axHotkey: "axHotkey" }, ngImport: i0 }); }
|
|
1303
1370
|
}
|
|
1304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXHotkeyDirective, decorators: [{
|
|
1305
1372
|
type: Directive,
|
|
1306
1373
|
args: [{ selector: '[axHotkey]' }]
|
|
1307
1374
|
}], propDecorators: { axHotkey: [{
|
|
@@ -1348,10 +1415,10 @@ class AXInfiniteScrollerDirective {
|
|
|
1348
1415
|
return this.scrollCallback();
|
|
1349
1416
|
}));
|
|
1350
1417
|
}
|
|
1351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1352
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
1418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXInfiniteScrollerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1419
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXInfiniteScrollerDirective, isStandalone: true, selector: "[axInfiniteScroller]", inputs: { scrollCallback: "scrollCallback", immediateCallback: "immediateCallback", scrollPercent: "scrollPercent" }, ngImport: i0 }); }
|
|
1353
1420
|
}
|
|
1354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXInfiniteScrollerDirective, decorators: [{
|
|
1355
1422
|
type: Directive,
|
|
1356
1423
|
args: [{ selector: '[axInfiniteScroller]' }]
|
|
1357
1424
|
}], propDecorators: { scrollCallback: [{
|
|
@@ -1390,20 +1457,20 @@ class AXResponsiveDirective {
|
|
|
1390
1457
|
this._observer?.disconnect();
|
|
1391
1458
|
this._observer?.unobserve(this._elementRef.nativeElement);
|
|
1392
1459
|
}
|
|
1393
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1394
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
1460
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXResponsiveDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1461
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXResponsiveDirective, isStandalone: true, selector: "[axResponsive]", ngImport: i0 }); }
|
|
1395
1462
|
}
|
|
1396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXResponsiveDirective, decorators: [{
|
|
1397
1464
|
type: Directive,
|
|
1398
1465
|
args: [{ selector: '[axResponsive]' }]
|
|
1399
1466
|
}], ctorParameters: () => [] });
|
|
1400
1467
|
|
|
1401
1468
|
class AXCommonModule {
|
|
1402
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1403
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
1404
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
1469
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1470
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.8", ngImport: i0, type: AXCommonModule, imports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective], exports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective] }); }
|
|
1471
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXCommonModule, providers: [AXHotkeysService] }); }
|
|
1405
1472
|
}
|
|
1406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXCommonModule, decorators: [{
|
|
1407
1474
|
type: NgModule,
|
|
1408
1475
|
args: [{
|
|
1409
1476
|
imports: [AXResponsiveDirective, AXInfiniteScrollerDirective, AXAutoFocusDirective, AXHotkeyDirective],
|
|
@@ -1436,10 +1503,10 @@ class MXColorComponent extends MXBaseComponent {
|
|
|
1436
1503
|
}
|
|
1437
1504
|
|
|
1438
1505
|
class MXLookableComponent {
|
|
1439
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1440
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1506
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXLookableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1507
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXLookableComponent }); }
|
|
1441
1508
|
}
|
|
1442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXLookableComponent, decorators: [{
|
|
1443
1510
|
type: Injectable
|
|
1444
1511
|
}] });
|
|
1445
1512
|
class MXLookComponent extends MXBaseComponent {
|
|
@@ -1614,10 +1681,10 @@ class MXInputBaseValueComponent extends MXValueComponent {
|
|
|
1614
1681
|
else
|
|
1615
1682
|
super.focus();
|
|
1616
1683
|
}
|
|
1617
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1618
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1684
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXInputBaseValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1685
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXInputBaseValueComponent }); }
|
|
1619
1686
|
}
|
|
1620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXInputBaseValueComponent, decorators: [{
|
|
1621
1688
|
type: Injectable
|
|
1622
1689
|
}] });
|
|
1623
1690
|
|
|
@@ -1631,10 +1698,10 @@ class MXSelectionBridgeService {
|
|
|
1631
1698
|
/** Cache for normalized items keyed by their unique identifier */
|
|
1632
1699
|
this.cacheList = {};
|
|
1633
1700
|
}
|
|
1634
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1635
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
1701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXSelectionBridgeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1702
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXSelectionBridgeService }); }
|
|
1636
1703
|
}
|
|
1637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
1704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXSelectionBridgeService, decorators: [{
|
|
1638
1705
|
type: Injectable
|
|
1639
1706
|
}] });
|
|
1640
1707
|
/**
|
|
@@ -1983,10 +2050,10 @@ class MXSelectionValueComponent extends MXValueComponent {
|
|
|
1983
2050
|
console.warn('Failed to load item by key:', key, error);
|
|
1984
2051
|
}
|
|
1985
2052
|
}
|
|
1986
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
1987
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.
|
|
2053
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXSelectionValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2054
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXSelectionValueComponent }); }
|
|
1988
2055
|
}
|
|
1989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: MXSelectionValueComponent, decorators: [{
|
|
1990
2057
|
type: Injectable
|
|
1991
2058
|
}] });
|
|
1992
2059
|
|
|
@@ -2019,10 +2086,10 @@ class AXNgModelDelayedValueChangedDirective {
|
|
|
2019
2086
|
distinctUntilChanged(), debounceTime(this.delayTime))
|
|
2020
2087
|
.subscribe((value) => this.axDelayedValueChanged.emit(value));
|
|
2021
2088
|
}
|
|
2022
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2023
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
2089
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXNgModelDelayedValueChangedDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2090
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXNgModelDelayedValueChangedDirective, isStandalone: true, selector: "[axDelayedValueChanged]", inputs: { delayTime: "delayTime" }, outputs: { axDelayedValueChanged: "axDelayedValueChanged", axDelayTimeChange: "axDelayTimeChange" }, ngImport: i0 }); }
|
|
2024
2091
|
}
|
|
2025
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXNgModelDelayedValueChangedDirective, decorators: [{
|
|
2026
2093
|
type: Directive,
|
|
2027
2094
|
args: [{
|
|
2028
2095
|
selector: '[axDelayedValueChanged]',
|
|
@@ -2073,10 +2140,10 @@ class AXInvertedColorDirective {
|
|
|
2073
2140
|
});
|
|
2074
2141
|
}
|
|
2075
2142
|
}
|
|
2076
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2077
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.
|
|
2143
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXInvertedColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2144
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.8", type: AXInvertedColorDirective, isStandalone: true, selector: "[axInvertedColor]", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
|
|
2078
2145
|
}
|
|
2079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXInvertedColorDirective, decorators: [{
|
|
2080
2147
|
type: Directive,
|
|
2081
2148
|
args: [{
|
|
2082
2149
|
selector: '[axInvertedColor]',
|
|
@@ -2129,10 +2196,10 @@ class AXRippleDirective {
|
|
|
2129
2196
|
});
|
|
2130
2197
|
}
|
|
2131
2198
|
}
|
|
2132
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
2133
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
2199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXRippleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2200
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXRippleDirective, isStandalone: true, selector: "[axRipple]", inputs: { enabled: ["axRipple", "enabled"], axRippleColor: "axRippleColor" }, ngImport: i0 }); }
|
|
2134
2201
|
}
|
|
2135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
2202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXRippleDirective, decorators: [{
|
|
2136
2203
|
type: Directive,
|
|
2137
2204
|
args: [{
|
|
2138
2205
|
selector: '[axRipple]',
|