ngx-render-material-forms 1.0.9 → 1.1.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.
Files changed (56) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/FormioControl.mjs +1 -1
  3. package/esm2020/lib/components/Base.mjs +1 -1
  4. package/esm2020/lib/components/MaterialComponent.mjs +1 -2
  5. package/esm2020/lib/components/MaterialNestedComponent.mjs +1 -1
  6. package/esm2020/lib/components/Webform.mjs +1 -1
  7. package/esm2020/lib/components/button/button.component.mjs +3 -3
  8. package/esm2020/lib/components/calendar/calendar.component.mjs +57 -57
  9. package/esm2020/lib/components/checkbox/checkbox.component.mjs +27 -27
  10. package/esm2020/lib/components/columns/columns.component.mjs +33 -33
  11. package/esm2020/lib/components/container/container.component.mjs +7 -7
  12. package/esm2020/lib/components/content/content.component.mjs +1 -1
  13. package/esm2020/lib/components/currency/currency.component.mjs +1 -1
  14. package/esm2020/lib/components/datagrid/datagrid.component.mjs +143 -143
  15. package/esm2020/lib/components/day/day.component.mjs +81 -81
  16. package/esm2020/lib/components/editgrid/editgrid.component.mjs +28 -28
  17. package/esm2020/lib/components/email/email.component.mjs +1 -1
  18. package/esm2020/lib/components/fieldset/fieldset.component.mjs +31 -31
  19. package/esm2020/lib/components/formio-form-field/formio-form-field.component.mjs +3 -3
  20. package/esm2020/lib/components/formio.wizard.mjs +23 -23
  21. package/esm2020/lib/components/hidden/hidden.component.mjs +1 -1
  22. package/esm2020/lib/components/html/html.component.mjs +1 -1
  23. package/esm2020/lib/components/index.mjs +1 -1
  24. package/esm2020/lib/components/label/label.component.mjs +3 -3
  25. package/esm2020/lib/components/number/number.component.mjs +1 -1
  26. package/esm2020/lib/components/panel/panel.component.mjs +39 -39
  27. package/esm2020/lib/components/password/password.component.mjs +1 -1
  28. package/esm2020/lib/components/phonenumber/phonenumber.component.mjs +1 -1
  29. package/esm2020/lib/components/radio/radio.component.mjs +55 -55
  30. package/esm2020/lib/components/select/select.component.mjs +30 -24
  31. package/esm2020/lib/components/selectboxes/selectboxes.component.mjs +49 -49
  32. package/esm2020/lib/components/signature/signature.component.mjs +67 -67
  33. package/esm2020/lib/components/survey/survey.component.mjs +99 -99
  34. package/esm2020/lib/components/table/table.component.mjs +63 -63
  35. package/esm2020/lib/components/tabs/tabs.component.mjs +17 -17
  36. package/esm2020/lib/components/tags/tags.component.mjs +57 -57
  37. package/esm2020/lib/components/textarea/textarea.component.mjs +49 -49
  38. package/esm2020/lib/components/textfield/textfield.component.mjs +1 -2
  39. package/esm2020/lib/components/time/time.component.mjs +107 -107
  40. package/esm2020/lib/components/url/url.component.mjs +1 -1
  41. package/esm2020/lib/components/well/well.component.mjs +25 -25
  42. package/esm2020/lib/const/ButtonsThemes.mjs +1 -1
  43. package/esm2020/lib/const/LabelPositions.mjs +1 -1
  44. package/esm2020/lib/directives/mask.directive.mjs +1 -1
  45. package/esm2020/lib/formio.component.mjs +27 -27
  46. package/esm2020/lib/ngx-render-material-forms.component.mjs +9 -9
  47. package/esm2020/lib/ngx-render-material-forms.module.mjs +8 -1
  48. package/esm2020/lib/ngx-render-material-forms.service.mjs +1 -1
  49. package/esm2020/lib/renderer.mjs +1 -1
  50. package/esm2020/public-api.mjs +1 -1
  51. package/fesm2015/ngx-render-material-forms.js +1111 -1100
  52. package/fesm2015/ngx-render-material-forms.mjs.map +1 -1
  53. package/fesm2020/ngx-render-material-forms.js +1111 -1098
  54. package/fesm2020/ngx-render-material-forms.mjs.map +1 -1
  55. package/lib/ngx-render-material-forms.module.d.ts +3 -2
  56. package/package.json +1 -1
@@ -78,7 +78,9 @@ import SelectBoxesComponent from 'formiojs/components/selectboxes/SelectBoxes.js
78
78
  import SelectComponent from 'formiojs/components/select/Select.js';
79
79
  import { Subject } from 'rxjs';
80
80
  import { takeUntil } from 'rxjs/operators';
81
- import * as i7 from 'ngx-mat-select-search';
81
+ import * as i7 from '@angular/cdk/scrolling';
82
+ import { ScrollingModule } from '@angular/cdk/scrolling';
83
+ import * as i8 from 'ngx-mat-select-search';
82
84
  import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
83
85
  import WellComponent from 'formiojs/components/well/Well.js';
84
86
  import DataGridComponent from 'formiojs/components/datagrid/DataGrid.js';
@@ -114,17 +116,17 @@ class NgxRenderMaterialFormsComponent {
114
116
  }
115
117
  }
116
118
  NgxRenderMaterialFormsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: NgxRenderMaterialFormsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
117
- NgxRenderMaterialFormsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: NgxRenderMaterialFormsComponent, selector: "NgxMat-NgxRenderMaterialForms", ngImport: i0, template: `
118
- <p>
119
- ngx-render-material-forms works!
120
- </p>
119
+ NgxRenderMaterialFormsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: NgxRenderMaterialFormsComponent, selector: "NgxMat-NgxRenderMaterialForms", ngImport: i0, template: `
120
+ <p>
121
+ ngx-render-material-forms works!
122
+ </p>
121
123
  `, isInline: true });
122
124
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: NgxRenderMaterialFormsComponent, decorators: [{
123
125
  type: Component,
124
- args: [{ selector: 'NgxMat-NgxRenderMaterialForms', template: `
125
- <p>
126
- ngx-render-material-forms works!
127
- </p>
126
+ args: [{ selector: 'NgxMat-NgxRenderMaterialForms', template: `
127
+ <p>
128
+ ngx-render-material-forms works!
129
+ </p>
128
130
  ` }]
129
131
  }], ctorParameters: function () { return []; } });
130
132
 
@@ -281,7 +283,6 @@ class MaterialComponent {
281
283
  this.control.setValue(value);
282
284
  }
283
285
  beforeSubmit() {
284
- console.log('103=>', this.control);
285
286
  this.control.markAsTouched();
286
287
  }
287
288
  hasError() {
@@ -361,10 +362,10 @@ var LabelPositions;
361
362
  class LabelComponent {
362
363
  }
363
364
  LabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
364
- LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: LabelComponent, selector: "span[matFormioLabel]", inputs: { instance: "instance" }, ngImport: i0, template: "<ng-container *ngIf=\"instance\">\n {{ instance.component.label }}<span class=\"required-star\" *ngIf=\"instance.component.validate.required\">*</span>\n <mat-icon *ngIf=\"instance.component.tooltip\" style=\"font-size: 1rem;\"\n matTooltip=\"{{ instance.component.tooltip }}\" matSuffix\n >\n info\n </mat-icon>\n</ng-container>\n", styles: [":host{pointer-events:all;display:block}.required-star{margin-left:.2rem;color:red;font-size:.8rem;vertical-align:top}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "directive", type: i3$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
365
+ LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: LabelComponent, selector: "span[matFormioLabel]", inputs: { instance: "instance" }, ngImport: i0, template: "<ng-container *ngIf=\"instance\">\r\n {{ instance.component.label }}<span class=\"required-star\" *ngIf=\"instance.component.validate.required\">*</span>\r\n <mat-icon *ngIf=\"instance.component.tooltip\" style=\"font-size: 1rem;\"\r\n matTooltip=\"{{ instance.component.tooltip }}\" matSuffix\r\n >\r\n info\r\n </mat-icon>\r\n</ng-container>\r\n", styles: [":host{pointer-events:all;display:block}.required-star{margin-left:.2rem;color:red;font-size:.8rem;vertical-align:top}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "directive", type: i3$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
365
366
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LabelComponent, decorators: [{
366
367
  type: Component,
367
- args: [{ selector: 'span[matFormioLabel]', template: "<ng-container *ngIf=\"instance\">\n {{ instance.component.label }}<span class=\"required-star\" *ngIf=\"instance.component.validate.required\">*</span>\n <mat-icon *ngIf=\"instance.component.tooltip\" style=\"font-size: 1rem;\"\n matTooltip=\"{{ instance.component.tooltip }}\" matSuffix\n >\n info\n </mat-icon>\n</ng-container>\n", styles: [":host{pointer-events:all;display:block}.required-star{margin-left:.2rem;color:red;font-size:.8rem;vertical-align:top}\n"] }]
368
+ args: [{ selector: 'span[matFormioLabel]', template: "<ng-container *ngIf=\"instance\">\r\n {{ instance.component.label }}<span class=\"required-star\" *ngIf=\"instance.component.validate.required\">*</span>\r\n <mat-icon *ngIf=\"instance.component.tooltip\" style=\"font-size: 1rem;\"\r\n matTooltip=\"{{ instance.component.tooltip }}\" matSuffix\r\n >\r\n info\r\n </mat-icon>\r\n</ng-container>\r\n", styles: [":host{pointer-events:all;display:block}.required-star{margin-left:.2rem;color:red;font-size:.8rem;vertical-align:top}\n"] }]
368
369
  }], propDecorators: { instance: [{
369
370
  type: Input
370
371
  }] } });
@@ -400,10 +401,10 @@ class FormioFormFieldComponent {
400
401
  }
401
402
  }
402
403
  FormioFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormioFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
