@metadev/daga-angular 2.0.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.
Files changed (84) hide show
  1. package/Changelog.md +204 -0
  2. package/LICENSE.md +13 -0
  3. package/README.md +67 -0
  4. package/assets/fonts/DMMono-Medium.ttf +0 -0
  5. package/assets/fonts/DMMono-Medium.woff +0 -0
  6. package/assets/fonts/DMMono-Medium.woff2 +0 -0
  7. package/assets/fonts/WonderUnitSans-Medium.ttf +0 -0
  8. package/assets/fonts/WonderUnitSans-Medium.woff +0 -0
  9. package/assets/fonts/WonderUnitSans-Medium.woff2 +0 -0
  10. package/assets/icon/action/drop-down-arrow.svg +8 -0
  11. package/assets/icon/action/drop-horizontal-left.svg +14 -0
  12. package/assets/icon/action/drop-horizontal-none.svg +13 -0
  13. package/assets/icon/action/drop-horizontal-right.svg +14 -0
  14. package/assets/icon/action/drop-vertical-down.svg +14 -0
  15. package/assets/icon/action/drop-vertical-none.svg +13 -0
  16. package/assets/icon/action/drop-vertical-up.svg +14 -0
  17. package/assets/icon/action/filter-clear.png +0 -0
  18. package/assets/icon/buttons/center-hover.svg +10 -0
  19. package/assets/icon/buttons/center.svg +10 -0
  20. package/assets/icon/buttons/copy-hover.svg +6 -0
  21. package/assets/icon/buttons/copy.svg +6 -0
  22. package/assets/icon/buttons/cut-hover.svg +6 -0
  23. package/assets/icon/buttons/cut.svg +6 -0
  24. package/assets/icon/buttons/delete-hover.svg +6 -0
  25. package/assets/icon/buttons/delete.svg +6 -0
  26. package/assets/icon/buttons/ellipsis-hover.svg +7 -0
  27. package/assets/icon/buttons/ellipsis.svg +7 -0
  28. package/assets/icon/buttons/filter-off-hover.svg +5 -0
  29. package/assets/icon/buttons/filter-off.svg +5 -0
  30. package/assets/icon/buttons/filter-on-hover.svg +5 -0
  31. package/assets/icon/buttons/filter-on.svg +5 -0
  32. package/assets/icon/buttons/layout-hover.svg +8 -0
  33. package/assets/icon/buttons/layout.svg +8 -0
  34. package/assets/icon/buttons/multiple-selection-hover.svg +18 -0
  35. package/assets/icon/buttons/multiple-selection.svg +18 -0
  36. package/assets/icon/buttons/paste-hover.svg +6 -0
  37. package/assets/icon/buttons/paste.svg +6 -0
  38. package/assets/icon/buttons/redo-hover.svg +5 -0
  39. package/assets/icon/buttons/redo.svg +5 -0
  40. package/assets/icon/buttons/undo-hover.svg +5 -0
  41. package/assets/icon/buttons/undo.svg +5 -0
  42. package/assets/icon/buttons/zoom-in-hover.svg +8 -0
  43. package/assets/icon/buttons/zoom-in.svg +8 -0
  44. package/assets/icon/buttons/zoom-out-hover.svg +7 -0
  45. package/assets/icon/buttons/zoom-out.svg +7 -0
  46. package/assets/icon/context/context-copy.svg +4 -0
  47. package/assets/icon/context/context-cross.svg +3 -0
  48. package/assets/icon/context/context-cut.svg +4 -0
  49. package/assets/icon/context/context-delete.svg +4 -0
  50. package/assets/icon/context/context-paste.svg +4 -0
  51. package/assets/icon/property/add.svg +23 -0
  52. package/assets/icon/property/close.svg +3 -0
  53. package/assets/icon/property/ellipsis.svg +5 -0
  54. package/assets/icon/property/gear.svg +3 -0
  55. package/assets/icon/property/hide.svg +10 -0
  56. package/assets/icon/property/move.svg +35 -0
  57. package/assets/styles/_collapse-button.scss +37 -0
  58. package/assets/styles/_context-menu.scss +32 -0
  59. package/assets/styles/_diagram-buttons.scss +197 -0
  60. package/assets/styles/_diagram.scss +15 -0
  61. package/assets/styles/_errors.scss +83 -0
  62. package/assets/styles/_palette.scss +20 -0
  63. package/assets/styles/_property-editor.scss +285 -0
  64. package/assets/styles/daga.scss +150 -0
  65. package/fesm2022/metadev-daga-angular.mjs +1861 -0
  66. package/fesm2022/metadev-daga-angular.mjs.map +1 -0
  67. package/index.d.ts +14 -0
  68. package/lib/collapse-button/collapse-button.component.d.ts +22 -0
  69. package/lib/daga.module.d.ts +18 -0
  70. package/lib/diagram/diagram.component.d.ts +43 -0
  71. package/lib/diagram-buttons/diagram-buttons.component.d.ts +46 -0
  72. package/lib/diagram-editor/diagram-editor.component.d.ts +34 -0
  73. package/lib/errors/errors.component.d.ts +24 -0
  74. package/lib/palette/palette.component.d.ts +36 -0
  75. package/lib/property-editor/autocomplete/autocomplete.component.d.ts +39 -0
  76. package/lib/property-editor/object-editor/object-editor.component.d.ts +29 -0
  77. package/lib/property-editor/option-list-editor/option-list-editor.component.d.ts +33 -0
  78. package/lib/property-editor/property-editor.component.d.ts +34 -0
  79. package/lib/property-editor/property-settings/property-settings.component.d.ts +33 -0
  80. package/lib/property-editor/text-list-editor/text-list-editor.component.d.ts +29 -0
  81. package/lib/property-editor/text-map-editor/text-map-editor.component.d.ts +36 -0
  82. package/lib/services/canvas-provider.service.d.ts +30 -0
  83. package/lib/services/daga-configuration.service.d.ts +23 -0
  84. package/package.json +55 -0
