ngx-formly-zorro-antd 13.0.0-rc.0 → 13.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. package/README.md +0 -6
  2. package/autocomplete/autocomplete.props.d.ts +1 -2
  3. package/button/button.type.d.ts +1 -0
  4. package/esm2020/autocomplete/autocomplete.props.mjs +1 -1
  5. package/esm2020/button/button.type.mjs +79 -39
  6. package/esm2020/form-field/form-field.props.mjs +1 -1
  7. package/esm2020/form-field/form-field.wrapper.mjs +14 -4
  8. package/esm2020/grid/grid.module.mjs +43 -0
  9. package/esm2020/grid/grid.props.mjs +2 -0
  10. package/esm2020/grid/grid.type.mjs +71 -0
  11. package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +5 -0
  12. package/esm2020/grid/public_api.mjs +3 -0
  13. package/esm2020/input/input.props.mjs +1 -1
  14. package/esm2020/input/input.type.mjs +21 -17
  15. package/esm2020/input-group/input-group.module.mjs +10 -4
  16. package/esm2020/input-group/input-group.props.mjs +1 -1
  17. package/esm2020/lib/ui-ng-zorro-antd.module.mjs +8 -4
  18. package/esm2020/tabs/tabs.props.mjs +1 -1
  19. package/fesm2015/ngx-formly-zorro-antd-button.mjs +78 -38
  20. package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
  21. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +13 -3
  22. package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  23. package/fesm2015/ngx-formly-zorro-antd-grid.mjs +116 -0
  24. package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -0
  25. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +9 -3
  26. package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  27. package/fesm2015/ngx-formly-zorro-antd-input.mjs +20 -16
  28. package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
  29. package/fesm2015/ngx-formly-zorro-antd.mjs +7 -3
  30. package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
  31. package/fesm2020/ngx-formly-zorro-antd-button.mjs +78 -38
  32. package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
  33. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +13 -3
  34. package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
  35. package/fesm2020/ngx-formly-zorro-antd-grid.mjs +116 -0
  36. package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -0
  37. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +9 -3
  38. package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
  39. package/fesm2020/ngx-formly-zorro-antd-input.mjs +20 -16
  40. package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
  41. package/fesm2020/ngx-formly-zorro-antd.mjs +7 -3
  42. package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
  43. package/form-field/form-field.props.d.ts +28 -0
  44. package/grid/grid.module.d.ts +10 -0
  45. package/grid/grid.props.d.ts +44 -0
  46. package/grid/grid.type.d.ts +11 -0
  47. package/grid/ngx-formly-zorro-antd-grid.d.ts +5 -0
  48. package/grid/package.json +10 -0
  49. package/grid/public_api.d.ts +3 -0
  50. package/input/input.props.d.ts +3 -36
  51. package/input/input.type.d.ts +1 -1
  52. package/input-group/input-group.module.d.ts +3 -2
  53. package/input-group/input-group.props.d.ts +1 -1
  54. package/lib/ui-ng-zorro-antd.module.d.ts +2 -1
  55. package/package.json +10 -1
  56. package/tabs/tabs.props.d.ts +1 -2
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-input.mjs","sources":["../../../../packages/formlyantd/input/src/input.type.ts","../../../../packages/formlyantd/input/src/input.module.ts","../../../../packages/formlyantd/input/src/ngx-formly-zorro-antd-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\n\r\nimport { InputProps } from './input.props';\r\n\r\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\r\n type: 'input' | 'string' | 'password' | Type<FormlyFieldInput>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input',\r\n template: `\r\n <ng-container [ngSwitch]=\"props.type\">\r\n <ng-container *ngSwitchCase=\"'password'\">\r\n <nz-input-group\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzSearch]=\"props['search']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"suffixpassword\"\r\n >\r\n <input\r\n [type]=\"passwordVisible ? 'text' : 'password'\"\r\n nz-input\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <ng-template #suffixpassword>\r\n <i\r\n nz-icon\r\n class=\"cursor-pointer\"\r\n [nzType]=\"passwordVisible ? 'eye-invisible' : 'eye'\"\r\n (click)=\"passwordVisible = !passwordVisible\"\r\n ></i>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'autoComplete'\"\r\n [nzSize]=\"props['size']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n >\r\n <input\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutocomplete]=\"auto\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n />\r\n <nz-autocomplete\r\n [nzBackfill]=\"props['autocompleteOptions']?.backfill\"\r\n [nzDefaultActiveFirstOption]=\"props['autocompleteOptions']?.defaultActiveFirstOption\"\r\n [nzWidth]=\"props['autocompleteOptions']?.width\"\r\n [nzOverlayClassName]=\"props['autocompleteOptions']?.overlayClassName\"\r\n [nzOverlayStyle]=\"props['autocompleteOptions']?.overlayStyle\"\r\n [compareWith]=\"props['autocompleteOptions']?.compareWith\"\r\n #auto\r\n >\r\n <nz-auto-option\r\n *ngFor=\"let option of props['autocompleteOptions'].dataSource\"\r\n [nzLabel]=\"option.label\"\r\n [nzValue]=\"option.value\"\r\n >\r\n {{ option.label }}\r\n </nz-auto-option>\r\n </nz-autocomplete>\r\n </nz-input-group>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'group'\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzSearch]=\"props['search']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n >\r\n <input\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"!!props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <input\r\n *ngSwitchDefault\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </ng-container>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n borderless: false,\r\n compact: false,\r\n search: false,\r\n allowClear: false,\r\n autocompleteOptions: {\r\n backfill: false,\r\n defaultActiveFirstOption: true,\r\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2\r\n }\r\n }\r\n };\r\n passwordVisible = false;\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 { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\nimport { FormlyFieldInput } from './input.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInput],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzInputModule,\r\n NzAutocompleteModule,\r\n NzIconModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input',\r\n component: FormlyFieldInput,\r\n wrappers: ['form-field'],\r\n defaultOptions: {\r\n props: {\r\n type: 'input'\r\n }\r\n }\r\n },\r\n { name: 'string', extends: 'input' },\r\n {\r\n name: 'password',\r\n extends: 'input',\r\n defaultOptions: {\r\n props: {\r\n type: 'password'\r\n }\r\n }\r\n }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OAAO;AAChB,wBAAA,cAAc,EAAE;AACd,4BAAA,KAAK,EAAE;AACL,gCAAA,IAAI,EAAE,UAAU;AACjB,6BAAA;AACF,yBAAA;AACF,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBApC/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,aAAa;wBACb,oBAAoB;wBACpB,YAAY;wBAEZ,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACxB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,OAAO;AACd,yCAAA;AACF,qCAAA;AACF,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;AACpC,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,UAAU;AACjB,yCAAA;AACF,qCAAA;AACF,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC/CD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-input.mjs","sources":["../../../../packages/formlyantd/input/src/input.type.ts","../../../../packages/formlyantd/input/src/input.module.ts","../../../../packages/formlyantd/input/src/ngx-formly-zorro-antd-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\n\r\nimport type { InputProps } from './input.props';\r\n\r\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\r\n type: 'input' | 'string' | 'password' | Type<FormlyFieldInput>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input',\r\n template: `\r\n <ng-container [ngSwitch]=\"props.type\">\r\n <ng-container *ngSwitchCase=\"'password'\">\r\n <nz-input-group\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzSuffix]=\"suffixpassword\"\r\n >\r\n <input\r\n [type]=\"passwordVisible ? 'text' : 'password'\"\r\n nz-input\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <ng-template #suffixpassword>\r\n <span\r\n nz-icon\r\n class=\"cursor-pointer\"\r\n [nzType]=\"passwordVisible ? 'eye-invisible' : 'eye'\"\r\n (click)=\"passwordVisible = !passwordVisible\"\r\n ></span>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'autoComplete'\"\r\n [nzSize]=\"props['size']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n >\r\n <input\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutocomplete]=\"auto\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n />\r\n <nz-autocomplete\r\n [nzBackfill]=\"props['autocompleteOptions']?.backfill\"\r\n [nzDefaultActiveFirstOption]=\"props['autocompleteOptions']?.defaultActiveFirstOption\"\r\n [nzWidth]=\"props['autocompleteOptions']?.width\"\r\n [nzOverlayClassName]=\"props['autocompleteOptions']?.overlayClassName\"\r\n [nzOverlayStyle]=\"props['autocompleteOptions']?.overlayStyle\"\r\n [compareWith]=\"props['autocompleteOptions']?.compareWith\"\r\n #auto\r\n >\r\n <nz-auto-option\r\n *ngFor=\"let option of props['autocompleteOptions'].dataSource\"\r\n [nzLabel]=\"option.label\"\r\n [nzValue]=\"option.value\"\r\n >\r\n {{ option.label }}\r\n </nz-auto-option>\r\n </nz-autocomplete>\r\n </nz-input-group>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'group'\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n >\r\n <input\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"!!props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <input\r\n *ngSwitchDefault\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </ng-container>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n borderless: false,\r\n compact: false,\r\n search: false,\r\n allowClear: false,\r\n autocompleteOptions: {\r\n backfill: false,\r\n defaultActiveFirstOption: true,\r\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2\r\n }\r\n }\r\n };\r\n passwordVisible = false;\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 { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\nimport { FormlyFieldInput } from './input.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInput],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzInputModule,\r\n NzAutocompleteModule,\r\n NzIconModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input',\r\n component: FormlyFieldInput,\r\n wrappers: ['form-field'],\r\n defaultOptions: {\r\n props: {\r\n type: 'input'\r\n }\r\n }\r\n },\r\n { name: 'string', extends: 'input' },\r\n {\r\n name: 'password',\r\n extends: 'input',\r\n defaultOptions: {\r\n props: {\r\n type: 'password'\r\n }\r\n }\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AA+HM,MAAO,gBAAiB,SAAQ,SAA0B,CAAA;AArHhE,IAAA,WAAA,GAAA;;AAsHW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,MAAM,EAAE,KAAK;AACb,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,QAAQ,EAAE,KAAK;AACf,oBAAA,wBAAwB,EAAE,IAAI;oBAC9B,WAAW,EAAE,CAAC,EAAa,EAAE,EAAa,KAAK,EAAE,KAAK,EAAE;AACzD,iBAAA;AACF,aAAA;SACF,CAAC;QACF,IAAe,CAAA,eAAA,GAAG,KAAK,CAAC;AACzB,KAAA;;8GAfY,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAnHjB,QAAA,EAAA,oBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ule } from 'ngx-formly-zorro-antd/upload';
20
20
  import { FormlyNzTabsModule } from 'ngx-formly-zorro-antd/tabs';
21
21
  import { FormlyNzCardModule } from 'ngx-formly-zorro-antd/card';
22
22
  import { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';
23
+ import { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';
23
24
 
24
25
  class FormlyNgAntdModule {
25
26
  }
@@ -43,7 +44,8 @@ FormlyNgAntdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
43
44
  FormlyNzUploadModule,
44
45
  FormlyNzTabsModule,
45
46
  FormlyNzCardModule,
46
- FormlyNzButtonModule] });
47
+ FormlyNzButtonModule,
48
+ FormlyNzGridModule] });
47
49
  FormlyNgAntdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNgAntdModule, imports: [[
48
50
  FormlyNzFormFieldModule,
49
51
  FormlyNzInputModule,
@@ -64,7 +66,8 @@ FormlyNgAntdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
64
66
  FormlyNzUploadModule,
65
67
  FormlyNzTabsModule,
66
68
  FormlyNzCardModule,
67
- FormlyNzButtonModule
69
+ FormlyNzButtonModule,
70
+ FormlyNzGridModule
68
71
  ]] });
69
72
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNgAntdModule, decorators: [{
70
73
  type: NgModule,
@@ -89,7 +92,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
89
92
  FormlyNzUploadModule,
90
93
  FormlyNzTabsModule,
91
94
  FormlyNzCardModule,
92
- FormlyNzButtonModule
95
+ FormlyNzButtonModule,
96
+ FormlyNzGridModule
93
97
  ]
94
98
  }]
95
99
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd.mjs","sources":["../../../../packages/formlyantd/src/lib/ui-ng-zorro-antd.module.ts","../../../../packages/formlyantd/src/ngx-formly-zorro-antd.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\n\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\nimport { FormlyNzInputModule } from 'ngx-formly-zorro-antd/input';\r\nimport { FormlyNzInputNumberModule } from 'ngx-formly-zorro-antd/input-number';\r\nimport { FormlyNzInputGroupModule } from 'ngx-formly-zorro-antd/input-group';\r\nimport { FormlyNzTextareaModule } from 'ngx-formly-zorro-antd/textarea';\r\nimport { FormlyNzRadioModule } from 'ngx-formly-zorro-antd/radio';\r\nimport { FormlyNzCheckboxModule } from 'ngx-formly-zorro-antd/checkbox';\r\nimport { FormlyNzSelectModule } from 'ngx-formly-zorro-antd/select';\r\nimport { FormlyNzSwitchModule } from 'ngx-formly-zorro-antd/switch';\r\nimport { FormlyNzCascaderModule } from 'ngx-formly-zorro-antd/cascader';\r\nimport { FormlyNzDatepickerModule } from 'ngx-formly-zorro-antd/datepicker';\r\nimport { FormlyNzRateModule } from 'ngx-formly-zorro-antd/rate';\r\nimport { FormlyNzSliderModule } from 'ngx-formly-zorro-antd/slider';\r\nimport { FormlyNzTimepickerModule } from 'ngx-formly-zorro-antd/timepicker';\r\nimport { FormlyNzTransferModule } from 'ngx-formly-zorro-antd/transfer';\r\nimport { FormlyNzTreeSelectModule } from 'ngx-formly-zorro-antd/tree-select';\r\nimport { FormlyNzUploadModule } from 'ngx-formly-zorro-antd/upload';\r\nimport { FormlyNzTabsModule } from 'ngx-formly-zorro-antd/tabs';\r\nimport { FormlyNzCardModule } from 'ngx-formly-zorro-antd/card';\r\nimport { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';\r\n\r\n@NgModule({\r\n imports: [\r\n FormlyNzFormFieldModule,\r\n FormlyNzInputModule,\r\n FormlyNzInputNumberModule,\r\n FormlyNzInputGroupModule,\r\n FormlyNzTextareaModule,\r\n FormlyNzRadioModule,\r\n FormlyNzCheckboxModule,\r\n FormlyNzSelectModule,\r\n FormlyNzSwitchModule,\r\n FormlyNzCascaderModule,\r\n FormlyNzDatepickerModule,\r\n FormlyNzRateModule,\r\n FormlyNzSliderModule,\r\n FormlyNzTimepickerModule,\r\n FormlyNzTransferModule,\r\n FormlyNzTreeSelectModule,\r\n FormlyNzUploadModule,\r\n FormlyNzTabsModule,\r\n FormlyNzCardModule,\r\n FormlyNzButtonModule\r\n ]\r\n})\r\nexport class FormlyNgAntdModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;MA+Ca,kBAAkB,CAAA;;gHAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAtB3B,uBAAuB;QACvB,mBAAmB;QACnB,yBAAyB;QACzB,wBAAwB;QACxB,sBAAsB;QACtB,mBAAmB;QACnB,sBAAsB;QACtB,oBAAoB;QACpB,oBAAoB;QACpB,sBAAsB;QACtB,wBAAwB;QACxB,kBAAkB;QAClB,oBAAoB;QACpB,wBAAwB;QACxB,sBAAsB;QACtB,wBAAwB;QACxB,oBAAoB;QACpB,kBAAkB;QAClB,kBAAkB;QAClB,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAGX,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAvBpB,OAAA,EAAA,CAAA;YACP,uBAAuB;YACvB,mBAAmB;YACnB,yBAAyB;YACzB,wBAAwB;YACxB,sBAAsB;YACtB,mBAAmB;YACnB,sBAAsB;YACtB,oBAAoB;YACpB,oBAAoB;YACpB,sBAAsB;YACtB,wBAAwB;YACxB,kBAAkB;YAClB,oBAAoB;YACpB,wBAAwB;YACxB,sBAAsB;YACtB,wBAAwB;YACxB,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,oBAAoB;AACrB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAxB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,uBAAuB;wBACvB,mBAAmB;wBACnB,yBAAyB;wBACzB,wBAAwB;wBACxB,sBAAsB;wBACtB,mBAAmB;wBACnB,sBAAsB;wBACtB,oBAAoB;wBACpB,oBAAoB;wBACpB,sBAAsB;wBACtB,wBAAwB;wBACxB,kBAAkB;wBAClB,oBAAoB;wBACpB,wBAAwB;wBACxB,sBAAsB;wBACtB,wBAAwB;wBACxB,oBAAoB;wBACpB,kBAAkB;wBAClB,kBAAkB;wBAClB,oBAAoB;AACrB,qBAAA;AACF,iBAAA,CAAA;;;AC9CD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd.mjs","sources":["../../../../packages/formlyantd/src/lib/ui-ng-zorro-antd.module.ts","../../../../packages/formlyantd/src/ngx-formly-zorro-antd.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\n\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\nimport { FormlyNzInputModule } from 'ngx-formly-zorro-antd/input';\r\nimport { FormlyNzInputNumberModule } from 'ngx-formly-zorro-antd/input-number';\r\nimport { FormlyNzInputGroupModule } from 'ngx-formly-zorro-antd/input-group';\r\nimport { FormlyNzTextareaModule } from 'ngx-formly-zorro-antd/textarea';\r\nimport { FormlyNzRadioModule } from 'ngx-formly-zorro-antd/radio';\r\nimport { FormlyNzCheckboxModule } from 'ngx-formly-zorro-antd/checkbox';\r\nimport { FormlyNzSelectModule } from 'ngx-formly-zorro-antd/select';\r\nimport { FormlyNzSwitchModule } from 'ngx-formly-zorro-antd/switch';\r\nimport { FormlyNzCascaderModule } from 'ngx-formly-zorro-antd/cascader';\r\nimport { FormlyNzDatepickerModule } from 'ngx-formly-zorro-antd/datepicker';\r\nimport { FormlyNzRateModule } from 'ngx-formly-zorro-antd/rate';\r\nimport { FormlyNzSliderModule } from 'ngx-formly-zorro-antd/slider';\r\nimport { FormlyNzTimepickerModule } from 'ngx-formly-zorro-antd/timepicker';\r\nimport { FormlyNzTransferModule } from 'ngx-formly-zorro-antd/transfer';\r\nimport { FormlyNzTreeSelectModule } from 'ngx-formly-zorro-antd/tree-select';\r\nimport { FormlyNzUploadModule } from 'ngx-formly-zorro-antd/upload';\r\nimport { FormlyNzTabsModule } from 'ngx-formly-zorro-antd/tabs';\r\nimport { FormlyNzCardModule } from 'ngx-formly-zorro-antd/card';\r\nimport { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';\r\nimport { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';\r\n\r\n@NgModule({\r\n imports: [\r\n FormlyNzFormFieldModule,\r\n FormlyNzInputModule,\r\n FormlyNzInputNumberModule,\r\n FormlyNzInputGroupModule,\r\n FormlyNzTextareaModule,\r\n FormlyNzRadioModule,\r\n FormlyNzCheckboxModule,\r\n FormlyNzSelectModule,\r\n FormlyNzSwitchModule,\r\n FormlyNzCascaderModule,\r\n FormlyNzDatepickerModule,\r\n FormlyNzRateModule,\r\n FormlyNzSliderModule,\r\n FormlyNzTimepickerModule,\r\n FormlyNzTransferModule,\r\n FormlyNzTreeSelectModule,\r\n FormlyNzUploadModule,\r\n FormlyNzTabsModule,\r\n FormlyNzCardModule,\r\n FormlyNzButtonModule,\r\n FormlyNzGridModule\r\n ]\r\n})\r\nexport class FormlyNgAntdModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[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C,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,uBAAuB;wBACvB,mBAAmB;wBACnB,yBAAyB;wBACzB,wBAAwB;wBACxB,sBAAsB;wBACtB,mBAAmB;wBACnB,sBAAsB;wBACtB,oBAAoB;wBACpB,oBAAoB;wBACpB,sBAAsB;wBACtB,wBAAwB;wBACxB,kBAAkB;wBAClB,oBAAoB;wBACpB,wBAAwB;wBACxB,sBAAsB;wBACtB,wBAAwB;wBACxB,oBAAoB;wBACpB,kBAAkB;wBAClB,kBAAkB;wBAClB,oBAAoB;wBACpB,kBAAkB;AACnB,qBAAA;AACF,iBAAA,CAAA;;;AChDD;;AAEG;;;;"}
@@ -1,5 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
1
2
  import { FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';
2
3
  import type { EmbeddedProperty } from 'ng-zorro-antd/grid';
4
+ import type { NzFormTooltipIcon } from 'ng-zorro-antd/form';
5
+ import type { NzTSType } from 'ng-zorro-antd/core/types';
3
6
  /** nz表单配置项 */
4
7
  export interface NzFormWrapperProps extends CoreFormlyFieldProps {
5
8
  /**
@@ -14,6 +17,10 @@ export interface NzFormWrapperProps extends CoreFormlyFieldProps {
14
17
  * className
15
18
  */
16
19
  className?: string;
20
+ /**
21
+ * itemClass
22
+ */
23
+ itemClass?: string;
17
24
  /**
18
25
  * labelClass
19
26
  */
@@ -22,6 +29,27 @@ export interface NzFormWrapperProps extends CoreFormlyFieldProps {
22
29
  * controlClass
23
30
  */
24
31
  controlClass?: string;
32
+ /**
33
+ * 是否不显示 label 后面的冒号
34
+ */
35
+ noColon?: boolean;
36
+ /**
37
+ * 配置提示信息
38
+ */
39
+ tooltipTitle?: NzTSType;
40
+ /**
41
+ * 配置提示信息的图标
42
+ */
43
+ tooltipIcon?: string | NzFormTooltipIcon;
44
+ /**
45
+ * 配合 nzValidateStatus 属性使用,展示校验状态图标
46
+ * @default false
47
+ */
48
+ hasFeedback?: boolean;
49
+ /**
50
+ * 用于显示表单额外提示信息
51
+ */
52
+ controlExtra?: string | TemplateRef<void>;
25
53
  /** 24 栅格系统 */
26
54
  grid?: {
27
55
  /** flex 布局属性 */
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./grid.type";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "ng-zorro-antd/grid";
5
+ import * as i4 from "@ngx-formly/core";
6
+ export declare class FormlyNzGridModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzGridModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzGridModule, [typeof i1.FormlyFieldGrid], [typeof i2.CommonModule, typeof i3.NzGridModule, typeof i4.FormlyModule], never>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzGridModule>;
10
+ }
@@ -0,0 +1,44 @@
1
+ import { FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';
2
+ import type { IndexableObject } from 'ng-zorro-antd/core/types';
3
+ import type { EmbeddedProperty, NzAlign, NzJustify } from 'ng-zorro-antd/grid';
4
+ export interface GridColProps {
5
+ /** flex 布局属性 */
6
+ flex?: string | number | null;
7
+ /** 栅格左侧的间隔格数,间隔内不可以有栅格 */
8
+ offset?: string | number | null;
9
+ /** 栅格顺序 */
10
+ order?: string | number | null;
11
+ /** 栅格向左移动格数 */
12
+ pull?: string | number | null;
13
+ /** 栅格向右移动格数 */
14
+ push?: string | number | null;
15
+ /** 栅格占位格数,为 0 时相当于 display: none */
16
+ span?: string | number | null;
17
+ /** <576px 响应式栅格,可为栅格数或一个包含其他属性的对象 */
18
+ xs?: string | number | EmbeddedProperty | null;
19
+ /** ≥576px 响应式栅格,可为栅格数或一个包含其他属性的对象 */
20
+ sm?: string | number | EmbeddedProperty | null;
21
+ /** ≥768px 响应式栅格,可为栅格数或一个包含其他属性的对象 */
22
+ md?: string | number | EmbeddedProperty | null;
23
+ /** ≥992px 响应式栅格,可为栅格数或一个包含其他属性的对象 */
24
+ lg?: string | number | EmbeddedProperty | null;
25
+ /** ≥1200px 响应式栅格,可为栅格数或一个包含其他属性的对象 */
26
+ xl?: string | number | EmbeddedProperty | null;
27
+ /** ≥1600px 响应式栅格,可为栅格数或一个包含其他属性的对象 */
28
+ xxl?: string | number | EmbeddedProperty | null;
29
+ }
30
+ export interface GridProps extends CoreFormlyFieldProps, GridColProps {
31
+ /**
32
+ * 垂直对齐方式
33
+ */
34
+ align?: NzAlign | null;
35
+ /**
36
+ * 栅格间隔,可以写成像素值或支持响应式的对象写法来设置水平间隔 { xs: 8, sm: 16, md: 24}。
37
+ * 或者使用数组形式同时设置 [水平间距, 垂直间距]。
38
+ */
39
+ gutter?: string | number | IndexableObject | [number, number] | [IndexableObject, IndexableObject] | null;
40
+ /**
41
+ * 水平排列方式
42
+ */
43
+ justify?: NzJustify | null;
44
+ }
@@ -0,0 +1,11 @@
1
+ import { Type } from '@angular/core';
2
+ import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
+ import type { GridProps } from './grid.props';
4
+ import * as i0 from "@angular/core";
5
+ export interface FormlyGridFieldConfig extends FormlyFieldConfig<GridProps> {
6
+ type: 'grid' | Type<FormlyFieldGrid>;
7
+ }
8
+ export declare class FormlyFieldGrid extends FieldType<FieldTypeConfig<GridProps>> {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldGrid, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldGrid, "formly-field-grid", never, {}, {}, never, never>;
11
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/grid" />
5
+ export * from './public_api';
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/ngx-formly-zorro-antd-grid.mjs",
3
+ "es2020": "../fesm2020/ngx-formly-zorro-antd-grid.mjs",
4
+ "esm2020": "../esm2020/grid/ngx-formly-zorro-antd-grid.mjs",
5
+ "fesm2020": "../fesm2020/ngx-formly-zorro-antd-grid.mjs",
6
+ "fesm2015": "../fesm2015/ngx-formly-zorro-antd-grid.mjs",
7
+ "typings": "ngx-formly-zorro-antd-grid.d.ts",
8
+ "sideEffects": false,
9
+ "name": "ngx-formly-zorro-antd/grid"
10
+ }
@@ -0,0 +1,3 @@
1
+ export { FormlyNzGridModule } from './grid.module';
2
+ export { FormlyFieldGrid, FormlyGridFieldConfig } from './grid.type';
3
+ export { GridColProps } from './grid.props';
@@ -1,7 +1,7 @@
1
1
  import { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
2
2
  import { InputGroupProps } from 'ngx-formly-zorro-antd/input-group';
3
- import type { NzSafeAny, NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
4
- import { AutocompleteDataSource } from 'ng-zorro-antd/auto-complete';
3
+ import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
4
+ import type { AutocompleteProps } from 'ngx-formly-zorro-antd/autocomplete';
5
5
  export interface InputProps extends FormlyFieldProps, InputGroupProps {
6
6
  /**
7
7
  * autoComplete=>输入框自动完成
@@ -29,38 +29,5 @@ export interface InputProps extends FormlyFieldProps, InputGroupProps {
29
29
  */
30
30
  allowClear?: boolean;
31
31
  /** 输入框自动完成配置选项 */
32
- autocompleteOptions?: {
33
- /**
34
- * 使用键盘选择选项的时候,会把当前高亮项的值即时回填到输入框中
35
- * @default false
36
- */
37
- backfill?: boolean;
38
- /**
39
- * 自动完成的数据源
40
- */
41
- dataSource?: AutocompleteDataSource;
42
- /**
43
- * 是否默认高亮第一个选项
44
- * @default true
45
- */
46
- defaultActiveFirstOption?: boolean;
47
- /**
48
- * 自定义宽度单位 px
49
- */
50
- width?: number;
51
- /**
52
- * 下拉根元素的类名称
53
- */
54
- overlayClassName?: string;
55
- /**
56
- * 下拉根元素的样式
57
- */
58
- overlayStyle?: object;
59
- /**
60
- * 与 SelectControlValueAccessor 相同
61
- * @default
62
- * (o1: any, o2: any) => o1===o2
63
- */
64
- compareWith?: (o1: NzSafeAny, o2: NzSafeAny) => boolean;
65
- };
32
+ autocompleteOptions?: AutocompleteProps;
66
33
  }
@@ -1,7 +1,7 @@
1
1
  import { Type } from '@angular/core';
2
2
  import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
3
  import type { NzSafeAny } from 'ng-zorro-antd/core/types';
4
- import { InputProps } from './input.props';
4
+ import type { InputProps } from './input.props';
5
5
  import * as i0 from "@angular/core";
6
6
  export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
7
7
  type: 'input' | 'string' | 'password' | Type<FormlyFieldInput>;
@@ -2,9 +2,10 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-group.type";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "ng-zorro-antd/input";
5
- import * as i4 from "@ngx-formly/core";
5
+ import * as i4 from "ngx-formly-zorro-antd/form-field";
6
+ import * as i5 from "@ngx-formly/core";
6
7
  export declare class FormlyNzInputGroupModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzInputGroupModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzInputGroupModule, [typeof i1.FormlyFieldInputGroup], [typeof i2.CommonModule, typeof i3.NzInputModule, typeof i4.FormlyModule], never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzInputGroupModule, [typeof i1.FormlyFieldInputGroup], [typeof i2.CommonModule, typeof i3.NzInputModule, typeof i4.FormlyNzFormFieldModule, typeof i5.FormlyModule], never>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzInputGroupModule>;
10
11
  }
@@ -1,5 +1,5 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import type { FormlyFieldProps } from '@ngx-formly/core';
2
+ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
3
3
  import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
4
4
  export interface InputGroupProps extends FormlyFieldProps {
5
5
  /**
@@ -19,8 +19,9 @@ import * as i17 from "ngx-formly-zorro-antd/upload";
19
19
  import * as i18 from "ngx-formly-zorro-antd/tabs";
20
20
  import * as i19 from "ngx-formly-zorro-antd/card";
21
21
  import * as i20 from "ngx-formly-zorro-antd/button";
22
+ import * as i21 from "ngx-formly-zorro-antd/grid";
22
23
  export declare class FormlyNgAntdModule {
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNgAntdModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNgAntdModule, never, [typeof i1.FormlyNzFormFieldModule, typeof i2.FormlyNzInputModule, typeof i3.FormlyNzInputNumberModule, typeof i4.FormlyNzInputGroupModule, typeof i5.FormlyNzTextareaModule, typeof i6.FormlyNzRadioModule, typeof i7.FormlyNzCheckboxModule, typeof i8.FormlyNzSelectModule, typeof i9.FormlyNzSwitchModule, typeof i10.FormlyNzCascaderModule, typeof i11.FormlyNzDatepickerModule, typeof i12.FormlyNzRateModule, typeof i13.FormlyNzSliderModule, typeof i14.FormlyNzTimepickerModule, typeof i15.FormlyNzTransferModule, typeof i16.FormlyNzTreeSelectModule, typeof i17.FormlyNzUploadModule, typeof i18.FormlyNzTabsModule, typeof i19.FormlyNzCardModule, typeof i20.FormlyNzButtonModule], never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNgAntdModule, never, [typeof i1.FormlyNzFormFieldModule, typeof i2.FormlyNzInputModule, typeof i3.FormlyNzInputNumberModule, typeof i4.FormlyNzInputGroupModule, typeof i5.FormlyNzTextareaModule, typeof i6.FormlyNzRadioModule, typeof i7.FormlyNzCheckboxModule, typeof i8.FormlyNzSelectModule, typeof i9.FormlyNzSwitchModule, typeof i10.FormlyNzCascaderModule, typeof i11.FormlyNzDatepickerModule, typeof i12.FormlyNzRateModule, typeof i13.FormlyNzSliderModule, typeof i14.FormlyNzTimepickerModule, typeof i15.FormlyNzTransferModule, typeof i16.FormlyNzTreeSelectModule, typeof i17.FormlyNzUploadModule, typeof i18.FormlyNzTabsModule, typeof i19.FormlyNzCardModule, typeof i20.FormlyNzButtonModule, typeof i21.FormlyNzGridModule], never>;
25
26
  static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNgAntdModule>;
26
27
  }
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "ngx-formly-zorro-antd",
3
- "version": "13.0.0-rc.0",
3
+ "version": "13.0.0",
4
+ "license": "MIT",
4
5
  "peerDependencies": {
5
6
  "@angular/core": "^13.3.0",
6
7
  "@angular/common": "^13.3.0",
@@ -87,6 +88,14 @@
87
88
  "node": "./fesm2015/ngx-formly-zorro-antd-form-field.mjs",
88
89
  "default": "./fesm2020/ngx-formly-zorro-antd-form-field.mjs"
89
90
  },
91
+ "./grid": {
92
+ "types": "./grid/ngx-formly-zorro-antd-grid.d.ts",
93
+ "esm2020": "./esm2020/grid/ngx-formly-zorro-antd-grid.mjs",
94
+ "es2020": "./fesm2020/ngx-formly-zorro-antd-grid.mjs",
95
+ "es2015": "./fesm2015/ngx-formly-zorro-antd-grid.mjs",
96
+ "node": "./fesm2015/ngx-formly-zorro-antd-grid.mjs",
97
+ "default": "./fesm2020/ngx-formly-zorro-antd-grid.mjs"
98
+ },
90
99
  "./input-group": {
91
100
  "types": "./input-group/ngx-formly-zorro-antd-input-group.d.ts",
92
101
  "esm2020": "./esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs",
@@ -1,10 +1,9 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import type { FormlyFieldConfig } from '@ngx-formly/core';
3
- import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
4
3
  import { NzTabComponent } from 'ng-zorro-antd/tabs';
5
4
  import type { NzSizeLDSType, NzSafeAny } from 'ng-zorro-antd/core/types';
6
5
  import type { NzTabsCanDeactivateFn, TabTemplateContext, NzTabType, NzTabPosition, NzAnimatedInterface } from 'ng-zorro-antd/tabs';
7
- export interface TabsProps extends FormlyFieldProps {
6
+ export interface TabsProps {
8
7
  /**
9
8
  * 当前激活 tab 面板的 序列号,可双向绑定
10
9
  */