ng-zorro-antd-extension 18.1.3 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/acl/nzx-acl.directive.d.ts +1 -1
- package/acl/nzx-acl.module.d.ts +1 -2
- package/blank-field/blank-field.component.d.ts +1 -1
- package/blank-field/blank-field.module.d.ts +1 -2
- package/checkbox/checkbox-group.component.d.ts +5 -16
- package/checkbox/checkbox.module.d.ts +1 -4
- package/configurable-query/configurable-query-item/configurable-query-item.component.d.ts +1 -1
- package/configurable-query/configurable-query.component.d.ts +1 -1
- package/configurable-query/configurable-query.module.d.ts +3 -21
- package/configurable-query/control.directive.d.ts +1 -1
- package/configurable-query/controls/abstract.control.d.ts +3 -2
- package/configurable-query/controls/date-picker.control.d.ts +1 -1
- package/configurable-query/controls/input.control.d.ts +1 -1
- package/configurable-query/controls/range-picker.control.d.ts +1 -1
- package/configurable-query/controls/select.control.d.ts +1 -1
- package/configurable-query/controls/template.control.d.ts +1 -1
- package/dynamic-form/config/dynamic-form-config.d.ts +18 -0
- package/dynamic-form/controls/abstract.control.d.ts +11 -0
- package/dynamic-form/controls/date-picker.control.d.ts +6 -0
- package/dynamic-form/controls/input.control.d.ts +6 -0
- package/dynamic-form/controls/range-picker.control.d.ts +6 -0
- package/dynamic-form/controls/select.control.d.ts +6 -0
- package/dynamic-form/controls/template.control.d.ts +6 -0
- package/dynamic-form/dynamic-form-item/dynamic-form-item.component.d.ts +12 -0
- package/dynamic-form/dynamic-form.component.d.ts +5 -0
- package/dynamic-form/dynamic-form.module.d.ts +17 -0
- package/dynamic-form/public-api.d.ts +3 -1
- package/dynamic-form/wrapper/control/abstract-control-wrapper.d.ts +12 -0
- package/dynamic-form/wrapper/control/built-in-control-wrapper.d.ts +7 -0
- package/dynamic-form/wrapper/item/abstract-item-wrapper.d.ts +14 -0
- package/dynamic-form/wrapper/item/built-in-item-wrapper.d.ts +6 -0
- package/dynamic-form/wrapper/label/abstract-label-wrapper.d.ts +5 -0
- package/dynamic-form/wrapper/label/built-in-label-wrapper.d.ts +6 -0
- package/editable/editable.component.d.ts +1 -1
- package/editable/editable.module.d.ts +1 -6
- package/fesm2022/ng-zorro-antd-extension-acl.mjs +11 -13
- package/fesm2022/ng-zorro-antd-extension-acl.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-blank-field.mjs +19 -17
- package/fesm2022/ng-zorro-antd-extension-blank-field.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-checkbox.mjs +28 -37
- package/fesm2022/ng-zorro-antd-extension-checkbox.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs +98 -127
- package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-core-config.mjs +3 -3
- package/fesm2022/ng-zorro-antd-extension-core-config.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-dynamic-form.mjs +423 -10
- package/fesm2022/ng-zorro-antd-extension-dynamic-form.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-editable.mjs +23 -33
- package/fesm2022/ng-zorro-antd-extension-editable.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-jigsaw.mjs +9 -10
- package/fesm2022/ng-zorro-antd-extension-jigsaw.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-pipes.mjs +26 -26
- package/fesm2022/ng-zorro-antd-extension-pipes.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-print.mjs +23 -21
- package/fesm2022/ng-zorro-antd-extension-print.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-simple-table.mjs +22 -22
- package/fesm2022/ng-zorro-antd-extension-simple-table.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-table-adaptor.mjs +11 -12
- package/fesm2022/ng-zorro-antd-extension-table-adaptor.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-table-form.mjs +36 -53
- package/fesm2022/ng-zorro-antd-extension-table-form.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-table-select.mjs +38 -40
- package/fesm2022/ng-zorro-antd-extension-table-select.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-timer-button.mjs +8 -10
- package/fesm2022/ng-zorro-antd-extension-timer-button.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-trim.mjs +8 -9
- package/fesm2022/ng-zorro-antd-extension-trim.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-util.mjs.map +1 -1
- package/fesm2022/ng-zorro-antd-extension-wang-editor.mjs +11 -13
- package/fesm2022/ng-zorro-antd-extension-wang-editor.mjs.map +1 -1
- package/jigsaw/jigsaw.component.d.ts +1 -1
- package/jigsaw/jigsaw.module.d.ts +1 -3
- package/package.json +9 -51
- package/pipes/map.pipe.d.ts +1 -1
- package/pipes/pipes.module.d.ts +1 -1
- package/pipes/safe-html.pipe.d.ts +1 -1
- package/pipes/safe-null.pipe.d.ts +1 -1
- package/pipes/safe-resource-url.pipe.d.ts +1 -1
- package/pipes/safe-script.pipe.d.ts +1 -1
- package/pipes/safe-style.pipe.d.ts +1 -1
- package/pipes/safe-url.pipe.d.ts +1 -1
- package/print/nzx-print-content.directive.d.ts +1 -1
- package/print/nzx-print-v.component.d.ts +1 -1
- package/print/nzx-print.component.d.ts +1 -1
- package/print/nzx-print.directive.d.ts +1 -1
- package/print/nzx-print.module.d.ts +1 -4
- package/schematics/ng-add/index.js +1 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/simple-table/directive/expand.directive.d.ts +1 -1
- package/simple-table/directive/td.directive.d.ts +1 -1
- package/simple-table/directive/th.directive.d.ts +1 -1
- package/simple-table/simple-table.component.d.ts +1 -1
- package/simple-table/simple-table.module.d.ts +1 -3
- package/table-adaptor/page-table-basic.d.ts +1 -1
- package/table-adaptor/table-adaptor.directive.d.ts +1 -1
- package/table-adaptor/table-adaptor.module.d.ts +1 -1
- package/table-form/directive/table-expand.directive.d.ts +1 -1
- package/table-form/directive/table-td.directive.d.ts +1 -1
- package/table-form/directive/table-th.directive.d.ts +1 -1
- package/table-form/table-form.component.d.ts +1 -1
- package/table-form/table-form.module.d.ts +1 -10
- package/table-select/abstract-table-select.d.ts +2 -2
- package/table-select/key.directive.d.ts +1 -1
- package/table-select/nzx-table-select.module.d.ts +1 -6
- package/table-select/page-table-select/page-table-select.component.d.ts +1 -1
- package/table-select/table-select/table-select.component.d.ts +1 -1
- package/timer-button/timer-button.directive.d.ts +1 -1
- package/timer-button/timer-button.module.d.ts +1 -2
- package/trim/trim.directive.d.ts +1 -1
- package/trim/trim.module.d.ts +1 -1
- package/wang-editor/wang-editor.component.d.ts +1 -1
- package/wang-editor/wang-editor.module.d.ts +1 -2
- package/wang-editor/wang-toolbar.component.d.ts +1 -1
- package/dynamic-form/nzx-dynamic-form.module.d.ts +0 -9
- package/esm2022/acl/ng-zorro-antd-extension-acl.mjs +0 -5
- package/esm2022/acl/nzx-acl.directive.mjs +0 -80
- package/esm2022/acl/nzx-acl.module.mjs +0 -25
- package/esm2022/acl/nzx-acl.service.mjs +0 -45
- package/esm2022/acl/public-api.mjs +0 -8
- package/esm2022/blank-field/blank-field.component.mjs +0 -52
- package/esm2022/blank-field/blank-field.module.mjs +0 -18
- package/esm2022/blank-field/ng-zorro-antd-extension-blank-field.mjs +0 -5
- package/esm2022/blank-field/public-api.mjs +0 -7
- package/esm2022/checkbox/checkbox-group.component.mjs +0 -108
- package/esm2022/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/checkbox/ng-zorro-antd-extension-checkbox.mjs +0 -5
- package/esm2022/checkbox/public-api.mjs +0 -7
- package/esm2022/configurable-query/configurable-query-item/configurable-query-item.component.mjs +0 -85
- package/esm2022/configurable-query/configurable-query.component.mjs +0 -309
- package/esm2022/configurable-query/configurable-query.module.mjs +0 -111
- package/esm2022/configurable-query/control.directive.mjs +0 -18
- package/esm2022/configurable-query/controls/abstract.control.mjs +0 -17
- package/esm2022/configurable-query/controls/date-picker.control.mjs +0 -36
- package/esm2022/configurable-query/controls/input.control.mjs +0 -35
- package/esm2022/configurable-query/controls/range-picker.control.mjs +0 -34
- package/esm2022/configurable-query/controls/select.control.mjs +0 -50
- package/esm2022/configurable-query/controls/template.control.mjs +0 -32
- package/esm2022/configurable-query/ng-zorro-antd-extension-configurable-query.mjs +0 -5
- package/esm2022/configurable-query/public-api.mjs +0 -7
- package/esm2022/configurable-query/query-config.service.mjs +0 -68
- package/esm2022/configurable-query/type.mjs +0 -2
- package/esm2022/core/config/config.mjs +0 -6
- package/esm2022/core/config/config.service.mjs +0 -84
- package/esm2022/core/config/ng-zorro-antd-extension-core-config.mjs +0 -5
- package/esm2022/core/config/public-api.mjs +0 -3
- package/esm2022/dynamic-form/ng-zorro-antd-extension-dynamic-form.mjs +0 -5
- package/esm2022/dynamic-form/nzx-dynamic-form.module.mjs +0 -23
- package/esm2022/dynamic-form/public-api.mjs +0 -6
- package/esm2022/editable/editable.component.mjs +0 -140
- package/esm2022/editable/editable.module.mjs +0 -36
- package/esm2022/editable/ng-zorro-antd-extension-editable.mjs +0 -5
- package/esm2022/editable/public-api.mjs +0 -3
- package/esm2022/i18n/languages/en_US.mjs +0 -10
- package/esm2022/i18n/languages/zh_CN.mjs +0 -10
- package/esm2022/i18n/ng-zorro-antd-extension-i18n.mjs +0 -5
- package/esm2022/i18n/nz-i18n.interface.mjs +0 -2
- package/esm2022/i18n/public-api.mjs +0 -4
- package/esm2022/jigsaw/jigsaw.component.mjs +0 -257
- package/esm2022/jigsaw/jigsaw.module.mjs +0 -19
- package/esm2022/jigsaw/ng-zorro-antd-extension-jigsaw.mjs +0 -5
- package/esm2022/jigsaw/public-api.mjs +0 -7
- package/esm2022/ng-zorro-antd-extension.mjs +0 -5
- package/esm2022/pipes/map.pipe.mjs +0 -24
- package/esm2022/pipes/ng-zorro-antd-extension-pipes.mjs +0 -5
- package/esm2022/pipes/pipes.module.mjs +0 -50
- package/esm2022/pipes/public-api.mjs +0 -13
- package/esm2022/pipes/safe-html.pipe.mjs +0 -20
- package/esm2022/pipes/safe-null.pipe.mjs +0 -30
- package/esm2022/pipes/safe-resource-url.pipe.mjs +0 -20
- package/esm2022/pipes/safe-script.pipe.mjs +0 -20
- package/esm2022/pipes/safe-style.pipe.mjs +0 -20
- package/esm2022/pipes/safe-url.pipe.mjs +0 -34
- package/esm2022/print/ng-zorro-antd-extension-print.mjs +0 -5
- package/esm2022/print/nzx-print-content.directive.mjs +0 -22
- package/esm2022/print/nzx-print-v.component.mjs +0 -301
- package/esm2022/print/nzx-print.component.mjs +0 -190
- package/esm2022/print/nzx-print.directive.mjs +0 -92
- package/esm2022/print/nzx-print.module.mjs +0 -39
- package/esm2022/print/public-api.mjs +0 -10
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/simple-table/directive/expand.directive.mjs +0 -16
- package/esm2022/simple-table/directive/td.directive.mjs +0 -18
- package/esm2022/simple-table/directive/th.directive.mjs +0 -19
- package/esm2022/simple-table/ng-zorro-antd-extension-simple-table.mjs +0 -5
- package/esm2022/simple-table/public-api.mjs +0 -10
- package/esm2022/simple-table/simple-table.component.mjs +0 -229
- package/esm2022/simple-table/simple-table.module.mjs +0 -38
- package/esm2022/table-adaptor/ng-zorro-antd-extension-table-adaptor.mjs +0 -5
- package/esm2022/table-adaptor/page-table-basic.mjs +0 -22
- package/esm2022/table-adaptor/public-api.mjs +0 -8
- package/esm2022/table-adaptor/table-adaptor.directive.mjs +0 -173
- package/esm2022/table-adaptor/table-adaptor.module.mjs +0 -17
- package/esm2022/table-form/directive/table-expand.directive.mjs +0 -18
- package/esm2022/table-form/directive/table-td.directive.mjs +0 -18
- package/esm2022/table-form/directive/table-th.directive.mjs +0 -20
- package/esm2022/table-form/ng-zorro-antd-extension-table-form.mjs +0 -5
- package/esm2022/table-form/public-api.mjs +0 -11
- package/esm2022/table-form/table-form.component.mjs +0 -370
- package/esm2022/table-form/table-form.module.mjs +0 -71
- package/esm2022/table-form/type.mjs +0 -2
- package/esm2022/table-select/abstract-table-select.mjs +0 -140
- package/esm2022/table-select/key.directive.mjs +0 -21
- package/esm2022/table-select/ng-zorro-antd-extension-table-select.mjs +0 -5
- package/esm2022/table-select/nzx-table-select.module.mjs +0 -50
- package/esm2022/table-select/page-table-select/page-table-select.component.mjs +0 -58
- package/esm2022/table-select/public-api.mjs +0 -11
- package/esm2022/table-select/table-select/table-select.component.mjs +0 -39
- package/esm2022/table-select/type.mjs +0 -2
- package/esm2022/timer-button/ng-zorro-antd-extension-timer-button.mjs +0 -5
- package/esm2022/timer-button/public-api.mjs +0 -7
- package/esm2022/timer-button/timer-button.directive.mjs +0 -69
- package/esm2022/timer-button/timer-button.module.mjs +0 -18
- package/esm2022/trim/ng-zorro-antd-extension-trim.mjs +0 -5
- package/esm2022/trim/public-api.mjs +0 -7
- package/esm2022/trim/trim.directive.mjs +0 -123
- package/esm2022/trim/trim.module.mjs +0 -17
- package/esm2022/types/common.mjs +0 -2
- package/esm2022/types/ng-zorro-antd-extension-types.mjs +0 -5
- package/esm2022/types/public-api.mjs +0 -6
- package/esm2022/util/lib/cloneDeep.mjs +0 -49
- package/esm2022/util/lib/fileUtil.mjs +0 -51
- package/esm2022/util/lib/getElementByTag.mjs +0 -38
- package/esm2022/util/lib/isArray.mjs +0 -17
- package/esm2022/util/lib/isDate.mjs +0 -4
- package/esm2022/util/lib/isEmpty.mjs +0 -19
- package/esm2022/util/lib/isNumber.mjs +0 -12
- package/esm2022/util/lib/isObject.mjs +0 -10
- package/esm2022/util/lib/isString.mjs +0 -11
- package/esm2022/util/lib/toNumber.mjs +0 -18
- package/esm2022/util/lib/toString.mjs +0 -16
- package/esm2022/util/lib/trimObject.mjs +0 -15
- package/esm2022/util/lib/updateControlStatus.mjs +0 -47
- package/esm2022/util/ng-zorro-antd-extension-util.mjs +0 -5
- package/esm2022/util/public-api.mjs +0 -18
- package/esm2022/wang-editor/ng-zorro-antd-extension-wang-editor.mjs +0 -5
- package/esm2022/wang-editor/public-api.mjs +0 -9
- package/esm2022/wang-editor/type.mjs +0 -2
- package/esm2022/wang-editor/wang-editor.component.mjs +0 -235
- package/esm2022/wang-editor/wang-editor.module.mjs +0 -19
- package/esm2022/wang-editor/wang-toolbar.component.mjs +0 -57
|
@@ -5,5 +5,5 @@ export declare class NzxThDirective {
|
|
|
5
5
|
width: string | null;
|
|
6
6
|
constructor(templateRef: TemplateRef<unknown>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxThDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxThDirective, "[nzxTh]", never, { "width": { "alias": "width"; "required": false; }; }, {}, never, never,
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxThDirective, "[nzxTh]", never, { "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -53,5 +53,5 @@ export declare class NzxSimpleTableComponent<T extends {
|
|
|
53
53
|
private _tdList;
|
|
54
54
|
ngAfterContentInit(): void;
|
|
55
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxSimpleTableComponent<any>, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NzxSimpleTableComponent<any>, "nzx-simple-table", never, { "nzxAlign": { "alias": "nzxAlign"; "required": false; }; "nzxTitle": { "alias": "nzxTitle"; "required": false; }; "nzxFooter": { "alias": "nzxFooter"; "required": false; }; "nzxExpand": { "alias": "nzxExpand"; "required": false; }; "nzxBordered": { "alias": "nzxBordered"; "required": false; }; "nzxData": { "alias": "nzxData"; "required": false; }; "nzxSize": { "alias": "nzxSize"; "required": false; }; "nzxConfig": { "alias": "nzxConfig"; "required": false; }; }, {}, ["expandDirective", "_thList", "_tdList"], never,
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NzxSimpleTableComponent<any>, "nzx-simple-table", never, { "nzxAlign": { "alias": "nzxAlign"; "required": false; }; "nzxTitle": { "alias": "nzxTitle"; "required": false; }; "nzxFooter": { "alias": "nzxFooter"; "required": false; }; "nzxExpand": { "alias": "nzxExpand"; "required": false; }; "nzxBordered": { "alias": "nzxBordered"; "required": false; }; "nzxData": { "alias": "nzxData"; "required": false; }; "nzxSize": { "alias": "nzxSize"; "required": false; }; "nzxConfig": { "alias": "nzxConfig"; "required": false; }; }, {}, ["expandDirective", "_thList", "_tdList"], never, true, never>;
|
|
57
57
|
}
|
|
@@ -3,10 +3,8 @@ import * as i1 from "./simple-table.component";
|
|
|
3
3
|
import * as i2 from "./directive/th.directive";
|
|
4
4
|
import * as i3 from "./directive/td.directive";
|
|
5
5
|
import * as i4 from "./directive/expand.directive";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "ng-zorro-antd/table";
|
|
8
6
|
export declare class NzxSimpleTableModule {
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxSimpleTableModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxSimpleTableModule, [typeof i1.NzxSimpleTableComponent, typeof i2.NzxThDirective, typeof i3.NzxTdDirective, typeof i4.NzxExpandDirective], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxSimpleTableModule, never, [typeof i1.NzxSimpleTableComponent, typeof i2.NzxThDirective, typeof i3.NzxTdDirective, typeof i4.NzxExpandDirective], [typeof i2.NzxThDirective, typeof i3.NzxTdDirective, typeof i4.NzxExpandDirective, typeof i1.NzxSimpleTableComponent]>;
|
|
11
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<NzxSimpleTableModule>;
|
|
12
10
|
}
|
|
@@ -10,5 +10,5 @@ export declare class NzxPageTableBase<T = any> {
|
|
|
10
10
|
/** 表单指令实例用来刷新重置 */
|
|
11
11
|
nzxTableAdaptorRef: NzxTableAdaptor;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxPageTableBase<any>, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxPageTableBase<any>, never, never, {}, {}, never, never,
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxPageTableBase<any>, never, never, {}, {}, never, never, true, never>;
|
|
14
14
|
}
|
|
@@ -39,5 +39,5 @@ export declare class NzxTableAdaptor implements OnInit, OnDestroy {
|
|
|
39
39
|
reset(params?: any): void;
|
|
40
40
|
private emit;
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableAdaptor, never>;
|
|
42
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableAdaptor, "nz-table[nzxTableAdaptor]", ["NzxTableAdaptor"], { "queryParams": { "alias": "queryParams"; "required": false; }; "enableCache": { "alias": "enableCache"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "customFormateOutFn": { "alias": "customFormateOutFn"; "required": false; }; }, { "nzxQueryParams": "nzxQueryParams"; "nzxQueryCacheQueryParams": "nzxQueryCacheQueryParams"; }, never, never,
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableAdaptor, "nz-table[nzxTableAdaptor]", ["NzxTableAdaptor"], { "queryParams": { "alias": "queryParams"; "required": false; }; "enableCache": { "alias": "enableCache"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "customFormateOutFn": { "alias": "customFormateOutFn"; "required": false; }; }, { "nzxQueryParams": "nzxQueryParams"; "nzxQueryCacheQueryParams": "nzxQueryCacheQueryParams"; }, never, never, true, never>;
|
|
43
43
|
}
|
|
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./table-adaptor.directive";
|
|
3
3
|
export declare class NzxTableAdaptorModule {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableAdaptorModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTableAdaptorModule, [typeof i1.NzxTableAdaptor],
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTableAdaptorModule, never, [typeof i1.NzxTableAdaptor], [typeof i1.NzxTableAdaptor]>;
|
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTableAdaptorModule>;
|
|
7
7
|
}
|
|
@@ -5,5 +5,5 @@ export declare class NzxTableFormExpandDirective {
|
|
|
5
5
|
controlName: string;
|
|
6
6
|
constructor(templateRef: TemplateRef<any>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormExpandDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableFormExpandDirective, "[nzxTableFormExpand]", never, { "controlName": { "alias": "controlName"; "required": false; }; }, {}, never, never,
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableFormExpandDirective, "[nzxTableFormExpand]", never, { "controlName": { "alias": "controlName"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -5,5 +5,5 @@ export declare class NzxTableFormTdDirective {
|
|
|
5
5
|
controlName: string;
|
|
6
6
|
constructor(templateRef: TemplateRef<any>);
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormTdDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableFormTdDirective, "[nzxTableFormTd]", never, { "controlName": { "alias": "controlName"; "required": false; }; }, {}, never, never,
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableFormTdDirective, "[nzxTableFormTd]", never, { "controlName": { "alias": "controlName"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
9
|
}
|
|
@@ -6,5 +6,5 @@ export declare class NzxTableFormThDirective {
|
|
|
6
6
|
width?: string;
|
|
7
7
|
constructor(templateRef: TemplateRef<any>);
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormThDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableFormThDirective, "[nzxTableFormTh]", never, { "controlName": { "alias": "controlName"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never,
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTableFormThDirective, "[nzxTableFormTh]", never, { "controlName": { "alias": "controlName"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -118,5 +118,5 @@ export declare class NzxTableFormComponent implements OnInit, ControlValueAccess
|
|
|
118
118
|
*/
|
|
119
119
|
private parseTd;
|
|
120
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormComponent, never>;
|
|
121
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NzxTableFormComponent, "nzx-table-form", ["NzxTableForm"], { "tableLayout": { "alias": "tableLayout"; "required": false; }; "tableAlign": { "alias": "tableAlign"; "required": false; }; "enableExpand": { "alias": "enableExpand"; "required": false; }; "nzxBordered": { "alias": "nzxBordered"; "required": false; }; "nzxSize": { "alias": "nzxSize"; "required": false; }; "enableLimit": { "alias": "enableLimit"; "required": false; }; "maxLimit": { "alias": "maxLimit"; "required": false; }; "minLimit": { "alias": "minLimit"; "required": false; }; "nzxFooter": { "alias": "nzxFooter"; "required": false; }; "nzxFrontPagination": { "alias": "nzxFrontPagination"; "required": false; }; "errorTemplate": { "alias": "errorTemplate"; "required": false; }; "enableNo": { "alias": "enableNo"; "required": false; }; "serialNumberWidth": { "alias": "serialNumberWidth"; "required": false; }; "serialNumberTemplate": { "alias": "serialNumberTemplate"; "required": false; }; "tableValidatorFn": { "alias": "tableValidatorFn"; "required": false; }; "tableFormConfig": { "alias": "tableFormConfig"; "required": false; }; }, { "limitMessage": "limitMessage"; }, ["tableExpandDirective", "tableTdDirectiveList", "tableThDirectiveList"], ["*"],
|
|
121
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NzxTableFormComponent, "nzx-table-form", ["NzxTableForm"], { "tableLayout": { "alias": "tableLayout"; "required": false; }; "tableAlign": { "alias": "tableAlign"; "required": false; }; "enableExpand": { "alias": "enableExpand"; "required": false; }; "nzxBordered": { "alias": "nzxBordered"; "required": false; }; "nzxSize": { "alias": "nzxSize"; "required": false; }; "enableLimit": { "alias": "enableLimit"; "required": false; }; "maxLimit": { "alias": "maxLimit"; "required": false; }; "minLimit": { "alias": "minLimit"; "required": false; }; "nzxFooter": { "alias": "nzxFooter"; "required": false; }; "nzxFrontPagination": { "alias": "nzxFrontPagination"; "required": false; }; "errorTemplate": { "alias": "errorTemplate"; "required": false; }; "enableNo": { "alias": "enableNo"; "required": false; }; "serialNumberWidth": { "alias": "serialNumberWidth"; "required": false; }; "serialNumberTemplate": { "alias": "serialNumberTemplate"; "required": false; }; "tableValidatorFn": { "alias": "tableValidatorFn"; "required": false; }; "tableFormConfig": { "alias": "tableFormConfig"; "required": false; }; }, { "limitMessage": "limitMessage"; }, ["tableExpandDirective", "tableTdDirectiveList", "tableThDirectiveList"], ["*"], true, never>;
|
|
122
122
|
}
|
|
@@ -3,17 +3,8 @@ import * as i1 from "./table-form.component";
|
|
|
3
3
|
import * as i2 from "./directive/table-td.directive";
|
|
4
4
|
import * as i3 from "./directive/table-th.directive";
|
|
5
5
|
import * as i4 from "./directive/table-expand.directive";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "@angular/forms";
|
|
8
|
-
import * as i7 from "ng-zorro-antd/form";
|
|
9
|
-
import * as i8 from "ng-zorro-antd/table";
|
|
10
|
-
import * as i9 from "ng-zorro-antd/radio";
|
|
11
|
-
import * as i10 from "ng-zorro-antd/input";
|
|
12
|
-
import * as i11 from "ng-zorro-antd/select";
|
|
13
|
-
import * as i12 from "ng-zorro-antd/date-picker";
|
|
14
|
-
import * as i13 from "ng-zorro-antd/input-number";
|
|
15
6
|
export declare class NzxTableFormModule {
|
|
16
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableFormModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTableFormModule, [typeof i1.NzxTableFormComponent, typeof i2.NzxTableFormTdDirective, typeof i3.NzxTableFormThDirective, typeof i4.NzxTableFormExpandDirective], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTableFormModule, never, [typeof i1.NzxTableFormComponent, typeof i2.NzxTableFormTdDirective, typeof i3.NzxTableFormThDirective, typeof i4.NzxTableFormExpandDirective], [typeof i1.NzxTableFormComponent, typeof i2.NzxTableFormTdDirective, typeof i3.NzxTableFormThDirective, typeof i4.NzxTableFormExpandDirective]>;
|
|
18
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTableFormModule>;
|
|
19
10
|
}
|
|
@@ -16,7 +16,7 @@ export declare abstract class NzxAbstractTableSelect<T extends PageTableRequire>
|
|
|
16
16
|
nzxBtnSpan: number;
|
|
17
17
|
nzxCollapse: boolean;
|
|
18
18
|
list: T[];
|
|
19
|
-
nzxQueryParamsChange: EventEmitter<
|
|
19
|
+
nzxQueryParamsChange: EventEmitter<NzxTableQueryParams | NzxQueryParams>;
|
|
20
20
|
/**
|
|
21
21
|
* 组件模式,支持多选单选,默认单选
|
|
22
22
|
* - single 单选
|
|
@@ -47,5 +47,5 @@ export declare abstract class NzxAbstractTableSelect<T extends PageTableRequire>
|
|
|
47
47
|
onItemChecked(data: T, checked: boolean): void;
|
|
48
48
|
getValue(obj: any, keys: string[] | string): any;
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxAbstractTableSelect<any>, never>;
|
|
50
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxAbstractTableSelect<any>, never, never, { "controls": { "alias": "controls"; "required": false; }; "checkboxWidth": { "alias": "checkboxWidth"; "required": false; }; "uniqueKey": { "alias": "uniqueKey"; "required": false; }; "nzxBtnSpan": { "alias": "nzxBtnSpan"; "required": false; }; "nzxCollapse": { "alias": "nzxCollapse"; "required": false; }; "list": { "alias": "list"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "tableConfig": { "alias": "tableConfig"; "required": false; }; }, { "nzxQueryParamsChange": "nzxQueryParamsChange"; }, ["dirs"], never,
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxAbstractTableSelect<any>, never, never, { "controls": { "alias": "controls"; "required": false; }; "checkboxWidth": { "alias": "checkboxWidth"; "required": false; }; "uniqueKey": { "alias": "uniqueKey"; "required": false; }; "nzxBtnSpan": { "alias": "nzxBtnSpan"; "required": false; }; "nzxCollapse": { "alias": "nzxCollapse"; "required": false; }; "list": { "alias": "list"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "tableConfig": { "alias": "tableConfig"; "required": false; }; }, { "nzxQueryParamsChange": "nzxQueryParamsChange"; }, ["dirs"], never, true, never>;
|
|
51
51
|
}
|
|
@@ -4,5 +4,5 @@ export declare class NzxKeyDirective {
|
|
|
4
4
|
key: string;
|
|
5
5
|
templateRef: TemplateRef<any>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxKeyDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxKeyDirective, "[nzxTableSelectKey]", ["NzxTableSelectKey"], { "key": { "alias": "nzxTableSelectKey"; "required": false; }; }, {}, never, never,
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxKeyDirective, "[nzxTableSelectKey]", ["NzxTableSelectKey"], { "key": { "alias": "nzxTableSelectKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
8
|
}
|
|
@@ -2,13 +2,8 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./key.directive";
|
|
3
3
|
import * as i2 from "./table-select/table-select.component";
|
|
4
4
|
import * as i3 from "./page-table-select/page-table-select.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "ng-zorro-antd/table";
|
|
7
|
-
import * as i6 from "ng-zorro-antd-extension/configurable-query";
|
|
8
|
-
import * as i7 from "ng-zorro-antd-extension/table-adaptor";
|
|
9
|
-
import * as i8 from "ng-zorro-antd-extension/pipes";
|
|
10
5
|
export declare class NzxTableSelectModule {
|
|
11
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableSelectModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTableSelectModule, [typeof i1.NzxKeyDirective, typeof i2.NzxTableSelectComponent, typeof i3.NzxPageTableSelectComponent], [typeof
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTableSelectModule, never, [typeof i1.NzxKeyDirective, typeof i2.NzxTableSelectComponent, typeof i3.NzxPageTableSelectComponent], [typeof i1.NzxKeyDirective, typeof i2.NzxTableSelectComponent, typeof i3.NzxPageTableSelectComponent]>;
|
|
13
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTableSelectModule>;
|
|
14
9
|
}
|
|
@@ -18,5 +18,5 @@ export declare class NzxPageTableSelectComponent<T extends PageTableRequire> ext
|
|
|
18
18
|
private cd;
|
|
19
19
|
ngOnChanges(changes: SimpleChanges): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxPageTableSelectComponent<any>, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NzxPageTableSelectComponent<any>, "nzx-page-table-select", ["NzxPageTableSelect"], { "loading": { "alias": "loading"; "required": false; }; "nzTotal": { "alias": "nzTotal"; "required": false; }; }, {}, never, never,
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NzxPageTableSelectComponent<any>, "nzx-page-table-select", ["NzxPageTableSelect"], { "loading": { "alias": "loading"; "required": false; }; "nzTotal": { "alias": "nzTotal"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
@@ -9,5 +9,5 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class NzxTableSelectComponent<T extends PageTableRequire> extends NzxAbstractTableSelect<T> implements OnChanges {
|
|
10
10
|
ngOnChanges(changes: SimpleChanges): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTableSelectComponent<any>, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NzxTableSelectComponent<any>, "nzx-table-select", ["NzxTableSelect"], {}, {}, never, never,
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NzxTableSelectComponent<any>, "nzx-table-select", ["NzxTableSelect"], {}, {}, never, never, true, never>;
|
|
13
13
|
}
|
|
@@ -16,5 +16,5 @@ export declare class NzxTimerButtonDirective implements AfterViewInit, OnDestroy
|
|
|
16
16
|
ngAfterViewInit(): void;
|
|
17
17
|
ngOnDestroy(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTimerButtonDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTimerButtonDirective, "button[nzxTimerButton]", ["NzxTimerButton"], { "duration": { "alias": "duration"; "required": false; }; }, { "isCompleted": "isCompleted"; "remainingTime": "remainingTime"; }, never, never,
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTimerButtonDirective, "button[nzxTimerButton]", ["NzxTimerButton"], { "duration": { "alias": "duration"; "required": false; }; }, { "isCompleted": "isCompleted"; "remainingTime": "remainingTime"; }, never, never, true, never>;
|
|
20
20
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./timer-button.directive";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
3
|
export declare class NzxTimerButtonModule {
|
|
5
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTimerButtonModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTimerButtonModule, [typeof i1.NzxTimerButtonDirective], [typeof
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTimerButtonModule, never, [typeof i1.NzxTimerButtonDirective], [typeof i1.NzxTimerButtonDirective]>;
|
|
7
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTimerButtonModule>;
|
|
8
7
|
}
|
package/trim/trim.directive.d.ts
CHANGED
|
@@ -35,5 +35,5 @@ export declare class NzxTrimDirective implements ControlValueAccessor {
|
|
|
35
35
|
registerOnTouched(fn: any): void;
|
|
36
36
|
setProperty(key: string, value: any): void;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTrimDirective, [null, null, { optional: true; }]>;
|
|
38
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTrimDirective, "[nzxTrim]", ["NzxTrim"], { "trimType": { "alias": "trimType"; "required": false; }; }, {}, never, never,
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxTrimDirective, "[nzxTrim]", ["NzxTrim"], { "trimType": { "alias": "trimType"; "required": false; }; }, {}, never, never, true, never>;
|
|
39
39
|
}
|
package/trim/trim.module.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./trim.directive";
|
|
3
3
|
export declare class NzxTrimModule {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxTrimModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTrimModule, [typeof i1.NzxTrimDirective],
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxTrimModule, never, [typeof i1.NzxTrimDirective], [typeof i1.NzxTrimDirective]>;
|
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<NzxTrimModule>;
|
|
7
7
|
}
|
|
@@ -37,5 +37,5 @@ export declare class NzxWangEditorDirective implements OnInit, ControlValueAcces
|
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
38
|
private genErrorInfo;
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxWangEditorDirective, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxWangEditorDirective, "nzx-wang-editor,[nzxWangEditor]", ["NzxWangEditor"], { "mode": { "alias": "mode"; "required": false; }; "defaultContent": { "alias": "defaultContent"; "required": false; }; "defaultHtml": { "alias": "defaultHtml"; "required": false; }; "defaultConfig": { "alias": "defaultConfig"; "required": false; }; "height": { "alias": "height"; "required": false; }; "textRequired": { "alias": "textRequired"; "required": false; }; }, { "onCreated": "onCreated"; "onDestroyed": "onDestroyed"; "onMaxLength": "onMaxLength"; "onFocus": "onFocus"; "onBlur": "onBlur"; "customAlert": "customAlert"; "customPaste": "customPaste"; "onChange": "onChange"; }, never, never,
|
|
40
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxWangEditorDirective, "nzx-wang-editor,[nzxWangEditor]", ["NzxWangEditor"], { "mode": { "alias": "mode"; "required": false; }; "defaultContent": { "alias": "defaultContent"; "required": false; }; "defaultHtml": { "alias": "defaultHtml"; "required": false; }; "defaultConfig": { "alias": "defaultConfig"; "required": false; }; "height": { "alias": "height"; "required": false; }; "textRequired": { "alias": "textRequired"; "required": false; }; }, { "onCreated": "onCreated"; "onDestroyed": "onDestroyed"; "onMaxLength": "onMaxLength"; "onFocus": "onFocus"; "onBlur": "onBlur"; "customAlert": "customAlert"; "customPaste": "customPaste"; "onChange": "onChange"; }, never, never, true, never>;
|
|
41
41
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./wang-toolbar.component";
|
|
3
3
|
import * as i2 from "./wang-editor.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
4
|
export declare class NzxWangEditorModule {
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxWangEditorModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxWangEditorModule, [typeof i1.NzxWangToolbarDirective, typeof i2.NzxWangEditorDirective], [typeof
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxWangEditorModule, never, [typeof i1.NzxWangToolbarDirective, typeof i2.NzxWangEditorDirective], [typeof i1.NzxWangToolbarDirective, typeof i2.NzxWangEditorDirective]>;
|
|
8
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<NzxWangEditorModule>;
|
|
9
8
|
}
|
|
@@ -15,5 +15,5 @@ export declare class NzxWangToolbarDirective implements OnInit, OnChanges, OnDes
|
|
|
15
15
|
private initToolbar;
|
|
16
16
|
ngOnDestroy(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NzxWangToolbarDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxWangToolbarDirective, "nzx-wang-toolbar,[nzxWangToolbar]", ["NzxWangToolbar"], { "mode": { "alias": "mode"; "required": false; }; "editor": { "alias": "editor"; "required": false; }; "defaultConfig": { "alias": "defaultConfig"; "required": false; }; }, {}, never, never,
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NzxWangToolbarDirective, "nzx-wang-toolbar,[nzxWangToolbar]", ["NzxWangToolbar"], { "mode": { "alias": "mode"; "required": false; }; "editor": { "alias": "editor"; "required": false; }; "defaultConfig": { "alias": "defaultConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
19
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export declare class NzxDynamicFormModule {
|
|
5
|
-
static forRoot(): ModuleWithProviders<NzxDynamicFormModule>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NzxDynamicFormModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NzxDynamicFormModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NzxDynamicFormModule>;
|
|
9
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctem9ycm8tYW50ZC1leHRlbnNpb24tYWNsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vY29tcG9uZW50cy9hY2wvbmctem9ycm8tYW50ZC1leHRlbnNpb24tYWNsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { Directive, Input, } from '@angular/core';
|
|
2
|
-
import { Subject, takeUntil } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "./nzx-acl.service";
|
|
5
|
-
export class NzxAclDirective {
|
|
6
|
-
constructor(templateRef, viewContainerRef, nzxAclService, cd) {
|
|
7
|
-
this.templateRef = templateRef;
|
|
8
|
-
this.viewContainerRef = viewContainerRef;
|
|
9
|
-
this.nzxAclService = nzxAclService;
|
|
10
|
-
this.cd = cd;
|
|
11
|
-
this.codes = '';
|
|
12
|
-
this.dataAcl = true;
|
|
13
|
-
this.destroy$ = new Subject();
|
|
14
|
-
}
|
|
15
|
-
ngOnDestroy() {
|
|
16
|
-
this.destroy$.next();
|
|
17
|
-
this.destroy$.complete();
|
|
18
|
-
}
|
|
19
|
-
ngOnInit() {
|
|
20
|
-
this.viewContainerRef.clear();
|
|
21
|
-
this.nzxAclService.permissions$
|
|
22
|
-
.pipe(takeUntil(this.destroy$))
|
|
23
|
-
.subscribe((acls) => {
|
|
24
|
-
this.viewContainerRef.clear();
|
|
25
|
-
this.judge(acls);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
judge(acls) {
|
|
29
|
-
if (Array.isArray(this.codes)) {
|
|
30
|
-
const isFind = acls.some((acl) => {
|
|
31
|
-
return this.codes.includes(acl) === true;
|
|
32
|
-
});
|
|
33
|
-
if (isFind) {
|
|
34
|
-
this.createView(acls);
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
if (this.nzxAclElse) {
|
|
38
|
-
this.viewContainerRef.createEmbeddedView(this.nzxAclElse);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
if (typeof this.codes === 'string') {
|
|
43
|
-
if (acls.includes(this.codes)) {
|
|
44
|
-
this.createView(acls);
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
if (this.nzxAclElse) {
|
|
48
|
-
this.viewContainerRef.createEmbeddedView(this.nzxAclElse);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
createView(acls) {
|
|
54
|
-
if (this.dataAcl) {
|
|
55
|
-
this.viewContainerRef.createEmbeddedView(this.templateRef, {
|
|
56
|
-
$implicit: acls,
|
|
57
|
-
currentAcl: this.codes,
|
|
58
|
-
});
|
|
59
|
-
this.cd.markForCheck();
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxAclDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.NzxAclService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
63
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: NzxAclDirective, selector: "[nzxAcl]", inputs: { codes: ["nzxAcl", "codes"], nzxAclElse: "nzxAclElse", dataAcl: ["nzxAclDataAcl", "dataAcl"] }, exportAs: ["NzxAcl"], ngImport: i0 }); }
|
|
64
|
-
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxAclDirective, decorators: [{
|
|
66
|
-
type: Directive,
|
|
67
|
-
args: [{
|
|
68
|
-
selector: '[nzxAcl]',
|
|
69
|
-
exportAs: 'NzxAcl',
|
|
70
|
-
}]
|
|
71
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i1.NzxAclService }, { type: i0.ChangeDetectorRef }], propDecorators: { codes: [{
|
|
72
|
-
type: Input,
|
|
73
|
-
args: ['nzxAcl']
|
|
74
|
-
}], nzxAclElse: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], dataAcl: [{
|
|
77
|
-
type: Input,
|
|
78
|
-
args: ['nzxAclDataAcl']
|
|
79
|
-
}] } });
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnp4LWFjbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9jb21wb25lbnRzL2FjbC9uengtYWNsLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsU0FBUyxFQUNULEtBQUssR0FLTixNQUFNLGVBQWUsQ0FBQztBQUd2QixPQUFPLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQzs7O0FBVzFDLE1BQU0sT0FBTyxlQUFlO0lBUzFCLFlBQ1UsV0FBb0MsRUFDcEMsZ0JBQWtDLEVBQ2xDLGFBQTRCLEVBQzVCLEVBQXFCO1FBSHJCLGdCQUFXLEdBQVgsV0FBVyxDQUF5QjtRQUNwQyxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWtCO1FBQ2xDLGtCQUFhLEdBQ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udGFpbmVyUmVmLmNyZWF0ZUVtYmVkZGVkVmlldyh0aGlzLm56eEFjbEVsc2UpO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuXG4gICAgaWYgKHR5cGVvZiB0aGlzLmNvZGVzID09PSAnc3RyaW5nJykge1xuICAgICAgaWYgKGFjbHMuaW5jbHVkZXModGhpcy5jb2RlcykpIHtcbiAgICAgICAgdGhpcy5jcmVhdGVWaWV3KGFjbHMpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgaWYgKHRoaXMubnp4QWNsRWxzZSkge1xuICAgICAgICAgIHRoaXMudmlld0NvbnRhaW5lclJlZi5jcmVhdGVFbWJlZGRlZFZpZXcodGhpcy5uenhBY2xFbHNlKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIHByaXZhdGUgY3JlYXRlVmlldyhhY2xzOiBzdHJpbmdbXSkge1xuICAgIGlmICh0aGlzLmRhdGFBY2wpIHtcbiAgICAgIHRoaXMudmlld0NvbnRhaW5lclJlZi5jcmVhdGVFbWJlZGRlZFZpZXcodGhpcy50ZW1wbGF0ZVJlZiwge1xuICAgICAgICAkaW1wbGljaXQ6IGFjbHMsXG4gICAgICAgIGN1cnJlbnRBY2w6IHRoaXMuY29kZXMsXG4gICAgICB9KTtcbiAgICAgIHRoaXMuY2QubWFya0ZvckNoZWNrKCk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { NzxAclDirective } from './nzx-acl.directive';
|
|
4
|
-
import { NzxAclService } from './nzx-acl.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class NzxAclModule {
|
|
7
|
-
static forRoot() {
|
|
8
|
-
return {
|
|
9
|
-
ngModule: NzxAclModule,
|
|
10
|
-
providers: [NzxAclService],
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxAclModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
14
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: NzxAclModule, declarations: [NzxAclDirective], imports: [CommonModule], exports: [NzxAclDirective] }); }
|
|
15
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxAclModule, imports: [CommonModule] }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxAclModule, decorators: [{
|
|
18
|
-
type: NgModule,
|
|
19
|
-
args: [{
|
|
20
|
-
imports: [CommonModule],
|
|
21
|
-
declarations: [NzxAclDirective],
|
|
22
|
-
exports: [NzxAclDirective],
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnp4LWFjbC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9jb21wb25lbnRzL2FjbC9uengtYWNsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUF1QixRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQzs7QUFPbEQsTUFBTSxPQUFPLFlBQVk7SUFDdkIsTUFBTSxDQUFDLE9BQU87UUFDWixPQ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4gIH1cbn1cbiJdfQ==
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class NzxAclService {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.permissionsSource = new BehaviorSubject([]);
|
|
7
|
-
this.permissions$ = this.permissionsSource.asObservable();
|
|
8
|
-
}
|
|
9
|
-
/** 加载权限 */
|
|
10
|
-
loadPermissions(permissions) {
|
|
11
|
-
this.permissionsSource.next([
|
|
12
|
-
...this.permissionsSource.value,
|
|
13
|
-
...permissions,
|
|
14
|
-
]);
|
|
15
|
-
}
|
|
16
|
-
/** 含有权限 */
|
|
17
|
-
hasPermission(permission) {
|
|
18
|
-
return this.permissionsSource.value.includes(permission);
|
|
19
|
-
}
|
|
20
|
-
/** 添加权限 */
|
|
21
|
-
addPermission(permission) {
|
|
22
|
-
if (this.hasPermission(permission)) {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
const permissions = [...this.permissionsSource.value, permission];
|
|
26
|
-
this.permissionsSource.next(permissions);
|
|
27
|
-
}
|
|
28
|
-
/** 移除权限 */
|
|
29
|
-
removePermission(permission) {
|
|
30
|
-
const permissions = this.permissionsSource.value.filter((p) => p !== permission);
|
|
31
|
-
this.permissionsSource.next(permissions);
|
|
32
|
-
}
|
|
33
|
-
/** 刷新权限 */
|
|
34
|
-
refreshPermission() {
|
|
35
|
-
setTimeout(() => {
|
|
36
|
-
this.permissionsSource.next(this.permissionsSource.value);
|
|
37
|
-
}, 0);
|
|
38
|
-
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxAclService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
40
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxAclService }); }
|
|
41
|
-
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxAclService, decorators: [{
|
|
43
|
-
type: Injectable
|
|
44
|
-
}], ctorParameters: () => [] });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnp4LWFjbC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vY29tcG9uZW50cy9hY2wvbnp4LWFjbC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBYyxNQUFNLE1BQU0sQ0FBQzs7QUFHbkQsTUFBTSxPQUFPLGFBQWE7SUFLeEI7UUFDRSxJQUFJLENBQUMsaUJBQWlCLEdBQUcsSUFBSSxlQUFlLENBQVcsRUFBRSxDQUFDLENBQUM7UUFDM0QsSUFBSSxDQUFDLFlBQVksR0FBRyxJQUFJLENBQUMsaUJBQWlCLENBQUMsWUFBWSxFQUFFLENBQUM7SUFDNUQsQ0FBQztJQUVELFdBQVc7SUFDWCxlQUFlLENBQUMsV0FBcUI7UUFDbkMsSUFBSSxDQUFDLGlCQUFpQixDQUFDLElBQUksQ0FBQztZQUMxQixHQUFHLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxLQUFLO1lBQy9CLEdBQUcsV0FBVztTQUNmLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRCxXQUFXO0lBQ1gsYUFBYSxDQUFDLFVBQWtCO1FBQzlCLE9BQU8sSUFBSSxDQUFDLGlCQUFpQixDQUFDLEtBQUssQ0FBQyxRQUFRLENBQUMsVUFBVSxDQUFDLENBQUM7SUFDM0QsQ0FBQztJQUVELFdBQVc7SUFDWCxhQUFhLENBQ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UubmV4dChwZXJtaXNzaW9ucyk7XG4gIH1cblxuICAvKiog56e76Zmk5p2D6ZmQICovXG4gIHJlbW92ZVBlcm1pc3Npb24ocGVybWlzc2lvbjogc3RyaW5nKSB7XG4gICAgY29uc3QgcGVybWlzc2lvbnMgPSB0aGlzLnBlcm1pc3Npb25zU291cmNlLnZhbHVlLmZpbHRlcihcbiAgICAgIChwKSA9PiBwICE9PSBwZXJtaXNzaW9uXG4gICAgKTtcbiAgICB0aGlzLnBlcm1pc3Npb25zU291cmNlLm5leHQocGVybWlzc2lvbnMpO1xuICB9XG5cbiAgLyoqIOWIt+aWsOadg+mZkCAqL1xuICByZWZyZXNoUGVybWlzc2lvbigpIHtcbiAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgIHRoaXMucGVybWlzc2lvbnNTb3VyY2UubmV4dCh0aGlzLnBlcm1pc3Npb25zU291cmNlLnZhbHVlKTtcbiAgICB9LCAwKTtcbiAgfVxufVxuIl19
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3
|
-
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
|
|
4
|
-
*/
|
|
5
|
-
export * from './nzx-acl.directive';
|
|
6
|
-
export * from './nzx-acl.service';
|
|
7
|
-
export * from './nzx-acl.module';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NvbXBvbmVudHMvYWNsL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBQ0gsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vZ2l0aHViLmNvbS9ORy1aT1JSTy9uZy16b3Jyby1hbnRkL2Jsb2IvbWFzdGVyL0xJQ0VOU0VcbiAqL1xuZXhwb3J0ICogZnJvbSAnLi9uengtYWNsLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL256eC1hY2wuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL256eC1hY2wubW9kdWxlJztcbiJdfQ==
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @angular-eslint/component-selector */
|
|
2
|
-
import { ChangeDetectionStrategy, Component, ContentChild, forwardRef, TemplateRef, } from '@angular/core';
|
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
export class NzxBlankFieldComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.contextExp = {};
|
|
9
|
-
this.propagateChange = (_) => { };
|
|
10
|
-
}
|
|
11
|
-
registerOnChange(fn) {
|
|
12
|
-
// this.propagateChange = fn;
|
|
13
|
-
}
|
|
14
|
-
registerOnTouched(fn) { }
|
|
15
|
-
setDisabledState(isDisabled) {
|
|
16
|
-
this.contextExp.disabled = isDisabled;
|
|
17
|
-
}
|
|
18
|
-
writeValue(obj) {
|
|
19
|
-
this.contextExp.$implicit = obj;
|
|
20
|
-
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxBlankFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NzxBlankFieldComponent, selector: "nzx-blank-field", providers: [
|
|
23
|
-
{
|
|
24
|
-
provide: NG_VALUE_ACCESSOR,
|
|
25
|
-
useExisting: forwardRef(() => NzxBlankFieldComponent),
|
|
26
|
-
multi: true,
|
|
27
|
-
},
|
|
28
|
-
], queries: [{ propertyName: "templateRefExp", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: ` <ng-container
|
|
29
|
-
*ngTemplateOutlet="templateRefExp; context: contextExp"
|
|
30
|
-
></ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
31
|
-
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxBlankFieldComponent, decorators: [{
|
|
33
|
-
type: Component,
|
|
34
|
-
args: [{
|
|
35
|
-
selector: 'nzx-blank-field',
|
|
36
|
-
template: ` <ng-container
|
|
37
|
-
*ngTemplateOutlet="templateRefExp; context: contextExp"
|
|
38
|
-
></ng-container>`,
|
|
39
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
40
|
-
providers: [
|
|
41
|
-
{
|
|
42
|
-
provide: NG_VALUE_ACCESSOR,
|
|
43
|
-
useExisting: forwardRef(() => NzxBlankFieldComponent),
|
|
44
|
-
multi: true,
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
}]
|
|
48
|
-
}], propDecorators: { templateRefExp: [{
|
|
49
|
-
type: ContentChild,
|
|
50
|
-
args: [TemplateRef]
|
|
51
|
-
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxhbmstZmllbGQuY29tcG9uZW50LmpzIiwic291cm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2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICBwcm92aWRlcnM6IFtcbiAgICB7XG4gICAgICBwcm92aWRlOiBOR19WQUxVRV9BQ0NFU1NPUixcbiAgICAgIHVzZUV4aXN0aW5nOiBmb3J3YXJkUmVmKCgpID0+IE56eEJsYW5rRmllbGRDb21wb25lbnQpLFxuICAgICAgbXVsdGk6IHRydWUsXG4gICAgfSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgTnp4QmxhbmtGaWVsZENvbXBvbmVudCBpbXBsZW1lbnRzIENvbnRyb2xWYWx1ZUFjY2Vzc29yIHtcbiAgY29udGV4dEV4cDogQ29udGV4dCA9IHt9IGFzIENvbnRleHQ7XG4gIEBDb250ZW50Q2hpbGQoVGVtcGxhdGVSZWYpIHRlbXBsYXRlUmVmRXhwITogVGVtcGxhdGVSZWY8Q29udGV4dD47XG5cbiAgcHJpdmF0ZSBwcm9wYWdhdGVDaGFuZ2UgPSAoXzogYW55KSA9PiB7fTtcblxuICByZWdpc3Rlck9uQ2hhbmdlKGZuOiBhbnkpOiB2b2lkIHtcbiAgICAvLyB0aGlzLnByb3BhZ2F0ZUNoYW5nZSA9IGZuO1xuICB9XG5cbiAgcmVnaXN0ZXJPblRvdWNoZWQoZm46IGFueSk6IHZvaWQge31cblxuICBzZXREaXNhYmxlZFN0YXRlKGlzRGlzYWJsZWQ6IGJvb2xlYW4pOiB2b2lkIHtcbiAgICB0aGlzLmNvbnRleHRFeHAuZGlzYWJsZWQgPSBpc0Rpc2FibGVkO1xuICB9XG5cbiAgd3JpdGVWYWx1ZShvYmo6IGFueSk6IHZvaWQge1xuICAgIHRoaXMuY29udGV4dEV4cC4kaW1wbGljaXQgPSBvYmo7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { NzxBlankFieldComponent } from './blank-field.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class NzxBlankFieldModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxBlankFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: NzxBlankFieldModule, declarations: [NzxBlankFieldComponent], imports: [CommonModule], exports: [NzxBlankFieldComponent] }); }
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxBlankFieldModule, imports: [CommonModule] }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NzxBlankFieldModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [NzxBlankFieldComponent],
|
|
14
|
-
imports: [CommonModule],
|
|
15
|
-
exports: [NzxBlankFieldComponent],
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxhbmstZmllbGQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vY29tcG9uZW50cy9ibGFuay1maWVsZC9ibGFuay1maWVsZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0seUJBQXlCLENBQUM7O0FBT2pFLE1BQU0sT0FBTyxtQkFBbUI7K0dBQW5CLG1CQUFtQjtnSEFBbkIsbUJBQW1CLGlCQUpmLHNCQUFzQixhQUMzQixZQUFZLGFBQ1osc0JBQXNCO2dIQUVyQixtQkFBbUIsWUFIcEIsWUFBWTs7NEZBR1gsbUJBQW1CO2tCQUwvQixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLHNCQUFzQixDQUFDO29CQUN0QyxPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLE9BQU8sRUFBRSxDQUFDLHNCQUFzQixDQUFDO2lCQUNsQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBOenhCbGFua0ZpZWxkQ29tcG9uZW50IH0gZnJvbSAnLi9ibGFuay1maWVsZC5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtOenhCbGFua0ZpZWxkQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtOenhCbGFua0ZpZWxkQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgTnp4QmxhbmtGaWVsZE1vZHVsZSB7fVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctem9ycm8tYW50ZC1leHRlbnNpb24tYmxhbmstZmllbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9jb21wb25lbnRzL2JsYW5rLWZpZWxkL25nLXpvcnJvLWFudGQtZXh0ZW5zaW9uLWJsYW5rLWZpZWxkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
3
|
-
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
|
|
4
|
-
*/
|
|
5
|
-
export * from './blank-field.module';
|
|
6
|
-
export * from './blank-field.component';
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2NvbXBvbmVudHMvYmxhbmstZmllbGQvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0dBR0c7QUFFSCxjQUFjLHNCQUFzQixDQUFDO0FBRXJDLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vZ2l0aHViLmNvbS9ORy1aT1JSTy9uZy16b3Jyby1hbnRkL2Jsb2IvbWFzdGVyL0xJQ0VOU0VcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2JsYW5rLWZpZWxkLm1vZHVsZSc7XG5cbmV4cG9ydCAqIGZyb20gJy4vYmxhbmstZmllbGQuY29tcG9uZW50JztcbiJdfQ==
|