ngx-render-material-forms 1.0.9 → 1.1.0

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 +6 -6
@@ -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
 
@@ -360,10 +362,10 @@ var LabelPositions;
360
362
  class LabelComponent {
361
363
  }
362
364
  LabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
363
- 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"] }] });
364
366
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: LabelComponent, decorators: [{
365
367
  type: Component,
366
- 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"] }]
367
369
  }], propDecorators: { instance: [{
368
370
  type: Input
369
371
  }] } });
@@ -399,10 +401,10 @@ class FormioFormFieldComponent {
399
401
  }
400
402
  }
401
403
  FormioFormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormioFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
402
- 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"] }] });
403
405
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormioFormFieldComponent, decorators: [{
404
406
  type: Component,
405
- 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"] }]
406
408
  }], propDecorators: { labelTemplate: [{
407
409
  type: Input
408
410
  }], renderTopLabel: [{
@@ -716,91 +718,91 @@ class MaterialDayComponent extends MaterialComponent {
716
718
  }
717
719
  }
718
720
  MaterialDayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialDayComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
719
- MaterialDayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialDayComponent, selector: "mat-formio-day", usesInheritance: true, ngImport: i0, template: `
720
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
721
- <ng-template #componentTemplate let-hasLabel>
722
- <mat-label *ngIf="hasLabel">
723
- <span [instance]="instance" matFormioLabel></span>
724
- </mat-label>
725
- <mat-form-field *ngIf="instance.dayFirst && instance.showDay">
726
- <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
727
- <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
728
- <mat-option *ngFor="let day of instance.days" [value]="day.value">
729
- {{day.label}}
730
- </mat-option>
731
- </mat-select>
732
- </mat-form-field>
733
- <mat-form-field *ngIf="instance.showMonth">
734
- <mat-label *ngIf="!instance.component.hideInputLabels">Month</mat-label>
735
- <mat-select [formControl]="monthControl" (selectionChange)="onChange()" [required]="instance.monthRequired">
736
- <mat-option *ngFor="let month of instance.months" [value]="month.value">
737
- {{month.label}}
738
- </mat-option>
739
- </mat-select>
740
- </mat-form-field>
741
- <mat-form-field *ngIf="!instance.dayFirst && instance.showDay">
742
- <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
743
- <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
744
- <mat-option *ngFor="let day of instance.days" [value]="day.value">
745
- {{day.label}}
746
- </mat-option>
747
- </mat-select>
748
- </mat-form-field>
749
- <mat-form-field *ngIf="instance.showYear">
750
- <mat-label *ngIf="!instance.component.hideInputLabels">Year</mat-label>
751
- <mat-select [formControl]="yearControl" (selectionChange)="onChange()" [required]="instance.yearRequired">
752
- <mat-option *ngFor="let year of instance.years" [value]="year.value">
753
- {{year.label}}
754
- </mat-option>
755
- </mat-select>
756
- </mat-form-field>
757
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
758
- </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>
759
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"] }] });
760
762
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialDayComponent, decorators: [{
761
763
  type: Component,
762
764
  args: [{
763
765
  selector: 'mat-formio-day',
764
- template: `
765
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
766
- <ng-template #componentTemplate let-hasLabel>
767
- <mat-label *ngIf="hasLabel">
768
- <span [instance]="instance" matFormioLabel></span>
769
- </mat-label>
770
- <mat-form-field *ngIf="instance.dayFirst && instance.showDay">
771
- <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
772
- <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
773
- <mat-option *ngFor="let day of instance.days" [value]="day.value">
774
- {{day.label}}
775
- </mat-option>
776
- </mat-select>
777
- </mat-form-field>
778
- <mat-form-field *ngIf="instance.showMonth">
779
- <mat-label *ngIf="!instance.component.hideInputLabels">Month</mat-label>
780
- <mat-select [formControl]="monthControl" (selectionChange)="onChange()" [required]="instance.monthRequired">
781
- <mat-option *ngFor="let month of instance.months" [value]="month.value">
782
- {{month.label}}
783
- </mat-option>
784
- </mat-select>
785
- </mat-form-field>
786
- <mat-form-field *ngIf="!instance.dayFirst && instance.showDay">
787
- <mat-label *ngIf="!instance.component.hideInputLabels">Day</mat-label>
788
- <mat-select [formControl]="dayControl" (selectionChange)="onChange()" [required]="instance.dayRequired">
789
- <mat-option *ngFor="let day of instance.days" [value]="day.value">
790
- {{day.label}}
791
- </mat-option>
792
- </mat-select>
793
- </mat-form-field>
794
- <mat-form-field *ngIf="instance.showYear">
795
- <mat-label *ngIf="!instance.component.hideInputLabels">Year</mat-label>
796
- <mat-select [formControl]="yearControl" (selectionChange)="onChange()" [required]="instance.yearRequired">
797
- <mat-option *ngFor="let year of instance.years" [value]="year.value">
798
- {{year.label}}
799
- </mat-option>
800
- </mat-select>
801
- </mat-form-field>
802
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
803
- </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>
804
806
  `
805
807
  }]
806
808
  }] });
@@ -880,67 +882,67 @@ class MaterialTagsComponent extends MaterialComponent {
880
882
  }
881
883
  }
882
884
  MaterialTagsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTagsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
883
- MaterialTagsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTagsComponent, selector: "mat-formio-tags", usesInheritance: true, ngImport: i0, template: `
884
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
885
- <ng-template #componentTemplate let-hasLabel>
886
- <mat-form-field class="example-chip-list" fxFill>
887
-
888
- <mat-label *ngIf="hasLabel">
889
- <span [instance]="instance" matFormioLabel></span>
890
- </mat-label>
891
-
892
- <mat-chip-list #chipList [attr.aria-label]="instance.component.label">
893
- <mat-chip *ngFor="let tag of tags; index as i;"
894
- [selectable]="true"
895
- [removable]="true"
896
- (removed)="remove(i)"
897
- >
898
- {{tag}}
899
- <mat-icon matChipRemove>cancel</mat-icon>
900
- </mat-chip>
901
-
902
- <input [formControl]="control"
903
- [matChipInputFor]="chipList"
904
- [matChipInputSeparatorKeyCodes]="separatorKeysCodes"
905
- [matChipInputAddOnBlur]="true"
906
- (matChipInputTokenEnd)="add($event)"
907
- >
908
- </mat-chip-list>
909
- </mat-form-field>
910
- </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>
911
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"] }] });
912
914
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTagsComponent, decorators: [{
913
915
  type: Component,
914
916
  args: [{
915
917
  selector: 'mat-formio-tags',
916
- template: `
917
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
918
- <ng-template #componentTemplate let-hasLabel>
919
- <mat-form-field class="example-chip-list" fxFill>
920
-
921
- <mat-label *ngIf="hasLabel">
922
- <span [instance]="instance" matFormioLabel></span>
923
- </mat-label>
924
-
925
- <mat-chip-list #chipList [attr.aria-label]="instance.component.label">
926
- <mat-chip *ngFor="let tag of tags; index as i;"
927
- [selectable]="true"
928
- [removable]="true"
929
- (removed)="remove(i)"
930
- >
931
- {{tag}}
932
- <mat-icon matChipRemove>cancel</mat-icon>
933
- </mat-chip>
934
-
935
- <input [formControl]="control"
936
- [matChipInputFor]="chipList"
937
- [matChipInputSeparatorKeyCodes]="separatorKeysCodes"
938
- [matChipInputAddOnBlur]="true"
939
- (matChipInputTokenEnd)="add($event)"
940
- >
941
- </mat-chip-list>
942
- </mat-form-field>
943
- </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>
944
946
  `
945
947
  }]
946
948
  }] });
@@ -1037,10 +1039,10 @@ class MaterialButtonComponent extends MaterialComponent {
1037
1039
  }
1038
1040
  }
1039
1041
  MaterialButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1040
- 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"] }] });
1041
1043
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialButtonComponent, decorators: [{
1042
1044
  type: Component,
1043
- 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"] }]
1044
1046
  }] });
1045
1047
  ButtonComponent.MaterialComponent = MaterialButtonComponent;
1046
1048
 
@@ -1054,57 +1056,57 @@ class MaterialTextareaComponent extends MaterialComponent {
1054
1056
  }
1055
1057
  }
1056
1058
  MaterialTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1057
