@meshmakers/octo-ui 3.3.730 → 3.3.750
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnInit, OnDestroy, EventEmitter, OnChanges, SimpleChanges, AfterViewInit, Provider, InjectionToken, EnvironmentProviders } from '@angular/core';
|
|
3
3
|
import * as _progress_kendo_svg_icons from '@progress/kendo-svg-icons';
|
|
4
4
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
5
|
-
import { AttributeItem, AttributeValueTypeDto as AttributeValueTypeDto$1, CkTypeSelectorItem as CkTypeSelectorItem$1, FieldFilterDto, SearchFilterDto, SortDto, FieldFilterOperatorsDto, RtEntityDto,
|
|
5
|
+
import { AttributeItem, AttributeValueTypeDto as AttributeValueTypeDto$1, CkTypeSelectorItem as CkTypeSelectorItem$1, FieldFilterDto, SearchFilterDto, SortDto, FieldFilterOperatorsDto, RtEntityDto, CkModelDto, CkTypeDto, RtAssociationDto, GetCkTypesDtoGQL, RuntimeEntityItem, RuntimeEntitySelectDataSource, RuntimeEntityDialogDataSource } from '@meshmakers/octo-services';
|
|
6
6
|
import { GridDataResult, CellClickEvent, RowArgs, PageChangeEvent, SelectionEvent } from '@progress/kendo-angular-grid';
|
|
7
7
|
import { TreeItemDataTyped, CommandItemExecuteEventArgs, CommandItem } from '@meshmakers/shared-services';
|
|
8
8
|
import { ControlValueAccessor, Validator, FormControl, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
@@ -410,7 +410,7 @@ declare class EntityIdInfoComponent {
|
|
|
410
410
|
protected readonly copyIcon: _progress_kendo_svg_icons.SVGIcon;
|
|
411
411
|
/** The RtId (ObjectId) of the entity */
|
|
412
412
|
rtId: string;
|
|
413
|
-
/** The RtCkTypeId - runtime CK type ID (e.g., System.Communication/
|
|
413
|
+
/** The RtCkTypeId - runtime CK type ID (e.g., System.Communication/Adapter) */
|
|
414
414
|
rtCkTypeId: string;
|
|
415
415
|
/** The CkTypeId - full versioned Construction Kit type ID (e.g., System.Communication-2.0.3/MeshAdapter-1) */
|
|
416
416
|
ckTypeId?: string;
|
|
@@ -1344,9 +1344,10 @@ interface CreateInput {
|
|
|
1344
1344
|
name?: string;
|
|
1345
1345
|
};
|
|
1346
1346
|
/**
|
|
1347
|
-
*
|
|
1347
|
+
* Base CK type ID used to filter the type selector to only show derived types.
|
|
1348
|
+
* For child creation this is typically 'Basic/TreeNode'; for root-level it is 'Basic/Tree'.
|
|
1348
1349
|
*/
|
|
1349
|
-
|
|
1350
|
+
derivedFromRtCkTypeId?: string;
|
|
1350
1351
|
}
|
|
1351
1352
|
interface CreateOutput {
|
|
1352
1353
|
success: boolean;
|
|
@@ -1461,9 +1462,9 @@ declare class RuntimeBrowserDetailsComponent implements OnChanges, AfterViewInit
|
|
|
1461
1462
|
/**
|
|
1462
1463
|
* Activates the creation UI and provides necessary data
|
|
1463
1464
|
* @param parentNode The tree node under which the new entity will be created, or null for root-level creation
|
|
1464
|
-
* @param
|
|
1465
|
+
* @param derivedFromRtCkTypeId Base type ID to filter the type selector (e.g. 'Basic/TreeNode' or 'Basic/Tree')
|
|
1465
1466
|
*/
|
|
1466
|
-
enterCreateMode(parentNode: TreeItemDataTyped<BrowserItem$3> | null,
|
|
1467
|
+
enterCreateMode(parentNode: TreeItemDataTyped<BrowserItem$3> | null, derivedFromRtCkTypeId?: string): void;
|
|
1467
1468
|
enterEditMode(selectedItem: TreeItemDataTyped<BrowserItem$3> | null, rtCkTypeId: string | undefined): void;
|
|
1468
1469
|
/**
|
|
1469
1470
|
* Handles the result of the save operation from the child component
|
|
@@ -1572,7 +1573,6 @@ declare class RuntimeBrowserComponent implements AfterViewInit {
|
|
|
1572
1573
|
private readonly notificationService;
|
|
1573
1574
|
private isSelectedItemAnRtEntity;
|
|
1574
1575
|
private isLoading;
|
|
1575
|
-
private isCreating;
|
|
1576
1576
|
private isEditing;
|
|
1577
1577
|
messages: i0.InputSignal<Partial<RuntimeBrowserMessages>>;
|
|
1578
1578
|
protected readonly resolvedMessages: i0.Signal<RuntimeBrowserMessages>;
|
|
@@ -1646,22 +1646,8 @@ declare class RuntimeBrowserComponent implements AfterViewInit {
|
|
|
1646
1646
|
/**
|
|
1647
1647
|
* Main action to initiate the creation of a new node
|
|
1648
1648
|
*/
|
|
1649
|
-
protected onCreate():
|
|
1649
|
+
protected onCreate(): void;
|
|
1650
1650
|
protected onEdit(): Promise<void>;
|
|
1651
|
-
/**
|
|
1652
|
-
* Filters the list of types to find compatible types for entity creation.
|
|
1653
|
-
* For root-level creation, only allows Basic/Tree types.
|
|
1654
|
-
* For child creation, allows non-abstract TreeNode types.
|
|
1655
|
-
*
|
|
1656
|
-
* @param types - All available CK types
|
|
1657
|
-
* @param isRootLevel - If true, only Basic/Tree types are allowed
|
|
1658
|
-
* @returns Filtered list of compatible types
|
|
1659
|
-
*/
|
|
1660
|
-
private getCompatibleTreeTypes;
|
|
1661
|
-
/**
|
|
1662
|
-
* Checks if a specific type or its base type belongs to the TreeNode hierarchy
|
|
1663
|
-
*/
|
|
1664
|
-
private isTreeNodeType;
|
|
1665
1651
|
/**
|
|
1666
1652
|
* Handles entitySaved from the details panel: refreshes the tree, then reloads the detail view
|
|
1667
1653
|
* when the save was an update so the user sees fresh data.
|