@ajsf/material 0.7.0 → 14.0.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 (51) hide show
  1. package/esm2020/lib/material-design-framework.component.mjs +3 -3
  2. package/esm2020/lib/material-design-framework.module.mjs +11 -23
  3. package/esm2020/lib/material-design.framework.mjs +3 -3
  4. package/esm2020/lib/widgets/flex-layout-root.component.mjs +43 -21
  5. package/esm2020/lib/widgets/flex-layout-section.component.mjs +55 -57
  6. package/esm2020/lib/widgets/material-add-reference.component.mjs +6 -6
  7. package/esm2020/lib/widgets/material-button-group.component.mjs +9 -14
  8. package/esm2020/lib/widgets/material-button.component.mjs +10 -15
  9. package/esm2020/lib/widgets/material-checkbox.component.mjs +12 -20
  10. package/esm2020/lib/widgets/material-checkboxes.component.mjs +10 -21
  11. package/esm2020/lib/widgets/material-chip-list.component.mjs +3 -3
  12. package/esm2020/lib/widgets/material-datepicker.component.mjs +12 -21
  13. package/esm2020/lib/widgets/material-file.component.mjs +3 -3
  14. package/esm2020/lib/widgets/material-input.component.mjs +13 -22
  15. package/esm2020/lib/widgets/material-number.component.mjs +11 -20
  16. package/esm2020/lib/widgets/material-one-of.component.mjs +3 -3
  17. package/esm2020/lib/widgets/material-radios.component.mjs +11 -20
  18. package/esm2020/lib/widgets/material-select.component.mjs +11 -20
  19. package/esm2020/lib/widgets/material-slider.component.mjs +11 -16
  20. package/esm2020/lib/widgets/material-stepper.component.mjs +3 -3
  21. package/esm2020/lib/widgets/material-tabs.component.mjs +9 -14
  22. package/esm2020/lib/widgets/material-textarea.component.mjs +11 -20
  23. package/fesm2015/ajsf-material.mjs +215 -310
  24. package/fesm2015/ajsf-material.mjs.map +1 -1
  25. package/fesm2020/ajsf-material.mjs +215 -310
  26. package/fesm2020/ajsf-material.mjs.map +1 -1
  27. package/lib/material-design-framework.component.d.ts +1 -1
  28. package/lib/material-design-framework.module.d.ts +25 -27
  29. package/lib/widgets/flex-layout-root.component.d.ts +7 -1
  30. package/lib/widgets/flex-layout-section.component.d.ts +5 -1
  31. package/lib/widgets/material-add-reference.component.d.ts +1 -1
  32. package/lib/widgets/material-button-group.component.d.ts +1 -1
  33. package/lib/widgets/material-button.component.d.ts +1 -1
  34. package/lib/widgets/material-checkbox.component.d.ts +1 -1
  35. package/lib/widgets/material-checkboxes.component.d.ts +1 -1
  36. package/lib/widgets/material-chip-list.component.d.ts +1 -1
  37. package/lib/widgets/material-datepicker.component.d.ts +1 -1
  38. package/lib/widgets/material-file.component.d.ts +1 -1
  39. package/lib/widgets/material-input.component.d.ts +1 -1
  40. package/lib/widgets/material-number.component.d.ts +1 -1
  41. package/lib/widgets/material-one-of.component.d.ts +1 -1
  42. package/lib/widgets/material-radios.component.d.ts +1 -1
  43. package/lib/widgets/material-select.component.d.ts +1 -1
  44. package/lib/widgets/material-slider.component.d.ts +1 -1
  45. package/lib/widgets/material-stepper.component.d.ts +1 -1
  46. package/lib/widgets/material-tabs.component.d.ts +1 -1
  47. package/lib/widgets/material-textarea.component.d.ts +1 -1
  48. package/package.json +9 -10
  49. package/esm2020/lib/angular-flex-monkey-patch.mjs +0 -12
  50. package/lib/angular-flex-monkey-patch.d.ts +0 -1
  51. /package/{ajsf-material.d.ts → index.d.ts} +0 -0
