@jsonforms/angular-material 3.2.0-alpha.4 → 3.2.0-beta.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 (100) hide show
  1. package/lib/cjs/controls/autocomplete.renderer.d.ts +2 -3
  2. package/lib/cjs/controls/autocomplete.renderer.js +7 -14
  3. package/lib/cjs/controls/autocomplete.renderer.js.map +1 -1
  4. package/lib/cjs/controls/boolean.renderer.js +4 -10
  5. package/lib/cjs/controls/boolean.renderer.js.map +1 -1
  6. package/lib/cjs/controls/date.renderer.js +4 -10
  7. package/lib/cjs/controls/date.renderer.js.map +1 -1
  8. package/lib/cjs/controls/number.renderer.js +4 -10
  9. package/lib/cjs/controls/number.renderer.js.map +1 -1
  10. package/lib/cjs/controls/range.renderer.d.ts +1 -1
  11. package/lib/cjs/controls/range.renderer.js +5 -11
  12. package/lib/cjs/controls/range.renderer.js.map +1 -1
  13. package/lib/cjs/controls/text.renderer.js +4 -10
  14. package/lib/cjs/controls/text.renderer.js.map +1 -1
  15. package/lib/cjs/controls/textarea.renderer.js +4 -10
  16. package/lib/cjs/controls/textarea.renderer.js.map +1 -1
  17. package/lib/cjs/controls/toggle.renderer.js +4 -5
  18. package/lib/cjs/controls/toggle.renderer.js.map +1 -1
  19. package/lib/cjs/layouts/array-layout.renderer.js +9 -11
  20. package/lib/cjs/layouts/array-layout.renderer.js.map +1 -1
  21. package/lib/cjs/layouts/categorization-layout.renderer.js +4 -5
  22. package/lib/cjs/layouts/categorization-layout.renderer.js.map +1 -1
  23. package/lib/cjs/layouts/group-layout.renderer.js +6 -12
  24. package/lib/cjs/layouts/group-layout.renderer.js.map +1 -1
  25. package/lib/cjs/layouts/horizontal-layout.renderer.js +5 -11
  26. package/lib/cjs/layouts/horizontal-layout.renderer.js.map +1 -1
  27. package/lib/cjs/layouts/layout.renderer.js +6 -6
  28. package/lib/cjs/layouts/vertical-layout.renderer.js +5 -11
  29. package/lib/cjs/layouts/vertical-layout.renderer.js.map +1 -1
  30. package/lib/cjs/module.d.ts +10 -11
  31. package/lib/cjs/module.js +4 -11
  32. package/lib/cjs/module.js.map +1 -1
  33. package/lib/cjs/other/label.renderer.js +4 -8
  34. package/lib/cjs/other/label.renderer.js.map +1 -1
  35. package/lib/cjs/other/master-detail/detail.d.ts +1 -1
  36. package/lib/cjs/other/master-detail/detail.js +3 -3
  37. package/lib/cjs/other/master-detail/master.js +7 -8
  38. package/lib/cjs/other/master-detail/master.js.map +1 -1
  39. package/lib/cjs/other/object.renderer.js +4 -8
  40. package/lib/cjs/other/object.renderer.js.map +1 -1
  41. package/lib/cjs/other/table.renderer.js +3 -3
  42. package/lib/esm/controls/autocomplete.renderer.d.ts +2 -3
  43. package/lib/esm/controls/autocomplete.renderer.js +7 -14
  44. package/lib/esm/controls/autocomplete.renderer.js.map +1 -1
  45. package/lib/esm/controls/boolean.renderer.js +4 -10
  46. package/lib/esm/controls/boolean.renderer.js.map +1 -1
  47. package/lib/esm/controls/date.renderer.js +4 -10
  48. package/lib/esm/controls/date.renderer.js.map +1 -1
  49. package/lib/esm/controls/number.renderer.js +4 -10
  50. package/lib/esm/controls/number.renderer.js.map +1 -1
  51. package/lib/esm/controls/range.renderer.d.ts +1 -1
  52. package/lib/esm/controls/range.renderer.js +5 -11
  53. package/lib/esm/controls/range.renderer.js.map +1 -1
  54. package/lib/esm/controls/text.renderer.js +4 -10
  55. package/lib/esm/controls/text.renderer.js.map +1 -1
  56. package/lib/esm/controls/textarea.renderer.js +4 -10
  57. package/lib/esm/controls/textarea.renderer.js.map +1 -1
  58. package/lib/esm/controls/toggle.renderer.js +4 -5
  59. package/lib/esm/controls/toggle.renderer.js.map +1 -1
  60. package/lib/esm/layouts/array-layout.renderer.js +9 -11
  61. package/lib/esm/layouts/array-layout.renderer.js.map +1 -1
  62. package/lib/esm/layouts/categorization-layout.renderer.js +4 -5
  63. package/lib/esm/layouts/categorization-layout.renderer.js.map +1 -1
  64. package/lib/esm/layouts/group-layout.renderer.js +6 -12
  65. package/lib/esm/layouts/group-layout.renderer.js.map +1 -1
  66. package/lib/esm/layouts/horizontal-layout.renderer.js +5 -11
  67. package/lib/esm/layouts/horizontal-layout.renderer.js.map +1 -1
  68. package/lib/esm/layouts/layout.renderer.js +6 -6
  69. package/lib/esm/layouts/vertical-layout.renderer.js +5 -11
  70. package/lib/esm/layouts/vertical-layout.renderer.js.map +1 -1
  71. package/lib/esm/module.d.ts +10 -11
  72. package/lib/esm/module.js +4 -11
  73. package/lib/esm/module.js.map +1 -1
  74. package/lib/esm/other/label.renderer.js +4 -8
  75. package/lib/esm/other/label.renderer.js.map +1 -1
  76. package/lib/esm/other/master-detail/detail.d.ts +1 -1
  77. package/lib/esm/other/master-detail/detail.js +3 -3
  78. package/lib/esm/other/master-detail/master.js +7 -8
  79. package/lib/esm/other/master-detail/master.js.map +1 -1
  80. package/lib/esm/other/object.renderer.js +4 -8
  81. package/lib/esm/other/object.renderer.js.map +1 -1
  82. package/lib/esm/other/table.renderer.js +3 -3
  83. package/package.json +38 -43
  84. package/src/controls/autocomplete.renderer.ts +13 -3
  85. package/src/controls/boolean.renderer.ts +16 -6
  86. package/src/controls/date.renderer.ts +12 -1
  87. package/src/controls/number.renderer.ts +12 -1
  88. package/src/controls/range.renderer.ts +16 -3
  89. package/src/controls/text.renderer.ts +12 -1
  90. package/src/controls/textarea.renderer.ts +12 -1
  91. package/src/controls/toggle.renderer.ts +1 -1
  92. package/src/layouts/array-layout.renderer.ts +21 -12
  93. package/src/layouts/categorization-layout.renderer.ts +4 -1
  94. package/src/layouts/group-layout.renderer.ts +18 -2
  95. package/src/layouts/horizontal-layout.renderer.ts +16 -5
  96. package/src/layouts/vertical-layout.renderer.ts +13 -2
  97. package/src/module.ts +0 -3
  98. package/src/other/label.renderer.ts +8 -1
  99. package/src/other/master-detail/master.ts +4 -4
  100. package/src/other/object.renderer.ts +8 -1
@@ -32,13 +32,11 @@ var core_2 = require("@jsonforms/core");
32
32
  var i0 = tslib_1.__importStar(require("@angular/core"));
33
33
  var i1 = tslib_1.__importStar(require("@jsonforms/angular"));
34
34
  var i2 = tslib_1.__importStar(require("@angular/common"));