403
- FormioFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: { labelTemplate: "labelTemplate", renderTopLabel: "renderTopLabel", showDescription: "showDescription", renderElementOnly: "renderElementOnly", instance: "instance", componentTemplate: "componentTemplate" }, ngImport: i0, template: "<div class=\"mat-formio-component-wrapper\" *ngIf=\"instance && !renderElementOnly\"\n [ngClass]=\"{\n 'mat-formio-label-right': hasLabel([labelPositions.RIGHT_RIGHT, labelPositions.RIGHT_LEFT]),\n 'mat-formio-label-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.LEFT_RIGHT])\n }\"\n>\n <span *ngIf=\"renderTopLabel && hasLabel([labelPositions.TOP])\"\n class=\"mat-formio-label\"\n [ngClass]=\"{\n 'mat-formio-label-align-right': hasLabel([labelPositions.LEFT_RIGHT, labelPositions.RIGHT_RIGHT]),\n 'mat-formio-label-align-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.RIGHT_LEFT])\n }\"\n >\n <ng-container *ngTemplateOutlet=\"labelTemplate || defaultLabel\"></ng-container>\n </span>\n\n <div class=\"mat-formio-component\" *ngTemplateOutlet=\"componentTemplate; context: componentTemplateContext\"></div>\n\n <span *ngIf=\"hasLabel([\n labelPositions.BOTTOM,\n labelPositions.RIGHT_RIGHT,\n labelPositions.RIGHT_LEFT,\n labelPositions.LEFT_LEFT,\n labelPositions.LEFT_RIGHT\n ])\"\n class=\"mat-formio-label\"\n [ngClass]=\"{\n 'mat-formio-label-align-right': hasLabel([labelPositions.LEFT_RIGHT, labelPositions.RIGHT_RIGHT]),\n 'mat-formio-label-align-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.RIGHT_LEFT])\n }\"\n >\n <ng-container *ngTemplateOutlet=\"labelTemplate || defaultLabel\"></ng-container>\n </span>\n\n <mat-hint *ngIf=\"showDescription && instance.component.description\" class=\"mat-formio-component-description\">\n {{ instance.component.description }}\n </mat-hint>\n</div>\n\n<div class=\"mat-formio-component-wrapper\" *ngIf=\"renderElementOnly\">\n <div class=\"mat-formio-component\" *ngTemplateOutlet=\"componentTemplate; context: componentTemplateContext\"></div>\n</div>\n\n<ng-template #defaultLabel>\n <mat-label>\n <span style=\"display: block;\"\n [instance]=\"instance\" matFormioLabel>\n </span>\n </mat-label>\n</ng-template>\n", styles: [".mat-formio-component-description{display:block;grid-area:description}.mat-formio-component{grid-area:component}.mat-formio-label{grid-area:label}.mat-formio-label.mat-formio-label-align-right{margin-left:auto}.mat-formio-label.mat-formio-label-align-left{margin-right:auto}.mat-formio-component-wrapper.mat-formio-label-left,.mat-formio-component-wrapper.mat-formio-label-right{display:grid;grid-template-columns:auto auto;grid-column-gap:1em}.mat-formio-component-wrapper.mat-formio-label-right{grid-template-areas:\"component label\" \"description label\"}.mat-formio-component-wrapper.mat-formio-label-left{grid-template-areas:\"label component\" \"label description\"}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
404
+ FormioFormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: { labelTemplate: "labelTemplate", renderTopLabel: "renderTopLabel", showDescription: "showDescription", renderElementOnly: "renderElementOnly", instance: "instance", componentTemplate: "componentTemplate" }, ngImport: i0, template: "<div class=\"mat-formio-component-wrapper\" *ngIf=\"instance && !renderElementOnly\"\r\n [ngClass]=\"{\r\n 'mat-formio-label-right': hasLabel([labelPositions.RIGHT_RIGHT, labelPositions.RIGHT_LEFT]),\r\n 'mat-formio-label-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.LEFT_RIGHT])\r\n }\"\r\n>\r\n <span *ngIf=\"renderTopLabel && hasLabel([labelPositions.TOP])\"\r\n class=\"mat-formio-label\"\r\n [ngClass]=\"{\r\n 'mat-formio-label-align-right': hasLabel([labelPositions.LEFT_RIGHT, labelPositions.RIGHT_RIGHT]),\r\n 'mat-formio-label-align-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.RIGHT_LEFT])\r\n }\"\r\n >\r\n <ng-container *ngTemplateOutlet=\"labelTemplate || defaultLabel\"></ng-container>\r\n </span>\r\n\r\n <div class=\"mat-formio-component\" *ngTemplateOutlet=\"componentTemplate; context: componentTemplateContext\"></div>\r\n\r\n <span *ngIf=\"hasLabel([\r\n labelPositions.BOTTOM,\r\n labelPositions.RIGHT_RIGHT,\r\n labelPositions.RIGHT_LEFT,\r\n labelPositions.LEFT_LEFT,\r\n labelPositions.LEFT_RIGHT\r\n ])\"\r\n class=\"mat-formio-label\"\r\n [ngClass]=\"{\r\n 'mat-formio-label-align-right': hasLabel([labelPositions.LEFT_RIGHT, labelPositions.RIGHT_RIGHT]),\r\n 'mat-formio-label-align-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.RIGHT_LEFT])\r\n }\"\r\n >\r\n <ng-container *ngTemplateOutlet=\"labelTemplate || defaultLabel\"></ng-container>\r\n </span>\r\n\r\n <mat-hint *ngIf=\"showDescription && instance.component.description\" class=\"mat-formio-component-description\">\r\n {{ instance.component.description }}\r\n </mat-hint>\r\n</div>\r\n\r\n<div class=\"mat-formio-component-wrapper\" *ngIf=\"renderElementOnly\">\r\n <div class=\"mat-formio-component\" *ngTemplateOutlet=\"componentTemplate; context: componentTemplateContext\"></div>\r\n</div>\r\n\r\n<ng-template #defaultLabel>\r\n <mat-label>\r\n <span style=\"display: block;\"\r\n [instance]=\"instance\" matFormioLabel>\r\n </span>\r\n </mat-label>\r\n</ng-template>\r\n", styles: [".mat-formio-component-description{display:block;grid-area:description}.mat-formio-component{grid-area:component}.mat-formio-label{grid-area:label}.mat-formio-label.mat-formio-label-align-right{margin-left:auto}.mat-formio-label.mat-formio-label-align-left{margin-right:auto}.mat-formio-component-wrapper.mat-formio-label-left,.mat-formio-component-wrapper.mat-formio-label-right{display:grid;grid-template-columns:auto auto;grid-column-gap:1em}.mat-formio-component-wrapper.mat-formio-label-right{grid-template-areas:\"component label\" \"description label\"}.mat-formio-component-wrapper.mat-formio-label-left{grid-template-areas:\"label component\" \"label description\"}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
404
405
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormioFormFieldComponent, decorators: [{
405
406
  type: Component,
406
- args: [{ selector: 'mat-formio-form-field', template: "<div class=\"mat-formio-component-wrapper\" *ngIf=\"instance && !renderElementOnly\"\n [ngClass]=\"{\n 'mat-formio-label-right': hasLabel([labelPositions.RIGHT_RIGHT, labelPositions.RIGHT_LEFT]),\n 'mat-formio-label-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.LEFT_RIGHT])\n }\"\n>\n <span *ngIf=\"renderTopLabel && hasLabel([labelPositions.TOP])\"\n class=\"mat-formio-label\"\n [ngClass]=\"{\n 'mat-formio-label-align-right': hasLabel([labelPositions.LEFT_RIGHT, labelPositions.RIGHT_RIGHT]),\n 'mat-formio-label-align-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.RIGHT_LEFT])\n }\"\n >\n <ng-container *ngTemplateOutlet=\"labelTemplate || defaultLabel\"></ng-container>\n </span>\n\n <div class=\"mat-formio-component\" *ngTemplateOutlet=\"componentTemplate; context: componentTemplateContext\"></div>\n\n <span *ngIf=\"hasLabel([\n labelPositions.BOTTOM,\n labelPositions.RIGHT_RIGHT,\n labelPositions.RIGHT_LEFT,\n labelPositions.LEFT_LEFT,\n labelPositions.LEFT_RIGHT\n ])\"\n class=\"mat-formio-label\"\n [ngClass]=\"{\n 'mat-formio-label-align-right': hasLabel([labelPositions.LEFT_RIGHT, labelPositions.RIGHT_RIGHT]),\n 'mat-formio-label-align-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.RIGHT_LEFT])\n }\"\n >\n <ng-container *ngTemplateOutlet=\"labelTemplate || defaultLabel\"></ng-container>\n </span>\n\n <mat-hint *ngIf=\"showDescription && instance.component.description\" class=\"mat-formio-component-description\">\n {{ instance.component.description }}\n </mat-hint>\n</div>\n\n<div class=\"mat-formio-component-wrapper\" *ngIf=\"renderElementOnly\">\n <div class=\"mat-formio-component\" *ngTemplateOutlet=\"componentTemplate; context: componentTemplateContext\"></div>\n</div>\n\n<ng-template #defaultLabel>\n <mat-label>\n <span style=\"display: block;\"\n [instance]=\"instance\" matFormioLabel>\n </span>\n </mat-label>\n</ng-template>\n", styles: [".mat-formio-component-description{display:block;grid-area:description}.mat-formio-component{grid-area:component}.mat-formio-label{grid-area:label}.mat-formio-label.mat-formio-label-align-right{margin-left:auto}.mat-formio-label.mat-formio-label-align-left{margin-right:auto}.mat-formio-component-wrapper.mat-formio-label-left,.mat-formio-component-wrapper.mat-formio-label-right{display:grid;grid-template-columns:auto auto;grid-column-gap:1em}.mat-formio-component-wrapper.mat-formio-label-right{grid-template-areas:\"component label\" \"description label\"}.mat-formio-component-wrapper.mat-formio-label-left{grid-template-areas:\"label component\" \"label description\"}\n"] }]
407
+ args: [{ selector: 'mat-formio-form-field', template: "<div class=\"mat-formio-component-wrapper\" *ngIf=\"instance && !renderElementOnly\"\r\n [ngClass]=\"{\r\n 'mat-formio-label-right': hasLabel([labelPositions.RIGHT_RIGHT, labelPositions.RIGHT_LEFT]),\r\n 'mat-formio-label-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.LEFT_RIGHT])\r\n }\"\r\n>\r\n <span *ngIf=\"renderTopLabel && hasLabel([labelPositions.TOP])\"\r\n class=\"mat-formio-label\"\r\n [ngClass]=\"{\r\n 'mat-formio-label-align-right': hasLabel([labelPositions.LEFT_RIGHT, labelPositions.RIGHT_RIGHT]),\r\n 'mat-formio-label-align-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.RIGHT_LEFT])\r\n }\"\r\n >\r\n <ng-container *ngTemplateOutlet=\"labelTemplate || defaultLabel\"></ng-container>\r\n </span>\r\n\r\n <div class=\"mat-formio-component\" *ngTemplateOutlet=\"componentTemplate; context: componentTemplateContext\"></div>\r\n\r\n <span *ngIf=\"hasLabel([\r\n labelPositions.BOTTOM,\r\n labelPositions.RIGHT_RIGHT,\r\n labelPositions.RIGHT_LEFT,\r\n labelPositions.LEFT_LEFT,\r\n labelPositions.LEFT_RIGHT\r\n ])\"\r\n class=\"mat-formio-label\"\r\n [ngClass]=\"{\r\n 'mat-formio-label-align-right': hasLabel([labelPositions.LEFT_RIGHT, labelPositions.RIGHT_RIGHT]),\r\n 'mat-formio-label-align-left': hasLabel([labelPositions.LEFT_LEFT, labelPositions.RIGHT_LEFT])\r\n }\"\r\n >\r\n <ng-container *ngTemplateOutlet=\"labelTemplate || defaultLabel\"></ng-container>\r\n </span>\r\n\r\n <mat-hint *ngIf=\"showDescription && instance.component.description\" class=\"mat-formio-component-description\">\r\n {{ instance.component.description }}\r\n </mat-hint>\r\n</div>\r\n\r\n<div class=\"mat-formio-component-wrapper\" *ngIf=\"renderElementOnly\">\r\n <div class=\"mat-formio-component\" *ngTemplateOutlet=\"componentTemplate; context: componentTemplateContext\"></div>\r\n</div>\r\n\r\n<ng-template #defaultLabel>\r\n <mat-label>\r\n <span style=\"display: block;\"\r\n [instance]=\"instance\" matFormioLabel>\r\n </span>\r\n </mat-label>\r\n</ng-template>\r\n", styles: [".mat-formio-component-description{display:block;grid-area:description}.mat-formio-component{grid-area:component}.mat-formio-label{grid-area:label}.mat-formio-label.mat-formio-label-align-right{margin-left:auto}.mat-formio-label.mat-formio-label-align-left{margin-right:auto}.mat-formio-component-wrapper.mat-formio-label-left,.mat-formio-component-wrapper.mat-formio-label-right{display:grid;grid-template-columns:auto auto;grid-column-gap:1em}.mat-formio-component-wrapper.mat-formio-label-right{grid-template-areas:\"component label\" \"description label\"}.mat-formio-component-wrapper.mat-formio-label-left{grid-template-areas:\"label component\" \"label description\"}\n"] }]
407
408
  }], propDecorators: { labelTemplate: [{
408
409
  type: Input
409
410
  }], renderTopLabel: [{
@@ -486,7 +487,6 @@ class MaterialTextfieldComponent extends MaterialComponent {
486
487
  return appearances.includes(appearance) ? appearance : undefined;
487
488
  }
488
489
  isError() {
489
- console.log(this.instance);
490
490
  if (this.instance.error) {
491
491
  this.control.setErrors(this.instance.component.validate);
492
492
  return true;
@@ -718,91 +718,91 @@ class MaterialDayComponent extends MaterialComponent {
718
718
  }
719
719
  }
720
720
  MaterialDayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialDayComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
721
- MaterialDayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialDayComponent, selector: "mat-formio-day", usesInheritance: true, ngImport: i0, template: `
722
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
723
- <ng-template #componentTemplate let-hasLabel>
724
- <mat-label *ngIf="hasLabel">
725
- <span [instance]="instance" matFormioLabel></span>
726
- </mat-label>
727
- <mat-form-field *ngIf="instance.dayFirst && instance.showDay">
728
- <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
729
- <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
730
- <mat-option *ngFor="let day of instance.days" [value]="day.value">
731
- {{day.label}}
732
- </mat-option>
733
- </mat-select>
734
- </mat-form-field>
735
- <mat-form-field *ngIf="instance.showMonth">
736
- <mat-label *ngIf="!instance.component.hideInputLabels">Month</mat-label>
737
- <mat-select [formControl]="monthControl" (selectionChange)="onChange()" [required]="instance.monthRequired">
738
- <mat-option *ngFor="let month of instance.months" [value]="month.value">
739
- {{month.label}}
740
- </mat-option>
741
- </mat-select>
742
- </mat-form-field>
743
- <mat-form-field *ngIf="!instance.dayFirst && instance.showDay">
744
- <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
745
- <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
746
- <mat-option *ngFor="let day of instance.days" [value]="day.value">
747
- {{day.label}}
748
- </mat-option>
749
- </mat-select>
750
- </mat-form-field>
751
- <mat-form-field *ngIf="instance.showYear">
752
- <mat-label *ngIf="!instance.component.hideInputLabels">Year</mat-label>
753
- <mat-select [formControl]="yearControl" (selectionChange)="onChange()" [required]="instance.yearRequired">
754
- <mat-option *ngFor="let year of instance.years" [value]="year.value">
755
- {{year.label}}
756
- </mat-option>
757
- </mat-select>
758
- </mat-form-field>
759
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
760
- </ng-template>
721
+ MaterialDayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialDayComponent, selector: "mat-formio-day", usesInheritance: true, ngImport: i0, template: `
722
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
723
+ <ng-template #componentTemplate let-hasLabel>
724
+ <mat-label *ngIf="hasLabel">
725
+ <span [instance]="instance" matFormioLabel></span>
726
+ </mat-label>
727
+ <mat-form-field *ngIf="instance.dayFirst && instance.showDay">
728
+ <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
729
+ <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
730
+ <mat-option *ngFor="let day of instance.days" [value]="day.value">
731
+ {{day.label}}
732
+ </mat-option>
733
+ </mat-select>
734
+ </mat-form-field>
735
+ <mat-form-field *ngIf="instance.showMonth">
736
+ <mat-label *ngIf="!instance.component.hideInputLabels">Month</mat-label>
737
+ <mat-select [formControl]="monthControl" (selectionChange)="onChange()" [required]="instance.monthRequired">
738
+ <mat-option *ngFor="let month of instance.months" [value]="month.value">
739
+ {{month.label}}
740
+ </mat-option>
741
+ </mat-select>
742
+ </mat-form-field>
743
+ <mat-form-field *ngIf="!instance.dayFirst && instance.showDay">
744
+ <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
745
+ <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
746
+ <mat-option *ngFor="let day of instance.days" [value]="day.value">
747
+ {{day.label}}
748
+ </mat-option>
749
+ </mat-select>
750
+ </mat-form-field>
751
+ <mat-form-field *ngIf="instance.showYear">
752
+ <mat-label *ngIf="!instance.component.hideInputLabels">Year</mat-label>
753
+ <mat-select [formControl]="yearControl" (selectionChange)="onChange()" [required]="instance.yearRequired">
754
+ <mat-option *ngFor="let year of instance.years" [value]="year.value">
755
+ {{year.label}}
756
+ </mat-option>
757
+ </mat-select>
758
+ </mat-form-field>
759
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
760
+ </ng-template>
761
761
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4$3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
762
762
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialDayComponent, decorators: [{
763
763
  type: Component,
764
764
  args: [{
765
765
  selector: 'mat-formio-day',
766
- template: `
767
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
768
- <ng-template #componentTemplate let-hasLabel>
769
- <mat-label *ngIf="hasLabel">
770
- <span [instance]="instance" matFormioLabel></span>
771
- </mat-label>
772
- <mat-form-field *ngIf="instance.dayFirst && instance.showDay">
773
- <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
774
- <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
775
- <mat-option *ngFor="let day of instance.days" [value]="day.value">
776
- {{day.label}}
777
- </mat-option>
778
- </mat-select>
779
- </mat-form-field>
780
- <mat-form-field *ngIf="instance.showMonth">
781
- <mat-label *ngIf="!instance.component.hideInputLabels">Month</mat-label>
782
- <mat-select [formControl]="monthControl" (selectionChange)="onChange()" [required]="instance.monthRequired">
783
- <mat-option *ngFor="let month of instance.months" [value]="month.value">
784
- {{month.label}}
785
- </mat-option>
786
- </mat-select>
787
- </mat-form-field>
788
- <mat-form-field *ngIf="!instance.dayFirst && instance.showDay">
789
- <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
790
- <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
791
- <mat-option *ngFor="let day of instance.days" [value]="day.value">
792
- {{day.label}}
793
- </mat-option>
794
- </mat-select>
795
- </mat-form-field>
796
- <mat-form-field *ngIf="instance.showYear">
797
- <mat-label *ngIf="!instance.component.hideInputLabels">Year</mat-label>
798
- <mat-select [formControl]="yearControl" (selectionChange)="onChange()" [required]="instance.yearRequired">
799
- <mat-option *ngFor="let year of instance.years" [value]="year.value">
800
- {{year.label}}
801
- </mat-option>
802
- </mat-select>
803
- </mat-form-field>
804
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
805
- </ng-template>
766
+ template: `
767
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
768
+ <ng-template #componentTemplate let-hasLabel>
769
+ <mat-label *ngIf="hasLabel">
770
+ <span [instance]="instance" matFormioLabel></span>
771
+ </mat-label>
772
+ <mat-form-field *ngIf="instance.dayFirst && instance.showDay">
773
+ <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
774
+ <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
775
+ <mat-option *ngFor="let day of instance.days" [value]="day.value">
776
+ {{day.label}}
777
+ </mat-option>
778
+ </mat-select>
779
+ </mat-form-field>
780
+ <mat-form-field *ngIf="instance.showMonth">
781
+ <mat-label *ngIf="!instance.component.hideInputLabels">Month</mat-label>
782
+ <mat-select [formControl]="monthControl" (selectionChange)="onChange()" [required]="instance.monthRequired">
783
+ <mat-option *ngFor="let month of instance.months" [value]="month.value">
784
+ {{month.label}}
785
+ </mat-option>
786
+ </mat-select>
787
+ </mat-form-field>
788
+ <mat-form-field *ngIf="!instance.dayFirst && instance.showDay">
789
+ <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
790
+ <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
791
+ <mat-option *ngFor="let day of instance.days" [value]="day.value">
792
+ {{day.label}}
793
+ </mat-option>
794
+ </mat-select>
795
+ </mat-form-field>
796
+ <mat-form-field *ngIf="instance.showYear">
797
+ <mat-label *ngIf="!instance.component.hideInputLabels">Year</mat-label>
798
+ <mat-select [formControl]="yearControl" (selectionChange)="onChange()" [required]="instance.yearRequired">
799
+ <mat-option *ngFor="let year of instance.years" [value]="year.value">
800
+ {{year.label}}
801
+ </mat-option>
802
+ </mat-select>
803
+ </mat-form-field>
804
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
805
+ </ng-template>
806
806
  `
807
807
  }]
808
808
  }] });
@@ -882,67 +882,67 @@ class MaterialTagsComponent extends MaterialComponent {
882
882
  }
883
883
  }
884
884
  MaterialTagsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTagsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
885
- MaterialTagsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTagsComponent, selector: "mat-formio-tags", usesInheritance: true, ngImport: i0, template: `
886
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
887
- <ng-template #componentTemplate let-hasLabel>
888
- <mat-form-field class="example-chip-list" fxFill>
889
-
890
- <mat-label *ngIf="hasLabel">
891
- <span [instance]="instance" matFormioLabel></span>
892
- </mat-label>
893
-
894
- <mat-chip-list #chipList [attr.aria-label]="instance.component.label">
895
- <mat-chip *ngFor="let tag of tags; index as i;"
896
- [selectable]="true"
897
- [removable]="true"
898
- (removed)="remove(i)"
899
- >
900
- {{tag}}
901
- <mat-icon matChipRemove>cancel</mat-icon>
902
- </mat-chip>
903
-
904
- <input [formControl]="control"
905
- [matChipInputFor]="chipList"
906
- [matChipInputSeparatorKeyCodes]="separatorKeysCodes"
907
- [matChipInputAddOnBlur]="true"
908
- (matChipInputTokenEnd)="add($event)"
909
- >
910
- </mat-chip-list>
911
- </mat-form-field>
912
- </ng-template>
885
+ MaterialTagsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTagsComponent, selector: "mat-formio-tags", usesInheritance: true, ngImport: i0, template: `
886
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
887
+ <ng-template #componentTemplate let-hasLabel>
888
+ <mat-form-field class="example-chip-list" fxFill>
889
+
890
+ <mat-label *ngIf="hasLabel">
891
+ <span [instance]="instance" matFormioLabel></span>
892
+ </mat-label>
893
+
894
+ <mat-chip-list #chipList [attr.aria-label]="instance.component.label">
895
+ <mat-chip *ngFor="let tag of tags; index as i;"
896
+ [selectable]="true"
897
+ [removable]="true"
898
+ (removed)="remove(i)"
899
+ >
900
+ {{tag}}
901
+ <mat-icon matChipRemove>cancel</mat-icon>
902
+ </mat-chip>
903
+
904
+ <input [formControl]="control"
905
+ [matChipInputFor]="chipList"
906
+ [matChipInputSeparatorKeyCodes]="separatorKeysCodes"
907
+ [matChipInputAddOnBlur]="true"
908
+ (matChipInputTokenEnd)="add($event)"
909
+ >
910
+ </mat-chip-list>
911
+ </mat-form-field>
912
+ </ng-template>
913
913
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4$4.MatChipList, selector: "mat-chip-list", inputs: ["role", "aria-describedby", "errorStateMatcher", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "aria-orientation", "selectable", "tabIndex"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }, { kind: "directive", type: i4$4.MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "role", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { kind: "directive", type: i4$4.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i4$4.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
914
914
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTagsComponent, decorators: [{
915
915
  type: Component,
916
916
  args: [{
917
917
  selector: 'mat-formio-tags',
918
- template: `
919
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
920
- <ng-template #componentTemplate let-hasLabel>
921
- <mat-form-field class="example-chip-list" fxFill>
922
-
923
- <mat-label *ngIf="hasLabel">
924
- <span [instance]="instance" matFormioLabel></span>
925
- </mat-label>
926
-
927
- <mat-chip-list #chipList [attr.aria-label]="instance.component.label">
928
- <mat-chip *ngFor="let tag of tags; index as i;"
929
- [selectable]="true"
930
- [removable]="true"
931
- (removed)="remove(i)"
932
- >
933
- {{tag}}
934
- <mat-icon matChipRemove>cancel</mat-icon>
935
- </mat-chip>
936
-
937
- <input [formControl]="control"
938
- [matChipInputFor]="chipList"
939
- [matChipInputSeparatorKeyCodes]="separatorKeysCodes"
940
- [matChipInputAddOnBlur]="true"
941
- (matChipInputTokenEnd)="add($event)"
942
- >
943
- </mat-chip-list>
944
- </mat-form-field>
945
- </ng-template>
918
+ template: `
919
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
920
+ <ng-template #componentTemplate let-hasLabel>
921
+ <mat-form-field class="example-chip-list" fxFill>
922
+
923
+ <mat-label *ngIf="hasLabel">
924
+ <span [instance]="instance" matFormioLabel></span>
925
+ </mat-label>
926
+
927
+ <mat-chip-list #chipList [attr.aria-label]="instance.component.label">
928
+ <mat-chip *ngFor="let tag of tags; index as i;"
929
+ [selectable]="true"
930
+ [removable]="true"
931
+ (removed)="remove(i)"
932
+ >
933
+ {{tag}}
934
+ <mat-icon matChipRemove>cancel</mat-icon>
935
+ </mat-chip>
936
+
937
+ <input [formControl]="control"
938
+ [matChipInputFor]="chipList"
939
+ [matChipInputSeparatorKeyCodes]="separatorKeysCodes"
940
+ [matChipInputAddOnBlur]="true"
941
+ (matChipInputTokenEnd)="add($event)"
942
+ >
943
+ </mat-chip-list>
944
+ </mat-form-field>
945
+ </ng-template>
946
946
  `
947
947
  }]
948
948
  }] });
@@ -1039,10 +1039,10 @@ class MaterialButtonComponent extends MaterialComponent {
1039
1039
  }
1040
1040
  }
1041
1041
  MaterialButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1042
- MaterialButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialButtonComponent, selector: "mat-formio-button", usesInheritance: true, ngImport: i0, template: "<button *ngIf=\"instance\"\n [ngClass]=\"buttonClass\"\n type=\"{{ instance.component.action }}\"\n mat-raised-button [color]=\"color\"\n [disabled]=\"disabled\"\n (click)=\"instance.onClick($event)\"\n>\n <mat-icon *ngIf=\"instance.component.leftIcon\">{{instance.component.leftIcon}}</mat-icon>\n <mat-icon *ngIf=\"done\">done</mat-icon>\n <mat-icon *ngIf=\"error\">close</mat-icon>\n <mat-icon class=\"mat-icon-spin\" *ngIf=\"loading\">autorenew</mat-icon>\n {{ instance.component.label }}\n <mat-icon *ngIf=\"instance.component.rightIcon\">{{instance.component.rightIcon}}</mat-icon>\n</button>\n", styles: ["@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host .mat-icon-spin{-webkit-animation-name:spin;animation-name:spin;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}.mat-formio-theme-success{background-color:#63d644!important}.mat-formio-theme-info{background-color:#49d9f4!important}.mat-formio-button-sm{font-size:14px;padding:8px 12px}.mat-formio-button-xs{font-size:14px;padding:4px 6px}.mat-formio-button-md{font-size:15px;padding:8px 12px}.mat-formio-button-lg{font-size:19px;padding:16px 20px}.mat-formio-button-block{display:block;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] });
1042
+ MaterialButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialButtonComponent, selector: "mat-formio-button", usesInheritance: true, ngImport: i0, template: "<button *ngIf=\"instance\"\r\n [ngClass]=\"buttonClass\"\r\n type=\"{{ instance.component.action }}\"\r\n mat-raised-button [color]=\"color\"\r\n [disabled]=\"disabled\"\r\n (click)=\"instance.onClick($event)\"\r\n>\r\n <mat-icon *ngIf=\"instance.component.leftIcon\">{{instance.component.leftIcon}}</mat-icon>\r\n <mat-icon *ngIf=\"done\">done</mat-icon>\r\n <mat-icon *ngIf=\"error\">close</mat-icon>\r\n <mat-icon class=\"mat-icon-spin\" *ngIf=\"loading\">autorenew</mat-icon>\r\n {{ instance.component.label }}\r\n <mat-icon *ngIf=\"instance.component.rightIcon\">{{instance.component.rightIcon}}</mat-icon>\r\n</button>\r\n", styles: ["@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host .mat-icon-spin{-webkit-animation-name:spin;animation-name:spin;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}.mat-formio-theme-success{background-color:#63d644!important}.mat-formio-theme-info{background-color:#49d9f4!important}.mat-formio-button-sm{font-size:14px;padding:8px 12px}.mat-formio-button-xs{font-size:14px;padding:4px 6px}.mat-formio-button-md{font-size:15px;padding:8px 12px}.mat-formio-button-lg{font-size:19px;padding:16px 20px}.mat-formio-button-block{display:block;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] });
1043
1043
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialButtonComponent, decorators: [{
1044
1044
  type: Component,
1045
- args: [{ selector: 'mat-formio-button', template: "<button *ngIf=\"instance\"\n [ngClass]=\"buttonClass\"\n type=\"{{ instance.component.action }}\"\n mat-raised-button [color]=\"color\"\n [disabled]=\"disabled\"\n (click)=\"instance.onClick($event)\"\n>\n <mat-icon *ngIf=\"instance.component.leftIcon\">{{instance.component.leftIcon}}</mat-icon>\n <mat-icon *ngIf=\"done\">done</mat-icon>\n <mat-icon *ngIf=\"error\">close</mat-icon>\n <mat-icon class=\"mat-icon-spin\" *ngIf=\"loading\">autorenew</mat-icon>\n {{ instance.component.label }}\n <mat-icon *ngIf=\"instance.component.rightIcon\">{{instance.component.rightIcon}}</mat-icon>\n</button>\n", styles: ["@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host .mat-icon-spin{-webkit-animation-name:spin;animation-name:spin;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}.mat-formio-theme-success{background-color:#63d644!important}.mat-formio-theme-info{background-color:#49d9f4!important}.mat-formio-button-sm{font-size:14px;padding:8px 12px}.mat-formio-button-xs{font-size:14px;padding:4px 6px}.mat-formio-button-md{font-size:15px;padding:8px 12px}.mat-formio-button-lg{font-size:19px;padding:16px 20px}.mat-formio-button-block{display:block;width:100%}\n"] }]
1045
+ args: [{ selector: 'mat-formio-button', template: "<button *ngIf=\"instance\"\r\n [ngClass]=\"buttonClass\"\r\n type=\"{{ instance.component.action }}\"\r\n mat-raised-button [color]=\"color\"\r\n [disabled]=\"disabled\"\r\n (click)=\"instance.onClick($event)\"\r\n>\r\n <mat-icon *ngIf=\"instance.component.leftIcon\">{{instance.component.leftIcon}}</mat-icon>\r\n <mat-icon *ngIf=\"done\">done</mat-icon>\r\n <mat-icon *ngIf=\"error\">close</mat-icon>\r\n <mat-icon class=\"mat-icon-spin\" *ngIf=\"loading\">autorenew</mat-icon>\r\n {{ instance.component.label }}\r\n <mat-icon *ngIf=\"instance.component.rightIcon\">{{instance.component.rightIcon}}</mat-icon>\r\n</button>\r\n", styles: ["@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host .mat-icon-spin{-webkit-animation-name:spin;animation-name:spin;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear}.mat-formio-theme-success{background-color:#63d644!important}.mat-formio-theme-info{background-color:#49d9f4!important}.mat-formio-button-sm{font-size:14px;padding:8px 12px}.mat-formio-button-xs{font-size:14px;padding:4px 6px}.mat-formio-button-md{font-size:15px;padding:8px 12px}.mat-formio-button-lg{font-size:19px;padding:16px 20px}.mat-formio-button-block{display:block;width:100%}\n"] }]
1046
1046
  }] });
1047
1047
  ButtonComponent.MaterialComponent = MaterialButtonComponent;
1048
1048
 
@@ -1056,57 +1056,57 @@ class MaterialTextareaComponent extends MaterialComponent {
1056
1056
  }
1057
1057
  }
1058
1058
  MaterialTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1059
- MaterialTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTextareaComponent, selector: "mat-formio-textarea", viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1060
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
1061
- <ng-template #componentTemplate let-hasLabel>
1062
- <mat-form-field class="mat-formio-textarea"
1063
- [ngClass]="{'editor-enabled': !!instance.component.editor}"
1064
- fxFill
1065
- fxFlexAlign="center"
1066
- >
1067
- <mat-label fxFill *ngIf="hasLabel">
1068
- <span [instance]="instance" matFormioLabel></span>
1069
- </mat-label>
1070
- <span *ngIf="instance.component.prefix" matPrefix>{{ instance.component.prefix }}&nbsp;</span>
1071
- <textarea matInput
1072
- [placeholder]="instance.component.placeholder"
1073
- [formControl]="control"
1074
- [rows]="(instance.component.rows || 3)"
1075
- (input)="onChange()"
1076
- #textarea
1077
- >
1078
- </textarea>
1079
- <span *ngIf="instance.component.suffix" matSuffix>{{ instance.component.suffix }}</span>
1080
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1081
- </mat-form-field>
1082
- </ng-template>
1059
+ MaterialTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTextareaComponent, selector: "mat-formio-textarea", viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1060
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
1061
+ <ng-template #componentTemplate let-hasLabel>
1062
+ <mat-form-field class="mat-formio-textarea"
1063
+ [ngClass]="{'editor-enabled': !!instance.component.editor}"
1064
+ fxFill
1065
+ fxFlexAlign="center"
1066
+ >
1067
+ <mat-label fxFill *ngIf="hasLabel">
1068
+ <span [instance]="instance" matFormioLabel></span>
1069
+ </mat-label>
1070
+ <span *ngIf="instance.component.prefix" matPrefix>{{ instance.component.prefix }}&nbsp;</span>
1071
+ <textarea matInput
1072
+ [placeholder]="instance.component.placeholder"
1073
+ [formControl]="control"
1074
+ [rows]="(instance.component.rows || 3)"
1075
+ (input)="onChange()"
1076
+ #textarea
1077
+ >
1078
+ </textarea>
1079
+ <span *ngIf="instance.component.suffix" matSuffix>{{ instance.component.suffix }}</span>
1080
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1081
+ </mat-form-field>
1082
+ </ng-template>
1083
1083
  `, isInline: true, styles: [".mat-input-element{min-height:16px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix]" }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "directive", type: i4$2.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i5.DefaultFlexAlignDirective, selector: " [fxFlexAlign], [fxFlexAlign.xs], [fxFlexAlign.sm], [fxFlexAlign.md], [fxFlexAlign.lg], [fxFlexAlign.xl], [fxFlexAlign.lt-sm], [fxFlexAlign.lt-md], [fxFlexAlign.lt-lg], [fxFlexAlign.lt-xl], [fxFlexAlign.gt-xs], [fxFlexAlign.gt-sm], [fxFlexAlign.gt-md], [fxFlexAlign.gt-lg]", inputs: ["fxFlexAlign", "fxFlexAlign.xs", "fxFlexAlign.sm", "fxFlexAlign.md", "fxFlexAlign.lg", "fxFlexAlign.xl", "fxFlexAlign.lt-sm", "fxFlexAlign.lt-md", "fxFlexAlign.lt-lg", "fxFlexAlign.lt-xl", "fxFlexAlign.gt-xs", "fxFlexAlign.gt-sm", "fxFlexAlign.gt-md", "fxFlexAlign.gt-lg"] }, { kind: "directive", type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
1084
1084
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTextareaComponent, decorators: [{
1085
1085
  type: Component,
1086
- args: [{ selector: 'mat-formio-textarea', template: `
1087
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
1088
- <ng-template #componentTemplate let-hasLabel>
1089
- <mat-form-field class="mat-formio-textarea"
1090
- [ngClass]="{'editor-enabled': !!instance.component.editor}"
1091
- fxFill
1092
- fxFlexAlign="center"
1093
- >
1094
- <mat-label fxFill *ngIf="hasLabel">
1095
- <span [instance]="instance" matFormioLabel></span>
1096
- </mat-label>
1097
- <span *ngIf="instance.component.prefix" matPrefix>{{ instance.component.prefix }}&nbsp;</span>
1098
- <textarea matInput
1099
- [placeholder]="instance.component.placeholder"
1100
- [formControl]="control"
1101
- [rows]="(instance.component.rows || 3)"
1102
- (input)="onChange()"
1103
- #textarea
1104
- >
1105
- </textarea>
1106
- <span *ngIf="instance.component.suffix" matSuffix>{{ instance.component.suffix }}</span>
1107
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1108
- </mat-form-field>
1109
- </ng-template>
1086
+ args: [{ selector: 'mat-formio-textarea', template: `
1087
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
1088
+ <ng-template #componentTemplate let-hasLabel>
1089
+ <mat-form-field class="mat-formio-textarea"
1090
+ [ngClass]="{'editor-enabled': !!instance.component.editor}"
1091
+ fxFill
1092
+ fxFlexAlign="center"
1093
+ >
1094
+ <mat-label fxFill *ngIf="hasLabel">
1095
+ <span [instance]="instance" matFormioLabel></span>
1096
+ </mat-label>
1097
+ <span *ngIf="instance.component.prefix" matPrefix>{{ instance.component.prefix }}&nbsp;</span>
1098
+ <textarea matInput
1099
+ [placeholder]="instance.component.placeholder"
1100
+ [formControl]="control"
1101
+ [rows]="(instance.component.rows || 3)"
1102
+ (input)="onChange()"
1103
+ #textarea
1104
+ >
1105
+ </textarea>
1106
+ <span *ngIf="instance.component.suffix" matSuffix>{{ instance.component.suffix }}</span>
1107
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1108
+ </mat-form-field>
1109
+ </ng-template>
1110
1110
  `, styles: [".mat-input-element{min-height:16px}\n"] }]
1111
1111
  }], propDecorators: { textarea: [{
1112
1112
  type: ViewChild,
@@ -1152,47 +1152,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1152
1152
  class MaterialPanelComponent extends MaterialNestedComponent {
1153
1153
  }
1154
1154
  MaterialPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialPanelComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1155
- MaterialPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialPanelComponent, selector: "mat-formio-panel", usesInheritance: true, ngImport: i0, template: `
1156
- <mat-card *ngIf="!instance.component.collapsible">
1157
- <mat-card-title *ngIf="instance?.component?.title">
1158
- {{ instance.component.title }}
1159
- </mat-card-title>
1160
- <mat-card-content fxLayout="column" fxLayoutGap="1em">
1161
- <ng-template #components></ng-template>
1162
- </mat-card-content>
1163
- </mat-card>
1164
- <mat-expansion-panel *ngIf="instance.component.collapsible"
1165
- [expanded]="!instance.component.collapsed"
1166
- >
1167
- <mat-expansion-panel-header *ngIf="instance?.component?.title">
1168
- <mat-panel-title>
1169
- {{ instance.component.title }}
1170
- </mat-panel-title>
1171
- </mat-expansion-panel-header>
1172
- <ng-template #components></ng-template>
1173
- </mat-expansion-panel>
1155
+ MaterialPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialPanelComponent, selector: "mat-formio-panel", usesInheritance: true, ngImport: i0, template: `
1156
+ <mat-card *ngIf="!instance.component.collapsible">
1157
+ <mat-card-title *ngIf="instance?.component?.title">
1158
+ {{ instance.component.title }}
1159
+ </mat-card-title>
1160
+ <mat-card-content fxLayout="column" fxLayoutGap="1em">
1161
+ <ng-template #components></ng-template>
1162
+ </mat-card-content>
1163
+ </mat-card>
1164
+ <mat-expansion-panel *ngIf="instance.component.collapsible"
1165
+ [expanded]="!instance.component.collapsed"
1166
+ >
1167
+ <mat-expansion-panel-header *ngIf="instance?.component?.title">
1168
+ <mat-panel-title>
1169
+ {{ instance.component.title }}
1170
+ </mat-panel-title>
1171
+ </mat-expansion-panel-header>
1172
+ <ng-template #components></ng-template>
1173
+ </mat-expansion-panel>
1174
1174
  `, isInline: true, styles: [":host{margin-bottom:1em}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i2$2.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i2$2.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "directive", type: i4.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "directive", type: i4.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }] });
1175
1175
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialPanelComponent, decorators: [{
1176
1176
  type: Component,
1177
- args: [{ selector: 'mat-formio-panel', template: `
1178
- <mat-card *ngIf="!instance.component.collapsible">
1179
- <mat-card-title *ngIf="instance?.component?.title">
1180
- {{ instance.component.title }}
1181
- </mat-card-title>
1182
- <mat-card-content fxLayout="column" fxLayoutGap="1em">
1183
- <ng-template #components></ng-template>
1184
- </mat-card-content>
1185
- </mat-card>
1186
- <mat-expansion-panel *ngIf="instance.component.collapsible"
1187
- [expanded]="!instance.component.collapsed"
1188
- >
1189
- <mat-expansion-panel-header *ngIf="instance?.component?.title">
1190
- <mat-panel-title>
1191
- {{ instance.component.title }}
1192
- </mat-panel-title>
1193
- </mat-expansion-panel-header>
1194
- <ng-template #components></ng-template>
1195
- </mat-expansion-panel>
1177
+ args: [{ selector: 'mat-formio-panel', template: `
1178
+ <mat-card *ngIf="!instance.component.collapsible">
1179
+ <mat-card-title *ngIf="instance?.component?.title">
1180
+ {{ instance.component.title }}
1181
+ </mat-card-title>
1182
+ <mat-card-content fxLayout="column" fxLayoutGap="1em">
1183
+ <ng-template #components></ng-template>
1184
+ </mat-card-content>
1185
+ </mat-card>
1186
+ <mat-expansion-panel *ngIf="instance.component.collapsible"
1187
+ [expanded]="!instance.component.collapsed"
1188
+ >
1189
+ <mat-expansion-panel-header *ngIf="instance?.component?.title">
1190
+ <mat-panel-title>
1191
+ {{ instance.component.title }}
1192
+ </mat-panel-title>
1193
+ </mat-expansion-panel-header>
1194
+ <ng-template #components></ng-template>
1195
+ </mat-expansion-panel>
1196
1196
  `, styles: [":host{margin-bottom:1em}\n"] }]
1197
1197
  }] });
