@ng-formworks/material 19.5.6 → 19.5.8

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.
@@ -1,4 +1,4 @@
1
- import { MatButtonModule } from '@angular/material/button';
1
+ import { MatAutocompleteModule } from '@angular/material/autocomplete';
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";
@@ -43,8 +43,10 @@ import * as i40 from "@angular/material/tabs";
43
43
  import * as i41 from "@angular/material/tooltip";
44
44
  import * as i42 from "@angular/material/toolbar";
45
45
  import * as i43 from "@angular/material/menu";
46
- import * as i44 from "@ng-formworks/core";
47
- import * as i45 from "@ng-formworks/cssframework";
46
+ import * as i44 from "@angular/cdk/drag-drop";
47
+ import * as i45 from "@ng-formworks/core";
48
+ import * as i46 from "@ng-formworks/cssframework";
49
+ import * as i47 from "nxt-sortablejs";
48
50
  /**
49
51
  * unused @angular/material modules:
50
52
  * MatDialogModule, MatGridListModule, MatListModule, MatMenuModule,
@@ -52,10 +54,10 @@ import * as i45 from "@ng-formworks/cssframework";
52
54
  * MatSidenavModule, MatSnackBarModule, MatSortModule, MatTableModule,
53
55
  * ,
54
56
  */
55
- export declare const ANGULAR_MATERIAL_MODULES: (typeof MatButtonModule)[];
57
+ export declare const ANGULAR_MATERIAL_MODULES: (typeof MatAutocompleteModule)[];
56
58
  export declare class MaterialDesignFrameworkModule {
57
59
  constructor();
58
60
  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.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 i45.CssFrameworkModule], [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]>;
61
+ 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.DragDropModule, typeof i45.WidgetLibraryModule, typeof i45.JsonSchemaFormModule, typeof i46.CssFrameworkModule, typeof i47.SortablejsModule], [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]>;
60
62
  static ɵinj: i0.ɵɵInjectorDeclaration<MaterialDesignFrameworkModule>;
61
63
  }
@@ -1,11 +1,18 @@
1
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
+ import { OnInit } from '@angular/core';
1
3
  import * as i0 from "@angular/core";