35
- var i3 = tslib_1.__importStar(require("@angular/flex-layout/flex"));
36
- var i4 = tslib_1.__importStar(require("@angular/flex-layout/extended"));
37
- var i5 = tslib_1.__importStar(require("@angular/material/card"));
38
- var i6 = tslib_1.__importStar(require("@angular/material/button"));
39
- var i7 = tslib_1.__importStar(require("@angular/material/icon"));
40
- var i8 = tslib_1.__importStar(require("@angular/material/tooltip"));
41
- var i9 = tslib_1.__importStar(require("@angular/material/badge"));
35
+ var i3 = tslib_1.__importStar(require("@angular/material/card"));
36
+ var i4 = tslib_1.__importStar(require("@angular/material/button"));
37
+ var i5 = tslib_1.__importStar(require("@angular/material/icon"));
38
+ var i6 = tslib_1.__importStar(require("@angular/material/tooltip"));
39
+ var i7 = tslib_1.__importStar(require("@angular/material/badge"));
42
40
  var ArrayLayoutRenderer = /** @class */ (function (_super) {
43
41
  tslib_1.__extends(ArrayLayoutRenderer, _super);
44
42
  function ArrayLayoutRenderer(jsonFormsService) {
@@ -90,14 +88,14 @@ var ArrayLayoutRenderer = /** @class */ (function (_super) {
90
88
  ArrayLayoutRenderer.prototype.trackByFn = function (index) {
91
89
  return index;
92
90
  };
93
- ArrayLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArrayLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
94
- ArrayLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ArrayLayoutRenderer, selector: "app-array-layout-renderer", usesInheritance: true, ngImport: i0, template: "\n <div fxLayout=\"column\" fxLayoutGap=\"16px\" [fxHide]=\"hidden\">\n <div [ngClass]=\"'array-layout-toolbar'\">\n <h2 [ngClass]=\"['mat-h2', 'array-layout-title']\">{{ label }}</h2>\n <span fxFlex></span>\n <mat-icon\n *ngIf=\"this.error?.length\"\n color=\"warn\"\n matBadge=\"{{\n this.error.split(\n '\n'\n ).length\n }}\"\n matBadgeColor=\"warn\"\n matTooltip=\"{{ this.error }}\"\n matTooltipClass=\"error-message-tooltip\"\n >\n error_outline\n </mat-icon>\n <span fxFlex></span>\n <button\n mat-button\n matTooltip=\"{{ translations.addTooltip }}\"\n [disabled]=\"!isEnabled()\"\n (click)=\"add()\"\n attr.aria-label=\"{{ translations.addAriaLabel }}\"\n >\n <mat-icon>add</mat-icon>\n </button>\n </div>\n <p *ngIf=\"noData\">{{ translations.noDataMessage }}</p>\n <div\n *ngFor=\"\n let item of [].constructor(data);\n let idx = index;\n trackBy: trackByFn;\n last as last;\n first as first\n \"\n >\n <mat-card appearance=\"outlined\">\n <mat-card-content>\n <jsonforms-outlet [renderProps]=\"getProps(idx)\"></jsonforms-outlet>\n </mat-card-content>\n <mat-card-actions *ngIf=\"isEnabled()\">\n <button\n *ngIf=\"uischema?.options?.showSortButtons\"\n class=\"item-up\"\n mat-button\n [disabled]=\"first\"\n (click)=\"up(idx)\"\n attr.aria-label=\"{{ translations.upAriaLabel }}\"\n matTooltip=\"{{ translations.up }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>arrow_upward</mat-icon>\n </button>\n <button\n *ngIf=\"uischema?.options?.showSortButtons\"\n class=\"item-down\"\n mat-button\n [disabled]=\"last\"\n (click)=\"down(idx)\"\n attr.aria-label=\"{{ translations.downAriaLabel }}\"\n matTooltip=\"{{ translations.down }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>arrow_downward</mat-icon>\n </button>\n <button\n mat-button\n color=\"warn\"\n (click)=\"remove(idx)\"\n attr.aria-label=\"{{ translations.removeAriaLabel }}\"\n matTooltip=\"{{ translations.removeTooltip }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </mat-card-actions>\n </mat-card>\n </div>\n </div>\n ", isInline: true, styles: ["\n .array-layout-toolbar {\n display: flex;\n align-items: center;\n }\n .array-layout-title {\n margin: 0;\n }\n ::ng-deep .error-message-tooltip {\n white-space: pre-line;\n }\n "], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "directive", type: i3.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: i3.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: i3.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: "directive", type: i4.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "directive", type: i4.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: i5.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i5.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i5.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: i9.MatBadge, selector: "[matBadge]", inputs: ["matBadgeDisabled", "matBadgeColor", "matBadgeOverlap", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
91
+ ArrayLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ArrayLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
92
+ ArrayLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ArrayLayoutRenderer, selector: "app-array-layout-renderer", usesInheritance: true, ngImport: i0, template: "\n <div [ngStyle]=\"{ display: hidden ? 'none' : '' }\" class=\"array-layout\">\n <div class=\"array-layout-toolbar\">\n <h2 class=\"mat-h2 array-layout-title\">{{ label }}</h2>\n <span></span>\n <mat-icon\n *ngIf=\"this.error?.length\"\n color=\"warn\"\n matBadge=\"{{ this.error.split('').length }}\"\n matBadgeColor=\"warn\"\n matTooltip=\"{{ this.error }}\"\n matTooltipClass=\"error-message-tooltip\"\n >\n error_outline\n </mat-icon>\n <span></span>\n <button\n mat-button\n matTooltip=\"{{ translations.addTooltip }}\"\n [disabled]=\"!isEnabled()\"\n (click)=\"add()\"\n attr.aria-label=\"{{ translations.addAriaLabel }}\"\n >\n <mat-icon>add</mat-icon>\n </button>\n </div>\n <p *ngIf=\"noData\">{{ translations.noDataMessage }}</p>\n <div\n *ngFor=\"\n let item of [].constructor(data);\n let idx = index;\n trackBy: trackByFn;\n last as last;\n first as first\n \"\n >\n <mat-card class=\"array-item\" appearance=\"outlined\">\n <mat-card-content>\n <jsonforms-outlet [renderProps]=\"getProps(idx)\"></jsonforms-outlet>\n </mat-card-content>\n <mat-card-actions *ngIf=\"isEnabled()\">\n <button\n *ngIf=\"uischema?.options?.showSortButtons\"\n class=\"item-up\"\n mat-button\n [disabled]=\"first\"\n (click)=\"up(idx)\"\n attr.aria-label=\"{{ translations.upAriaLabel }}\"\n matTooltip=\"{{ translations.up }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>arrow_upward</mat-icon>\n </button>\n <button\n *ngIf=\"uischema?.options?.showSortButtons\"\n class=\"item-down\"\n mat-button\n [disabled]=\"last\"\n (click)=\"down(idx)\"\n attr.aria-label=\"{{ translations.downAriaLabel }}\"\n matTooltip=\"{{ translations.down }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>arrow_downward</mat-icon>\n </button>\n <button\n mat-button\n color=\"warn\"\n (click)=\"remove(idx)\"\n attr.aria-label=\"{{ translations.removeAriaLabel }}\"\n matTooltip=\"{{ translations.removeTooltip }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </mat-card-actions>\n </mat-card>\n </div>\n </div>\n ", isInline: true, styles: ["\n .array-layout {\n display: flex;\n flex-direction: column;\n gap: 16px;\n }\n .array-layout > * {\n flex: 1 1 auto;\n }\n .array-layout-toolbar {\n display: flex;\n align-items: center;\n }\n .array-layout-title {\n margin: 0;\n }\n .array-layout-toolbar > span {\n flex: 1 1 auto;\n }\n .array-item {\n padding: 16px;\n }\n ::ng-deep .error-message-tooltip {\n white-space: pre-line;\n }\n "], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "component", type: i3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i3.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i3.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i4.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: i7.MatBadge, selector: "[matBadge]", inputs: ["matBadgeDisabled", "matBadgeColor", "matBadgeOverlap", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
95
93
  return ArrayLayoutRenderer;
96
94
  }(angular_1.JsonFormsAbstractControl));
97
95
  exports.ArrayLayoutRenderer = ArrayLayoutRenderer;
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ArrayLayoutRenderer, decorators: [{
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ArrayLayoutRenderer, decorators: [{
99
97
  type: core_1.Component,
100
- args: [{ selector: 'app-array-layout-renderer', template: "\n <div fxLayout=\"column\" fxLayoutGap=\"16px\" [fxHide]=\"hidden\">\n <div [ngClass]=\"'array-layout-toolbar'\">\n <h2 [ngClass]=\"['mat-h2', 'array-layout-title']\">{{ label }}</h2>\n <span fxFlex></span>\n <mat-icon\n *ngIf=\"this.error?.length\"\n color=\"warn\"\n matBadge=\"{{\n this.error.split(\n '\n'\n ).length\n }}\"\n matBadgeColor=\"warn\"\n matTooltip=\"{{ this.error }}\"\n matTooltipClass=\"error-message-tooltip\"\n >\n error_outline\n </mat-icon>\n <span fxFlex></span>\n <button\n mat-button\n matTooltip=\"{{ translations.addTooltip }}\"\n [disabled]=\"!isEnabled()\"\n (click)=\"add()\"\n attr.aria-label=\"{{ translations.addAriaLabel }}\"\n >\n <mat-icon>add</mat-icon>\n </button>\n </div>\n <p *ngIf=\"noData\">{{ translations.noDataMessage }}</p>\n <div\n *ngFor=\"\n let item of [].constructor(data);\n let idx = index;\n trackBy: trackByFn;\n last as last;\n first as first\n \"\n >\n <mat-card appearance=\"outlined\">\n <mat-card-content>\n <jsonforms-outlet [renderProps]=\"getProps(idx)\"></jsonforms-outlet>\n </mat-card-content>\n <mat-card-actions *ngIf=\"isEnabled()\">\n <button\n *ngIf=\"uischema?.options?.showSortButtons\"\n class=\"item-up\"\n mat-button\n [disabled]=\"first\"\n (click)=\"up(idx)\"\n attr.aria-label=\"{{ translations.upAriaLabel }}\"\n matTooltip=\"{{ translations.up }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>arrow_upward</mat-icon>\n </button>\n <button\n *ngIf=\"uischema?.options?.showSortButtons\"\n class=\"item-down\"\n mat-button\n [disabled]=\"last\"\n (click)=\"down(idx)\"\n attr.aria-label=\"{{ translations.downAriaLabel }}\"\n matTooltip=\"{{ translations.down }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>arrow_downward</mat-icon>\n </button>\n <button\n mat-button\n color=\"warn\"\n (click)=\"remove(idx)\"\n attr.aria-label=\"{{ translations.removeAriaLabel }}\"\n matTooltip=\"{{ translations.removeTooltip }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </mat-card-actions>\n </mat-card>\n </div>\n </div>\n ", changeDetection: core_1.ChangeDetectionStrategy.OnPush, styles: ["\n .array-layout-toolbar {\n display: flex;\n align-items: center;\n }\n .array-layout-title {\n margin: 0;\n }\n ::ng-deep .error-message-tooltip {\n white-space: pre-line;\n }\n "] }]
98
+ args: [{ selector: 'app-array-layout-renderer', template: "\n <div [ngStyle]=\"{ display: hidden ? 'none' : '' }\" class=\"array-layout\">\n <div class=\"array-layout-toolbar\">\n <h2 class=\"mat-h2 array-layout-title\">{{ label }}</h2>\n <span></span>\n <mat-icon\n *ngIf=\"this.error?.length\"\n color=\"warn\"\n matBadge=\"{{ this.error.split('').length }}\"\n matBadgeColor=\"warn\"\n matTooltip=\"{{ this.error }}\"\n matTooltipClass=\"error-message-tooltip\"\n >\n error_outline\n </mat-icon>\n <span></span>\n <button\n mat-button\n matTooltip=\"{{ translations.addTooltip }}\"\n [disabled]=\"!isEnabled()\"\n (click)=\"add()\"\n attr.aria-label=\"{{ translations.addAriaLabel }}\"\n >\n <mat-icon>add</mat-icon>\n </button>\n </div>\n <p *ngIf=\"noData\">{{ translations.noDataMessage }}</p>\n <div\n *ngFor=\"\n let item of [].constructor(data);\n let idx = index;\n trackBy: trackByFn;\n last as last;\n first as first\n \"\n >\n <mat-card class=\"array-item\" appearance=\"outlined\">\n <mat-card-content>\n <jsonforms-outlet [renderProps]=\"getProps(idx)\"></jsonforms-outlet>\n </mat-card-content>\n <mat-card-actions *ngIf=\"isEnabled()\">\n <button\n *ngIf=\"uischema?.options?.showSortButtons\"\n class=\"item-up\"\n mat-button\n [disabled]=\"first\"\n (click)=\"up(idx)\"\n attr.aria-label=\"{{ translations.upAriaLabel }}\"\n matTooltip=\"{{ translations.up }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>arrow_upward</mat-icon>\n </button>\n <button\n *ngIf=\"uischema?.options?.showSortButtons\"\n class=\"item-down\"\n mat-button\n [disabled]=\"last\"\n (click)=\"down(idx)\"\n attr.aria-label=\"{{ translations.downAriaLabel }}\"\n matTooltip=\"{{ translations.down }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>arrow_downward</mat-icon>\n </button>\n <button\n mat-button\n color=\"warn\"\n (click)=\"remove(idx)\"\n attr.aria-label=\"{{ translations.removeAriaLabel }}\"\n matTooltip=\"{{ translations.removeTooltip }}\"\n matTooltipPosition=\"right\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </mat-card-actions>\n </mat-card>\n </div>\n </div>\n ", changeDetection: core_1.ChangeDetectionStrategy.OnPush, styles: ["\n .array-layout {\n display: flex;\n flex-direction: column;\n gap: 16px;\n }\n .array-layout > * {\n flex: 1 1 auto;\n }\n .array-layout-toolbar {\n display: flex;\n align-items: center;\n }\n .array-layout-title {\n margin: 0;\n }\n .array-layout-toolbar > span {\n flex: 1 1 auto;\n }\n .array-item {\n padding: 16px;\n }\n ::ng-deep .error-message-tooltip {\n white-space: pre-line;\n }\n "] }]
101
99
  }], ctorParameters: function () { return [{ type: i1.JsonFormsAngularService }]; } });
102
100
  exports.ArrayLayoutRendererTester = (0, core_2.rankWith)(4, core_2.isObjectArrayWithNesting);
103
101
  //# sourceMappingURL=array-layout.renderer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"array-layout.renderer.js","sourceRoot":"","sources":["../../../src/layouts/array-layout.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAKuB;AACvB,8CAG4B;AAC5B,wCAkByB;;;;;;;;;;;AAEzB;IAwGU,+CAAiD;IAazD,6BAAY,gBAAyC;eACnD,kBAAM,gBAAgB,CAAC;IACzB,CAAC;IACD,wCAAU,GAAV,UAAW,KAAqB;QAC9B,IAAM,KAAK,GAAG,IAAA,iCAA0B,EAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;QACpE,4BAAY,KAAK,EAAG;IACtB,CAAC;IACD,oCAAM,GAAN,UAAO,KAAa;QAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;IAC9C,CAAC;IACD,iCAAG,GAAH;QACE,IAAI,CAAC,OAAO,CACV,IAAI,CAAC,SAAS,EACd,IAAA,yBAAkB,EAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,UAAU,CAAC,CACvD,EAAE,CAAC;IACN,CAAC;IACD,gCAAE,GAAF,UAAG,KAAa;QACd,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAC3C,CAAC;IACD,kCAAI,GAAJ,UAAK,KAAa;QAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAC7C,CAAC;IACD,sCAAQ,GAAR;QACE,iBAAM,QAAQ,WAAE,CAAC;QACX,IAAA,KACJ,IAAA,qCAA8B,EAC5B,IAAI,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAC7D,EAHK,OAAO,aAAA,EAAE,W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A5EY,kDAAmB;4FAAnB,mBAAmB;kBAvG/B,gBAAS;+BACE,2BAA2B,YAC3B,iyFAoFT,mBAegB,8BAAuB,CAAC,MAAM;;AAgFpC,QAAA,yBAAyB,GAAiB,IAAA,eAAQ,EAC7D,CAAC,EACD,+BAAwB,CACzB,CAAC"}
1
+ {"version":3,"file":"array-layout.renderer.js","sourceRoot":"","sources":["../../../src/layouts/array-layout.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAKuB;AACvB,8CAG4B;AAC5B,wCAkByB;;;;;;;;;AAEzB;IAiHU,+CAAiD;IAazD,6BAAY,gBAAyC;eACnD,kBAAM,gBAAgB,CAAC;IACzB,CAAC;IACD,wCAAU,GAAV,UAAW,KAAqB;QAC9B,IAAM,KAAK,GAAG,IAAA,iCAA0B,EAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;QACpE,4BAAY,KAAK,EAAG;IACtB,CAAC;IACD,oCAAM,GAAN,UAAO,KAAa;QAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;IAC9C,CAAC;IACD,iCAAG,GAAH;QACE,IAAI,CAAC,OAAO,CACV,IAAI,CAAC,SAAS,EACd,IAAA,yBAAkB,EAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,UAAU,CAAC,CACvD,EAAE,CAAC;IACN,CAAC;IACD,gCAAE,GAAF,UAAG,KAAa;QACd,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAC3C,CAAC;IACD,kCAAI,GAAJ,UAAK,KAAa;QAChB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAC7C,CAAC;IACD,sCAAQ,GAAR;QACE,iBAAM,QAAQ,WAAE,CAAC;QACX,IAAA,KACJ,I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,OAAO,KAAK,CAAC;IACf,CAAC;qHA3EU,mBAAmB;yGAAnB,mBAAmB,wFA9GpB,yuFA+ET;8BAvIH;CAkPC,AA5LD,CAiHU,kCAAwB,GA2EjC;AA5EY,kDAAmB;4FAAnB,mBAAmB;kBAhH/B,gBAAS;+BACE,2BAA2B,YAC3B,yuFA+ET,mBA6BgB,8BAAuB,CAAC,MAAM;;AAgFpC,QAAA,yBAAyB,GAAiB,IAAA,eAAQ,EAC7D,CAAC,EACD,+BAAwB,CACzB,CAAC"}
@@ -33,7 +33,6 @@ var i0 = tslib_1.__importStar(require("@angular/core"));
33
33
  var i1 = tslib_1.__importStar(require("@jsonforms/angular"));
34
34
  var i2 = tslib_1.__importStar(require("@angular/common"));
35
35
  var i3 = tslib_1.__importStar(require("@angular/material/tabs"));
36
- var i4 = tslib_1.__importStar(require("@angular/flex-layout/extended"));
37
36
  var CategorizationTabLayoutRenderer = /** @class */ (function (_super) {
38
37
  tslib_1.__extends(CategorizationTabLayoutRenderer, _super);
39
38
  function CategorizationTabLayoutRenderer(jsonFormsService) {
@@ -62,16 +61,16 @@ var CategorizationTabLayoutRenderer = /** @class */ (function (_super) {
62
61
  this.subscription.unsubscribe();
63
62
  }
64
63
  };
65
- CategorizationTabLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CategorizationTabLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
66
- CategorizationTabLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CategorizationTabLayoutRenderer, selector: "jsonforms-categorization-layout", usesInheritance: true, ngImport: i0, template: "\n <mat-tab-group dynamicHeight=\"true\" [fxHide]=\"hidden\">\n <mat-tab\n *ngFor=\"let category of visibleCategories; let i = index\"\n [label]=\"categoryLabels[i]\"\n >\n <div *ngFor=\"let element of category.elements\">\n <jsonforms-outlet\n [uischema]=\"element\"\n [path]=\"path\"\n [schema]=\"schema\"\n ></jsonforms-outlet>\n </div>\n </mat-tab>\n </mat-tab-group>\n ", isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "component", type: i3.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i3.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "directive", type: i4.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }] });
64
+ CategorizationTabLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CategorizationTabLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
65
+ CategorizationTabLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CategorizationTabLayoutRenderer, selector: "jsonforms-categorization-layout", usesInheritance: true, ngImport: i0, template: "\n <mat-tab-group\n [ngStyle]=\"{ display: hidden ? 'none' : '' }\"\n dynamicHeight=\"true\"\n >\n <mat-tab\n *ngFor=\"let category of visibleCategories; let i = index\"\n [label]=\"categoryLabels[i]\"\n >\n <div *ngFor=\"let element of category.elements\">\n <jsonforms-outlet\n [uischema]=\"element\"\n [path]=\"path\"\n [schema]=\"schema\"\n ></jsonforms-outlet>\n </div>\n </mat-tab>\n </mat-tab-group>\n ", isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "component", type: i3.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i3.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }] });
67
66
  return CategorizationTabLayoutRenderer;
68
67
  }(angular_1.JsonFormsBaseRenderer));
