ngx-formly-zorro-antd 19.0.0 → 19.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- export { AutocompleteProps } from './autocomplete.props';
1
+ export type { AutocompleteProps } from './autocomplete.props';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzButtonModule } from './button.module';
2
- export { FormlyFieldButton, FormlyButtonFieldConfig, ButtonProps } from './button.type';
2
+ export { FormlyFieldButton } from './button.type';
3
+ export type { FormlyButtonFieldConfig, ButtonProps } from './button.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzButtonGroupModule } from './button-group.module';
2
- export { FormlyFieldButtonGroup, FormlyButtonGroupFieldConfig, ButtonGroupProps } from './button-group.type';
2
+ export { FormlyFieldButtonGroup } from './button-group.type';
3
+ export type { FormlyButtonGroupFieldConfig, ButtonGroupProps } from './button-group.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzCardModule } from './card.module';
2
- export { FormlyFieldCard, FormlyCardFieldConfig, CardProps } from './card.type';
2
+ export { FormlyFieldCard } from './card.type';
3
+ export type { FormlyCardFieldConfig, CardProps } from './card.type';
@@ -1,3 +1,4 @@
1
1
  export { FormlyNzCardWrapperModule } from './card-wrapper.module';
2
- export { FormlyWrapperCard, FormlyCardWrapperConfig } from './card.wrapper';
3
- export { CardWrapperProps } from './card-wrapper.props';
2
+ export { FormlyWrapperCard } from './card.wrapper';
3
+ export type { FormlyCardWrapperConfig } from './card.wrapper';
4
+ export type { CardWrapperProps } from './card-wrapper.props';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzCascaderModule } from './cascader.module';
2
- export { FormlyFieldCascader, FormlyCascaderFieldConfig, CascaderProps } from './cascader.type';
2
+ export { FormlyFieldCascader } from './cascader.type';
3
+ export type { FormlyCascaderFieldConfig, CascaderProps } from './cascader.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzCheckboxModule } from './checkbox.module';
2
- export { FormlyFieldCheckbox, FormlyCheckboxFieldConfig, CheckboxProps } from './checkbox.type';
2
+ export { FormlyFieldCheckbox } from './checkbox.type';
3
+ export type { FormlyCheckboxFieldConfig, CheckboxProps } from './checkbox.type';
@@ -1,3 +1,4 @@
1
1
  export { FormlyNzDatepickerModule } from './datepicker.module';
