@ngx-formly/material 6.0.0-next.6 → 6.0.0-next.7

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.
Files changed (91) hide show
  1. package/README.md +11 -9
  2. package/checkbox/checkbox.type.d.ts +2 -1
  3. package/datepicker/datepicker.module.d.ts +1 -1
  4. package/datepicker/datepicker.type.d.ts +4 -3
  5. package/datepicker/public_api.d.ts +1 -0
  6. package/esm2020/checkbox/checkbox.module.mjs +4 -4
  7. package/esm2020/checkbox/checkbox.type.mjs +4 -4
  8. package/esm2020/datepicker/datepicker.module.mjs +9 -9
  9. package/esm2020/datepicker/datepicker.type.mjs +5 -5
  10. package/esm2020/datepicker/public_api.mjs +2 -1
  11. package/esm2020/form-field/field.type.mjs +6 -6
  12. package/esm2020/form-field/form-field.module.mjs +4 -4
  13. package/esm2020/form-field/form-field.wrapper.mjs +5 -5
  14. package/esm2020/input/input.module.mjs +4 -4
  15. package/esm2020/input/input.type.mjs +4 -4
  16. package/esm2020/lib/ui-material.module.mjs +4 -4
  17. package/esm2020/multicheckbox/multicheckbox.module.mjs +4 -4
  18. package/esm2020/multicheckbox/multicheckbox.type.mjs +7 -4
  19. package/esm2020/native-select/native-select.module.mjs +4 -4
  20. package/esm2020/native-select/native-select.type.mjs +4 -4
  21. package/esm2020/radio/radio.module.mjs +4 -4
  22. package/esm2020/radio/radio.type.mjs +4 -4
  23. package/esm2020/select/select.module.mjs +4 -4
  24. package/esm2020/select/select.type.mjs +5 -5
  25. package/esm2020/slider/public_api.mjs +2 -1
  26. package/esm2020/slider/slider.module.mjs +9 -9
  27. package/esm2020/slider/slider.type.mjs +5 -5
  28. package/esm2020/textarea/textarea.module.mjs +4 -4
  29. package/esm2020/textarea/textarea.type.mjs +4 -4
  30. package/esm2020/toggle/public_api.mjs +2 -1
  31. package/esm2020/toggle/toggle.module.mjs +9 -9
  32. package/esm2020/toggle/toggle.type.mjs +5 -5
  33. package/fesm2015/ngx-formly-material-checkbox.mjs +7 -7
  34. package/fesm2015/ngx-formly-material-checkbox.mjs.map +1 -1
  35. package/fesm2015/ngx-formly-material-datepicker.mjs +12 -12
  36. package/fesm2015/ngx-formly-material-datepicker.mjs.map +1 -1
  37. package/fesm2015/ngx-formly-material-form-field.mjs +16 -14
  38. package/fesm2015/ngx-formly-material-form-field.mjs.map +1 -1
  39. package/fesm2015/ngx-formly-material-input.mjs +7 -7
  40. package/fesm2015/ngx-formly-material-input.mjs.map +1 -1
  41. package/fesm2015/ngx-formly-material-multicheckbox.mjs +10 -7
  42. package/fesm2015/ngx-formly-material-multicheckbox.mjs.map +1 -1
  43. package/fesm2015/ngx-formly-material-native-select.mjs +7 -7
  44. package/fesm2015/ngx-formly-material-native-select.mjs.map +1 -1
  45. package/fesm2015/ngx-formly-material-radio.mjs +7 -7
  46. package/fesm2015/ngx-formly-material-radio.mjs.map +1 -1
  47. package/fesm2015/ngx-formly-material-select.mjs +8 -8
  48. package/fesm2015/ngx-formly-material-select.mjs.map +1 -1
  49. package/fesm2015/ngx-formly-material-slider.mjs +12 -12
  50. package/fesm2015/ngx-formly-material-slider.mjs.map +1 -1
  51. package/fesm2015/ngx-formly-material-textarea.mjs +7 -7
  52. package/fesm2015/ngx-formly-material-textarea.mjs.map +1 -1
  53. package/fesm2015/ngx-formly-material-toggle.mjs +12 -12
  54. package/fesm2015/ngx-formly-material-toggle.mjs.map +1 -1
  55. package/fesm2015/ngx-formly-material.mjs +4 -4
  56. package/fesm2020/ngx-formly-material-checkbox.mjs +7 -7
  57. package/fesm2020/ngx-formly-material-checkbox.mjs.map +1 -1
  58. package/fesm2020/ngx-formly-material-datepicker.mjs +12 -12
  59. package/fesm2020/ngx-formly-material-datepicker.mjs.map +1 -1
  60. package/fesm2020/ngx-formly-material-form-field.mjs +14 -14
  61. package/fesm2020/ngx-formly-material-form-field.mjs.map +1 -1
  62. package/fesm2020/ngx-formly-material-input.mjs +7 -7
  63. package/fesm2020/ngx-formly-material-input.mjs.map +1 -1
  64. package/fesm2020/ngx-formly-material-multicheckbox.mjs +10 -7
  65. package/fesm2020/ngx-formly-material-multicheckbox.mjs.map +1 -1
  66. package/fesm2020/ngx-formly-material-native-select.mjs +7 -7
  67. package/fesm2020/ngx-formly-material-native-select.mjs.map +1 -1
  68. package/fesm2020/ngx-formly-material-radio.mjs +7 -7
  69. package/fesm2020/ngx-formly-material-radio.mjs.map +1 -1
  70. package/fesm2020/ngx-formly-material-select.mjs +8 -8
  71. package/fesm2020/ngx-formly-material-select.mjs.map +1 -1
  72. package/fesm2020/ngx-formly-material-slider.mjs +12 -12
  73. package/fesm2020/ngx-formly-material-slider.mjs.map +1 -1
  74. package/fesm2020/ngx-formly-material-textarea.mjs +7 -7
  75. package/fesm2020/ngx-formly-material-textarea.mjs.map +1 -1
  76. package/fesm2020/ngx-formly-material-toggle.mjs +12 -12
  77. package/fesm2020/ngx-formly-material-toggle.mjs.map +1 -1
  78. package/fesm2020/ngx-formly-material.mjs +4 -4
  79. package/input/input.type.d.ts +2 -1
  80. package/multicheckbox/multicheckbox.type.d.ts +2 -1
  81. package/native-select/native-select.type.d.ts +2 -1
  82. package/package.json +2 -2
  83. package/radio/radio.type.d.ts +2 -1
  84. package/select/select.type.d.ts +5 -4
  85. package/slider/public_api.d.ts +1 -0
  86. package/slider/slider.module.d.ts +1 -1
  87. package/slider/slider.type.d.ts +4 -3
  88. package/textarea/textarea.type.d.ts +2 -1
  89. package/toggle/public_api.d.ts +1 -0
  90. package/toggle/toggle.module.d.ts +1 -1
  91. package/toggle/toggle.type.d.ts +4 -3