69
68
  exports.CategorizationTabLayoutRenderer = CategorizationTabLayoutRenderer;
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CategorizationTabLayoutRenderer, decorators: [{
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CategorizationTabLayoutRenderer, decorators: [{
71
70
  type: core_2.Component,
72
71
  args: [{
73
72
  selector: 'jsonforms-categorization-layout',
74
- template: "\n <mat-tab-group dynamicHeight=\"true\" [fxHide]=\"hidden\">\n <mat-tab\n *ngFor=\"let category of visibleCategories; let i = index\"\n [label]=\"categoryLabels[i]\"\n >\n <div *ngFor=\"let element of category.elements\">\n <jsonforms-outlet\n [uischema]=\"element\"\n [path]=\"path\"\n [schema]=\"schema\"\n ></jsonforms-outlet>\n </div>\n </mat-tab>\n </mat-tab-group>\n ",
73
+ template: "\n <mat-tab-group\n [ngStyle]=\"{ display: hidden ? 'none' : '' }\"\n dynamicHeight=\"true\"\n >\n <mat-tab\n *ngFor=\"let category of visibleCategories; let i = index\"\n [label]=\"categoryLabels[i]\"\n >\n <div *ngFor=\"let element of category.elements\">\n <jsonforms-outlet\n [uischema]=\"element\"\n [path]=\"path\"\n [schema]=\"schema\"\n ></jsonforms-outlet>\n </div>\n </mat-tab>\n </mat-tab-group>\n ",
75
74
  }]
76
75
  }], ctorParameters: function () { return [{ type: i1.JsonFormsAngularService }]; } });
