ngx-formly-zorro-antd 17.1.0 → 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/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/package.json +3 -0
- package/cascader/package.json +3 -0
- package/checkbox/package.json +3 -0
- 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/public_api.mjs +1 -1
- package/esm2022/text-value/text-value.module.mjs +1 -1
- package/esm2022/text-value/text-value.type.mjs +19 -19
- 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 +143 -143
- package/esm2022/upload/upload.module.mjs +1 -1
- package/esm2022/upload/upload.props.mjs +1 -1
- package/esm2022/upload/upload.type.mjs +83 -83
- 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 +18 -18
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
- 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 +224 -224
- 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 +16 -0
- package/form-field/form-field.wrapper.d.ts +4 -0
- package/form-field/package.json +3 -0
- 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 +12 -12
- 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/package.json +3 -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/upload/package.json +3 -0
@@ -16,38 +16,38 @@ export class FormlyFieldSwitch extends FieldType {
|
|
16
16
|
};
|
17
17
|
}
|
18
18
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
|
20
|
-
<nz-switch
|
21
|
-
[formControl]="formControl"
|
22
|
-
[formlyAttributes]="field"
|
23
|
-
[nzId]="id"
|
24
|
-
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
25
|
-
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
26
|
-
[nzSize]="props['size']!"
|
27
|
-
[nzLoading]="props['loading']!!"
|
28
|
-
[nzControl]="props['control']!!"
|
29
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
30
|
-
></nz-switch>
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
|
20
|
+
<nz-switch
|
21
|
+
[formControl]="formControl"
|
22
|
+
[formlyAttributes]="field"
|
23
|
+
[nzId]="id"
|
24
|
+
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
25
|
+
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
26
|
+
[nzSize]="props['size']!"
|
27
|
+
[nzLoading]="props['loading']!!"
|
28
|
+
[nzControl]="props['control']!!"
|
29
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
30
|
+
></nz-switch>
|
31
31
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
32
32
|
}
|
33
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
|
34
34
|
type: Component,
|
35
35
|
args: [{
|
36
36
|
selector: 'formly-field-switch',
|
37
|
-
template: `
|
38
|
-
<nz-switch
|
39
|
-
[formControl]="formControl"
|
40
|
-
[formlyAttributes]="field"
|
41
|
-
[nzId]="id"
|
42
|
-
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
43
|
-
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
44
|
-
[nzSize]="props['size']!"
|
45
|
-
[nzLoading]="props['loading']!!"
|
46
|
-
[nzControl]="props['control']!!"
|
47
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
48
|
-
></nz-switch>
|
37
|
+
template: `
|
38
|
+
<nz-switch
|
39
|
+
[formControl]="formControl"
|
40
|
+
[formlyAttributes]="field"
|
41
|
+
[nzId]="id"
|
42
|
+
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
43
|
+
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
44
|
+
[nzSize]="props['size']!"
|
45
|
+
[nzLoading]="props['loading']!!"
|
46
|
+
[nzControl]="props['control']!!"
|
47
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
48
|
+
></nz-switch>
|
49
49
|
`,
|
50
50
|
changeDetection: ChangeDetectionStrategy.OnPush
|
51
51
|
}]
|
52
52
|
}] });
|
53
|
-
//# sourceMappingURL=data:application/json;base64,
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3N3aXRjaC9zcmMvc3dpdGNoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7QUF3RDlELE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxTQUF1QztJQWpCOUU7O1FBa0JXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLElBQUksRUFBRSxTQUFrQjtnQkFDeEIsT0FBTyxFQUFFLEtBQUs7Z0JBQ2QsT0FBTyxFQUFFLEtBQUs7YUFDZjtTQUNGLENBQUM7S0FDSDs4R0FSWSxpQkFBaUI7a0dBQWpCLGlCQUFpQixrRkFmbEI7Ozs7Ozs7Ozs7OztHQVlUOzsyRkFHVSxpQkFBaUI7a0JBakI3QixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxxQkFBcUI7b0JBQy9CLFFBQVEsRUFBRTs7Ozs7Ozs7Ozs7O0dBWVQ7b0JBQ0QsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07aUJBQ2hEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBUeXBlLCBUZW1wbGF0Z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kZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgbG9hZGluZzogZmFsc2UsXG4gICAgICBjb250cm9sOiBmYWxzZVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { FormlyNzTabsModule } from './tabs.module';
|
2
2
|
export { FormlyWrapperTabs } from './tabs.wrapper';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGFicy9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUEyQixNQUFNLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUYWJzTW9kdWxlIH0gZnJvbSAnLi90YWJzLm1vZHVsZSc7XG5leHBvcnQgeyBGb3JtbHlXcmFwcGVyVGFicywgRm9ybWx5VGFic1dyYXBwZXJDb25maWcgfSBmcm9tICcuL3RhYnMud3JhcHBlcic7XG4iXX0=
|
@@ -38,4 +38,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
38
38
|
]
|
39
39
|
}]
|
40
40
|
}] });
|
41
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5tb2R1bGUuanMiLCJzb3VyY2VSb290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UNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBGb3JtbHlNb2R1bGUgfSBmcm9tICdAbmd4LWZvcm1seS9jb3JlJztcblxuaW1wb3J0IHsgRm9ybWx5V3JhcHBlclRhYnMgfSBmcm9tICcuL3RhYnMud3JhcHBlcic7XG5pbXBvcnQgeyBOelRhYnNNb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL3RhYnMnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlXcmFwcGVyVGFic10sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG5cbiAgICBOelRhYnNNb2R1bGUsXG5cbiAgICBGb3JtbHlNb2R1bGUuZm9yQ2hpbGQoe1xuICAgICAgd3JhcHBlcnM6IFtcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICd0YWJzJyxcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seVdyYXBwZXJUYWJzXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56VGFic01vZHVsZSB7fVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5wcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGFicy9zcmMvdGFicy5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiO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ICog6YCJ6aG55Y2h5aS05pi+56S65paH5a2XXG4gICAgICovXG4gICAgdGl0bGU/OiBzdHJpbmcgfCBUZW1wbGF0ZVJlZjxUYWJUZW1wbGF0ZUNvbnRleHQ+O1xuXG4gICAgLyoqXG4gICAgICog6KKr6ZqQ6JeP5pe25piv5ZCm5riy5p+TIERPTSDnu5PmnoRcbiAgICAgKiBAZGVmYXVsdCBmYWxzZVxuICAgICAqL1xuICAgIGZvcmNlUmVuZGVyPzogYm9vbGVhbjtcblxuICAgIC8qKlxuICAgICAqIOaYr+WQpuemgeeUqFxuICAgICAqIEBkZWZhdWx0IGZhbHNlXG4gICAgICovXG4gICAgZGlzYWJsZWQ/OiBib29sZWFuO1xuXG4gICAgLyoqXG4gICAgICog5Y2V5Ye7IHRpdGxlIOeahOWbnuiwg+WHveaVsFxuICAgICAqL1xuICAgIGNsaWNrPzogRm9ybWx5QXR0cmlidXRlRXZlbnQ7XG5cbiAgICAvKipcbiAgICAgKiDlj7PplK4gdGl0bGUg55qE5Zue6LCD5Ye95pWwXG4gICAgICovXG4gICAgY29udGV4dG1lbnU/OiBGb3JtbHlBdHRyaWJ1dGVFdmVudDxNb3VzZUV2ZW50PjtcblxuICAgIC8qKlxuICAgICAqIHRhYiDooqvpgInkuK3nmoTlm57osIPlh73mlbBcbiAgICAgKi9cbiAgICBzZWxlY3Q/OiBGb3JtbHlBdHRyaWJ1dGVFdmVudDtcblxuICAgIC8qKlxuICAgICAqIHRhYiDooqvlj5bmtojpgInkuK3nmoTlm57osIPlh73mlbBcbiAgICAgKi9cbiAgICBkZXNlbGVjdD86IEZvcm1seUF0dHJpYnV0ZUV2ZW50O1xuICB9O1xufVxuIl19
|
@@ -25,92 +25,92 @@ export class FormlyWrapperTabs extends FieldWrapper {
|
|
25
25
|
};
|
26
26
|
}
|
27
27
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyWrapperTabs, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
|
29
|
-
[(nzSelectedIndex)]="props['selectedIndex']"
|
30
|
-
[nzAnimated]="props['animated']!"
|
31
|
-
[nzSize]="props['size']!"
|
32
|
-
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
33
|
-
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
34
|
-
[nzTabPosition]="props['tabPosition']!"
|
35
|
-
[nzType]="props['type']!"
|
36
|
-
[nzTabBarGutter]="props['tabBarGutter']"
|
37
|
-
[nzHideAll]="props['hideAll']!!"
|
38
|
-
[nzLinkRouter]="props['linkRouter']!!"
|
39
|
-
[nzLinkExact]="props['linkExact']!!"
|
40
|
-
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
41
|
-
[nzHideAdd]="props['hideAdd']!!"
|
42
|
-
[nzAddIcon]="props['addIcon']!"
|
43
|
-
(nzSelectedIndexChange)="
|
44
|
-
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
45
|
-
"
|
46
|
-
(nzSelectChange)="
|
47
|
-
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
48
|
-
"
|
49
|
-
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
50
|
-
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
51
|
-
>
|
52
|
-
@for (tab of field.fieldGroup; track tab.id) {
|
53
|
-
<nz-tab
|
54
|
-
[nzTitle]="tab.props?.label || ''"
|
55
|
-
[nzForceRender]="tab.props!['tab']?.forceRender"
|
56
|
-
[nzDisabled]="tab.props!['tab']?.disabled"
|
57
|
-
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click(field)"
|
58
|
-
(nzContextmenu)="
|
59
|
-
tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu(field, $event)
|
60
|
-
"
|
61
|
-
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select(field)"
|
62
|
-
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect(field)"
|
63
|
-
>
|
64
|
-
<formly-field [field]="tab"></formly-field>
|
65
|
-
</nz-tab>
|
66
|
-
}
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyWrapperTabs, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
|
29
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
30
|
+
[nzAnimated]="props['animated']!"
|
31
|
+
[nzSize]="props['size']!"
|
32
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
33
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
34
|
+
[nzTabPosition]="props['tabPosition']!"
|
35
|
+
[nzType]="props['type']!"
|
36
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
37
|
+
[nzHideAll]="props['hideAll']!!"
|
38
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
39
|
+
[nzLinkExact]="props['linkExact']!!"
|
40
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
41
|
+
[nzHideAdd]="props['hideAdd']!!"
|
42
|
+
[nzAddIcon]="props['addIcon']!"
|
43
|
+
(nzSelectedIndexChange)="
|
44
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
45
|
+
"
|
46
|
+
(nzSelectChange)="
|
47
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
48
|
+
"
|
49
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
50
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
51
|
+
>
|
52
|
+
@for (tab of field.fieldGroup; track tab.id) {
|
53
|
+
<nz-tab
|
54
|
+
[nzTitle]="tab.props?.label || ''"
|
55
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
56
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
57
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click(field)"
|
58
|
+
(nzContextmenu)="
|
59
|
+
tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu(field, $event)
|
60
|
+
"
|
61
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select(field)"
|
62
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect(field)"
|
63
|
+
>
|
64
|
+
<formly-field [field]="tab"></formly-field>
|
65
|
+
</nz-tab>
|
66
|
+
}
|
67
67
|
</nz-tabset>`, isInline: true, dependencies: [{ kind: "component", type: i1.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "component", type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
68
68
|
}
|
69
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
|
70
70
|
type: Component,
|
71
71
|
args: [{
|
72
72
|
selector: 'formly-wrapper-tabs',
|
73
|
-
template: `<nz-tabset
|
74
|
-
[(nzSelectedIndex)]="props['selectedIndex']"
|
75
|
-
[nzAnimated]="props['animated']!"
|
76
|
-
[nzSize]="props['size']!"
|
77
|
-
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
78
|
-
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
79
|
-
[nzTabPosition]="props['tabPosition']!"
|
80
|
-
[nzType]="props['type']!"
|
81
|
-
[nzTabBarGutter]="props['tabBarGutter']"
|
82
|
-
[nzHideAll]="props['hideAll']!!"
|
83
|
-
[nzLinkRouter]="props['linkRouter']!!"
|
84
|
-
[nzLinkExact]="props['linkExact']!!"
|
85
|
-
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
86
|
-
[nzHideAdd]="props['hideAdd']!!"
|
87
|
-
[nzAddIcon]="props['addIcon']!"
|
88
|
-
(nzSelectedIndexChange)="
|
89
|
-
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
90
|
-
"
|
91
|
-
(nzSelectChange)="
|
92
|
-
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
93
|
-
"
|
94
|
-
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
95
|
-
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
96
|
-
>
|
97
|
-
@for (tab of field.fieldGroup; track tab.id) {
|
98
|
-
<nz-tab
|
99
|
-
[nzTitle]="tab.props?.label || ''"
|
100
|
-
[nzForceRender]="tab.props!['tab']?.forceRender"
|
101
|
-
[nzDisabled]="tab.props!['tab']?.disabled"
|
102
|
-
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click(field)"
|
103
|
-
(nzContextmenu)="
|
104
|
-
tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu(field, $event)
|
105
|
-
"
|
106
|
-
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select(field)"
|
107
|
-
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect(field)"
|
108
|
-
>
|
109
|
-
<formly-field [field]="tab"></formly-field>
|
110
|
-
</nz-tab>
|
111
|
-
}
|
73
|
+
template: `<nz-tabset
|
74
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
75
|
+
[nzAnimated]="props['animated']!"
|
76
|
+
[nzSize]="props['size']!"
|
77
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
78
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
79
|
+
[nzTabPosition]="props['tabPosition']!"
|
80
|
+
[nzType]="props['type']!"
|
81
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
82
|
+
[nzHideAll]="props['hideAll']!!"
|
83
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
84
|
+
[nzLinkExact]="props['linkExact']!!"
|
85
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
86
|
+
[nzHideAdd]="props['hideAdd']!!"
|
87
|
+
[nzAddIcon]="props['addIcon']!"
|
88
|
+
(nzSelectedIndexChange)="
|
89
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
90
|
+
"
|
91
|
+
(nzSelectChange)="
|
92
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
93
|
+
"
|
94
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
95
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
96
|
+
>
|
97
|
+
@for (tab of field.fieldGroup; track tab.id) {
|
98
|
+
<nz-tab
|
99
|
+
[nzTitle]="tab.props?.label || ''"
|
100
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
101
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
102
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click(field)"
|
103
|
+
(nzContextmenu)="
|
104
|
+
tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu(field, $event)
|
105
|
+
"
|
106
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select(field)"
|
107
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect(field)"
|
108
|
+
>
|
109
|
+
<formly-field [field]="tab"></formly-field>
|
110
|
+
</nz-tab>
|
111
|
+
}
|
112
112
|
</nz-tabset>`,
|
113
113
|
changeDetection: ChangeDetectionStrategy.OnPush
|
114
114
|
}]
|
115
115
|
}] });
|
116
|
-
//# sourceMappingURL=data:application/json;base64,
|
116
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90YWJzL3NyYy90YWJzLndyYXBwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7Ozs7QUFvRGhELE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxZQUE0QztJQTVDbkY7O1FBNkNXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLFFBQVEsRUFBRSxJQUFJO2dCQUNkLElBQUksRUFBRSxTQUFrQjtnQkFDeEIsSUFBSSxFQUFFLE1BQWU7Z0JBQ3JCLFdBQVcsRUFBRSxLQUFjO2dCQUMzQixPQUFPLEVBQUUsS0FBSztnQkFDZCxVQUFVLEVBQUUsS0FBSztnQkFDakIsU0FBUyxFQUFFLElBQUk7Z0JBQ2YsUUFBUSxFQUFFLEtBQUs7Z0JBQ2YsT0FBTyxFQUFFLEtBQUs7Z0JBQ2QsR0FBRyxFQUFFO29CQUNILFdBQVcsRUFBRSxLQUFLO29CQUNsQixRQUFRLEVBQUUsS0FBSztpQkFDaEI7YUFDRjtTQUNGLENBQUM7S0FDSDs4R0FsQlksaUJBQWlCO2tHQUFqQixpQkFBaUIsa0ZBMUNsQjs7Ozs7Ozs7Ozs7Oz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JhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5V3JhcHBlclRhYnMgZXh0ZW5kcyBGaWVsZFdyYXBwZXI8TnpGb3JtbHlGaWVsZENvbmZpZzxUYWJzUHJvcHM+PiB7XG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xuICAgIHByb3BzOiB7XG4gICAgICBhbmltYXRlZDogdHJ1ZSxcbiAgICAgIHNpemU6ICdkZWZhdWx0JyBhcyBjb25zdCxcbiAgICAgIHR5cGU6ICdsaW5lJyBhcyBjb25zdCxcbiAgICAgIHRhYlBvc2l0aW9uOiAndG9wJyBhcyBjb25zdCxcbiAgICAgIGhpZGVBbGw6IGZhbHNlLFxuICAgICAgbGlua1JvdXRlcjogZmFsc2UsXG4gICAgICBsaW5rRXhhY3Q6IHRydWUsXG4gICAgICBjZW50ZXJlZDogZmFsc2UsXG4gICAgICBoaWRlQWRkOiBmYWxzZSxcbiAgICAgIHRhYjoge1xuICAgICAgICBmb3JjZVJlbmRlcjogZmFsc2UsXG4gICAgICAgIGRpc2FibGVkOiBmYWxzZVxuICAgICAgfVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { FormlyNzTextValueModule } from './text-value.module';
|
2
2
|
export { FormlyFieldTextValue } from './text-value.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGV4dC12YWx1ZS9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsb0JBQW9CLEVBQThCLE1BQU0sbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelRleHRWYWx1ZU1vZHVsZSB9IGZyb20gJy4vdGV4dC12YWx1ZS5tb2R1bGUnO1xuZXhwb3J0IHsgRm9ybWx5RmllbGRUZXh0VmFsdWUsIEZvcm1seVRleHRWYWx1ZUZpZWxkQ29uZmlnIH0gZnJvbSAnLi90ZXh0LXZhbHVlLnR5cGUnO1xuIl19
|
@@ -43,4 +43,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
43
43
|
]
|
44
44
|
}]
|
45
45
|
}] });
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC12YWx1ZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3RleHQtdmFsdWUvc3JjL3RleHQtdmFsdWUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBQzlDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBRXpELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQzs7O0FBbUJsRCxNQUFNLE9BQU8sdUJBQXVCOzhHQUF2Qix1QkFBd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xuaW1wb3J0IHsgTnpGb3JtTW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9mb3JtJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbRm9ybWx5RmllbGRUZXh0VmFsdWVdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIE56Rm9ybU1vZHVsZSxcbiAgICBEZWZhdWx0aWZ5UGlwZSxcbiAgICBGb3JtbHlNb2R1bGUuZm9yQ2hpbGQoe1xuICAgICAgdHlwZXM6IFtcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICd0ZXh0JyxcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkVGV4dFZhbHVlLFxuICAgICAgICAgIHdyYXBwZXJzOiBbJ2Zvcm0tZmllbGQnXVxuICAgICAgICB9XG4gICAgICBdXG4gICAgfSlcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOelRleHRWYWx1ZU1vZHVsZSB7fVxuIl19
|
@@ -41,28 +41,28 @@ export class FormlyFieldTextValue extends FieldType {
|
|
41
41
|
this.subscription?.unsubscribe();
|
42
42
|
}
|
43
43
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTextValue, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
44
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: FormlyFieldTextValue, selector: "formly-field-text-value", usesInheritance: true, ngImport: i0, template: `
|
45
|
-
<nz-form-text
|
46
|
-
class="wrap-text"
|
47
|
-
[formlyAttributes]="field"
|
48
|
-
[ngClass]="props['ngClass']"
|
49
|
-
[ngStyle]="props['ngStyle']"
|
50
|
-
>
|
51
|
-
{{ textValue$ | async | defaultify: props.defaultText }}
|
52
|
-
</nz-form-text>
|
44
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: FormlyFieldTextValue, selector: "formly-field-text-value", usesInheritance: true, ngImport: i0, template: `
|
45
|
+
<nz-form-text
|
46
|
+
class="wrap-text"
|
47
|
+
[formlyAttributes]="field"
|
48
|
+
[ngClass]="props['ngClass']"
|
49
|
+
[ngStyle]="props['ngStyle']"
|
50
|
+
>
|
51
|
+
{{ textValue$ | async | defaultify: props.defaultText }}
|
52
|
+
</nz-form-text>
|
53
53
|
`, isInline: true, styles: [".wrap-text{word-break:break-all}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.NzFormTextComponent, selector: "nz-form-text", exportAs: ["nzFormText"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.DefaultifyPipe, name: "defaultify" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
54
54
|
}
|
55
55
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTextValue, decorators: [{
|
56
56
|
type: Component,
|
57
|
-
args: [{ selector: 'formly-field-text-value', template: `
|
58
|
-
<nz-form-text
|
59
|
-
class="wrap-text"
|
60
|
-
[formlyAttributes]="field"
|
61
|
-
[ngClass]="props['ngClass']"
|
62
|
-
[ngStyle]="props['ngStyle']"
|
63
|
-
>
|
64
|
-
{{ textValue$ | async | defaultify: props.defaultText }}
|
65
|
-
</nz-form-text>
|
57
|
+
args: [{ selector: 'formly-field-text-value', template: `
|
58
|
+
<nz-form-text
|
59
|
+
class="wrap-text"
|
60
|
+
[formlyAttributes]="field"
|
61
|
+
[ngClass]="props['ngClass']"
|
62
|
+
[ngStyle]="props['ngStyle']"
|
63
|
+
>
|
64
|
+
{{ textValue$ | async | defaultify: props.defaultText }}
|
65
|
+
</nz-form-text>
|
66
66
|
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".wrap-text{word-break:break-all}\n"] }]
|
67
67
|
}] });
|
68
|
-
//# sourceMappingURL=data:application/json;base64,
|
68
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC12YWx1ZS50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90ZXh0LXZhbHVlL3NyYy90ZXh0LXZhbHVlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFRLFNBQVMsRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFDNUYsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQztBQUM5RCxPQUFPLEVBQWMsRUFBRSxFQUFnQixZQUFZLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDbEUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGNBQWMsQ0FBQzs7Ozs7O0FBK0N6QyxNQUFNLE9BQU8sb0JBQ1gsU0FBUSxTQUEwQztJQXRCcEQ7O1FBNEJXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLFdBQVcsRUFBRSxJQUFJO2FBQ2xCO1NBQ0YsQ0FBQztLQThCSDtJQTVCQyxRQUFRO1FBQ04sSUFBSSxDQUFDLFlBQVksR0FBRyxJQUFJLENBQUMsV0FBWSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsR0FBRyxFQUFFO1lBQ2hFLElBQUksQ0FBQyxNQUFNLEdBQUcsU0FBUyxDQUFDO1FBQzFCLENBQUMsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztJQUVELElBQUksVUFBVTtRQUNaLE1B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Module } from './textarea.module';
|
2
2
|
export { FormlyFieldTextarea } from './textarea.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGV4dGFyZWEvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUE2QixNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUZXh0YXJlYU1vZHVsZSB9IGZyb20gJy4vdGV4dGFyZWEubW9kdWxlJztcbmV4cG9ydCB7IEZvcm1seUZpZWxkVGV4dGFyZWEsIEZvcm1seVRleHRhcmVhRmllbGRDb25maWcgfSBmcm9tICcuL3RleHRhcmVhLnR5cGUnO1xuIl19
|
@@ -52,4 +52,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
52
52
|
]
|
53
53
|
}]
|
54
54
|
}] });
|
55
|
-
//# sourceMappingURL=data:application/json;base64,
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90ZXh0YXJlYS9zcmMvdGV4dGFyZWEubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQ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