1198
1198
  PanelComponent.MaterialComponent = MaterialPanelComponent;
@@ -1220,41 +1220,41 @@ class MaterialColumnsComponent extends MaterialNestedComponent {
1220
1220
  }
1221
1221
  }
1222
1222
  MaterialColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialColumnsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1223
- MaterialColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialColumnsComponent, selector: "mat-formio-columns", usesInheritance: true, ngImport: i0, template: `
1224
- <div class="container"
1225
- fxLayout="row"
1226
- fxLayout.xs="column"
1227
- fxLayoutWrap
1228
- fxLayoutGap="{{ flexGap }}%"
1229
- fxLayoutAlign="center"
1230
- >
1231
- <div
1232
- *ngFor="let column of instance.component.columns; let i = index"
1233
- [fxFlex]="flexWidth(column, i)"
1234
- fxLayout="column"
1235
- fxLayoutGap="1em">
1236
- <ng-template #components></ng-template>
1237
- </div>
1238
- </div>
1223
+ MaterialColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialColumnsComponent, selector: "mat-formio-columns", usesInheritance: true, ngImport: i0, template: `
1224
+ <div class="container"
1225
+ fxLayout="row"
1226
+ fxLayout.xs="column"
1227
+ fxLayoutWrap
1228
+ fxLayoutGap="{{ flexGap }}%"
1229
+ fxLayoutAlign="center"
1230
+ >
1231
+ <div
1232
+ *ngFor="let column of instance.component.columns; let i = index"
1233
+ [fxFlex]="flexWidth(column, i)"
1234
+ fxLayout="column"
1235
+ fxLayoutGap="1em">
1236
+ <ng-template #components></ng-template>
1237
+ </div>
1238
+ </div>
1239
1239
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i5.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }] });
1240
1240
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialColumnsComponent, decorators: [{
1241
1241
  type: Component,
1242
- args: [{ selector: 'mat-formio-columns', template: `
1243
- <div class="container"
1244
- fxLayout="row"
1245
- fxLayout.xs="column"
1246
- fxLayoutWrap
1247
- fxLayoutGap="{{ flexGap }}%"
1248
- fxLayoutAlign="center"
1249
- >
1250
- <div
1251
- *ngFor="let column of instance.component.columns; let i = index"
1252
- [fxFlex]="flexWidth(column, i)"
1253
- fxLayout="column"
1254
- fxLayoutGap="1em">
1255
- <ng-template #components></ng-template>
1256
- </div>
1257
- </div>
1242
+ args: [{ selector: 'mat-formio-columns', template: `
1243
+ <div class="container"
1244
+ fxLayout="row"
1245
+ fxLayout.xs="column"
1246
+ fxLayoutWrap
1247
+ fxLayoutGap="{{ flexGap }}%"
1248
+ fxLayoutAlign="center"
1249
+ >
1250
+ <div
1251
+ *ngFor="let column of instance.component.columns; let i = index"
1252
+ [fxFlex]="flexWidth(column, i)"
1253
+ fxLayout="column"
1254
+ fxLayoutGap="1em">
1255
+ <ng-template #components></ng-template>
1256
+ </div>
1257
+ </div>
1258
1258
  ` }]
1259
1259
  }] });
1260
1260
  ColumnsComponent.MaterialComponent = MaterialColumnsComponent;
@@ -1262,17 +1262,17 @@ ColumnsComponent.MaterialComponent = MaterialColumnsComponent;
1262
1262
  class MaterialContainerComponent extends MaterialNestedComponent {
1263
1263
  }
1264
1264
  MaterialContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1265
- MaterialContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialContainerComponent, selector: "mat-formio-container", usesInheritance: true, ngImport: i0, template: `
1266
- <div fxLayout="column" fxLayoutGap="1em">
1267
- <ng-template #components></ng-template>
1265
+ MaterialContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialContainerComponent, selector: "mat-formio-container", usesInheritance: true, ngImport: i0, template: `
1266
+ <div fxLayout="column" fxLayoutGap="1em">
1267
+ <ng-template #components></ng-template>
1268
1268
  </div>`, isInline: true, dependencies: [{ kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }] });
1269
1269
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialContainerComponent, decorators: [{
1270
1270
  type: Component,
1271
1271
  args: [{
1272
1272
  selector: 'mat-formio-container',
1273
- template: `
1274
- <div fxLayout="column" fxLayoutGap="1em">
1275
- <ng-template #components></ng-template>
1273
+ template: `
1274
+ <div fxLayout="column" fxLayoutGap="1em">
1275
+ <ng-template #components></ng-template>
1276
1276
  </div>`
1277
1277
  }]
1278
1278
  }] });
@@ -1287,27 +1287,27 @@ class MaterialTabsComponent extends MaterialNestedComponent {
1287
1287
  }
1288
1288
  }
1289
1289
  MaterialTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTabsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1290
- MaterialTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTabsComponent, selector: "mat-formio-tabs", usesInheritance: true, ngImport: i0, template: `
1291
- <mat-tab-group>
1292
- <mat-tab *ngFor="let tab of instance.component.components" [label]="tab.label">
1293
- <div fxLayout="column" fxLayoutGap="1em" style="border: 1px dotted rgba(0, 0, 0, 0.125)">
1294
- <ng-template #components></ng-template>
1295
- </div>
1296
- </mat-tab>
1297
- </mat-tab-group>
1290
+ MaterialTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTabsComponent, selector: "mat-formio-tabs", usesInheritance: true, ngImport: i0, template: `
1291
+ <mat-tab-group>
1292
+ <mat-tab *ngFor="let tab of instance.component.components" [label]="tab.label">
1293
+ <div fxLayout="column" fxLayoutGap="1em" style="border: 1px dotted rgba(0, 0, 0, 0.125)">
1294
+ <ng-template #components></ng-template>
1295
+ </div>
1296
+ </mat-tab>
1297
+ </mat-tab-group>
1298
1298
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2$3.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i2$3.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }] });
1299
1299
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTabsComponent, decorators: [{
1300
1300
  type: Component,
1301
1301
  args: [{
1302
1302
  selector: 'mat-formio-tabs',
1303
- template: `
1304
- <mat-tab-group>
1305
- <mat-tab *ngFor="let tab of instance.component.components" [label]="tab.label">
1306
- <div fxLayout="column" fxLayoutGap="1em" style="border: 1px dotted rgba(0, 0, 0, 0.125)">
1307
- <ng-template #components></ng-template>
1308
- </div>
1309
- </mat-tab>
1310
- </mat-tab-group>
1303
+ template: `
1304
+ <mat-tab-group>
1305
+ <mat-tab *ngFor="let tab of instance.component.components" [label]="tab.label">
1306
+ <div fxLayout="column" fxLayoutGap="1em" style="border: 1px dotted rgba(0, 0, 0, 0.125)">
1307
+ <ng-template #components></ng-template>
1308
+ </div>
1309
+ </mat-tab>
1310
+ </mat-tab-group>
1311
1311
  `
1312
1312
  }]
1313
1313
  }] });
@@ -1380,117 +1380,117 @@ class MaterialTimeComponent extends MaterialComponent {
1380
1380
  }
1381
1381
  }
1382
1382
  MaterialTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTimeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1383
- MaterialTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTimeComponent, selector: "mat-formio-time", inputs: { hourStep: "hourStep", minuteStep: "minuteStep", secondStep: "secondStep", renderElementOnly: "renderElementOnly" }, outputs: { selectedEvent: "selectedEvent" }, usesInheritance: true, ngImport: i0, template: `
1384
- <mat-formio-form-field
1385
- [instance]="instance"
1386
- [componentTemplate]="componentTemplate"
1387
- [renderElementOnly]="renderElementOnly"
1388
- ></mat-formio-form-field>
1389
- <ng-template #componentTemplate let-hasLabel>
1390
- <mat-label fxFill *ngIf="hasLabel">
1391
- <span [instance]="instance" matFormioLabel></span>
1392
- </mat-label>
1393
-
1394
- <div style="display: block">
1395
- <div fxLayout="row" fxLayoutGap="5%">
1396
- <input
1397
- [formControl]="hourControl"
1398
- [step]="hourStep"
1399
- [min]="0"
1400
- [max]="12"
1401
- type="number"
1402
- fxFlex="25%"
1403
- (input)="onChange()"
1404
- >
1405
- <input
1406
- [formControl]="minuteControl"
1407
- [step]="minuteStep"
1408
- [min]="0"
1409
- [max]="59"
1410
- type="number"
1411
- fxFlex="25%"
1412
- (input)="onChange()"
1413
- >
1414
- <input
1415
- [formControl]="secondControl"
1416
- [step]="secondStep"
1417
- [min]="0"
1418
- [max]="59"
1419
- type="number"
1420
- fxFlex="25%"
1421
- (input)="onChange()"
1422
- *ngIf="instance?.component?.dataFormat === 'HH:mm:ss' ||
1423
- instance?.component?.dataFormat === 'HH:mm:ss.SSS'"
1424
- >
1425
- <button
1426
- [disabled]="instance?.component?.disabled"
1427
- fxFlex="25%"
1428
- (click)="changePeriod()"
1429
- >
1430
- {{period}}
1431
- </button>
1432
- </div>
1433
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1434
- </div>
1435
- </ng-template>
1383
+ MaterialTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTimeComponent, selector: "mat-formio-time", inputs: { hourStep: "hourStep", minuteStep: "minuteStep", secondStep: "secondStep", renderElementOnly: "renderElementOnly" }, outputs: { selectedEvent: "selectedEvent" }, usesInheritance: true, ngImport: i0, template: `
1384
+ <mat-formio-form-field
1385
+ [instance]="instance"
1386
+ [componentTemplate]="componentTemplate"
1387
+ [renderElementOnly]="renderElementOnly"
1388
+ ></mat-formio-form-field>
1389
+ <ng-template #componentTemplate let-hasLabel>
1390
+ <mat-label fxFill *ngIf="hasLabel">
1391
+ <span [instance]="instance" matFormioLabel></span>
1392
+ </mat-label>
1393
+
1394
+ <div style="display: block">
1395
+ <div fxLayout="row" fxLayoutGap="5%">
1396
+ <input
1397
+ [formControl]="hourControl"
1398
+ [step]="hourStep"
1399
+ [min]="0"
1400
+ [max]="12"
1401
+ type="number"
1402
+ fxFlex="25%"
1403
+ (input)="onChange()"
1404
+ >
1405
+ <input
1406
+ [formControl]="minuteControl"
1407
+ [step]="minuteStep"
1408
+ [min]="0"
1409
+ [max]="59"
1410
+ type="number"
1411
+ fxFlex="25%"
1412
+ (input)="onChange()"
1413
+ >
1414
+ <input
1415
+ [formControl]="secondControl"
1416
+ [step]="secondStep"
1417
+ [min]="0"
1418
+ [max]="59"
1419
+ type="number"
1420
+ fxFlex="25%"
1421
+ (input)="onChange()"
1422
+ *ngIf="instance?.component?.dataFormat === 'HH:mm:ss' ||
1423
+ instance?.component?.dataFormat === 'HH:mm:ss.SSS'"
1424
+ >
1425
+ <button
1426
+ [disabled]="instance?.component?.disabled"
1427
+ fxFlex="25%"
1428
+ (click)="changePeriod()"
1429
+ >
1430
+ {{period}}
1431
+ </button>
1432
+ </div>
1433
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1434
+ </div>
1435
+ </ng-template>
1436
1436
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i2.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i5.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
1437
1437
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTimeComponent, decorators: [{
1438
1438
  type: Component,
1439
1439
  args: [{
1440
1440
  selector: 'mat-formio-time',
1441
- template: `
1442
- <mat-formio-form-field
1443
- [instance]="instance"
1444
- [componentTemplate]="componentTemplate"
1445
- [renderElementOnly]="renderElementOnly"
1446
- ></mat-formio-form-field>
1447
- <ng-template #componentTemplate let-hasLabel>
1448
- <mat-label fxFill *ngIf="hasLabel">
1449
- <span [instance]="instance" matFormioLabel></span>
1450
- </mat-label>
1451
-
1452
- <div style="display: block">
1453
- <div fxLayout="row" fxLayoutGap="5%">
1454
- <input
1455
- [formControl]="hourControl"
1456
- [step]="hourStep"
1457
- [min]="0"
1458
- [max]="12"
1459
- type="number"
1460
- fxFlex="25%"
1461
- (input)="onChange()"
1462
- >
1463
- <input
1464
- [formControl]="minuteControl"
1465
- [step]="minuteStep"
1466
- [min]="0"
1467
- [max]="59"
1468
- type="number"
1469
- fxFlex="25%"
1470
- (input)="onChange()"
1471
- >
1472
- <input
1473
- [formControl]="secondControl"
1474
- [step]="secondStep"
1475
- [min]="0"
1476
- [max]="59"
1477
- type="number"
1478
- fxFlex="25%"
1479
- (input)="onChange()"
1480
- *ngIf="instance?.component?.dataFormat === 'HH:mm:ss' ||
1481
- instance?.component?.dataFormat === 'HH:mm:ss.SSS'"
1482
- >
1483
- <button
1484
- [disabled]="instance?.component?.disabled"
1485
- fxFlex="25%"
1486
- (click)="changePeriod()"
1487
- >
1488
- {{period}}
1489
- </button>
1490
- </div>
1491
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1492
- </div>
1493
- </ng-template>
1441
+ template: `
1442
+ <mat-formio-form-field
1443
+ [instance]="instance"
1444
+ [componentTemplate]="componentTemplate"
1445
+ [renderElementOnly]="renderElementOnly"
1446
+ ></mat-formio-form-field>
1447
+ <ng-template #componentTemplate let-hasLabel>
1448
+ <mat-label fxFill *ngIf="hasLabel">
1449
+ <span [instance]="instance" matFormioLabel></span>
1450
+ </mat-label>
1451
+
1452
+ <div style="display: block">
1453
+ <div fxLayout="row" fxLayoutGap="5%">
1454
+ <input
1455
+ [formControl]="hourControl"
1456
+ [step]="hourStep"
1457
+ [min]="0"
1458
+ [max]="12"
1459
+ type="number"
1460
+ fxFlex="25%"
1461
+ (input)="onChange()"
1462
+ >
1463
+ <input
1464
+ [formControl]="minuteControl"
1465
+ [step]="minuteStep"
1466
+ [min]="0"
1467
+ [max]="59"
1468
+ type="number"
1469
+ fxFlex="25%"
1470
+ (input)="onChange()"
1471
+ >
1472
+ <input
1473
+ [formControl]="secondControl"
1474
+ [step]="secondStep"
1475
+ [min]="0"
1476
+ [max]="59"
1477
+ type="number"
1478
+ fxFlex="25%"
1479
+ (input)="onChange()"
1480
+ *ngIf="instance?.component?.dataFormat === 'HH:mm:ss' ||
1481
+ instance?.component?.dataFormat === 'HH:mm:ss.SSS'"
1482
+ >
1483
+ <button
1484
+ [disabled]="instance?.component?.disabled"
1485
+ fxFlex="25%"
1486
+ (click)="changePeriod()"
1487
+ >
1488
+ {{period}}
1489
+ </button>
1490
+ </div>
1491
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1492
+ </div>
1493
+ </ng-template>
1494
1494
  `
1495
1495
  }]
1496
1496
  }], propDecorators: { selectedEvent: [{
@@ -1543,65 +1543,65 @@ class MaterialCalendarComponent extends MaterialComponent {
1543
1543
  }
1544
1544
  }
1545
1545
  MaterialCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialCalendarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1546
- MaterialCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialCalendarComponent, selector: "mat-formio-calendar", inputs: { enableDate: "enableDate", enableTime: "enableTime", minDate: "minDate", maxDate: "maxDate", dateFilter: "dateFilter", hourStep: "hourStep", minuteStep: "minuteStep" }, outputs: { timeSelectEvent: "timeSelectEvent", dateSelectEvent: "dateSelectEvent" }, viewQueries: [{ propertyName: "time", first: true, predicate: ["time"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1547
- <div class="container" fxLayout="row" fxLayout.xs="column" fxLayoutGap="0.5%">
1548
- <div [ngStyle]="getPopupStyles()">
1549
- <mat-card style="padding: 0;">
1550
- <mat-calendar
1551
- [dateFilter]="dateFilter"
1552
- [maxDate]="maxDate"
1553
- [minDate]="minDate"
1554
- [selected]="selectedDate"
1555
- (selectedChange)="onDate($event)"
1556
- class="calendar"
1557
- *ngIf="enableDate !== false"
1558
- >
1559
- </mat-calendar>
1560
- <mat-formio-time
1561
- #time
1562
- [hourStep]="hourStep"
1563
- [instance]="instance"
1564
- [renderElementOnly]="true"
1565
- [minuteStep]="minuteStep"
1566
- (selectedEvent)="onTime($event)"
1567
- class="ml-3 formio-time"
1568
- *ngIf="enableTime"
1569
- >
1570
- </mat-formio-time>
1571
- </mat-card>
1572
- </div>
1573
- </div>
1546
+ MaterialCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialCalendarComponent, selector: "mat-formio-calendar", inputs: { enableDate: "enableDate", enableTime: "enableTime", minDate: "minDate", maxDate: "maxDate", dateFilter: "dateFilter", hourStep: "hourStep", minuteStep: "minuteStep" }, outputs: { timeSelectEvent: "timeSelectEvent", dateSelectEvent: "dateSelectEvent" }, viewQueries: [{ propertyName: "time", first: true, predicate: ["time"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1547
+ <div class="container" fxLayout="row" fxLayout.xs="column" fxLayoutGap="0.5%">
1548
+ <div [ngStyle]="getPopupStyles()">
1549
+ <mat-card style="padding: 0;">
1550
+ <mat-calendar
1551
+ [dateFilter]="dateFilter"
1552
+ [maxDate]="maxDate"
1553
+ [minDate]="minDate"
1554
+ [selected]="selectedDate"
1555
+ (selectedChange)="onDate($event)"
1556
+ class="calendar"
1557
+ *ngIf="enableDate !== false"
1558
+ >
1559
+ </mat-calendar>
1560
+ <mat-formio-time
1561
+ #time
1562
+ [hourStep]="hourStep"
1563
+ [instance]="instance"
1564
+ [renderElementOnly]="true"
1565
+ [minuteStep]="minuteStep"
1566
+ (selectedEvent)="onTime($event)"
1567
+ class="ml-3 formio-time"
1568
+ *ngIf="enableTime"
1569
+ >
1570
+ </mat-formio-time>
1571
+ </mat-card>
1572
+ </div>
1573
+ </div>
1574
1574
  `, isInline: true, styles: [".calendar,.formio-time{padding:16px;background-color:#fff;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.formio-time{display:flex}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i5$2.MatCalendar, selector: "mat-calendar", inputs: ["headerComponent", "startAt", "startView", "selected", "minDate", "maxDate", "dateFilter", "dateClass", "comparisonStart", "comparisonEnd"], outputs: ["selectedChange", "yearSelected", "monthSelected", "viewChanged", "_userSelection"], exportAs: ["matCalendar"] }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i6.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "component", type: MaterialTimeComponent, selector: "mat-formio-time", inputs: ["hourStep", "minuteStep", "secondStep", "renderElementOnly"], outputs: ["selectedEvent"] }] });
1575
1575
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialCalendarComponent, decorators: [{
1576
1576
  type: Component,
1577
- args: [{ selector: 'mat-formio-calendar', template: `
1578
- <div class="container" fxLayout="row" fxLayout.xs="column" fxLayoutGap="0.5%">
1579
- <div [ngStyle]="getPopupStyles()">
1580
- <mat-card style="padding: 0;">
1581
- <mat-calendar
1582
- [dateFilter]="dateFilter"
1583
- [maxDate]="maxDate"
1584
- [minDate]="minDate"
1585
- [selected]="selectedDate"
1586
- (selectedChange)="onDate($event)"
1587
- class="calendar"
1588
- *ngIf="enableDate !== false"
1589
- >
1590
- </mat-calendar>
1591
- <mat-formio-time
1592
- #time
1593
- [hourStep]="hourStep"
1594
- [instance]="instance"
1595
- [renderElementOnly]="true"
1596
- [minuteStep]="minuteStep"
1597
- (selectedEvent)="onTime($event)"
1598
- class="ml-3 formio-time"
1599
- *ngIf="enableTime"
1600
- >
1601
- </mat-formio-time>
1602
- </mat-card>
1603
- </div>
1604
- </div>
1577
+ args: [{ selector: 'mat-formio-calendar', template: `
1578
+ <div class="container" fxLayout="row" fxLayout.xs="column" fxLayoutGap="0.5%">
1579
+ <div [ngStyle]="getPopupStyles()">
1580
+ <mat-card style="padding: 0;">
1581
+ <mat-calendar
1582
+ [dateFilter]="dateFilter"
1583
+ [maxDate]="maxDate"
1584
+ [minDate]="minDate"
1585
+ [selected]="selectedDate"
1586
+ (selectedChange)="onDate($event)"
1587
+ class="calendar"
1588
+ *ngIf="enableDate !== false"
1589
+ >
1590
+ </mat-calendar>
1591
+ <mat-formio-time
1592
+ #time
1593
+ [hourStep]="hourStep"
1594
+ [instance]="instance"
1595
+ [renderElementOnly]="true"
1596
+ [minuteStep]="minuteStep"
1597
+ (selectedEvent)="onTime($event)"
1598
+ class="ml-3 formio-time"
1599
+ *ngIf="enableTime"
1600
+ >
1601
+ </mat-formio-time>
1602
+ </mat-card>
1603
+ </div>
1604
+ </div>
1605
1605
  `, styles: [".calendar,.formio-time{padding:16px;background-color:#fff;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.formio-time{display:flex}\n"] }]
1606
1606
  }], propDecorators: { time: [{
1607
1607
  type: ViewChild,
@@ -2012,35 +2012,35 @@ class MaterialCheckboxComponent extends MaterialComponent {
2012
2012
  }
2013
2013
  }
2014
2014
  MaterialCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialCheckboxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2015
- MaterialCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialCheckboxComponent, selector: "mat-formio-checkbox", usesInheritance: true, ngImport: i0, template: `
2016
- <mat-checkbox (change)="onChange()" [ngClass]="{'validation-error' : !!instance.error}"
2017
- [formControl]="control"
2018
- >
2019
- <span matFormioLabel [instance]="instance"></span>
2020
- <mat-icon *ngIf="instance.component.tooltip" matSuffix
2021
- matTooltip="{{ instance.component.tooltip }}" style="font-size: 1rem;">info
2022
- </mat-icon>
2023
- </mat-checkbox>
2024
- <mat-hint>
2025
- {{ instance.component.description }}
2026
- </mat-hint>
2027
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2015
+ MaterialCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialCheckboxComponent, selector: "mat-formio-checkbox", usesInheritance: true, ngImport: i0, template: `
2016
+ <mat-checkbox (change)="onChange()" [ngClass]="{'validation-error' : !!instance.error}"
2017
+ [formControl]="control"
2018
+ >
2019
+ <span matFormioLabel [instance]="instance"></span>
2020
+ <mat-icon *ngIf="instance.component.tooltip" matSuffix
2021
+ matTooltip="{{ instance.component.tooltip }}" style="font-size: 1rem;">info
2022
+ </mat-icon>
2023
+ </mat-checkbox>
2024
+ <mat-hint>
2025
+ {{ instance.component.description }}
2026
+ </mat-hint>
2027
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2028
2028
  `, isInline: true, styles: ["::ng-deep .mat-checkbox.validation-error .mat-checkbox-frame{border-color:red}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "component", type: i4$5.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i3$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
2029
2029
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialCheckboxComponent, decorators: [{
2030
2030
  type: Component,
2031
- args: [{ selector: 'mat-formio-checkbox', template: `
2032
- <mat-checkbox (change)="onChange()" [ngClass]="{'validation-error' : !!instance.error}"
2033
- [formControl]="control"
2034
- >
2035
- <span matFormioLabel [instance]="instance"></span>
2036
- <mat-icon *ngIf="instance.component.tooltip" matSuffix
2037
- matTooltip="{{ instance.component.tooltip }}" style="font-size: 1rem;">info
2038
- </mat-icon>
2039
- </mat-checkbox>
2040
- <mat-hint>
2041
- {{ instance.component.description }}
2042
- </mat-hint>
2043
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2031
+ args: [{ selector: 'mat-formio-checkbox', template: `
2032
+ <mat-checkbox (change)="onChange()" [ngClass]="{'validation-error' : !!instance.error}"
2033
+ [formControl]="control"
2034
+ >
2035
+ <span matFormioLabel [instance]="instance"></span>
2036
+ <mat-icon *ngIf="instance.component.tooltip" matSuffix
2037
+ matTooltip="{{ instance.component.tooltip }}" style="font-size: 1rem;">info
2038
+ </mat-icon>
2039
+ </mat-checkbox>
2040
+ <mat-hint>
2041
+ {{ instance.component.description }}
2042
+ </mat-hint>
2043
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2044
2044
  `, styles: ["::ng-deep .mat-checkbox.validation-error .mat-checkbox-frame{border-color:red}\n"] }]
2045
2045
  }] });
2046
2046
  CheckboxComponent.MaterialComponent = MaterialCheckboxComponent;
@@ -2048,39 +2048,39 @@ CheckboxComponent.MaterialComponent = MaterialCheckboxComponent;
2048
2048
  class MaterialFieldsetComponent extends MaterialNestedComponent {
2049
2049
  }
2050
2050
  MaterialFieldsetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialFieldsetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2051
- MaterialFieldsetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialFieldsetComponent, selector: "mat-formio-fieldset", usesInheritance: true, ngImport: i0, template: `
2052
- <fieldset>
2053
- <legend [attr.ref]="'header'">
2054
- {{ instance.component.legend }}
2055
- <mat-icon *ngIf="instance.component.tooltip"
2056
- matSuffix
2057
- matTooltip="{{ instance.component.tooltip }}"
2058
- >
2059
- info
2060
- </mat-icon>
2061
- </legend>
2062
- <div class="fieldset-body" [attr.ref]="instance.component.key" fxLayout="column" fxLayoutGap="1em">
2063
- <ng-template #components></ng-template>
2064
- </div>
2065
- </fieldset>
2051
+ MaterialFieldsetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialFieldsetComponent, selector: "mat-formio-fieldset", usesInheritance: true, ngImport: i0, template: `
2052
+ <fieldset>
2053
+ <legend [attr.ref]="'header'">
2054
+ {{ instance.component.legend }}
2055
+ <mat-icon *ngIf="instance.component.tooltip"
2056
+ matSuffix
2057
+ matTooltip="{{ instance.component.tooltip }}"
2058
+ >
2059
+ info
2060
+ </mat-icon>
2061
+ </legend>
2062
+ <div class="fieldset-body" [attr.ref]="instance.component.key" fxLayout="column" fxLayoutGap="1em">
2063
+ <ng-template #components></ng-template>
2064
+ </div>
2065
+ </fieldset>
2066
2066
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "directive", type: i3$1.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }] });
2067
2067
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialFieldsetComponent, decorators: [{
2068
2068
  type: Component,
2069
- args: [{ selector: 'mat-formio-fieldset', template: `
2070
- <fieldset>
2071
- <legend [attr.ref]="'header'">
2072
- {{ instance.component.legend }}
2073
- <mat-icon *ngIf="instance.component.tooltip"
2074
- matSuffix
2075
- matTooltip="{{ instance.component.tooltip }}"
2076
- >
2077
- info
2078
- </mat-icon>
2079
- </legend>
2080
- <div class="fieldset-body" [attr.ref]="instance.component.key" fxLayout="column" fxLayoutGap="1em">
2081
- <ng-template #components></ng-template>
2082
- </div>
2083
- </fieldset>
2069
+ args: [{ selector: 'mat-formio-fieldset', template: `
2070
+ <fieldset>
2071
+ <legend [attr.ref]="'header'">
2072
+ {{ instance.component.legend }}
2073
+ <mat-icon *ngIf="instance.component.tooltip"
2074
+ matSuffix
2075
+ matTooltip="{{ instance.component.tooltip }}"
2076
+ >
2077
+ info
2078
+ </mat-icon>
2079
+ </legend>
2080
+ <div class="fieldset-body" [attr.ref]="instance.component.key" fxLayout="column" fxLayoutGap="1em">
2081
+ <ng-template #components></ng-template>
2082
+ </div>
2083
+ </fieldset>
2084
2084
  ` }]
2085
2085
  }] });
2086
2086
  FieldsetComponent.MaterialComponent = MaterialFieldsetComponent;
@@ -2109,77 +2109,77 @@ class MaterialSignatureComponent extends MaterialComponent {
2109
2109
  }
2110
2110
  }
2111
2111
  MaterialSignatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSignatureComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2112
- MaterialSignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialSignatureComponent, selector: "mat-formio-signature", viewQueries: [{ propertyName: "signatureElement", first: true, predicate: ["signature"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
2113
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2114
- <ng-template #componentTemplate let-hasLabel>
2115
- <div #signature>
2116
-
2117
- <mat-label *ngIf="hasLabel">
2118
- <span [instance]="instance" matFormioLabel></span>
2119
- </mat-label>
2120
-
2121
- <button mat-icon-button [ngStyle]="{position: 'absolute'}" ref="refresh">
2122
- <mat-icon>refresh</mat-icon>
2123
- </button>
2124
-
2125
- <div class="signature-pad-body"
2126
- [ngStyle]="{width: instance.component.width, height: instance.component.height, padding: 0, margin: 0}"
2127
- [attr.tabindex]="instance.component.tabindex || 0"
2128
- ref="padBody"
2129
- >
2130
- <canvas class="signature-pad-canvas"
2131
- [attr.height]="instance.component.height"
2132
- ref="canvas"
2133
- ></canvas>
2134
- <img fxFlexFill [ngStyle]="{display: 'none' }" ref="signatureImage">
2135
- </div>
2136
- <div *ngIf="instance.component.footer"
2137
- class="signature-pad-footer"
2138
- fxLayout="row"
2139
- fxLayoutAlign="center center"
2140
- >
2141
- <mat-hint>{{ instance.t(instance.component.footer) }}</mat-hint>
2142
- </div>
2143
- </div>
2144
- </ng-template>
2112
+ MaterialSignatureComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialSignatureComponent, selector: "mat-formio-signature", viewQueries: [{ propertyName: "signatureElement", first: true, predicate: ["signature"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
2113
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2114
+ <ng-template #componentTemplate let-hasLabel>
2115
+ <div #signature>
2116
+
2117
+ <mat-label *ngIf="hasLabel">
2118
+ <span [instance]="instance" matFormioLabel></span>
2119
+ </mat-label>
2120
+
2121
+ <button mat-icon-button [ngStyle]="{position: 'absolute'}" ref="refresh">
2122
+ <mat-icon>refresh</mat-icon>
2123
+ </button>
2124
+
2125
+ <div class="signature-pad-body"
2126
+ [ngStyle]="{width: instance.component.width, height: instance.component.height, padding: 0, margin: 0}"
2127
+ [attr.tabindex]="instance.component.tabindex || 0"
2128
+ ref="padBody"
2129
+ >
2130
+ <canvas class="signature-pad-canvas"
2131
+ [attr.height]="instance.component.height"
2132
+ ref="canvas"
2133
+ ></canvas>
2134
+ <img fxFlexFill [ngStyle]="{display: 'none' }" ref="signatureImage">
2135
+ </div>
2136
+ <div *ngIf="instance.component.footer"
2137
+ class="signature-pad-footer"
2138
+ fxLayout="row"
2139
+ fxLayoutAlign="center center"
2140
+ >
2141
+ <mat-hint>{{ instance.t(instance.component.footer) }}</mat-hint>
2142
+ </div>
2143
+ </div>
2144
+ </ng-template>
2145
2145
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i6.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
2146
2146
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSignatureComponent, decorators: [{
2147
2147
  type: Component,
2148
2148
  args: [{
2149
2149
  selector: 'mat-formio-signature',
2150
- template: `
2151
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2152
- <ng-template #componentTemplate let-hasLabel>
2153
- <div #signature>
2154
-
2155
- <mat-label *ngIf="hasLabel">
2156
- <span [instance]="instance" matFormioLabel></span>
2157
- </mat-label>
2158
-
2159
- <button mat-icon-button [ngStyle]="{position: 'absolute'}" ref="refresh">
2160
- <mat-icon>refresh</mat-icon>
2161
- </button>
2162
-
2163
- <div class="signature-pad-body"
2164
- [ngStyle]="{width: instance.component.width, height: instance.component.height, padding: 0, margin: 0}"
2165
- [attr.tabindex]="instance.component.tabindex || 0"
2166
- ref="padBody"
2167
- >
2168
- <canvas class="signature-pad-canvas"
2169
- [attr.height]="instance.component.height"
2170
- ref="canvas"
2171
- ></canvas>
2172
- <img fxFlexFill [ngStyle]="{display: 'none' }" ref="signatureImage">
2173
- </div>
2174
- <div *ngIf="instance.component.footer"
2175
- class="signature-pad-footer"
2176
- fxLayout="row"
2177
- fxLayoutAlign="center center"
2178
- >
2179
- <mat-hint>{{ instance.t(instance.component.footer) }}</mat-hint>
2180
- </div>
2181
- </div>
2182
- </ng-template>
2150
+ template: `
2151
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2152
+ <ng-template #componentTemplate let-hasLabel>
2153
+ <div #signature>
2154
+
2155
+ <mat-label *ngIf="hasLabel">
2156
+ <span [instance]="instance" matFormioLabel></span>
2157
+ </mat-label>
2158
+
2159
+ <button mat-icon-button [ngStyle]="{position: 'absolute'}" ref="refresh">
2160
+ <mat-icon>refresh</mat-icon>
2161
+ </button>
2162
+
2163
+ <div class="signature-pad-body"
2164
+ [ngStyle]="{width: instance.component.width, height: instance.component.height, padding: 0, margin: 0}"
2165
+ [attr.tabindex]="instance.component.tabindex || 0"
2166
+ ref="padBody"
2167
+ >
2168
+ <canvas class="signature-pad-canvas"
2169
+ [attr.height]="instance.component.height"
2170
+ ref="canvas"
2171
+ ></canvas>
2172
+ <img fxFlexFill [ngStyle]="{display: 'none' }" ref="signatureImage">
2173
+ </div>
2174
+ <div *ngIf="instance.component.footer"
2175
+ class="signature-pad-footer"
2176
+ fxLayout="row"
2177
+ fxLayoutAlign="center center"
2178
+ >
2179
+ <mat-hint>{{ instance.t(instance.component.footer) }}</mat-hint>
2180
+ </div>
2181
+ </div>
2182
+ </ng-template>
2183
2183
  `
2184
2184
  }]
2185
2185
  }], propDecorators: { signatureElement: [{
@@ -2234,109 +2234,109 @@ class MaterialSurveyComponent extends MaterialComponent {
2234
2234
  }
2235
2235
  }
2236
2236
  MaterialSurveyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSurveyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2237
- MaterialSurveyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialSurveyComponent, selector: "mat-formio-survey", usesInheritance: true, ngImport: i0, template: `
2238
-
2239
- <mat-formio-form-field
2240
- [instance]="instance"
2241
- [componentTemplate]="componentTemplate"
2242
- [showDescription]="false"
2243
- ></mat-formio-form-field>
2244
- <ng-template #componentTemplate let-hasLabel>
2245
-
2246
- <table class="mat-elevation-z8 mat-table" fxFill>
2247
- <thead>
2248
- <tr class="mat-header-row">
2249
- <th class="mat-header-cell">
2250
- <h2 *ngIf="hasLabel">
2251
- <span [instance]="instance" matFormioLabel></span>
2252
- </h2>
2253
- </th>
2254
- <th class="mat-header-cell"
2255
- *ngFor="let value of instance.component.values"
2256
- style="text-align: center;"
2257
- >
2258
- {{ value.label }}
2259
- </th>
2260
- </tr>
2261
- </thead>
2262
-
2263
- <tbody>
2264
- <tr class="mat-row" *ngFor="let question of instance.component.questions; index as i;">
2265
- <td class="mat-cell">{{ question.label }}</td>
2266
- <td class="mat-cell"
2267
- *ngFor="let value of instance.component.values; index as j;"
2268
- style="text-align: center;"
2269
- >
2270
- <mat-radio-group (change)="onChange()"
2271
- [formControl]="getFormControl(question.value)"
2272
- [name]="getUniqueName(question.value)"
2273
- >
2274
- <mat-radio-button [value]="value.value"></mat-radio-button>
2275
- </mat-radio-group>
2276
- </td>
2277
- </tr>
2278
- <mat-hint *ngIf="instance.component.description" class="mat-formio-component-description">
2279
- {{ instance.component.description }}
2280
- </mat-hint>
2281
- </tbody>
2282
-
2283
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2284
- </table>
2285
- </ng-template>
2237
+ MaterialSurveyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialSurveyComponent, selector: "mat-formio-survey", usesInheritance: true, ngImport: i0, template: `
2238
+
2239
+ <mat-formio-form-field
2240
+ [instance]="instance"
2241
+ [componentTemplate]="componentTemplate"
2242
+ [showDescription]="false"
2243
+ ></mat-formio-form-field>
2244
+ <ng-template #componentTemplate let-hasLabel>
2245
+
2246
+ <table class="mat-elevation-z8 mat-table" fxFill>
2247
+ <thead>
2248
+ <tr class="mat-header-row">
2249
+ <th class="mat-header-cell">
2250
+ <h2 *ngIf="hasLabel">
2251
+ <span [instance]="instance" matFormioLabel></span>
2252
+ </h2>
2253
+ </th>
2254
+ <th class="mat-header-cell"
2255
+ *ngFor="let value of instance.component.values"
2256
+ style="text-align: center;"
2257
+ >
2258
+ {{ value.label }}
2259
+ </th>
2260
+ </tr>
2261
+ </thead>
2262
+
2263
+ <tbody>
2264
+ <tr class="mat-row" *ngFor="let question of instance.component.questions; index as i;">
2265
+ <td class="mat-cell">{{ question.label }}</td>
2266
+ <td class="mat-cell"
2267
+ *ngFor="let value of instance.component.values; index as j;"
2268
+ style="text-align: center;"
2269
+ >
2270
+ <mat-radio-group (change)="onChange()"
2271
+ [formControl]="getFormControl(question.value)"
2272
+ [name]="getUniqueName(question.value)"
2273
+ >
2274
+ <mat-radio-button [value]="value.value"></mat-radio-button>
2275
+ </mat-radio-group>
2276
+ </td>
2277
+ </tr>
2278
+ <mat-hint *ngIf="instance.component.description" class="mat-formio-component-description">
2279
+ {{ instance.component.description }}
2280
+ </mat-hint>
2281
+ </tbody>
2282
+
2283
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2284
+ </table>
2285
+ </ng-template>
2286
2286
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4$6.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { kind: "component", type: i4$6.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
2287
2287
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSurveyComponent, decorators: [{
2288
2288
  type: Component,
2289
2289
  args: [{
2290
2290
  selector: 'mat-formio-survey',
2291
- template: `
2292
-
2293
- <mat-formio-form-field
2294
- [instance]="instance"
2295
- [componentTemplate]="componentTemplate"
2296
- [showDescription]="false"
2297
- ></mat-formio-form-field>
2298
- <ng-template #componentTemplate let-hasLabel>
2299
-
2300
- <table class="mat-elevation-z8 mat-table" fxFill>
2301
- <thead>
2302
- <tr class="mat-header-row">
2303
- <th class="mat-header-cell">
2304
- <h2 *ngIf="hasLabel">
2305
- <span [instance]="instance" matFormioLabel></span>
2306
- </h2>
2307
- </th>
2308
- <th class="mat-header-cell"
2309
- *ngFor="let value of instance.component.values"
2310
- style="text-align: center;"
2311
- >
2312
- {{ value.label }}
2313
- </th>
2314
- </tr>
2315
- </thead>
2316
-
2317
- <tbody>
2318
- <tr class="mat-row" *ngFor="let question of instance.component.questions; index as i;">
2319
- <td class="mat-cell">{{ question.label }}</td>
2320
- <td class="mat-cell"
2321
- *ngFor="let value of instance.component.values; index as j;"
2322
- style="text-align: center;"
2323
- >
2324
- <mat-radio-group (change)="onChange()"
2325
- [formControl]="getFormControl(question.value)"
2326
- [name]="getUniqueName(question.value)"
2327
- >
2328
- <mat-radio-button [value]="value.value"></mat-radio-button>
2329
- </mat-radio-group>
2330
- </td>
2331
- </tr>
2332
- <mat-hint *ngIf="instance.component.description" class="mat-formio-component-description">
2333
- {{ instance.component.description }}
2334
- </mat-hint>
2335
- </tbody>
2336
-
2337
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2338
- </table>
2339
- </ng-template>
2291
+ template: `
2292
+
2293
+ <mat-formio-form-field
2294
+ [instance]="instance"
2295
+ [componentTemplate]="componentTemplate"
2296
+ [showDescription]="false"
2297
+ ></mat-formio-form-field>
2298
+ <ng-template #componentTemplate let-hasLabel>
2299
+
2300
+ <table class="mat-elevation-z8 mat-table" fxFill>
2301
+ <thead>
2302
+ <tr class="mat-header-row">
2303
+ <th class="mat-header-cell">
2304
+ <h2 *ngIf="hasLabel">
2305
+ <span [instance]="instance" matFormioLabel></span>
2306
+ </h2>
2307
+ </th>
2308
+ <th class="mat-header-cell"
2309
+ *ngFor="let value of instance.component.values"
2310
+ style="text-align: center;"
2311
+ >
2312
+ {{ value.label }}
2313
+ </th>
2314
+ </tr>
2315
+ </thead>
2316
+
2317
+ <tbody>
2318
+ <tr class="mat-row" *ngFor="let question of instance.component.questions; index as i;">
2319
+ <td class="mat-cell">{{ question.label }}</td>
2320
+ <td class="mat-cell"
2321
+ *ngFor="let value of instance.component.values; index as j;"
2322
+ style="text-align: center;"
2323
+ >
2324
+ <mat-radio-group (change)="onChange()"
2325
+ [formControl]="getFormControl(question.value)"
2326
+ [name]="getUniqueName(question.value)"
2327
+ >
2328
+ <mat-radio-button [value]="value.value"></mat-radio-button>
2329
+ </mat-radio-group>
2330
+ </td>
2331
+ </tr>
2332
+ <mat-hint *ngIf="instance.component.description" class="mat-formio-component-description">
2333
+ {{ instance.component.description }}
2334
+ </mat-hint>
2335
+ </tbody>
2336
+
2337
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2338
+ </table>
2339
+ </ng-template>
2340
2340
  `
2341
2341
  }]
2342
2342
  }] });
@@ -2362,65 +2362,65 @@ class MaterialRadioComponent extends MaterialComponent {
2362
2362
  }
2363
2363
  }
2364
2364
  MaterialRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2365
- MaterialRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialRadioComponent, selector: "mat-formio-radio", usesInheritance: true, ngImport: i0, template: `
2366
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2367
- <ng-template #componentTemplate let-hasLabel>
2368
- <div fxLayout="column">
2369
- <mat-label *ngIf="hasLabel">
2370
- <span [instance]="instance" matFormioLabel></span>
2371
- </mat-label>
2372
-
2373
- <mat-radio-group
2374
- (change)="onChange()"
2375
- [formControl]="control"
2376
- fxFlexOffset="10px"
2377
- fxLayout="{{ getLayout() }}"
2378
- fxLayoutGap="10px"
2379
- >
2380
- <mat-radio-button *ngFor="let option of instance.component.values"
2381
- value="{{ option.value }}"
2382
- [checked]="isRadioChecked(option)"
2383
- (keyup.space)="clearValue($event, option)"
2384
- (click)="clearValue($event, option)"
2385
- >
2386
- {{ option.label }}
2387
- </mat-radio-button>
2388
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2389
- </mat-radio-group>
2390
- </div>
2391
- </ng-template>
2365
+ MaterialRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialRadioComponent, selector: "mat-formio-radio", usesInheritance: true, ngImport: i0, template: `
2366
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2367
+ <ng-template #componentTemplate let-hasLabel>
2368
+ <div fxLayout="column">
2369
+ <mat-label *ngIf="hasLabel">
2370
+ <span [instance]="instance" matFormioLabel></span>
2371
+ </mat-label>
2372
+
2373
+ <mat-radio-group
2374
+ (change)="onChange()"
2375
+ [formControl]="control"
2376
+ fxFlexOffset="10px"
2377
+ fxLayout="{{ getLayout() }}"
2378
+ fxLayoutGap="10px"
2379
+ >
2380
+ <mat-radio-button *ngFor="let option of instance.component.values"
2381
+ value="{{ option.value }}"
2382
+ [checked]="isRadioChecked(option)"
2383
+ (keyup.space)="clearValue($event, option)"
2384
+ (click)="clearValue($event, option)"
2385
+ >
2386
+ {{ option.label }}
2387
+ </mat-radio-button>
2388
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2389
+ </mat-radio-group>
2390
+ </div>
2391
+ </ng-template>
2392
2392
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4$6.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { kind: "component", type: i4$6.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i5.DefaultFlexOffsetDirective, selector: " [fxFlexOffset], [fxFlexOffset.xs], [fxFlexOffset.sm], [fxFlexOffset.md], [fxFlexOffset.lg], [fxFlexOffset.xl], [fxFlexOffset.lt-sm], [fxFlexOffset.lt-md], [fxFlexOffset.lt-lg], [fxFlexOffset.lt-xl], [fxFlexOffset.gt-xs], [fxFlexOffset.gt-sm], [fxFlexOffset.gt-md], [fxFlexOffset.gt-lg]", inputs: ["fxFlexOffset", "fxFlexOffset.xs", "fxFlexOffset.sm", "fxFlexOffset.md", "fxFlexOffset.lg", "fxFlexOffset.xl", "fxFlexOffset.lt-sm", "fxFlexOffset.lt-md", "fxFlexOffset.lt-lg", "fxFlexOffset.lt-xl", "fxFlexOffset.gt-xs", "fxFlexOffset.gt-sm", "fxFlexOffset.gt-md", "fxFlexOffset.gt-lg"] }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
2393
2393
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialRadioComponent, decorators: [{
2394
2394
  type: Component,
2395
2395
  args: [{
2396
2396
  selector: 'mat-formio-radio',
2397
- template: `
2398
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2399
- <ng-template #componentTemplate let-hasLabel>
2400
- <div fxLayout="column">
2401
- <mat-label *ngIf="hasLabel">
2402
- <span [instance]="instance" matFormioLabel></span>
2403
- </mat-label>
2404
-
2405
- <mat-radio-group
2406
- (change)="onChange()"
2407
- [formControl]="control"
2408
- fxFlexOffset="10px"
2409
- fxLayout="{{ getLayout() }}"
2410
- fxLayoutGap="10px"
2411
- >
2412
- <mat-radio-button *ngFor="let option of instance.component.values"
2413
- value="{{ option.value }}"
2414
- [checked]="isRadioChecked(option)"
2415
- (keyup.space)="clearValue($event, option)"
2416
- (click)="clearValue($event, option)"
2417
- >
2418
- {{ option.label }}
2419
- </mat-radio-button>
2420
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2421
- </mat-radio-group>
2422
- </div>
2423
- </ng-template>
2397
+ template: `
2398
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2399
+ <ng-template #componentTemplate let-hasLabel>
2400
+ <div fxLayout="column">
2401
+ <mat-label *ngIf="hasLabel">
2402
+ <span [instance]="instance" matFormioLabel></span>
2403
+ </mat-label>
2404
+
2405
+ <mat-radio-group
2406
+ (change)="onChange()"
2407
+ [formControl]="control"
2408
+ fxFlexOffset="10px"
2409
+ fxLayout="{{ getLayout() }}"
2410
+ fxLayoutGap="10px"
2411
+ >
2412
+ <mat-radio-button *ngFor="let option of instance.component.values"
2413
+ value="{{ option.value }}"
2414
+ [checked]="isRadioChecked(option)"
2415
+ (keyup.space)="clearValue($event, option)"
2416
+ (click)="clearValue($event, option)"
2417
+ >
2418
+ {{ option.label }}
2419
+ </mat-radio-button>
2420
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2421
+ </mat-radio-group>
2422
+ </div>
2423
+ </ng-template>
2424
2424
  `
2425
2425
  }]
2426
2426
  }] });
@@ -2458,59 +2458,59 @@ class MaterialSelectBoxesComponent extends MaterialRadioComponent {
2458
2458
  }
2459
2459
  }
2460
2460
  MaterialSelectBoxesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSelectBoxesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2461
- MaterialSelectBoxesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialSelectBoxesComponent, selector: "mat-formio-selectboxes", usesInheritance: true, ngImport: i0, template: `
2462
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2463
- <ng-template #componentTemplate let-hasLabel>
2464
- <div fxLayout="column">
2465
- <mat-label *ngIf="hasLabel">
2466
- <span [instance]="instance" matFormioLabel></span>
2467
- </mat-label>
2468
- <div
2469
- fxFlexOffset="10px"
2470
- fxLayout="{{ getLayout() }}"
2471
- fxLayoutGap="10px"
2472
- >
2473
- <mat-checkbox
2474
- *ngFor="let option of instance.component.values"
2475
- (change)="onChange()"
2476
- [(ngModel)]="value[option.value]"
2477
- [disabled]="disabled"
2478
- >
2479
- {{ option.label }}
2480
- </mat-checkbox>
2481
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2482
- </div>
2483
- </div>
2484
- </ng-template>
2461
+ MaterialSelectBoxesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialSelectBoxesComponent, selector: "mat-formio-selectboxes", usesInheritance: true, ngImport: i0, template: `
2462
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2463
+ <ng-template #componentTemplate let-hasLabel>
2464
+ <div fxLayout="column">
2465
+ <mat-label *ngIf="hasLabel">
2466
+ <span [instance]="instance" matFormioLabel></span>
2467
+ </mat-label>
2468
+ <div
2469
+ fxFlexOffset="10px"
2470
+ fxLayout="{{ getLayout() }}"
2471
+ fxLayoutGap="10px"
2472
+ >
2473
+ <mat-checkbox
2474
+ *ngFor="let option of instance.component.values"
2475
+ (change)="onChange()"
2476
+ [(ngModel)]="value[option.value]"
2477
+ [disabled]="disabled"
2478
+ >
2479
+ {{ option.label }}
2480
+ </mat-checkbox>
2481
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2482
+ </div>
2483
+ </div>
2484
+ </ng-template>
2485
2485
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "component", type: i4$5.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i5.DefaultFlexOffsetDirective, selector: " [fxFlexOffset], [fxFlexOffset.xs], [fxFlexOffset.sm], [fxFlexOffset.md], [fxFlexOffset.lg], [fxFlexOffset.xl], [fxFlexOffset.lt-sm], [fxFlexOffset.lt-md], [fxFlexOffset.lt-lg], [fxFlexOffset.lt-xl], [fxFlexOffset.gt-xs], [fxFlexOffset.gt-sm], [fxFlexOffset.gt-md], [fxFlexOffset.gt-lg]", inputs: ["fxFlexOffset", "fxFlexOffset.xs", "fxFlexOffset.sm", "fxFlexOffset.md", "fxFlexOffset.lg", "fxFlexOffset.xl", "fxFlexOffset.lt-sm", "fxFlexOffset.lt-md", "fxFlexOffset.lt-lg", "fxFlexOffset.lt-xl", "fxFlexOffset.gt-xs", "fxFlexOffset.gt-sm", "fxFlexOffset.gt-md", "fxFlexOffset.gt-lg"] }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
2486
2486
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSelectBoxesComponent, decorators: [{
2487
2487
  type: Component,
2488
2488
  args: [{
2489
2489
  selector: 'mat-formio-selectboxes',
2490
- template: `
2491
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2492
- <ng-template #componentTemplate let-hasLabel>
2493
- <div fxLayout="column">
2494
- <mat-label *ngIf="hasLabel">
2495
- <span [instance]="instance" matFormioLabel></span>
2496
- </mat-label>
2497
- <div
2498
- fxFlexOffset="10px"
2499
- fxLayout="{{ getLayout() }}"
2500
- fxLayoutGap="10px"
2501
- >
2502
- <mat-checkbox
2503
- *ngFor="let option of instance.component.values"
2504
- (change)="onChange()"
2505
- [(ngModel)]="value[option.value]"
2506
- [disabled]="disabled"
2507
- >
2508
- {{ option.label }}
2509
- </mat-checkbox>
2510
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2511
- </div>
2512
- </div>
2513
- </ng-template>
2490
+ template: `
2491
+ <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2492
+ <ng-template #componentTemplate let-hasLabel>
2493
+ <div fxLayout="column">
2494
+ <mat-label *ngIf="hasLabel">
2495
+ <span [instance]="instance" matFormioLabel></span>
2496
+ </mat-label>
2497
+ <div
2498
+ fxFlexOffset="10px"
2499
+ fxLayout="{{ getLayout() }}"
2500
+ fxLayoutGap="10px"
2501
+ >
2502
+ <mat-checkbox
2503
+ *ngFor="let option of instance.component.values"
2504
+ (change)="onChange()"
2505
+ [(ngModel)]="value[option.value]"
2506
+ [disabled]="disabled"
2507
+ >
2508
+ {{ option.label }}
2509
+ </mat-checkbox>
2510
+ <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2511
+ </div>
2512
+ </div>
2513
+ </ng-template>
2514
2514
  `
2515
2515
  }]
2516
2516
  }] });
@@ -2597,20 +2597,24 @@ MaterialSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
2597
2597
  <mat-option>
2598
2598
  <ngx-mat-select-search placeholderLabel="Type to search" [formControl]="websiteMultiFilterCtrl"></ngx-mat-select-search>
2599
2599
  </mat-option>
2600
-
2600
+
2601
+ <ng-container *ngIf="(filteredOptions | async)?.length > 4; else regularOptions">
2602
+ <cdk-virtual-scroll-viewport itemSize="50" class="example-viewport">
2603
+ <mat-option *cdkVirtualFor="let option of filteredOptions | async" [value]="option.value">
2604
+ <span [innerHTML]="option.label"></span>
2605
+ </mat-option>
2606
+ </cdk-virtual-scroll-viewport>
2607
+ </ng-container>
2608
+
2609
+ <ng-template #regularOptions>
2601
2610
  <mat-option *ngFor="let option of filteredOptions | async" [value]="option.value">
2602
2611
  <span [innerHTML]="option.label"></span>
2603
2612
  </mat-option>
2613
+ </ng-template>
2604
2614
 
2605
- <!-- <div class="mat-option">
2606
- <input class="mat-input-element" placeholder="Type to search the risk" (input)="onFilter($event.target.value)">
2607
- </div> -->
2608
2615
  <mat-option *ngIf="!filteredOptionsLength" disabled>
2609
2616
  <span>Nothing was found</span>
2610
2617
  </mat-option>
2611
- <!-- <mat-option *ngFor="let option of filteredOptions | async" [value]="option.value">
2612
- <span [innerHTML]="option.label"></span>
2613
- </mat-option> -->
2614
2618
  </mat-select>
2615
2619
 
2616
2620
  <span *ngIf="instance.component.suffix" matSuffix>
@@ -2619,12 +2623,10 @@ MaterialSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
2619
2623
  <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2620
2624
  </mat-form-field>
2621
2625
  </ng-template>
2622
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix]" }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "component", type: i4$3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "component", type: i7.MatSelectSearchComponent, selector: "ngx-mat-select-search", inputs: ["placeholderLabel", "type", "closeIcon", "closeSvgIcon", "noEntriesFoundLabel", "indexAndLengthScreenReaderText", "clearSearchInput", "searching", "disableInitialFocus", "enableClearOnEscapePressed", "preventHomeEndKeyPropagation", "disableScrollToActiveOnOptionsChanged", "ariaLabel", "showToggleAllCheckbox", "toggleAllCheckboxChecked", "toggleAllCheckboxIndeterminate", "toggleAllCheckboxTooltipMessage", "toogleAllCheckboxTooltipPosition", "hideClearSearchButton", "alwaysRestoreSelectedOptionsMulti"], outputs: ["toggleAll"] }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
2626
+ `, isInline: true, styles: [".example-viewport{height:200px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix]" }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix]" }, { kind: "component", type: i4$3.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i7.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i7.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i7.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: i8.MatSelectSearchComponent, selector: "ngx-mat-select-search", inputs: ["placeholderLabel", "type", "closeIcon", "closeSvgIcon", "noEntriesFoundLabel", "indexAndLengthScreenReaderText", "clearSearchInput", "searching", "disableInitialFocus", "enableClearOnEscapePressed", "preventHomeEndKeyPropagation", "disableScrollToActiveOnOptionsChanged", "ariaLabel", "showToggleAllCheckbox", "toggleAllCheckboxChecked", "toggleAllCheckboxIndeterminate", "toggleAllCheckboxTooltipMessage", "toogleAllCheckboxTooltipPosition", "hideClearSearchButton", "alwaysRestoreSelectedOptionsMulti"], outputs: ["toggleAll"] }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] });
2623
2627
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSelectComponent, decorators: [{
2624
2628
  type: Component,
2625
- args: [{
2626
- selector: 'mat-formio-select',
2627
- template: `
2629
+ args: [{ selector: 'mat-formio-select', template: `
2628
2630
  <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2629
2631
  <ng-template #componentTemplate let-hasLabel>
2630
2632
  <mat-form-field fxFill>
@@ -2647,20 +2649,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2647
2649
  <mat-option>
2648
2650
  <ngx-mat-select-search placeholderLabel="Type to search" [formControl]="websiteMultiFilterCtrl"></ngx-mat-select-search>
2649
2651
  </mat-option>
2650
-
2652
+
2653
+ <ng-container *ngIf="(filteredOptions | async)?.length > 4; else regularOptions">
2654
+ <cdk-virtual-scroll-viewport itemSize="50" class="example-viewport">
2655
+ <mat-option *cdkVirtualFor="let option of filteredOptions | async" [value]="option.value">
2656
+ <span [innerHTML]="option.label"></span>
2657
+ </mat-option>
2658
+ </cdk-virtual-scroll-viewport>
2659
+ </ng-container>
2660
+
2661
+ <ng-template #regularOptions>
2651
2662
  <mat-option *ngFor="let option of filteredOptions | async" [value]="option.value">
2652
2663
  <span [innerHTML]="option.label"></span>
2653
2664
  </mat-option>
2665
+ </ng-template>
2654
2666
 
2655
- <!-- <div class="mat-option">
2656
- <input class="mat-input-element" placeholder="Type to search the risk" (input)="onFilter($event.target.value)">
2657
- </div> -->
2658
2667
  <mat-option *ngIf="!filteredOptionsLength" disabled>
2659
2668
  <span>Nothing was found</span>
2660
2669
  </mat-option>
2661
- <!-- <mat-option *ngFor="let option of filteredOptions | async" [value]="option.value">
2662
- <span [innerHTML]="option.label"></span>
2663
- </mat-option> -->
2664
2670
  </mat-select>
2665
2671
 
2666
2672
  <span *ngIf="instance.component.suffix" matSuffix>
@@ -2669,8 +2675,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2669
2675
  <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2670
2676
  </mat-form-field>
2671
2677
  </ng-template>
2672
- `
2673
- }]
2678
+ `, styles: [".example-viewport{height:200px}\n"] }]
2674
2679
  }], propDecorators: { multiSelect: [{
2675
2680
  type: ViewChild,
2676
2681
  args: ['multiSelect', { static: true }]
@@ -2688,33 +2693,33 @@ SelectComponent.prototype.setItems = function (...args) {
2688
2693
  class MaterialWellComponent extends MaterialNestedComponent {
2689
2694
  }
2690
2695
  MaterialWellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialWellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2691
- MaterialWellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialWellComponent, selector: "mat-formio-well", usesInheritance: true, ngImport: i0, template: `
2692
- <mat-card>
2693
- <mat-card-content fxLayout="column"
2694
- fxLayoutGap="1em"
2695
- [ngStyle]="{
2696
- 'background-color':'#f5f5f5',
2697
- 'padding': '1.5em'
2698
- }"
2699
- >
2700
- <ng-template #components></ng-template>
2701
- </mat-card-content>
2702
- </mat-card>
2696
+ MaterialWellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialWellComponent, selector: "mat-formio-well", usesInheritance: true, ngImport: i0, template: `
2697
+ <mat-card>
2698
+ <mat-card-content fxLayout="column"
2699
+ fxLayoutGap="1em"
2700
+ [ngStyle]="{
2701
+ 'background-color':'#f5f5f5',
2702
+ 'padding': '1.5em'
2703
+ }"
2704
+ >
2705
+ <ng-template #components></ng-template>
2706
+ </mat-card-content>
2707
+ </mat-card>
2703
2708
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i6.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "directive", type: i4.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }] });
2704
2709
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialWellComponent, decorators: [{
2705
2710
  type: Component,
2706
- args: [{ selector: 'mat-formio-well', template: `
2707
- <mat-card>
2708
- <mat-card-content fxLayout="column"
2709
- fxLayoutGap="1em"
2710
- [ngStyle]="{
2711
- 'background-color':'#f5f5f5',
2712
- 'padding': '1.5em'
2713
- }"
2714
- >
2715
- <ng-template #components></ng-template>
2716
- </mat-card-content>
2717
- </mat-card>
2711
+ args: [{ selector: 'mat-formio-well', template: `
2712
+ <mat-card>
2713
+ <mat-card-content fxLayout="column"
2714
+ fxLayoutGap="1em"
2715
+ [ngStyle]="{
2716
+ 'background-color':'#f5f5f5',
2717
+ 'padding': '1.5em'
2718
+ }"
2719
+ >
2720
+ <ng-template #components></ng-template>
2721
+ </mat-card-content>
2722
+ </mat-card>
2718
2723
  ` }]
2719
2724
  }] });
2720
2725
  WellComponent.MaterialComponent = MaterialWellComponent;
@@ -2798,151 +2803,151 @@ class MaterialDataGridComponent extends MaterialNestedComponent {
2798
2803
  }
2799
2804
  }
2800
2805
  MaterialDataGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialDataGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2801
- MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialDataGridComponent, selector: "mat-formio-datagrid", usesInheritance: true, ngImport: i0, template: `
2802
- <mat-formio-form-field [instance]="instance"
2803
- [componentTemplate]="componentTemplate"
2804
- [labelTemplate]="labelTemplate"
2805
- ></mat-formio-form-field>
2806
- <ng-template #componentTemplate let-hasLabel>
2807
- <mat-card fxFill>
2808
- <ng-container *ngIf="hasLabel">
2809
- <ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
2810
- </ng-container>
2811
- <mat-card-content>
2812
- <mat-card-actions
2813
- *ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
2814
- <button mat-raised-button color="primary" (click)="addAnother()">
2815
- <mat-icon>add</mat-icon>
2816
- {{instance.component.addAnother || 'Add Another'}}
2817
- </button>
2818
- </mat-card-actions>
2819
- <table
2820
- mat-table
2821
- [dataSource]="dataSource"
2822
- class="mat-elevation-z8"
2823
- fxFill
2824
- cdkDropList
2825
- [cdkDropListData]="dataSource"
2826
- (cdkDropListDropped)="dropTable($event)">
2827
- >
2828
- <ng-container *ngFor="let column of formColumns" [matColumnDef]="column">
2829
- <th mat-header-cell *matHeaderCellDef>{{ getColumnLabel(columns[column]) }}</th>
2830
- <td mat-cell *matCellDef="let i = index;" [attr.rowIndex]="i" [attr.component]="column">
2831
- <ng-template #components></ng-template>
2832
- </td>
2833
- </ng-container>
2834
- <ng-container matColumnDef="__removeRow">
2835
- <th mat-header-cell *matHeaderCellDef></th>
2836
- <td mat-cell *matCellDef="let i = index;">
2837
- <button mat-button *ngIf="instance.hasRemoveButtons()" (click)="removeRow(i)">
2838
- <mat-icon aria-hidden="false" aria-label="Remove row">delete</mat-icon>
2839
- </button>
2840
- </td>
2841
- </ng-container>
2842
- <ng-container matColumnDef="position" *ngIf="instance.component.reorder">
2843
- <th mat-header-cell *matHeaderCellDef> No.</th>
2844
- <td mat-cell *matCellDef="let element">
2845
- <mat-icon cdkDragHandle>reorder</mat-icon>
2846
- </td>
2847
- </ng-container>
2848
- <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
2849
- <div *ngIf="instance?.component?.reorder">
2850
- <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;" cdkDrag
2851
- [cdkDragData]="row"></tr>
2852
- </div>
2853
- <div *ngIf="!instance?.component?.reorder">
2854
- <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
2855
- </div>
2856
- </table>
2857
- </mat-card-content>
2858
- <mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
2859
- <button mat-raised-button color="primary" (click)="addAnother()">
2860
- <mat-icon>add</mat-icon>
2861
- {{instance.component.addAnother || 'Add Another'}}
2862
- </button>
2863
- </mat-card-actions>
2864
- </mat-card>
2865
- </ng-template>
2866
-
2867
- <ng-template #labelTemplate>
2868
- <mat-card-title>
2869
- <span [instance]="instance" matFormioLabel></span>
2870
- </mat-card-title>
2871
- </ng-template>
2806
+ MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialDataGridComponent, selector: "mat-formio-datagrid", usesInheritance: true, ngImport: i0, template: `
2807
+ <mat-formio-form-field [instance]="instance"
2808
+ [componentTemplate]="componentTemplate"
2809
+ [labelTemplate]="labelTemplate"
2810
+ ></mat-formio-form-field>
2811
+ <ng-template #componentTemplate let-hasLabel>
2812
+ <mat-card fxFill>
2813
+ <ng-container *ngIf="hasLabel">
2814
+ <ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
2815
+ </ng-container>
2816
+ <mat-card-content>
2817
+ <mat-card-actions
2818
+ *ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
2819
+ <button mat-raised-button color="primary" (click)="addAnother()">
2820
+ <mat-icon>add</mat-icon>
2821
+ {{instance.component.addAnother || 'Add Another'}}
2822
+ </button>
2823
+ </mat-card-actions>
2824
+ <table
2825
+ mat-table
2826
+ [dataSource]="dataSource"
2827
+ class="mat-elevation-z8"
2828
+ fxFill
2829
+ cdkDropList
2830
+ [cdkDropListData]="dataSource"
2831
+ (cdkDropListDropped)="dropTable($event)">
2832
+ >
2833
+ <ng-container *ngFor="let column of formColumns" [matColumnDef]="column">
2834
+ <th mat-header-cell *matHeaderCellDef>{{ getColumnLabel(columns[column]) }}</th>
2835
+ <td mat-cell *matCellDef="let i = index;" [attr.rowIndex]="i" [attr.component]="column">
2836
+ <ng-template #components></ng-template>
2837
+ </td>
2838
+ </ng-container>
2839
+ <ng-container matColumnDef="__removeRow">
2840
+ <th mat-header-cell *matHeaderCellDef></th>
2841
+ <td mat-cell *matCellDef="let i = index;">
2842
+ <button mat-button *ngIf="instance.hasRemoveButtons()" (click)="removeRow(i)">
2843
+ <mat-icon aria-hidden="false" aria-label="Remove row">delete</mat-icon>
2844
+ </button>
2845
+ </td>
2846
+ </ng-container>
2847
+ <ng-container matColumnDef="position" *ngIf="instance.component.reorder">
2848
+ <th mat-header-cell *matHeaderCellDef> No.</th>
2849
+ <td mat-cell *matCellDef="let element">
2850
+ <mat-icon cdkDragHandle>reorder</mat-icon>
2851
+ </td>
2852
+ </ng-container>
2853
+ <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
2854
+ <div *ngIf="instance?.component?.reorder">
2855
+ <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;" cdkDrag
2856
+ [cdkDragData]="row"></tr>
2857
+ </div>
2858
+ <div *ngIf="!instance?.component?.reorder">
2859
+ <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
2860
+ </div>
2861
+ </table>
2862
+ </mat-card-content>
2863
+ <mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
2864
+ <button mat-raised-button color="primary" (click)="addAnother()">
2865
+ <mat-icon>add</mat-icon>
2866
+ {{instance.component.addAnother || 'Add Another'}}
2867
+ </button>
2868
+ </mat-card-actions>
2869
+ </mat-card>
2870
+ </ng-template>
2871
+
2872
+ <ng-template #labelTemplate>
2873
+ <mat-card-title>
2874
+ <span [instance]="instance" matFormioLabel></span>
2875
+ </mat-card-title>
2876
+ </ng-template>
2872
2877
  `, isInline: true, styles: [".datagrid-row{height:auto}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3$2.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i3$2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i3$2.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i3$2.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i3$2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i3$2.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i3$2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i3$2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3$2.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i3$2.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i4$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i5.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "component", type: i4.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "directive", type: i4.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "directive", type: i4.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "directive", type: i4.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i7$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i7$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i7$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: FormioFormFieldComponent, selector: "mat-formio-form-field", inputs: ["labelTemplate", "renderTopLabel", "showDescription", "renderElementOnly", "instance", "componentTemplate"] }, { kind: "component", type: LabelComponent, selector: "span[matFormioLabel]", inputs: ["instance"] }] });
2873
2878
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialDataGridComponent, decorators: [{
2874
2879
  type: Component,
2875
- args: [{ selector: 'mat-formio-datagrid', template: `
2876
- <mat-formio-form-field [instance]="instance"
2877
- [componentTemplate]="componentTemplate"
2878
- [labelTemplate]="labelTemplate"
2879
- ></mat-formio-form-field>
2880
- <ng-template #componentTemplate let-hasLabel>
2881
- <mat-card fxFill>
2882
- <ng-container *ngIf="hasLabel">
2883
- <ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
2884
- </ng-container>
2885
- <mat-card-content>
2886
- <mat-card-actions
2887
- *ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
2888
- <button mat-raised-button color="primary" (click)="addAnother()">
2889
- <mat-icon>add</mat-icon>
2890
- {{instance.component.addAnother || 'Add Another'}}
2891
- </button>
2892
- </mat-card-actions>
2893
- <table
2894
- mat-table
2895
- [dataSource]="dataSource"
2896
- class="mat-elevation-z8"
2897
- fxFill
2898
- cdkDropList
2899
- [cdkDropListData]="dataSource"
2900
- (cdkDropListDropped)="dropTable($event)">
2901
- >
2902
- <ng-container *ngFor="let column of formColumns" [matColumnDef]="column">
2903
- <th mat-header-cell *matHeaderCellDef>{{ getColumnLabel(columns[column]) }}</th>
2904
- <td mat-cell *matCellDef="let i = index;" [attr.rowIndex]="i" [attr.component]="column">
2905
- <ng-template #components></ng-template>
2906
- </td>
2907
- </ng-container>
2908
- <ng-container matColumnDef="__removeRow">
2909
- <th mat-header-cell *matHeaderCellDef></th>
2910
- <td mat-cell *matCellDef="let i = index;">
2911
- <button mat-button *ngIf="instance.hasRemoveButtons()" (click)="removeRow(i)">
2912
- <mat-icon aria-hidden="false" aria-label="Remove row">delete</mat-icon>
2913
- </button>
2914
- </td>
2915
- </ng-container>
2916
- <ng-container matColumnDef="position" *ngIf="instance.component.reorder">
2917
- <th mat-header-cell *matHeaderCellDef> No.</th>
2918
- <td mat-cell *matCellDef="let element">
2919
- <mat-icon cdkDragHandle>reorder</mat-icon>
2920
- </td>
2921
- </ng-container>
2922
- <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
2923
- <div *ngIf="instance?.component?.reorder">
2924
- <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;" cdkDrag
2925
- [cdkDragData]="row"></tr>
2926
- </div>
2927
- <div *ngIf="!instance?.component?.reorder">
2928
- <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
2929
- </div>
2930
- </table>
2931
- </mat-card-content>
2932
- <mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
2933
- <button mat-raised-button color="primary" (click)="addAnother()">
2934
- <mat-icon>add</mat-icon>
2935
- {{instance.component.addAnother || 'Add Another'}}
2936
- </button>
2937
- </mat-card-actions>
2938
- </mat-card>
2939
- </ng-template>
2940
-
2941
- <ng-template #labelTemplate>
2942
- <mat-card-title>
2943
- <span [instance]="instance" matFormioLabel></span>
2944
- </mat-card-title>
2945
- </ng-template>
2880
+ args: [{ selector: 'mat-formio-datagrid', template: `
2881
+ <mat-formio-form-field [instance]="instance"
2882
+ [componentTemplate]="componentTemplate"
2883
+ [labelTemplate]="labelTemplate"
2884
+ ></mat-formio-form-field>
2885
+ <ng-template #componentTemplate let-hasLabel>
2886
+ <mat-card fxFill>
2887
+ <ng-container *ngIf="hasLabel">
2888
+ <ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
2889
+ </ng-container>
2890
+ <mat-card-content>
2891
+ <mat-card-actions
2892
+ *ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
2893
+ <button mat-raised-button color="primary" (click)="addAnother()">
2894
+ <mat-icon>add</mat-icon>
2895
+ {{instance.component.addAnother || 'Add Another'}}
2896
+ </button>
2897
+ </mat-card-actions>
2898
+ <table
2899
+ mat-table
2900
+ [dataSource]="dataSource"
2901
+ class="mat-elevation-z8"
2902
+ fxFill
2903
+ cdkDropList
2904
+ [cdkDropListData]="dataSource"
2905
+ (cdkDropListDropped)="dropTable($event)">
2906
+ >
2907
+ <ng-container *ngFor="let column of formColumns" [matColumnDef]="column">
2908
+ <th mat-header-cell *matHeaderCellDef>{{ getColumnLabel(columns[column]) }}</th>
2909
+ <td mat-cell *matCellDef="let i = index;" [attr.rowIndex]="i" [attr.component]="column">
2910
+ <ng-template #components></ng-template>
2911
+ </td>
2912
+ </ng-container>
2913
+ <ng-container matColumnDef="__removeRow">
2914
+ <th mat-header-cell *matHeaderCellDef></th>
2915
+ <td mat-cell *matCellDef="let i = index;">
2916
+ <button mat-button *ngIf="instance.hasRemoveButtons()" (click)="removeRow(i)">
2917
+ <mat-icon aria-hidden="false" aria-label="Remove row">delete</mat-icon>
2918
+ </button>
2919
+ </td>
2920
+ </ng-container>
2921
+ <ng-container matColumnDef="position" *ngIf="instance.component.reorder">
2922
+ <th mat-header-cell *matHeaderCellDef> No.</th>
2923
+ <td mat-cell *matCellDef="let element">
2924
+ <mat-icon cdkDragHandle>reorder</mat-icon>
2925
+ </td>
2926
+ </ng-container>
2927
+ <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
2928
+ <div *ngIf="instance?.component?.reorder">
2929
+ <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;" cdkDrag
2930
+ [cdkDragData]="row"></tr>
2931
+ </div>
2932
+ <div *ngIf="!instance?.component?.reorder">
2933
+ <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
2934
+ </div>
2935
+ </table>
2936
+ </mat-card-content>
2937
+ <mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
2938
+ <button mat-raised-button color="primary" (click)="addAnother()">
2939
+ <mat-icon>add</mat-icon>
2940
+ {{instance.component.addAnother || 'Add Another'}}
2941
+ </button>
2942
+ </mat-card-actions>
2943
+ </mat-card>
2944
+ </ng-template>
2945
+
2946
+ <ng-template #labelTemplate>
2947
+ <mat-card-title>
2948
+ <span [instance]="instance" matFormioLabel></span>
2949
+ </mat-card-title>
2950
+ </ng-template>
2946
2951
  `, styles: [".datagrid-row{height:auto}\n"] }]
2947
2952
  }] });