77
76
  exports.categorizationTester = (0, core_1.rankWith)(2, (0, core_1.and)((0, core_1.uiTypeIs)('Categorization'), core_1.categorizationHasCategory));
@@ -1 +1 @@
1
- {"version":3,"file":"categorization-layout.renderer.js","sourceRoot":"","sources":["../../../src/layouts/categorization-layout.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,wCAeyB;AACzB,sCAA6D;AAC7D,8CAG4B;;;;;;AAG5B;IAoBU,2DAAqC;IAQ7C,yCAAoB,gBAAyC;QAA7D,YACE,iBAAO,SACR;QAFmB,sBAAgB,GAAhB,gBAAgB,CAAyB;;IAE7D,CAAC;IAED,kDAAQ,GAAR;QAAA,iBAkBC;QAjBC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,SAAS,CAAC;YACzD,IAAI,EAAE,UAAC,KAAqB;gBAC1B,IAA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BT;0CAnEH;CA2GC,AA5DD,CAuBU,+BAAqB,GAqC9B;AAtCY,0EAA+B;4FAA/B,+BAA+B;kBAtB3C,gBAAS;mBAAC;oBACT,QAAQ,EAAE,iCAAiC;oBAC3C,QAAQ,EAAE,6gBAkBT;iBACF;;AAyCY,QAAA,oBAAoB,GAAiB,IAAA,eAAQ,EACxD,CAAC,EACD,IAAA,UAAG,EAAC,IAAA,eAAQ,EAAC,gBAAgB,CAAC,EAAE,gCAAyB,CAAC,CAC3D,CAAC"}
@@ -33,27 +33,21 @@ var angular_1 = require("@jsonforms/angular");
33
33
  var i0 = tslib_1.__importStar(require("@angular/core"));
34
34
  var i1 = tslib_1.__importStar(require("@jsonforms/angular"));
35
35
  var i2 = tslib_1.__importStar(require("@angular/common"));
36
- var i3 = tslib_1.__importStar(require("@angular/flex-layout/flex"));
37
- var i4 = tslib_1.__importStar(require("@angular/flex-layout/extended"));
38
- var i5 = tslib_1.__importStar(require("@angular/material/card"));
39
- var i6 = tslib_1.__importStar(require("./layout.renderer"));
36
+ var i3 = tslib_1.__importStar(require("@angular/material/card"));
37
+ var i4 = tslib_1.__importStar(require("./layout.renderer"));
40
38
  var GroupLayoutRenderer = /** @class */ (function (_super) {
41
39
  tslib_1.__extends(GroupLayoutRenderer, _super);
42
40
  function GroupLayoutRenderer(jsonFormsService, changeDetectionRef) {
43
41
  return _super.call(this, jsonFormsService, changeDetectionRef) || this;
44
42
  }
45
- GroupLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
46
- GroupLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GroupLayoutRenderer, selector: "GroupLayoutRenderer", usesInheritance: true, ngImport: i0, template: "\n <mat-card appearance=\"outlined\" fxLayout=\"column\" [fxHide]=\"hidden\">\n <mat-card-title class=\"mat-headline-6\">{{ label }}</mat-card-title>\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n fxFlex\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </mat-card>\n ", isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "directive", type: i3.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: i3.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: "directive", type: i4.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "component", type: i5.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i5.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "pipe", type: i6.LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
43
+ GroupLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
44
+ GroupLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GroupLayoutRenderer, selector: "GroupLayoutRenderer", usesInheritance: true, ngImport: i0, template: "\n <mat-card\n [ngStyle]=\"{ display: hidden ? 'none' : '' }\"\n appearance=\"outlined\"\n class=\"group-layout\"\n >\n <mat-card-title class=\"mat-headline-6\">{{ label }}</mat-card-title>\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </mat-card>\n ", isInline: true, styles: ["\n .group-layout {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 16px;\n }\n .group-layout > div {\n flex: 1 1 auto;\n }\n "], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "component", type: i3.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i3.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "pipe", type: i4.LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
47
45
  return GroupLayoutRenderer;
48
46
  }(layout_renderer_1.LayoutRenderer));
49
47
  exports.GroupLayoutRenderer = GroupLayoutRenderer;
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupLayoutRenderer, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupLayoutRenderer, decorators: [{
51
49
  type: core_1.Component,
52
- args: [{
53
- selector: 'GroupLayoutRenderer',
54
- template: "\n <mat-card appearance=\"outlined\" fxLayout=\"column\" [fxHide]=\"hidden\">\n <mat-card-title class=\"mat-headline-6\">{{ label }}</mat-card-title>\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n fxFlex\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </mat-card>\n ",
55
- changeDetection: core_1.ChangeDetectionStrategy.OnPush,
56
- }]
50
+ args: [{ selector: 'GroupLayoutRenderer', template: "\n <mat-card\n [ngStyle]=\"{ display: hidden ? 'none' : '' }\"\n appearance=\"outlined\"\n class=\"group-layout\"\n >\n <mat-card-title class=\"mat-headline-6\">{{ label }}</mat-card-title>\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </mat-card>\n ", changeDetection: core_1.ChangeDetectionStrategy.OnPush, styles: ["\n .group-layout {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 16px;\n }\n .group-layout > div {\n flex: 1 1 auto;\n }\n "] }]
57
51
  }], ctorParameters: function () { return [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }]; } });
58
52
  exports.groupLayoutTester = (0, core_2.rankWith)(1, (0, core_2.uiTypeIs)('Group'));
