nuxeo-development-framework 5.1.0 → 5.1.2

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.
@@ -5,6 +5,7 @@ import { UserPreferencesService } from '../../../../core/services/user/user-pref
5
5
  import { ToastType } from '../../interfaces/toast-type.interface';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class CustomToastrComponent extends Toast implements OnInit {
8
+ protected _environment: Record<string, any>;
8
9
  protected toastrService: ToastrService;
9
10
  toastPackage: ToastPackage;
10
11
  private translate;
@@ -14,8 +15,9 @@ export declare class CustomToastrComponent extends Toast implements OnInit {
14
15
  value: any;
15
16
  customContent: string;
16
17
  private onDestroy$;
17
- constructor(toastrService: ToastrService, toastPackage: ToastPackage, translate: TranslateService, userPreferenceService?: UserPreferencesService);
18
+ constructor(_environment: Record<string, any>, toastrService: ToastrService, toastPackage: ToastPackage, translate: TranslateService, userPreferenceService?: UserPreferencesService);
18
19
  ngOnInit(): void;
20
+ remove(): void;
19
21
  static ɵfac: i0.ɵɵFactoryDeclaration<CustomToastrComponent, never>;
20
22
  static ɵcmp: i0.ɵɵComponentDeclaration<CustomToastrComponent, "cts-custom-toastr", never, {}, {}, never, never>;
21
23
  }
@@ -17,6 +17,8 @@ export declare abstract class BaseNodeClass<T = unknown> extends ClassicPreset.N
17
17
  styleClass?: string;
18
18
  options?: Record<string, any>;
19
19
  directions: Record<'inputs' | 'outputs', DirectionType>;
20
+ level?: number;
21
+ edges?: string[];
20
22
  notify: (eventType: NotifyEventType, payload: Record<string, any>) => void;
21
23
  constructor(config: NodeDefinitionData);
22
24
  }
@@ -1,6 +1,7 @@
1
1
  import { NodeEditor } from 'rete';
2
2
  import { Position } from 'rete-area-plugin/_types/types';
3
3
  import { BaseNodeClass, Connection, ContentNode, Socket } from '../models';
4
+ import { NodeView } from 'rete-area-plugin';
4
5
  import { ConnectionConfigType, DiagramEditorWithPlugins, InputConfigType, NodeDefinitionData, NodeType, NotifyEventType, OutputConfigType, Schemes } from '../types';
5
6
  import { DiagramPluginsService } from './diagram-plugins.service';
6
7
  import * as i0 from "@angular/core";
@@ -30,10 +31,11 @@ export declare class DiagramService {
30
31
  getConnection(id: string): Connection<ContentNode<unknown>, BaseNodeClass<unknown>>;
31
32
  getLastNode(): ContentNode<unknown>;
32
33
  getNodesByType(type: NodeType): ContentNode<unknown>[];
33
- getViewNodes(): import("rete-area-plugin").NodeView[];
34
- getLastViewNode(): import("rete-area-plugin").NodeView;
35
- getViewNode(id: string): import("rete-area-plugin").NodeView;
34
+ getViewNodes(): NodeView[];
35
+ getLastViewNode(): NodeView;
36
+ getViewNode(id: string): NodeView;
36
37
  getViewNodePosition(id: string): Position;
38
+ getLargestXPosition(): number;
37
39
  createInput(node: BaseNodeClass, id?: string, config?: InputConfigType): BaseNodeClass<unknown>;
38
40
  createOutput(node: BaseNodeClass, id?: string, config?: OutputConfigType): BaseNodeClass<unknown>;
39
41
  addConnection(sourceNode: BaseNodeClass, targetNode: BaseNodeClass, config?: ConnectionConfigType): Promise<void>;
@@ -5,7 +5,9 @@ export declare class PageSizesListComponent implements OnChanges {
5
5
  label: string;
6
6
  size: number;
7
7
  }>;
8
- selectedPageSize: number;
8
+ private _size;
9
+ set selectedPageSize(value: number);
10
+ get selectedPageSize(): number;
9
11
  onChangePageSize: EventEmitter<number>;
10
12
  constructor();
11
13
  ngOnChanges(changes: SimpleChanges): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "5.1.0",
3
+ "version": "5.1.2",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "12.2.3",
6
6
  "@angular/common": "12.2.3",