@@ -24,5 +24,5 @@ export declare class MaterialDesignFrameworkComponent implements OnInit, OnChang
24
24
  updateTitle(): void;
25
25
  removeItem(): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDesignFrameworkComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDesignFrameworkComponent, "material-design-framework", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDesignFrameworkComponent, "material-design-framework", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
28
28
  }
@@ -1,4 +1,4 @@
1
- import { MatNativeDateModule } from '@angular/material/core';
1
+ import { MatButtonModule } from '@angular/material/button';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "./widgets/flex-layout-root.component";
4
4
  import * as i2 from "./widgets/flex-layout-section.component";
@@ -22,29 +22,28 @@ import * as i19 from "./widgets/material-textarea.component";
22
22
  import * as i20 from "./material-design-framework.component";
23
23
  import * as i21 from "@angular/common";
24
24
  import * as i22 from "@angular/forms";
25
- import * as i23 from "@angular/flex-layout";
26
- import * as i24 from "@angular/material/autocomplete";
27
- import * as i25 from "@angular/material/button";
28
- import * as i26 from "@angular/material/button-toggle";
29
- import * as i27 from "@angular/material/card";
30
- import * as i28 from "@angular/material/checkbox";
31
- import * as i29 from "@angular/material/chips";
32
- import * as i30 from "@angular/material/datepicker";
33
- import * as i31 from "@angular/material/expansion";
34
- import * as i32 from "@angular/material/form-field";
35
- import * as i33 from "@angular/material/icon";
36
- import * as i34 from "@angular/material/input";
37
- import * as i35 from "@angular/material/core";
38
- import * as i36 from "@angular/material/radio";
39
- import * as i37 from "@angular/material/select";
40
- import * as i38 from "@angular/material/slider";
41
- import * as i39 from "@angular/material/slide-toggle";
42
- import * as i40 from "@angular/material/stepper";
43
- import * as i41 from "@angular/material/tabs";
44
- import * as i42 from "@angular/material/tooltip";
45
- import * as i43 from "@angular/material/toolbar";
46
- import * as i44 from "@angular/material/menu";
47
- import * as i45 from "@ajsf/core";
25
+ import * as i23 from "@angular/material/autocomplete";
26
+ import * as i24 from "@angular/material/button";
27
+ import * as i25 from "@angular/material/button-toggle";
28
+ import * as i26 from "@angular/material/card";
29
+ import * as i27 from "@angular/material/checkbox";
30
+ import * as i28 from "@angular/material/chips";
31
+ import * as i29 from "@angular/material/datepicker";
32
+ import * as i30 from "@angular/material/expansion";
33
+ import * as i31 from "@angular/material/form-field";
34
+ import * as i32 from "@angular/material/icon";
35
+ import * as i33 from "@angular/material/input";
36
+ import * as i34 from "@angular/material/core";
37
+ import * as i35 from "@angular/material/radio";
38
+ import * as i36 from "@angular/material/select";
39
+ import * as i37 from "@angular/material/slider";
40
+ import * as i38 from "@angular/material/slide-toggle";
41
+ import * as i39 from "@angular/material/stepper";
42
+ import * as i40 from "@angular/material/tabs";
43
+ import * as i41 from "@angular/material/tooltip";
44
+ import * as i42 from "@angular/material/toolbar";
45
+ import * as i43 from "@angular/material/menu";
46
+ import * as i44 from "@ajsf/core";
48
47
  /**
49
48
  * unused @angular/material modules:
50
49
  * MatDialogModule, MatGridListModule, MatListModule, MatMenuModule,
@@ -52,10 +51,9 @@ import * as i45 from "@ajsf/core";
52
51
  * MatSidenavModule, MatSnackBarModule, MatSortModule, MatTableModule,
53
52
  * ,
54
53
  */