59
53
  //# sourceMappingURL=group-layout.renderer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"group-layout.renderer.js","sourceRoot":"","sources":["../../../src/layouts/group-layout.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAIuB;AACvB,wCAAgF;AAChF,qDAAmD;AACnD,8CAA6D;;;;;;;;AAE7D;IAkByC,+CAA2B;IAClE,6BACE,gBAAyC,EACzC,kBAAqC;eAErC,kBAAM,gBAAgB,EAAE,kBAAkB,CAAC;IAC7C,CAAC;qHANU,mBAAmB;yGAAnB,mBAAmB,kFAhBpB,4bAaT;8BAhDH;CA0DC,AAzBD,CAkByC,gCAAc,GAOtD;AAPY,kDAAmB;4FAAnB,mBAAmB;kBAlB/B,gBAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,QAAQ,EAAE,4bAaT;oBACD,eAAe,EAAE,8BAAuB,CAAC,MAAM;iBAChD;;AASY,QAAA,iBAAiB,GAAiB,IAAA,eAAQ,EAAC,CAAC,EAAE,IAAA,eAAQ,EAAC,OAAO,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"group-layout.renderer.js","sourceRoot":"","sources":["../../../src/layouts/group-layout.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAIuB;AACvB,wCAAgF;AAChF,qDAAmD;AACnD,8CAA6D;;;;;;AAE7D;IAkCyC,+CAA2B;IAClE,6BACE,gBAAyC,EACzC,kBAAqC;eAErC,kBAAM,gBAAgB,EAAE,kBAAkB,CAAC;IAC7C,CAAC;qHANU,mBAAmB;yGAAnB,mBAAmB,kFAhCpB,seAgBT;8BAnDH;CA0EC,AAzCD,CAkCyC,gCAAc,GAOtD;AAPY,kDAAmB;4FAAnB,mBAAmB;kBAlC/B,gBAAS;+BACE,qBAAqB,YACrB,seAgBT,mBAcgB,8BAAuB,CAAC,MAAM;;AAUpC,QAAA,iBAAiB,GAAiB,IAAA,eAAQ,EAAC,CAAC,EAAE,IAAA,eAAQ,EAAC,OAAO,CAAC,CAAC,CAAC"}
@@ -33,26 +33,20 @@ var angular_1 = require("@jsonforms/angular");
33
33
  var i0 = tslib_1.__importStar(require("@angular/core"));
34
34
  var i1 = tslib_1.__importStar(require("@jsonforms/angular"));
35
35
  var i2 = tslib_1.__importStar(require("@angular/common"));
36
- var i3 = tslib_1.__importStar(require("@angular/flex-layout/flex"));
37
- var i4 = tslib_1.__importStar(require("@angular/flex-layout/extended"));
38
- var i5 = tslib_1.__importStar(require("./layout.renderer"));
36
+ var i3 = tslib_1.__importStar(require("./layout.renderer"));
39
37
  var HorizontalLayoutRenderer = /** @class */ (function (_super) {
40
38
  tslib_1.__extends(HorizontalLayoutRenderer, _super);
41
39
  function HorizontalLayoutRenderer(jsonFormsService, changeDetectionRef) {
42
40
  return _super.call(this, jsonFormsService, changeDetectionRef) || this;
43
41
  }
44
- HorizontalLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
45
- HorizontalLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HorizontalLayoutRenderer, selector: "HorizontalLayoutRenderer", usesInheritance: true, ngImport: i0, template: "\n <div\n fxLayout=\"row wrap\"\n fxLayoutGap=\"16px\"\n [fxHide]=\"hidden\"\n fxLayoutAlign=\"center start\"\n >\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n fxFlex\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </div>\n ", isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "directive", type: i3.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: i3.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: i3.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: i3.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: "directive", type: i4.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "pipe", type: i5.LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
+ HorizontalLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HorizontalLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
43
+ HorizontalLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: HorizontalLayoutRenderer, selector: "HorizontalLayoutRenderer", usesInheritance: true, ngImport: i0, template: "\n <div\n [ngStyle]=\"{ display: hidden ? 'none' : '' }\"\n class=\"horizontal-layout\"\n >\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </div>\n ", isInline: true, styles: ["\n .horizontal-layout {\n display: flex;\n gap: 16px;\n flex-flow: row wrap;\n align-items: flex-start;\n place-content: flex-start center;\n }\n .horizontal-layout > div {\n flex: 1 1 auto;\n }\n "], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "pipe", type: i3.LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
46
44
  return HorizontalLayoutRenderer;
47
45
  }(layout_renderer_1.LayoutRenderer));
48
46
  exports.HorizontalLayoutRenderer = HorizontalLayoutRenderer;
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HorizontalLayoutRenderer, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HorizontalLayoutRenderer, decorators: [{
50
48
  type: core_1.Component,
51
- args: [{
52
- selector: 'HorizontalLayoutRenderer',
53
- template: "\n <div\n fxLayout=\"row wrap\"\n fxLayoutGap=\"16px\"\n [fxHide]=\"hidden\"\n fxLayoutAlign=\"center start\"\n >\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n fxFlex\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </div>\n ",
54
- changeDetection: core_1.ChangeDetectionStrategy.OnPush,
55
- }]
49
+ args: [{ selector: 'HorizontalLayoutRenderer', template: "\n <div\n [ngStyle]=\"{ display: hidden ? 'none' : '' }\"\n class=\"horizontal-layout\"\n >\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </div>\n ", changeDetection: core_1.ChangeDetectionStrategy.OnPush, styles: ["\n .horizontal-layout {\n display: flex;\n gap: 16px;\n flex-flow: row wrap;\n align-items: flex-start;\n place-content: flex-start center;\n }\n .horizontal-layout > div {\n flex: 1 1 auto;\n }\n "] }]
56
50
  }], ctorParameters: function () { return [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }]; } });
57
51
  exports.horizontalLayoutTester = (0, core_2.rankWith)(1, (0, core_2.uiTypeIs)('HorizontalLayout'));
58
52
  //# sourceMappingURL=horizontal-layout.renderer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"horizontal-layout.renderer.js","sourceRoot":"","sources":["../../../src/layouts/horizontal-layout.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAIuB;AACvB,wCAKyB;AACzB,qDAAmD;AACnD,8CAA6D;;;;;;;AAE7D;IAsB8C,oDAAgC;IAC5E,kCACE,gBAAyC,EACzC,kBAAqC;eAErC,kBAAM,gBAAgB,EAAE,kBAAkB,CAAC;IAC7C,CAAC;0HANU,wBAAwB;8GAAxB,wBAAwB,uFApBzB,qaAiBT;mCAzDH;CAmEC,AA7BD,CAsB8C,gCAAc,GAO3D;AAPY,4DAAwB;4FAAxB,wBAAwB;kBAtBpC,gBAAS;mBAAC;oBACT,QAAQ,EAAE,0BAA0B;oBACpC,QAAQ,EAAE,qaAiBT;oBACD,eAAe,EAAE,8BAAuB,CAAC,MAAM;iBAChD;;AASY,QAAA,sBAAsB,GAAiB,IAAA,eAAQ,EAC1D,CAAC,EACD,IAAA,eAAQ,EAAC,kBAAkB,CAAC,CAC7B,CAAC"}
1
+ {"version":3,"file":"horizontal-layout.renderer.js","sourceRoot":"","sources":["../../../src/layouts/horizontal-layout.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAIuB;AACvB,wCAKyB;AACzB,qDAAmD;AACnD,8CAA6D;;;;;AAE7D;IAiC8C,oDAAgC;IAC5E,kCACE,gBAAyC,EACzC,kBAAqC;eAErC,kBAAM,gBAAgB,EAAE,kBAAkB,CAAC;IAC7C,CAAC;0HANU,wBAAwB;8GAAxB,wBAAwB,uFA/BzB,qXAcT;mCAtDH;CA8EC,AAxCD,CAiC8C,gCAAc,GAO3D;AAPY,4DAAwB;4FAAxB,wBAAwB;kBAjCpC,gBAAS;+BACE,0BAA0B,YAC1B,qXAcT,mBAegB,8BAAuB,CAAC,MAAM;;AAUpC,QAAA,sBAAsB,GAAiB,IAAA,eAAQ,EAC1D,CAAC,EACD,IAAA,eAAQ,EAAC,kBAAkB,CAAC,CAC7B,CAAC"}
@@ -60,12 +60,12 @@ var LayoutRenderer = /** @class */ (function (_super) {
60
60
  ? renderProp.path + JSON.stringify(renderProp.uischema)
61
61
  : null;
62
62
  };
63
- LayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
64
- LayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LayoutRenderer, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
63
+ LayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
64
+ LayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LayoutRenderer, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
65
65
  return LayoutRenderer;
66
66
  }(angular_1.JsonFormsBaseRenderer));
67
67
  exports.LayoutRenderer = LayoutRenderer;
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayoutRenderer, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayoutRenderer, decorators: [{
69
69
  type: core_1.Component,
70
70
  args: [{
71
71
  template: '',
@@ -82,12 +82,12 @@ var LayoutChildrenRenderPropsPipe = /** @class */ (function () {
82
82
  }); });
83
83
  return elements;
84
84
  };
85
- LayoutChildrenRenderPropsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayoutChildrenRenderPropsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
86
- LayoutChildrenRenderPropsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" });
85
+ LayoutChildrenRenderPropsPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayoutChildrenRenderPropsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
86
+ LayoutChildrenRenderPropsPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" });
87
87
  return LayoutChildrenRenderPropsPipe;
88
88
  }());