2948
2953
  DataGridComponent.MaterialComponent = MaterialDataGridComponent;
@@ -2990,29 +2995,29 @@ EditGridComponent.prototype.checkRow = function (data, editRow, flags = {}) {
2990
2995
  /* tslint:enable only-arrow-functions */
2991
2996
  const DEFAULT_HEADER_TEMPLATES = [
2992
2997
  hashCode(EditGridComponent.defaultHeaderTemplate),
2993
- hashCode(`
2994
- <div class="row">
2995
- {% (components || []).forEach(function(component) { %}
2996
- <div class="col-sm-2">{{ component.label }}</div>
2997
- {% }) %}
2998
+ hashCode(`
2999
+ <div class="row">
3000
+ {% (components || []).forEach(function(component) { %}
3001
+ <div class="col-sm-2">{{ component.label }}</div>
3002
+ {% }) %}
2998
3003
  </div>`)
2999
3004
  ];
3000
3005
  const DEFAULT_ROW_TEMPLATES = [
3001
3006
  hashCode(EditGridComponent.defaultRowTemplate),
3002
- hashCode(`<div class="row">
3003
- {% util.eachComponent(components, function(component) { %}
3004
- <div class="col-sm-2">
3005
- {{ getView(component, row[component.key]) }}
3006
- </div>
3007
- {% }) %}
3008
- {% if (!instance.options.readOnly) { %}
3009
- <div class="col-sm-2">
3010
- <div class="btn-group pull-right">
3011
- <button class="btn btn-default btn-sm editRow">Edit</button>
3012
- <button class="btn btn-danger btn-sm removeRow">Delete</button>
3013
- </div>
3014
- </div>
3015
- {% } %}
3007
+ hashCode(`<div class="row">
3008
+ {% util.eachComponent(components, function(component) { %}
3009
+ <div class="col-sm-2">
3010
+ {{ getView(component, row[component.key]) }}
3011
+ </div>
3012
+ {% }) %}
3013
+ {% if (!instance.options.readOnly) { %}
3014
+ <div class="col-sm-2">
3015
+ <div class="btn-group pull-right">
3016
+ <button class="btn btn-default btn-sm editRow">Edit</button>
3017
+ <button class="btn btn-danger btn-sm removeRow">Delete</button>
3018
+ </div>
3019
+ </div>
3020
+ {% } %}
3016
3021
  </div>`)
3017
3022
  ];
3018
3023
  class MaterialEditGridComponent extends MaterialNestedComponent {
@@ -3024,12 +3029,12 @@ class MaterialEditGridComponent extends MaterialNestedComponent {
3024
3029
  this.RowStates = EditRowState;
3025
3030
  }
3026
3031
  getRowTemplate(content) {
3027
- return `<mat-list style="display: flex;">
3028
- {% (components || []).forEach(function(component) { %}
3029
- {% if (!component.hasOwnProperty('tableView') || component.tableView) { %}
3030
- <mat-list-item style="width: {{ colWidth }}%; margin: 0 0.8rem">${content}</mat-list-item>
3031
- {% } %}
3032
- {% }) %}
3032
+ return `<mat-list style="display: flex;">
3033
+ {% (components || []).forEach(function(component) { %}
3034
+ {% if (!component.hasOwnProperty('tableView') || component.tableView) { %}
3035
+ <mat-list-item style="width: {{ colWidth }}%; margin: 0 0.8rem">${content}</mat-list-item>
3036
+ {% } %}
3037
+ {% }) %}
3033
3038
  </mat-list>`;
3034
3039
  }
3035
3040
  validate(index) {
@@ -3164,10 +3169,10 @@ class MaterialEditGridComponent extends MaterialNestedComponent {
3164
3169
  }
3165
3170
  }
3166
3171
  MaterialEditGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialEditGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
3167
- MaterialEditGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialEditGridComponent, selector: "mat-formio-editgrid", viewQueries: [{ propertyName: "headerElement", first: true, predicate: ["header"], descendants: true }, { propertyName: "footerElement", first: true, predicate: ["footer"], descendants: true }, { propertyName: "rowElements", predicate: ["rows"], descendants: true }, { propertyName: "forms", predicate: ["forms"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- <mat-formio-form-field [instance]=\"instance\" [componentTemplate]=\"componentTemplate\" [labelTemplate]=\"labelTemplate\">\n</mat-formio-form-field>\n<ng-template #componentTemplate let-hasLabel>\n\n <span fxLayout=\"column\" fxLayoutGap=\"1em\" fxFill>\n <ng-container *ngIf=\"hasLabel\">\n <ng-container *ngTemplateOutlet=\"labelTemplate\"></ng-container>\n </ng-container>\n <mat-accordion>\n <mat-expansion-panel *ngIf=\"header\" disabled=\"true\">\n <mat-expansion-panel-header>\n <span #header fxFill></span>\n </mat-expansion-panel-header>\n </mat-expansion-panel>\n\n <mat-expansion-panel *ngFor=\"let row of instance.editRows; index as i;\" [expanded]=\"instance.isOpen(row)\">\n <mat-expansion-panel-header (click)=\"editRow(row, i)\">\n <span *ngIf=\"row.state !== RowStates.NEW\" #rows fxFill></span>\n </mat-expansion-panel-header>\n\n <mat-formio [form]=\"instance.component\" #forms (change)=\"validate(i)\"></mat-formio>\n\n <span fxLayout=\"row\" fxLayoutGap=\"1em\">\n <button mat-raised-button color=\"primary\" [disabled]=\"!valid\" (click)=\"saveRow(row, i)\">Save</button>\n <button mat-raised-button color=\"secondary\" (click)=\"cancelRow(i)\">Cancel</button>\n <button mat-raised-button color=\"warn\" (click)=\"instance.removeRow(i)\" class=\"delete-button\">\n <mat-icon>delete</mat-icon>\n </button>\n </span>\n </mat-expansion-panel>\n\n <mat-expansion-panel *ngIf=\"footer\" disabled=\"true\">\n <mat-expansion-panel-header>\n <span #footer></span>\n </mat-expansion-panel-header>\n </mat-expansion-panel>\n </mat-accordion>\n\n <span fxFill=\"none\" *ngIf=\"instance.hasAddButton()\">\n <button mat-raised-button color=\"primary\" (click)=\"addAnother()\">\n <mat-icon>add</mat-icon> Add Another\n </button>\n </span>\n </span>\n</ng-template>\n\n<ng-template #labelTemplate>\n <mat-card-title>\n <span [instance]=\"instance\" matFormioLabel></span>\n </mat-card-title>\n</ng-template> -->\n", styles: [":host .delete-button{margin-left:auto;order:2}\n"] });
3172
+ MaterialEditGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialEditGridComponent, selector: "mat-formio-editgrid", viewQueries: [{ propertyName: "headerElement", first: true, predicate: ["header"], descendants: true }, { propertyName: "footerElement", first: true, predicate: ["footer"], descendants: true }, { propertyName: "rowElements", predicate: ["rows"], descendants: true }, { propertyName: "forms", predicate: ["forms"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- <mat-formio-form-field [instance]=\"instance\" [componentTemplate]=\"componentTemplate\" [labelTemplate]=\"labelTemplate\">\r\n</mat-formio-form-field>\r\n<ng-template #componentTemplate let-hasLabel>\r\n\r\n <span fxLayout=\"column\" fxLayoutGap=\"1em\" fxFill>\r\n <ng-container *ngIf=\"hasLabel\">\r\n <ng-container *ngTemplateOutlet=\"labelTemplate\"></ng-container>\r\n </ng-container>\r\n <mat-accordion>\r\n <mat-expansion-panel *ngIf=\"header\" disabled=\"true\">\r\n <mat-expansion-panel-header>\r\n <span #header fxFill></span>\r\n </mat-expansion-panel-header>\r\n </mat-expansion-panel>\r\n\r\n <mat-expansion-panel *ngFor=\"let row of instance.editRows; index as i;\" [expanded]=\"instance.isOpen(row)\">\r\n <mat-expansion-panel-header (click)=\"editRow(row, i)\">\r\n <span *ngIf=\"row.state !== RowStates.NEW\" #rows fxFill></span>\r\n </mat-expansion-panel-header>\r\n\r\n <mat-formio [form]=\"instance.component\" #forms (change)=\"validate(i)\"></mat-formio>\r\n\r\n <span fxLayout=\"row\" fxLayoutGap=\"1em\">\r\n <button mat-raised-button color=\"primary\" [disabled]=\"!valid\" (click)=\"saveRow(row, i)\">Save</button>\r\n <button mat-raised-button color=\"secondary\" (click)=\"cancelRow(i)\">Cancel</button>\r\n <button mat-raised-button color=\"warn\" (click)=\"instance.removeRow(i)\" class=\"delete-button\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </span>\r\n </mat-expansion-panel>\r\n\r\n <mat-expansion-panel *ngIf=\"footer\" disabled=\"true\">\r\n <mat-expansion-panel-header>\r\n <span #footer></span>\r\n </mat-expansion-panel-header>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n\r\n <span fxFill=\"none\" *ngIf=\"instance.hasAddButton()\">\r\n <button mat-raised-button color=\"primary\" (click)=\"addAnother()\">\r\n <mat-icon>add</mat-icon> Add Another\r\n </button>\r\n </span>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #labelTemplate>\r\n <mat-card-title>\r\n <span [instance]=\"instance\" matFormioLabel></span>\r\n </mat-card-title>\r\n</ng-template> -->\r\n", styles: [":host .delete-button{margin-left:auto;order:2}\n"] });
3168
3173
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialEditGridComponent, decorators: [{
3169
3174
  type: Component,
3170
- args: [{ selector: 'mat-formio-editgrid', template: "<!-- <mat-formio-form-field [instance]=\"instance\" [componentTemplate]=\"componentTemplate\" [labelTemplate]=\"labelTemplate\">\n</mat-formio-form-field>\n<ng-template #componentTemplate let-hasLabel>\n\n <span fxLayout=\"column\" fxLayoutGap=\"1em\" fxFill>\n <ng-container *ngIf=\"hasLabel\">\n <ng-container *ngTemplateOutlet=\"labelTemplate\"></ng-container>\n </ng-container>\n <mat-accordion>\n <mat-expansion-panel *ngIf=\"header\" disabled=\"true\">\n <mat-expansion-panel-header>\n <span #header fxFill></span>\n </mat-expansion-panel-header>\n </mat-expansion-panel>\n\n <mat-expansion-panel *ngFor=\"let row of instance.editRows; index as i;\" [expanded]=\"instance.isOpen(row)\">\n <mat-expansion-panel-header (click)=\"editRow(row, i)\">\n <span *ngIf=\"row.state !== RowStates.NEW\" #rows fxFill></span>\n </mat-expansion-panel-header>\n\n <mat-formio [form]=\"instance.component\" #forms (change)=\"validate(i)\"></mat-formio>\n\n <span fxLayout=\"row\" fxLayoutGap=\"1em\">\n <button mat-raised-button color=\"primary\" [disabled]=\"!valid\" (click)=\"saveRow(row, i)\">Save</button>\n <button mat-raised-button color=\"secondary\" (click)=\"cancelRow(i)\">Cancel</button>\n <button mat-raised-button color=\"warn\" (click)=\"instance.removeRow(i)\" class=\"delete-button\">\n <mat-icon>delete</mat-icon>\n </button>\n </span>\n </mat-expansion-panel>\n\n <mat-expansion-panel *ngIf=\"footer\" disabled=\"true\">\n <mat-expansion-panel-header>\n <span #footer></span>\n </mat-expansion-panel-header>\n </mat-expansion-panel>\n </mat-accordion>\n\n <span fxFill=\"none\" *ngIf=\"instance.hasAddButton()\">\n <button mat-raised-button color=\"primary\" (click)=\"addAnother()\">\n <mat-icon>add</mat-icon> Add Another\n </button>\n </span>\n </span>\n</ng-template>\n\n<ng-template #labelTemplate>\n <mat-card-title>\n <span [instance]=\"instance\" matFormioLabel></span>\n </mat-card-title>\n</ng-template> -->\n", styles: [":host .delete-button{margin-left:auto;order:2}\n"] }]
3175
+ args: [{ selector: 'mat-formio-editgrid', template: "<!-- <mat-formio-form-field [instance]=\"instance\" [componentTemplate]=\"componentTemplate\" [labelTemplate]=\"labelTemplate\">\r\n</mat-formio-form-field>\r\n<ng-template #componentTemplate let-hasLabel>\r\n\r\n <span fxLayout=\"column\" fxLayoutGap=\"1em\" fxFill>\r\n <ng-container *ngIf=\"hasLabel\">\r\n <ng-container *ngTemplateOutlet=\"labelTemplate\"></ng-container>\r\n </ng-container>\r\n <mat-accordion>\r\n <mat-expansion-panel *ngIf=\"header\" disabled=\"true\">\r\n <mat-expansion-panel-header>\r\n <span #header fxFill></span>\r\n </mat-expansion-panel-header>\r\n </mat-expansion-panel>\r\n\r\n <mat-expansion-panel *ngFor=\"let row of instance.editRows; index as i;\" [expanded]=\"instance.isOpen(row)\">\r\n <mat-expansion-panel-header (click)=\"editRow(row, i)\">\r\n <span *ngIf=\"row.state !== RowStates.NEW\" #rows fxFill></span>\r\n </mat-expansion-panel-header>\r\n\r\n <mat-formio [form]=\"instance.component\" #forms (change)=\"validate(i)\"></mat-formio>\r\n\r\n <span fxLayout=\"row\" fxLayoutGap=\"1em\">\r\n <button mat-raised-button color=\"primary\" [disabled]=\"!valid\" (click)=\"saveRow(row, i)\">Save</button>\r\n <button mat-raised-button color=\"secondary\" (click)=\"cancelRow(i)\">Cancel</button>\r\n <button mat-raised-button color=\"warn\" (click)=\"instance.removeRow(i)\" class=\"delete-button\">\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </span>\r\n </mat-expansion-panel>\r\n\r\n <mat-expansion-panel *ngIf=\"footer\" disabled=\"true\">\r\n <mat-expansion-panel-header>\r\n <span #footer></span>\r\n </mat-expansion-panel-header>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n\r\n <span fxFill=\"none\" *ngIf=\"instance.hasAddButton()\">\r\n <button mat-raised-button color=\"primary\" (click)=\"addAnother()\">\r\n <mat-icon>add</mat-icon> Add Another\r\n </button>\r\n </span>\r\n </span>\r\n</ng-template>\r\n\r\n<ng-template #labelTemplate>\r\n <mat-card-title>\r\n <span [instance]=\"instance\" matFormioLabel></span>\r\n </mat-card-title>\r\n</ng-template> -->\r\n", styles: [":host .delete-button{margin-left:auto;order:2}\n"] }]
3171
3176
  }], propDecorators: { headerElement: [{
3172
3177
  type: ViewChild,
3173
3178
  args: ['header']
@@ -3201,71 +3206,71 @@ class MaterialTableComponent extends MaterialNestedComponent {
3201
3206
  }
3202
3207
  }
3203
3208
  MaterialTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTableComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
3204
- MaterialTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTableComponent, selector: "mat-formio-table", usesInheritance: true, ngImport: i0, template: `
3205
- <table class="mat-table" style="width: 100%;" [ngClass]="{'is-bordered' : instance.component.bordered}">
3206
- <thead>
3207
- <tr class="mat-header-row">
3208
- <th *ngFor="let header of instance.component.header"
3209
- class="mat-header-cell"
3210
- >
3211
- {{ instance.t(header) }}
3212
- </th>
3213
- </tr>
3214
- </thead>
3215
-
3216
- <tbody>
3217
- <tr *ngFor="let row of instance.table; let i = index"
3218
- role="row"
3219
- class="mat-row"
3220
- [ngClass]="{
3221
- 'is-hover': instance.component.hover,
3222
- 'is-striped': instance.component.striped && i % 2 === 0
3223
- }"
3224
- >
3225
- <td *ngFor="let col of row"
3226
- role="gridcell"
3227
- class="mat-cell"
3228
- [ngClass]="getTableColClasses()"
3229
- >
3230
- <ng-template #components></ng-template>
3231
- </td>
3232
- </tr>
3233
- </tbody>
3234
- </table>
3209
+ MaterialTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTableComponent, selector: "mat-formio-table", usesInheritance: true, ngImport: i0, template: `
3210
+ <table class="mat-table" style="width: 100%;" [ngClass]="{'is-bordered' : instance.component.bordered}">
3211
+ <thead>
3212
+ <tr class="mat-header-row">
3213
+ <th *ngFor="let header of instance.component.header"
3214
+ class="mat-header-cell"
3215
+ >
3216
+ {{ instance.t(header) }}
3217
+ </th>
3218
+ </tr>
3219
+ </thead>
3220
+
3221
+ <tbody>
3222
+ <tr *ngFor="let row of instance.table; let i = index"
3223
+ role="row"
3224
+ class="mat-row"
3225
+ [ngClass]="{
3226
+ 'is-hover': instance.component.hover,
3227
+ 'is-striped': instance.component.striped && i % 2 === 0
3228
+ }"
3229
+ >
3230
+ <td *ngFor="let col of row"
3231
+ role="gridcell"
3232
+ class="mat-cell"
3233
+ [ngClass]="getTableColClasses()"
3234
+ >
3235
+ <ng-template #components></ng-template>
3236
+ </td>
3237
+ </tr>
3238
+ </tbody>
3239
+ </table>
3235
3240
  `, isInline: true, styles: [".mat-table.is-bordered{border:1px solid #ddd}.mat-row.is-hover:hover{background-color:#f5f5f5}.mat-cell{padding:8px}.mat-cell.is-condensed{padding:3px}.mat-row.is-striped{background-color:#eee}.mat-cell.center{text-align:center}.mat-cell.right{text-align:right}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] });
3236
3241
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTableComponent, decorators: [{
3237
3242
  type: Component,
3238
- args: [{ selector: 'mat-formio-table', template: `
3239
- <table class="mat-table" style="width: 100%;" [ngClass]="{'is-bordered' : instance.component.bordered}">
3240
- <thead>
3241
- <tr class="mat-header-row">
3242
- <th *ngFor="let header of instance.component.header"
3243
- class="mat-header-cell"
3244
- >
3245
- {{ instance.t(header) }}
3246
- </th>
3247
- </tr>
3248
- </thead>
3249
-
3250
- <tbody>
3251
- <tr *ngFor="let row of instance.table; let i = index"
3252
- role="row"
3253
- class="mat-row"
3254
- [ngClass]="{
3255
- 'is-hover': instance.component.hover,
3256
- 'is-striped': instance.component.striped && i % 2 === 0
3257
- }"
3258
- >
3259
- <td *ngFor="let col of row"
3260
- role="gridcell"
3261
- class="mat-cell"
3262
- [ngClass]="getTableColClasses()"
3263
- >
3264
- <ng-template #components></ng-template>
3265
- </td>
3266
- </tr>
3267
- </tbody>
3268
- </table>
3243
+ args: [{ selector: 'mat-formio-table', template: `
3244
+ <table class="mat-table" style="width: 100%;" [ngClass]="{'is-bordered' : instance.component.bordered}">
3245
+ <thead>
3246
+ <tr class="mat-header-row">
3247
+ <th *ngFor="let header of instance.component.header"
3248
+ class="mat-header-cell"
3249
+ >
3250
+ {{ instance.t(header) }}
3251
+ </th>
3252
+ </tr>
3253
+ </thead>
3254
+
3255
+ <tbody>
3256
+ <tr *ngFor="let row of instance.table; let i = index"
3257
+ role="row"
3258
+ class="mat-row"
3259
+ [ngClass]="{
3260
+ 'is-hover': instance.component.hover,
3261
+ 'is-striped': instance.component.striped && i % 2 === 0
3262
+ }"
3263
+ >
3264
+ <td *ngFor="let col of row"
3265
+ role="gridcell"
3266
+ class="mat-cell"
3267
+ [ngClass]="getTableColClasses()"
3268
+ >
3269
+ <ng-template #components></ng-template>
3270
+ </td>
3271
+ </tr>
3272
+ </tbody>
3273
+ </table>
3269
3274
  `, styles: [".mat-table.is-bordered{border:1px solid #ddd}.mat-row.is-hover:hover{background-color:#f5f5f5}.mat-cell{padding:8px}.mat-cell.is-condensed{padding:3px}.mat-row.is-striped{background-color:#eee}.mat-cell.center{text-align:center}.mat-cell.right{text-align:right}\n"] }]
3270
3275
  }] });
3271
3276
  TableComponent.MaterialComponent = MaterialTableComponent;
@@ -3316,31 +3321,31 @@ class MaterialWizardComponent extends MaterialNestedComponent {
3316
3321
  }
3317
3322
  }
3318
3323
  MaterialWizardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialWizardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
3319
- MaterialWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialWizardComponent, selector: "mat-formio-wizard", viewQueries: [{ propertyName: "stepper", first: true, predicate: ["stepper"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
3320
- <mat-horizontal-stepper [linear]="isLinear" #stepper>
3321
- <mat-step *ngFor="let page of instance.pages" [label]="page.component.title">
3322
- <ng-template #components></ng-template>
3323
- <div class="navigation-button-row">
3324
- <button *ngIf="instance.hasButton('cancel')" mat-raised-button (click)="resetWizard()">Cancel</button>
3325
- <button *ngIf="instance.hasButton('previous')" mat-raised-button color="primary" (click)="prevPage()">Previous</button>
3326
- <button *ngIf="instance.hasButton('next')" mat-raised-button color="primary" (click)="nextPage()">Next</button>
3327
- <button *ngIf="instance.hasButton('submit')" mat-raised-button color="primary" (click)="submit()">Submit</button>
3328
- </div>
3329
- </mat-step>
3324
+ MaterialWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialWizardComponent, selector: "mat-formio-wizard", viewQueries: [{ propertyName: "stepper", first: true, predicate: ["stepper"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
3325
+ <mat-horizontal-stepper [linear]="isLinear" #stepper>
3326
+ <mat-step *ngFor="let page of instance.pages" [label]="page.component.title">
3327
+ <ng-template #components></ng-template>
3328
+ <div class="navigation-button-row">
3329
+ <button *ngIf="instance.hasButton('cancel')" mat-raised-button (click)="resetWizard()">Cancel</button>
3330
+ <button *ngIf="instance.hasButton('previous')" mat-raised-button color="primary" (click)="prevPage()">Previous</button>
3331
+ <button *ngIf="instance.hasButton('next')" mat-raised-button color="primary" (click)="nextPage()">Next</button>
3332
+ <button *ngIf="instance.hasButton('submit')" mat-raised-button color="primary" (click)="submit()">Submit</button>
3333
+ </div>
3334
+ </mat-step>
3330
3335
  </mat-horizontal-stepper>`, isInline: true, styles: [":host .navigation-button-row{margin-top:8px}\n", ":host .navigation-button-row button{margin-right:8px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3$3.MatStep, selector: "mat-step", inputs: ["color"], exportAs: ["matStep"] }, { kind: "component", type: i3$3.MatStepper, selector: "mat-stepper, mat-vertical-stepper, mat-horizontal-stepper, [matStepper]", inputs: ["selectedIndex", "disableRipple", "color", "labelPosition", "headerPosition", "animationDuration"], outputs: ["animationDone"], exportAs: ["matStepper", "matVerticalStepper", "matHorizontalStepper"] }] });
3331
3336
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialWizardComponent, decorators: [{
3332
3337
  type: Component,
3333
- args: [{ selector: 'mat-formio-wizard', template: `
3334
- <mat-horizontal-stepper [linear]="isLinear" #stepper>
3335
- <mat-step *ngFor="let page of instance.pages" [label]="page.component.title">
3336
- <ng-template #components></ng-template>
3337
- <div class="navigation-button-row">
3338
- <button *ngIf="instance.hasButton('cancel')" mat-raised-button (click)="resetWizard()">Cancel</button>
3339
- <button *ngIf="instance.hasButton('previous')" mat-raised-button color="primary" (click)="prevPage()">Previous</button>
3340
- <button *ngIf="instance.hasButton('next')" mat-raised-button color="primary" (click)="nextPage()">Next</button>
3341
- <button *ngIf="instance.hasButton('submit')" mat-raised-button color="primary" (click)="submit()">Submit</button>
3342
- </div>
3343
- </mat-step>
3338
+ args: [{ selector: 'mat-formio-wizard', template: `
3339
+ <mat-horizontal-stepper [linear]="isLinear" #stepper>
3340
+ <mat-step *ngFor="let page of instance.pages" [label]="page.component.title">
3341
+ <ng-template #components></ng-template>
3342
+ <div class="navigation-button-row">
3343
+ <button *ngIf="instance.hasButton('cancel')" mat-raised-button (click)="resetWizard()">Cancel</button>
3344
+ <button *ngIf="instance.hasButton('previous')" mat-raised-button color="primary" (click)="prevPage()">Previous</button>
3345
+ <button *ngIf="instance.hasButton('next')" mat-raised-button color="primary" (click)="nextPage()">Next</button>
3346
+ <button *ngIf="instance.hasButton('submit')" mat-raised-button color="primary" (click)="submit()">Submit</button>
3347
+ </div>
3348
+ </mat-step>
3344
3349
  </mat-horizontal-stepper>`, styles: [":host .navigation-button-row{margin-top:8px}\n", ":host .navigation-button-row button{margin-right:8px}\n"] }]
3345
3350
  }], propDecorators: { stepper: [{
3346
3351
  type: ViewChild,
@@ -3484,35 +3489,35 @@ class FormioComponent extends FormioBaseComponent {
3484
3489
  }
3485
3490
  }
3486
3491
  FormioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormioComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1$1.FormioAppConfig, optional: true }], target: i0.ɵɵFactoryTarget.Component });
3487
- FormioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: FormioComponent, selector: "mat-formio", viewQueries: [{ propertyName: "formioViewContainer", first: true, predicate: ["formio"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: `
3488
- <mat-spinner *ngIf="isLoading"></mat-spinner>
3489
- <div *ngIf="!this.options?.disableAlerts">
3490
- <div *ngFor="let alert of alerts.alerts"
3491
- class="alert alert-{{ alert.type }}"
3492
- role="alert"
3493
- >
3494
- {{ alert.message }}
3495
- </div>
3496
- </div>
3497
- <div fxLayout="column" fxLayoutGap="1em">
3498
- <ng-template #formio></ng-template>
3499
- </div>
3492
+ FormioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: FormioComponent, selector: "mat-formio", viewQueries: [{ propertyName: "formioViewContainer", first: true, predicate: ["formio"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: `
3493
+ <mat-spinner *ngIf="isLoading"></mat-spinner>
3494
+ <div *ngIf="!this.options?.disableAlerts">
3495
+ <div *ngFor="let alert of alerts.alerts"
3496
+ class="alert alert-{{ alert.type }}"
3497
+ role="alert"
3498
+ >
3499
+ {{ alert.message }}
3500
+ </div>
3501
+ </div>
3502
+ <div fxLayout="column" fxLayoutGap="1em">
3503
+ <ng-template #formio></ng-template>
3504
+ </div>
3500
3505
  `, isInline: true, styles: [".alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:.5rem;border:1px solid transparent;border-radius:.25rem}::ng-deep mat-card{box-sizing:border-box;-moz-box-sizing:border-box}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i5.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i5.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }] });
3501
3506
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormioComponent, decorators: [{
3502
3507
  type: Component,
3503
- args: [{ selector: 'mat-formio', template: `
3504
- <mat-spinner *ngIf="isLoading"></mat-spinner>
3505
- <div *ngIf="!this.options?.disableAlerts">
3506
- <div *ngFor="let alert of alerts.alerts"
3507
- class="alert alert-{{ alert.type }}"
3508
- role="alert"
3509
- >
3510
- {{ alert.message }}
3511
- </div>
3512
- </div>
3513
- <div fxLayout="column" fxLayoutGap="1em">
3514
- <ng-template #formio></ng-template>
3515
- </div>
3508
+ args: [{ selector: 'mat-formio', template: `
3509
+ <mat-spinner *ngIf="isLoading"></mat-spinner>
3510
+ <div *ngIf="!this.options?.disableAlerts">
3511
+ <div *ngFor="let alert of alerts.alerts"
3512
+ class="alert alert-{{ alert.type }}"
3513
+ role="alert"
3514
+ >
3515
+ {{ alert.message }}
3516
+ </div>
3517
+ </div>
3518
+ <div fxLayout="column" fxLayoutGap="1em">
3519
+ <ng-template #formio></ng-template>
3520
+ </div>
3516
3521
  `, styles: [".alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:.5rem;border:1px solid transparent;border-radius:.25rem}::ng-deep mat-card{box-sizing:border-box;-moz-box-sizing:border-box}\n"] }]
3517
3522
  }], ctorParameters: function () {
3518
3523
  return [{ type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$1.FormioAppConfig, decorators: [{
@@ -3593,6 +3598,7 @@ NgxRenderMaterialFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.
3593
3598
  MatStepperModule,
3594
3599
  MatCardModule,
3595
3600
  DragDropModule,
3601
+ ScrollingModule,
3596
3602
  NgxMatSelectSearchModule], exports: [NgxRenderMaterialFormsComponent,
3597
3603
  FormioComponent,
3598
3604
  MatInputModule,
@@ -3615,6 +3621,7 @@ NgxRenderMaterialFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.
3615
3621
  DragDropModule,
3616
3622
  MatStepperModule,
3617
3623
  FlexLayoutModule,
3624
+ ScrollingModule,
3618
3625
  NgxMatSelectSearchModule] });
3619
3626
  NgxRenderMaterialFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: NgxRenderMaterialFormsModule, imports: [CommonModule,
3620
3627
  FormsModule,
@@ -3641,6 +3648,7 @@ NgxRenderMaterialFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.
3641
3648
  MatStepperModule,
3642
3649
  MatCardModule,
3643
3650
  DragDropModule,
3651
+ ScrollingModule,
3644
3652
  NgxMatSelectSearchModule, MatInputModule,
3645
3653
  MatFormFieldModule,
3646
3654
  MatCheckboxModule,
@@ -3661,6 +3669,7 @@ NgxRenderMaterialFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.
3661
3669
  DragDropModule,
3662
3670
  MatStepperModule,
3663
3671
  FlexLayoutModule,
3672
+ ScrollingModule,
3664
3673
  NgxMatSelectSearchModule] });
3665
3674
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: NgxRenderMaterialFormsModule, decorators: [{
3666
3675
  type: NgModule,
@@ -3733,6 +3742,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
3733
3742
  MatStepperModule,
3734
3743
  MatCardModule,
3735
3744
  DragDropModule,
3745
+ ScrollingModule,
3736
3746
  NgxMatSelectSearchModule
3737
3747
  ],
3738
3748
  exports: [
@@ -3758,6 +3768,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
3758
3768
  DragDropModule,
3759
3769
  MatStepperModule,
3760
3770
  FlexLayoutModule,
3771
+ ScrollingModule,
3761
3772
  NgxMatSelectSearchModule
3762
3773
  ],
3763
3774
  entryComponents: [