@ng-formworks/material 15.8.9 → 15.8.10

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,16 +1,20 @@
1
1
  import { CdkDrag, CdkDragDrop } from '@angular/cdk/drag-drop';
2
- import { SimpleChanges } from '@angular/core';
2
+ import { ChangeDetectorRef, SimpleChanges } from '@angular/core';
3
3
  import { JsonSchemaFormService } from '@ng-formworks/core';
4
+ import { Subscription } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FlexLayoutRootComponent {
6
7
  private jsf;
8
+ private cdr;
7
9
  dataIndex: number[];
8
10
  layoutIndex: number[];
9
11
  layout: any[];
10
12
  isOrderable: boolean;
11
13
  isFlexItem: boolean;
12
14
  memoizationEnabled: boolean;
13
- constructor(jsf: JsonSchemaFormService);
15
+ dataChangesSubs: Subscription;
16
+ ngOnInit(): void;
17
+ constructor(jsf: JsonSchemaFormService, cdr: ChangeDetectorRef);
14
18
  removeItem(item: any): void;
15
19
  drop(event: CdkDragDrop<string[]>): void;
16
20
  isDraggable(node: any): boolean;
@@ -33,6 +37,8 @@ export declare class FlexLayoutRootComponent {
33
37
  trackByFn(index: number, item: any): any;
34
38
  showWidget(layoutNode: any): boolean;
35
39
  ngOnChanges(changes: SimpleChanges): void;
40
+ private _showWidgetRaw;
41
+ private _showWidgetMemoized;
36
42
  ngOnDestroy(): void;
37
43
  static ɵfac: i0.ɵɵFactoryDeclaration<FlexLayoutRootComponent, never>;
38
44
  static ɵcmp: i0.ɵɵComponentDeclaration<FlexLayoutRootComponent, "flex-layout-root-widget", never, { "dataIndex": "dataIndex"; "layoutIndex": "layoutIndex"; "layout": "layout"; "isOrderable": "isOrderable"; "isFlexItem": "isFlexItem"; "memoizationEnabled": "memoizationEnabled"; }, {}, never, never, false, never>;
@@ -1,8 +1,9 @@
1
- import { OnInit } from '@angular/core';
1
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { AbstractControl } from '@angular/forms';
3
3
  import { JsonSchemaFormService } from '@ng-formworks/core';
4
+ import { Subscription } from 'rxjs';
4
5
  import * as i0 from "@angular/core";
5
- export declare class FlexLayoutSectionComponent implements OnInit {
6
+ export declare class FlexLayoutSectionComponent implements OnInit, OnDestroy, OnChanges {
6
7
  private jsf;
7
8
  formControl: AbstractControl;
8
9
  controlName: string;
@@ -16,10 +17,15 @@ export declare class FlexLayoutSectionComponent implements OnInit {
16
17
  layoutIndex: number[];
17
18
  dataIndex: number[];
18
19
  constructor(jsf: JsonSchemaFormService);
20
+ dataChangesSubs: Subscription;
21
+ titleContext: any;
19
22
  get sectionTitle(): string;
20
23
  ngOnInit(): void;
21
24
  toggleExpanded(): void;
22
25
  getFlexAttribute(attribute: string): any;
26
+ ngOnChanges(changes: SimpleChanges): void;
27
+ updateTitleContext(): void;
28
+ ngOnDestroy(): void;
23
29
  static ɵfac: i0.ɵɵFactoryDeclaration<FlexLayoutSectionComponent, never>;
24
30
  static ɵcmp: i0.ɵɵComponentDeclaration<FlexLayoutSectionComponent, "flex-layout-section-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false, never>;
25
31
  }
@@ -1,7 +1,7 @@
1
- import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { JsonSchemaFormService } from '@ng-formworks/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare class MaterialTabsComponent implements OnInit, OnDestroy, OnChanges {
4
+ export declare class MaterialTabsComponent implements OnInit, OnChanges, OnChanges {
5
5
  private jsf;
6
6
  private cdr;
7
7
  options: any;
@@ -12,12 +12,19 @@ export declare class MaterialTabsComponent implements OnInit, OnDestroy, OnChang
12
12
  layoutIndex: number[];
13
13
  dataIndex: number[];
14
14
  constructor(jsf: JsonSchemaFormService, cdr: ChangeDetectorRef);
15
+ memoizationEnabled: boolean;
15
16
  ngOnInit(): void;
17
+ ngOnChanges(changes: SimpleChanges): void;
16
18
  select(index: any): void;
17
19
  updateControl(): void;
18
20
  setTabTitle(item: any, index: number): string;
19
- ngOnChanges(changes: SimpleChanges): void;
20
- ngOnDestroy(): void;
21
+ private _getSelectFrameworkInputsRaw;
22
+ private _getSelectFrameworkInputsMemoized;
23
+ getSelectFrameworkInputs(layoutItem: any, i: number): {
24
+ layoutNode: any;
25
+ layoutIndex: number[];
26
+ dataIndex: number[];
27
+ };
21
28
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTabsComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTabsComponent, "material-tabs-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; }, {}, never, never, false, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTabsComponent, "material-tabs-widget", never, { "layoutNode": "layoutNode"; "layoutIndex": "layoutIndex"; "dataIndex": "dataIndex"; "memoizationEnabled": "memoizationEnabled"; }, {}, never, never, false, never>;
23
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-formworks/material",
3
- "version": "15.8.9",
3
+ "version": "15.8.10",
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": [
@@ -38,8 +38,8 @@
38
38
  "private": false,
39
39
  "dependencies": {
40
40
  "lodash-es": "~4.17.21",
41
- "@ng-formworks/core": "~15.8.9",
42
- "@ng-formworks/cssframework": "~15.8.9",
41
+ "@ng-formworks/core": "~15.8.10",
42
+ "@ng-formworks/cssframework": "~15.8.10",
43
43
  "tslib": "^2.0.0"
44
44
  },
45
45
  "peerDependencies": {