@metadev/daga 1.5.1 → 1.5.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.
@@ -78,6 +78,7 @@ export declare class DiagramCanvas implements Canvas {
78
78
  validatorChanges$: Subject<void>;
79
79
  diagramChanges$: Subject<void>;
80
80
  diagramImportantChanges$: Subject<void>;
81
+ propertyEditorChanges$: Subject<void>;
81
82
  constructor(parentComponent: DiagramEditor, config: DiagramConfig);
82
83
  addValidator(validator: DiagramValidator): void;
83
84
  removeValidator(validator: DiagramValidator): void;
@@ -125,6 +126,7 @@ export declare class DiagramCanvas implements Canvas {
125
126
  setPropertyEditorSelection(selection?: {
126
127
  valueSet: ValueSet;
127
128
  } & (DiagramElement | DiagramModel)): void;
129
+ private makeUpdateValuesAction;
128
130
  isInUserSelection(selection: DiagramElement): boolean;
129
131
  addToUserSelection(selection: DiagramElement): void;
130
132
  removeFromUserSelection(selection: DiagramElement): void;
@@ -140,6 +140,7 @@ export declare class PropertySet {
140
140
  propertyList: Property[];
141
141
  constructor(properties?: Property[]);
142
142
  getProperty(key: string): Property;
143
+ hasProperty(key: string): boolean;
143
144
  hasProperties(): boolean;
144
145
  }
145
146
  /**
@@ -327,12 +328,9 @@ export declare const diff: (a: {
327
328
  [key: string]: unknown;
328
329
  }, b: {
329
330
  [key: string]: unknown;
330
- }) => [
331
- {
332
- [key: string]: unknown;
333
- },
334
- {
335
- [key: string]: unknown;
336
- }
337
- ];
331
+ }) => [{
332
+ [key: string]: unknown;
333
+ }, {
334
+ [key: string]: unknown;
335
+ }];
338
336
  export declare const isObject: (x: unknown) => boolean;
@@ -98,6 +98,11 @@ export interface Canvas {
98
98
  * @public
99
99
  */
100
100
  diagramImportantChanges$: Subject<void>;
101
+ /**
102
+ * Subject for tracking changes in the property editor.
103
+ * @public
104
+ */
105
+ propertyEditorChanges$: Subject<void>;
101
106
  /**
102
107
  * Initializes the view of the diagram.
103
108
  * @private
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@metadev/daga",
3
3
  "description": "Diagramming engine for editing models on the Web. Made by Metadev.",
4
- "version": "1.5.1",
4
+ "version": "1.5.2",
5
5
  "author": "Metadev (https://metadev.pro)",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
7
7
  "repository": "git+https://github.com/metadevpro/daga-tutorial.git",
@@ -18,12 +18,12 @@
18
18
  "angular"
19
19
  ],
20
20
  "peerDependencies": {
21
- "@angular/common": "^18.0.1",
22
- "@angular/core": "^18.0.1",
23
- "@angular/forms": "^18.0.1",
21
+ "@angular/common": "^18.2.2",
22
+ "@angular/core": "^18.2.2",
23
+ "@angular/forms": "^18.2.2",
24
24
  "d3": "^7.9.0",
25
25
  "rxjs": "~7.8.1",
26
- "uuid": "^9.0.0"
26
+ "uuid": "^10.0.0"
27
27
  },
28
28
  "sideEffects": false,
29
29
  "files": [