55
- export declare const ANGULAR_MATERIAL_MODULES: (typeof MatNativeDateModule)[];
54
+ export declare const ANGULAR_MATERIAL_MODULES: (typeof MatButtonModule)[];
56
55
  export declare class MaterialDesignFrameworkModule {
57
- constructor();
58
56
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDesignFrameworkModule, never>;
59
- static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialDesignFrameworkModule, [typeof i1.FlexLayoutRootComponent, typeof i2.FlexLayoutSectionComponent, typeof i3.MaterialAddReferenceComponent, typeof i4.MaterialOneOfComponent, typeof i5.MaterialButtonComponent, typeof i6.MaterialButtonGroupComponent, typeof i7.MaterialCheckboxComponent, typeof i8.MaterialCheckboxesComponent, typeof i9.MaterialChipListComponent, typeof i10.MaterialDatepickerComponent, typeof i11.MaterialFileComponent, typeof i12.MaterialInputComponent, typeof i13.MaterialNumberComponent, typeof i14.MaterialRadiosComponent, typeof i15.MaterialSelectComponent, typeof i16.MaterialSliderComponent, typeof i17.MaterialStepperComponent, typeof i18.MaterialTabsComponent, typeof i19.MaterialTextareaComponent, typeof i20.MaterialDesignFrameworkComponent], [typeof i21.CommonModule, typeof i22.FormsModule, typeof i22.ReactiveFormsModule, typeof i23.FlexLayoutModule, typeof i24.MatAutocompleteModule, typeof i25.MatButtonModule, typeof i26.MatButtonToggleModule, typeof i27.MatCardModule, typeof i28.MatCheckboxModule, typeof i29.MatChipsModule, typeof i30.MatDatepickerModule, typeof i31.MatExpansionModule, typeof i32.MatFormFieldModule, typeof i33.MatIconModule, typeof i34.MatInputModule, typeof i35.MatNativeDateModule, typeof i36.MatRadioModule, typeof i37.MatSelectModule, typeof i38.MatSliderModule, typeof i39.MatSlideToggleModule, typeof i40.MatStepperModule, typeof i41.MatTabsModule, typeof i42.MatTooltipModule, typeof i43.MatToolbarModule, typeof i44.MatMenuModule, typeof i43.MatToolbarModule, typeof i45.WidgetLibraryModule, typeof i45.JsonSchemaFormModule], [typeof i45.JsonSchemaFormModule, typeof i1.FlexLayoutRootComponent, typeof i2.FlexLayoutSectionComponent, typeof i3.MaterialAddReferenceComponent, typeof i4.MaterialOneOfComponent, typeof i5.MaterialButtonComponent, typeof i6.MaterialButtonGroupComponent, typeof i7.MaterialCheckboxComponent, typeof i8.MaterialCheckboxesComponent, typeof i9.MaterialChipListComponent, typeof i10.MaterialDatepickerComponent, typeof i11.MaterialFileComponent, typeof i12.MaterialInputComponent, typeof i13.MaterialNumberComponent, typeof i14.MaterialRadiosComponent, typeof i15.MaterialSelectComponent, typeof i16.MaterialSliderComponent, typeof i17.MaterialStepperComponent, typeof i18.MaterialTabsComponent, typeof i19.MaterialTextareaComponent, typeof i20.MaterialDesignFrameworkComponent]>;
57
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialDesignFrameworkModule, [typeof i1.FlexLayoutRootComponent, typeof i2.FlexLayoutSectionComponent, typeof i3.MaterialAddReferenceComponent, typeof i4.MaterialOneOfComponent, typeof i5.MaterialButtonComponent, typeof i6.MaterialButtonGroupComponent, typeof i7.MaterialCheckboxComponent, typeof i8.MaterialCheckboxesComponent, typeof i9.MaterialChipListComponent, typeof i10.MaterialDatepickerComponent, typeof i11.MaterialFileComponent, typeof i12.MaterialInputComponent, typeof i13.MaterialNumberComponent, typeof i14.MaterialRadiosComponent, typeof i15.MaterialSelectComponent, typeof i16.MaterialSliderComponent, typeof i17.MaterialStepperComponent, typeof i18.MaterialTabsComponent, typeof i19.MaterialTextareaComponent, typeof i20.MaterialDesignFrameworkComponent], [typeof i21.CommonModule, typeof i22.FormsModule, typeof i22.ReactiveFormsModule, typeof i23.MatAutocompleteModule, typeof i24.MatButtonModule, typeof i25.MatButtonToggleModule, typeof i26.MatCardModule, typeof i27.MatCheckboxModule, typeof i28.MatChipsModule, typeof i29.MatDatepickerModule, typeof i30.MatExpansionModule, typeof i31.MatFormFieldModule, typeof i32.MatIconModule, typeof i33.MatInputModule, typeof i34.MatNativeDateModule, typeof i35.MatRadioModule, typeof i36.MatSelectModule, typeof i37.MatSliderModule, typeof i38.MatSlideToggleModule, typeof i39.MatStepperModule, typeof i40.MatTabsModule, typeof i41.MatTooltipModule, typeof i42.MatToolbarModule, typeof i43.MatMenuModule, typeof i42.MatToolbarModule, typeof i44.WidgetLibraryModule, typeof i44.JsonSchemaFormModule], [typeof i44.JsonSchemaFormModule, typeof i1.FlexLayoutRootComponent, typeof i2.FlexLayoutSectionComponent, typeof i3.MaterialAddReferenceComponent, typeof i4.MaterialOneOfComponent, typeof i5.MaterialButtonComponent, typeof i6.MaterialButtonGroupComponent, typeof i7.MaterialCheckboxComponent, typeof i8.MaterialCheckboxesComponent, typeof i9.MaterialChipListComponent, typeof i10.MaterialDatepickerComponent, typeof i11.MaterialFileComponent, typeof i12.MaterialInputComponent, typeof i13.MaterialNumberComponent, typeof i14.MaterialRadiosComponent, typeof i15.MaterialSelectComponent, typeof i16.MaterialSliderComponent, typeof i17.MaterialStepperComponent, typeof i18.MaterialTabsComponent, typeof i19.MaterialTextareaComponent, typeof i20.MaterialDesignFrameworkComponent]>;
60
58
  static ɵinj: i0.ɵɵInjectorDeclaration<MaterialDesignFrameworkModule>;
61
59
  }