89
89
  exports.LayoutChildrenRenderPropsPipe = LayoutChildrenRenderPropsPipe;
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LayoutChildrenRenderPropsPipe, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LayoutChildrenRenderPropsPipe, decorators: [{
91
91
  type: core_1.Pipe,
92
92
  args: [{ name: 'layoutChildrenRenderProps' }]
93
93
  }] });
@@ -33,26 +33,20 @@ var angular_1 = require("@jsonforms/angular");
33
33
  var i0 = tslib_1.__importStar(require("@angular/core"));
34
34
  var i1 = tslib_1.__importStar(require("@jsonforms/angular"));
35
35
  var i2 = tslib_1.__importStar(require("@angular/common"));
36
- var i3 = tslib_1.__importStar(require("@angular/flex-layout/flex"));
37
- var i4 = tslib_1.__importStar(require("@angular/flex-layout/extended"));
38
- var i5 = tslib_1.__importStar(require("./layout.renderer"));
36
+ var i3 = tslib_1.__importStar(require("./layout.renderer"));
39
37
  var VerticalLayoutRenderer = /** @class */ (function (_super) {
40
38
  tslib_1.__extends(VerticalLayoutRenderer, _super);
41
39
  function VerticalLayoutRenderer(jsonFormsService, changeDetectionRef) {
42
40
  return _super.call(this, jsonFormsService, changeDetectionRef) || this;
43
41
  }
44
- VerticalLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VerticalLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
45
- VerticalLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: VerticalLayoutRenderer, selector: "VerticalLayoutRenderer", usesInheritance: true, ngImport: i0, template: "\n <div fxLayout=\"column\" fxLayoutGap=\"16px\" [fxHide]=\"hidden\">\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n fxFlex\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </div>\n ", isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "directive", type: i3.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: i3.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: i3.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: "directive", type: i4.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "pipe", type: i5.LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
+ VerticalLayoutRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: VerticalLayoutRenderer, deps: [{ token: i1.JsonFormsAngularService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
43
+ VerticalLayoutRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: VerticalLayoutRenderer, selector: "VerticalLayoutRenderer", usesInheritance: true, ngImport: i0, template: "\n <div [ngStyle]=\"{ display: hidden ? 'none' : '' }\" class=\"vertical-layout\">\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </div>\n ", isInline: true, styles: ["\n .vertical-layout {\n display: flex;\n flex-direction: column;\n gap: 16px;\n }\n .vertical-layout > div {\n flex: 1 1 auto;\n }\n "], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1.JsonFormsOutlet, selector: "jsonforms-outlet", inputs: ["renderProps"] }, { kind: "pipe", type: i3.LayoutChildrenRenderPropsPipe, name: "layoutChildrenRenderProps" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
46
44
  return VerticalLayoutRenderer;
47
45
  }(layout_renderer_1.LayoutRenderer));
48
46
  exports.VerticalLayoutRenderer = VerticalLayoutRenderer;
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VerticalLayoutRenderer, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: VerticalLayoutRenderer, decorators: [{
50
48
  type: core_1.Component,
51
- args: [{
52
- selector: 'VerticalLayoutRenderer',
53
- template: "\n <div fxLayout=\"column\" fxLayoutGap=\"16px\" [fxHide]=\"hidden\">\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n fxFlex\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </div>\n ",
54
- changeDetection: core_1.ChangeDetectionStrategy.OnPush,
55
- }]
49
+ args: [{ selector: 'VerticalLayoutRenderer', template: "\n <div [ngStyle]=\"{ display: hidden ? 'none' : '' }\" class=\"vertical-layout\">\n <div\n *ngFor=\"\n let props of uischema | layoutChildrenRenderProps : schema : path;\n trackBy: trackElement\n \"\n >\n <jsonforms-outlet [renderProps]=\"props\"></jsonforms-outlet>\n </div>\n </div>\n ", changeDetection: core_1.ChangeDetectionStrategy.OnPush, styles: ["\n .vertical-layout {\n display: flex;\n flex-direction: column;\n gap: 16px;\n }\n .vertical-layout > div {\n flex: 1 1 auto;\n }\n "] }]
56
50
  }], ctorParameters: function () { return [{ type: i1.JsonFormsAngularService }, { type: i0.ChangeDetectorRef }]; } });
57
51
  exports.verticalLayoutTester = (0, core_2.rankWith)(1, (0, core_2.uiTypeIs)('VerticalLayout'));
58
52
  //# sourceMappingURL=vertical-layout.renderer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vertical-layout.renderer.js","sourceRoot":"","sources":["../../../src/layouts/vertical-layout.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAIuB;AACvB,wCAKyB;AACzB,qDAAmD;AACnD,8CAA6D;;;;;;;AAE7D;IAiB4C,kDAA8B;IACxE,gCACE,gBAAyC,EACzC,kBAAqC;eAErC,kBAAM,gBAAgB,EAAE,kBAAkB,CAAC;IAC7C,CAAC;wHANU,sBAAsB;4GAAtB,sBAAsB,qFAfvB,kWAYT;iCApDH;CA8DC,AAxBD,CAiB4C,gCAAc,GAOzD;AAPY,wDAAsB;4FAAtB,sBAAsB;kBAjBlC,gBAAS;mBAAC;oBACT,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE,kWAYT;oBACD,eAAe,EAAE,8BAAuB,CAAC,MAAM;iBAChD;;AASY,QAAA,oBAAoB,GAAiB,IAAA,eAAQ,EACxD,CAAC,EACD,IAAA,eAAQ,EAAC,gBAAgB,CAAC,CAC3B,CAAC"}
