ngx-formly-zorro-antd 17.3.0 → 17.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/button-group/button-group.type.d.ts +1 -2
- package/button-group/public_api.d.ts +1 -1
- package/card/card.type.d.ts +1 -2
- package/card/public_api.d.ts +1 -1
- package/cascader/cascader.type.d.ts +2 -3
- package/cascader/public_api.d.ts +1 -1
- package/checkbox/checkbox.type.d.ts +1 -2
- package/checkbox/public_api.d.ts +1 -1
- package/datepicker/public_api.d.ts +1 -0
- package/esm2022/button-group/button-group.type.mjs +1 -1
- package/esm2022/button-group/public_api.mjs +1 -1
- package/esm2022/card/card.type.mjs +3 -7
- package/esm2022/card/public_api.mjs +1 -1
- package/esm2022/cascader/cascader.type.mjs +3 -3
- package/esm2022/cascader/public_api.mjs +1 -1
- package/esm2022/checkbox/checkbox.type.mjs +1 -1
- package/esm2022/checkbox/public_api.mjs +1 -1
- package/esm2022/common/interface.mjs +1 -1
- package/esm2022/datepicker/public_api.mjs +1 -1
- package/esm2022/flex/flex.type.mjs +1 -1
- package/esm2022/flex/public_api.mjs +1 -1
- package/esm2022/helpers/common.mjs +14 -0
- package/esm2022/helpers/formly.mjs +141 -0
- package/esm2022/helpers/ngx-formly-zorro-antd-helpers.mjs +5 -0
- package/esm2022/helpers/public_api.mjs +52 -0
- package/esm2022/input-number/public_api.mjs +1 -1
- package/esm2022/radio/public_api.mjs +1 -1
- package/esm2022/radio/radio.type.mjs +9 -45
- package/esm2022/rate/public_api.mjs +1 -1
- package/esm2022/rate/rate.type.mjs +1 -1
- package/esm2022/ref-template/public_api.mjs +1 -1
- package/esm2022/ref-template/ref-template.type.mjs +1 -1
- package/esm2022/select/public_api.mjs +1 -1
- package/esm2022/slider/public_api.mjs +1 -1
- package/esm2022/slider/slider.type.mjs +1 -1
- package/esm2022/space/public_api.mjs +1 -1
- package/esm2022/space/space.type.mjs +1 -1
- package/esm2022/switch/public_api.mjs +1 -1
- package/esm2022/switch/switch.type.mjs +1 -1
- package/esm2022/text-value/public_api.mjs +1 -1
- package/esm2022/text-value/text-value.type.mjs +1 -1
- package/esm2022/textarea/public_api.mjs +1 -1
- package/esm2022/textarea/textarea.type.mjs +3 -9
- package/esm2022/timepicker/public_api.mjs +1 -1
- package/esm2022/timepicker/timepicker.type.mjs +1 -1
- package/esm2022/transfer/public_api.mjs +1 -1
- package/esm2022/transfer/transfer.type.mjs +1 -1
- package/esm2022/tree-select/public_api.mjs +1 -1
- package/esm2022/tree-select/tree-select.type.mjs +1 -1
- package/esm2022/upload/public_api.mjs +1 -1
- package/esm2022/upload/upload.props.mjs +1 -1
- package/esm2022/upload/upload.type.mjs +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +2 -6
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +2 -2
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-helpers.mjs +210 -0
- package/fesm2022/ngx-formly-zorro-antd-helpers.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +8 -44
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +2 -8
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/flex/flex.type.d.ts +1 -2
- package/flex/public_api.d.ts +1 -1
- package/helpers/common.d.ts +9 -0
- package/helpers/formly.d.ts +84 -0
- package/helpers/index.d.ts +5 -0
- package/helpers/package.json +3 -0
- package/helpers/public_api.d.ts +51 -0
- package/input-number/public_api.d.ts +1 -0
- package/package.json +24 -18
- package/radio/public_api.d.ts +1 -1
- package/radio/radio.type.d.ts +1 -2
- package/rate/public_api.d.ts +1 -1
- package/rate/rate.type.d.ts +1 -2
- package/ref-template/public_api.d.ts +1 -1
- package/ref-template/ref-template.type.d.ts +1 -2
- package/select/public_api.d.ts +1 -0
- package/slider/public_api.d.ts +1 -1
- package/slider/slider.type.d.ts +1 -2
- package/space/public_api.d.ts +1 -1
- package/space/space.type.d.ts +1 -2
- package/switch/public_api.d.ts +1 -1
- package/switch/switch.type.d.ts +1 -2
- package/text-value/public_api.d.ts +1 -1
- package/text-value/text-value.type.d.ts +1 -2
- package/textarea/public_api.d.ts +1 -1
- package/textarea/textarea.type.d.ts +1 -2
- package/timepicker/public_api.d.ts +1 -1
- package/timepicker/timepicker.type.d.ts +1 -2
- package/transfer/public_api.d.ts +1 -1
- package/transfer/transfer.type.d.ts +1 -2
- package/tree-select/public_api.d.ts +1 -1
- package/tree-select/tree-select.type.d.ts +1 -2
- package/upload/public_api.d.ts +1 -0
@@ -114,4 +114,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
114
114
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
115
115
|
type: Optional
|
116
116
|
}] }] });
|
117
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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4gIHNob3dFeHBhbmQ/OiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiDmmK/lkKblsZXnpLrov57mjqXnur9cbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIHNob3dMaW5lPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog5piv5ZCm5byC5q2l5Yqg6L29KOaYvuekuuWKoOi9veeKtuaAgSlcbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIGFzeW5jRGF0YT86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIHRyZWVOb2RlcyDmlbDmja5cbiAgICogQGRlZmF1bHQgW11cbiAgICovXG4gIG5vZGVzPzogTnpUcmVlTm9kZU9wdGlvbnNbXTtcblxuICAvKipcbiAgICog6buY6K6k5bGV5byA5omA5pyJ5qCR6IqC54K5XG4gICAqIEBkZWZhdWx0IGZhbHNlXG4gICAqL1xuICBkZWZhdWx0RXhwYW5kQWxsPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog6buY6K6k5bGV5byA5oyH5a6a55qE5qCR6IqC54K5XG4gICAqL1xuICBleHBhbmRlZEtleXM/OiBzdHJpbmdbXTtcblxuICAvKipcbiAgICogXHTlpoLkvZXlnKjovpPlhaXmoYbmmL7npLrmiYDpgInnmoToioLngrnlgLznmoTmlrnms5VcbiAgICogQGRlZmF1bHQgKG5vZGU6IE56VHJlZU5vZGUpID0+IG5vZGUudGl0bGVcbiAgICovXG4gIGRpc3BsYXlXaXRoPzogKG5vZGU6IE56VHJlZU5vZGUpID0+IHN0cmluZztcblxuICAvKipcbiAgICog5pyA5aSa5pi+56S65aSa5bCR5LiqIHRhZ1xuICAgKlxuICAgKi9cbiAgbWF4VGFnQ291bnQ/OiBudW1iZXI7XG5cbiAgLyoqXG4gICAqIOmakOiXjyB0YWcg5pe25pi+56S655qE5YaF5a65XG4gICAqL1xuICBtYXhUYWdQbGFjZWhvbGRlcj86IFRlbXBsYXRlUmVmPHsgJGltcGxpY2l0OiBOelRyZWVO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BnZXQgbnpFeHBhbmRlZEljb24oKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdleHBhbmRlZEljb24nKTtcbiAgfVxuXG4gIGdldCBuek1heFRhZ1BsYWNlaG9sZGVyKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnbWF4VGFnUGxhY2Vob2xkZXInKTtcbiAgfVxuICBnZXQgbnpUcmVlVGVtcGxhdGUoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICd0cmVlVGVtcGxhdGUnKTtcbiAgfVxufVxuIl19
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { FormlyNzUploadModule } from './upload.module';
|
2
2
|
export { FormlyFieldUpload } from './upload.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdXBsb2FkL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBMkIsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelVwbG9hZE1vZHVsZSB9IGZyb20gJy4vdXBsb2FkLm1vZHVsZSc7XG5leHBvcnQgeyBGb3JtbHlGaWVsZFVwbG9hZCwgRm9ybWx5VXBsb2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kuKrlr7nosaHvvIznlKjkuo7ljZXni6zorr7lrpogc2hvd1ByZXZpZXdJY29u77yMc2hvd1JlbW92ZUljb24g5ZKMIHNob3dEb3dubG9hZEljb25cbiAgICogQGRlZmF1bHQgdHJ1ZVxuICAgKi9cbiAgc2hvd1VwbG9hZExpc3Q/OiBib29sZWFuIHwgeyBzaG93UHJldmlld0ljb24/OiBib29sZWFuOyBzaG93UmVtb3ZlSWNvbj86IGJvb2xlYW47IHNob3dEb3dubG9hZEljb24/OiBib29sZWFuIH07XG5cbiAgLyoqXG4gICAqIOaYr+WQpuWxleekuuS4iuS8oOaMiemSrlxuICAgKiBAZGVmYXVsdCB0cnVlXG4gICAqL1xuICBzaG93QnV0dG9uPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog5LiK5Lyg6K+35rGC5pe25piv5ZCm5pC65bimIGNvb2tpZVxuICAgKiBAZGVmYXVsdCBmYWxzZVxuICAgKi9cbiAgd2l0aENyZWRlbnRpYWxzPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog54K55Ye75omT5byA5paH5Lu25a+56K+d5qGGXG4gICAqIEBkZWZhdWx0IHRydWVcbiAgICovXG4gIG9wZW5GaWxlRGlhbG9nT25DbGljaz86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIOeCueWHu+aWh+S7tumTvuaOpeaIlumihOiniOWbvuagh+aXtueahOWbnuiwg++8m+azqOaEj++8muWKoeW/heS9v+eUqCA9PiDlrprkuYnlpITnkIbmlrnms5XjgIJcbiAgICovXG4gIHByZXZpZXc/OiAoZmlsZTogTnpVcGxvYWRGaWxlKSA9PiB2b2lkO1xuXG4gIC8qKlxuICAgKiDoh6rlrprkuYnmlofku7bpooTop4jpgLvovpHvvJvms6jmhI/vvJrliqHlv4Xkvb/nlKggPT4g5a6a5LmJ5aSE55CG5pa55rOV44CCXG4gICAqL1xuICBwcmV2aWV3RmlsZT86IChmaWxlOiBOelVwbG9hZEZpbGUpID0+IE9ic2VydmFibGU8c3RyaW5nP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vKipcbiAgICog5piv5ZCm5pi+56S65LiK5Lyg5oyJ6ZKuXG4gICAqIEBkZWZhdWx0IHRydWVcbiAgICovXG4gIHNob3dVcGxvYWRCdXR0b24/OiBib29sZWFuO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIEFudGRJY29uIHtcbiAgLyoqIOWbvuagh+exu+WeiyAqL1xuICB0eXBlOiBzdHJpbmc7XG4gIC8qKiDlm77moIfkuLvpopjpo47moLzvvIzpu5jorqTvvJpgb3V0bGluZWAgKi9cbiAgdGhlbWU/OiBUaGVtZVR5cGU7XG4gIC8qKiDmmK/lkKbmnInml4vovazliqjnlLvvvIzpu5jorqTvvJpgZmFsc2VgICovXG4gIHNwaW4/OiBib29sZWFuO1xuICAvKiog5LuF6YCC55So5Y+M6Imy5Zu+5qCH77yM6K6+572u5Y+M6Imy5Zu+5qCH55qE5Li76KaB6aKc6Imy77yM5LuF5a+55b2T5YmNIGljb24g55Sf5pWIICovXG4gIHR3b1RvbmVDb2xvcj86IHN0cmluZztcbiAgLyoqIOaMh+WumuadpeiHqiBJY29uRm9udCDnmoTlm77moIfnsbvlnosgKi9cbiAgaWNvbmZvbnQ/OiBzdHJpbmc7XG59XG4iXX0=
|
@@ -138,4 +138,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
138
138
|
type: ViewChild,
|
139
139
|
args: ['upload', { static: true }]
|
140
140
|
}] } });
|
141
|
-
//# sourceMappingURL=data:application/json;base64,
|
141
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3VwbG9hZC9zcmMvdXBsb2FkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBR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gICAgICBzaG93VXBsb2FkQnV0dG9uOiB0cnVlLFxuICAgICAgbGltaXQ6IDAsXG4gICAgICBzaXplOiAwLFxuICAgICAgZmlsZUxpc3Q6IFtdLFxuICAgICAgZmlsdGVyOiBbXSxcbiAgICAgIHRleHQ6ICcnXG4gICAgfVxuICB9O1xuXG4gIEBWaWV3Q2hpbGQoJ3VwbG9hZCcsIHsgc3RhdGljOiB0cnVlIH0pIHVwbG9hZCE6IFVwbG9hZE56Q29tcG9uZW50O1xuXG4gIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIHB1YmxpYyBmaWVsZFRlbXBsYXRlczogRm9ybWx5Qm94VGVtcGxhdGVzKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIGNvbnN0IHR5cGUgPSB0aGlzLnByb3BzLnR5cGU7XG4gICAgaWYgKHR5cGUpIHtcbiAgICAgIHRoaXMudXBsb2FkLm56VHlwZSA9IHR5cGU7XG4gICAgfVxuICB9XG5cbiAgZ2V0IG56SWNvblJlbmRlcigpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWUodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ2ljb25SZW5kZXInKTtcbiAgfVxuXG4gIGdldCBuekZpbGVMaXN0UmVuZGVyKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnZmlsZUxpc3RSZW5kZXInKTtcbiAgfVxufVxuIl19
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-button-group.mjs","sources":["../../../../packages/formlyantd/button-group/src/button-group.type.ts","../../../../packages/formlyantd/button-group/src/button-group.module.ts","../../../../packages/formlyantd/button-group/src/ngx-formly-zorro-antd-button-group.ts"],"sourcesContent":["import { Component, Type, OnDestroy, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { Subject } from 'rxjs';\nimport { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { ButtonProps } from 'ngx-formly-zorro-antd/button';\n\nimport type { NzButtonGroupSize } from 'ng-zorro-antd/button';\n\
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-button-group.mjs","sources":["../../../../packages/formlyantd/button-group/src/button-group.type.ts","../../../../packages/formlyantd/button-group/src/button-group.module.ts","../../../../packages/formlyantd/button-group/src/ngx-formly-zorro-antd-button-group.ts"],"sourcesContent":["import { Component, Type, OnDestroy, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { Subject } from 'rxjs';\nimport { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { ButtonProps } from 'ngx-formly-zorro-antd/button';\n\nimport type { NzButtonGroupSize } from 'ng-zorro-antd/button';\n\nexport interface ButtonGroupProps extends FormlyFieldProps {\n size?: NzButtonGroupSize;\n\n /**\n * 每个按钮配置\n */\n buttons?: NzFormlyFieldConfig<Omit<ButtonProps, 'size' | 'textName'>>[];\n}\n\nexport interface FormlyButtonGroupFieldConfig extends NzFormlyFieldConfig<ButtonGroupProps> {\n type: 'button-group' | Type<FormlyFieldButtonGroup>;\n}\n\n@Component({\n selector: 'formly-field-button-group',\n template: `\n <nz-button-group\n [formlyAttributes]=\"field\"\n [nzSize]=\"props['size'] || 'default'\"\n [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\n >\n @for (item of props.buttons; track item.id) {\n <ng-container *ngTemplateOutlet=\"btnTemplate; context: { $implicit: item }\"></ng-container>\n }\n </nz-button-group>\n\n <ng-template #btnTemplate let-item>\n <button\n nz-button\n [formlyAttributes]=\"item\"\n [type]=\"item.type || 'button'\"\n [attr.title]=\"item.props['title']\"\n [disabled]=\"item.props.disabled!!\"\n [nzBlock]=\"item.props.block!!\"\n [nzDanger]=\"item.props.danger!!\"\n [nzGhost]=\"item.props.ghost!!\"\n [ngClass]=\"item.props['ngClass']\"\n [ngStyle]=\"item.props['ngStyle']\"\n [nzSize]=\"item.props.size || 'default'\"\n [nzLoading]=\"item.props.loading!!\"\n [nzShape]=\"item.props.shape ?? null\"\n [nzType]=\"item.props.nzType ?? null\"\n >\n @if (item.props.beforeIcon) {\n <span nz-icon [nzType]=\"item.props.beforeIcon\"></span>\n }\n @if (item.props.text) {\n <span>{{ item.props.text }}</span>\n }\n @if (item.props.afterIcon) {\n <span nz-icon [nzType]=\"item.props.afterIcon\"></span>\n }\n </button>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldButtonGroup extends FieldType<FieldTypeConfig<ButtonGroupProps>> implements OnDestroy {\n destroy$ = new Subject<void>();\n override defaultOptions = {\n props: {\n size: 'default' as const,\n buttons: []\n }\n };\n\n constructor() {\n super();\n }\n\n subjectDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n ngOnDestroy(): void {\n this.subjectDestroy();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyFieldButtonGroup } from './button-group.type';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@NgModule({\n declarations: [FormlyFieldButtonGroup],\n imports: [\n CommonModule,\n NzButtonModule,\n NzIconModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'button-group',\n component: FormlyFieldButtonGroup\n }\n ]\n })\n ]\n})\nexport class FormlyNzButtonGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAmEM,MAAO,sBAAuB,SAAQ,SAA4C,CAAA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,OAAO,EAAE;wBACP,YAAY;wBACZ,cAAc;wBACd,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,cAAc;AACpB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
|
@@ -57,9 +57,7 @@ class FormlyFieldCard extends FieldType {
|
|
57
57
|
@for (g of field.fieldGroup; track g.id) {
|
58
58
|
<formly-field [field]="g"></formly-field>
|
59
59
|
}
|
60
|
-
<ng-container
|
61
|
-
*nzStringTemplateOutlet="nzContent; context: { $implicit: field, options: props }"
|
62
|
-
>
|
60
|
+
<ng-container *nzStringTemplateOutlet="nzContent; context: { $implicit: field, options: props }">
|
63
61
|
{{ nzContent }}
|
64
62
|
</ng-container>
|
65
63
|
</nz-card>
|
@@ -88,9 +86,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
88
86
|
@for (g of field.fieldGroup; track g.id) {
|
89
87
|
<formly-field [field]="g"></formly-field>
|
90
88
|
}
|
91
|
-
<ng-container
|
92
|
-
*nzStringTemplateOutlet="nzContent; context: { $implicit: field, options: props }"
|
93
|
-
>
|
89
|
+
<ng-container *nzStringTemplateOutlet="nzContent; context: { $implicit: field, options: props }">
|
94
90
|
{{ nzContent }}
|
95
91
|
</ng-container>
|
96
92
|
</nz-card>
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-card.mjs","sources":["../../../../packages/formlyantd/card/src/card.type.ts","../../../../packages/formlyantd/card/src/card.module.ts","../../../../packages/formlyantd/card/src/ngx-formly-zorro-antd-card.ts"],"sourcesContent":["import { Component, TemplateRef, Type, Optional, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport {
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-card.mjs","sources":["../../../../packages/formlyantd/card/src/card.type.ts","../../../../packages/formlyantd/card/src/card.module.ts","../../../../packages/formlyantd/card/src/ngx-formly-zorro-antd-card.ts"],"sourcesContent":["import { Component, TemplateRef, Type, Optional, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport { FormlyBoxTemplates, resolveTplName, resolveTplNameArray } from 'ngx-formly-zorro-antd/common';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { CardWrapperProps } from 'ngx-formly-zorro-antd/card-wrapper';\n\nexport interface CardProps extends CardWrapperProps {\n /**\n * 内容\n */\n content?: string | TemplateRef<{ $implicit: CardProps; options: CardProps }>;\n contentName?: string;\n}\n\nexport interface FormlyCardFieldConfig extends NzFormlyFieldConfig<CardProps> {\n type: 'card' | Type<FormlyFieldCard>;\n}\n\n@Component({\n selector: 'formly-field-card',\n template: `\n <nz-card\n [nzActions]=\"nzActions\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['ngClass']\"\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBorderless]=\"props['borderless']!!\"\n [nzCover]=\"nzCover\"\n [nzExtra]=\"nzExtra\"\n [nzHoverable]=\"props['hoverable']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzTitle]=\"nzTitle\"\n [nzBordered]=\"props['bordered']!!\"\n [nzType]=\"props['type'] ?? null\"\n >\n @for (g of field.fieldGroup; track g.id) {\n <formly-field [field]=\"g\"></formly-field>\n }\n <ng-container *nzStringTemplateOutlet=\"nzContent; context: { $implicit: field, options: props }\">\n {{ nzContent }}\n </ng-container>\n </nz-card>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCard extends FieldType<FieldTypeConfig<CardProps>> {\n override defaultOptions = {\n props: {\n bordered: true,\n type: 'button'\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzTitle() {\n return resolveTplName(this.props, this.fieldTemplates, 'title');\n }\n get nzCover() {\n return resolveTplName(this.props, this.fieldTemplates, 'cover');\n }\n get nzExtra() {\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\n }\n get nzActions() {\n return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];\n }\n get nzContent() {\n return resolveTplName(this.props, this.fieldTemplates, 'content');\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport { FormlyFieldCard } from './card.type';\nimport { NzCardModule } from 'ng-zorro-antd/card';\n\nconst COMPONENT = FormlyFieldCard;\n\n@NgModule({\n declarations: [COMPONENT],\n imports: [\n CommonModule,\n NzCardModule,\n NzOutletModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'card',\n component: COMPONENT\n }\n ]\n })\n ]\n})\nexport class FormlyNzCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;AA8CM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;AAQxE,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAPxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,IAAI;AACd,gBAAA,IAAI,EAAE,QAAQ;AACf,aAAA;SACF,CAAC;KAID;AAED,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,I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AA,EAAA,OAAA,EAAA,CAK7B,YAAY;YACZ,YAAY;YACZ,cAAc,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA,EAAA;AAWL,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAb3B,YAAY;YACZ,YAAY;YACZ,cAAc;YACd,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,SAAS;AACrB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAhB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,SAAS,CAAC;AACzB,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,cAAc;wBACd,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,SAAS;AACrB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
|
@@ -70,7 +70,7 @@ class FormlyFieldCascader extends FieldType {
|
|
70
70
|
[nzColumnClassName]="props['columnClassName']"
|
71
71
|
[nzExpandIcon]="nzExpandIcon!"
|
72
72
|
[nzExpandTrigger]="props['expandTrigger']!"
|
73
|
-
[nzLabelProperty]="props['labelProperty']"
|
73
|
+
[nzLabelProperty]="props['labelProperty'] ?? ''"
|
74
74
|
[nzLabelRender]="nzLabelRender ?? null"
|
75
75
|
[nzLoadData]="props['loadData']"
|
76
76
|
[nzMenuClassName]="props['menuClassName']"
|
@@ -108,7 +108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
108
108
|
[nzColumnClassName]="props['columnClassName']"
|
109
109
|
[nzExpandIcon]="nzExpandIcon!"
|
110
110
|
[nzExpandTrigger]="props['expandTrigger']!"
|
111
|
-
[nzLabelProperty]="props['labelProperty']"
|
111
|
+
[nzLabelProperty]="props['labelProperty'] ?? ''"
|
112
112
|
[nzLabelRender]="nzLabelRender ?? null"
|
113
113
|
[nzLoadData]="props['loadData']"
|
114
114
|
[nzMenuClassName]="props['menuClassName']"
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import {\n Component,\n TemplateRef,\n Optional,\n Type,\n ChangeDetectionStrategy,\n OnInit\n} from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport { resolveTplName, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\n\ninterface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n expandIconName?: string;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n labelRenderName?: string;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n notFoundContentName?: string;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n optionRenderName?: string;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n suffixIconName?: string;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: FormlyAttributeEvent;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: FormlyAttributeEvent<boolean>;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: FormlyAttributeEvent<NzCascaderOption[]>;\n}\n\nexport interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['ngClass']\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"nzExpandIcon!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty']\"\n [nzLabelRender]=\"nzLabelRender ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"nzNotFoundContent\"\n [nzOptionRender]=\"nzOptionRender ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"nzSuffixIcon!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader\n extends FieldType<FieldTypeConfig<CascaderProps>>\n implements OnInit\n{\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzNotFoundContent() {\n return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');\n }\n\n get nzExpandIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');\n }\n\n get nzLabelRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'labelRender');\n }\n\n get nzOptionRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'optionRender');\n }\n\n get nzSuffixIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');\n }\n\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as NzSafeAny;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\n","/**\n * Gener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6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import { Component, TemplateRef, Optional, Type, ChangeDetectionStrategy, OnInit } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport { resolveTplName, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\n\nexport interface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n expandIconName?: string;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty?: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n labelRenderName?: string;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n notFoundContentName?: string;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n optionRenderName?: string;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n suffixIconName?: string;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: FormlyAttributeEvent;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: FormlyAttributeEvent<boolean>;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: FormlyAttributeEvent<NzCascaderOption[]>;\n}\n\nexport interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['ngClass']\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"nzExpandIcon!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty'] ?? ''\"\n [nzLabelRender]=\"nzLabelRender ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"nzNotFoundContent\"\n [nzOptionRender]=\"nzOptionRender ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"nzSuffixIcon!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader extends FieldType<FieldTypeConfig<CascaderProps>> implements OnInit {\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzNotFoundContent() {\n return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');\n }\n\n get nzExpandIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');\n }\n\n get nzLabelRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'labelRender');\n }\n\n get nzOptionRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'optionRender');\n }\n\n get nzSuffixIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');\n }\n\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as NzSafeAny;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AA0MM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AAkBhF,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAjBxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,UAAU,EAAE,IAAI;AACh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CAAA,EAAA;AAaP,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAhB/B,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YACvB,gBAAgB;YAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-checkbox.mjs","sources":["../../../../packages/formlyantd/checkbox/src/checkbox.type.ts","../../../../packages/formlyantd/checkbox/src/checkbox.module.ts","../../../../packages/formlyantd/checkbox/src/ngx-formly-zorro-antd-checkbox.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-checkbox.mjs","sources":["../../../../packages/formlyantd/checkbox/src/checkbox.type.ts","../../../../packages/formlyantd/checkbox/src/checkbox.module.ts","../../../../packages/formlyantd/checkbox/src/ngx-formly-zorro-antd-checkbox.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nexport interface CheckboxProps extends FormlyFieldProps {\n type?: 'group' | 'single';\n\n /**\n * 自动获取焦点\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 设置 indeterminate 状态,只负责样式控制\n * @default false\n */\n indeterminate?: boolean;\n\n /**\n * 数值改变时回调\n */\n modelChange?: FormlyAttributeEvent<boolean | null | undefined>;\n}\n\nexport interface FormlyCheckboxFieldConfig extends NzFormlyFieldConfig<CheckboxProps> {\n type: 'checkbox' | 'boolean' | Type<FormlyFieldCheckbox>;\n}\n\n@Component({\n selector: 'formly-field-checkbox',\n template: `\n @if (props.type !== 'group') {\n <label\n [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzIndeterminate]=\"props['indeterminate'] && formControl.value == null\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n nz-checkbox\n >\n {{ props.label }}\n </label>\n } @else {\n <nz-checkbox-group\n [formlyAttributes]=\"field\"\n [(ngModel)]=\"props.options\"\n [formControl]=\"formControl\"\n (ngModelChange)=\"props['modelChange']?.(field, $event)\"\n ></nz-checkbox-group>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {\n override defaultOptions = {\n props: {\n indeterminate: false,\n hideLabel: true\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzCheckboxModule } from 'ng-zorro-antd/checkbox';\n\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzCheckboxModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field']\n },\n {\n name: 'boolean',\n extends: 'checkbox'\n }\n ]\n })\n ]\n})\nexport class FormlyNzCheckboxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAwDM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AA1BlF,IAAA,WAAA,GAAA;;AA2BW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,SAAS,EAAE,IAAI;AAChB,aAAA;SACF,CAAC;AACH,KAAA;8GAPY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAxBpB,QAAA,EAAA,uBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAA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,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAxBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,SAAS;AACf,oCAAA,OAAO,EAAE,UAAU;AACpB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACjCD;;AAEG;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-flex.mjs","sources":["../../../../packages/formlyantd/flex/src/flex.type.ts","../../../../packages/formlyantd/flex/src/flex.module.ts","../../../../packages/formlyantd/flex/src/ngx-formly-zorro-antd-flex.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, NgClassType, NgStyleType } from 'ngx-formly-zorro-antd/common';\nimport type { NzWrap, NzJustify, NzAlign, NzFlex, NzGap } from 'ng-zorro-antd/flex';\n\
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-flex.mjs","sources":["../../../../packages/formlyantd/flex/src/flex.type.ts","../../../../packages/formlyantd/flex/src/flex.module.ts","../../../../packages/formlyantd/flex/src/ngx-formly-zorro-antd-flex.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, NgClassType, NgStyleType } from 'ngx-formly-zorro-antd/common';\nimport type { NzWrap, NzJustify, NzAlign, NzFlex, NzGap } from 'ng-zorro-antd/flex';\n\nexport interface FlexProps extends FormlyFieldProps {\n /**\n * 自定义css类\n */\n ngClass?: NgClassType;\n /**\n * 自定义样式\n */\n ngStyle?: NgStyleType;\n /**\n * flex 主轴的方向是否垂直,使用 flex-direction: column\n * @default false\n */\n vertical?: boolean;\n\n /** 设置元素在主轴方向上的对齐方式 */\n justify?: NzJustify;\n\n /** 设置元素在交叉轴方向上的对齐方式 */\n align?: NzAlign;\n\n /** 设置网格之间的间隙 */\n gap?: NzGap;\n\n /** 设置元素单行显示还是多行显示 */\n wrap?: NzWrap;\n\n /** flex CSS 简写属性 */\n flex?: NzFlex;\n}\n\nexport interface FormlyFlexFieldConfig extends NzFormlyFieldConfig<FlexProps> {\n type: 'flex' | Type<FormlyFieldFlex>;\n}\n\n@Component({\n selector: 'formly-field-flex',\n template: `\n <div\n [ngClass]=\"props['ngClass']\"\n [ngStyle]=\"props['ngStyle']\"\n [formlyAttributes]=\"field\"\n [nzVertical]=\"props['vertical']!!\"\n [nzJustify]=\"props['justify']!\"\n [nzAlign]=\"props['align']!\"\n [nzGap]=\"props['gap']!\"\n [nzWrap]=\"props['wrap']!\"\n [nzFlex]=\"props['flex']!\"\n nz-flex\n >\n @for (item of field.fieldGroup; track item.id) {\n <formly-field [field]=\"item\"></formly-field>\n }\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldFlex extends FieldType<FieldTypeConfig<FlexProps>> {\n override defaultOptions = {\n props: {\n vertical: false,\n justify: 'normal' as const,\n align: 'normal' as const,\n gap: 0,\n wrap: 'nowrap' as const,\n flex: 'unset' as const\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyFieldFlex } from './flex.type';\n\nimport { NzFlexModule } from 'ng-zorro-antd/flex';\n\n@NgModule({\n declarations: [FormlyFieldFlex],\n imports: [\n CommonModule,\n NzFlexModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'flex',\n component: FormlyFieldFlex\n }\n ]\n })\n ]\n})\nexport class FormlyNzFlexModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AA8DM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;AAtB1E,IAAA,WAAA,GAAA;;AAuBW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,OAAO,EAAE,QAAiB;AAC1B,gBAAA,KAAK,EAAE,QAAiB;AACxB,gBAAA,GAAG,EAAE,CAAC;AACN,gBAAA,IAAI,EAAE,QAAiB;AACvB,gBAAA,IAAI,EAAE,OAAgB;AACvB,aAAA;SACF,CAAC;AACH,KAAA;8GAXY,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,EApBhB,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;AAiBT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA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AA,CAAA,EAAA,CAAA,CAAA,EAAA;AAWH,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAZ3B,YAAY;YACZ,YAAY;YACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,eAAe;AAC3B,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAf9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;AAC/B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;AAC3B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
|
@@ -0,0 +1,210 @@
|
|
1
|
+
function field(key, type = 'input', label = '', props = {}, otherOptions = {}) {
|
2
|
+
const returner = { key, type };
|
3
|
+
returner.props = Object.assign({ label, ...props });
|
4
|
+
const className = `formly-${key}`;
|
5
|
+
otherOptions.className = otherOptions.className ? `${otherOptions.className} ${className}` : className;
|
6
|
+
return { ...returner, ...otherOptions };
|
7
|
+
}
|
8
|
+
function requiredField(key, type = 'input', label = '', props = {}, otherOptions = {}) {
|
9
|
+
return field(key, type, label, { ...props, required: true }, otherOptions);
|
10
|
+
}
|
11
|
+
function hidden(key) {
|
12
|
+
return { key, type: 'input', hide: true };
|
13
|
+
}
|
14
|
+
|
15
|
+
function treeSelect(key, label = '', props = {}, otherOptions = {}) {
|
16
|
+
return field(key, 'tree-select', label, props, otherOptions);
|
17
|
+
}
|
18
|
+
function requiredTreeSelect(key, label = '', props = {}, otherOptions = {}) {
|
19
|
+
return requiredField(key, 'tree-select', label, props, otherOptions);
|
20
|
+
}
|
21
|
+
function transfer(key, label = '', props = {}, otherOptions = {}) {
|
22
|
+
return field(key, 'transfer', label, props, otherOptions);
|
23
|
+
}
|
24
|
+
function requiredTransfer(key, label = '', props = {}, otherOptions = {}) {
|
25
|
+
return requiredField(key, 'transfer', label, props, otherOptions);
|
26
|
+
}
|
27
|
+
function timepicker(key, label = '', props = {}, otherOptions = {}) {
|
28
|
+
return field(key, 'timepicker', label, props, otherOptions);
|
29
|
+
}
|
30
|
+
function requiredTimepicker(key, label = '', props = {}, otherOptions = {}) {
|
31
|
+
return requiredField(key, 'timepicker', label, props, otherOptions);
|
32
|
+
}
|
33
|
+
function input(key, label = '', props = {}, otherOptions = {}) {
|
34
|
+
return field(key, 'input', label, props, otherOptions);
|
35
|
+
}
|
36
|
+
function requiredInput(key, label = '', props = {}, otherOptions = {}) {
|
37
|
+
return requiredField(key, 'input', label, props, otherOptions);
|
38
|
+
}
|
39
|
+
function textArea(key, label = '', props = {}, otherOptions = {}) {
|
40
|
+
return field(key, 'textarea', label, props, otherOptions);
|
41
|
+
}
|
42
|
+
function requiredTextArea(key, label = '', props = {}, otherOptions = {}) {
|
43
|
+
return requiredField(key, 'textarea', label, props, otherOptions);
|
44
|
+
}
|
45
|
+
function checkbox(key, label = '', props = {}, otherOptions = {}) {
|
46
|
+
return field(key, 'checkbox', label, props, otherOptions);
|
47
|
+
}
|
48
|
+
function requiredCheckbox(key, label = '', props = {}, otherOptions = {}) {
|
49
|
+
return requiredField(key, 'checkbox', label, props, otherOptions);
|
50
|
+
}
|
51
|
+
function cascader(key, label = '', props = {}, otherOptions = {}) {
|
52
|
+
return field(key, 'cascader', label, props, otherOptions);
|
53
|
+
}
|
54
|
+
function requiredCascader(key, label = '', props = {}, otherOptions = {}) {
|
55
|
+
return requiredField(key, 'cascader', label, props, otherOptions);
|
56
|
+
}
|
57
|
+
function datepicker(key, label = '', props = {}, otherOptions = {}) {
|
58
|
+
return field(key, 'datepicker', label, props, otherOptions);
|
59
|
+
}
|
60
|
+
function requiredDatepicker(key, label = '', props = {}, otherOptions = {}) {
|
61
|
+
return requiredField(key, 'datepicker', label, props, otherOptions);
|
62
|
+
}
|
63
|
+
function number(key, label = '', props = {}, otherOptions = {}) {
|
64
|
+
return field(key, 'number', label, props, otherOptions);
|
65
|
+
}
|
66
|
+
function requiredNumber(key, label = '', props = {}, otherOptions = {}) {
|
67
|
+
return requiredField(key, 'number', label, props, otherOptions);
|
68
|
+
}
|
69
|
+
/** 选择器 */
|
70
|
+
function select(key, label = '', props = {}, otherOptions = {}) {
|
71
|
+
return field(key, 'select', label, props, otherOptions);
|
72
|
+
}
|
73
|
+
/** 选择器 */
|
74
|
+
function requiredSelect(key, label = '', props = {}, otherOptions = {}) {
|
75
|
+
return requiredField(key, 'select', label, props, otherOptions);
|
76
|
+
}
|
77
|
+
/** 上传 */
|
78
|
+
function upload(key, label = '', props = { fileList: [] }, otherOptions = {}) {
|
79
|
+
return field(key, 'upload', label, props, otherOptions);
|
80
|
+
}
|
81
|
+
/** 上传 */
|
82
|
+
function requiredUpload(key, label = '', props = { fileList: [] }, otherOptions = {}) {
|
83
|
+
return requiredField(key, 'upload', label, props, otherOptions);
|
84
|
+
}
|
85
|
+
/** 单选框 */
|
86
|
+
function radio(key, label = '', props = {}, otherOptions = {}) {
|
87
|
+
return field(key, 'radio', label, props, otherOptions);
|
88
|
+
}
|
89
|
+
/** 单选框 */
|
90
|
+
function requiredRadio(key, label = '', props = {}, otherOptions = {}) {
|
91
|
+
return requiredField(key, 'radio', label, props, otherOptions);
|
92
|
+
}
|
93
|
+
/** 评分 */
|
94
|
+
function rate(key, label = '', props = {}, otherOptions = {}) {
|
95
|
+
return field(key, 'rate', label, props, otherOptions);
|
96
|
+
}
|
97
|
+
/** 评分 */
|
98
|
+
function requiredRate(key, label = '', props = {}, otherOptions = {}) {
|
99
|
+
return requiredField(key, 'rate', label, props, otherOptions);
|
100
|
+
}
|
101
|
+
/** 开关 */
|
102
|
+
function requiredSwitch(key, label = '', props = {}, otherOptions = {}) {
|
103
|
+
return requiredField(key, 'switch', label, props, otherOptions);
|
104
|
+
}
|
105
|
+
/** 滑动输入条 */
|
106
|
+
function slider(key, label = '', props = {}, otherOptions = {}) {
|
107
|
+
return field(key, 'slider', label, props, otherOptions);
|
108
|
+
}
|
109
|
+
/** 滑动输入条 */
|
110
|
+
function requiredSlide(key, label = '', props = {}, otherOptions = {}) {
|
111
|
+
return requiredField(key, 'slider', label, props, otherOptions);
|
112
|
+
}
|
113
|
+
/** 文本显示 */
|
114
|
+
function text(props = {}, otherOptions = {}) {
|
115
|
+
return field('', 'text', '', props, otherOptions);
|
116
|
+
}
|
117
|
+
/** 输入组 */
|
118
|
+
function inputGroup(props = {}, otherOptions = {}) {
|
119
|
+
return field('', 'input-group', '', props, otherOptions);
|
120
|
+
}
|
121
|
+
/** 间距 */
|
122
|
+
function space(props = {}, otherOptions = {}) {
|
123
|
+
return field('', 'space', '', props, otherOptions);
|
124
|
+
}
|
125
|
+
/** 模板 */
|
126
|
+
function ref(props = {}, otherOptions = {}) {
|
127
|
+
return field('', 'ref-template', '', props, otherOptions);
|
128
|
+
}
|
129
|
+
/** 栅格 */
|
130
|
+
function grid(props = {}, otherOptions = {}) {
|
131
|
+
return field('', 'grid', '', props, otherOptions);
|
132
|
+
}
|
133
|
+
/** 弹性布局 */
|
134
|
+
function flex(props = {}, otherOptions = {}) {
|
135
|
+
return field('', 'flex', '', props, otherOptions);
|
136
|
+
}
|
137
|
+
/** 卡片 */
|
138
|
+
function card(props = {}, otherOptions = {}) {
|
139
|
+
return field('', 'card', '', props, otherOptions);
|
140
|
+
}
|
141
|
+
/** 按钮组 */
|
142
|
+
function buttonGroup(props = {}, otherOptions = {}) {
|
143
|
+
return field('', 'button-group', '', props, otherOptions);
|
144
|
+
}
|
145
|
+
function button(text = '', props = {}, otherOptions = {}) {
|
146
|
+
return field('', 'button', '', { text, ...props }, otherOptions);
|
147
|
+
}
|
148
|
+
function submit(text = '', props = {}, otherOptions = {}) {
|
149
|
+
return field('', 'submit', '', { text, ...props }, otherOptions);
|
150
|
+
}
|
151
|
+
function reset(text = '', props = {}, otherOptions = {}) {
|
152
|
+
return field('', 'reset', '', { text, ...props }, otherOptions);
|
153
|
+
}
|
154
|
+
|
155
|
+
const formly = {
|
156
|
+
field,
|
157
|
+
requiredField,
|
158
|
+
hidden,
|
159
|
+
input,
|
160
|
+
requiredInput,
|
161
|
+
textArea,
|
162
|
+
requiredTextArea,
|
163
|
+
checkbox,
|
164
|
+
requiredCheckbox,
|
165
|
+
cascader,
|
166
|
+
requiredCascader,
|
167
|
+
number,
|
168
|
+
requiredNumber,
|
169
|
+
radio,
|
170
|
+
requiredRadio,
|
171
|
+
rate,
|
172
|
+
requiredRate,
|
173
|
+
datepicker,
|
174
|
+
requiredDatepicker,
|
175
|
+
/** 开关 */
|
176
|
+
switch: (key, label = '', props = {}, otherOptions = {}) => {
|
177
|
+
return field(key, 'switch', label, props, otherOptions);
|
178
|
+
},
|
179
|
+
requiredSwitch,
|
180
|
+
upload,
|
181
|
+
requiredUpload,
|
182
|
+
slider,
|
183
|
+
requiredSlide,
|
184
|
+
select,
|
185
|
+
requiredSelect,
|
186
|
+
treeSelect,
|
187
|
+
requiredTreeSelect,
|
188
|
+
transfer,
|
189
|
+
requiredTransfer,
|
190
|
+
timepicker,
|
191
|
+
requiredTimepicker,
|
192
|
+
text,
|
193
|
+
space,
|
194
|
+
inputGroup,
|
195
|
+
ref,
|
196
|
+
grid,
|
197
|
+
flex,
|
198
|
+
card,
|
199
|
+
button,
|
200
|
+
buttonGroup,
|
201
|
+
submit,
|
202
|
+
reset
|
203
|
+
};
|
204
|
+
|
205
|
+
/**
|
206
|
+
* Generated bundle index. Do not edit.
|
207
|
+
*/
|
208
|
+
|
209
|
+
export { formly };
|
210
|
+
//# sourceMappingURL=ngx-formly-zorro-antd-helpers.mjs.map
|