@@ -0,0 +1,24 @@
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { Canvas, DiagramError, Side } from '@metadev/daga';
3
+ import * as d3 from 'd3';
4
+ import { CanvasProviderService } from '../services/canvas-provider.service';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Displays the errors detected by a diagram's validators.
8
+ * @private
9
+ * @see DiagramValidator
10
+ */
11
+ export declare class ErrorsComponent implements AfterViewInit {
12
+ private canvasProvider;
13
+ get canvas(): Canvas;
14
+ errorsContainer: ElementRef<HTMLDivElement>;
15
+ errors: DiagramError[];
16
+ Side: typeof Side;
17
+ constructor(canvasProvider: CanvasProviderService);
18
+ ngAfterViewInit(): void;
19
+ selectPanel(): d3.Selection<d3.BaseType, unknown, null, unknown>;
20
+ validate(): void;
21
+ showError(error: DiagramError): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ErrorsComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ErrorsComponent, "daga-errors", never, {}, {}, never, never, true, never>;
24
+ }
@@ -0,0 +1,36 @@
1
+ import { AfterContentInit, AfterViewInit, ElementRef } from '@angular/core';
2
+ import { Canvas, Corner, Palette, PaletteSectionConfig, Side } from '@metadev/daga';
3
+ import * as d3 from 'd3';
4
+ import { CanvasProviderService } from '../services/canvas-provider.service';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Palette that the user can drag and drop nodes from.
8
+ * @private
9
+ * @see DiagramConfig
10
+ * @see DiagramNode
11
+ */
12
+ export declare class PaletteComponent implements AfterContentInit, AfterViewInit, Palette {
13
+ private canvasProvider;
14
+ get canvas(): Canvas;
15
+ panel: ElementRef<HTMLDivElement>;
16
+ palettes: PaletteSectionConfig[];
17
+ currentPalette: PaletteSectionConfig;
18
+ currentCategory: string;
19
+ location: Corner;
20
+ direction: Side;
21
+ width: string;
22
+ private priorityThreshold?;
23
+ constructor(canvasProvider: CanvasProviderService);
24
+ ngAfterContentInit(): void;
25
+ ngAfterViewInit(): void;
26
+ refreshPalette(): void;
27
+ switchPalette(palette: PaletteSectionConfig): void;
28
+ selectPanel(): d3.Selection<HTMLDivElement, unknown, null, undefined>;
29
+ selectPalette(): d3.Selection<HTMLDivElement, unknown, null, undefined>;
30
+ private appendCategories;
31
+ private appendTemplate;
32
+ private appendNodeTemplate;
33
+ private appendConnectionTemplate;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaletteComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaletteComponent, "daga-palette", never, { "palettes": { "alias": "palettes"; "required": false; }; "currentPalette": { "alias": "currentPalette"; "required": false; }; "currentCategory": { "alias": "currentCategory"; "required": false; }; "location": { "alias": "location"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, never, never, true, never>;
36
+ }
@@ -0,0 +1,39 @@
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
+ import { Option } from '@metadev/daga';
3
+ import * as i0 from "@angular/core";
4
+ export declare const LOST_FOCUS_TIME_WINDOW_MS = 200;
5
+ /**
6
+ * Combobox with autocomplete.
7
+ * @private
8
+ * @see PropertyEditor
9
+ * @see ValueSet
10
+ */
11
+ export declare class AutocompleteComponent {
12
+ private cdr;
13
+ mainElement: ElementRef;
14
+ private _value;
15
+ set value(value: unknown);
16
+ get value(): unknown;
17
+ valueInput: string;
18
+ focusIndex?: number;
19
+ options: Option<unknown>[];
20
+ currentOptions: Option<unknown>[];
21
+ currentLabelStarts: string[];
22
+ currentLabelMatches: string[];
23
+ currentLabelEnds: string[];
24
+ disabled: boolean;
25
+ showOptions: boolean;
26
+ valueChange: EventEmitter<unknown>;
27
+ constructor(cdr: ChangeDetectorRef);
28
+ getLabelOfValue(value: unknown): string;
29
+ onKeyup(event: KeyboardEvent): void;
30
+ openOptions(): void;
31
+ closeOptions(): void;
32
+ focusOnOption(index: number | undefined): void;
33
+ onLostFocus(): void;
34
+ scrollToOption(index: number): void;
35
+ clearInput(): void;
36
+ complete(option: Option<unknown>): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "daga-autocomplete", never, { "value": { "alias": "value"; "required": false; }; "valueInput": { "alias": "valueInput"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
39
+ }
@@ -0,0 +1,29 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { Canvas, Property, Type, ValueSet } from '@metadev/daga';
3
+ import { CanvasProviderService } from '../../services/canvas-provider.service';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Editor of a value set within a property editor.
7
+ * @private
8
+ * @see PropertyEditor
9
+ * @see ValueSet
10
+ */
11
+ export declare class ObjectEditorComponent {
12
+ private cdr;
13
+ private canvasProvider;
14
+ get canvas(): Canvas;
15
+ get userCanEdit(): boolean;
16
+ _valueSet?: ValueSet;
17
+ get valueSet(): ValueSet | undefined;
18
+ set valueSet(valueSet: ValueSet | undefined);
19
+ /** How many object-editor elements are parents of this object-editor element. @private */
20
+ depth: number;
21
+ Type: typeof Type;
22
+ getStyleClassName: (s: string) => string;
23
+ constructor(cdr: ChangeDetectorRef, canvasProvider: CanvasProviderService);
24
+ setValue(property: Property, value: unknown): void;
25
+ dateToLocalDatetimeString(date: string | number | Date | null | undefined): string;
26
+ localDatetimeStringToDate(string: string): Date;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObjectEditorComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ObjectEditorComponent, "daga-object-editor", never, { "valueSet": { "alias": "valueSet"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; }, {}, never, never, true, never>;
29
+ }
@@ -0,0 +1,33 @@
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import { Option } from '@metadev/daga';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Editor of a property of text list type within a property editor.
6
+ * @private
7
+ * @see Type.TextList
8
+ * @see PropertyEditor
9
+ * @see ValueSet
10
+ */
11
+ export declare class OptionListEditorComponent {
12
+ private cdr;
13
+ private _value;
14
+ set value(value: unknown[]);
15
+ get value(): unknown[];
16
+ labelsOfValue: string[];
17
+ options: Option<unknown>[];
18
+ valueInput?: unknown;
19
+ allowRepeats: boolean;
20
+ optionsNotPresentInValue: Option<unknown>[];
21
+ disabled: boolean;
22
+ valueChange: EventEmitter<unknown[]>;
23
+ constructor(cdr: ChangeDetectorRef);
24
+ getLabelOfValue(value: unknown): string;
25
+ hasValue(value: unknown): boolean;
26
+ removeFromValue(index: number): void;
27
+ addToValue(): void;
28
+ clearInput(): void;
29
+ updateOptionsNotPresentInValue(): void;
30
+ onKeyUp(event: KeyboardEvent): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionListEditorComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<OptionListEditorComponent, "daga-option-list-editor", never, { "value": { "alias": "value"; "required": false; }; "options": { "alias": "options"; "required": false; }; "valueInput": { "alias": "valueInput"; "required": false; }; "allowRepeats": { "alias": "allowRepeats"; "required": false; }; "optionsNotPresentInValue": { "alias": "optionsNotPresentInValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
33
+ }
@@ -0,0 +1,34 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import { Corner, Side } from '@metadev/daga';
3
+ import * as d3 from 'd3';
4
+ import { ValueSet } from '@metadev/daga';
5
+ import { PropertyEditor } from '@metadev/daga';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Duration of the highlight property animation in milliseconds.
9
+ */
10
+ export declare const HIGHLIGHT_ANIMATION_DURATION_MS = 1000;
11
+ /**
12
+ * Editor of the values of a value set.
13
+ * @private
14
+ * @see ValueSet
15
+ */
16
+ export declare class PropertyEditorComponent implements AfterViewInit, PropertyEditor {
17
+ private cdr;
18
+ panel: ElementRef<HTMLDivElement>;
19
+ location: Corner;
20
+ direction: Side;
21
+ width: string;
22
+ title?: string;
23
+ _valueSet: ValueSet | undefined;
24
+ get valueSet(): ValueSet | undefined;
25
+ set valueSet(valueSet: ValueSet | undefined);
26
+ settings?: boolean;
27
+ constructor(cdr: ChangeDetectorRef);
28
+ ngAfterViewInit(): void;
29
+ selectPanel(): d3.Selection<HTMLDivElement, unknown, null, undefined>;
30
+ highlightProperty(...propertyNames: string[]): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyEditorComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<PropertyEditorComponent, "daga-property-editor", never, { "location": { "alias": "location"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "width": { "alias": "width"; "required": false; }; "valueSet": { "alias": "valueSet"; "required": false; }; }, {}, never, never, true, never>;
33
+ }
34
+ export declare const getStyleClassName: (s: string) => string;
@@ -0,0 +1,33 @@
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import { Canvas, Point, Property, Type, ValueSet } from '@metadev/daga';
3
+ import { CanvasProviderService } from '../../services/canvas-provider.service';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Editor of the settings of a property editor, such as what properties are displayed and hidden and in what order.
7
+ * @private
8
+ * @see PropertyEditor
9
+ * @see ValueSet
10
+ */
11
+ export declare class PropertySettingsComponent implements AfterViewInit {
12
+ private element;
13
+ private cdr;
14
+ private canvasProvider;
15
+ get canvas(): Canvas;
16
+ _valueSet?: ValueSet;
17
+ get valueSet(): ValueSet | undefined;
18
+ set valueSet(valueSet: ValueSet | undefined);
19
+ /** How many property-settings elements are parents of this property-settings element. @private */
20
+ depth: number;
21
+ Type: typeof Type;
22
+ getStyleClassName: (s: string) => string;
23
+ asString: (value: unknown) => string;
24
+ constructor(element: ElementRef, cdr: ChangeDetectorRef, canvasProvider: CanvasProviderService);
25
+ ngAfterViewInit(): void;
26
+ private addListeners;
27
+ getClosestDropbarIndex(pointerCoords: Point): number;
28
+ displayProperty(property: Property | Event | string | undefined): void;
29
+ hideProperty(property: Property | Event | string | undefined): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertySettingsComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<PropertySettingsComponent, "daga-property-settings", never, { "valueSet": { "alias": "valueSet"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; }, {}, never, never, true, never>;
32
+ }
33
+ export declare const asString: (value: unknown) => string;
@@ -0,0 +1,29 @@
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Editor of a property of text list type within a property editor.
5
+ * @private
6
+ * @see Type.TextList
7
+ * @see PropertyEditor
8
+ * @see ValueSet
9
+ */
10
+ export declare class TextListEditorComponent {
11
+ private cdr;
12
+ private _value;
13
+ set value(value: string[]);
14
+ get value(): string[];
15
+ valueInput: string;
16
+ allowRepeats: boolean;
17
+ disabled: boolean;
18
+ valueChange: EventEmitter<string[]>;
19
+ constructor(cdr: ChangeDetectorRef);
20
+ getValueFromEvent(event: Event): string;
21
+ hasValue(value: string): boolean;
22
+ removeFromValue(index: number): void;
23
+ editFromValue(item: string, index: number): void;
24
+ addToValue(): void;
25
+ clearInput(): void;
26
+ onKeyUp(event: KeyboardEvent): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextListEditorComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextListEditorComponent, "daga-text-list-editor", never, { "value": { "alias": "value"; "required": false; }; "valueInput": { "alias": "valueInput"; "required": false; }; "allowRepeats": { "alias": "allowRepeats"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
29
+ }
@@ -0,0 +1,36 @@
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Editor of a property of text map type within a property editor.
5
+ * @private
6
+ * @see Type.TextMap
7
+ * @see PropertyEditor
8
+ * @see ValueSet
9
+ */
10
+ export declare class TextMapEditorComponent {
11
+ private cdr;
12
+ private _value;
13
+ set value(value: {
14
+ [name: string]: string;
15
+ });
16
+ get value(): {
17
+ [name: string]: string;
18
+ };
19
+ keyInput: string;
20
+ valueInput: string;
21
+ disabled: boolean;
22
+ valueChange: EventEmitter<{
23
+ [name: string]: string;
24
+ }>;
25
+ constructor(cdr: ChangeDetectorRef);
26
+ getValueFromEvent(event: Event): string;
27
+ removeFromValue(key: string): void;
28
+ editKey(oldKey: string, newKey: string): void;
29
+ editValue(key: string, value: string): void;
30
+ addToValue(): void;
31
+ clearKeyInput(): void;
32
+ clearValueInput(): void;
33
+ onKeyUp(event: KeyboardEvent): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextMapEditorComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextMapEditorComponent, "daga-text-map-editor", never, { "value": { "alias": "value"; "required": false; }; "keyInput": { "alias": "keyInput"; "required": false; }; "valueInput": { "alias": "valueInput"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
36
+ }
@@ -0,0 +1,30 @@
1
+ import { Canvas, DiagramConfig, DiagramEditor } from '@metadev/daga';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * A provider for the {@link Canvas} associated with a {@link DiagramComponent} context.
5
+ * @public
6
+ */
7
+ export declare class CanvasProviderService {
8
+ private _canvas;
9
+ /**
10
+ * Initialize the diagram canvas object of this context.
11
+ * @private
12
+ * @param parentComponent A diagram editor.
13
+ * @param config A diagram configuration.
14
+ */
15
+ initCanvas(parentComponent: DiagramEditor, config: DiagramConfig): void;
16
+ /**
17
+ * Attach the canvas of this context to an HTML Element to render it there.
18
+ * @private
19
+ * @param appendTo An HTML Element.
20
+ */
21
+ initCanvasView(appendTo: HTMLElement): void;
22
+ /**
23
+ * Get the diagram canvas of this context. Should only be called after the view of the {@link DiagramComponent} context has been initialized.
24
+ * @public
25
+ * @returns A diagram canvas.
26
+ */
27
+ getCanvas(): Canvas;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<CanvasProviderService, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<CanvasProviderService>;
30
+ }
@@ -0,0 +1,23 @@
1
+ import { DiagramConfig } from '@metadev/daga';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * A provider for the {@link DiagramConfig} associated with a {@link DiagramComponent} context.
5
+ * @public
6
+ */
7
+ export declare class DagaConfigurationService {
8
+ private _config;
9
+ /**
10
+ * Set the diagram configuration of this context.
11
+ * @private
12
+ * @param config A diagram configuration.
13
+ */
14
+ init(config: DiagramConfig): void;
15
+ /**
16
+ * Get the diagram configuration of this context. Should only be called after the {@link DiagramComponent} context has been initialized.
17
+ * @public
18
+ * @returns A diagram configuration.
19
+ */
20
+ getConfig(): DiagramConfig;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<DagaConfigurationService, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<DagaConfigurationService>;
23
+ }
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@metadev/daga-angular",
3
+ "description": "Diagramming engine for editing models on the Web. Made by Metadev.",
4
+ "version": "2.0.2",
5
+ "author": "Metadev (https://metadev.pro)",
6
+ "license": "SEE LICENSE IN LICENSE.md",
7
+ "repository": "git+https://github.com/metadevpro/daga-tutorial.git",
8
+ "homepage": "https://metadev.pro/products/daga/",
9
+ "keywords": [
10
+ "diagramming",
11
+ "models",
12
+ "dsl",
13
+ "mde",
14
+ "nocode",
15
+ "lowcode",
16
+ "visual-editor",
17
+ "daga",
18
+ "angular"
19
+ ],
20
+ "peerDependencies": {
21
+ "@angular/common": "^18.2.2",
22
+ "@angular/core": "^18.2.2",
23
+ "@angular/forms": "^18.2.2",
24
+ "@metadev/daga": "^2.0.2",
25
+ "d3": "^7.9.0",
26
+ "rxjs": "~7.8.1"
27
+ },
28
+ "sideEffects": false,
29
+ "files": [
30
+ "/assets",
31
+ "/fesm2022",
32
+ "/lib",
33
+ "index.d.ts",
34
+ "package.json",
35
+ "README.md",
36
+ "LICENSE.md",
37
+ "Changelog.md"
38
+ ],
39
+ "module": "fesm2022/metadev-daga-angular.mjs",
40
+ "typings": "index.d.ts",
41
+ "exports": {
42
+ "./package.json": {
43
+ "default": "./package.json"
44
+ },
45
+ ".": {
46
+ "types": "./index.d.ts",
47
+ "esm2022": "./esm2022/metadev-daga-angular.mjs",
48
+ "esm": "./esm2022/metadev-daga-angular.mjs",
49
+ "default": "./fesm2022/metadev-daga-angular.mjs"
50
+ }
51
+ },
52
+ "dependencies": {
53
+ "tslib": "^2.3.0"
54
+ }
55
+ }