@@ -8,8 +8,14 @@ export declare class FlexLayoutRootComponent {
8
8
  isFlexItem: boolean;
9
9
  constructor(jsf: JsonSchemaFormService);
10
10
  removeItem(item: any): void;
11
+ private static readonly SELF_ALIGN;
12
+ getFlexBasis(node: any): string;
13
+ getMaxWidth(node: any): string;
14
+ getAlignSelf(node: any): string;
15
+ getOrder(node: any): string;
16
+ getOffset(node: any): string;
11
17
  getFlexAttribute(node: any, attribute: string): any;
12
18
  showWidget(layoutNode: any): boolean;
13
19
  static ɵfac: i0.ɵɵFactoryDeclaration<FlexLayoutRootComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FlexLayoutRootComponent, "flex-layout-root-widget", never, { "dataIndex": "dataIndex"; "layoutIndex": "layoutIndex"; "layout": "layout"; "isFlexItem": "isFlexItem"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlexLayoutRootComponent, "flex-layout-root-widget", never, { "dataIndex": "dataIndex"; "layoutIndex": "layoutIndex"; "layout": "layout"; "isFlexItem": "isFlexItem"; }, {}, never, never, false>;
15
21
  }
@@ -19,7 +19,11 @@ export declare class FlexLayoutSectionComponent implements OnInit {
19
19
  get sectionTitle(): string;
20
20
  ngOnInit(): void;
21
21
  toggleExpanded(): void;
22
+ private static readonly ALIGN;
23
+ private fxAlign;
24
+ getJustifyContent(): string;
25
+ getAlignItems(): string;
22
26
  getFlexAttribute(attribute: string): any;
23
27
  static ɵfac: i0.ɵɵFactoryDeclaration<FlexLayoutSectionComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<FlexLayoutSectionComponent, "flex-layout-section-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlexLayoutSectionComponent, "flex-layout-section-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
25
29
  }
@@ -16,5 +16,5 @@ export declare class MaterialAddReferenceComponent implements OnInit {
16
16
  addItem(event: any): void;
17
17
  get buttonText(): string;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialAddReferenceComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialAddReferenceComponent, "material-add-reference-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialAddReferenceComponent, "material-add-reference-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
20
20
  }
@@ -19,5 +19,5 @@ export declare class MaterialButtonGroupComponent implements OnInit {
19
19
  ngOnInit(): void;
20
20
  updateValue(value: any): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialButtonGroupComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialButtonGroupComponent, "material-button-group-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialButtonGroupComponent, "material-button-group-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
23
23
  }
@@ -17,5 +17,5 @@ export declare class MaterialButtonComponent implements OnInit {
17
17
  ngOnInit(): void;
18
18
  updateValue(event: any): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialButtonComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialButtonComponent, "material-button-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialButtonComponent, "material-button-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
21
21
  }
@@ -21,5 +21,5 @@ export declare class MaterialCheckboxComponent implements OnInit {
21
21
  updateValue(event: any): void;
22
22
  get isChecked(): boolean;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCheckboxComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCheckboxComponent, "material-checkbox-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCheckboxComponent, "material-checkbox-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
25
25
  }
@@ -23,5 +23,5 @@ export declare class MaterialCheckboxesComponent implements OnInit {
23
23
  updateValue(): void;
24
24
  updateAllValues(event: any): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCheckboxesComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCheckboxesComponent, "material-checkboxes-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCheckboxesComponent, "material-checkboxes-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
27
27
  }
@@ -17,5 +17,5 @@ export declare class MaterialChipListComponent implements OnInit {
17
17
  ngOnInit(): void;
18
18
  updateValue(event: any): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialChipListComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialChipListComponent, "material-chip-list-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialChipListComponent, "material-chip-list-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
21
21
  }
@@ -18,5 +18,5 @@ export declare class MaterialDatepickerComponent implements OnInit {
18
18
  constructor(matFormFieldDefaultOptions: any, jsf: JsonSchemaFormService);
19
19
  ngOnInit(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDatepickerComponent, [{ optional: true; }, null]>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDatepickerComponent, "material-datepicker-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDatepickerComponent, "material-datepicker-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
22
22
  }
@@ -17,5 +17,5 @@ export declare class MaterialFileComponent implements OnInit {
17
17
  ngOnInit(): void;
18
18
  updateValue(event: any): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialFileComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialFileComponent, "material-file-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialFileComponent, "material-file-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
21
21
  }
@@ -19,5 +19,5 @@ export declare class MaterialInputComponent implements OnInit {
19
19
  ngOnInit(): void;
20
20
  updateValue(event: any): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialInputComponent, [{ optional: true; }, null]>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialInputComponent, "material-input-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialInputComponent, "material-input-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
23
23
  }
@@ -22,5 +22,5 @@ export declare class MaterialNumberComponent implements OnInit {
22
22
  ngOnInit(): void;
23
23
  updateValue(event: any): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialNumberComponent, [{ optional: true; }, null]>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialNumberComponent, "material-number-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialNumberComponent, "material-number-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
26
26
  }
@@ -17,5 +17,5 @@ export declare class MaterialOneOfComponent implements OnInit {
17
17
  ngOnInit(): void;
18
18
  updateValue(event: any): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialOneOfComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialOneOfComponent, "material-one-of-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialOneOfComponent, "material-one-of-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
21
21
  }
@@ -19,5 +19,5 @@ export declare class MaterialRadiosComponent implements OnInit {
19
19
  ngOnInit(): void;
20
20
  updateValue(value: any): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialRadiosComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialRadiosComponent, "material-radios-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialRadiosComponent, "material-radios-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
23
23
  }
@@ -20,5 +20,5 @@ export declare class MaterialSelectComponent implements OnInit {
20
20
  ngOnInit(): void;
21
21
  updateValue(event: any): void;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialSelectComponent, [{ optional: true; }, null]>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialSelectComponent, "material-select-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialSelectComponent, "material-select-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
24
24
  }
@@ -21,5 +21,5 @@ export declare class MaterialSliderComponent implements OnInit {
21
21
  ngOnInit(): void;
22
22
  updateValue(event: any): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialSliderComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialSliderComponent, "material-slider-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialSliderComponent, "material-slider-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
25
25
  }
@@ -17,5 +17,5 @@ export declare class MaterialStepperComponent implements OnInit {
17
17
  ngOnInit(): void;
18
18
  updateValue(event: any): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialStepperComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialStepperComponent, "material-stepper-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialStepperComponent, "material-stepper-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
21
21
  }
@@ -16,5 +16,5 @@ export declare class MaterialTabsComponent implements OnInit {
16
16
  updateControl(): void;
17
17
  setTabTitle(item: any, index: number): string;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTabsComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTabsComponent, "material-tabs-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTabsComponent, "material-tabs-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
20
20
  }
@@ -18,5 +18,5 @@ export declare class MaterialTextareaComponent implements OnInit {
18
18
  ngOnInit(): void;
19
19
  updateValue(event: any): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTextareaComponent, [{ optional: true; }, null]>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTextareaComponent, "material-textarea-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTextareaComponent, "material-textarea-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false>;
22
22
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@ajsf/material",
3
- "version": "0.7.0",
3
+ "version": "14.0.0",
4
4
  "description": "Angular JSON Schema Form builder using Angular Material UI",
5
5
  "author": "https://github.com/hamzahamidi/ajsf/graphs/contributors",
6
6
  "keywords": [
7
7
  "Angular",
8
8
  "ng",
9
- "Angular13",
10
- "Angular 13",
11
- "ng13",
9
+ "Angular14",
10
+ "Angular 14",
11
+ "ng14",
12
12
  "JSON Schema",
13
13
  "form",
14
14
  "forms",
@@ -29,26 +29,25 @@
29
29
  "private": false,
30
30
  "dependencies": {
31
31
  "lodash-es": "~4.17.21",
32
- "@ajsf/core": "~0.7.0",
32
+ "@ajsf/core": "^14.0.0",
33
33
  "tslib": "^2.0.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@angular/flex-layout": ">=13.0.0-beta.38",
37
- "@angular/material": ">=13.0.0",
38
- "@angular/cdk": ">=13.0.0"
36
+ "@angular/material": "^14.0.0",
37
+ "@angular/cdk": "^14.0.0"
39
38
  },
40
39
  "module": "fesm2015/ajsf-material.mjs",
41
40
  "es2020": "fesm2020/ajsf-material.mjs",
42
41
  "esm2020": "esm2020/ajsf-material.mjs",
43
42
  "fesm2020": "fesm2020/ajsf-material.mjs",
44
43
  "fesm2015": "fesm2015/ajsf-material.mjs",
45
- "typings": "ajsf-material.d.ts",
44
+ "typings": "index.d.ts",
46
45
  "exports": {
47
46
  "./package.json": {
48
47
  "default": "./package.json"
49
48
  },
50
49
  ".": {
51
- "types": "./ajsf-material.d.ts",
50
+ "types": "./index.d.ts",
52
51
  "esm2020": "./esm2020/ajsf-material.mjs",
53
52
  "es2020": "./fesm2020/ajsf-material.mjs",
54
53
  "es2015": "./fesm2015/ajsf-material.mjs",
@@ -1,12 +0,0 @@
1
- import { MediaMarshaller } from '@angular/flex-layout/core';
2
- export function fixAngularFlex() {
3
- // monkey patch based on errors in console - https://github.com/angular/flex-layout/issues/1011
4
- const MediaMarshallerUpdateElement = MediaMarshaller.prototype.updateElement;
5
- MediaMarshaller.prototype.updateElement = function (element, key, value) {
6
- if (key === 'layout-gap' && (value === null || value === undefined)) {
7
- value = '0px';
8
- }
9
- MediaMarshallerUpdateElement.apply(this, [element, key, value]);
10
- };
11
- }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci1mbGV4LW1vbmtleS1wYXRjaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fqc2YtbWF0ZXJpYWwvc3JjL2xpYi9hbmd1bGFyLWZsZXgtbW9ua2V5LXBhdGNoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUU1RCxNQUFNLFVBQVUsY0FBYztJQUM1QixnR0FBZ0c7SUFDaEcsTUFBTSw0QkFBNEIsR0FBRyxlQUFlLENBQUMsU0FBUyxDQUFDLGFBQWEsQ0FBQztJQUU3RSxlQUFlLENBQUMsU0FBUyxDQUFDLGFBQWEsR0FBRyxVQUFVLE9BQW9CLEVBQUUsR0FBVyxFQUFFLEtBQVU7UUFDL0YsSUFBSSxHQUFHLEtBQUssWUFBWSxJQUFJLENBQUMsS0FBSyxLQUFLLElBQUksSUFBSSxLQUFLLEtBQUssU0FBUyxDQUFDLEVBQUU7WUFDbkUsS0FBSyxHQUFHLEtBQUssQ0FBQztTQUNmO1FBQ0QsNEJBQTRCLENBQUMsS0FBSyxDQUFDLElBQUksRUFBRSxDQUFDLE9BQU8sRUFBRSxHQUFHLEVBQUUsS0FBSyxDQUFDLENBQUMsQ0FBQztJQUNsRSxDQUFDLENBQUM7QUFDSixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTWVkaWFNYXJzaGFsbGVyIH0gZnJvbSAnQGFuZ3VsYXIvZmxleC1sYXlvdXQvY29yZSc7XG5cbmV4cG9ydCBmdW5jdGlvbiBmaXhBbmd1bGFyRmxleCgpIHtcbiAgLy8gbW9ua2V5IHBhdGNoIGJhc2VkIG9uIGVycm9ycyBpbiBjb25zb2xlICAtIGh0dHBzOi8vZ2l0aHViLmNvbS9hbmd1bGFyL2ZsZXgtbGF5b3V0L2lzc3Vlcy8xMDExXG4gIGNvbnN0IE1lZGlhTWFyc2hhbGxlclVwZGF0ZUVsZW1lbnQgPSBNZWRpYU1hcnNoYWxsZXIucHJvdG90eXBlLnVwZGF0ZUVsZW1lbnQ7XG5cbiAgTWVkaWFNYXJzaGFsbGVyLnByb3RvdHlwZS51cGRhdGVFbGVtZW50ID0gZnVuY3Rpb24gKGVsZW1lbnQ6IEhUTUxFbGVtZW50LCBrZXk6IHN0cmluZywgdmFsdWU6IGFueSkge1xuICAgIGlmIChrZXkgPT09ICdsYXlvdXQtZ2FwJyAmJiAodmFsdWUgPT09IG51bGwgfHwgdmFsdWUgPT09IHVuZGVmaW5lZCkpIHtcbiAgICAgIHZhbHVlID0gJzBweCc7XG4gICAgfVxuICAgIE1lZGlhTWFyc2hhbGxlclVwZGF0ZUVsZW1lbnQuYXBwbHkodGhpcywgW2VsZW1lbnQsIGtleSwgdmFsdWVdKTtcbiAgfTtcbn1cbiJdfQ==
@@ -1 +0,0 @@
1
- export declare function fixAngularFlex(): void;
File without changes