2
- export declare class FlexLayoutRootComponent {
4
+ export declare class FlexLayoutRootComponent implements OnInit {
3
5
  private jsf;
4
6
  readonly dataIndex: import("@angular/core").InputSignal<number[]>;
5
7
  readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
6
8
  readonly layout: import("@angular/core").InputSignal<any[]>;
7
9
  readonly isFlexItem: import("@angular/core").InputSignal<boolean>;
10
+ ngOnInit(): void;
8
11
  removeItem(item: any): void;
12
+ sortableObj: any;
13
+ sortableConfig: any;
14
+ sortableInit(sortable: any): void;
15
+ drop(event: CdkDragDrop<string[]>): void;
9
16
  getFlexAttribute(node: any, attribute: string): any;
10
17
  showWidget(layoutNode: any): boolean;
11
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FlexLayoutRootComponent, never>;
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import { AbstractControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MaterialDatepickerComponent implements OnInit {
5
- matFormFieldDefaultOptions: import("@angular/material/form-field").MatFormFieldDefaultOptions;
5
+ matFormFieldDefaultOptions: import("@angular/material/form-field.d-4c1ce1c5").h;
6
6
  private jsf;
7
7
  formControl: AbstractControl;
8
8
  controlName: string;
@@ -2,7 +2,7 @@ import { ElementRef, OnInit } from '@angular/core';
2
2
  import { AbstractControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MaterialInputComponent implements OnInit {
5
- matFormFieldDefaultOptions: import("@angular/material/form-field").MatFormFieldDefaultOptions;
5
+ matFormFieldDefaultOptions: import("@angular/material/form-field.d-4c1ce1c5").h;
6
6
  private jsf;
7
7
  formControl: AbstractControl;
8
8
  controlName: string;
@@ -16,6 +16,8 @@ export declare class MaterialInputComponent implements OnInit {
16
16
  readonly dataIndex: import("@angular/core").InputSignal<number[]>;
17
17
  readonly input: import("@angular/core").Signal<ElementRef<any>>;
18
18
  get inputAttributes(): any;
19
+ onMouseDown(e: any): void;
20
+ onTouchStart(e: any): void;
19
21
  ngOnInit(): void;
20
22
  updateValue(event: any): void;
21
23
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialInputComponent, never>;
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import { AbstractControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MaterialNumberComponent implements OnInit {
5
- matFormFieldDefaultOptions: import("@angular/material/form-field").MatFormFieldDefaultOptions;
5
+ matFormFieldDefaultOptions: import("@angular/material/form-field.d-4c1ce1c5").h;
6
6
  private jsf;
7
7
  formControl: AbstractControl;
8
8
  controlName: string;
@@ -17,6 +17,9 @@ export declare class MaterialNumberComponent implements OnInit {
17
17
  readonly layoutNode: import("@angular/core").InputSignal<any>;
18
18
  readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
19
19
  readonly dataIndex: import("@angular/core").InputSignal<number[]>;
20
+ get inputAttributes(): any;
21
+ onMouseDown(e: any): void;
22
+ onTouchStart(e: any): void;
20
23
  ngOnInit(): void;
21
24
  updateValue(event: any): void;
22
25
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialNumberComponent, never>;
@@ -3,7 +3,7 @@ import { AbstractControl } from '@angular/forms';
3
3
  import { isArray } from '@ng-formworks/core';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class MaterialSelectComponent implements OnInit {
6
- matFormFieldDefaultOptions: import("@angular/material/form-field").MatFormFieldDefaultOptions;
6
+ matFormFieldDefaultOptions: import("@angular/material/form-field.d-4c1ce1c5").h;
7
7
  private jsf;
8
8
  formControl: AbstractControl;
9
9
  controlName: string;
@@ -16,6 +16,9 @@ export declare class MaterialSliderComponent implements OnInit {
16
16
  readonly layoutNode: import("@angular/core").InputSignal<any>;
17
17
  readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
18
18
  readonly dataIndex: import("@angular/core").InputSignal<number[]>;
19
+ get inputAttributes(): any;
20
+ onMouseDown(e: any): void;
21
+ onTouchStart(e: any): void;
19
22
  ngOnInit(): void;
20
23
  updateValue(event: any): void;
21
24
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialSliderComponent, never>;
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
2
2
  import { AbstractControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class MaterialTextareaComponent implements OnInit {
5
- matFormFieldDefaultOptions: import("@angular/material/form-field").MatFormFieldDefaultOptions;
5
+ matFormFieldDefaultOptions: import("@angular/material/form-field.d-4c1ce1c5").h;
6
6
  private jsf;
7
7
  formControl: AbstractControl;
8
8
  controlName: string;
@@ -18,7 +18,7 @@ import { MaterialSliderComponent } from './material-slider.component';
18
18
  import { MaterialStepperComponent } from './material-stepper.component';
19
19
  import { MaterialTabsComponent } from './material-tabs.component';
20
20
  import { MaterialTextareaComponent } from './material-textarea.component';
21
- export declare const MATERIAL_FRAMEWORK_COMPONENTS: (typeof MaterialInputComponent | typeof MaterialDesignFrameworkComponent | typeof FlexLayoutRootComponent | typeof FlexLayoutSectionComponent | typeof MaterialAddReferenceComponent | typeof MaterialButtonComponent | typeof MaterialButtonGroupComponent | typeof MaterialCheckboxComponent | typeof MaterialCheckboxesComponent | typeof MaterialChipListComponent | typeof MaterialDatepickerComponent | typeof MaterialFileComponent | typeof MaterialNumberComponent | typeof MaterialOneOfComponent | typeof MaterialRadiosComponent | typeof MaterialSelectComponent | typeof MaterialSliderComponent | typeof MaterialStepperComponent | typeof MaterialTabsComponent | typeof MaterialTextareaComponent)[];
21
+ export declare const MATERIAL_FRAMEWORK_COMPONENTS: (typeof MaterialDesignFrameworkComponent | typeof FlexLayoutRootComponent | typeof FlexLayoutSectionComponent | typeof MaterialAddReferenceComponent | typeof MaterialButtonComponent | typeof MaterialButtonGroupComponent | typeof MaterialCheckboxComponent | typeof MaterialCheckboxesComponent | typeof MaterialChipListComponent | typeof MaterialDatepickerComponent | typeof MaterialFileComponent | typeof MaterialInputComponent | typeof MaterialNumberComponent | typeof MaterialOneOfComponent | typeof MaterialRadiosComponent | typeof MaterialSelectComponent | typeof MaterialSliderComponent | typeof MaterialStepperComponent | typeof MaterialTabsComponent | typeof MaterialTextareaComponent)[];
22
22
  export { FlexLayoutRootComponent } from './flex-layout-root.component';
23
23
  export { FlexLayoutSectionComponent } from './flex-layout-section.component';
24
24
  export { MaterialAddReferenceComponent } from './material-add-reference.component';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-formworks/material",
3
- "version": "19.5.6",
3
+ "version": "19.5.8",
4
4
  "description": "Angular ng-formworks - JSON Schema Form builder using Angular Material UI",
5
5
  "author": "https://github.com/zahmo/ng-formworks/graphs/contributors",
6
6
  "keywords": [
@@ -40,8 +40,8 @@
40
40
  "private": false,
41
41
  "dependencies": {
42
42
  "lodash-es": "~4.17.21",
43
- "@ng-formworks/core": "~19.5.6",
44
- "@ng-formworks/cssframework": "~19.5.6",
43
+ "@ng-formworks/core": "~19.5.8",
44
+ "@ng-formworks/cssframework": "~19.5.8",
45
45
  "tslib": "^2.7.0"
46
46
  },
47
47
  "peerDependencies": {