@meshmakers/octo-process-diagrams 3.4.1050 → 3.4.1080
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.
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Part of the [@meshmakers](https://www.npmjs.com/org/meshmakers) package ecosyste
|
|
|
16
16
|
- **Dockview Layout** — Flexible, rearrangeable panel system
|
|
17
17
|
- **Animations** — SVG animations with data binding support
|
|
18
18
|
- **Exposed Properties** — Bind symbol properties to runtime data (number, string, boolean)
|
|
19
|
-
- **Expression Evaluation** — `expr-eval` based expressions for data bindings
|
|
19
|
+
- **Expression Evaluation** — `expr-eval-fork` based expressions for data bindings
|
|
20
20
|
- **Grouping** — Figma/Illustrator-style temporary grouping of primitives and symbols
|
|
21
21
|
- **Undo/Redo** — Full history with keyboard shortcuts
|
|
22
22
|
|
|
@@ -225,7 +225,7 @@ An optional LCARS theme mixin is available:
|
|
|
225
225
|
- **Kendo UI Angular 21** (Buttons, Inputs, Dropdowns, Dialogs, ListView)
|
|
226
226
|
- **Apollo Angular** for GraphQL
|
|
227
227
|
- **dockview-angular** for flexible panel layout
|
|
228
|
-
- **expr-eval** for expression evaluation
|
|
228
|
+
- **expr-eval-fork** for expression evaluation
|
|
229
229
|
|
|
230
230
|
## Detailed Documentation
|
|
231
231
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, inject, EventEmitter, Injector, EnvironmentInjector, ApplicationRef, NgZone, createComponent, Output, Input, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, Component, signal, computed, ElementRef, HostListener, input, output, viewChild, effect, ChangeDetectorRef, forwardRef, Directive } from '@angular/core';
|
|
3
|
-
import { Parser } from 'expr-eval';
|
|
3
|
+
import { Parser } from 'expr-eval-fork';
|
|
4
4
|
import { firstValueFrom, from, of } from 'rxjs';
|
|
5
5
|
import * as i1 from 'apollo-angular';
|
|
6
6
|
import { gql } from 'apollo-angular';
|
|
@@ -3079,7 +3079,7 @@ function createRenderContext(overrides) {
|
|
|
3079
3079
|
/**
|
|
3080
3080
|
* Expression Evaluator Service
|
|
3081
3081
|
*
|
|
3082
|
-
* Provides safe expression evaluation using the expr-eval library.
|
|
3082
|
+
* Provides safe expression evaluation using the expr-eval-fork library.
|
|
3083
3083
|
* Supports math operations, conditionals, and custom helper functions
|
|
3084
3084
|
* for transform property bindings.
|
|
3085
3085
|
*/
|
|
@@ -3142,7 +3142,8 @@ class ExpressionEvaluatorService {
|
|
|
3142
3142
|
parser;
|
|
3143
3143
|
expressionCache = new Map();
|
|
3144
3144
|
constructor() {
|
|
3145
|
-
|
|
3145
|
+
// Prevents assignment e.g. value = 5
|
|
3146
|
+
this.parser = new Parser({ operators: { assignment: false } });
|
|
3146
3147
|
this.registerCustomFunctions();
|
|
3147
3148
|
}
|
|
3148
3149
|
/**
|
|
@@ -30767,7 +30768,7 @@ class SymbolLibraryDataSourceDirective extends DataSourceBase {
|
|
|
30767
30768
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: SymbolLibraryDataSourceDirective, decorators: [{
|
|
30768
30769
|
type: Directive,
|
|
30769
30770
|
args: [{
|
|
30770
|
-
selector:
|
|
30771
|
+
selector: '[mmSymbolLibraryDataSource]',
|
|
30771
30772
|
exportAs: 'mmSymbolLibraryDataSource',
|
|
30772
30773
|
standalone: true,
|
|
30773
30774
|
providers: [{ provide: DataSourceBase, useExisting: forwardRef(() => SymbolLibraryDataSourceDirective) }]
|
|
@@ -31748,7 +31749,7 @@ class ProcessDiagramDataSourceDirective extends DataSourceBase {
|
|
|
31748
31749
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProcessDiagramDataSourceDirective, decorators: [{
|
|
31749
31750
|
type: Directive,
|
|
31750
31751
|
args: [{
|
|
31751
|
-
selector:
|
|
31752
|
+
selector: '[mmProcessDiagramDataSource]',
|
|
31752
31753
|
exportAs: 'mmProcessDiagramDataSource',
|
|
31753
31754
|
standalone: true,
|
|
31754
31755
|
providers: [{ provide: DataSourceBase, useExisting: forwardRef(() => ProcessDiagramDataSourceDirective) }]
|