@@ -9,7 +9,7 @@ import * as i1 from '@angular/material/slide-toggle';
9
9
  import { MatSlideToggle, MatSlideToggleModule } from '@angular/material/slide-toggle';
10
10
  import { FieldType, FormlyMatFormFieldModule } from '@ngx-formly/material/form-field';
11
11
 
12
- class FormlyToggleTypeComponent extends FieldType {
12
+ class FormlyFieldToggle extends FieldType {
13
13
  constructor() {
14
14
  super(...arguments);
15
15
  this.defaultOptions = {
@@ -25,8 +25,8 @@ class FormlyToggleTypeComponent extends FieldType {
25
25
  super.onContainerClick(event);
26
26
  }
27
27
  }
28
- FormlyToggleTypeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyToggleTypeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
29
- FormlyToggleTypeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: FormlyToggleTypeComponent, selector: "formly-field-mat-toggle", viewQueries: [{ propertyName: "slideToggle", first: true, predicate: MatSlideToggle, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
28
+ FormlyFieldToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyFieldToggle, deps: null, target: i0.ɵɵFactoryTarget.Component });
29
+ FormlyFieldToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: FormlyFieldToggle, selector: "formly-field-mat-toggle", viewQueries: [{ propertyName: "slideToggle", first: true, predicate: MatSlideToggle, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
30
30
  <mat-slide-toggle
31
31
  [id]="id"
32
32
  [formControl]="formControl"
@@ -39,7 +39,7 @@ FormlyToggleTypeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
39
39
  {{ to.label }}
40
40
  </mat-slide-toggle>
41
41
  `, isInline: true, components: [{ type: i1.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex", "name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "checked"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }], directives: [{ type: i1.MatSlideToggleRequiredValidator, selector: "mat-slide-toggle[required][formControlName], mat-slide-toggle[required][formControl], mat-slide-toggle[required][ngModel]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyToggleTypeComponent, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyFieldToggle, decorators: [{
43
43
  type: Component,
44
44
  args: [{
45
45
  selector: 'formly-field-mat-toggle',
@@ -65,12 +65,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
65
65
 
66
66
  class FormlyMatToggleModule {
67
67
  }
68
- FormlyMatToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyMatToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
69
- FormlyMatToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyMatToggleModule, declarations: [FormlyToggleTypeComponent], imports: [CommonModule,
68
+ FormlyMatToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyMatToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
69
+ FormlyMatToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyMatToggleModule, declarations: [FormlyFieldToggle], imports: [CommonModule,
70
70
  ReactiveFormsModule,
71
71
  MatSlideToggleModule,
72
72
  FormlyMatFormFieldModule, i3.FormlyModule] });
73
- FormlyMatToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyMatToggleModule, imports: [[
73
+ FormlyMatToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyMatToggleModule, imports: [[
74
74
  CommonModule,
75
75
  ReactiveFormsModule,
76
76
  MatSlideToggleModule,
@@ -79,16 +79,16 @@ FormlyMatToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", v
79
79
  types: [
80
80
  {
81
81
  name: 'toggle',
82
- component: FormlyToggleTypeComponent,
82
+ component: FormlyFieldToggle,
83
83
  wrappers: ['form-field'],
84
84
  },
85
85
  ],
86
86
  }),
87
87
  ]] });
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyMatToggleModule, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyMatToggleModule, decorators: [{
89
89
  type: NgModule,
90
90
  args: [{
91
- declarations: [FormlyToggleTypeComponent],
91
+ declarations: [FormlyFieldToggle],
92
92
  imports: [
93
93
  CommonModule,
94
94
  ReactiveFormsModule,
@@ -98,7 +98,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
98
98
  types: [
99
99
  {
100
100
  name: 'toggle',
101
- component: FormlyToggleTypeComponent,
101
+ component: FormlyFieldToggle,
102
102
  wrappers: ['form-field'],
103
103
  },
104
104
  ],
@@ -111,5 +111,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
111
111
  * Generated bundle index. Do not edit.
112
112
  */
113
113
 
114
- export { FormlyMatToggleModule };
114
+ export { FormlyFieldToggle, FormlyMatToggleModule };
115
115
  //# sourceMappingURL=ngx-formly-material-toggle.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-material-toggle.mjs","sources":["../../../../src/ui/material/toggle/src/toggle.type.ts","../../../../src/ui/material/toggle/src/toggle.module.ts","../../../../src/ui/material/toggle/src/ngx-formly-material-toggle.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core';\nimport { FieldType } from '@ngx-formly/material/form-field';\nimport { MatSlideToggle } from '@angular/material/slide-toggle';\n\n@Component({\n selector: 'formly-field-mat-toggle',\n template: `\n <mat-slide-toggle\n [id]=\"id\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [color]=\"to.color\"\n [tabIndex]=\"to.tabindex\"\n [required]=\"to.required\"\n [labelPosition]=\"to.labelPosition\"\n >\n {{ to.label }}\n </mat-slide-toggle>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyToggleTypeComponent extends FieldType {\n @ViewChild(MatSlideToggle, { static: true }) slideToggle!: MatSlideToggle;\n defaultOptions = {\n templateOptions: {\n hideFieldUnderline: true,\n floatLabel: 'always' as const,\n hideLabel: true,\n },\n };\n\n onContainerClick(event: MouseEvent): void {\n this.slideToggle.focus();\n super.onContainerClick(event);\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 { MatSlideToggleModule } from '@angular/material/slide-toggle';\nimport { FormlyMatFormFieldModule } from '@ngx-formly/material/form-field';\n\nimport { FormlyToggleTypeComponent } from './toggle.type';\n\n@NgModule({\n declarations: [FormlyToggleTypeComponent],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatSlideToggleModule,\n FormlyMatFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'toggle',\n component: FormlyToggleTypeComponent,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyMatToggleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;MAqBa,yBAA0B,SAAQ,SAAS;IAjBxD;;QAmBE,mBAAc,GAAG;YACf,eAAe,EAAE;gBACf,kBAAkB,EAAE,IAAI;gBACxB,UAAU,EAAE,QAAiB;gBAC7B,SAAS,EAAE,IAAI;aAChB;SACF,CAAC;KAMH;IAJC,gBAAgB,CAAC,KAAiB;QAChC,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QACzB,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;KAC/B;;sHAbU,yBAAyB;0GAAzB,yBAAyB,4GACzB,cAAc,qFAhBf;;;;;;;;;;;;GAYT;2FAGU,yBAAyB;kBAjBrC,SAAS;mBAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,QAAQ,EAAE;;;;;;;;;;;;GAYT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;8BAE8C,WAAW;sBAAvD,SAAS;uBAAC,cAAc,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;MCKhC,qBAAqB;;kHAArB,qBAAqB;mHAArB,qBAAqB,iBAjBjB,yBAAyB,aAEtC,YAAY;QACZ,mBAAmB;QACnB,oBAAoB;QACpB,wBAAwB;mHAYf,qBAAqB,YAhBvB;YACP,YAAY;YACZ,mBAAmB;YACnB,oBAAoB;YACpB,wBAAwB;YACxB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,yBAAyB;wBACpC,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;iBACF;aACF,CAAC;SACH;2FAEU,qBAAqB;kBAlBjC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,oBAAoB;wBACpB,wBAAwB;wBACxB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,QAAQ;oCACd,SAAS,EAAE,yBAAyB;oCACpC,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC1BD;;;;;;"}
1
+ {"version":3,"file":"ngx-formly-material-toggle.mjs","sources":["../../../../src/ui/material/toggle/src/toggle.type.ts","../../../../src/ui/material/toggle/src/toggle.module.ts","../../../../src/ui/material/toggle/src/ngx-formly-material-toggle.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core';\nimport { FieldTypeConfig } from '@ngx-formly/core';\nimport { FieldType } from '@ngx-formly/material/form-field';\nimport { MatSlideToggle } from '@angular/material/slide-toggle';\n\n@Component({\n selector: 'formly-field-mat-toggle',\n template: `\n <mat-slide-toggle\n [id]=\"id\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [color]=\"to.color\"\n [tabIndex]=\"to.tabindex\"\n [required]=\"to.required\"\n [labelPosition]=\"to.labelPosition\"\n >\n {{ to.label }}\n </mat-slide-toggle>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormlyFieldToggle extends FieldType<FieldTypeConfig> {\n @ViewChild(MatSlideToggle, { static: true }) slideToggle!: MatSlideToggle;\n defaultOptions = {\n templateOptions: {\n hideFieldUnderline: true,\n floatLabel: 'always' as const,\n hideLabel: true,\n },\n };\n\n onContainerClick(event: MouseEvent): void {\n this.slideToggle.focus();\n super.onContainerClick(event);\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 { MatSlideToggleModule } from '@angular/material/slide-toggle';\nimport { FormlyMatFormFieldModule } from '@ngx-formly/material/form-field';\n\nimport { FormlyFieldToggle } from './toggle.type';\n\n@NgModule({\n declarations: [FormlyFieldToggle],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatSlideToggleModule,\n FormlyMatFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'toggle',\n component: FormlyFieldToggle,\n wrappers: ['form-field'],\n },\n ],\n }),\n ],\n})\nexport class FormlyMatToggleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;MAsBa,iBAAkB,SAAQ,SAA0B;IAjBjE;;QAmBE,mBAAc,GAAG;YACf,eAAe,EAAE;gBACf,kBAAkB,EAAE,IAAI;gBACxB,UAAU,EAAE,QAAiB;gBAC7B,SAAS,EAAE,IAAI;aAChB;SACF,CAAC;KAMH;IAJC,gBAAgB,CAAC,KAAiB;QAChC,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,CAAC;QACzB,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;KAC/B;;8GAbU,iBAAiB;kGAAjB,iBAAiB,4GACjB,cAAc,qFAhBf;;;;;;;;;;;;GAYT;2FAGU,iBAAiB;kBAjB7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,QAAQ,EAAE;;;;;;;;;;;;GAYT;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAChD;8BAE8C,WAAW;sBAAvD,SAAS;uBAAC,cAAc,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;MCIhC,qBAAqB;;kHAArB,qBAAqB;mHAArB,qBAAqB,iBAjBjB,iBAAiB,aAE9B,YAAY;QACZ,mBAAmB;QACnB,oBAAoB;QACpB,wBAAwB;mHAYf,qBAAqB,YAhBvB;YACP,YAAY;YACZ,mBAAmB;YACnB,oBAAoB;YACpB,wBAAwB;YACxB,YAAY,CAAC,QAAQ,CAAC;gBACpB,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,iBAAiB;wBAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;qBACzB;iBACF;aACF,CAAC;SACH;2FAEU,qBAAqB;kBAlBjC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,oBAAoB;wBACpB,wBAAwB;wBACxB,YAAY,CAAC,QAAQ,CAAC;4BACpB,KAAK,EAAE;gCACL;oCACE,IAAI,EAAE,QAAQ;oCACd,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;iCACzB;6BACF;yBACF,CAAC;qBACH;iBACF;;;AC1BD;;;;;;"}
@@ -11,15 +11,15 @@ import { FormlyMatSelectModule } from '@ngx-formly/material/select';
11
11
 
12
12
  class FormlyMaterialModule {
13
13
  }
14
- FormlyMaterialModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyMaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
15
- FormlyMaterialModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyMaterialModule, imports: [FormlyMatFormFieldModule,
14
+ FormlyMaterialModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyMaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
15
+ FormlyMaterialModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyMaterialModule, imports: [FormlyMatFormFieldModule,
16
16
  FormlyMatInputModule,
17
17
  FormlyMatTextAreaModule,
18
18
  FormlyMatRadioModule,
19
19
  FormlyMatCheckboxModule,
20
20
  FormlyMatMultiCheckboxModule,
21
21
  FormlyMatSelectModule] });
22
- FormlyMaterialModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyMaterialModule, imports: [[
22
+ FormlyMaterialModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyMaterialModule, imports: [[
23
23
  FormlyMatFormFieldModule,
24
24
  FormlyMatInputModule,
25
25
  FormlyMatTextAreaModule,
@@ -28,7 +28,7 @@ FormlyMaterialModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
28
28
  FormlyMatMultiCheckboxModule,
29
29
  FormlyMatSelectModule,
30
30
  ]] });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: FormlyMaterialModule, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: FormlyMaterialModule, decorators: [{
32
32
  type: NgModule,
33
33
  args: [{
34
34
  imports: [
@@ -1,7 +1,8 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { FieldTypeConfig } from '@ngx-formly/core';
2
3
  import { FieldType } from '@ngx-formly/material/form-field';
3
4
  import * as i0 from "@angular/core";
4
- export declare class FormlyFieldInput extends FieldType implements OnInit {
5
+ export declare class FormlyFieldInput extends FieldType<FieldTypeConfig> implements OnInit {
5
6
  get type(): string;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
7
8
  static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-mat-input", never, {}, {}, never, never>;
@@ -1,8 +1,9 @@
1
1
  import { QueryList } from '@angular/core';
2
+ import { FieldTypeConfig } from '@ngx-formly/core';
2
3
  import { FieldType } from '@ngx-formly/material/form-field';
3
4
  import { MatCheckbox } from '@angular/material/checkbox';
4
5
  import * as i0 from "@angular/core";
5
- export declare class FormlyFieldMultiCheckbox extends FieldType {
6
+ export declare class FormlyFieldMultiCheckbox extends FieldType<FieldTypeConfig> {
6
7
  checkboxes: QueryList<MatCheckbox>;
7
8
  defaultOptions: {
8
9
  templateOptions: {
@@ -1,6 +1,7 @@
1
+ import { FieldTypeConfig } from '@ngx-formly/core';
1
2
  import { FieldType } from '@ngx-formly/material/form-field';
2
3
  import * as i0 from "@angular/core";
3
- export declare class FormlyFieldNativeSelect extends FieldType {
4
+ export declare class FormlyFieldNativeSelect extends FieldType<FieldTypeConfig> {
4
5
  defaultOptions: {
5
6
  templateOptions: {
6
7
  options: never[];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ngx-formly/material",
3
- "version": "6.0.0-next.6",
3
+ "version": "6.0.0-next.7",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"
7
7
  },
8
8
  "peerDependencies": {
9
- "@ngx-formly/core": "6.0.0-next.6",
9
+ "@ngx-formly/core": "6.0.0-next.7",
10
10
  "@angular/material": ">=13.0.0"
11
11
  },
12
12
  "module": "fesm2015/ngx-formly-material.mjs",
@@ -1,8 +1,9 @@
1
1
  import { AfterViewInit, OnDestroy } from '@angular/core';
2
+ import { FieldTypeConfig } from '@ngx-formly/core';
2
3
  import { FieldType } from '@ngx-formly/material/form-field';
3
4
  import { MatRadioGroup } from '@angular/material/radio';
4
5
  import * as i0 from "@angular/core";
5
- export declare class FormlyFieldRadio extends FieldType implements AfterViewInit, OnDestroy {
6
+ export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig> implements AfterViewInit, OnDestroy {
6
7
  radioGroup: MatRadioGroup;
7
8
  defaultOptions: {
8
9
  templateOptions: {
@@ -1,7 +1,8 @@
1
1
  import { MatSelectChange } from '@angular/material/select';
2
+ import { FieldTypeConfig } from '@ngx-formly/core';
2
3
  import { FieldType } from '@ngx-formly/material/form-field';
3
4
  import * as i0 from "@angular/core";
4
- export declare class FormlyFieldSelect extends FieldType {
5
+ export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig> {
5
6
  defaultOptions: {
6
7
  templateOptions: {
7
8
  options: never[];
@@ -9,11 +10,11 @@ export declare class FormlyFieldSelect extends FieldType {
9
10
  };
10
11
  };
11
12
  private selectAllValue;
12
- getSelectAllState(options: any[]): "" | "indeterminate" | "checked";
13
+ getSelectAllState(options: any[]): "indeterminate" | "checked" | null;
13
14
  toggleSelectAll(options: any[]): void;
14
15
  change($event: MatSelectChange): void;
15
- _getAriaLabelledby(): string | number;
16
- _getAriaLabel(): string | number | undefined;
16
+ _getAriaLabelledby(): string;
17
+ _getAriaLabel(): string;
17
18
  private getSelectAllValue;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
19
20
  static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-mat-select", never, {}, {}, never, never>;
@@ -1 +1,2 @@
1
1
  export { FormlyMatSliderModule } from './slider.module';
2
+ export { FormlyFieldSlider } from './slider.type';
@@ -7,6 +7,6 @@ import * as i5 from "@ngx-formly/material/form-field";
7
7
  import * as i6 from "@ngx-formly/core";
8
8
  export declare class FormlyMatSliderModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<FormlyMatSliderModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyMatSliderModule, [typeof i1.FormlySliderTypeComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatSliderModule, typeof i5.FormlyMatFormFieldModule, typeof i6.FormlyModule], never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyMatSliderModule, [typeof i1.FormlyFieldSlider], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatSliderModule, typeof i5.FormlyMatFormFieldModule, typeof i6.FormlyModule], never>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<FormlyMatSliderModule>;
12
12
  }
@@ -1,7 +1,8 @@
1
+ import { FieldTypeConfig } from '@ngx-formly/core';
1
2
  import { FieldType } from '@ngx-formly/material/form-field';
2
3
  import { MatSlider } from '@angular/material/slider';
3
4
  import * as i0 from "@angular/core";
4
- export declare class FormlySliderTypeComponent extends FieldType {
5
+ export declare class FormlyFieldSlider extends FieldType<FieldTypeConfig> {
5
6
  slider: MatSlider;
6
7
  defaultOptions: {
7
8
  templateOptions: {
@@ -11,6 +12,6 @@ export declare class FormlySliderTypeComponent extends FieldType {
11
12
  };
12
13
  };
13
14
  onContainerClick(event: MouseEvent): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlySliderTypeComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlySliderTypeComponent, "formly-field-mat-slider", never, {}, {}, never, never>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSlider, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSlider, "formly-field-mat-slider", never, {}, {}, never, never>;
16
17
  }
@@ -1,7 +1,8 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { FieldTypeConfig } from '@ngx-formly/core';
2
3
  import { FieldType } from '@ngx-formly/material/form-field';
3
4
  import * as i0 from "@angular/core";
4
- export declare class FormlyFieldTextArea extends FieldType implements OnInit {
5
+ export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig> implements OnInit {
5
6
  defaultOptions: {
6
7
  templateOptions: {
7
8
  cols: number;
@@ -1 +1,2 @@
1
1
  export { FormlyMatToggleModule } from './toggle.module';
2
+ export { FormlyFieldToggle } from './toggle.type';
@@ -7,6 +7,6 @@ import * as i5 from "@ngx-formly/material/form-field";
7
7
  import * as i6 from "@ngx-formly/core";
8
8
  export declare class FormlyMatToggleModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<FormlyMatToggleModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyMatToggleModule, [typeof i1.FormlyToggleTypeComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatSlideToggleModule, typeof i5.FormlyMatFormFieldModule, typeof i6.FormlyModule], never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyMatToggleModule, [typeof i1.FormlyFieldToggle], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MatSlideToggleModule, typeof i5.FormlyMatFormFieldModule, typeof i6.FormlyModule], never>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<FormlyMatToggleModule>;
12
12
  }
@@ -1,7 +1,8 @@
1
+ import { FieldTypeConfig } from '@ngx-formly/core';
1
2
  import { FieldType } from '@ngx-formly/material/form-field';
2
3
  import { MatSlideToggle } from '@angular/material/slide-toggle';
3
4
  import * as i0 from "@angular/core";
4
- export declare class FormlyToggleTypeComponent extends FieldType {
5
+ export declare class FormlyFieldToggle extends FieldType<FieldTypeConfig> {
5
6
  slideToggle: MatSlideToggle;
6
7
  defaultOptions: {
7
8
  templateOptions: {
@@ -11,6 +12,6 @@ export declare class FormlyToggleTypeComponent extends FieldType {
11
12
  };
12
13
  };
13
14
  onContainerClick(event: MouseEvent): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyToggleTypeComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyToggleTypeComponent, "formly-field-mat-toggle", never, {}, {}, never, never>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldToggle, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldToggle, "formly-field-mat-toggle", never, {}, {}, never, never>;
16
17
  }