2
- export { FormlyFieldDatepicker, FormlyDatepickerFieldConfig } from './datepicker.type';
3
- export { DatepickerProps } from './datepicker.props';
2
+ export { FormlyFieldDatepicker } from './datepicker.type';
3
+ export type { FormlyDatepickerFieldConfig } from './datepicker.type';
4
+ export type { DatepickerProps } from './datepicker.props';
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-helpers.mjs","sources":["../../../../packages/formlyantd/helpers/common.ts","../../../../packages/formlyantd/helpers/formly.ts","../../../../packages/formlyantd/helpers/public_api.ts","../../../../packages/formlyantd/helpers/ngx-formly-zorro-antd-helpers.ts"],"sourcesContent":["import type { NzFormlyFieldConfig, ControlOptions } from 'ngx-formly-zorro-antd/common';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nexport function field<T = NzFormlyFieldConfig>(\n key: string,\n type = 'input',\n label: string = '',\n props: ControlOptions & {\n [key: string]: NzSafeAny;\n } = {},\n otherOptions: NzFormlyFieldConfig = {}\n): T {\n const returner: NzFormlyFieldConfig = { key, type };\n returner.props = Object.assign({ label, ...props });\n\n const className = key ? `formly-${key}` : '';\n otherOptions.className = otherOptions.className ? `${otherOptions.className} ${className}` : className;\n\n return { ...returner, ...otherOptions } as T;\n}\nexport function requiredField<T = NzFormlyFieldConfig>(\n key: string,\n type = 'input',\n label: string = '',\n props: ControlOptions & {\n [key: string]: NzSafeAny;\n } = {},\n otherOptions: NzFormlyFieldConfig = {}\n) {\n return field<T>(key, type, label, { ...props, required: true }, otherOptions);\n}\nexport function hidden(key: string): NzFormlyFieldConfig {\n return { key, type: 'input', hide: true };\n}\n","import { FormlyFieldConfig } from '@ngx-formly/core';\nimport { field, requiredField } from './common';\nimport type { FormlyButtonFieldConfig, ButtonProps } from 'ngx-formly-zorro-antd/button';\nimport type { FormlyButtonGroupFieldConfig, ButtonGroupProps } from 'ngx-formly-zorro-antd/button-group';\nimport type { FormlyCardFieldConfig, CardProps } from 'ngx-formly-zorro-antd/card';\nimport type { FormlyCascaderFieldConfig, CascaderProps } from 'ngx-formly-zorro-antd/cascader';\nimport type { FormlyCheckboxFieldConfig, CheckboxProps } from 'ngx-formly-zorro-antd/checkbox';\nimport type { FormlyDatepickerFieldConfig, DatepickerProps } from 'ngx-formly-zorro-antd/datepicker';\nimport type { FormlyFlexFieldConfig, FlexProps } from 'ngx-formly-zorro-antd/flex';\nimport type { FormlyGridFieldConfig, GridColProps } from 'ngx-formly-zorro-antd/grid';\nimport type { FormlyInputFieldConfig, FormlyInputProps } from 'ngx-formly-zorro-antd/input';\nimport type { FormlyInputGroupFieldConfig, FormlyInputGroupProps } from 'ngx-formly-zorro-antd/input-group';\nimport type { FormlyInputNumberFieldConfig, InputNumberProps } from 'ngx-formly-zorro-antd/input-number';\nimport type { FormlyRadioFieldConfig, RadioProps } from 'ngx-formly-zorro-antd/radio';\nimport type { FormlyRateFieldConfig, RateProps } from 'ngx-formly-zorro-antd/rate';\nimport type { FormlyRefTemplateFieldConfig, RefTemplateProps } from 'ngx-formly-zorro-antd/ref-template';\nimport type { FormlySelectFieldConfig, SelectProps } from 'ngx-formly-zorro-antd/select';\nimport type { FormlySlideFieldConfig, SlideProps } from 'ngx-formly-zorro-antd/slider';\nimport type { FormlySpaceFieldConfig, SpaceProps } from 'ngx-formly-zorro-antd/space';\nimport type { FormlySpaceCompactFieldConfig, SpaceCompactProps } from 'ngx-formly-zorro-antd/space-compact';\nimport type { FormlySwitchFieldConfig, SwitchProps } from 'ngx-formly-zorro-antd/switch';\nimport type { FormlyTextValueFieldConfig, TextValueProps } from 'ngx-formly-zorro-antd/text-value';\nimport type { FormlyTextareaFieldConfig, TextareaProps } from 'ngx-formly-zorro-antd/textarea';\nimport type { FormlyTimepickerFieldConfig, TimepickerProps } from 'ngx-formly-zorro-antd/timepicker';\nimport type { FormlyTransferFieldConfig, TransferProps } from 'ngx-formly-zorro-antd/transfer';\nimport type { FormlyTreeSelectFieldConfig, TreeSelectProps } from 'ngx-formly-zorro-antd/tree-select';\nimport type { FormlyUploadFieldConfig, UploadProps } from 'ngx-formly-zorro-antd/upload';\n\nexport function treeSelect(\n key: string,\n label = '',\n props: TreeSelectProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTreeSelectFieldConfig {\n return field<FormlyTreeSelectFieldConfig>(key, 'tree-select', label, props, otherOptions);\n}\nexport function requiredTreeSelect(\n key: string,\n label = '',\n props: TreeSelectProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTreeSelectFieldConfig {\n return requiredField<FormlyTreeSelectFieldConfig>(key, 'tree-select', label, props, otherOptions);\n}\nexport function transfer(\n key: string,\n label = '',\n props: TransferProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTransferFieldConfig {\n return field<FormlyTransferFieldConfig>(key, 'transfer', label, props, otherOptions);\n}\nexport function requiredTransfer(\n key: string,\n label = '',\n props: TransferProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTransferFieldConfig {\n return requiredField<FormlyTransferFieldConfig>(key, 'transfer', label, props, otherOptions);\n}\nexport function timepicker(\n key: string,\n label = '',\n props: TimepickerProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTimepickerFieldConfig {\n return field<FormlyTimepickerFieldConfig>(key, 'timepicker', label, props, otherOptions);\n}\nexport function requiredTimepicker(\n key: string,\n label = '',\n props: TimepickerProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTimepickerFieldConfig {\n return requiredField<FormlyTimepickerFieldConfig>(key, 'timepicker', label, props, otherOptions);\n}\nexport function input(\n key: string,\n label = '',\n props: FormlyInputProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputFieldConfig {\n return field<FormlyInputFieldConfig>(key, 'input', label, props, otherOptions);\n}\nexport function requiredInput(\n key: string,\n label = '',\n props: FormlyInputProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputFieldConfig {\n return requiredField<FormlyInputFieldConfig>(key, 'input', label, props, otherOptions);\n}\nexport function textArea(\n key: string,\n label = '',\n props: TextareaProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTextareaFieldConfig {\n return field<FormlyTextareaFieldConfig>(key, 'textarea', label, props, otherOptions);\n}\nexport function requiredTextArea(\n key: string,\n label = '',\n props: TextareaProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTextareaFieldConfig {\n return requiredField<FormlyTextareaFieldConfig>(key, 'textarea', label, props, otherOptions);\n}\nexport function checkbox(\n key: string,\n label = '',\n props: CheckboxProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyCheckboxFieldConfig {\n return field<FormlyCheckboxFieldConfig>(key, 'checkbox', label, props, otherOptions);\n}\nexport function requiredCheckbox(\n key: string,\n label = '',\n props: CheckboxProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyCheckboxFieldConfig {\n return requiredField<FormlyCheckboxFieldConfig>(key, 'checkbox', label, props, otherOptions);\n}\nexport function cascader(\n key: string,\n label = '',\n props: CascaderProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyCascaderFieldConfig {\n return field<FormlyCascaderFieldConfig>(key, 'cascader', label, props, otherOptions);\n}\nexport function requiredCascader(\n key: string,\n label = '',\n props: CascaderProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyCascaderFieldConfig {\n return requiredField<FormlyCascaderFieldConfig>(key, 'cascader', label, props, otherOptions);\n}\nexport function datepicker(\n key: string,\n label = '',\n props: DatepickerProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyDatepickerFieldConfig {\n return field<FormlyDatepickerFieldConfig>(key, 'datepicker', label, props, otherOptions);\n}\nexport function requiredDatepicker(\n key: string,\n label = '',\n props: DatepickerProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyDatepickerFieldConfig {\n return requiredField<FormlyDatepickerFieldConfig>(key, 'datepicker', label, props, otherOptions);\n}\nexport function number(\n key: string,\n label = '',\n props: InputNumberProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputNumberFieldConfig {\n return field<FormlyInputNumberFieldConfig>(key, 'number', label, props, otherOptions);\n}\nexport function requiredNumber(\n key: string,\n label = '',\n props: InputNumberProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputNumberFieldConfig {\n return requiredField<FormlyInputNumberFieldConfig>(key, 'number', label, props, otherOptions);\n}\n/** 选择器 */\nexport function select(\n key: string,\n label = '',\n props: SelectProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySelectFieldConfig {\n return field<FormlySelectFieldConfig>(key, 'select', label, props, otherOptions);\n}\n/** 选择器 */\nexport function requiredSelect(\n key: string,\n label = '',\n props: SelectProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySelectFieldConfig {\n return requiredField<FormlySelectFieldConfig>(key, 'select', label, props, otherOptions);\n}\n/** 上传 */\nexport function upload(\n key: string,\n label = '',\n props: UploadProps = { fileList: [] },\n otherOptions: FormlyFieldConfig = {}\n): FormlyUploadFieldConfig {\n return field<FormlyUploadFieldConfig>(key, 'upload', label, props, otherOptions);\n}\n/** 上传 */\nexport function requiredUpload(\n key: string,\n label = '',\n props: UploadProps = { fileList: [] },\n otherOptions: FormlyFieldConfig = {}\n): FormlyUploadFieldConfig {\n return requiredField<FormlyUploadFieldConfig>(key, 'upload', label, props, otherOptions);\n}\n/** 单选框 */\nexport function radio(\n key: string,\n label = '',\n props: RadioProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyRadioFieldConfig {\n return field<FormlyRadioFieldConfig>(key, 'radio', label, props, otherOptions);\n}\n/** 单选框 */\nexport function requiredRadio(\n key: string,\n label = '',\n props: RadioProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyRadioFieldConfig {\n return requiredField<FormlyRadioFieldConfig>(key, 'radio', label, props, otherOptions);\n}\n/** 评分 */\nexport function rate(\n key: string,\n label = '',\n props: RateProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyRateFieldConfig {\n return field<FormlyRateFieldConfig>(key, 'rate', label, props, otherOptions);\n}\n/** 评分 */\nexport function requiredRate(\n key: string,\n label = '',\n props: RateProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyRateFieldConfig {\n return requiredField<FormlyRateFieldConfig>(key, 'rate', label, props, otherOptions);\n}\n/** 开关 */\nexport function requiredSwitch(\n key: string,\n label = '',\n props: SwitchProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySwitchFieldConfig {\n return requiredField<FormlySwitchFieldConfig>(key, 'switch', label, props, otherOptions);\n}\n/** 滑动输入条 */\nexport function slider(\n key: string,\n label = '',\n props: SlideProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySlideFieldConfig {\n return field<FormlySlideFieldConfig>(key, 'slider', label, props, otherOptions);\n}\n/** 滑动输入条 */\nexport function requiredSlide(\n key: string,\n label = '',\n props: SlideProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySlideFieldConfig {\n return requiredField<FormlySlideFieldConfig>(key, 'slider', label, props, otherOptions);\n}\n\n/** 文本显示 */\nexport function text(props: TextValueProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyTextValueFieldConfig {\n return field<FormlyTextValueFieldConfig>('', 'text', '', props, otherOptions);\n}\n/** 输入组 */\nexport function inputGroup(\n props: FormlyInputGroupProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputGroupFieldConfig {\n return field<FormlyInputGroupFieldConfig>('', 'input-group', '', props, otherOptions);\n}\n/** 间距 */\nexport function space(props: SpaceProps = {}, otherOptions: FormlyFieldConfig = {}): FormlySpaceFieldConfig {\n return field<FormlySpaceFieldConfig>('', 'space', '', props, otherOptions);\n}\n/** 紧凑布局组合 */\nexport function spaceCompact(\n props: SpaceCompactProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySpaceCompactFieldConfig {\n return field<FormlySpaceCompactFieldConfig>('', 'space-compact', '', props, otherOptions);\n}\n/** 模板 */\nexport function ref(props: RefTemplateProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyRefTemplateFieldConfig {\n return field<FormlyRefTemplateFieldConfig>('', 'ref-template', '', props, otherOptions);\n}\n/** 栅格 */\nexport function grid(props: GridColProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyGridFieldConfig {\n return field<FormlyGridFieldConfig>('', 'grid', '', props, otherOptions);\n}\n/** 弹性布局 */\nexport function flex(props: FlexProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyFlexFieldConfig {\n return field<FormlyFlexFieldConfig>('', 'flex', '', props, otherOptions);\n}\n/** 卡片 */\nexport function card(props: CardProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyCardFieldConfig {\n return field<FormlyCardFieldConfig>('', 'card', '', props, otherOptions);\n}\n/** 按钮组 */\nexport function buttonGroup(\n props: ButtonGroupProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyButtonGroupFieldConfig {\n return field<FormlyButtonGroupFieldConfig>('', 'button-group', '', props, otherOptions);\n}\nexport function button(\n text = '',\n props: ButtonProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyButtonFieldConfig {\n return field<FormlyButtonFieldConfig>('', 'button', '', { text, ...props }, otherOptions);\n}\nexport function submit(\n text = '',\n props: ButtonProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyButtonFieldConfig {\n return field<FormlyButtonFieldConfig>('', 'submit', '', { text, ...props }, otherOptions);\n}\nexport function reset(\n text = '',\n props: ButtonProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyButtonFieldConfig {\n return field<FormlyButtonFieldConfig>('', 'reset', '', { text, ...props }, otherOptions);\n}\n","import { field, requiredField, hidden } from './common';\nimport { FormlyFieldConfig } from '@ngx-formly/core';\nimport {\n input,\n requiredInput,\n textArea,\n requiredTextArea,\n checkbox,\n requiredCheckbox,\n cascader,\n requiredCascader,\n number,\n requiredNumber,\n radio,\n requiredRadio,\n rate,\n requiredRate,\n datepicker,\n requiredDatepicker,\n requiredSwitch,\n upload,\n requiredUpload,\n slider,\n requiredSlide,\n select,\n requiredSelect,\n treeSelect,\n requiredTreeSelect,\n transfer,\n requiredTransfer,\n timepicker,\n requiredTimepicker,\n text,\n button,\n buttonGroup,\n submit,\n reset,\n space,\n ref,\n grid,\n flex,\n card,\n inputGroup\n} from './formly';\nimport type { FormlySwitchFieldConfig, SwitchProps } from 'ngx-formly-zorro-antd/switch';\n\nexport const formly = {\n field,\n requiredField,\n hidden,\n input,\n requiredInput,\n textArea,\n requiredTextArea,\n checkbox,\n requiredCheckbox,\n cascader,\n requiredCascader,\n number,\n requiredNumber,\n radio,\n requiredRadio,\n rate,\n requiredRate,\n datepicker,\n requiredDatepicker,\n /** 开关 */\n switch: (key: string, label: string = '', props: SwitchProps = {}, otherOptions: FormlyFieldConfig = {}) => {\n return field<FormlySwitchFieldConfig>(key, 'switch', label, props, otherOptions);\n },\n requiredSwitch,\n upload,\n requiredUpload,\n slider,\n requiredSlide,\n select,\n requiredSelect,\n treeSelect,\n requiredTreeSelect,\n transfer,\n requiredTransfer,\n timepicker,\n requiredTimepicker,\n text,\n space,\n inputGroup,\n ref,\n grid,\n flex,\n card,\n button,\n buttonGroup,\n submit,\n reset\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"SAGgB,KAAK,CACnB,GAAW,EACX,IAAI,GAAG,OAAO,EACd,KAAA,GAAgB,EAAE,EAClB,KAAA,GAEI,EAAE,EACN,eAAoC,EAAE,EAAA;AAEtC,IAAA,MAAM,QAAQ,GAAwB,EAAE,GAAG,EAAE,IAAI,EAAE;AACnD,IAAA,QAAQ,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC;AAEnD,IAAA,MAA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AkC,EAAE,EAAA;AAEpC,IAAA,OAAO,KAAK,CAA0B,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,CAAC;AAC1F;;ACnSa,MAAA,MAAM,GAAG;IACpB,KAAK;IACL,aAAa;IACb,MAAM;IACN,KAAK;IACL,aAAa;IACb,QAAQ;IACR,gBAAgB;IAChB,QAAQ;IACR,gBAAgB;IAChB,QAAQ;IACR,gBAAgB;IAChB,MAAM;IACN,cAAc;IACd,KAAK;IACL,aAAa;IACb,IAAI;IACJ,YAAY;IACZ,UAAU;IACV,kBAAkB;;AAElB,IAAA,MAAM,EAAE,CAAC,GAAW,EAAE,KAAgB,GAAA,EAAE,EAAE,KAAA,GAAqB,EAAE,EAAE,YAAkC,GAAA,EAAE,KAAI;AACzG,QAAA,OAAO,KAAK,CAA0B,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,YAAY,CAAC;KACjF;IACD,cAAc;IACd,MAAM;IACN,cAAc;IACd,MAAM;IACN,aAAa;IACb,MAAM;IACN,cAAc;IACd,UAAU;IACV,kBAAkB;IAClB,QAAQ;IACR,gBAAgB;IAChB,UAAU;IACV,kBAAkB;IAClB,IAAI;IACJ,KAAK;IACL,UAAU;IACV,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,MAAM;IACN,WAAW;IACX,MAAM;IACN;;;AC7FF;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-helpers.mjs","sources":["../../../../packages/formlyantd/helpers/common.ts","../../../../packages/formlyantd/helpers/formly.ts","../../../../packages/formlyantd/helpers/public_api.ts","../../../../packages/formlyantd/helpers/ngx-formly-zorro-antd-helpers.ts"],"sourcesContent":["import type { NzFormlyFieldConfig, ControlOptions } from 'ngx-formly-zorro-antd/common';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nexport function field<T = NzFormlyFieldConfig>(\n key: string,\n type = 'input',\n label: string = '',\n props: ControlOptions & {\n [key: string]: NzSafeAny;\n } = {},\n otherOptions: NzFormlyFieldConfig = {}\n): T {\n const returner: NzFormlyFieldConfig = { key, type };\n returner.props = Object.assign({ label, ...props });\n\n const className = key ? `formly-${key}` : '';\n otherOptions.className = otherOptions.className ? `${otherOptions.className} ${className}` : className;\n\n return { ...returner, ...otherOptions } as T;\n}\nexport function requiredField<T = NzFormlyFieldConfig>(\n key: string,\n type = 'input',\n label: string = '',\n props: ControlOptions & {\n [key: string]: NzSafeAny;\n } = {},\n otherOptions: NzFormlyFieldConfig = {}\n) {\n return field<T>(key, type, label, { ...props, required: true }, otherOptions);\n}\nexport function hidden(key: string): NzFormlyFieldConfig {\n return { key, type: 'input', hide: true };\n}\n","import { FormlyFieldConfig } from '@ngx-formly/core';\nimport { field, requiredField } from './common';\nimport type { FormlyButtonFieldConfig, ButtonProps } from 'ngx-formly-zorro-antd/button';\nimport type { FormlyButtonGroupFieldConfig, ButtonGroupProps } from 'ngx-formly-zorro-antd/button-group';\nimport type { FormlyCardFieldConfig, CardProps } from 'ngx-formly-zorro-antd/card';\nimport type { FormlyCascaderFieldConfig, CascaderProps } from 'ngx-formly-zorro-antd/cascader';\nimport type { FormlyCheckboxFieldConfig, CheckboxProps } from 'ngx-formly-zorro-antd/checkbox';\nimport type { FormlyDatepickerFieldConfig, DatepickerProps } from 'ngx-formly-zorro-antd/datepicker';\nimport type { FormlyFlexFieldConfig, FlexProps } from 'ngx-formly-zorro-antd/flex';\nimport type { FormlyGridFieldConfig, GridColProps } from 'ngx-formly-zorro-antd/grid';\nimport type { FormlyInputFieldConfig, FormlyInputProps } from 'ngx-formly-zorro-antd/input';\nimport type { FormlyInputGroupFieldConfig, FormlyInputGroupProps } from 'ngx-formly-zorro-antd/input-group';\nimport type { FormlyInputNumberFieldConfig, InputNumberProps } from 'ngx-formly-zorro-antd/input-number';\nimport type { FormlyRadioFieldConfig, RadioProps } from 'ngx-formly-zorro-antd/radio';\nimport type { FormlyRateFieldConfig, RateProps } from 'ngx-formly-zorro-antd/rate';\nimport type { FormlyRefTemplateFieldConfig, RefTemplateProps } from 'ngx-formly-zorro-antd/ref-template';\nimport type { FormlySelectFieldConfig, SelectProps } from 'ngx-formly-zorro-antd/select';\nimport type { FormlySlideFieldConfig, SlideProps } from 'ngx-formly-zorro-antd/slider';\nimport type { FormlySpaceFieldConfig, SpaceProps } from 'ngx-formly-zorro-antd/space';\nimport type { FormlySpaceCompactFieldConfig, SpaceCompactProps } from 'ngx-formly-zorro-antd/space-compact';\nimport type { FormlySwitchFieldConfig, SwitchProps } from 'ngx-formly-zorro-antd/switch';\nimport type { FormlyTextValueFieldConfig, TextValueProps } from 'ngx-formly-zorro-antd/text-value';\nimport type { FormlyTextareaFieldConfig, TextareaProps } from 'ngx-formly-zorro-antd/textarea';\nimport type { FormlyTimepickerFieldConfig, TimepickerProps } from 'ngx-formly-zorro-antd/timepicker';\nimport type { FormlyTransferFieldConfig, TransferProps } from 'ngx-formly-zorro-antd/transfer';\nimport type { FormlyTreeSelectFieldConfig, TreeSelectProps } from 'ngx-formly-zorro-antd/tree-select';\nimport type { FormlyUploadFieldConfig, UploadProps } from 'ngx-formly-zorro-antd/upload';\n\nexport function treeSelect(\n key: string,\n label = '',\n props: TreeSelectProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTreeSelectFieldConfig {\n return field<FormlyTreeSelectFieldConfig>(key, 'tree-select', label, props, otherOptions);\n}\nexport function requiredTreeSelect(\n key: string,\n label = '',\n props: TreeSelectProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTreeSelectFieldConfig {\n return requiredField<FormlyTreeSelectFieldConfig>(key, 'tree-select', label, props, otherOptions);\n}\nexport function transfer(\n key: string,\n label = '',\n props: TransferProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTransferFieldConfig {\n return field<FormlyTransferFieldConfig>(key, 'transfer', label, props, otherOptions);\n}\nexport function requiredTransfer(\n key: string,\n label = '',\n props: TransferProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTransferFieldConfig {\n return requiredField<FormlyTransferFieldConfig>(key, 'transfer', label, props, otherOptions);\n}\nexport function timepicker(\n key: string,\n label = '',\n props: TimepickerProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTimepickerFieldConfig {\n return field<FormlyTimepickerFieldConfig>(key, 'timepicker', label, props, otherOptions);\n}\nexport function requiredTimepicker(\n key: string,\n label = '',\n props: TimepickerProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTimepickerFieldConfig {\n return requiredField<FormlyTimepickerFieldConfig>(key, 'timepicker', label, props, otherOptions);\n}\nexport function input(\n key: string,\n label = '',\n props: FormlyInputProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputFieldConfig {\n return field<FormlyInputFieldConfig>(key, 'input', label, props, otherOptions);\n}\nexport function requiredInput(\n key: string,\n label = '',\n props: FormlyInputProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputFieldConfig {\n return requiredField<FormlyInputFieldConfig>(key, 'input', label, props, otherOptions);\n}\nexport function textArea(\n key: string,\n label = '',\n props: TextareaProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTextareaFieldConfig {\n return field<FormlyTextareaFieldConfig>(key, 'textarea', label, props, otherOptions);\n}\nexport function requiredTextArea(\n key: string,\n label = '',\n props: TextareaProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyTextareaFieldConfig {\n return requiredField<FormlyTextareaFieldConfig>(key, 'textarea', label, props, otherOptions);\n}\nexport function checkbox(\n key: string,\n label = '',\n props: CheckboxProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyCheckboxFieldConfig {\n return field<FormlyCheckboxFieldConfig>(key, 'checkbox', label, props, otherOptions);\n}\nexport function requiredCheckbox(\n key: string,\n label = '',\n props: CheckboxProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyCheckboxFieldConfig {\n return requiredField<FormlyCheckboxFieldConfig>(key, 'checkbox', label, props, otherOptions);\n}\nexport function cascader(\n key: string,\n label = '',\n props: CascaderProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyCascaderFieldConfig {\n return field<FormlyCascaderFieldConfig>(key, 'cascader', label, props, otherOptions);\n}\nexport function requiredCascader(\n key: string,\n label = '',\n props: CascaderProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyCascaderFieldConfig {\n return requiredField<FormlyCascaderFieldConfig>(key, 'cascader', label, props, otherOptions);\n}\nexport function datepicker(\n key: string,\n label = '',\n props: DatepickerProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyDatepickerFieldConfig {\n return field<FormlyDatepickerFieldConfig>(key, 'datepicker', label, props, otherOptions);\n}\nexport function requiredDatepicker(\n key: string,\n label = '',\n props: DatepickerProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyDatepickerFieldConfig {\n return requiredField<FormlyDatepickerFieldConfig>(key, 'datepicker', label, props, otherOptions);\n}\nexport function number(\n key: string,\n label = '',\n props: InputNumberProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputNumberFieldConfig {\n return field<FormlyInputNumberFieldConfig>(key, 'number', label, props, otherOptions);\n}\nexport function requiredNumber(\n key: string,\n label = '',\n props: InputNumberProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputNumberFieldConfig {\n return requiredField<FormlyInputNumberFieldConfig>(key, 'number', label, props, otherOptions);\n}\n/** 选择器 */\nexport function select(\n key: string,\n label = '',\n props: SelectProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySelectFieldConfig {\n return field<FormlySelectFieldConfig>(key, 'select', label, props, otherOptions);\n}\n/** 选择器 */\nexport function requiredSelect(\n key: string,\n label = '',\n props: SelectProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySelectFieldConfig {\n return requiredField<FormlySelectFieldConfig>(key, 'select', label, props, otherOptions);\n}\n/** 上传 */\nexport function upload(\n key: string,\n label = '',\n props: UploadProps = { fileList: [] },\n otherOptions: FormlyFieldConfig = {}\n): FormlyUploadFieldConfig {\n return field<FormlyUploadFieldConfig>(key, 'upload', label, props, otherOptions);\n}\n/** 上传 */\nexport function requiredUpload(\n key: string,\n label = '',\n props: UploadProps = { fileList: [] },\n otherOptions: FormlyFieldConfig = {}\n): FormlyUploadFieldConfig {\n return requiredField<FormlyUploadFieldConfig>(key, 'upload', label, props, otherOptions);\n}\n/** 单选框 */\nexport function radio(\n key: string,\n label = '',\n props: RadioProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyRadioFieldConfig {\n return field<FormlyRadioFieldConfig>(key, 'radio', label, props, otherOptions);\n}\n/** 单选框 */\nexport function requiredRadio(\n key: string,\n label = '',\n props: RadioProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyRadioFieldConfig {\n return requiredField<FormlyRadioFieldConfig>(key, 'radio', label, props, otherOptions);\n}\n/** 评分 */\nexport function rate(\n key: string,\n label = '',\n props: RateProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyRateFieldConfig {\n return field<FormlyRateFieldConfig>(key, 'rate', label, props, otherOptions);\n}\n/** 评分 */\nexport function requiredRate(\n key: string,\n label = '',\n props: RateProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyRateFieldConfig {\n return requiredField<FormlyRateFieldConfig>(key, 'rate', label, props, otherOptions);\n}\n/** 开关 */\nexport function requiredSwitch(\n key: string,\n label = '',\n props: SwitchProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySwitchFieldConfig {\n return requiredField<FormlySwitchFieldConfig>(key, 'switch', label, props, otherOptions);\n}\n/** 滑动输入条 */\nexport function slider(\n key: string,\n label = '',\n props: SlideProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySlideFieldConfig {\n return field<FormlySlideFieldConfig>(key, 'slider', label, props, otherOptions);\n}\n/** 滑动输入条 */\nexport function requiredSlide(\n key: string,\n label = '',\n props: SlideProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySlideFieldConfig {\n return requiredField<FormlySlideFieldConfig>(key, 'slider', label, props, otherOptions);\n}\n\n/** 文本显示 */\nexport function text(props: TextValueProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyTextValueFieldConfig {\n return field<FormlyTextValueFieldConfig>('', 'text', '', props, otherOptions);\n}\n/** 输入组 */\nexport function inputGroup(\n props: FormlyInputGroupProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyInputGroupFieldConfig {\n return field<FormlyInputGroupFieldConfig>('', 'input-group', '', props, otherOptions);\n}\n/** 间距 */\nexport function space(props: SpaceProps = {}, otherOptions: FormlyFieldConfig = {}): FormlySpaceFieldConfig {\n return field<FormlySpaceFieldConfig>('', 'space', '', props, otherOptions);\n}\n/** 紧凑布局组合 */\nexport function spaceCompact(\n props: SpaceCompactProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlySpaceCompactFieldConfig {\n return field<FormlySpaceCompactFieldConfig>('', 'space-compact', '', props, otherOptions);\n}\n/** 模板 */\nexport function ref(props: RefTemplateProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyRefTemplateFieldConfig {\n return field<FormlyRefTemplateFieldConfig>('', 'ref-template', '', props, otherOptions);\n}\n/** 栅格 */\nexport function grid(props: GridColProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyGridFieldConfig {\n return field<FormlyGridFieldConfig>('', 'grid', '', props, otherOptions);\n}\n/** 弹性布局 */\nexport function flex(props: FlexProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyFlexFieldConfig {\n return field<FormlyFlexFieldConfig>('', 'flex', '', props, otherOptions);\n}\n/** 卡片 */\nexport function card(props: CardProps = {}, otherOptions: FormlyFieldConfig = {}): FormlyCardFieldConfig {\n return field<FormlyCardFieldConfig>('', 'card', '', props, otherOptions);\n}\n/** 按钮组 */\nexport function buttonGroup(\n props: ButtonGroupProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyButtonGroupFieldConfig {\n return field<FormlyButtonGroupFieldConfig>('', 'button-group', '', props, otherOptions);\n}\nexport function button(\n text = '',\n props: ButtonProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyButtonFieldConfig {\n return field<FormlyButtonFieldConfig>('', 'button', '', { text, ...props }, otherOptions);\n}\nexport function submit(\n text = '',\n props: ButtonProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyButtonFieldConfig {\n return field<FormlyButtonFieldConfig>('', 'submit', '', { text, ...props }, otherOptions);\n}\nexport function reset(\n text = '',\n props: ButtonProps = {},\n otherOptions: FormlyFieldConfig = {}\n): FormlyButtonFieldConfig {\n return field<FormlyButtonFieldConfig>('', 'reset', '', { text, ...props }, otherOptions);\n}\n","import { field, requiredField, hidden } from './common';\nimport { FormlyFieldConfig } from '@ngx-formly/core';\nimport {\n input,\n requiredInput,\n textArea,\n requiredTextArea,\n checkbox,\n requiredCheckbox,\n cascader,\n requiredCascader,\n number,\n requiredNumber,\n radio,\n requiredRadio,\n rate,\n requiredRate,\n datepicker,\n requiredDatepicker,\n requiredSwitch,\n upload,\n requiredUpload,\n slider,\n requiredSlide,\n select,\n requiredSelect,\n treeSelect,\n requiredTreeSelect,\n transfer,\n requiredTransfer,\n timepicker,\n requiredTimepicker,\n text,\n button,\n buttonGroup,\n submit,\n reset,\n space,\n ref,\n grid,\n flex,\n card,\n inputGroup\n} from './formly';\nimport type { FormlySwitchFieldConfig, SwitchProps } from 'ngx-formly-zorro-antd/switch';\n\nexport const formly = {\n field,\n requiredField,\n hidden,\n input,\n requiredInput,\n textArea,\n requiredTextArea,\n checkbox,\n requiredCheckbox,\n cascader,\n requiredCascader,\n number,\n requiredNumber,\n radio,\n requiredRadio,\n rate,\n requiredRate,\n datepicker,\n requiredDatepicker,\n /** 开关 */\n switch: (key: string, label = '', props: SwitchProps = {}, otherOptions: FormlyFieldConfig = {}) => {\n return field<FormlySwitchFieldConfig>(key, 'switch', label, props, otherOptions);\n },\n requiredSwitch,\n upload,\n requiredUpload,\n slider,\n requiredSlide,\n select,\n requiredSelect,\n treeSelect,\n requiredTreeSelect,\n transfer,\n requiredTransfer,\n timepicker,\n requiredTimepicker,\n text,\n space,\n inputGroup,\n ref,\n grid,\n flex,\n card,\n button,\n buttonGroup,\n submit,\n reset\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"SAGgB,KAAK,CACnB,GAAW,EACX,IAAI,GAAG,OAAO,EACd,KAAA,GAAgB,EAAE,EAClB,KAAA,GAEI,EAAE,EACN,eAAoC,EAAE,EAAA;AAEtC,IAAA,MAAM,QAAQ,GAAwB,EAAE,GAAG,EAAE,IAAI,EAAE;AACnD,IAAA,QAAQ,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,CAAC;AAEnD,IAAA,MAAM,SAAS,GAAG,GAAG,GAAG,CAAU,OAAA,EAAA,GAAG,CAAE,CAAA,GAAG,EAAE;IAC5C,YAAY,CAAC,SAAS,GAAG,YAAY,CAAC,SAAS,GAAG,CAAA,EAAG,YAAY,CAAC,SAAS,IAAI,SAAS,CAAA,CAAE,GAAG,SAAS;AAEtG,IAAA,OAAO,EAAE,GAAG,QAAQ,EAAE,GAAG,YAAY,EAAO;AAC9C;SACgB,aAAa,CAC3B,GAAW,EACX,IAAI,GAAG,OAAO,EACd,KAAA,GAAgB,EAAE,EAClB,KAAA,GAEI,EAAE,EACN,eAAoC,EAAE,EAAA;AAEtC,IAAA,OAAO,KAAK,CAAI,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,YAAY,CAAC;AAC/E;AACM,SAAU,MAAM,CAAC,GAAW,EAAA;IAChC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE;AAC3C;;ACLgB,SAAA,UAAU,CACxB,GAAW,EACX,KAAK,GAAG,EAAE,EACV,KAAA,GAA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ClB,QAAQ;IACR,gBAAgB;IAChB,UAAU;IACV,kBAAkB;IAClB,IAAI;IACJ,KAAK;IACL,UAAU;IACV,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,MAAM;IACN,WAAW;IACX,MAAM;IACN;;;AC7FF;;AAEG;;;;"}
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzFlexModule } from './flex.module';
2
- export { FormlyFieldFlex, FormlyFlexFieldConfig, FlexProps } from './flex.type';
2
+ export { FormlyFieldFlex } from './flex.type';
3
+ export type { FormlyFlexFieldConfig, FlexProps } from './flex.type';
@@ -1,3 +1,3 @@
1
1
  export { FormlyNzFormFieldModule } from './form-field.module';
2
- export { FormlyFieldProps } from './form-field.wrapper';
3
- export { NzFormWrapperProps } from './form-field.props';
2
+ export type { FormlyFieldProps } from './form-field.wrapper';
3
+ export type { NzFormWrapperProps } from './form-field.props';
@@ -1,3 +1,4 @@
1
1
  export { FormlyNzGridModule } from './grid.module';
2
- export { FormlyFieldGrid, FormlyGridFieldConfig } from './grid.type';
3
- export { GridColProps } from './grid.props';
2
+ export { FormlyFieldGrid } from './grid.type';
3
+ export type { FormlyGridFieldConfig } from './grid.type';
4
+ export type { GridColProps } from './grid.props';
@@ -1,4 +1,5 @@
1
1
  export { FormlyNzInputModule } from './input.module';
2
- export { FormlyFieldInput, FormlyInputFieldConfig } from './input.type';
3
- export { FormlyInputProps } from './input.props';
2
+ export { FormlyFieldInput } from './input.type';
3
+ export type { FormlyInputFieldConfig } from './input.type';
4
+ export type { FormlyInputProps } from './input.props';
4
5
  export { withFormlyFieldInput } from './input.config';
@@ -1,3 +1,4 @@
1
1
  export { FormlyNzInputGroupModule } from './input-group.module';
2
- export { FormlyFieldInputGroup, FormlyInputGroupFieldConfig } from './input-group.type';
3
- export { FormlyInputGroupProps } from './input-group.props';
2
+ export { FormlyFieldInputGroup } from './input-group.type';
3
+ export type { FormlyInputGroupFieldConfig } from './input-group.type';
4
+ export type { FormlyInputGroupProps } from './input-group.props';
@@ -1,3 +1,4 @@
1
1
  export { FormlyNzInputNumberModule } from './input-number.module';
2
- export { FormlyFieldInputNumber, FormlyInputNumberFieldConfig } from './input-number.type';
3
- export { InputNumberProps } from './input-number.props';
2
+ export { FormlyFieldInputNumber } from './input-number.type';
3
+ export type { FormlyInputNumberFieldConfig } from './input-number.type';
4
+ export type { InputNumberProps } from './input-number.props';
@@ -1,3 +1,4 @@
1
1
  export { FormlyNzInputOtpModule } from './input-otp.module';
2
- export { FormlyFieldInputOtp, FormlyInputOtpFieldConfig } from './input-otp.type';
3
- export { FormlyInputOtpProps } from './input-otp.props';
2
+ export { FormlyFieldInputOtp } from './input-otp.type';
3
+ export type { FormlyInputOtpFieldConfig } from './input-otp.type';
4
+ export type { FormlyInputOtpProps } from './input-otp.props';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-formly-zorro-antd",
3
- "version": "19.0.0",
3
+ "version": "19.0.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public"
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzRadioModule } from './radio.module';
2
- export { FormlyFieldRadio, FormlyRadioFieldConfig, RadioProps } from './radio.type';
2
+ export { FormlyFieldRadio } from './radio.type';
3
+ export type { FormlyRadioFieldConfig, RadioProps } from './radio.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzRateModule } from './rate.module';
2
- export { FormlyFieldRate, FormlyRateFieldConfig, RateProps } from './rate.type';
2
+ export { FormlyFieldRate } from './rate.type';
3
+ export type { FormlyRateFieldConfig, RateProps } from './rate.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyRefTemplateModule } from './ref-template.module';
2
- export { FormlyFieldRefTemplate, FormlyRefTemplateFieldConfig, RefTemplateProps } from './ref-template.type';
2
+ export { FormlyFieldRefTemplate } from './ref-template.type';
3
+ export type { FormlyRefTemplateFieldConfig, RefTemplateProps } from './ref-template.type';
@@ -1,3 +1,4 @@
1
1
  export { FormlyNzSelectModule } from './select.module';
2
- export { FormlyFieldSelect, FormlySelectFieldConfig } from './select.type';
3
- export { SelectProps } from './select.props';
2
+ export { FormlyFieldSelect } from './select.type';
3
+ export type { FormlySelectFieldConfig } from './select.type';
4
+ export type { SelectProps } from './select.props';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzSliderModule } from './slider.module';
2
- export { FormlyFieldSlider, FormlySlideFieldConfig, SlideProps } from './slider.type';
2
+ export { FormlyFieldSlider } from './slider.type';
3
+ export type { FormlySlideFieldConfig, SlideProps } from './slider.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzSpaceModule } from './space.module';
2
- export { FormlyFieldSpace, FormlySpaceFieldConfig, SpaceProps } from './space.type';
2
+ export { FormlyFieldSpace } from './space.type';
3
+ export type { FormlySpaceFieldConfig, SpaceProps } from './space.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzSpaceCompactModule } from './space-compact.module';
2
- export { FormlyFieldSpaceCompact, FormlySpaceCompactFieldConfig, SpaceCompactProps } from './space-compact.type';
2
+ export { FormlyFieldSpaceCompact } from './space-compact.type';
3
+ export type { FormlySpaceCompactFieldConfig, SpaceCompactProps } from './space-compact.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzSwitchModule } from './switch.module';
2
- export { FormlyFieldSwitch, FormlySwitchFieldConfig, SwitchProps } from './switch.type';
2
+ export { FormlyFieldSwitch } from './switch.type';
3
+ export type { FormlySwitchFieldConfig, SwitchProps } from './switch.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzTabsModule } from './tabs.module';
2
- export { FormlyWrapperTabs, FormlyTabsWrapperConfig } from './tabs.wrapper';
2
+ export { FormlyWrapperTabs } from './tabs.wrapper';
3
+ export type { FormlyTabsWrapperConfig } from './tabs.wrapper';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzTextValueModule } from './text-value.module';
2
- export { FormlyFieldTextValue, FormlyTextValueFieldConfig, TextValueProps } from './text-value.type';
2
+ export { FormlyFieldTextValue } from './text-value.type';
3
+ export type { FormlyTextValueFieldConfig, TextValueProps } from './text-value.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzTextareaModule } from './textarea.module';
2
- export { FormlyFieldTextarea, FormlyTextareaFieldConfig, TextareaProps } from './textarea.type';
2
+ export { FormlyFieldTextarea } from './textarea.type';
3
+ export type { FormlyTextareaFieldConfig, TextareaProps } from './textarea.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzTimepickerModule } from './timepicker.module';
2
- export { FormlyFieldTimepicker, FormlyTimepickerFieldConfig, TimepickerProps } from './timepicker.type';
2
+ export { FormlyFieldTimepicker } from './timepicker.type';
3
+ export type { FormlyTimepickerFieldConfig, TimepickerProps } from './timepicker.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzTransferModule } from './transfer.module';
2
- export { FormlyFieldTransfer, FormlyTransferFieldConfig, TransferProps } from './transfer.type';
2
+ export { FormlyFieldTransfer } from './transfer.type';
3
+ export type { FormlyTransferFieldConfig, TransferProps } from './transfer.type';
@@ -1,2 +1,3 @@
1
1
  export { FormlyNzTreeSelectModule } from './tree-select.module';
2
- export { FormlyFieldTreeSelect, FormlyTreeSelectFieldConfig, TreeSelectProps } from './tree-select.type';
2
+ export { FormlyFieldTreeSelect } from './tree-select.type';
3
+ export type { FormlyTreeSelectFieldConfig, TreeSelectProps } from './tree-select.type';
@@ -1,3 +1,4 @@
1
1
  export { FormlyNzUploadModule } from './upload.module';
2
- export { FormlyFieldUpload, FormlyUploadFieldConfig } from './upload.type';
3
- export { UploadProps } from './upload.props';
2
+ export { FormlyFieldUpload } from './upload.type';
3
+ export type { FormlyUploadFieldConfig } from './upload.type';
4
+ export type { UploadProps } from './upload.props';