1
+ {"version":3,"file":"vertical-layout.renderer.js","sourceRoot":"","sources":["../../../src/layouts/vertical-layout.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAIuB;AACvB,wCAKyB;AACzB,qDAAmD;AACnD,8CAA6D;;;;;AAE7D;IA4B4C,kDAA8B;IACxE,gCACE,gBAAyC,EACzC,kBAAqC;eAErC,kBAAM,gBAAgB,EAAE,kBAAkB,CAAC;IAC7C,CAAC;wHANU,sBAAsB;4GAAtB,sBAAsB,qFA1BvB,+VAWT;iCAnDH;CAyEC,AAnCD,CA4B4C,gCAAc,GAOzD;AAPY,wDAAsB;4FAAtB,sBAAsB;kBA5BlC,gBAAS;+BACE,wBAAwB,YACxB,+VAWT,mBAagB,8BAAuB,CAAC,MAAM;;AAUpC,QAAA,oBAAoB,GAAiB,IAAA,eAAQ,EACxD,CAAC,EACD,IAAA,eAAQ,EAAC,gBAAgB,CAAC,CAC3B,CAAC"}
@@ -31,18 +31,17 @@ import * as i29 from "@angular/material/tabs";
31
31
  import * as i30 from "@angular/material/sidenav";
32
32
  import * as i31 from "@angular/material/list";
33
33
  import * as i32 from "@angular/forms";
34
- import * as i33 from "@angular/flex-layout";
35
- import * as i34 from "@angular/material/card";
36
- import * as i35 from "@angular/material/select";
37
- import * as i36 from "@angular/material/button";
38
- import * as i37 from "@angular/material/icon";
39
- import * as i38 from "@angular/material/autocomplete";
40
- import * as i39 from "@angular/material/table";
41
- import * as i40 from "@angular/material/toolbar";
42
- import * as i41 from "@angular/material/tooltip";
43
- import * as i42 from "@angular/material/badge";
34
+ import * as i33 from "@angular/material/card";
35
+ import * as i34 from "@angular/material/select";
36
+ import * as i35 from "@angular/material/button";
37
+ import * as i36 from "@angular/material/icon";
38
+ import * as i37 from "@angular/material/autocomplete";
39
+ import * as i38 from "@angular/material/table";
40
+ import * as i39 from "@angular/material/toolbar";
41
+ import * as i40 from "@angular/material/tooltip";
42
+ import * as i41 from "@angular/material/badge";
44
43
  export declare class JsonFormsAngularMaterialModule {
45
44
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonFormsAngularMaterialModule, never>;
46
- static ɵmod: i0.ɵɵNgModuleDeclaration<JsonFormsAngularMaterialModule, [typeof i1.BooleanControlRenderer, typeof i2.TextAreaRenderer, typeof i3.TextControlRenderer, typeof i4.NumberControlRenderer, typeof i5.RangeControlRenderer, typeof i6.DateControlRenderer, typeof i7.ToggleControlRenderer, typeof i8.VerticalLayoutRenderer, typeof i9.HorizontalLayoutRenderer, typeof i10.CategorizationTabLayoutRenderer, typeof i11.GroupLayoutRenderer, typeof i12.LabelRenderer, typeof i13.MasterListComponent, typeof i14.JsonFormsDetailComponent, typeof i15.ObjectControlRenderer, typeof i16.AutocompleteControlRenderer, typeof i17.TableRenderer, typeof i18.ArrayLayoutRenderer, typeof i19.LayoutChildrenRenderPropsPipe], [typeof i20.CommonModule, typeof i21.JsonFormsModule, typeof i22.MatFormFieldModule, typeof i23.MatCheckboxModule, typeof i24.MatInputModule, typeof i25.MatSliderModule, typeof i26.MatSlideToggleModule, typeof i27.MatNativeDateModule, typeof i28.MatDatepickerModule, typeof i29.MatTabsModule, typeof i30.MatSidenavModule, typeof i31.MatListModule, typeof i32.ReactiveFormsModule, typeof i33.FlexLayoutModule, typeof i34.MatCardModule, typeof i35.MatSelectModule, typeof i36.MatButtonModule, typeof i37.MatIconModule, typeof i38.MatAutocompleteModule, typeof i39.MatTableModule, typeof i40.MatToolbarModule, typeof i41.MatTooltipModule, typeof i42.MatBadgeModule], [typeof i20.CommonModule, typeof i21.JsonFormsModule, typeof i22.MatFormFieldModule, typeof i23.MatCheckboxModule, typeof i24.MatInputModule, typeof i25.MatSliderModule, typeof i26.MatSlideToggleModule, typeof i27.MatNativeDateModule, typeof i28.MatDatepickerModule, typeof i29.MatTabsModule, typeof i30.MatSidenavModule, typeof i31.MatListModule, typeof i32.ReactiveFormsModule, typeof i33.FlexLayoutModule, typeof i34.MatCardModule, typeof i35.MatSelectModule, typeof i36.MatButtonModule, typeof i37.MatIconModule, typeof i38.MatAutocompleteModule]>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<JsonFormsAngularMaterialModule, [typeof i1.BooleanControlRenderer, typeof i2.TextAreaRenderer, typeof i3.TextControlRenderer, typeof i4.NumberControlRenderer, typeof i5.RangeControlRenderer, typeof i6.DateControlRenderer, typeof i7.ToggleControlRenderer, typeof i8.VerticalLayoutRenderer, typeof i9.HorizontalLayoutRenderer, typeof i10.CategorizationTabLayoutRenderer, typeof i11.GroupLayoutRenderer, typeof i12.LabelRenderer, typeof i13.MasterListComponent, typeof i14.JsonFormsDetailComponent, typeof i15.ObjectControlRenderer, typeof i16.AutocompleteControlRenderer, typeof i17.TableRenderer, typeof i18.ArrayLayoutRenderer, typeof i19.LayoutChildrenRenderPropsPipe], [typeof i20.CommonModule, typeof i21.JsonFormsModule, typeof i22.MatFormFieldModule, typeof i23.MatCheckboxModule, typeof i24.MatInputModule, typeof i25.MatSliderModule, typeof i26.MatSlideToggleModule, typeof i27.MatNativeDateModule, typeof i28.MatDatepickerModule, typeof i29.MatTabsModule, typeof i30.MatSidenavModule, typeof i31.MatListModule, typeof i32.ReactiveFormsModule, typeof i33.MatCardModule, typeof i34.MatSelectModule, typeof i35.MatButtonModule, typeof i36.MatIconModule, typeof i37.MatAutocompleteModule, typeof i38.MatTableModule, typeof i39.MatToolbarModule, typeof i40.MatTooltipModule, typeof i41.MatBadgeModule], [typeof i20.CommonModule, typeof i21.JsonFormsModule, typeof i22.MatFormFieldModule, typeof i23.MatCheckboxModule, typeof i24.MatInputModule, typeof i25.MatSliderModule, typeof i26.MatSlideToggleModule, typeof i27.MatNativeDateModule, typeof i28.MatDatepickerModule, typeof i29.MatTabsModule, typeof i30.MatSidenavModule, typeof i31.MatListModule, typeof i32.ReactiveFormsModule, typeof i33.MatCardModule, typeof i34.MatSelectModule, typeof i35.MatButtonModule, typeof i36.MatIconModule, typeof i37.MatAutocompleteModule]>;
47
46
  static ɵinj: i0.ɵɵInjectorDeclaration<JsonFormsAngularMaterialModule>;
48
47
  }
package/lib/cjs/module.js CHANGED
@@ -27,7 +27,6 @@ var tslib_1 = require("tslib");
27
27
  THE SOFTWARE.
28
28
  */
29
29
  var common_1 = require("@angular/common");
30
- var flex_layout_1 = require("@angular/flex-layout");
31
30
  var forms_1 = require("@angular/forms");
32
31
  var autocomplete_1 = require("@angular/material/autocomplete");
33
32
  var button_1 = require("@angular/material/button");
@@ -73,8 +72,8 @@ var i0 = tslib_1.__importStar(require("@angular/core"));
73
72
  var JsonFormsAngularMaterialModule = /** @class */ (function () {
74
73
  function JsonFormsAngularMaterialModule() {
75
74
  }
76
- JsonFormsAngularMaterialModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: JsonFormsAngularMaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
77
- JsonFormsAngularMaterialModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: JsonFormsAngularMaterialModule, declarations: [boolean_renderer_1.BooleanControlRenderer,
75
+ JsonFormsAngularMaterialModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: JsonFormsAngularMaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
76
+ JsonFormsAngularMaterialModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: JsonFormsAngularMaterialModule, declarations: [boolean_renderer_1.BooleanControlRenderer,
78
77
  textarea_renderer_1.TextAreaRenderer,
79
78
  text_renderer_1.TextControlRenderer,
80
79
  number_renderer_1.NumberControlRenderer,
@@ -105,7 +104,6 @@ var JsonFormsAngularMaterialModule = /** @class */ (function () {
105
104
  sidenav_1.MatSidenavModule,
106
105
  list_1.MatListModule,
107
106
  forms_1.ReactiveFormsModule,
108
- flex_layout_1.FlexLayoutModule,
109
107
  card_1.MatCardModule,
110
108
  select_1.MatSelectModule,
111
109
  button_1.MatButtonModule,
@@ -127,13 +125,12 @@ var JsonFormsAngularMaterialModule = /** @class */ (function () {
127
125
  sidenav_1.MatSidenavModule,
128
126
  list_1.MatListModule,
129
127
  forms_1.ReactiveFormsModule,
130
- flex_layout_1.FlexLayoutModule,
131
128
  card_1.MatCardModule,
132
129
  select_1.MatSelectModule,
133
130
  button_1.MatButtonModule,
134
131
  icon_1.MatIconModule,
135
132
  autocomplete_1.MatAutocompleteModule] });
136
- JsonFormsAngularMaterialModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: JsonFormsAngularMaterialModule, imports: [common_1.CommonModule,
133
+ JsonFormsAngularMaterialModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: JsonFormsAngularMaterialModule, imports: [common_1.CommonModule,
137
134
  angular_1.JsonFormsModule,
138
135
  form_field_1.MatFormFieldModule,
139
136
  checkbox_1.MatCheckboxModule,
@@ -146,7 +143,6 @@ var JsonFormsAngularMaterialModule = /** @class */ (function () {
146
143
  sidenav_1.MatSidenavModule,
147
144
  list_1.MatListModule,
148
145
  forms_1.ReactiveFormsModule,
149
- flex_layout_1.FlexLayoutModule,
150
146
  card_1.MatCardModule,
151
147
  select_1.MatSelectModule,
152
148
  button_1.MatButtonModule,
@@ -168,7 +164,6 @@ var JsonFormsAngularMaterialModule = /** @class */ (function () {
168
164
  sidenav_1.MatSidenavModule,
169
165
  list_1.MatListModule,
170
166
  forms_1.ReactiveFormsModule,
171
- flex_layout_1.FlexLayoutModule,
172
167
  card_1.MatCardModule,
173
168
  select_1.MatSelectModule,
174
169
  button_1.MatButtonModule,
@@ -177,7 +172,7 @@ var JsonFormsAngularMaterialModule = /** @class */ (function () {
177
172
  return JsonFormsAngularMaterialModule;
178
173
  }());
179
174
  exports.JsonFormsAngularMaterialModule = JsonFormsAngularMaterialModule;
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: JsonFormsAngularMaterialModule, decorators: [{
175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: JsonFormsAngularMaterialModule, decorators: [{
181
176
  type: core_2.NgModule,
182
177
  args: [{
183
178
  imports: [
@@ -194,7 +189,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
194
189
  sidenav_1.MatSidenavModule,
195
190
  list_1.MatListModule,
196
191
  forms_1.ReactiveFormsModule,
197
- flex_layout_1.FlexLayoutModule,
198
192
  card_1.MatCardModule,
199
193
  select_1.MatSelectModule,
200
194
  button_1.MatButtonModule,
@@ -240,7 +234,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
240
234
  sidenav_1.MatSidenavModule,
241
235
  list_1.MatListModule,
242
236
  forms_1.ReactiveFormsModule,
243
- flex_layout_1.FlexLayoutModule,
244
237
  card_1.MatCardModule,
245
238
  select_1.MatSelectModule,
246
239
  button_1.MatButtonModule,
@@ -1 +1 @@
1
- {"version":3,"file":"module.js","sourceRoot":"","sources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b,2BAAmB;wBACnB,8BAAgB;wBAChB,oBAAa;wBACb,wBAAe;wBACf,wBAAe;wBACf,oBAAa;wBACb,oCAAqB;wBACrB,sBAAc;wBACd,0BAAgB;wBAChB,0BAAgB;wBAChB,sBAAc;qBACf;oBACD,YAAY,EAAE;wBACZ,yCAAsB;wBACtB,oCAAgB;wBAChB,mCAAmB;wBACnB,uCAAqB;wBACrB,qCAAoB;wBACpB,mCAAmB;wBACnB,uCAAqB;wBACrB,iDAAsB;wBACtB,qDAAwB;wBACxB,gEAA+B;wBAC/B,2CAAmB;wBACnB,8BAAa;wBACb,4BAAmB;wBACnB,iCAAwB;wBACxB,uCAAqB;wBACrB,mDAA2B;wBAC3B,8BAAa;wBACb,2CAAmB;wBACnB,uCAA6B;qBAC9B;oBACD,OAAO,EAAE;wBACP,qBAAY;wBACZ,yBAAe;wBACf,+BAAkB;wBAClB,4BAAiB;wBACjB,sBAAc;wBACd,wBAAe;wBACf,mCAAoB;wBACpB,0BAAmB;wBACnB,gCAAmB;wBACnB,oBAAa;wBACb,0BAAgB;wBAChB,oBAAa;wBACb,2BAAmB;wBACnB,8BAAgB;wBAChB,oBAAa;wBACb,wBAAe;wBACf,wBAAe;wBACf,oBAAa;wBACb,oCAAqB;qBACtB;oBACD,OAAO,EAAE,CAAC,6BAAsB,CAAC;oBACjC,SAAS,EAAE,EAAE;iBACd"}
1
+ {"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/module.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,0CAA+C;AAC/C,wCAAqD;AACrD,+DAAuE;AACvE,mDAA2D;AAC3D,iDAAyD;AACzD,+CAAuD;AACvD,uDAA+D;AAC/D,2DAAmE;AACnE,2DAAkE;AAClE,qDAA6D;AAC7D,+CAAuD;AACvD,iDAAyD;AACzD,+CAAuD;AACvD,+CAA6D;AAC7D,mDAA2D;AAC3D,qDAA6D;AAC7D,mDAA2D;AAC3D,+DAAsE;AACtE,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,8BAAa;wBACb,2CAAmB;wBACnB,uCAA6B;qBAC9B;oBACD,OAAO,EAAE;wBACP,qBAAY;wBACZ,yBAAe;wBACf,+BAAkB;wBAClB,4BAAiB;wBACjB,sBAAc;wBACd,wBAAe;wBACf,mCAAoB;wBACpB,0BAAmB;wBACnB,gCAAmB;wBACnB,oBAAa;wBACb,0BAAgB;wBAChB,oBAAa;wBACb,2BAAmB;wBACnB,oBAAa;wBACb,wBAAe;wBACf,wBAAe;wBACf,oBAAa;wBACb,oCAAqB;qBACtB;oBACD,OAAO,EAAE,CAAC,6BAAsB,CAAC;oBACjC,SAAS,EAAE,EAAE;iBACd"}
@@ -31,7 +31,6 @@ var angular_1 = require("@jsonforms/angular");
31
31
  var core_2 = require("@jsonforms/core");
32
32
  var i0 = tslib_1.__importStar(require("@angular/core"));
33
33
  var i1 = tslib_1.__importStar(require("@jsonforms/angular"));
34
- var i2 = tslib_1.__importStar(require("@angular/flex-layout/flex"));
35
34
  var LabelRenderer = /** @class */ (function (_super) {
36
35
  tslib_1.__extends(LabelRenderer, _super);
37
36
  function LabelRenderer(jsonFormsService) {
@@ -54,17 +53,14 @@ var LabelRenderer = /** @class */ (function (_super) {
54
53
  this.subscription.unsubscribe();
55
54
  }
56
55
  };
57
- LabelRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
58
- LabelRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LabelRenderer, selector: "LabelRenderer", usesInheritance: true, ngImport: i0, template: " <label class=\"mat-headline-6\" fxFlex> {{ label }} </label> ", isInline: true, dependencies: [{ kind: "directive", type: i2.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"] }] });
56
+ LabelRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LabelRenderer, deps: [{ token: i1.JsonFormsAngularService }], target: i0.ɵɵFactoryTarget.Component });
57
+ LabelRenderer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LabelRenderer, selector: "LabelRenderer", usesInheritance: true, ngImport: i0, template: " <label class=\"mat-headline-6\"> {{ label }} </label> ", isInline: true, styles: ["\n :host {\n flex: 1 1 auto;\n }\n "] });
59
58
  return LabelRenderer;
60
59
  }(angular_1.JsonFormsBaseRenderer));
61
60
  exports.LabelRenderer = LabelRenderer;
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LabelRenderer, decorators: [{
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LabelRenderer, decorators: [{
63
62
  type: core_1.Component,
64
- args: [{
65
- selector: 'LabelRenderer',
66
- template: " <label class=\"mat-headline-6\" fxFlex> {{ label }} </label> ",
67
- }]
63
+ args: [{ selector: 'LabelRenderer', template: " <label class=\"mat-headline-6\"> {{ label }} </label> ", styles: ["\n :host {\n flex: 1 1 auto;\n }\n "] }]
68
64
  }], ctorParameters: function () { return [{ type: i1.JsonFormsAngularService }]; } });
69
65
  exports.LabelRendererTester = (0, core_2.rankWith)(4, (0, core_2.uiTypeIs)('Label'));
70
66
  //# sourceMappingURL=label.renderer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"label.renderer.js","sourceRoot":"","sources":["../../../src/other/label.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAA6D;AAC7D,8CAG4B;AAC5B,wCAQyB;;;;AAGzB;IAKU,yCAAmC;IAQ3C,uBAAoB,gBAAyC;QAA7D,YACE,iBAAO,SACR;QAFmB,sBAAgB,GAAhB,gBAAgB,CAAyB;;IAE7D,CAAC;IACD,gCAAQ,GAAR;QAAA,iBAWC;QAVC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,SAAS,CAAC;YACzD,IAAI,EAAE,UAAC,KAAqB;gBAC1B,IAAM,KAAK,GAAG,IAAA,2BAAoB,EAChC,KAAK,EACL,KAAI,CAAC,WAAW,EAAqB,CACtC,CAAC;gBACF,KAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;gBAC7B,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC;YAC1B,CAAC;SACF,CAAC,CAAC;IACL,CAAC;IAED,mCAAW,GAAX;QACE,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;SACjC;IACH,CAAC;+GA7BU,aAAa;mGAAb,aAAa,4EAFd,gEAA8D;wBA1C1E;CA0EC,AAlCD,CAKU,+BAAqB,GA6B9B;AA9BY,sCAAa;4FAAb,aAAa;kBAJzB,gBAAS;mBAAC;oBACT,QAAQ,EAAE,eAAe;oBACzB,QAAQ,EAAE,gEAA8D;iBACzE;;AAiCY,QAAA,mBAAmB,GAAiB,IAAA,eAAQ,EAAC,CAAC,EAAE,IAAA,eAAQ,EAAC,OAAO,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"label.renderer.js","sourceRoot":"","sources":["../../../src/other/label.renderer.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;EAuBE;AACF,sCAA6D;AAC7D,8CAG4B;AAC5B,wCAQyB;;;AAGzB;IAYU,yCAAmC;IAQ3C,uBAAoB,gBAAyC;QAA7D,YACE,iBAAO,SACR;QAFmB,sBAAgB,GAAhB,gBAAgB,CAAyB;;IAE7D,CAAC;IACD,gCAAQ,GAAR;QAAA,iBAWC;QAVC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,SAAS,CAAC;YACzD,IAAI,EAAE,UAAC,KAAqB;gBAC1B,IAAM,KAAK,GAAG,IAAA,2BAAoB,EAChC,KAAK,EACL,KAAI,CAAC,WAAW,EAAqB,CACtC,CAAC;gBACF,KAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;gBAC7B,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC;YAC1B,CAAC;SACF,CAAC,CAAC;IACL,CAAC;IAED,mCAAW,GAAX;QACE,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;SACjC;IACH,CAAC;+GA7BU,aAAa;mGAAb,aAAa,4EATd,yDAAuD;wBA1CnE;CAiFC,AAzCD,CAYU,+BAAqB,GA6B9B;AA9BY,sCAAa;4FAAb,aAAa;kBAXzB,gBAAS;+BACE,eAAe,YACf,yDAAuD;;AAyCtD,QAAA,mBAAmB,GAAiB,IAAA,eAAQ,EAAC,CAAC,EAAE,IAAA,eAAQ,EAAC,OAAO,CAAC,CAAC,CAAC"}
@@ -5,5 +5,5 @@ export declare class JsonFormsDetailComponent {
5
5
  initialized: boolean;
6
6
  set item(item: any);
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonFormsDetailComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<JsonFormsDetailComponent, "jsonforms-detail", never, { "item": "item"; }, {}, never, never, false, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<JsonFormsDetailComponent, "jsonforms-detail", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
9
9
  }