ngx-formly-zorro-antd 17.0.11 → 17.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/autocomplete/autocomplete.props.d.ts +2 -4
- package/autocomplete/package.json +3 -0
- package/button/package.json +3 -0
- package/button-group/package.json +3 -0
- package/card/card.module.d.ts +1 -1
- package/card/package.json +3 -0
- package/card-wrapper/card-wrapper.props.d.ts +3 -2
- package/card-wrapper/package.json +3 -0
- package/cascader/package.json +3 -0
- package/checkbox/package.json +3 -0
- package/common/interface.d.ts +3 -1
- package/common/package.json +3 -0
- package/datepicker/package.json +3 -0
- package/esm2022/autocomplete/autocomplete.props.mjs +1 -1
- package/esm2022/autocomplete/public_api.mjs +1 -1
- package/esm2022/button/button.module.mjs +1 -1
- package/esm2022/button/button.type.mjs +123 -123
- package/esm2022/button/public_api.mjs +1 -1
- package/esm2022/button-group/button-group.module.mjs +1 -1
- package/esm2022/button-group/button-group.type.mjs +67 -67
- package/esm2022/button-group/public_api.mjs +1 -1
- package/esm2022/card/card.module.mjs +3 -4
- package/esm2022/card/card.type.mjs +51 -51
- package/esm2022/card/public_api.mjs +1 -1
- package/esm2022/card-wrapper/card-wrapper.module.mjs +1 -1
- package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
- package/esm2022/card-wrapper/card.wrapper.mjs +37 -37
- package/esm2022/card-wrapper/public_api.mjs +1 -1
- package/esm2022/cascader/cascader.module.mjs +1 -1
- package/esm2022/cascader/cascader.type.mjs +65 -65
- package/esm2022/cascader/public_api.mjs +1 -1
- package/esm2022/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/checkbox/checkbox.type.mjs +39 -39
- package/esm2022/checkbox/public_api.mjs +1 -1
- package/esm2022/common/common.module.mjs +1 -1
- package/esm2022/common/formly-box-templates.directive.mjs +1 -1
- package/esm2022/common/formly-utils.mjs +1 -1
- package/esm2022/common/interface.mjs +1 -1
- package/esm2022/common/public_api.mjs +1 -1
- package/esm2022/datepicker/datepicker.module.mjs +1 -1
- package/esm2022/datepicker/datepicker.props.mjs +1 -1
- package/esm2022/datepicker/datepicker.type.mjs +149 -149
- package/esm2022/datepicker/public_api.mjs +1 -1
- package/esm2022/extension/public_api.mjs +1 -1
- package/esm2022/extension/value-changes-extension.mjs +1 -1
- package/esm2022/form-field/form-field.module.mjs +1 -1
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +159 -125
- package/esm2022/form-field/public_api.mjs +1 -1
- package/esm2022/grid/grid.module.mjs +1 -1
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/grid/grid.type.mjs +59 -59
- package/esm2022/grid/public_api.mjs +1 -1
- package/esm2022/index.mjs +1 -1
- package/esm2022/input/input.module.mjs +1 -1
- package/esm2022/input/input.props.mjs +1 -1
- package/esm2022/input/input.type.mjs +275 -275
- package/esm2022/input/public_api.mjs +1 -1
- package/esm2022/input-group/input-group.module.mjs +1 -1
- package/esm2022/input-group/input-group.props.mjs +1 -1
- package/esm2022/input-group/input-group.type.mjs +39 -39
- package/esm2022/input-group/public_api.mjs +1 -1
- package/esm2022/input-number/input-number.module.mjs +1 -1
- package/esm2022/input-number/input-number.props.mjs +1 -1
- package/esm2022/input-number/input-number.type.mjs +89 -89
- package/esm2022/input-number/public_api.mjs +1 -1
- package/esm2022/lib/ui-ng-zorro-antd.mjs +1 -1
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +1 -1
- package/esm2022/radio/public_api.mjs +1 -1
- package/esm2022/radio/radio.module.mjs +1 -1
- package/esm2022/radio/radio.type.mjs +81 -81
- package/esm2022/rate/public_api.mjs +1 -1
- package/esm2022/rate/rate.module.mjs +1 -1
- package/esm2022/rate/rate.type.mjs +33 -33
- package/esm2022/ref-template/public_api.mjs +1 -1
- package/esm2022/ref-template/ref-template.module.mjs +1 -1
- package/esm2022/ref-template/ref-template.type.mjs +9 -9
- package/esm2022/select/public_api.mjs +1 -1
- package/esm2022/select/select.module.mjs +1 -1
- package/esm2022/select/select.props.mjs +1 -1
- package/esm2022/select/select.type.mjs +123 -123
- package/esm2022/slider/public_api.mjs +1 -1
- package/esm2022/slider/slider.module.mjs +1 -1
- package/esm2022/slider/slider.type.mjs +33 -33
- package/esm2022/space/public_api.mjs +1 -1
- package/esm2022/space/space.module.mjs +1 -1
- package/esm2022/space/space.type.mjs +27 -27
- package/esm2022/switch/public_api.mjs +1 -1
- package/esm2022/switch/switch.module.mjs +1 -1
- package/esm2022/switch/switch.type.mjs +25 -25
- package/esm2022/tabs/public_api.mjs +1 -1
- package/esm2022/tabs/tabs.module.mjs +1 -1
- package/esm2022/tabs/tabs.props.mjs +1 -1
- package/esm2022/tabs/tabs.wrapper.mjs +79 -79
- package/esm2022/text-value/ngx-formly-zorro-antd-text-value.mjs +5 -0
- package/esm2022/text-value/public_api.mjs +3 -0
- package/esm2022/text-value/text-value.module.mjs +46 -0
- package/esm2022/text-value/text-value.type.mjs +68 -0
- package/esm2022/textarea/public_api.mjs +1 -1
- package/esm2022/textarea/textarea.module.mjs +1 -1
- package/esm2022/textarea/textarea.type.mjs +113 -113
- package/esm2022/timepicker/public_api.mjs +1 -1
- package/esm2022/timepicker/timepicker.module.mjs +1 -1
- package/esm2022/timepicker/timepicker.type.mjs +61 -61
- package/esm2022/transfer/public_api.mjs +1 -1
- package/esm2022/transfer/transfer.component.mjs +49 -49
- package/esm2022/transfer/transfer.module.mjs +1 -1
- package/esm2022/transfer/transfer.type.mjs +47 -47
- package/esm2022/tree-select/public_api.mjs +1 -1
- package/esm2022/tree-select/tree-select.module.mjs +1 -1
- package/esm2022/tree-select/tree-select.type.mjs +69 -69
- package/esm2022/upload/public_api.mjs +1 -1
- package/esm2022/upload/upload.component.mjs +145 -145
- package/esm2022/upload/upload.module.mjs +1 -1
- package/esm2022/upload/upload.props.mjs +1 -1
- package/esm2022/upload/upload.type.mjs +88 -87
- package/extension/package.json +3 -0
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +66 -66
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +122 -122
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +36 -36
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +52 -53
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +64 -64
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +38 -38
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +148 -148
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +158 -124
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +58 -58
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +38 -38
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +88 -88
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +274 -274
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +80 -80
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +32 -32
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +8 -8
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +122 -122
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +32 -32
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +26 -26
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +78 -78
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +115 -0
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +112 -112
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +60 -60
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +94 -94
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +68 -68
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +230 -230
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.props.d.ts +24 -16
- package/form-field/form-field.wrapper.d.ts +4 -0
- package/form-field/package.json +3 -0
- package/grid/grid.props.d.ts +6 -9
- package/grid/package.json +3 -0
- package/input/package.json +3 -0
- package/input-group/package.json +3 -0
- package/input-number/package.json +3 -0
- package/package.json +19 -13
- package/radio/package.json +3 -0
- package/rate/package.json +3 -0
- package/ref-template/package.json +3 -0
- package/select/package.json +3 -0
- package/slider/package.json +3 -0
- package/space/package.json +3 -0
- package/switch/package.json +3 -0
- package/tabs/package.json +3 -0
- package/text-value/index.d.ts +5 -0
- package/text-value/package.json +3 -0
- package/text-value/public_api.d.ts +2 -0
- package/text-value/text-value.module.d.ts +11 -0
- package/text-value/text-value.type.d.ts +37 -0
- package/textarea/package.json +3 -0
- package/timepicker/package.json +3 -0
- package/transfer/package.json +3 -0
- package/tree-select/package.json +3 -0
- package/tree-select/tree-select.type.d.ts +2 -3
- package/upload/package.json +3 -0
- package/upload/upload.component.d.ts +3 -4
package/README.md
CHANGED
@@ -1 +1 @@
|
|
1
|
-
# formlyantd
|
1
|
+
# formlyantd
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { CompareWith } from 'ng-zorro-antd/core/types';
|
1
|
+
import type { CompareWith, NgStyleInterface } from 'ng-zorro-antd/core/types';
|
2
2
|
import type { AutocompleteDataSource } from 'ng-zorro-antd/auto-complete';
|
3
3
|
export interface AutocompleteProps {
|
4
4
|
/**
|
@@ -26,9 +26,7 @@ export interface AutocompleteProps {
|
|
26
26
|
/**
|
27
27
|
* 下拉根元素的样式
|
28
28
|
*/
|
29
|
-
overlayStyle?:
|
30
|
-
[key: string]: string;
|
31
|
-
};
|
29
|
+
overlayStyle?: NgStyleInterface;
|
32
30
|
/**
|
33
31
|
* 与 SelectControlValueAccessor 相同
|
34
32
|
* @default
|
package/card/card.module.d.ts
CHANGED
@@ -6,6 +6,6 @@ import * as i4 from "ng-zorro-antd/core/outlet";
|
|
6
6
|
import * as i5 from "@ngx-formly/core";
|
7
7
|
export declare class FormlyNzCardModule {
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzCardModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCardModule, [typeof i1.FormlyFieldCard], [typeof i2.CommonModule, typeof i3.NzCardModule, typeof i4.NzOutletModule, typeof i5.FormlyModule],
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCardModule, [typeof i1.FormlyFieldCard], [typeof i2.CommonModule, typeof i3.NzCardModule, typeof i4.NzOutletModule, typeof i5.FormlyModule], never>;
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzCardModule>;
|
11
11
|
}
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
2
|
+
import type { NgClassType } from 'ngx-formly-zorro-antd/common';
|
2
3
|
import type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';
|
3
4
|
export interface CardWrapperProps {
|
4
5
|
/**
|
5
|
-
* 自定义
|
6
|
+
* 自定义css类
|
6
7
|
*/
|
7
|
-
|
8
|
+
ngClass?: NgClassType;
|
8
9
|
/**
|
9
10
|
* 卡片操作组,位置在卡片底部
|
10
11
|
*/
|
package/common/interface.d.ts
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
import { FormlyFieldConfig, FormlyFieldProps } from '@ngx-formly/core';
|
2
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
2
|
+
import type { NzSafeAny, NgClassInterface, NgStyleInterface } from 'ng-zorro-antd/core/types';
|
3
|
+
export type NgClassType = string | string[] | Set<string> | NgClassInterface | null;
|
4
|
+
export type NgStyleType = NgStyleInterface | null;
|
3
5
|
/**
|
4
6
|
* 控件模板参数配置项
|
5
7
|
*/
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLnByb3BzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4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Ivmi4nmoLnlhYPntKDnmoTmoLflvI9cbiAgICovXG4gIG92ZXJsYXlTdHlsZT86IE5nU3R5bGVJbnRlcmZhY2U7XG5cbiAgLyoqXG4gICAqIOS4jiBTZWxlY3RDb250cm9sVmFsdWVBY2Nlc3NvciDnm7jlkIxcbiAgICogQGRlZmF1bHRcbiAgICogKG8xOiBhbnksIG8yOiBhbnkpID0+IG8xPT09bzJcbiAgICovXG4gIGNvbXBhcmVXaXRoPzogQ29tcGFyZVdpdGg7XG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvYXV0b2NvbXBsZXRlL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBBdXRvY29tcGxldGVQcm9wcyB9IGZyb20gJy4vYXV0b2NvbXBsZXRlLnByb3BzJztcbiJdfQ==
|
@@ -62,4 +62,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
62
62
|
]
|
63
63
|
}]
|
64
64
|
}] });
|
65
|
-
//# sourceMappingURL=data:application/json;base64,
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvYnV0dG9uL3NyYy9idXR0b24ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3Mi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G5cbiAgICBGb3JtbHlNb2R1bGUuZm9yQ2hpbGQoe1xuICAgICAgdHlwZXM6IFtcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdidXR0b24nLFxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRCdXR0b25cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdzdWJtaXQnLFxuICAgICAgICAgIGV4dGVuZHM6ICdidXR0b24nXG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAncmVzZXQnLFxuICAgICAgICAgIGV4dGVuZHM6ICdidXR0b24nXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56QnV0dG9uTW9kdWxlIHt9XG4iXX0=
|
@@ -31,138 +31,138 @@ export class FormlyFieldButton extends FieldType {
|
|
31
31
|
return resolveTplName(this.props, this.fieldTemplates, 'text');
|
32
32
|
}
|
33
33
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldButton, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
35
|
-
@if (props.type === 'a') {
|
36
|
-
<a
|
37
|
-
nz-button
|
38
|
-
[formlyAttributes]="field"
|
39
|
-
[attr.title]="props['title']"
|
40
|
-
[nzGhost]="props['ghost']!!"
|
41
|
-
[nzLoading]="props['loading']!!"
|
42
|
-
[nzShape]="props['shape'] ?? null"
|
43
|
-
[nzSize]="props['size']!"
|
44
|
-
[nzBlock]="props['block']!!"
|
45
|
-
[nzDanger]="props['danger']!!"
|
46
|
-
[nzType]="props['nzType'] ?? 'link'"
|
47
|
-
[ngClass]="props['
|
48
|
-
>
|
49
|
-
@if (props['beforeIcon']) {
|
50
|
-
<span nz-icon [nzType]="props['beforeIcon']"></span>
|
51
|
-
}
|
52
|
-
@if (hasText) {
|
53
|
-
<ng-container
|
54
|
-
*nzStringTemplateOutlet="text; context: { $implicit: field, options: props }"
|
55
|
-
>
|
56
|
-
{{ text }}
|
57
|
-
</ng-container>
|
58
|
-
}
|
59
|
-
@if (props['afterIcon']) {
|
60
|
-
<span nz-icon [nzType]="props['afterIcon']"></span>
|
61
|
-
}
|
62
|
-
</a>
|
63
|
-
} @else {
|
64
|
-
<button
|
65
|
-
[formlyAttributes]="field"
|
66
|
-
[attr.type]="field.type"
|
67
|
-
[attr.form]="props['formName']"
|
68
|
-
[attr.title]="props['title']"
|
69
|
-
[disabled]="props['disabled']!!"
|
70
|
-
[nzGhost]="props['ghost']!!"
|
71
|
-
[nzLoading]="props['loading']!!"
|
72
|
-
[nzShape]="props['shape'] ?? null"
|
73
|
-
[nzSize]="props['size']!"
|
74
|
-
[nzBlock]="props['block']!!"
|
75
|
-
[nzDanger]="props['danger']!!"
|
76
|
-
[nzType]="props['nzType'] ?? null"
|
77
|
-
[ngClass]="props['
|
78
|
-
nz-button
|
79
|
-
>
|
80
|
-
@if (props['beforeIcon']) {
|
81
|
-
<span nz-icon [nzType]="props['beforeIcon']"></span>
|
82
|
-
}
|
83
|
-
@if (hasText) {
|
84
|
-
<ng-container
|
85
|
-
*nzStringTemplateOutlet="text; context: { $implicit: field, options: props }"
|
86
|
-
>
|
87
|
-
{{ text }}
|
88
|
-
</ng-container>
|
89
|
-
}
|
90
|
-
@if (props['afterIcon']) {
|
91
|
-
<span nz-icon [nzType]="props['afterIcon']"></span>
|
92
|
-
}
|
93
|
-
</button>
|
94
|
-
}
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
35
|
+
@if (props.type === 'a') {
|
36
|
+
<a
|
37
|
+
nz-button
|
38
|
+
[formlyAttributes]="field"
|
39
|
+
[attr.title]="props['title']"
|
40
|
+
[nzGhost]="props['ghost']!!"
|
41
|
+
[nzLoading]="props['loading']!!"
|
42
|
+
[nzShape]="props['shape'] ?? null"
|
43
|
+
[nzSize]="props['size']!"
|
44
|
+
[nzBlock]="props['block']!!"
|
45
|
+
[nzDanger]="props['danger']!!"
|
46
|
+
[nzType]="props['nzType'] ?? 'link'"
|
47
|
+
[ngClass]="props['ngClass']"
|
48
|
+
>
|
49
|
+
@if (props['beforeIcon']) {
|
50
|
+
<span nz-icon [nzType]="props['beforeIcon']"></span>
|
51
|
+
}
|
52
|
+
@if (hasText) {
|
53
|
+
<ng-container
|
54
|
+
*nzStringTemplateOutlet="text; context: { $implicit: field, options: props }"
|
55
|
+
>
|
56
|
+
{{ text }}
|
57
|
+
</ng-container>
|
58
|
+
}
|
59
|
+
@if (props['afterIcon']) {
|
60
|
+
<span nz-icon [nzType]="props['afterIcon']"></span>
|
61
|
+
}
|
62
|
+
</a>
|
63
|
+
} @else {
|
64
|
+
<button
|
65
|
+
[formlyAttributes]="field"
|
66
|
+
[attr.type]="field.type"
|
67
|
+
[attr.form]="props['formName']"
|
68
|
+
[attr.title]="props['title']"
|
69
|
+
[disabled]="props['disabled'] || formControl.disabled!!"
|
70
|
+
[nzGhost]="props['ghost']!!"
|
71
|
+
[nzLoading]="props['loading']!!"
|
72
|
+
[nzShape]="props['shape'] ?? null"
|
73
|
+
[nzSize]="props['size']!"
|
74
|
+
[nzBlock]="props['block']!!"
|
75
|
+
[nzDanger]="props['danger']!!"
|
76
|
+
[nzType]="props['nzType'] ?? null"
|
77
|
+
[ngClass]="props['ngClass']"
|
78
|
+
nz-button
|
79
|
+
>
|
80
|
+
@if (props['beforeIcon']) {
|
81
|
+
<span nz-icon [nzType]="props['beforeIcon']"></span>
|
82
|
+
}
|
83
|
+
@if (hasText) {
|
84
|
+
<ng-container
|
85
|
+
*nzStringTemplateOutlet="text; context: { $implicit: field, options: props }"
|
86
|
+
>
|
87
|
+
{{ text }}
|
88
|
+
</ng-container>
|
89
|
+
}
|
90
|
+
@if (props['afterIcon']) {
|
91
|
+
<span nz-icon [nzType]="props['afterIcon']"></span>
|
92
|
+
}
|
93
|
+
</button>
|
94
|
+
}
|
95
95
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: i4.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i6.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i7.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i8.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
96
96
|
}
|
97
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldButton, decorators: [{
|
98
98
|
type: Component,
|
99
99
|
args: [{
|
100
100
|
selector: 'formly-field-button',
|
101
|
-
template: `
|
102
|
-
@if (props.type === 'a') {
|
103
|
-
<a
|
104
|
-
nz-button
|
105
|
-
[formlyAttributes]="field"
|
106
|
-
[attr.title]="props['title']"
|
107
|
-
[nzGhost]="props['ghost']!!"
|
108
|
-
[nzLoading]="props['loading']!!"
|
109
|
-
[nzShape]="props['shape'] ?? null"
|
110
|
-
[nzSize]="props['size']!"
|
111
|
-
[nzBlock]="props['block']!!"
|
112
|
-
[nzDanger]="props['danger']!!"
|
113
|
-
[nzType]="props['nzType'] ?? 'link'"
|
114
|
-
[ngClass]="props['
|
115
|
-
>
|
116
|
-
@if (props['beforeIcon']) {
|
117
|
-
<span nz-icon [nzType]="props['beforeIcon']"></span>
|
118
|
-
}
|
119
|
-
@if (hasText) {
|
120
|
-
<ng-container
|
121
|
-
*nzStringTemplateOutlet="text; context: { $implicit: field, options: props }"
|
122
|
-
>
|
123
|
-
{{ text }}
|
124
|
-
</ng-container>
|
125
|
-
}
|
126
|
-
@if (props['afterIcon']) {
|
127
|
-
<span nz-icon [nzType]="props['afterIcon']"></span>
|
128
|
-
}
|
129
|
-
</a>
|
130
|
-
} @else {
|
131
|
-
<button
|
132
|
-
[formlyAttributes]="field"
|
133
|
-
[attr.type]="field.type"
|
134
|
-
[attr.form]="props['formName']"
|
135
|
-
[attr.title]="props['title']"
|
136
|
-
[disabled]="props['disabled']!!"
|
137
|
-
[nzGhost]="props['ghost']!!"
|
138
|
-
[nzLoading]="props['loading']!!"
|
139
|
-
[nzShape]="props['shape'] ?? null"
|
140
|
-
[nzSize]="props['size']!"
|
141
|
-
[nzBlock]="props['block']!!"
|
142
|
-
[nzDanger]="props['danger']!!"
|
143
|
-
[nzType]="props['nzType'] ?? null"
|
144
|
-
[ngClass]="props['
|
145
|
-
nz-button
|
146
|
-
>
|
147
|
-
@if (props['beforeIcon']) {
|
148
|
-
<span nz-icon [nzType]="props['beforeIcon']"></span>
|
149
|
-
}
|
150
|
-
@if (hasText) {
|
151
|
-
<ng-container
|
152
|
-
*nzStringTemplateOutlet="text; context: { $implicit: field, options: props }"
|
153
|
-
>
|
154
|
-
{{ text }}
|
155
|
-
</ng-container>
|
156
|
-
}
|
157
|
-
@if (props['afterIcon']) {
|
158
|
-
<span nz-icon [nzType]="props['afterIcon']"></span>
|
159
|
-
}
|
160
|
-
</button>
|
161
|
-
}
|
101
|
+
template: `
|
102
|
+
@if (props.type === 'a') {
|
103
|
+
<a
|
104
|
+
nz-button
|
105
|
+
[formlyAttributes]="field"
|
106
|
+
[attr.title]="props['title']"
|
107
|
+
[nzGhost]="props['ghost']!!"
|
108
|
+
[nzLoading]="props['loading']!!"
|
109
|
+
[nzShape]="props['shape'] ?? null"
|
110
|
+
[nzSize]="props['size']!"
|
111
|
+
[nzBlock]="props['block']!!"
|
112
|
+
[nzDanger]="props['danger']!!"
|
113
|
+
[nzType]="props['nzType'] ?? 'link'"
|
114
|
+
[ngClass]="props['ngClass']"
|
115
|
+
>
|
116
|
+
@if (props['beforeIcon']) {
|
117
|
+
<span nz-icon [nzType]="props['beforeIcon']"></span>
|
118
|
+
}
|
119
|
+
@if (hasText) {
|
120
|
+
<ng-container
|
121
|
+
*nzStringTemplateOutlet="text; context: { $implicit: field, options: props }"
|
122
|
+
>
|
123
|
+
{{ text }}
|
124
|
+
</ng-container>
|
125
|
+
}
|
126
|
+
@if (props['afterIcon']) {
|
127
|
+
<span nz-icon [nzType]="props['afterIcon']"></span>
|
128
|
+
}
|
129
|
+
</a>
|
130
|
+
} @else {
|
131
|
+
<button
|
132
|
+
[formlyAttributes]="field"
|
133
|
+
[attr.type]="field.type"
|
134
|
+
[attr.form]="props['formName']"
|
135
|
+
[attr.title]="props['title']"
|
136
|
+
[disabled]="props['disabled'] || formControl.disabled!!"
|
137
|
+
[nzGhost]="props['ghost']!!"
|
138
|
+
[nzLoading]="props['loading']!!"
|
139
|
+
[nzShape]="props['shape'] ?? null"
|
140
|
+
[nzSize]="props['size']!"
|
141
|
+
[nzBlock]="props['block']!!"
|
142
|
+
[nzDanger]="props['danger']!!"
|
143
|
+
[nzType]="props['nzType'] ?? null"
|
144
|
+
[ngClass]="props['ngClass']"
|
145
|
+
nz-button
|
146
|
+
>
|
147
|
+
@if (props['beforeIcon']) {
|
148
|
+
<span nz-icon [nzType]="props['beforeIcon']"></span>
|
149
|
+
}
|
150
|
+
@if (hasText) {
|
151
|
+
<ng-container
|
152
|
+
*nzStringTemplateOutlet="text; context: { $implicit: field, options: props }"
|
153
|
+
>
|
154
|
+
{{ text }}
|
155
|
+
</ng-container>
|
156
|
+
}
|
157
|
+
@if (props['afterIcon']) {
|
158
|
+
<span nz-icon [nzType]="props['afterIcon']"></span>
|
159
|
+
}
|
160
|
+
</button>
|
161
|
+
}
|
162
162
|
`,
|
163
163
|
changeDetection: ChangeDetectionStrategy.OnPush
|
164
164
|
}]
|
165
165
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
166
166
|
type: Optional
|
167
167
|
}] }] });
|
168
|
-
//# sourceMappingURL=data:application/json;base64,
|
168
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2J1dHRvbi9zcmMvYnV0dG9uLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsUUFBUSxFQUFFLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hHLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7QUFFOUQsT0FBTyxFQUVMLGtCQUFrQixFQUNsQixlQUFlLEVBQ2YsY0FBYyxFQUNmLE1BQU0sOEJBQThCLENBQUM7Ozs7Ozs7Ozs7QUFpSnRDLE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxTQUF1QztJQVc1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XR0b25Qcm9wcz4ge1xuICB0eXBlOiAnYnV0dG9uJyB8ICdzdWJtaXQnIHwgJ3Jlc2V0JyB8IFR5cGU8Rm9ybWx5RmllbGRCdXR0b24+O1xufVxuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdmb3JtbHktZmllbGQtYnV0dG9uJyxcbiAgdGVtcGxhdGU6IGBcbiAgICBAaWYgKHByb3BzLnR5cGUgPT09ICdhJykge1xuICAgICAgPGFcbiAgICAgICAgbnotYnV0dG9uXG4gICAgICAgIFtmb3JtbHlBdHRyaWJ1dGVzXT1cImZpZWxkXCJcbiAgICAgICAgW2F0dHIudGl0bGVdPVwicHJvcHNbJ3RpdGxlJ11cIlxuICAgICAgICBbbnpHaG9zdF09XCJwcm9wc1snZ2hvc3QnXSEhXCJcbiAgICAgICAgW256TG9hZGluZ109XCJwcm9wc1snbG9hZGluZyddISFcIlxuICAgICAgICBbbnpTaGFwZV09XCJwcm9wc1snc2hhcGUnXSA/PyBudWxsXCJcbiAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXG4gICAgICAgIFtuekJsb2NrXT1cInByb3BzWydibG9jayddISFcIlxuICAgICAgICBbbnpEYW5nZXJdPVwicHJvcHNbJ2RhbmdlciddISFcIlxuICAgICAgICBbbnpUeXBlXT1cInByb3BzWyduelR5cGUnXSA/PyAnbGluaydcIlxuICAgICAgICBbbmdDbGFzc109XCJwcm9wc1snbmdDbGFzcyddXCJcbiAgICAgID5cbiAgICAgICAgQGlmIChwcm9wc1snYmVmb3JlSWNvbiddKSB7XG4gICAgICAgICAgPHNwYW4gbnotaWNvbiBbbnpUeXBlXT1cInByb3BzWydiZWZvcmVJY29uJ11cIj48L3NwYW4+XG4gICAgICAgIH1cbiAgICAgICAgQGlmIChoYXNUZXh0KSB7XG4gICAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgKm56U3RyaW5nVGVtcGxhdGVPdXRsZXQ9XCJ0ZXh0OyBjb250ZXh0OiB7ICRpbXBsaWNpdDogZmllbGQsIG9wdGlvbnM6IHByb3BzIH1cIlxuICAgICAgICAgID5cbiAgICAgICAgICAgIHt7IHRleHQgfX1cbiAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgfVxuICAgICAgICBAaWYgKHByb3BzWydhZnRlckljb24nXSkge1xuICAgICAgICAgIDxzcGFuIG56LWljb24gW256VHlwZV09XCJwcm9wc1snYWZ0ZXJJY29uJ11cIj48L3NwYW4+XG4gICAgICAgIH1cbiAgICAgIDwvYT5cbiAgICB9IEBlbHNlIHtcbiAgICAgIDxidXR0b25cbiAgICAgICAgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuICAgICAgICBbYXR0ci50eXBlXT1cImZpZWxkLnR5cGVcIlxuICAgICAgICBbYXR0ci5mb3JtXT1cInByb3BzWydmb3JtTmFtZSddXCJcbiAgICAgICAgW2F0dHIudGl0bGVdPVwicHJvcHNbJ3RpdGxlJ11cIlxuICAgICAgICBbZGlzYWJsZWRdPVwicHJvcHNbJ2Rpc2FibGVkJ10gfHwgZm9ybUNvbnRyb2wuZGlzYWJsZWQhIVwiXG4gICAgICAgIFtuekdob3N0XT1cInByb3BzWydnaG9zdCddISFcIlxuICAgICAgICBbbnpMb2FkaW5nXT1cInByb3BzWydsb2FkaW5nJ10hIVwiXG4gICAgICAgIFtuelNoYXBlXT1cInByb3BzWydzaGFwZSddID8/IG51bGxcIlxuICAgICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ10hXCJcbiAgICAgICAgW256QmxvY2tdPVwicHJvcHNbJ2Jsb2NrJ10hIVwiXG4gICAgICAgIFtuekRhbmdlcl09XCJwcm9wc1snZGFuZ2VyJ10hIVwiXG4gICAgICAgIFtuelR5cGVdPVwicHJvcHNbJ256VHlwZSddID8/IG51bGxcIlxuICAgICAgICBbbmdDbGFzc109XCJwcm9wc1snbmdDbGFzcyddXCJcbiAgICAgICAgbnotYnV0dG9uXG4gIC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bGRUZW1wbGF0ZXM6IEZvcm1seUJveFRlbXBsYXRlcykge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICBnZXQgaGFzVGV4dCgpIHtcbiAgICByZXR1cm4gaGFzVHBsTmFtZVZhbHVlKHRoaXMucHJvcHMsICd0ZXh0Jyk7XG4gIH1cblxuICBnZXQgdGV4dCgpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWUodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ3RleHQnKTtcbiAgfVxufVxuIl19
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { FormlyNzButtonModule } from './button.module';
|
2
2
|
export { FormlyFieldButton } from './button.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvYnV0dG9uL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBd0MsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOekJ1dHRvbk1vZHVsZSB9IGZyb20gJy4vYnV0dG9uLm1vZHVsZSc7XG5leHBvcnQgeyBGb3JtbHlGaWVsZEJ1dHRvbiwgRm9ybWx5QnV0dG9uRmllbGRDb25maWcsIEJ1dHRvblByb3BzIH0gZnJvbSAnLi9idXR0b24udHlwZSc7XG4iXX0=
|
@@ -42,4 +42,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
42
42
|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