- 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: `
1058
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
1059
- <ng-template #componentTemplate let-hasLabel>
1060
- <mat-form-field class="mat-formio-textarea"
1061
- [ngClass]="{'editor-enabled': !!instance.component.editor}"
1062
- fxFill
1063
- fxFlexAlign="center"
1064
- >
1065
- <mat-label fxFill *ngIf="hasLabel">
1066
- <span [instance]="instance" matFormioLabel></span>
1067
- </mat-label>
1068
- <span *ngIf="instance.component.prefix" matPrefix>{{ instance.component.prefix }}&nbsp;</span>
1069
- <textarea matInput
1070
- [placeholder]="instance.component.placeholder"
1071
- [formControl]="control"
1072
- [rows]="(instance.component.rows || 3)"
1073
- (input)="onChange()"
1074
- #textarea
1075
- >
1076
- </textarea>
1077
- <span *ngIf="instance.component.suffix" matSuffix>{{ instance.component.suffix }}</span>
1078
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1079
- </mat-form-field>
1080
- </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>
1081
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"] }] });
1082
1084
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTextareaComponent, decorators: [{
1083
1085
  type: Component,
1084
- args: [{ selector: 'mat-formio-textarea', template: `
1085
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
1086
- <ng-template #componentTemplate let-hasLabel>
1087
- <mat-form-field class="mat-formio-textarea"
1088
- [ngClass]="{'editor-enabled': !!instance.component.editor}"
1089
- fxFill
1090
- fxFlexAlign="center"
1091
- >
1092
- <mat-label fxFill *ngIf="hasLabel">
1093
- <span [instance]="instance" matFormioLabel></span>
1094
- </mat-label>
1095
- <span *ngIf="instance.component.prefix" matPrefix>{{ instance.component.prefix }}&nbsp;</span>
1096
- <textarea matInput
1097
- [placeholder]="instance.component.placeholder"
1098
- [formControl]="control"
1099
- [rows]="(instance.component.rows || 3)"
1100
- (input)="onChange()"
1101
- #textarea
1102
- >
1103
- </textarea>
1104
- <span *ngIf="instance.component.suffix" matSuffix>{{ instance.component.suffix }}</span>
1105
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1106
- </mat-form-field>
1107
- </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>
1108
1110
  `, styles: [".mat-input-element{min-height:16px}\n"] }]
1109
1111
  }], propDecorators: { textarea: [{
1110
1112
  type: ViewChild,
@@ -1150,47 +1152,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
1150
1152
  class MaterialPanelComponent extends MaterialNestedComponent {
1151
1153
  }
1152
1154
  MaterialPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialPanelComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1153
- MaterialPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialPanelComponent, selector: "mat-formio-panel", usesInheritance: true, ngImport: i0, template: `
1154
- <mat-card *ngIf="!instance.component.collapsible">
1155
- <mat-card-title *ngIf="instance?.component?.title">
1156
- {{ instance.component.title }}
1157
- </mat-card-title>
1158
- <mat-card-content fxLayout="column" fxLayoutGap="1em">
1159
- <ng-template #components></ng-template>
1160
- </mat-card-content>
1161
- </mat-card>
1162
- <mat-expansion-panel *ngIf="instance.component.collapsible"
1163
- [expanded]="!instance.component.collapsed"
1164
- >
1165
- <mat-expansion-panel-header *ngIf="instance?.component?.title">
1166
- <mat-panel-title>
1167
- {{ instance.component.title }}
1168
- </mat-panel-title>
1169
- </mat-expansion-panel-header>
1170
- <ng-template #components></ng-template>
1171
- </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>
1172
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]" }] });
1173
1175
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialPanelComponent, decorators: [{
1174
1176
  type: Component,
1175
- args: [{ selector: 'mat-formio-panel', template: `
1176
- <mat-card *ngIf="!instance.component.collapsible">
1177
- <mat-card-title *ngIf="instance?.component?.title">
1178
- {{ instance.component.title }}
1179
- </mat-card-title>
1180
- <mat-card-content fxLayout="column" fxLayoutGap="1em">
1181
- <ng-template #components></ng-template>
1182
- </mat-card-content>
1183
- </mat-card>
1184
- <mat-expansion-panel *ngIf="instance.component.collapsible"
1185
- [expanded]="!instance.component.collapsed"
1186
- >
1187
- <mat-expansion-panel-header *ngIf="instance?.component?.title">
1188
- <mat-panel-title>
1189
- {{ instance.component.title }}
1190
- </mat-panel-title>
1191
- </mat-expansion-panel-header>
1192
- <ng-template #components></ng-template>
1193
- </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>
1194
1196
  `, styles: [":host{margin-bottom:1em}\n"] }]
1195
1197
  }] });
1196
1198
  PanelComponent.MaterialComponent = MaterialPanelComponent;
@@ -1218,41 +1220,41 @@ class MaterialColumnsComponent extends MaterialNestedComponent {
1218
1220
  }
1219
1221
  }
1220
1222
  MaterialColumnsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialColumnsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1221
- MaterialColumnsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialColumnsComponent, selector: "mat-formio-columns", usesInheritance: true, ngImport: i0, template: `
1222
- <div class="container"
1223
- fxLayout="row"
1224
- fxLayout.xs="column"
1225
- fxLayoutWrap
1226
- fxLayoutGap="{{ flexGap }}%"
1227
- fxLayoutAlign="center"
1228
- >
1229
- <div
1230
- *ngFor="let column of instance.component.columns; let i = index"
1231
- [fxFlex]="flexWidth(column, i)"
1232
- fxLayout="column"
1233
- fxLayoutGap="1em">
1234
- <ng-template #components></ng-template>
1235
- </div>
1236
- </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>
1237
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"] }] });
1238
1240
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialColumnsComponent, decorators: [{
1239
1241
  type: Component,
1240
- args: [{ selector: 'mat-formio-columns', template: `
1241
- <div class="container"
1242
- fxLayout="row"
1243
- fxLayout.xs="column"
1244
- fxLayoutWrap
1245
- fxLayoutGap="{{ flexGap }}%"
1246
- fxLayoutAlign="center"
1247
- >
1248
- <div
1249
- *ngFor="let column of instance.component.columns; let i = index"
1250
- [fxFlex]="flexWidth(column, i)"
1251
- fxLayout="column"
1252
- fxLayoutGap="1em">
1253
- <ng-template #components></ng-template>
1254
- </div>
1255
- </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>
1256
1258
  ` }]
1257
1259
  }] });
1258
1260
  ColumnsComponent.MaterialComponent = MaterialColumnsComponent;
@@ -1260,17 +1262,17 @@ ColumnsComponent.MaterialComponent = MaterialColumnsComponent;
1260
1262
  class MaterialContainerComponent extends MaterialNestedComponent {
1261
1263
  }
1262
1264
  MaterialContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialContainerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1263
- MaterialContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialContainerComponent, selector: "mat-formio-container", usesInheritance: true, ngImport: i0, template: `
1264
- <div fxLayout="column" fxLayoutGap="1em">
1265
- <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>
1266
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"] }] });
1267
1269
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialContainerComponent, decorators: [{
1268
1270
  type: Component,
1269
1271
  args: [{
1270
1272
  selector: 'mat-formio-container',
1271
- template: `
1272
- <div fxLayout="column" fxLayoutGap="1em">
1273
- <ng-template #components></ng-template>
1273
+ template: `
1274
+ <div fxLayout="column" fxLayoutGap="1em">
1275
+ <ng-template #components></ng-template>
1274
1276
  </div>`
1275
1277
  }]
1276
1278
  }] });
@@ -1285,27 +1287,27 @@ class MaterialTabsComponent extends MaterialNestedComponent {
1285
1287
  }
1286
1288
  }
1287
1289
  MaterialTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTabsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1288
- MaterialTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTabsComponent, selector: "mat-formio-tabs", usesInheritance: true, ngImport: i0, template: `
1289
- <mat-tab-group>
1290
- <mat-tab *ngFor="let tab of instance.component.components" [label]="tab.label">
1291
- <div fxLayout="column" fxLayoutGap="1em" style="border: 1px dotted rgba(0, 0, 0, 0.125)">
1292
- <ng-template #components></ng-template>
1293
- </div>
1294
- </mat-tab>
1295
- </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>
1296
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"] }] });
1297
1299
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTabsComponent, decorators: [{
1298
1300
  type: Component,
1299
1301
  args: [{
1300
1302
  selector: 'mat-formio-tabs',
1301
- template: `
1302
- <mat-tab-group>
1303
- <mat-tab *ngFor="let tab of instance.component.components" [label]="tab.label">
1304
- <div fxLayout="column" fxLayoutGap="1em" style="border: 1px dotted rgba(0, 0, 0, 0.125)">
1305
- <ng-template #components></ng-template>
1306
- </div>
1307
- </mat-tab>
1308
- </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>
1309
1311
  `
1310
1312
  }]
1311
1313
  }] });
@@ -1378,117 +1380,117 @@ class MaterialTimeComponent extends MaterialComponent {
1378
1380
  }
1379
1381
  }
1380
1382
  MaterialTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTimeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1381
- 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: `
1382
- <mat-formio-form-field
1383
- [instance]="instance"
1384
- [componentTemplate]="componentTemplate"
1385
- [renderElementOnly]="renderElementOnly"
1386
- ></mat-formio-form-field>
1387
- <ng-template #componentTemplate let-hasLabel>
1388
- <mat-label fxFill *ngIf="hasLabel">
1389
- <span [instance]="instance" matFormioLabel></span>
1390
- </mat-label>
1391
-
1392
- <div style="display: block">
1393
- <div fxLayout="row" fxLayoutGap="5%">
1394
- <input
1395
- [formControl]="hourControl"
1396
- [step]="hourStep"
1397
- [min]="0"
1398
- [max]="12"
1399
- type="number"
1400
- fxFlex="25%"
1401
- (input)="onChange()"
1402
- >
1403
- <input
1404
- [formControl]="minuteControl"
1405
- [step]="minuteStep"
1406
- [min]="0"
1407
- [max]="59"
1408
- type="number"
1409
- fxFlex="25%"
1410
- (input)="onChange()"
1411
- >
1412
- <input
1413
- [formControl]="secondControl"
1414
- [step]="secondStep"
1415
- [min]="0"
1416
- [max]="59"
1417
- type="number"
1418
- fxFlex="25%"
1419
- (input)="onChange()"
1420
- *ngIf="instance?.component?.dataFormat === 'HH:mm:ss' ||
1421
- instance?.component?.dataFormat === 'HH:mm:ss.SSS'"
1422
- >
1423
- <button
1424
- [disabled]="instance?.component?.disabled"
1425
- fxFlex="25%"
1426
- (click)="changePeriod()"
1427
- >
1428
- {{period}}
1429
- </button>
1430
- </div>
1431
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1432
- </div>
1433
- </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>
1434
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"] }] });
1435
1437
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTimeComponent, decorators: [{
1436
1438
  type: Component,
1437
1439
  args: [{
1438
1440
  selector: 'mat-formio-time',
1439
- template: `
1440
- <mat-formio-form-field
1441
- [instance]="instance"
1442
- [componentTemplate]="componentTemplate"
1443
- [renderElementOnly]="renderElementOnly"
1444
- ></mat-formio-form-field>
1445
- <ng-template #componentTemplate let-hasLabel>
1446
- <mat-label fxFill *ngIf="hasLabel">
1447
- <span [instance]="instance" matFormioLabel></span>
1448
- </mat-label>
1449
-
1450
- <div style="display: block">
1451
- <div fxLayout="row" fxLayoutGap="5%">
1452
- <input
1453
- [formControl]="hourControl"
1454
- [step]="hourStep"
1455
- [min]="0"
1456
- [max]="12"
1457
- type="number"
1458
- fxFlex="25%"
1459
- (input)="onChange()"
1460
- >
1461
- <input
1462
- [formControl]="minuteControl"
1463
- [step]="minuteStep"
1464
- [min]="0"
1465
- [max]="59"
1466
- type="number"
1467
- fxFlex="25%"
1468
- (input)="onChange()"
1469
- >
1470
- <input
1471
- [formControl]="secondControl"
1472
- [step]="secondStep"
1473
- [min]="0"
1474
- [max]="59"
1475
- type="number"
1476
- fxFlex="25%"
1477
- (input)="onChange()"
1478
- *ngIf="instance?.component?.dataFormat === 'HH:mm:ss' ||
1479
- instance?.component?.dataFormat === 'HH:mm:ss.SSS'"
1480
- >
1481
- <button
1482
- [disabled]="instance?.component?.disabled"
1483
- fxFlex="25%"
1484
- (click)="changePeriod()"
1485
- >
1486
- {{period}}
1487
- </button>
1488
- </div>
1489
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
1490
- </div>
1491
- </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>
1492
1494
  `
1493
1495
  }]
1494
1496
  }], propDecorators: { selectedEvent: [{
@@ -1541,65 +1543,65 @@ class MaterialCalendarComponent extends MaterialComponent {
1541
1543
  }
1542
1544
  }
1543
1545
  MaterialCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialCalendarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
1544
- 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: `
1545
- <div class="container" fxLayout="row" fxLayout.xs="column" fxLayoutGap="0.5%">
1546
- <div [ngStyle]="getPopupStyles()">
1547
- <mat-card style="padding: 0;">
1548
- <mat-calendar
1549
- [dateFilter]="dateFilter"
1550
- [maxDate]="maxDate"
1551
- [minDate]="minDate"
1552
- [selected]="selectedDate"
1553
- (selectedChange)="onDate($event)"
1554
- class="calendar"
1555
- *ngIf="enableDate !== false"
1556
- >
1557
- </mat-calendar>
1558
- <mat-formio-time
1559
- #time
1560
- [hourStep]="hourStep"
1561
- [instance]="instance"
1562
- [renderElementOnly]="true"
1563
- [minuteStep]="minuteStep"
1564
- (selectedEvent)="onTime($event)"
1565
- class="ml-3 formio-time"
1566
- *ngIf="enableTime"
1567
- >
1568
- </mat-formio-time>
1569
- </mat-card>
1570
- </div>
1571
- </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>
1572
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"] }] });
1573
1575
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialCalendarComponent, decorators: [{
1574
1576
  type: Component,
1575
- args: [{ selector: 'mat-formio-calendar', template: `
1576
- <div class="container" fxLayout="row" fxLayout.xs="column" fxLayoutGap="0.5%">
1577
- <div [ngStyle]="getPopupStyles()">
1578
- <mat-card style="padding: 0;">
1579
- <mat-calendar
1580
- [dateFilter]="dateFilter"
1581
- [maxDate]="maxDate"
1582
- [minDate]="minDate"
1583
- [selected]="selectedDate"
1584
- (selectedChange)="onDate($event)"
1585
- class="calendar"
1586
- *ngIf="enableDate !== false"
1587
- >
1588
- </mat-calendar>
1589
- <mat-formio-time
1590
- #time
1591
- [hourStep]="hourStep"
1592
- [instance]="instance"
1593
- [renderElementOnly]="true"
1594
- [minuteStep]="minuteStep"
1595
- (selectedEvent)="onTime($event)"
1596
- class="ml-3 formio-time"
1597
- *ngIf="enableTime"
1598
- >
1599
- </mat-formio-time>
1600
- </mat-card>
1601
- </div>
1602
- </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>
1603
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"] }]
1604
1606
  }], propDecorators: { time: [{
1605
1607
  type: ViewChild,
@@ -2010,35 +2012,35 @@ class MaterialCheckboxComponent extends MaterialComponent {
2010
2012
  }
2011
2013
  }
2012
2014
  MaterialCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialCheckboxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2013
- MaterialCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialCheckboxComponent, selector: "mat-formio-checkbox", usesInheritance: true, ngImport: i0, template: `
2014
- <mat-checkbox (change)="onChange()" [ngClass]="{'validation-error' : !!instance.error}"
2015
- [formControl]="control"
2016
- >
2017
- <span matFormioLabel [instance]="instance"></span>
2018
- <mat-icon *ngIf="instance.component.tooltip" matSuffix
2019
- matTooltip="{{ instance.component.tooltip }}" style="font-size: 1rem;">info
2020
- </mat-icon>
2021
- </mat-checkbox>
2022
- <mat-hint>
2023
- {{ instance.component.description }}
2024
- </mat-hint>
2025
- <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>
2026
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"] }] });
2027
2029
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialCheckboxComponent, decorators: [{
2028
2030
  type: Component,
2029
- args: [{ selector: 'mat-formio-checkbox', template: `
2030
- <mat-checkbox (change)="onChange()" [ngClass]="{'validation-error' : !!instance.error}"
2031
- [formControl]="control"
2032
- >
2033
- <span matFormioLabel [instance]="instance"></span>
2034
- <mat-icon *ngIf="instance.component.tooltip" matSuffix
2035
- matTooltip="{{ instance.component.tooltip }}" style="font-size: 1rem;">info
2036
- </mat-icon>
2037
- </mat-checkbox>
2038
- <mat-hint>
2039
- {{ instance.component.description }}
2040
- </mat-hint>
2041
- <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>
2042
2044
  `, styles: ["::ng-deep .mat-checkbox.validation-error .mat-checkbox-frame{border-color:red}\n"] }]
2043
2045
  }] });
2044
2046
  CheckboxComponent.MaterialComponent = MaterialCheckboxComponent;
@@ -2046,39 +2048,39 @@ CheckboxComponent.MaterialComponent = MaterialCheckboxComponent;
2046
2048
  class MaterialFieldsetComponent extends MaterialNestedComponent {
2047
2049
  }
2048
2050
  MaterialFieldsetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialFieldsetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2049
- MaterialFieldsetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialFieldsetComponent, selector: "mat-formio-fieldset", usesInheritance: true, ngImport: i0, template: `
2050
- <fieldset>
2051
- <legend [attr.ref]="'header'">
2052
- {{ instance.component.legend }}
2053
- <mat-icon *ngIf="instance.component.tooltip"
2054
- matSuffix
2055
- matTooltip="{{ instance.component.tooltip }}"
2056
- >
2057
- info
2058
- </mat-icon>
2059
- </legend>
2060
- <div class="fieldset-body" [attr.ref]="instance.component.key" fxLayout="column" fxLayoutGap="1em">
2061
- <ng-template #components></ng-template>
2062
- </div>
2063
- </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>
2064
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"] }] });
2065
2067
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialFieldsetComponent, decorators: [{
2066
2068
  type: Component,
2067
- args: [{ selector: 'mat-formio-fieldset', template: `
2068
- <fieldset>
2069
- <legend [attr.ref]="'header'">
2070
- {{ instance.component.legend }}
2071
- <mat-icon *ngIf="instance.component.tooltip"
2072
- matSuffix
2073
- matTooltip="{{ instance.component.tooltip }}"
2074
- >
2075
- info
2076
- </mat-icon>
2077
- </legend>
2078
- <div class="fieldset-body" [attr.ref]="instance.component.key" fxLayout="column" fxLayoutGap="1em">
2079
- <ng-template #components></ng-template>
2080
- </div>
2081
- </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>
2082
2084
  ` }]
2083
2085
  }] });
2084
2086
  FieldsetComponent.MaterialComponent = MaterialFieldsetComponent;
@@ -2107,77 +2109,77 @@ class MaterialSignatureComponent extends MaterialComponent {
2107
2109
  }
2108
2110
  }
2109
2111
  MaterialSignatureComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSignatureComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2110
- 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: `
2111
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2112
- <ng-template #componentTemplate let-hasLabel>
2113
- <div #signature>
2114
-
2115
- <mat-label *ngIf="hasLabel">
2116
- <span [instance]="instance" matFormioLabel></span>
2117
- </mat-label>
2118
-
2119
- <button mat-icon-button [ngStyle]="{position: 'absolute'}" ref="refresh">
2120
- <mat-icon>refresh</mat-icon>
2121
- </button>
2122
-
2123
- <div class="signature-pad-body"
2124
- [ngStyle]="{width: instance.component.width, height: instance.component.height, padding: 0, margin: 0}"
2125
- [attr.tabindex]="instance.component.tabindex || 0"
2126
- ref="padBody"
2127
- >
2128
- <canvas class="signature-pad-canvas"
2129
- [attr.height]="instance.component.height"
2130
- ref="canvas"
2131
- ></canvas>
2132
- <img fxFlexFill [ngStyle]="{display: 'none' }" ref="signatureImage">
2133
- </div>
2134
- <div *ngIf="instance.component.footer"
2135
- class="signature-pad-footer"
2136
- fxLayout="row"
2137
- fxLayoutAlign="center center"
2138
- >
2139
- <mat-hint>{{ instance.t(instance.component.footer) }}</mat-hint>
2140
- </div>
2141
- </div>
2142
- </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>
2143
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"] }] });
2144
2146
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSignatureComponent, decorators: [{
2145
2147
  type: Component,
2146
2148
  args: [{
2147
2149
  selector: 'mat-formio-signature',
2148
- template: `
2149
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2150
- <ng-template #componentTemplate let-hasLabel>
2151
- <div #signature>
2152
-
2153
- <mat-label *ngIf="hasLabel">
2154
- <span [instance]="instance" matFormioLabel></span>
2155
- </mat-label>
2156
-
2157
- <button mat-icon-button [ngStyle]="{position: 'absolute'}" ref="refresh">
2158
- <mat-icon>refresh</mat-icon>
2159
- </button>
2160
-
2161
- <div class="signature-pad-body"
2162
- [ngStyle]="{width: instance.component.width, height: instance.component.height, padding: 0, margin: 0}"
2163
- [attr.tabindex]="instance.component.tabindex || 0"
2164
- ref="padBody"
2165
- >
2166
- <canvas class="signature-pad-canvas"
2167
- [attr.height]="instance.component.height"
2168
- ref="canvas"
2169
- ></canvas>
2170
- <img fxFlexFill [ngStyle]="{display: 'none' }" ref="signatureImage">
2171
- </div>
2172
- <div *ngIf="instance.component.footer"
2173
- class="signature-pad-footer"
2174
- fxLayout="row"
2175
- fxLayoutAlign="center center"
2176
- >
2177
- <mat-hint>{{ instance.t(instance.component.footer) }}</mat-hint>
2178
- </div>
2179
- </div>
2180
- </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>
2181
2183
  `
2182
2184
  }]
2183
2185
  }], propDecorators: { signatureElement: [{
@@ -2232,109 +2234,109 @@ class MaterialSurveyComponent extends MaterialComponent {
2232
2234
  }
2233
2235
  }
2234
2236
  MaterialSurveyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSurveyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2235
- MaterialSurveyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialSurveyComponent, selector: "mat-formio-survey", usesInheritance: true, ngImport: i0, template: `
2236
-
2237
- <mat-formio-form-field
2238
- [instance]="instance"
2239
- [componentTemplate]="componentTemplate"
2240
- [showDescription]="false"
2241
- ></mat-formio-form-field>
2242
- <ng-template #componentTemplate let-hasLabel>
2243
-
2244
- <table class="mat-elevation-z8 mat-table" fxFill>
2245
- <thead>
2246
- <tr class="mat-header-row">
2247
- <th class="mat-header-cell">
2248
- <h2 *ngIf="hasLabel">
2249
- <span [instance]="instance" matFormioLabel></span>
2250
- </h2>
2251
- </th>
2252
- <th class="mat-header-cell"
2253
- *ngFor="let value of instance.component.values"
2254
- style="text-align: center;"
2255
- >
2256
- {{ value.label }}
2257
- </th>
2258
- </tr>
2259
- </thead>
2260
-
2261
- <tbody>
2262
- <tr class="mat-row" *ngFor="let question of instance.component.questions; index as i;">
2263
- <td class="mat-cell">{{ question.label }}</td>
2264
- <td class="mat-cell"
2265
- *ngFor="let value of instance.component.values; index as j;"
2266
- style="text-align: center;"
2267
- >
2268
- <mat-radio-group (change)="onChange()"
2269
- [formControl]="getFormControl(question.value)"
2270
- [name]="getUniqueName(question.value)"
2271
- >
2272
- <mat-radio-button [value]="value.value"></mat-radio-button>
2273
- </mat-radio-group>
2274
- </td>
2275
- </tr>
2276
- <mat-hint *ngIf="instance.component.description" class="mat-formio-component-description">
2277
- {{ instance.component.description }}
2278
- </mat-hint>
2279
- </tbody>
2280
-
2281
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2282
- </table>
2283
- </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>
2284
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"] }] });
2285
2287
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSurveyComponent, decorators: [{
2286
2288
  type: Component,
2287
2289
  args: [{
2288
2290
  selector: 'mat-formio-survey',
2289
- template: `
2290
-
2291
- <mat-formio-form-field
2292
- [instance]="instance"
2293
- [componentTemplate]="componentTemplate"
2294
- [showDescription]="false"
2295
- ></mat-formio-form-field>
2296
- <ng-template #componentTemplate let-hasLabel>
2297
-
2298
- <table class="mat-elevation-z8 mat-table" fxFill>
2299
- <thead>
2300
- <tr class="mat-header-row">
2301
- <th class="mat-header-cell">
2302
- <h2 *ngIf="hasLabel">
2303
- <span [instance]="instance" matFormioLabel></span>
2304
- </h2>
2305
- </th>
2306
- <th class="mat-header-cell"
2307
- *ngFor="let value of instance.component.values"
2308
- style="text-align: center;"
2309
- >
2310
- {{ value.label }}
2311
- </th>
2312
- </tr>
2313
- </thead>
2314
-
2315
- <tbody>
2316
- <tr class="mat-row" *ngFor="let question of instance.component.questions; index as i;">
2317
- <td class="mat-cell">{{ question.label }}</td>
2318
- <td class="mat-cell"
2319
- *ngFor="let value of instance.component.values; index as j;"
2320
- style="text-align: center;"
2321
- >
2322
- <mat-radio-group (change)="onChange()"
2323
- [formControl]="getFormControl(question.value)"
2324
- [name]="getUniqueName(question.value)"
2325
- >
2326
- <mat-radio-button [value]="value.value"></mat-radio-button>
2327
- </mat-radio-group>
2328
- </td>
2329
- </tr>
2330
- <mat-hint *ngIf="instance.component.description" class="mat-formio-component-description">
2331
- {{ instance.component.description }}
2332
- </mat-hint>
2333
- </tbody>
2334
-
2335
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2336
- </table>
2337
- </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>
2338
2340
  `
2339
2341
  }]
2340
2342
  }] });
@@ -2360,65 +2362,65 @@ class MaterialRadioComponent extends MaterialComponent {
2360
2362
  }
2361
2363
  }
2362
2364
  MaterialRadioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialRadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2363
- MaterialRadioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialRadioComponent, selector: "mat-formio-radio", usesInheritance: true, ngImport: i0, template: `
2364
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2365
- <ng-template #componentTemplate let-hasLabel>
2366
- <div fxLayout="column">
2367
- <mat-label *ngIf="hasLabel">
2368
- <span [instance]="instance" matFormioLabel></span>
2369
- </mat-label>
2370
-
2371
- <mat-radio-group
2372
- (change)="onChange()"
2373
- [formControl]="control"
2374
- fxFlexOffset="10px"
2375
- fxLayout="{{ getLayout() }}"
2376
- fxLayoutGap="10px"
2377
- >
2378
- <mat-radio-button *ngFor="let option of instance.component.values"
2379
- value="{{ option.value }}"
2380
- [checked]="isRadioChecked(option)"
2381
- (keyup.space)="clearValue($event, option)"
2382
- (click)="clearValue($event, option)"
2383
- >
2384
- {{ option.label }}
2385
- </mat-radio-button>
2386
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2387
- </mat-radio-group>
2388
- </div>
2389
- </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>
2390
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"] }] });
2391
2393
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialRadioComponent, decorators: [{
2392
2394
  type: Component,
2393
2395
  args: [{
2394
2396
  selector: 'mat-formio-radio',
2395
- template: `
2396
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2397
- <ng-template #componentTemplate let-hasLabel>
2398
- <div fxLayout="column">
2399
- <mat-label *ngIf="hasLabel">
2400
- <span [instance]="instance" matFormioLabel></span>
2401
- </mat-label>
2402
-
2403
- <mat-radio-group
2404
- (change)="onChange()"
2405
- [formControl]="control"
2406
- fxFlexOffset="10px"
2407
- fxLayout="{{ getLayout() }}"
2408
- fxLayoutGap="10px"
2409
- >
2410
- <mat-radio-button *ngFor="let option of instance.component.values"
2411
- value="{{ option.value }}"
2412
- [checked]="isRadioChecked(option)"
2413
- (keyup.space)="clearValue($event, option)"
2414
- (click)="clearValue($event, option)"
2415
- >
2416
- {{ option.label }}
2417
- </mat-radio-button>
2418
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2419
- </mat-radio-group>
2420
- </div>
2421
- </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>
2422
2424
  `
2423
2425
  }]
2424
2426
  }] });
@@ -2456,59 +2458,59 @@ class MaterialSelectBoxesComponent extends MaterialRadioComponent {
2456
2458
  }
2457
2459
  }
2458
2460
  MaterialSelectBoxesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSelectBoxesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2459
- MaterialSelectBoxesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialSelectBoxesComponent, selector: "mat-formio-selectboxes", usesInheritance: true, ngImport: i0, template: `
2460
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2461
- <ng-template #componentTemplate let-hasLabel>
2462
- <div fxLayout="column">
2463
- <mat-label *ngIf="hasLabel">
2464
- <span [instance]="instance" matFormioLabel></span>
2465
- </mat-label>
2466
- <div
2467
- fxFlexOffset="10px"
2468
- fxLayout="{{ getLayout() }}"
2469
- fxLayoutGap="10px"
2470
- >
2471
- <mat-checkbox
2472
- *ngFor="let option of instance.component.values"
2473
- (change)="onChange()"
2474
- [(ngModel)]="value[option.value]"
2475
- [disabled]="disabled"
2476
- >
2477
- {{ option.label }}
2478
- </mat-checkbox>
2479
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2480
- </div>
2481
- </div>
2482
- </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>
2483
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"] }] });
2484
2486
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSelectBoxesComponent, decorators: [{
2485
2487
  type: Component,
2486
2488
  args: [{
2487
2489
  selector: 'mat-formio-selectboxes',
2488
- template: `
2489
- <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2490
- <ng-template #componentTemplate let-hasLabel>
2491
- <div fxLayout="column">
2492
- <mat-label *ngIf="hasLabel">
2493
- <span [instance]="instance" matFormioLabel></span>
2494
- </mat-label>
2495
- <div
2496
- fxFlexOffset="10px"
2497
- fxLayout="{{ getLayout() }}"
2498
- fxLayoutGap="10px"
2499
- >
2500
- <mat-checkbox
2501
- *ngFor="let option of instance.component.values"
2502
- (change)="onChange()"
2503
- [(ngModel)]="value[option.value]"
2504
- [disabled]="disabled"
2505
- >
2506
- {{ option.label }}
2507
- </mat-checkbox>
2508
- <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2509
- </div>
2510
- </div>
2511
- </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>
2512
2514
  `
2513
2515
  }]
2514
2516
  }] });
@@ -2595,20 +2597,24 @@ MaterialSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
2595
2597
  <mat-option>
2596
2598
  <ngx-mat-select-search placeholderLabel="Type to search" [formControl]="websiteMultiFilterCtrl"></ngx-mat-select-search>
2597
2599
  </mat-option>
2598
-
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>
2599
2610
  <mat-option *ngFor="let option of filteredOptions | async" [value]="option.value">
2600
2611
  <span [innerHTML]="option.label"></span>
2601
2612
  </mat-option>
2613
+ </ng-template>
2602
2614
 
2603
- <!-- <div class="mat-option">
2604
- <input class="mat-input-element" placeholder="Type to search the risk" (input)="onFilter($event.target.value)">
2605
- </div> -->
2606
2615
  <mat-option *ngIf="!filteredOptionsLength" disabled>
2607
2616
  <span>Nothing was found</span>
2608
2617
  </mat-option>
2609
- <!-- <mat-option *ngFor="let option of filteredOptions | async" [value]="option.value">
2610
- <span [innerHTML]="option.label"></span>
2611
- </mat-option> -->
2612
2618
  </mat-select>
2613
2619
 
2614
2620
  <span *ngIf="instance.component.suffix" matSuffix>
@@ -2617,12 +2623,10 @@ MaterialSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
2617
2623
  <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2618
2624
  </mat-form-field>
2619
2625
  </ng-template>
2620
- `, 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" }] });
2621
2627
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialSelectComponent, decorators: [{
2622
2628
  type: Component,
2623
- args: [{
2624
- selector: 'mat-formio-select',
2625
- template: `
2629
+ args: [{ selector: 'mat-formio-select', template: `
2626
2630
  <mat-formio-form-field [instance]="instance" [componentTemplate]="componentTemplate"></mat-formio-form-field>
2627
2631
  <ng-template #componentTemplate let-hasLabel>
2628
2632
  <mat-form-field fxFill>
@@ -2645,20 +2649,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2645
2649
  <mat-option>
2646
2650
  <ngx-mat-select-search placeholderLabel="Type to search" [formControl]="websiteMultiFilterCtrl"></ngx-mat-select-search>
2647
2651
  </mat-option>
2648
-
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>
2649
2662
  <mat-option *ngFor="let option of filteredOptions | async" [value]="option.value">
2650
2663
  <span [innerHTML]="option.label"></span>
2651
2664
  </mat-option>
2665
+ </ng-template>
2652
2666
 
2653
- <!-- <div class="mat-option">
2654
- <input class="mat-input-element" placeholder="Type to search the risk" (input)="onFilter($event.target.value)">
2655
- </div> -->
2656
2667
  <mat-option *ngIf="!filteredOptionsLength" disabled>
2657
2668
  <span>Nothing was found</span>
2658
2669
  </mat-option>
2659
- <!-- <mat-option *ngFor="let option of filteredOptions | async" [value]="option.value">
2660
- <span [innerHTML]="option.label"></span>
2661
- </mat-option> -->
2662
2670
  </mat-select>
2663
2671
 
2664
2672
  <span *ngIf="instance.component.suffix" matSuffix>
@@ -2667,8 +2675,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
2667
2675
  <mat-error *ngIf="instance.error">{{ instance.error.message }}</mat-error>
2668
2676
  </mat-form-field>
2669
2677
  </ng-template>
2670
- `
2671
- }]
2678
+ `, styles: [".example-viewport{height:200px}\n"] }]
2672
2679
  }], propDecorators: { multiSelect: [{
2673
2680
  type: ViewChild,
2674
2681
  args: ['multiSelect', { static: true }]
@@ -2686,33 +2693,33 @@ SelectComponent.prototype.setItems = function (...args) {
2686
2693
  class MaterialWellComponent extends MaterialNestedComponent {
2687
2694
  }
2688
2695
  MaterialWellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialWellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2689
- MaterialWellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialWellComponent, selector: "mat-formio-well", usesInheritance: true, ngImport: i0, template: `
2690
- <mat-card>
2691
- <mat-card-content fxLayout="column"
2692
- fxLayoutGap="1em"
2693
- [ngStyle]="{
2694
- 'background-color':'#f5f5f5',
2695
- 'padding': '1.5em'
2696
- }"
2697
- >
2698
- <ng-template #components></ng-template>
2699
- </mat-card-content>
2700
- </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>
2701
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]" }] });
2702
2709
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialWellComponent, decorators: [{
2703
2710
  type: Component,
2704
- args: [{ selector: 'mat-formio-well', template: `
2705
- <mat-card>
2706
- <mat-card-content fxLayout="column"
2707
- fxLayoutGap="1em"
2708
- [ngStyle]="{
2709
- 'background-color':'#f5f5f5',
2710
- 'padding': '1.5em'
2711
- }"
2712
- >
2713
- <ng-template #components></ng-template>
2714
- </mat-card-content>
2715
- </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>
2716
2723
  ` }]
2717
2724
  }] });
2718
2725
  WellComponent.MaterialComponent = MaterialWellComponent;
@@ -2796,151 +2803,151 @@ class MaterialDataGridComponent extends MaterialNestedComponent {
2796
2803
  }
2797
2804
  }
2798
2805
  MaterialDataGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialDataGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
2799
- MaterialDataGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialDataGridComponent, selector: "mat-formio-datagrid", usesInheritance: true, ngImport: i0, template: `
2800
- <mat-formio-form-field [instance]="instance"
2801
- [componentTemplate]="componentTemplate"
2802
- [labelTemplate]="labelTemplate"
2803
- ></mat-formio-form-field>
2804
- <ng-template #componentTemplate let-hasLabel>
2805
- <mat-card fxFill>
2806
- <ng-container *ngIf="hasLabel">
2807
- <ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
2808
- </ng-container>
2809
- <mat-card-content>
2810
- <mat-card-actions
2811
- *ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
2812
- <button mat-raised-button color="primary" (click)="addAnother()">
2813
- <mat-icon>add</mat-icon>
2814
- {{instance.component.addAnother || 'Add Another'}}
2815
- </button>
2816
- </mat-card-actions>
2817
- <table
2818
- mat-table
2819
- [dataSource]="dataSource"
2820
- class="mat-elevation-z8"
2821
- fxFill
2822
- cdkDropList
2823
- [cdkDropListData]="dataSource"
2824
- (cdkDropListDropped)="dropTable($event)">
2825
- >
2826
- <ng-container *ngFor="let column of formColumns" [matColumnDef]="column">
2827
- <th mat-header-cell *matHeaderCellDef>{{ getColumnLabel(columns[column]) }}</th>
2828
- <td mat-cell *matCellDef="let i = index;" [attr.rowIndex]="i" [attr.component]="column">
2829
- <ng-template #components></ng-template>
2830
- </td>
2831
- </ng-container>
2832
- <ng-container matColumnDef="__removeRow">
2833
- <th mat-header-cell *matHeaderCellDef></th>
2834
- <td mat-cell *matCellDef="let i = index;">
2835
- <button mat-button *ngIf="instance.hasRemoveButtons()" (click)="removeRow(i)">
2836
- <mat-icon aria-hidden="false" aria-label="Remove row">delete</mat-icon>
2837
- </button>
2838
- </td>
2839
- </ng-container>
2840
- <ng-container matColumnDef="position" *ngIf="instance.component.reorder">
2841
- <th mat-header-cell *matHeaderCellDef> No.</th>
2842
- <td mat-cell *matCellDef="let element">
2843
- <mat-icon cdkDragHandle>reorder</mat-icon>
2844
- </td>
2845
- </ng-container>
2846
- <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
2847
- <div *ngIf="instance?.component?.reorder">
2848
- <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;" cdkDrag
2849
- [cdkDragData]="row"></tr>
2850
- </div>
2851
- <div *ngIf="!instance?.component?.reorder">
2852
- <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
2853
- </div>
2854
- </table>
2855
- </mat-card-content>
2856
- <mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
2857
- <button mat-raised-button color="primary" (click)="addAnother()">
2858
- <mat-icon>add</mat-icon>
2859
- {{instance.component.addAnother || 'Add Another'}}
2860
- </button>
2861
- </mat-card-actions>
2862
- </mat-card>
2863
- </ng-template>
2864
-
2865
- <ng-template #labelTemplate>
2866
- <mat-card-title>
2867
- <span [instance]="instance" matFormioLabel></span>
2868
- </mat-card-title>
2869
- </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>
2870
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"] }] });
2871
2878
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialDataGridComponent, decorators: [{
2872
2879
  type: Component,
2873
- args: [{ selector: 'mat-formio-datagrid', template: `
2874
- <mat-formio-form-field [instance]="instance"
2875
- [componentTemplate]="componentTemplate"
2876
- [labelTemplate]="labelTemplate"
2877
- ></mat-formio-form-field>
2878
- <ng-template #componentTemplate let-hasLabel>
2879
- <mat-card fxFill>
2880
- <ng-container *ngIf="hasLabel">
2881
- <ng-container *ngTemplateOutlet="labelTemplate"></ng-container>
2882
- </ng-container>
2883
- <mat-card-content>
2884
- <mat-card-actions
2885
- *ngIf="instance.hasAddButton() && (instance.component.addAnotherPosition === 'both' || instance.component.addAnotherPosition === 'top')">
2886
- <button mat-raised-button color="primary" (click)="addAnother()">
2887
- <mat-icon>add</mat-icon>
2888
- {{instance.component.addAnother || 'Add Another'}}
2889
- </button>
2890
- </mat-card-actions>
2891
- <table
2892
- mat-table
2893
- [dataSource]="dataSource"
2894
- class="mat-elevation-z8"
2895
- fxFill
2896
- cdkDropList
2897
- [cdkDropListData]="dataSource"
2898
- (cdkDropListDropped)="dropTable($event)">
2899
- >
2900
- <ng-container *ngFor="let column of formColumns" [matColumnDef]="column">
2901
- <th mat-header-cell *matHeaderCellDef>{{ getColumnLabel(columns[column]) }}</th>
2902
- <td mat-cell *matCellDef="let i = index;" [attr.rowIndex]="i" [attr.component]="column">
2903
- <ng-template #components></ng-template>
2904
- </td>
2905
- </ng-container>
2906
- <ng-container matColumnDef="__removeRow">
2907
- <th mat-header-cell *matHeaderCellDef></th>
2908
- <td mat-cell *matCellDef="let i = index;">
2909
- <button mat-button *ngIf="instance.hasRemoveButtons()" (click)="removeRow(i)">
2910
- <mat-icon aria-hidden="false" aria-label="Remove row">delete</mat-icon>
2911
- </button>
2912
- </td>
2913
- </ng-container>
2914
- <ng-container matColumnDef="position" *ngIf="instance.component.reorder">
2915
- <th mat-header-cell *matHeaderCellDef> No.</th>
2916
- <td mat-cell *matCellDef="let element">
2917
- <mat-icon cdkDragHandle>reorder</mat-icon>
2918
- </td>
2919
- </ng-container>
2920
- <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
2921
- <div *ngIf="instance?.component?.reorder">
2922
- <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;" cdkDrag
2923
- [cdkDragData]="row"></tr>
2924
- </div>
2925
- <div *ngIf="!instance?.component?.reorder">
2926
- <tr class="datagrid-row" mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
2927
- </div>
2928
- </table>
2929
- </mat-card-content>
2930
- <mat-card-actions *ngIf="instance.hasAddButton() && instance.component.addAnotherPosition !== 'top'">
2931
- <button mat-raised-button color="primary" (click)="addAnother()">
2932
- <mat-icon>add</mat-icon>
2933
- {{instance.component.addAnother || 'Add Another'}}
2934
- </button>
2935
- </mat-card-actions>
2936
- </mat-card>
2937
- </ng-template>
2938
-
2939
- <ng-template #labelTemplate>
2940
- <mat-card-title>
2941
- <span [instance]="instance" matFormioLabel></span>
2942
- </mat-card-title>
2943
- </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>
2944
2951
  `, styles: [".datagrid-row{height:auto}\n"] }]
2945
2952
  }] });
2946
2953
  DataGridComponent.MaterialComponent = MaterialDataGridComponent;
@@ -2988,29 +2995,29 @@ EditGridComponent.prototype.checkRow = function (data, editRow, flags = {}) {
2988
2995
  /* tslint:enable only-arrow-functions */
2989
2996
  const DEFAULT_HEADER_TEMPLATES = [
2990
2997
  hashCode(EditGridComponent.defaultHeaderTemplate),
2991
- hashCode(`
2992
- <div class="row">
2993
- {% (components || []).forEach(function(component) { %}
2994
- <div class="col-sm-2">{{ component.label }}</div>
2995
- {% }) %}
2998
+ hashCode(`
2999
+ <div class="row">
3000
+ {% (components || []).forEach(function(component) { %}
3001
+ <div class="col-sm-2">{{ component.label }}</div>
3002
+ {% }) %}
2996
3003
  </div>`)
2997
3004
  ];
2998
3005
  const DEFAULT_ROW_TEMPLATES = [
2999
3006
  hashCode(EditGridComponent.defaultRowTemplate),
3000
- hashCode(`<div class="row">
3001
- {% util.eachComponent(components, function(component) { %}
3002
- <div class="col-sm-2">
3003
- {{ getView(component, row[component.key]) }}
3004
- </div>
3005
- {% }) %}
3006
- {% if (!instance.options.readOnly) { %}
3007
- <div class="col-sm-2">
3008
- <div class="btn-group pull-right">
3009
- <button class="btn btn-default btn-sm editRow">Edit</button>
3010
- <button class="btn btn-danger btn-sm removeRow">Delete</button>
3011
- </div>
3012
- </div>
3013
- {% } %}
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
+ {% } %}
3014
3021
  </div>`)
3015
3022
  ];
3016
3023
  class MaterialEditGridComponent extends MaterialNestedComponent {
@@ -3022,12 +3029,12 @@ class MaterialEditGridComponent extends MaterialNestedComponent {
3022
3029
  this.RowStates = EditRowState;
3023
3030
  }
3024
3031
  getRowTemplate(content) {
3025
- return `<mat-list style="display: flex;">
3026
- {% (components || []).forEach(function(component) { %}
3027
- {% if (!component.hasOwnProperty('tableView') || component.tableView) { %}
3028
- <mat-list-item style="width: {{ colWidth }}%; margin: 0 0.8rem">${content}</mat-list-item>
3029
- {% } %}
3030
- {% }) %}
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
+ {% }) %}
3031
3038
  </mat-list>`;
3032
3039
  }
3033
3040
  validate(index) {
@@ -3162,10 +3169,10 @@ class MaterialEditGridComponent extends MaterialNestedComponent {
3162
3169
  }
3163
3170
  }
3164
3171
  MaterialEditGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialEditGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
3165
- 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"] });
3166
3173
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialEditGridComponent, decorators: [{
3167
3174
  type: Component,
3168
- 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"] }]
3169
3176
  }], propDecorators: { headerElement: [{
3170
3177
  type: ViewChild,
3171
3178
  args: ['header']
@@ -3202,71 +3209,71 @@ class MaterialTableComponent extends MaterialNestedComponent {
3202
3209
  }
3203
3210
  }
3204
3211
  MaterialTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTableComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
3205
- MaterialTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTableComponent, selector: "mat-formio-table", usesInheritance: true, ngImport: i0, template: `
3206
- <table class="mat-table" style="width: 100%;" [ngClass]="{'is-bordered' : instance.component.bordered}">
3207
- <thead>
3208
- <tr class="mat-header-row">
3209
- <th *ngFor="let header of instance.component.header"
3210
- class="mat-header-cell"
3211
- >
3212
- {{ instance.t(header) }}
3213
- </th>
3214
- </tr>
3215
- </thead>
3216
-
3217
- <tbody>
3218
- <tr *ngFor="let row of instance.table; let i = index"
3219
- role="row"
3220
- class="mat-row"
3221
- [ngClass]="{
3222
- 'is-hover': instance.component.hover,
3223
- 'is-striped': instance.component.striped && i % 2 === 0
3224
- }"
3225
- >
3226
- <td *ngFor="let col of row"
3227
- role="gridcell"
3228
- class="mat-cell"
3229
- [ngClass]="getTableColClasses()"
3230
- >
3231
- <ng-template #components></ng-template>
3232
- </td>
3233
- </tr>
3234
- </tbody>
3235
- </table>
3212
+ MaterialTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: MaterialTableComponent, selector: "mat-formio-table", usesInheritance: true, ngImport: i0, template: `
3213
+ <table class="mat-table" style="width: 100%;" [ngClass]="{'is-bordered' : instance.component.bordered}">
3214
+ <thead>
3215
+ <tr class="mat-header-row">
3216
+ <th *ngFor="let header of instance.component.header"
3217
+ class="mat-header-cell"
3218
+ >
3219
+ {{ instance.t(header) }}
3220
+ </th>
3221
+ </tr>
3222
+ </thead>
3223
+
3224
+ <tbody>
3225
+ <tr *ngFor="let row of instance.table; let i = index"
3226
+ role="row"
3227
+ class="mat-row"
3228
+ [ngClass]="{
3229
+ 'is-hover': instance.component.hover,
3230
+ 'is-striped': instance.component.striped && i % 2 === 0
3231
+ }"
3232
+ >
3233
+ <td *ngFor="let col of row"
3234
+ role="gridcell"
3235
+ class="mat-cell"
3236
+ [ngClass]="getTableColClasses()"
3237
+ >
3238
+ <ng-template #components></ng-template>
3239
+ </td>
3240
+ </tr>
3241
+ </tbody>
3242
+ </table>
3236
3243
  `, 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"] }] });
3237
3244
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialTableComponent, decorators: [{
3238
3245
  type: Component,
3239
- args: [{ selector: 'mat-formio-table', template: `
3240
- <table class="mat-table" style="width: 100%;" [ngClass]="{'is-bordered' : instance.component.bordered}">
3241
- <thead>
3242
- <tr class="mat-header-row">
3243
- <th *ngFor="let header of instance.component.header"
3244
- class="mat-header-cell"
3245
- >
3246
- {{ instance.t(header) }}
3247
- </th>
3248
- </tr>
3249
- </thead>
3250
-
3251
- <tbody>
3252
- <tr *ngFor="let row of instance.table; let i = index"
3253
- role="row"
3254
- class="mat-row"
3255
- [ngClass]="{
3256
- 'is-hover': instance.component.hover,
3257
- 'is-striped': instance.component.striped && i % 2 === 0
3258
- }"
3259
- >
3260
- <td *ngFor="let col of row"
3261
- role="gridcell"
3262
- class="mat-cell"
3263
- [ngClass]="getTableColClasses()"
3264
- >
3265
- <ng-template #components></ng-template>
3266
- </td>
3267
- </tr>
3268
- </tbody>
3269
- </table>
3246
+ args: [{ selector: 'mat-formio-table', template: `
3247
+ <table class="mat-table" style="width: 100%;" [ngClass]="{'is-bordered' : instance.component.bordered}">
3248
+ <thead>
3249
+ <tr class="mat-header-row">
3250
+ <th *ngFor="let header of instance.component.header"
3251
+ class="mat-header-cell"
3252
+ >
3253
+ {{ instance.t(header) }}
3254
+ </th>
3255
+ </tr>
3256
+ </thead>
3257
+
3258
+ <tbody>
3259
+ <tr *ngFor="let row of instance.table; let i = index"
3260
+ role="row"
3261
+ class="mat-row"
3262
+ [ngClass]="{
3263
+ 'is-hover': instance.component.hover,
3264
+ 'is-striped': instance.component.striped && i % 2 === 0
3265
+ }"
3266
+ >
3267
+ <td *ngFor="let col of row"
3268
+ role="gridcell"
3269
+ class="mat-cell"
3270
+ [ngClass]="getTableColClasses()"
3271
+ >
3272
+ <ng-template #components></ng-template>
3273
+ </td>
3274
+ </tr>
3275
+ </tbody>
3276
+ </table>
3270
3277
  `, 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"] }]
3271
3278
  }] });
3272
3279
  TableComponent.MaterialComponent = MaterialTableComponent;
@@ -3317,31 +3324,31 @@ class MaterialWizardComponent extends MaterialNestedComponent {
3317
3324
  }
3318
3325
  }
3319
3326
  MaterialWizardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialWizardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
3320
- 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: `
3321
- <mat-horizontal-stepper [linear]="isLinear" #stepper>
3322
- <mat-step *ngFor="let page of instance.pages" [label]="page.component.title">
3323
- <ng-template #components></ng-template>
3324
- <div class="navigation-button-row">
3325
- <button *ngIf="instance.hasButton('cancel')" mat-raised-button (click)="resetWizard()">Cancel</button>
3326
- <button *ngIf="instance.hasButton('previous')" mat-raised-button color="primary" (click)="prevPage()">Previous</button>
3327
- <button *ngIf="instance.hasButton('next')" mat-raised-button color="primary" (click)="nextPage()">Next</button>
3328
- <button *ngIf="instance.hasButton('submit')" mat-raised-button color="primary" (click)="submit()">Submit</button>
3329
- </div>
3330
- </mat-step>
3327
+ 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: `
3328
+ <mat-horizontal-stepper [linear]="isLinear" #stepper>
3329
+ <mat-step *ngFor="let page of instance.pages" [label]="page.component.title">
3330
+ <ng-template #components></ng-template>
3331
+ <div class="navigation-button-row">
3332
+ <button *ngIf="instance.hasButton('cancel')" mat-raised-button (click)="resetWizard()">Cancel</button>
3333
+ <button *ngIf="instance.hasButton('previous')" mat-raised-button color="primary" (click)="prevPage()">Previous</button>
3334
+ <button *ngIf="instance.hasButton('next')" mat-raised-button color="primary" (click)="nextPage()">Next</button>
3335
+ <button *ngIf="instance.hasButton('submit')" mat-raised-button color="primary" (click)="submit()">Submit</button>
3336
+ </div>
3337
+ </mat-step>
3331
3338
  </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"] }] });
3332
3339
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MaterialWizardComponent, decorators: [{
3333
3340
  type: Component,
3334
- args: [{ selector: 'mat-formio-wizard', template: `
3335
- <mat-horizontal-stepper [linear]="isLinear" #stepper>
3336
- <mat-step *ngFor="let page of instance.pages" [label]="page.component.title">
3337
- <ng-template #components></ng-template>
3338
- <div class="navigation-button-row">
3339
- <button *ngIf="instance.hasButton('cancel')" mat-raised-button (click)="resetWizard()">Cancel</button>
3340
- <button *ngIf="instance.hasButton('previous')" mat-raised-button color="primary" (click)="prevPage()">Previous</button>
3341
- <button *ngIf="instance.hasButton('next')" mat-raised-button color="primary" (click)="nextPage()">Next</button>
3342
- <button *ngIf="instance.hasButton('submit')" mat-raised-button color="primary" (click)="submit()">Submit</button>
3343
- </div>
3344
- </mat-step>
3341
+ args: [{ selector: 'mat-formio-wizard', template: `
3342
+ <mat-horizontal-stepper [linear]="isLinear" #stepper>
3343
+ <mat-step *ngFor="let page of instance.pages" [label]="page.component.title">
3344
+ <ng-template #components></ng-template>
3345
+ <div class="navigation-button-row">
3346
+ <button *ngIf="instance.hasButton('cancel')" mat-raised-button (click)="resetWizard()">Cancel</button>
3347
+ <button *ngIf="instance.hasButton('previous')" mat-raised-button color="primary" (click)="prevPage()">Previous</button>
3348
+ <button *ngIf="instance.hasButton('next')" mat-raised-button color="primary" (click)="nextPage()">Next</button>
3349
+ <button *ngIf="instance.hasButton('submit')" mat-raised-button color="primary" (click)="submit()">Submit</button>
3350
+ </div>
3351
+ </mat-step>
3345
3352
  </mat-horizontal-stepper>`, styles: [":host .navigation-button-row{margin-top:8px}\n", ":host .navigation-button-row button{margin-right:8px}\n"] }]
3346
3353
  }], propDecorators: { stepper: [{
3347
3354
  type: ViewChild,
@@ -3485,35 +3492,35 @@ class FormioComponent extends FormioBaseComponent {
3485
3492
  }
3486
3493
  }
3487
3494
  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 });
3488
- 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: `
3489
- <mat-spinner *ngIf="isLoading"></mat-spinner>
3490
- <div *ngIf="!this.options?.disableAlerts">
3491
- <div *ngFor="let alert of alerts.alerts"
3492
- class="alert alert-{{ alert.type }}"
3493
- role="alert"
3494
- >
3495
- {{ alert.message }}
3496
- </div>
3497
- </div>
3498
- <div fxLayout="column" fxLayoutGap="1em">
3499
- <ng-template #formio></ng-template>
3500
- </div>
3495
+ 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: `
3496
+ <mat-spinner *ngIf="isLoading"></mat-spinner>
3497
+ <div *ngIf="!this.options?.disableAlerts">
3498
+ <div *ngFor="let alert of alerts.alerts"
3499
+ class="alert alert-{{ alert.type }}"
3500
+ role="alert"
3501
+ >
3502
+ {{ alert.message }}
3503
+ </div>
3504
+ </div>
3505
+ <div fxLayout="column" fxLayoutGap="1em">
3506
+ <ng-template #formio></ng-template>
3507
+ </div>
3501
3508
  `, 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"] }] });
3502
3509
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: FormioComponent, decorators: [{
3503
3510
  type: Component,
3504
- args: [{ selector: 'mat-formio', template: `
3505
- <mat-spinner *ngIf="isLoading"></mat-spinner>
3506
- <div *ngIf="!this.options?.disableAlerts">
3507
- <div *ngFor="let alert of alerts.alerts"
3508
- class="alert alert-{{ alert.type }}"
3509
- role="alert"
3510
- >
3511
- {{ alert.message }}
3512
- </div>
3513
- </div>
3514
- <div fxLayout="column" fxLayoutGap="1em">
3515
- <ng-template #formio></ng-template>
3516
- </div>
3511
+ args: [{ selector: 'mat-formio', template: `
3512
+ <mat-spinner *ngIf="isLoading"></mat-spinner>
3513
+ <div *ngIf="!this.options?.disableAlerts">
3514
+ <div *ngFor="let alert of alerts.alerts"
3515
+ class="alert alert-{{ alert.type }}"
3516
+ role="alert"
3517
+ >
3518
+ {{ alert.message }}
3519
+ </div>
3520
+ </div>
3521
+ <div fxLayout="column" fxLayoutGap="1em">
3522
+ <ng-template #formio></ng-template>
3523
+ </div>
3517
3524
  `, 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"] }]
3518
3525
  }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1$1.FormioAppConfig, decorators: [{
3519
3526
  type: Optional
@@ -3592,6 +3599,7 @@ NgxRenderMaterialFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.
3592
3599
  MatStepperModule,
3593
3600
  MatCardModule,
3594
3601
  DragDropModule,
3602
+ ScrollingModule,
3595
3603
  NgxMatSelectSearchModule], exports: [NgxRenderMaterialFormsComponent,
3596
3604
  FormioComponent,
3597
3605
  MatInputModule,
@@ -3614,6 +3622,7 @@ NgxRenderMaterialFormsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.
3614
3622
  DragDropModule,
3615
3623
  MatStepperModule,
3616
3624
  FlexLayoutModule,
3625
+ ScrollingModule,
3617
3626
  NgxMatSelectSearchModule] });
3618
3627
  NgxRenderMaterialFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: NgxRenderMaterialFormsModule, imports: [CommonModule,
3619
3628
  FormsModule,
@@ -3640,6 +3649,7 @@ NgxRenderMaterialFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.
3640
3649
  MatStepperModule,
3641
3650
  MatCardModule,
3642
3651
  DragDropModule,
3652
+ ScrollingModule,
3643
3653
  NgxMatSelectSearchModule, MatInputModule,
3644
3654
  MatFormFieldModule,
3645
3655
  MatCheckboxModule,
@@ -3660,6 +3670,7 @@ NgxRenderMaterialFormsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.
3660
3670
  DragDropModule,
3661
3671
  MatStepperModule,
3662
3672
  FlexLayoutModule,
3673
+ ScrollingModule,
3663
3674
  NgxMatSelectSearchModule] });
3664
3675
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: NgxRenderMaterialFormsModule, decorators: [{
3665
3676
  type: NgModule,
@@ -3732,6 +3743,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
3732
3743
  MatStepperModule,
3733
3744
  MatCardModule,
3734
3745
  DragDropModule,
3746
+ ScrollingModule,
3735
3747
  NgxMatSelectSearchModule
3736
3748
  ],
3737
3749
  exports: [
@@ -3757,6 +3769,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
3757
3769
  DragDropModule,
3758
3770
  MatStepperModule,
3759
3771
  FlexLayoutModule,
3772
+ ScrollingModule,
3760
3773
  NgxMatSelectSearchModule
3761
3774
  ],
3762
3775
  entryComponents: [