ngx-formly-zorro-antd 17.1.1 → 17.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/esm2022/autocomplete/autocomplete.props.mjs +1 -1
- package/esm2022/autocomplete/public_api.mjs +1 -1
- package/esm2022/button/button.module.mjs +5 -5
- package/esm2022/button/button.type.mjs +125 -125
- package/esm2022/button/public_api.mjs +1 -1
- package/esm2022/button-group/button-group.module.mjs +5 -5
- package/esm2022/button-group/button-group.type.mjs +69 -69
- package/esm2022/button-group/public_api.mjs +1 -1
- package/esm2022/card/card.module.mjs +5 -5
- package/esm2022/card/card.type.mjs +53 -53
- package/esm2022/card/public_api.mjs +1 -1
- package/esm2022/card-wrapper/card-wrapper.module.mjs +5 -5
- package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
- package/esm2022/card-wrapper/card.wrapper.mjs +39 -39
- package/esm2022/card-wrapper/public_api.mjs +1 -1
- package/esm2022/cascader/cascader.module.mjs +5 -5
- package/esm2022/cascader/cascader.type.mjs +67 -67
- package/esm2022/cascader/public_api.mjs +1 -1
- package/esm2022/checkbox/checkbox.module.mjs +5 -5
- package/esm2022/checkbox/checkbox.type.mjs +41 -41
- package/esm2022/checkbox/public_api.mjs +1 -1
- package/esm2022/common/common.module.mjs +5 -5
- package/esm2022/common/formly-box-templates.directive.mjs +4 -4
- 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 +5 -5
- package/esm2022/datepicker/datepicker.props.mjs +1 -1
- package/esm2022/datepicker/datepicker.type.mjs +151 -151
- 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/flex/flex.module.mjs +41 -0
- package/esm2022/flex/flex.type.mjs +66 -0
- package/esm2022/flex/ngx-formly-zorro-antd-flex.mjs +5 -0
- package/esm2022/flex/public_api.mjs +3 -0
- package/esm2022/form-field/form-field.module.mjs +5 -5
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +149 -149
- package/esm2022/form-field/public_api.mjs +1 -1
- package/esm2022/grid/grid.module.mjs +5 -5
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/grid/grid.type.mjs +61 -61
- package/esm2022/grid/public_api.mjs +1 -1
- package/esm2022/index.mjs +1 -1
- package/esm2022/input/input.module.mjs +5 -5
- package/esm2022/input/input.props.mjs +1 -1
- package/esm2022/input/input.type.mjs +277 -277
- package/esm2022/input/public_api.mjs +1 -1
- package/esm2022/input-group/input-group.module.mjs +5 -5
- package/esm2022/input-group/input-group.props.mjs +1 -1
- package/esm2022/input-group/input-group.type.mjs +41 -41
- package/esm2022/input-group/public_api.mjs +1 -1
- package/esm2022/input-number/input-number.module.mjs +5 -5
- package/esm2022/input-number/input-number.props.mjs +1 -1
- package/esm2022/input-number/input-number.type.mjs +91 -91
- 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 +12 -8
- package/esm2022/radio/public_api.mjs +1 -1
- package/esm2022/radio/radio.module.mjs +5 -5
- package/esm2022/radio/radio.type.mjs +83 -83
- package/esm2022/rate/public_api.mjs +1 -1
- package/esm2022/rate/rate.module.mjs +5 -5
- package/esm2022/rate/rate.type.mjs +35 -35
- package/esm2022/ref-template/public_api.mjs +1 -1
- package/esm2022/ref-template/ref-template.module.mjs +5 -5
- package/esm2022/ref-template/ref-template.type.mjs +11 -11
- package/esm2022/select/public_api.mjs +1 -1
- package/esm2022/select/select.module.mjs +5 -5
- package/esm2022/select/select.props.mjs +1 -1
- package/esm2022/select/select.type.mjs +125 -125
- package/esm2022/slider/public_api.mjs +1 -1
- package/esm2022/slider/slider.module.mjs +5 -5
- package/esm2022/slider/slider.type.mjs +35 -35
- package/esm2022/space/public_api.mjs +1 -1
- package/esm2022/space/space.module.mjs +5 -5
- package/esm2022/space/space.type.mjs +29 -29
- package/esm2022/switch/public_api.mjs +1 -1
- package/esm2022/switch/switch.module.mjs +5 -5
- package/esm2022/switch/switch.type.mjs +27 -27
- package/esm2022/tabs/public_api.mjs +1 -1
- package/esm2022/tabs/tabs.module.mjs +5 -5
- package/esm2022/tabs/tabs.props.mjs +1 -1
- package/esm2022/tabs/tabs.wrapper.mjs +81 -81
- package/esm2022/text-value/public_api.mjs +1 -1
- package/esm2022/text-value/text-value.module.mjs +5 -5
- package/esm2022/text-value/text-value.type.mjs +21 -21
- package/esm2022/textarea/public_api.mjs +1 -1
- package/esm2022/textarea/textarea.module.mjs +5 -5
- package/esm2022/textarea/textarea.type.mjs +115 -115
- package/esm2022/timepicker/public_api.mjs +1 -1
- package/esm2022/timepicker/timepicker.module.mjs +5 -5
- package/esm2022/timepicker/timepicker.type.mjs +63 -63
- package/esm2022/transfer/public_api.mjs +1 -1
- package/esm2022/transfer/transfer.component.mjs +52 -52
- package/esm2022/transfer/transfer.module.mjs +5 -5
- package/esm2022/transfer/transfer.type.mjs +49 -49
- package/esm2022/tree-select/public_api.mjs +1 -1
- package/esm2022/tree-select/tree-select.module.mjs +5 -5
- package/esm2022/tree-select/tree-select.type.mjs +71 -71
- package/esm2022/upload/public_api.mjs +1 -1
- package/esm2022/upload/upload.component.mjs +146 -146
- package/esm2022/upload/upload.module.mjs +5 -5
- package/esm2022/upload/upload.props.mjs +1 -1
- package/esm2022/upload/upload.type.mjs +85 -85
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +72 -72
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +128 -128
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +42 -42
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +56 -56
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +70 -70
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +44 -44
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-common.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +154 -154
- 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-flex.mjs +109 -0
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +152 -152
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +64 -64
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +44 -44
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +94 -94
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +280 -280
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +86 -86
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +38 -38
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +14 -14
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +128 -128
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +38 -38
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +32 -32
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +30 -30
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +84 -84
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +118 -118
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +66 -66
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +103 -103
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +74 -74
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +233 -233
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs +11 -7
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/flex/flex.module.d.ts +10 -0
- package/flex/flex.type.d.ts +48 -0
- package/flex/index.d.ts +5 -0
- package/flex/public_api.d.ts +2 -0
- package/input/input.props.d.ts +4 -2
- package/input/public_api.d.ts +1 -0
- package/input-group/input-group.props.d.ts +2 -0
- package/input-group/public_api.d.ts +1 -1
- package/lib/ui-ng-zorro-antd.module.d.ts +2 -1
- package/package.json +24 -18
- package/autocomplete/package.json +0 -3
- package/button/package.json +0 -3
- package/button-group/package.json +0 -3
- package/card/package.json +0 -3
- package/card-wrapper/package.json +0 -3
- package/cascader/package.json +0 -3
- package/checkbox/package.json +0 -3
- package/common/package.json +0 -3
- package/datepicker/package.json +0 -3
- package/extension/package.json +0 -3
- package/form-field/package.json +0 -3
- package/grid/package.json +0 -3
- package/input/package.json +0 -3
- package/input-group/package.json +0 -3
- package/input-number/package.json +0 -3
- package/radio/package.json +0 -3
- package/rate/package.json +0 -3
- package/ref-template/package.json +0 -3
- package/select/package.json +0 -3
- package/slider/package.json +0 -3
- package/space/package.json +0 -3
- package/switch/package.json +0 -3
- package/tabs/package.json +0 -3
- package/text-value/package.json +0 -3
- package/textarea/package.json +0 -3
- package/timepicker/package.json +0 -3
- package/transfer/package.json +0 -3
- package/tree-select/package.json +0 -3
- package/upload/package.json +0 -3
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-common.mjs","sources":["../../../../packages/formlyantd/common/formly-box-templates.directive.ts","../../../../packages/formlyantd/common/common.module.ts","../../../../packages/formlyantd/common/formly-utils.ts","../../../../packages/formlyantd/common/ngx-formly-zorro-antd-common.ts"],"sourcesContent":["import {\n AfterContentInit,\n ContentChildren,\n Directive,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n QueryList,\n SimpleChange,\n SimpleChanges,\n TemplateRef\n} from '@angular/core';\nimport { NamedTemplate } from '@pkt/ng.core';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: '[formly-box]',\n standalone: true,\n exportAs: 'FormlyBox'\n})\nexport class FormlyBoxTemplates implements AfterContentInit, OnChanges {\n private tplMap = new Map<string, TemplateRef<NzSafeAny>>();\n @Input('formly-box') templateList?: TemplateList;\n @Output() templateChange = new EventEmitter<Map<string, TemplateRef<NzSafeAny>>>();\n @ContentChildren(NamedTemplate) namedTemplate!: QueryList<NamedTemplate<NzSafeAny>>;\n\n get templates(): Map<string, TemplateRef<NzSafeAny>> {\n return this.tplMap;\n }\n\n /**\n * 根据模板名称获取TemplateRef\n * @param templateName 模板名称\n */\n get(templateName: string): TemplateRef<NzSafeAny> | undefined {\n return this.tplMap.get(templateName);\n }\n\n ngAfterContentInit(): void {\n this.update();\n this.namedTemplate.changes.subscribe(() => {\n this.update();\n });\n }\n update(emitChange = true) {\n this.tplMap.clear();\n this.mergeTemplate(this.tplMap, emitChange);\n }\n\n ngOnChanges(changes: { [K in keyof this]?: SimpleChange } & SimpleChanges): void {\n if (changes.templateList && !changes.templateList.isFirstChange()) {\n this.update();\n }\n }\n\n /**\n * 合并参数模板\n * @param tplMap\n * @param emitChange\n */\n mergeTemplate(tplMap: Map<string, TemplateRef<NzSafeAny>>, emitChange = true) {\n this.mergeTemplates(tplMap, this.templateList);\n this.mergeQueryTemplate(tplMap, this.namedTemplate);\n\n if (emitChange) {\n this.templateChange.emit(tplMap);\n }\n }\n\n /**\n * 合并content 模板\n * @param tplMap\n * @param templateList\n * @private\n */\n private mergeQueryTemplate(\n tplMap: Map<string, TemplateRef<NzSafeAny>>,\n templateList?: QueryList<NamedTemplate<NzSafeAny>>\n ): void {\n if (templateList) {\n templateList.forEach(v => {\n tplMap.set(v.named ?? '', v.template);\n });\n }\n }\n\n /**\n * 合并模板列表\n * @param tplMap 模板Map\n * @param templateList\n */\n private mergeTemplates(\n tplMap: Map<string, TemplateRef<NzSafeAny>>,\n templateList?: TemplateList\n ): void {\n if (!templateList) {\n return;\n }\n\n if (templateList instanceof TemplateRef) {\n const namedTpl = new NamedTemplate(templateList);\n namedTpl.resolveName();\n tplMap.set(namedTpl.named ?? '', namedTpl.template);\n return;\n }\n\n templateList.forEach(v => {\n if (v instanceof NamedTemplate) {\n tplMap.set(v.named ?? '', v.template);\n } else {\n const namedTpl = new NamedTemplate(v);\n namedTpl.resolveName();\n tplMap.set(namedTpl.named ?? '', namedTpl.template);\n }\n });\n\n return;\n }\n}\n\n/**\n * 模板列表\n */\nexport type TemplateList =\n | QueryList<TemplateRef<NzSafeAny>>\n | QueryList<NamedTemplate<NzSafeAny>>\n | NamedTemplate<NzSafeAny>[]\n | TemplateRef<NzSafeAny>;\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyBoxTemplates } from './formly-box-templates.directive';\nimport { NamedTemplate } from '@pkt/ng.core';\n\nconst COMPONENT = [FormlyBoxTemplates, NamedTemplate];\n\n@NgModule({\n imports: [CommonModule, ...COMPONENT],\n exports: COMPONENT\n})\nexport class FormlyCommonModule {}\n","import { TemplateRef } from '@angular/core';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport { FormlyBoxTemplates } from './formly-box-templates.directive';\n\n/**\n * 根据属性名获取模板名称\n * @param propName 属性名\n */\nexport function getTplName(propName: string) {\n return `${propName}Name`;\n}\n\n/**\n * 获取模板名称\n * @param value\n * @param propName\n * @param propTemplateName 模板属性名称\n */\nexport function hasTplNameValue(\n value: NzSafeAny,\n propName: string,\n propTemplateName?: string\n): boolean {\n const tplName = propTemplateName || getTplName(propName);\n return value[propName] || value[tplName];\n}\n\n/**\n * 处理属性为模板类型, 根据模板名称处理成模板对象\n * @param value 数据对象\n * @param fieldTemplates 模板容器\n * @param propName 属性名\n * @param propTemplateName 模板属性名称\n */\nexport function resolveTplName<T = NzSafeAny>(\n value: NzSafeAny,\n fieldTemplates: FormlyBoxTemplates,\n propName: string,\n propTemplateName?: string\n): TemplateRef<T> | undefined {\n if (value[propName]) {\n return value[propName];\n }\n if (!fieldTemplates) {\n return undefined;\n }\n const tplName = propTemplateName || getTplName(propName);\n return fieldTemplates.get(value[tplName]);\n}\n\n/**\n * 处理属性为模板类型, 根据模板名称处理成模板对象列表\n * @param value 数据对象\n * @param fieldTemplates 模板容器\n * @param propName 属性名\n * @param propTemplateName 模板属性名称\n */\nexport function resolveTplNameArray<T = NzSafeAny>(\n value: NzSafeAny,\n fieldTemplates: FormlyBoxTemplates,\n propName: string,\n propTemplateName?: string\n): TemplateRef<T>[] {\n if (value[propName] != null) {\n return value[propName];\n }\n if (!fieldTemplates) {\n return [];\n }\n const tplName = propTemplateName || getTplName(propName);\n const tplValue = value[tplName];\n if (Array.isArray(tplValue)) {\n return tplValue.map(key => fieldTemplates.get(key)).filter(tpl => tpl) as TemplateRef<T>[];\n }\n return [];\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAsBa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;AAOU,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,GAAG,EAAkC,CAAC;AAEjD,QAAA,IAAA,CAAA,cAAc,GAAG,IAAI,YAAY,EAAuC,CAAC;AA+FpF,KAAA;AA5FC,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,MAAM,CAAC;KACpB;AAED;;;AAGG;AACH,IAAA,GAAG,CAAC,YAAoB,EAAA;QACtB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;KACtC;IAED,kBAAkB,GAAA;QAChB,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,SAAS,CAAC,MAAK;YACxC,IAAI,CAAC,MAAM,EAAE,CAAC;AAChB,SAAC,CAAC,CAAC;KACJ;IACD,MAAM,CAAC,UAAU,GAAG,IAAI,EAAA;AACtB,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;QACpB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;KAC7C;AAED,IAAA,WAAW,CAAC,OAA6D,EAAA;QACvE,IAAI,OAAO,CAAC,YAAY,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,aAAa,EAAE,E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AM,OAAO,GAAG,gBAAgB,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC;IACzD,OAAO,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAC5C,CAAC;AAED;;;;;;AAMG;AACG,SAAU,mBAAmB,CACjC,KAAgB,EAChB,cAAkC,EAClC,QAAgB,EAChB,gBAAyB,EAAA;AAEzB,IAAA,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,IAAI,EAAE;AAC3B,QAAA,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC;AACxB,KAAA;IACD,IAAI,CAAC,cAAc,EAAE;AACnB,QAAA,OAAO,EAAE,CAAC;AACX,KAAA;IACD,MAAM,OAAO,GAAG,gBAAgB,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC;AACzD,IAAA,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AAChC,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;QAC3B,OAAO,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,CAAqB,CAAC;AAC5F,KAAA;AACD,IAAA,OAAO,EAAE,CAAC;AACZ;;AC3EA;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-common.mjs","sources":["../../../../packages/formlyantd/common/formly-box-templates.directive.ts","../../../../packages/formlyantd/common/common.module.ts","../../../../packages/formlyantd/common/formly-utils.ts","../../../../packages/formlyantd/common/ngx-formly-zorro-antd-common.ts"],"sourcesContent":["import {\r\n AfterContentInit,\r\n ContentChildren,\r\n Directive,\r\n EventEmitter,\r\n Input,\r\n OnChanges,\r\n Output,\r\n QueryList,\r\n SimpleChange,\r\n SimpleChanges,\r\n TemplateRef\r\n} from '@angular/core';\r\nimport { NamedTemplate } from '@pkt/ng.core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\n\r\n@Directive({\r\n // eslint-disable-next-line @angular-eslint/directive-selector\r\n selector: '[formly-box]',\r\n standalone: true,\r\n exportAs: 'FormlyBox'\r\n})\r\nexport class FormlyBoxTemplates implements AfterContentInit, OnChanges {\r\n private tplMap = new Map<string, TemplateRef<NzSafeAny>>();\r\n @Input('formly-box') templateList?: TemplateList;\r\n @Output() templateChange = new EventEmitter<Map<string, TemplateRef<NzSafeAny>>>();\r\n @ContentChildren(NamedTemplate) namedTemplate!: QueryList<NamedTemplate<NzSafeAny>>;\r\n\r\n get templates(): Map<string, TemplateRef<NzSafeAny>> {\r\n return this.tplMap;\r\n }\r\n\r\n /**\r\n * 根据模板名称获取TemplateRef\r\n * @param templateName 模板名称\r\n */\r\n get(templateName: string): TemplateRef<NzSafeAny> | undefined {\r\n return this.tplMap.get(templateName);\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n this.update();\r\n this.namedTemplate.changes.subscribe(() => {\r\n this.update();\r\n });\r\n }\r\n update(emitChange = true) {\r\n this.tplMap.clear();\r\n this.mergeTemplate(this.tplMap, emitChange);\r\n }\r\n\r\n ngOnChanges(changes: { [K in keyof this]?: SimpleChange } & SimpleChanges): void {\r\n if (changes.templateList && !changes.templateList.isFirstChange()) {\r\n this.update();\r\n }\r\n }\r\n\r\n /**\r\n * 合并参数模板\r\n * @param tplMap\r\n * @param emitChange\r\n */\r\n mergeTemplate(tplMap: Map<string, TemplateRef<NzSafeAny>>, emitChange = true) {\r\n this.mergeTemplates(tplMap, this.templateList);\r\n this.mergeQueryTemplate(tplMap, this.namedTemplate);\r\n\r\n if (emitChange) {\r\n this.templateChange.emit(tplMap);\r\n }\r\n }\r\n\r\n /**\r\n * 合并content 模板\r\n * @param tplMap\r\n * @param templateList\r\n * @private\r\n */\r\n private mergeQueryTemplate(\r\n tplMap: Map<string, TemplateRef<NzSafeAny>>,\r\n templateList?: QueryList<NamedTemplate<NzSafeAny>>\r\n ): void {\r\n if (templateList) {\r\n templateList.forEach(v => {\r\n tplMap.set(v.named ?? '', v.template);\r\n });\r\n }\r\n }\r\n\r\n /**\r\n * 合并模板列表\r\n * @param tplMap 模板Map\r\n * @param templateList\r\n */\r\n private mergeTemplates(\r\n tplMap: Map<string, TemplateRef<NzSafeAny>>,\r\n templateList?: TemplateList\r\n ): void {\r\n if (!templateList) {\r\n return;\r\n }\r\n\r\n if (templateList instanceof TemplateRef) {\r\n const namedTpl = new NamedTemplate(templateList);\r\n namedTpl.resolveName();\r\n tplMap.set(namedTpl.named ?? '', namedTpl.template);\r\n return;\r\n }\r\n\r\n templateList.forEach(v => {\r\n if (v instanceof NamedTemplate) {\r\n tplMap.set(v.named ?? '', v.template);\r\n } else {\r\n const namedTpl = new NamedTemplate(v);\r\n namedTpl.resolveName();\r\n tplMap.set(namedTpl.named ?? '', namedTpl.template);\r\n }\r\n });\r\n\r\n return;\r\n }\r\n}\r\n\r\n/**\r\n * 模板列表\r\n */\r\nexport type TemplateList =\r\n | QueryList<TemplateRef<NzSafeAny>>\r\n | QueryList<NamedTemplate<NzSafeAny>>\r\n | NamedTemplate<NzSafeAny>[]\r\n | TemplateRef<NzSafeAny>;\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyBoxTemplates } from './formly-box-templates.directive';\r\nimport { NamedTemplate } from '@pkt/ng.core';\r\n\r\nconst COMPONENT = [FormlyBoxTemplates, NamedTemplate];\r\n\r\n@NgModule({\r\n imports: [CommonModule, ...COMPONENT],\r\n exports: COMPONENT\r\n})\r\nexport class FormlyCommonModule {}\r\n","import { TemplateRef } from '@angular/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport { FormlyBoxTemplates } from './formly-box-templates.directive';\r\n\r\n/**\r\n * 根据属性名获取模板名称\r\n * @param propName 属性名\r\n */\r\nexport function getTplName(propName: string) {\r\n return `${propName}Name`;\r\n}\r\n\r\n/**\r\n * 获取模板名称\r\n * @param value\r\n * @param propName\r\n * @param propTemplateName 模板属性名称\r\n */\r\nexport function hasTplNameValue(\r\n value: NzSafeAny,\r\n propName: string,\r\n propTemplateName?: string\r\n): boolean {\r\n const tplName = propTemplateName || getTplName(propName);\r\n return value[propName] || value[tplName];\r\n}\r\n\r\n/**\r\n * 处理属性为模板类型, 根据模板名称处理成模板对象\r\n * @param value 数据对象\r\n * @param fieldTemplates 模板容器\r\n * @param propName 属性名\r\n * @param propTemplateName 模板属性名称\r\n */\r\nexport function resolveTplName<T = NzSafeAny>(\r\n value: NzSafeAny,\r\n fieldTemplates: FormlyBoxTemplates,\r\n propName: string,\r\n propTemplateName?: string\r\n): TemplateRef<T> | undefined {\r\n if (value[propName]) {\r\n return value[propName];\r\n }\r\n if (!fieldTemplates) {\r\n return undefined;\r\n }\r\n const tplName = propTemplateName || getTplName(propName);\r\n return fieldTemplates.get(value[tplName]);\r\n}\r\n\r\n/**\r\n * 处理属性为模板类型, 根据模板名称处理成模板对象列表\r\n * @param value 数据对象\r\n * @param fieldTemplates 模板容器\r\n * @param propName 属性名\r\n * @param propTemplateName 模板属性名称\r\n */\r\nexport function resolveTplNameArray<T = NzSafeAny>(\r\n value: NzSafeAny,\r\n fieldTemplates: FormlyBoxTemplates,\r\n propName: string,\r\n propTemplateName?: string\r\n): TemplateRef<T>[] {\r\n if (value[propName] != null) {\r\n return value[propName];\r\n }\r\n if (!fieldTemplates) {\r\n return [];\r\n }\r\n const tplName = propTemplateName || getTplName(propName);\r\n const tplValue = value[tplName];\r\n if (Array.isArray(tplValue)) {\r\n return tplValue.map(key => fieldTemplates.get(key)).filter(tpl => tpl) as TemplateRef<T>[];\r\n }\r\n return [];\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;MAsBa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;AAOU,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,GAAG,EAAkC,CAAC;AAEjD,QAAA,IAAA,C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,IAAA,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AAChC,IAAA,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE;QAC3B,OAAO,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAI,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,CAAqB,CAAC;AAC5F,KAAA;AACD,IAAA,OAAO,EAAE,CAAC;AACZ;;AC3EA;;AAEG;;;;"}
|
@@ -35,173 +35,173 @@ class FormlyFieldDatepicker extends FieldType {
|
|
35
35
|
}
|
36
36
|
};
|
37
37
|
}
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
39
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
40
|
-
<nz-range-picker
|
41
|
-
[nzId]="id"
|
42
|
-
[formControl]="formControl"
|
43
|
-
[formlyAttributes]="field"
|
44
|
-
[ngClass]="props['ngClass']"
|
45
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
46
|
-
[nzAllowClear]="props['allowClear']!!"
|
47
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
48
|
-
[nzBackdrop]="props['backdrop']!!"
|
49
|
-
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
50
|
-
[nzDisabledDate]="props['disabledDate']"
|
51
|
-
[nzDropdownClassName]="props['dropdownClassName']"
|
52
|
-
[nzFormat]="props['format']"
|
53
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
54
|
-
[nzMode]="props['mode']"
|
55
|
-
[nzPopupStyle]="props['popupStyle']"
|
56
|
-
[nzSize]="props['size']"
|
57
|
-
[nzStatus]="props['status'] ?? ''"
|
58
|
-
[nzPlacement]="props['placement']"
|
59
|
-
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
60
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
61
|
-
[nzBorderless]="props['borderless']"
|
62
|
-
[nzInline]="props['inline']"
|
63
|
-
[nzDateRender]="props['dateRender']"
|
64
|
-
[nzDisabledTime]="props['rangeOptions']?.disabledTime"
|
65
|
-
[nzShowTime]="props['showTime']"
|
66
|
-
[nzShowToday]="props['showToday']!!"
|
67
|
-
[nzShowNow]="props['showNow']!!"
|
68
|
-
[nzShowWeekNumber]="props['showWeekNumber']!!"
|
69
|
-
[nzRanges]="props['rangeOptions']?.ranges"
|
70
|
-
[nzSeparator]="props['rangeOptions']?.separator"
|
71
|
-
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
72
|
-
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
73
|
-
(nzOnCalendarChange)="
|
74
|
-
props['rangeOptions']?.calendarChange &&
|
75
|
-
props['rangeOptions']?.calendarChange(field, $event)
|
76
|
-
"
|
77
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
78
|
-
></nz-range-picker>
|
79
|
-
} @else {
|
80
|
-
<nz-date-picker
|
81
|
-
[nzId]="id"
|
82
|
-
[formControl]="formControl"
|
83
|
-
[formlyAttributes]="field"
|
84
|
-
[ngClass]="props['ngClass']"
|
85
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
86
|
-
[nzAllowClear]="props['allowClear']!!"
|
87
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
88
|
-
[nzBackdrop]="props['backdrop']!!"
|
89
|
-
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
90
|
-
[nzDisabledDate]="props['disabledDate']"
|
91
|
-
[nzDropdownClassName]="props['dropdownClassName']"
|
92
|
-
[nzFormat]="props['format']"
|
93
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
94
|
-
[nzMode]="props['mode']"
|
95
|
-
[nzPopupStyle]="props['popupStyle']!"
|
96
|
-
[nzSize]="props['size']!"
|
97
|
-
[nzStatus]="props['status']!"
|
98
|
-
[nzPlacement]="props['placement']!"
|
99
|
-
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
100
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
101
|
-
[nzBorderless]="props['borderless']"
|
102
|
-
[nzInline]="props['inline']"
|
103
|
-
[nzDateRender]="props['dateRender']"
|
104
|
-
[nzDisabledTime]="props['disabledTime']"
|
105
|
-
[nzShowTime]="props['showTime']"
|
106
|
-
[nzShowToday]="props['showToday']!!"
|
107
|
-
[nzShowNow]="props['showNow']!!"
|
108
|
-
[nzShowWeekNumber]="props['showWeekNumber']!!"
|
109
|
-
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
110
|
-
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
111
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
112
|
-
></nz-date-picker>
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldDatepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
39
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldDatepicker, selector: "formly-field-datepicker", usesInheritance: true, ngImport: i0, template: ` @if (props.type === 'range') {
|
40
|
+
<nz-range-picker
|
41
|
+
[nzId]="id"
|
42
|
+
[formControl]="formControl"
|
43
|
+
[formlyAttributes]="field"
|
44
|
+
[ngClass]="props['ngClass']"
|
45
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
46
|
+
[nzAllowClear]="props['allowClear']!!"
|
47
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
48
|
+
[nzBackdrop]="props['backdrop']!!"
|
49
|
+
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
50
|
+
[nzDisabledDate]="props['disabledDate']"
|
51
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
52
|
+
[nzFormat]="props['format']"
|
53
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
54
|
+
[nzMode]="props['mode']"
|
55
|
+
[nzPopupStyle]="props['popupStyle']"
|
56
|
+
[nzSize]="props['size']"
|
57
|
+
[nzStatus]="props['status'] ?? ''"
|
58
|
+
[nzPlacement]="props['placement']"
|
59
|
+
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
60
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
61
|
+
[nzBorderless]="props['borderless']"
|
62
|
+
[nzInline]="props['inline']"
|
63
|
+
[nzDateRender]="props['dateRender']"
|
64
|
+
[nzDisabledTime]="props['rangeOptions']?.disabledTime"
|
65
|
+
[nzShowTime]="props['showTime']"
|
66
|
+
[nzShowToday]="props['showToday']!!"
|
67
|
+
[nzShowNow]="props['showNow']!!"
|
68
|
+
[nzShowWeekNumber]="props['showWeekNumber']!!"
|
69
|
+
[nzRanges]="props['rangeOptions']?.ranges"
|
70
|
+
[nzSeparator]="props['rangeOptions']?.separator"
|
71
|
+
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
72
|
+
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
73
|
+
(nzOnCalendarChange)="
|
74
|
+
props['rangeOptions']?.calendarChange &&
|
75
|
+
props['rangeOptions']?.calendarChange(field, $event)
|
76
|
+
"
|
77
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
78
|
+
></nz-range-picker>
|
79
|
+
} @else {
|
80
|
+
<nz-date-picker
|
81
|
+
[nzId]="id"
|
82
|
+
[formControl]="formControl"
|
83
|
+
[formlyAttributes]="field"
|
84
|
+
[ngClass]="props['ngClass']"
|
85
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
86
|
+
[nzAllowClear]="props['allowClear']!!"
|
87
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
88
|
+
[nzBackdrop]="props['backdrop']!!"
|
89
|
+
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
90
|
+
[nzDisabledDate]="props['disabledDate']"
|
91
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
92
|
+
[nzFormat]="props['format']"
|
93
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
94
|
+
[nzMode]="props['mode']"
|
95
|
+
[nzPopupStyle]="props['popupStyle']!"
|
96
|
+
[nzSize]="props['size']!"
|
97
|
+
[nzStatus]="props['status']!"
|
98
|
+
[nzPlacement]="props['placement']!"
|
99
|
+
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
100
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
101
|
+
[nzBorderless]="props['borderless']"
|
102
|
+
[nzInline]="props['inline']"
|
103
|
+
[nzDateRender]="props['dateRender']"
|
104
|
+
[nzDisabledTime]="props['disabledTime']"
|
105
|
+
[nzShowTime]="props['showTime']"
|
106
|
+
[nzShowToday]="props['showToday']!!"
|
107
|
+
[nzShowNow]="props['showNow']!!"
|
108
|
+
[nzShowWeekNumber]="props['showWeekNumber']!!"
|
109
|
+
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
110
|
+
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
111
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
112
|
+
></nz-date-picker>
|
113
113
|
}`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }, { kind: "directive", type: i3.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
114
114
|
}
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldDatepicker, decorators: [{
|
116
116
|
type: Component,
|
117
117
|
args: [{
|
118
118
|
selector: 'formly-field-datepicker',
|
119
|
-
template: ` @if (props.type === 'range') {
|
120
|
-
<nz-range-picker
|
121
|
-
[nzId]="id"
|
122
|
-
[formControl]="formControl"
|
123
|
-
[formlyAttributes]="field"
|
124
|
-
[ngClass]="props['ngClass']"
|
125
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
126
|
-
[nzAllowClear]="props['allowClear']!!"
|
127
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
128
|
-
[nzBackdrop]="props['backdrop']!!"
|
129
|
-
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
130
|
-
[nzDisabledDate]="props['disabledDate']"
|
131
|
-
[nzDropdownClassName]="props['dropdownClassName']"
|
132
|
-
[nzFormat]="props['format']"
|
133
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
134
|
-
[nzMode]="props['mode']"
|
135
|
-
[nzPopupStyle]="props['popupStyle']"
|
136
|
-
[nzSize]="props['size']"
|
137
|
-
[nzStatus]="props['status'] ?? ''"
|
138
|
-
[nzPlacement]="props['placement']"
|
139
|
-
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
140
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
141
|
-
[nzBorderless]="props['borderless']"
|
142
|
-
[nzInline]="props['inline']"
|
143
|
-
[nzDateRender]="props['dateRender']"
|
144
|
-
[nzDisabledTime]="props['rangeOptions']?.disabledTime"
|
145
|
-
[nzShowTime]="props['showTime']"
|
146
|
-
[nzShowToday]="props['showToday']!!"
|
147
|
-
[nzShowNow]="props['showNow']!!"
|
148
|
-
[nzShowWeekNumber]="props['showWeekNumber']!!"
|
149
|
-
[nzRanges]="props['rangeOptions']?.ranges"
|
150
|
-
[nzSeparator]="props['rangeOptions']?.separator"
|
151
|
-
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
152
|
-
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
153
|
-
(nzOnCalendarChange)="
|
154
|
-
props['rangeOptions']?.calendarChange &&
|
155
|
-
props['rangeOptions']?.calendarChange(field, $event)
|
156
|
-
"
|
157
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
158
|
-
></nz-range-picker>
|
159
|
-
} @else {
|
160
|
-
<nz-date-picker
|
161
|
-
[nzId]="id"
|
162
|
-
[formControl]="formControl"
|
163
|
-
[formlyAttributes]="field"
|
164
|
-
[ngClass]="props['ngClass']"
|
165
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
166
|
-
[nzAllowClear]="props['allowClear']!!"
|
167
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
168
|
-
[nzBackdrop]="props['backdrop']!!"
|
169
|
-
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
170
|
-
[nzDisabledDate]="props['disabledDate']"
|
171
|
-
[nzDropdownClassName]="props['dropdownClassName']"
|
172
|
-
[nzFormat]="props['format']"
|
173
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
174
|
-
[nzMode]="props['mode']"
|
175
|
-
[nzPopupStyle]="props['popupStyle']!"
|
176
|
-
[nzSize]="props['size']!"
|
177
|
-
[nzStatus]="props['status']!"
|
178
|
-
[nzPlacement]="props['placement']!"
|
179
|
-
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
180
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
181
|
-
[nzBorderless]="props['borderless']"
|
182
|
-
[nzInline]="props['inline']"
|
183
|
-
[nzDateRender]="props['dateRender']"
|
184
|
-
[nzDisabledTime]="props['disabledTime']"
|
185
|
-
[nzShowTime]="props['showTime']"
|
186
|
-
[nzShowToday]="props['showToday']!!"
|
187
|
-
[nzShowNow]="props['showNow']!!"
|
188
|
-
[nzShowWeekNumber]="props['showWeekNumber']!!"
|
189
|
-
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
190
|
-
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
191
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
192
|
-
></nz-date-picker>
|
119
|
+
template: ` @if (props.type === 'range') {
|
120
|
+
<nz-range-picker
|
121
|
+
[nzId]="id"
|
122
|
+
[formControl]="formControl"
|
123
|
+
[formlyAttributes]="field"
|
124
|
+
[ngClass]="props['ngClass']"
|
125
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
126
|
+
[nzAllowClear]="props['allowClear']!!"
|
127
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
128
|
+
[nzBackdrop]="props['backdrop']!!"
|
129
|
+
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
130
|
+
[nzDisabledDate]="props['disabledDate']"
|
131
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
132
|
+
[nzFormat]="props['format']"
|
133
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
134
|
+
[nzMode]="props['mode']"
|
135
|
+
[nzPopupStyle]="props['popupStyle']"
|
136
|
+
[nzSize]="props['size']"
|
137
|
+
[nzStatus]="props['status'] ?? ''"
|
138
|
+
[nzPlacement]="props['placement']"
|
139
|
+
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
140
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
141
|
+
[nzBorderless]="props['borderless']"
|
142
|
+
[nzInline]="props['inline']"
|
143
|
+
[nzDateRender]="props['dateRender']"
|
144
|
+
[nzDisabledTime]="props['rangeOptions']?.disabledTime"
|
145
|
+
[nzShowTime]="props['showTime']"
|
146
|
+
[nzShowToday]="props['showToday']!!"
|
147
|
+
[nzShowNow]="props['showNow']!!"
|
148
|
+
[nzShowWeekNumber]="props['showWeekNumber']!!"
|
149
|
+
[nzRanges]="props['rangeOptions']?.ranges"
|
150
|
+
[nzSeparator]="props['rangeOptions']?.separator"
|
151
|
+
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
152
|
+
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
153
|
+
(nzOnCalendarChange)="
|
154
|
+
props['rangeOptions']?.calendarChange &&
|
155
|
+
props['rangeOptions']?.calendarChange(field, $event)
|
156
|
+
"
|
157
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
158
|
+
></nz-range-picker>
|
159
|
+
} @else {
|
160
|
+
<nz-date-picker
|
161
|
+
[nzId]="id"
|
162
|
+
[formControl]="formControl"
|
163
|
+
[formlyAttributes]="field"
|
164
|
+
[ngClass]="props['ngClass']"
|
165
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
166
|
+
[nzAllowClear]="props['allowClear']!!"
|
167
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
168
|
+
[nzBackdrop]="props['backdrop']!!"
|
169
|
+
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
170
|
+
[nzDisabledDate]="props['disabledDate']"
|
171
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
172
|
+
[nzFormat]="props['format']"
|
173
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
174
|
+
[nzMode]="props['mode']"
|
175
|
+
[nzPopupStyle]="props['popupStyle']!"
|
176
|
+
[nzSize]="props['size']!"
|
177
|
+
[nzStatus]="props['status']!"
|
178
|
+
[nzPlacement]="props['placement']!"
|
179
|
+
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
180
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
181
|
+
[nzBorderless]="props['borderless']"
|
182
|
+
[nzInline]="props['inline']"
|
183
|
+
[nzDateRender]="props['dateRender']"
|
184
|
+
[nzDisabledTime]="props['disabledTime']"
|
185
|
+
[nzShowTime]="props['showTime']"
|
186
|
+
[nzShowToday]="props['showToday']!!"
|
187
|
+
[nzShowNow]="props['showNow']!!"
|
188
|
+
[nzShowWeekNumber]="props['showWeekNumber']!!"
|
189
|
+
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
190
|
+
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
191
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
192
|
+
></nz-date-picker>
|
193
193
|
}`,
|
194
194
|
changeDetection: ChangeDetectionStrategy.OnPush
|
195
195
|
}]
|
196
196
|
}] });
|
197
197
|
|
198
198
|
class FormlyNzDatepickerModule {
|
199
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
200
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
200
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzDatepickerModule, declarations: [FormlyFieldDatepicker], imports: [CommonModule,
|
201
201
|
ReactiveFormsModule,
|
202
202
|
FormlyNzFormFieldModule,
|
203
203
|
NzDatePickerModule, i4.FormlyModule] }); }
|
204
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
204
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzDatepickerModule, imports: [CommonModule,
|
205
205
|
ReactiveFormsModule,
|
206
206
|
FormlyNzFormFieldModule,
|
207
207
|
NzDatePickerModule,
|
@@ -215,7 +215,7 @@ class FormlyNzDatepickerModule {
|
|
215
215
|
]
|
216
216
|
})] }); }
|
217
217
|
}
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzDatepickerModule, decorators: [{
|
219
219
|
type: NgModule,
|
220
220
|
args: [{
|
221
221
|
declarations: [FormlyFieldDatepicker],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-datepicker.mjs","sources":["../../../../packages/formlyantd/datepicker/src/datepicker.type.ts","../../../../packages/formlyantd/datepicker/src/datepicker.module.ts","../../../../packages/formlyantd/datepicker/src/ngx-formly-zorro-antd-datepicker.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport type { DatepickerProps } from './datepicker.props';\n\nexport interface FormlyDatepickerFieldConfig extends NzFormlyFieldConfig<DatepickerProps> {\n type: 'datepicker' | Type<FormlyFieldDatepicker>;\n}\n\n@Component({\n selector: 'formly-field-datepicker',\n template: ` @if (props.type === 'range') {\n <nz-range-picker\n [nzId]=\"id\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['ngClass']\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\n [nzDisabledDate]=\"props['disabledDate']\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzFormat]=\"props['format']\"\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\n [nzMode]=\"props['mode']\"\n [nzPopupStyle]=\"props['popupStyle']\"\n [nzSize]=\"props['size']\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzPlacement]=\"props['placement']\"\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzBorderless]=\"props['borderless']\"\n [nzInline]=\"props['inline']\"\n [nzDateRender]=\"props['dateRender']\"\n [nzDisabledTime]=\"props['rangeOptions']?.disabledTime\"\n [nzShowTime]=\"props['showTime']\"\n [nzShowToday]=\"props['showToday']!!\"\n [nzShowNow]=\"props['showNow']!!\"\n [nzShowWeekNumber]=\"props['showWeekNumber']!!\"\n [nzRanges]=\"props['rangeOptions']?.ranges\"\n [nzSeparator]=\"props['rangeOptions']?.separator\"\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\n (nzOnCalendarChange)=\"\n props['rangeOptions']?.calendarChange &&\n props['rangeOptions']?.calendarChange(field, $event)\n \"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n ></nz-range-picker>\n } @else {\n <nz-date-picker\n [nzId]=\"id\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['ngClass']\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\n [nzDisabledDate]=\"props['disabledDate']\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzFormat]=\"props['format']\"\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\n [nzMode]=\"props['mode']\"\n [nzPopupStyle]=\"props['popupStyle']!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzPlacement]=\"props['placement']!\"\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzBorderless]=\"props['borderless']\"\n [nzInline]=\"props['inline']\"\n [nzDateRender]=\"props['dateRender']\"\n [nzDisabledTime]=\"props['disabledTime']\"\n [nzShowTime]=\"props['showTime']\"\n [nzShowToday]=\"props['showToday']!!\"\n [nzShowNow]=\"props['showNow']!!\"\n [nzShowWeekNumber]=\"props['showWeekNumber']!!\"\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n ></nz-date-picker>\n }`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldDatepicker extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n allowClear: true,\n backdrop: false,\n defaultPickerValue: null,\n inputReadOnly: false,\n mode: 'date' as const,\n size: 'default' as const,\n status: '' as const,\n placement: 'bottomLeft' as const,\n popupStyle: {},\n borderless: false,\n inline: false,\n showToday: true,\n showNow: true,\n nzShowWeekNumber: false,\n rangeOptions: {\n separator: '~'\n }\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 { NzDatePickerModule } from 'ng-zorro-antd/date-picker';\nimport { FormlyFieldDatepicker } from './datepicker.type';\n\n@NgModule({\n declarations: [FormlyFieldDatepicker],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzDatePickerModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'datepicker',\n component: FormlyFieldDatepicker,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzDatepickerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAwFM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AA/ErE,IAAA,WAAA,GAAA;;AAgFW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,kBAAkB,EAAE,IAAI;AACxB,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,IAAI,EAAE,MAAe;AACrB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,SAAS,EAAE,YAAqB;AAChC,gBAAA,UAAU,EAAE,EAAE;AACd,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,MAAM,EAAE,KAAK;AACb,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,gBAAgB,EAAE,KAAK;AACvB,gBAAA,YAAY,EAAE;AACZ,oBAAA,SAAS,EAAE,GAAG;AACf,iBAAA;AACF,aAAA;SACF,CAAC;AACH,KAAA;8GAtBY,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,EA7EtB,QAAA,EAAA,yBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA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B,kBAAkB;YAElB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,YAAY;AAClB,wBAAA,SAAS,EAAE,qBAAqB;wBAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBApBpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,kBAAkB;wBAElB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-datepicker.mjs","sources":["../../../../packages/formlyantd/datepicker/src/datepicker.type.ts","../../../../packages/formlyantd/datepicker/src/datepicker.module.ts","../../../../packages/formlyantd/datepicker/src/ngx-formly-zorro-antd-datepicker.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\r\nimport type { DatepickerProps } from './datepicker.props';\r\n\r\nexport interface FormlyDatepickerFieldConfig extends NzFormlyFieldConfig<DatepickerProps> {\r\n type: 'datepicker' | Type<FormlyFieldDatepicker>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-datepicker',\r\n template: ` @if (props.type === 'range') {\r\n <nz-range-picker\r\n [nzId]=\"id\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['ngClass']\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\r\n [nzDisabledDate]=\"props['disabledDate']\"\r\n [nzDropdownClassName]=\"props['dropdownClassName']\"\r\n [nzFormat]=\"props['format']\"\r\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\r\n [nzMode]=\"props['mode']\"\r\n [nzPopupStyle]=\"props['popupStyle']\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status'] ?? ''\"\r\n [nzPlacement]=\"props['placement']\"\r\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzInline]=\"props['inline']\"\r\n [nzDateRender]=\"props['dateRender']\"\r\n [nzDisabledTime]=\"props['rangeOptions']?.disabledTime\"\r\n [nzShowTime]=\"props['showTime']\"\r\n [nzShowToday]=\"props['showToday']!!\"\r\n [nzShowNow]=\"props['showNow']!!\"\r\n [nzShowWeekNumber]=\"props['showWeekNumber']!!\"\r\n [nzRanges]=\"props['rangeOptions']?.ranges\"\r\n [nzSeparator]=\"props['rangeOptions']?.separator\"\r\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\r\n (nzOnCalendarChange)=\"\r\n props['rangeOptions']?.calendarChange &&\r\n props['rangeOptions']?.calendarChange(field, $event)\r\n \"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n ></nz-range-picker>\r\n } @else {\r\n <nz-date-picker\r\n [nzId]=\"id\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['ngClass']\"\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\r\n [nzDisabledDate]=\"props['disabledDate']\"\r\n [nzDropdownClassName]=\"props['dropdownClassName']\"\r\n [nzFormat]=\"props['format']\"\r\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\r\n [nzMode]=\"props['mode']\"\r\n [nzPopupStyle]=\"props['popupStyle']!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzPlacement]=\"props['placement']!\"\r\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzInline]=\"props['inline']\"\r\n [nzDateRender]=\"props['dateRender']\"\r\n [nzDisabledTime]=\"props['disabledTime']\"\r\n [nzShowTime]=\"props['showTime']\"\r\n [nzShowToday]=\"props['showToday']!!\"\r\n [nzShowNow]=\"props['showNow']!!\"\r\n [nzShowWeekNumber]=\"props['showWeekNumber']!!\"\r\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\r\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\r\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\r\n ></nz-date-picker>\r\n }`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldDatepicker extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n allowClear: true,\r\n backdrop: false,\r\n defaultPickerValue: null,\r\n inputReadOnly: false,\r\n mode: 'date' as const,\r\n size: 'default' as const,\r\n status: '' as const,\r\n placement: 'bottomLeft' as const,\r\n popupStyle: {},\r\n borderless: false,\r\n inline: false,\r\n showToday: true,\r\n showNow: true,\r\n nzShowWeekNumber: false,\r\n rangeOptions: {\r\n separator: '~'\r\n }\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzDatePickerModule } from 'ng-zorro-antd/date-picker';\r\nimport { FormlyFieldDatepicker } from './datepicker.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldDatepicker],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzDatePickerModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'datepicker',\r\n component: FormlyFieldDatepicker,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzDatepickerModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAwFM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AA/ErE,IAAA,WAAA,GAAA;;AAgFW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,kBAAkB,EAAE,IAAI;AACxB,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,IAAI,EAAE,MAAe;AACrB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,SAAS,EAAE,YAAqB;AAChC,gBAAA,UAAU,EAAE,EAAE;AACd,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,MAAM,EAAE,KAAK;AACb,gBAAA,SAAS,E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|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-extension.mjs","sources":["../../../../packages/formlyantd/extension/value-changes-extension.ts","../../../../packages/formlyantd/extension/ngx-formly-zorro-antd-extension.ts"],"sourcesContent":["import { FormlyExtension } from '@ngx-formly/core';\n\n/**\n * 自动添加valueChanges函数\n * @example\n * fields = [\n * {\n * type: 'input',\n * props: {\n * valueChanges: (value, field) => {}\n * }\n * }\n * ]\n */\nexport const valueChangesExtension: FormlyExtension = {\n postPopulate(field): void {\n if (\n !field.formControl ||\n !field.props?.['valueChanges'] ||\n field.props['valueChanges'].observed\n ) {\n return;\n }\n\n field.props['valueChanges'].observed = true;\n field.formControl.valueChanges.subscribe(value => field.props!['valueChanges'](value, field));\n }\n};\n\n/**\n * valueChanges函数配置\n */\nexport const valueChangesExtensionOption = {\n name: 'value-changes',\n extension: valueChangesExtension\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"AAEA;;;;;;;;;;;AAWG;AACU,MAAA,qBAAqB,GAAoB;AACpD,IAAA,YAAY,CAAC,KAAK,EAAA;QAChB,IACE,CAAC,KAAK,CAAC,WAAW;AAClB,YAAA,CAAC,KAAK,CAAC,KAAK,GAAG,cAAc,CAAC;AAC9B,YAAA,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,EACpC;YACA,OAAO;AACR,SAAA;QAED,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC;QAC5C,KAAK,CAAC,WAAW,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,IAAI,KAAK,CAAC,KAAM,CAAC,cAAc,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;KAC/F;EACD;AAEF;;AAEG;AACU,MAAA,2BAA2B,GAAG;AACzC,IAAA,IAAI,EAAE,eAAe;AACrB,IAAA,SAAS,EAAE,qBAAqB;;;AClClC;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-extension.mjs","sources":["../../../../packages/formlyantd/extension/value-changes-extension.ts","../../../../packages/formlyantd/extension/ngx-formly-zorro-antd-extension.ts"],"sourcesContent":["import { FormlyExtension } from '@ngx-formly/core';\r\n\r\n/**\r\n * 自动添加valueChanges函数\r\n * @example\r\n * fields = [\r\n * {\r\n * type: 'input',\r\n * props: {\r\n * valueChanges: (value, field) => {}\r\n * }\r\n * }\r\n * ]\r\n */\r\nexport const valueChangesExtension: FormlyExtension = {\r\n postPopulate(field): void {\r\n if (\r\n !field.formControl ||\r\n !field.props?.['valueChanges'] ||\r\n field.props['valueChanges'].observed\r\n ) {\r\n return;\r\n }\r\n\r\n field.props['valueChanges'].observed = true;\r\n field.formControl.valueChanges.subscribe(value => field.props!['valueChanges'](value, field));\r\n }\r\n};\r\n\r\n/**\r\n * valueChanges函数配置\r\n */\r\nexport const valueChangesExtensionOption = {\r\n name: 'value-changes',\r\n extension: valueChangesExtension\r\n};\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"AAEA;;;;;;;;;;;AAWG;AACU,MAAA,qBAAqB,GAAoB;AACpD,IAAA,YAAY,CAAC,KAAK,EAAA;QAChB,IACE,CAAC,KAAK,CAAC,WAAW;AAClB,YAAA,CAAC,KAAK,CAAC,KAAK,GAAG,cAAc,CAAC;AAC9B,YAAA,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,EACpC;YACA,OAAO;AACR,SAAA;QAED,KAAK,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,GAAG,IAAI,CAAC;QAC5C,KAAK,CAAC,WAAW,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,IAAI,KAAK,CAAC,KAAM,CAAC,cAAc,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;KAC/F;EACD;AAEF;;AAEG;AACU,MAAA,2BAA2B,GAAG;AACzC,IAAA,IAAI,EAAE,eAAe;AACrB,IAAA,SAAS,EAAE,qBAAqB;;;AClClC;;AAEG;;;;"}
|
@@ -0,0 +1,109 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import * as i1 from '@angular/common';
|
4
|
+
import { CommonModule } from '@angular/common';
|
5
|
+
import * as i3 from '@ngx-formly/core';
|
6
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
7
|
+
import * as i2 from 'ng-zorro-antd/flex';
|
8
|
+
import { NzFlexModule } from 'ng-zorro-antd/flex';
|
9
|
+
|
10
|
+
class FormlyFieldFlex extends FieldType {
|
11
|
+
constructor() {
|
12
|
+
super(...arguments);
|
13
|
+
this.defaultOptions = {
|
14
|
+
props: {
|
15
|
+
vertical: false,
|
16
|
+
justify: 'normal',
|
17
|
+
align: 'normal',
|
18
|
+
gap: 0,
|
19
|
+
wrap: 'nowrap',
|
20
|
+
flex: 'unset'
|
21
|
+
}
|
22
|
+
};
|
23
|
+
}
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldFlex, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: FormlyFieldFlex, selector: "formly-field-flex", usesInheritance: true, ngImport: i0, template: `
|
26
|
+
<div
|
27
|
+
[ngClass]="props['ngClass']"
|
28
|
+
[ngStyle]="props['ngStyle']"
|
29
|
+
[formlyAttributes]="field"
|
30
|
+
[nzVertical]="props['vertical']!!"
|
31
|
+
[nzJustify]="props['justify']!"
|
32
|
+
[nzAlign]="props['align']!"
|
33
|
+
[nzGap]="props['gap']!"
|
34
|
+
[nzWrap]="props['wrap']!"
|
35
|
+
[nzFlex]="props['flex']!"
|
36
|
+
nz-flex
|
37
|
+
>
|
38
|
+
@for (item of field.fieldGroup; track item.id) {
|
39
|
+
<formly-field [field]="item"></formly-field>
|
40
|
+
}
|
41
|
+
</div>
|
42
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NzFlexDirective, selector: "[nz-flex],nz-flex", inputs: ["nzVertical", "nzJustify", "nzAlign", "nzGap", "nzWrap", "nzFlex"], exportAs: ["nzFlex"] }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
43
|
+
}
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldFlex, decorators: [{
|
45
|
+
type: Component,
|
46
|
+
args: [{
|
47
|
+
selector: 'formly-field-flex',
|
48
|
+
template: `
|
49
|
+
<div
|
50
|
+
[ngClass]="props['ngClass']"
|
51
|
+
[ngStyle]="props['ngStyle']"
|
52
|
+
[formlyAttributes]="field"
|
53
|
+
[nzVertical]="props['vertical']!!"
|
54
|
+
[nzJustify]="props['justify']!"
|
55
|
+
[nzAlign]="props['align']!"
|
56
|
+
[nzGap]="props['gap']!"
|
57
|
+
[nzWrap]="props['wrap']!"
|
58
|
+
[nzFlex]="props['flex']!"
|
59
|
+
nz-flex
|
60
|
+
>
|
61
|
+
@for (item of field.fieldGroup; track item.id) {
|
62
|
+
<formly-field [field]="item"></formly-field>
|
63
|
+
}
|
64
|
+
</div>
|
65
|
+
`,
|
66
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
67
|
+
}]
|
68
|
+
}] });
|
69
|
+
|
70
|
+
class FormlyNzFlexModule {
|
71
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzFlexModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
72
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzFlexModule, declarations: [FormlyFieldFlex], imports: [CommonModule,
|
73
|
+
NzFlexModule, i3.FormlyModule] }); }
|
74
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzFlexModule, imports: [CommonModule,
|
75
|
+
NzFlexModule,
|
76
|
+
FormlyModule.forChild({
|
77
|
+
types: [
|
78
|
+
{
|
79
|
+
name: 'flex',
|
80
|
+
component: FormlyFieldFlex
|
81
|
+
}
|
82
|
+
]
|
83
|
+
})] }); }
|
84
|
+
}
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzFlexModule, decorators: [{
|
86
|
+
type: NgModule,
|
87
|
+
args: [{
|
88
|
+
declarations: [FormlyFieldFlex],
|
89
|
+
imports: [
|
90
|
+
CommonModule,
|
91
|
+
NzFlexModule,
|
92
|
+
FormlyModule.forChild({
|
93
|
+
types: [
|
94
|
+
{
|
95
|
+
name: 'flex',
|
96
|
+
component: FormlyFieldFlex
|
97
|
+
}
|
98
|
+
]
|
99
|
+
})
|
100
|
+
]
|
101
|
+
}]
|
102
|
+
}] });
|
103
|
+
|
104
|
+
/**
|
105
|
+
* Generated bundle index. Do not edit.
|
106
|
+
*/
|
107
|
+
|
108
|
+
export { FormlyFieldFlex, FormlyNzFlexModule };
|
109
|
+
//# sourceMappingURL=ngx-formly-zorro-antd-flex.mjs.map
|
@@ -0,0 +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';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';\r\nimport type { NzFormlyFieldConfig, NgClassType, NgStyleType } from 'ngx-formly-zorro-antd/common';\r\nimport type { NzWrap, NzJustify, NzAlign, NzFlex, NzGap } from 'ng-zorro-antd/flex';\r\n\r\ninterface FlexProps extends FormlyFieldProps {\r\n /**\r\n * 自定义css类\r\n */\r\n ngClass?: NgClassType;\r\n /**\r\n * 自定义样式\r\n */\r\n ngStyle?: NgStyleType;\r\n /**\r\n * flex 主轴的方向是否垂直,使用 flex-direction: column\r\n * @default false\r\n */\r\n vertical?: boolean;\r\n\r\n /** 设置元素在主轴方向上的对齐方式 */\r\n justify?: NzJustify;\r\n\r\n /** 设置元素在交叉轴方向上的对齐方式 */\r\n align?: NzAlign;\r\n\r\n /** 设置网格之间的间隙 */\r\n gap?: NzGap;\r\n\r\n /** 设置元素单行显示还是多行显示 */\r\n wrap?: NzWrap;\r\n\r\n /** flex CSS 简写属性 */\r\n flex?: NzFlex;\r\n}\r\n\r\nexport interface FormlyFlexFieldConfig extends NzFormlyFieldConfig<FlexProps> {\r\n type: 'flex' | Type<FormlyFieldFlex>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-flex',\r\n template: `\r\n <div\r\n [ngClass]=\"props['ngClass']\"\r\n [ngStyle]=\"props['ngStyle']\"\r\n [formlyAttributes]=\"field\"\r\n [nzVertical]=\"props['vertical']!!\"\r\n [nzJustify]=\"props['justify']!\"\r\n [nzAlign]=\"props['align']!\"\r\n [nzGap]=\"props['gap']!\"\r\n [nzWrap]=\"props['wrap']!\"\r\n [nzFlex]=\"props['flex']!\"\r\n nz-flex\r\n >\r\n @for (item of field.fieldGroup; track item.id) {\r\n <formly-field [field]=\"item\"></formly-field>\r\n }\r\n </div>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldFlex extends FieldType<FieldTypeConfig<FlexProps>> {\r\n override defaultOptions = {\r\n props: {\r\n vertical: false,\r\n justify: 'normal' as const,\r\n align: 'normal' as const,\r\n gap: 0,\r\n wrap: 'nowrap' as const,\r\n flex: 'unset' as const\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyFieldFlex } from './flex.type';\r\n\r\nimport { NzFlexModule } from 'ng-zorro-antd/flex';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldFlex],\r\n imports: [\r\n CommonModule,\r\n NzFlexModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'flex',\r\n component: FormlyFieldFlex\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFlexModule {}\r\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,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