fcs-core-viewer 0.53.0 → 0.54.0
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/fcs-core-editor@types/Editor3D/Editor3DAPI.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Editor3DState.d.ts +33 -0
- package/fcs-core-editor@types/Editor3D/Network/SocketCommandsGateway.d.ts +0 -6
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpAnalysis.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpBar.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpBeam.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpBoundaryCondition.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpConcentratedLoad.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpConstraint.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpContact.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpCustomMaterial.d.ts +1 -1
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpDashpot.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpDistributedLoad.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpMass.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpMembrane.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpMotionConstraint.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpOutputControl.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpShell.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpSolid.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpSpring.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/AnalysisTools/OpThermalLoad.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/EditingTools/Index.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/EditingTools/OpAlignNodes.d.ts +14 -0
- package/fcs-core-editor@types/Editor3D/Operations/CAE/Index.d.ts +2 -0
- package/fcs-core-editor@types/Editor3D/Operations/Index.d.ts +2 -0
- package/fcs-core-editor@types/Editor3D/Operations/OperationCollection.d.ts +1 -7
- package/fcs-core-editor@types/Editor3D/UserInterface/EditorUIData.d.ts +1 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIBar.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIBeam.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIBoundaryCondition.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIConcentratedLoad.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIContactPair.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UICustomMaterial.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIDashpot.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIDistributedLoad.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIDynamicHarmonic.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIDynamicImplicit.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIGlobalContact.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UILinearBuckling.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UILinearStatic.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIMPCconstraint.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIMass.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIMembrane.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIModal.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIMotionConstraint.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UINonlinearStatic.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIOutputControl.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIShell.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UISolid.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UISpring.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UITIEconstraint.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/AnalysisTools/UIThermalLoad.d.ts +3 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/EditingTools/AlignNodes/UIAlignNodes.d.ts +51 -0
- package/fcs-core-editor@types/Editor3D/UserInterface/UIComponents/MainMenu/Operations/CAE/EditingTools/Index.d.ts +4 -0
- package/fcs-core-editor@types/Viewer3D/DataStorage/ModelData/Shapes/Mesh/SubshapeTypes/TopoElement.d.ts +16 -0
- package/fcs-core-editor@types/Viewer3D/DataStorage/ModelData/Shapes/Mesh/SubshapeTypes/TopoNode.d.ts +16 -0
- package/fcs-core-editor@types/Viewer3D/Loader/GEOMLoader/GeomLoader.d.ts +2 -0
- package/fcs-core-editor@types/Viewer3D/UserInterface/UIComponents/BuildingBlocks/OperationPanelComponents/SelectionInputField.d.ts +5 -0
- package/fcs-core-editor@types/Viewer3D/UserInterface/UIComponents/BuildingBlocks/OperationPanelComponents/TargetItemSelector.d.ts +45 -0
- package/fcs-core-editor@types/Viewer3D/ViewerCommands/CAE/AnalysisTools/LoadAndBC.d.ts +0 -1
- package/fcs-core-editor@types/Viewer3D/ViewerCommands/CAE/AnalysisTools/Material.d.ts +0 -1
- package/fcs-core-editor@types/Viewer3D/ViewerCommands/CAE/AnalysisTools/Property.d.ts +0 -1
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Singleton that tracks the runtime state of the Editor3D UI.
|
|
3
|
+
* Use the static helpers to query state from anywhere in the application.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Editor3DState {
|
|
6
|
+
private static _instance;
|
|
7
|
+
private _isOperationRunning;
|
|
8
|
+
private constructor();
|
|
9
|
+
/**
|
|
10
|
+
* Returns the singleton instance.
|
|
11
|
+
*/
|
|
12
|
+
static getInstance(): Editor3DState;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if at least one OperationUI panel is currently expanded.
|
|
15
|
+
*/
|
|
16
|
+
static IsOperationOpen(): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true while an operation request has been sent to the BackendManager
|
|
19
|
+
* and the response has not yet been received.
|
|
20
|
+
*/
|
|
21
|
+
static IsOperationRunning(): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the operation-running flag and updates the spinner overlay accordingly.
|
|
24
|
+
* Call with `true` before dispatching a backend request and with `false` once
|
|
25
|
+
* the response (or error) has been received.
|
|
26
|
+
*/
|
|
27
|
+
static setOperationRunning(value: boolean): void;
|
|
28
|
+
/**
|
|
29
|
+
* Shows or hides the full-screen spinner overlay that blocks UI interaction
|
|
30
|
+
* while a backend operation is in progress.
|
|
31
|
+
*/
|
|
32
|
+
private static _updateSpinnerOverlay;
|
|
33
|
+
}
|
|
@@ -78,13 +78,10 @@ export declare class SocketCommandsGateway implements IBackendEvents {
|
|
|
78
78
|
export_STEP_for_selection: any;
|
|
79
79
|
create_load_collection: any;
|
|
80
80
|
update_load_definition: any;
|
|
81
|
-
append_load_definition: any;
|
|
82
81
|
create_material_property: any;
|
|
83
82
|
update_material_property: any;
|
|
84
|
-
append_material_property: any;
|
|
85
83
|
create_element_property: any;
|
|
86
84
|
update_property_definition: any;
|
|
87
|
-
append_property_definition: any;
|
|
88
85
|
create_contact: any;
|
|
89
86
|
update_contact_definition: any;
|
|
90
87
|
create_constraint: any;
|
|
@@ -239,13 +236,10 @@ export declare class SocketCommandsGateway implements IBackendEvents {
|
|
|
239
236
|
private wrapAsOperationResult;
|
|
240
237
|
private socket_create_load_collection;
|
|
241
238
|
private socket_update_load_definition;
|
|
242
|
-
private socket_append_load_definition;
|
|
243
239
|
private socket_create_material_property;
|
|
244
240
|
private socket_update_material_property;
|
|
245
|
-
private socket_append_material_property;
|
|
246
241
|
private socket_create_element_property;
|
|
247
242
|
private socket_update_property_definition;
|
|
248
|
-
private socket_append_property_definition;
|
|
249
243
|
private socket_create_contact;
|
|
250
244
|
private socket_update_contact_definition;
|
|
251
245
|
private socket_create_constraint;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ModelData } from "../../../Editor3DAPI";
|
|
2
2
|
export declare class CustomMaterial {
|
|
3
3
|
fileName: string;
|
|
4
|
-
materialDefinitionUID: number;
|
|
5
4
|
densityMode: number;
|
|
6
5
|
elasticMode: number;
|
|
7
6
|
symmetryMode: number;
|
|
8
7
|
materialType: ModelData.dataTypes;
|
|
9
8
|
materialData: number[];
|
|
9
|
+
updateExisting: number;
|
|
10
10
|
constructor(input: {});
|
|
11
11
|
perform(): Promise<boolean>;
|
|
12
12
|
update(): Promise<boolean>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import * as Merge from "./OpMerge";
|
|
2
|
+
import * as AlignNodes from "./OpAlignNodes";
|
|
2
3
|
declare const CAEEditingToolsOperations: {
|
|
4
|
+
AlignNodes: typeof AlignNodes.AlignNodes;
|
|
5
|
+
TemporaryAlignNodes: typeof AlignNodes.TemporaryAlignNodes;
|
|
3
6
|
MergeByNodes: typeof Merge.MergeByNodes;
|
|
4
7
|
MergeByElements: typeof Merge.MergeByElements;
|
|
5
8
|
TemporaryMergeByNodes: typeof Merge.TemporaryMergeByNodes;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class AlignNodes {
|
|
2
|
+
isPreview: boolean;
|
|
3
|
+
firstNodeId: number;
|
|
4
|
+
secondNodeId: number;
|
|
5
|
+
nodeIds: number[];
|
|
6
|
+
constructor(data: {});
|
|
7
|
+
perform(): Promise<import("../../../Network/BackendClient").ApiOperationResponse>;
|
|
8
|
+
}
|
|
9
|
+
export declare class TemporaryAlignNodes {
|
|
10
|
+
private data;
|
|
11
|
+
constructor(data?: {});
|
|
12
|
+
preview(): Promise<import("../../../Network/BackendClient").ApiOperationResponse>;
|
|
13
|
+
reject(): Promise<void>;
|
|
14
|
+
}
|
|
@@ -5,6 +5,8 @@ declare const CAE: {
|
|
|
5
5
|
FreeBorders: typeof import("./InspectionTools/OpFreeBorders").FreeBorders;
|
|
6
6
|
};
|
|
7
7
|
CAEEditingToolsOperations: {
|
|
8
|
+
AlignNodes: typeof import("./EditingTools/OpAlignNodes").AlignNodes;
|
|
9
|
+
TemporaryAlignNodes: typeof import("./EditingTools/OpAlignNodes").TemporaryAlignNodes;
|
|
8
10
|
MergeByNodes: typeof import("./EditingTools/OpMerge").MergeByNodes;
|
|
9
11
|
MergeByElements: typeof import("./EditingTools/OpMerge").MergeByElements;
|
|
10
12
|
TemporaryMergeByNodes: typeof import("./EditingTools/OpMerge").TemporaryMergeByNodes;
|
|
@@ -30,6 +30,8 @@ declare const Operations: {
|
|
|
30
30
|
FreeBorders: typeof import("./CAE/InspectionTools/OpFreeBorders").FreeBorders;
|
|
31
31
|
};
|
|
32
32
|
CAEEditingToolsOperations: {
|
|
33
|
+
AlignNodes: typeof import("./CAE/EditingTools/OpAlignNodes").AlignNodes;
|
|
34
|
+
TemporaryAlignNodes: typeof import("./CAE/EditingTools/OpAlignNodes").TemporaryAlignNodes;
|
|
33
35
|
MergeByNodes: typeof import("./CAE/EditingTools/OpMerge").MergeByNodes;
|
|
34
36
|
MergeByElements: typeof import("./CAE/EditingTools/OpMerge").MergeByElements;
|
|
35
37
|
TemporaryMergeByNodes: typeof import("./CAE/EditingTools/OpMerge").TemporaryMergeByNodes;
|
|
@@ -178,6 +178,7 @@ export declare enum OperationToId {
|
|
|
178
178
|
CAE_EditingTools_FlipNormals = 3330,
|
|
179
179
|
CAE_EditingTools_SetElementTypes = 3331,
|
|
180
180
|
CAE_EditingTools_MeshSetOperation = 3340,
|
|
181
|
+
CAE_EditingTools_AlignNodes = 3341,
|
|
181
182
|
/**
|
|
182
183
|
* CAE - Inspection Tools - 34xx
|
|
183
184
|
*/
|
|
@@ -186,19 +187,12 @@ export declare enum OperationToId {
|
|
|
186
187
|
/**
|
|
187
188
|
* CAE - Analysis Tools - 35xx
|
|
188
189
|
*/
|
|
189
|
-
CAE_AnalysisTools_UpdateLoadDefinition = 3500,
|
|
190
190
|
CAE_AnalysisTools_CreateLoadDefinition = 3501,
|
|
191
|
-
CAE_AnalysisTools_UpdateMaterialDefinition = 3510,
|
|
192
191
|
CAE_AnalysisTools_CreateMaterialDefinition = 3511,
|
|
193
|
-
CAE_AnalysisTools_UpdatePropertyDefinition = 3520,
|
|
194
192
|
CAE_AnalysisTools_CreatePropertyDefinition = 3521,
|
|
195
|
-
CAE_AnalysisTools_UpdateContactDefinition = 3530,
|
|
196
193
|
CAE_AnalysisTools_CreateContactDefinition = 3531,
|
|
197
|
-
CAE_AnalysisTools_UpdateConstraintDefinition = 3540,
|
|
198
194
|
CAE_AnalysisTools_CreateConstraintDefinition = 3541,
|
|
199
|
-
CAE_AnalysisTools_UpdateAnalysisStep = 3550,
|
|
200
195
|
CAE_AnalysisTools_CreateAnalysisStep = 3551,
|
|
201
|
-
CAE_AnalysisTools_UpdateOutputDefinition = 3560,
|
|
202
196
|
CAE_AnalysisTools_CreateOutputDefinition = 3561,
|
|
203
197
|
/**
|
|
204
198
|
* CAE - Exports - 40xx
|
|
@@ -7,6 +7,8 @@ export declare class Bar extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private areaInput;
|
|
11
13
|
private materialSelectionInput;
|
|
12
14
|
private area;
|
|
@@ -18,6 +20,7 @@ export declare class Bar extends Operation {
|
|
|
18
20
|
private setActiveButton;
|
|
19
21
|
private fields;
|
|
20
22
|
private addActionButtons;
|
|
23
|
+
private loadExistingValues;
|
|
21
24
|
/**
|
|
22
25
|
* Initializes uiComponents on opening the operationUI
|
|
23
26
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class Beam extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private areaInput;
|
|
11
13
|
private momentOfInertiaZInput;
|
|
12
14
|
private momentOfInertiaYInput;
|
|
@@ -59,6 +61,7 @@ export declare class Beam extends Operation {
|
|
|
59
61
|
private addDropDownLists;
|
|
60
62
|
private fields;
|
|
61
63
|
private addActionButtons;
|
|
64
|
+
private loadExistingValues;
|
|
62
65
|
/**
|
|
63
66
|
* Initializes uiComponents on opening the operationUI
|
|
64
67
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class BoundaryCondition extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private nodesetSelectionInput;
|
|
11
13
|
private nodesetUID;
|
|
12
14
|
private dof1;
|
|
@@ -26,6 +28,7 @@ export declare class BoundaryCondition extends Operation {
|
|
|
26
28
|
private setActiveButton;
|
|
27
29
|
private fields;
|
|
28
30
|
private addActionButtons;
|
|
31
|
+
private loadExistingValues;
|
|
29
32
|
/**
|
|
30
33
|
* Initializes uiComponents on opening the operationUI
|
|
31
34
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class ConcentratedLoad extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private availableEntities;
|
|
11
13
|
private entityDropDownMenu_1;
|
|
12
14
|
private nodesetSelectionInput;
|
|
@@ -39,6 +41,7 @@ export declare class ConcentratedLoad extends Operation {
|
|
|
39
41
|
private addDropDownLists;
|
|
40
42
|
private fields;
|
|
41
43
|
private addActionButtons;
|
|
44
|
+
private loadExistingValues;
|
|
42
45
|
/**
|
|
43
46
|
* Initializes uiComponents on opening the operationUI
|
|
44
47
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class ContactPair extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private masterSetSelectionInput;
|
|
11
13
|
private masterSetUID;
|
|
12
14
|
private slaveSetSelectionInput;
|
|
@@ -56,6 +58,7 @@ export declare class ContactPair extends Operation {
|
|
|
56
58
|
private fields;
|
|
57
59
|
private checkmarks;
|
|
58
60
|
private addActionButtons;
|
|
61
|
+
private loadExistingValues;
|
|
59
62
|
/**
|
|
60
63
|
* Initializes uiComponents on opening the operationUI
|
|
61
64
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class CustomMaterial extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private dynamicComponentsDensity;
|
|
11
13
|
private dynamicComponentsElastic;
|
|
12
14
|
private dynamicComponentsSymmetry;
|
|
@@ -109,6 +111,7 @@ export declare class CustomMaterial extends Operation {
|
|
|
109
111
|
private dropDownLists;
|
|
110
112
|
private fields;
|
|
111
113
|
private addActionButtons;
|
|
114
|
+
private loadExistingValues;
|
|
112
115
|
/**
|
|
113
116
|
* Initializes uiComponents on opening the operationUI
|
|
114
117
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class Dashpot extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private materialSelectionInput;
|
|
11
13
|
private CXInput;
|
|
12
14
|
private CYInput;
|
|
@@ -41,6 +43,7 @@ export declare class Dashpot extends Operation {
|
|
|
41
43
|
private addDropDownLists;
|
|
42
44
|
private fields;
|
|
43
45
|
private addActionButtons;
|
|
46
|
+
private loadExistingValues;
|
|
44
47
|
/**
|
|
45
48
|
* Initializes uiComponents on opening the operationUI
|
|
46
49
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class DistributedLoad extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private elementsetSelectionInput;
|
|
11
13
|
private elementsetUID;
|
|
12
14
|
private pressureInput;
|
|
@@ -16,6 +18,7 @@ export declare class DistributedLoad extends Operation {
|
|
|
16
18
|
private setActiveButton;
|
|
17
19
|
private fields;
|
|
18
20
|
private addActionButtons;
|
|
21
|
+
private loadExistingValues;
|
|
19
22
|
/**
|
|
20
23
|
* Initializes uiComponents on opening the operationUI
|
|
21
24
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class DynamicHarmonic extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private modeSelectorSolutionMethod;
|
|
11
13
|
private modeOptionsSolutionMethod;
|
|
12
14
|
private dynamicComponents;
|
|
@@ -38,6 +40,7 @@ export declare class DynamicHarmonic extends Operation {
|
|
|
38
40
|
private fields;
|
|
39
41
|
private labels;
|
|
40
42
|
private addActionButtons;
|
|
43
|
+
private loadExistingValues;
|
|
41
44
|
/**
|
|
42
45
|
* Initializes uiComponents on opening the operationUI
|
|
43
46
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class DynamicImplicit extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private modeSelectorLinearSolver;
|
|
11
13
|
private modeOptionsLinearSolver;
|
|
12
14
|
private modeSelectoTimeIntegrationScheme;
|
|
@@ -56,6 +58,7 @@ export declare class DynamicImplicit extends Operation {
|
|
|
56
58
|
private fields;
|
|
57
59
|
private labels;
|
|
58
60
|
private addActionButtons;
|
|
61
|
+
private loadExistingValues;
|
|
59
62
|
/**
|
|
60
63
|
* Initializes uiComponents on opening the operationUI
|
|
61
64
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class GlobalContact extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private areaInput;
|
|
11
13
|
private materialSelectionInput;
|
|
12
14
|
private area;
|
|
@@ -18,6 +20,7 @@ export declare class GlobalContact extends Operation {
|
|
|
18
20
|
private setActiveButton;
|
|
19
21
|
private fields;
|
|
20
22
|
private addActionButtons;
|
|
23
|
+
private loadExistingValues;
|
|
21
24
|
/**
|
|
22
25
|
* Initializes uiComponents on opening the operationUI
|
|
23
26
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class LinearBuckling extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private dynamicComponents;
|
|
11
13
|
private loadDefinitionSelectionInput;
|
|
12
14
|
private loadDefinitionItemUID;
|
|
@@ -17,6 +19,7 @@ export declare class LinearBuckling extends Operation {
|
|
|
17
19
|
private setActiveButton;
|
|
18
20
|
private fields;
|
|
19
21
|
private addActionButtons;
|
|
22
|
+
private loadExistingValues;
|
|
20
23
|
/**
|
|
21
24
|
* Initializes uiComponents on opening the operationUI
|
|
22
25
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class LinearStatic extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private modeSelector;
|
|
11
13
|
private modeOptions;
|
|
12
14
|
private dynamicComponents;
|
|
@@ -25,6 +27,7 @@ export declare class LinearStatic extends Operation {
|
|
|
25
27
|
private addDropDownLists;
|
|
26
28
|
private fields;
|
|
27
29
|
private addActionButtons;
|
|
30
|
+
private loadExistingValues;
|
|
28
31
|
/**
|
|
29
32
|
* Initializes uiComponents on opening the operationUI
|
|
30
33
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class MPCconstraint extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private areaInput;
|
|
11
13
|
private materialSelectionInput;
|
|
12
14
|
private area;
|
|
@@ -18,6 +20,7 @@ export declare class MPCconstraint extends Operation {
|
|
|
18
20
|
private setActiveButton;
|
|
19
21
|
private fields;
|
|
20
22
|
private addActionButtons;
|
|
23
|
+
private loadExistingValues;
|
|
21
24
|
/**
|
|
22
25
|
* Initializes uiComponents on opening the operationUI
|
|
23
26
|
*/
|
|
@@ -11,6 +11,8 @@ export declare class Mass extends Operation {
|
|
|
11
11
|
private readonly onAcceptHandler;
|
|
12
12
|
private readonly onAppendHandler;
|
|
13
13
|
private readonly buttonsContainer;
|
|
14
|
+
private targetItemSelector;
|
|
15
|
+
private acceptButton;
|
|
14
16
|
private mass;
|
|
15
17
|
private modeOptions;
|
|
16
18
|
private dynamicComponents;
|
|
@@ -38,6 +40,7 @@ export declare class Mass extends Operation {
|
|
|
38
40
|
* Add action buttons (-> Preview, Accept, Reject)
|
|
39
41
|
*/
|
|
40
42
|
private addActionButtons;
|
|
43
|
+
private loadExistingValues;
|
|
41
44
|
/**
|
|
42
45
|
* Initializes uiComponents on opening the operationUI
|
|
43
46
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class Membrane extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private thicknessInput;
|
|
11
13
|
private thickness;
|
|
12
14
|
private materialSelectionInput;
|
|
@@ -31,6 +33,7 @@ export declare class Membrane extends Operation {
|
|
|
31
33
|
private addDropDownLists;
|
|
32
34
|
private fields;
|
|
33
35
|
private addActionButtons;
|
|
36
|
+
private loadExistingValues;
|
|
34
37
|
/**
|
|
35
38
|
* Initializes uiComponents on opening the operationUI
|
|
36
39
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class Modal extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private modeSelectorEigenSolver;
|
|
11
13
|
private modeOptionsEigenSolver;
|
|
12
14
|
private modeSelectorMassMatrix;
|
|
@@ -40,6 +42,7 @@ export declare class Modal extends Operation {
|
|
|
40
42
|
private fields;
|
|
41
43
|
private addCheckmarks;
|
|
42
44
|
private addActionButtons;
|
|
45
|
+
private loadExistingValues;
|
|
43
46
|
/**
|
|
44
47
|
* Initializes uiComponents on opening the operationUI
|
|
45
48
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class MotionConstraint extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private nodesetSelectionInput;
|
|
11
13
|
private nodesetUID;
|
|
12
14
|
private displacementXInput;
|
|
@@ -44,6 +46,7 @@ export declare class MotionConstraint extends Operation {
|
|
|
44
46
|
private addDropDownLists;
|
|
45
47
|
private fields;
|
|
46
48
|
private addActionButtons;
|
|
49
|
+
private loadExistingValues;
|
|
47
50
|
/**
|
|
48
51
|
* Initializes uiComponents on opening the operationUI
|
|
49
52
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class NonlinearStatic extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private modeSelectorLinearSolver;
|
|
11
13
|
private modeSelectorIterationMethod;
|
|
12
14
|
private modeSelectorNewtonStepControl;
|
|
@@ -74,6 +76,7 @@ export declare class NonlinearStatic extends Operation {
|
|
|
74
76
|
private addDropDownLists;
|
|
75
77
|
private addFields;
|
|
76
78
|
private addActionButtons;
|
|
79
|
+
private loadExistingValues;
|
|
77
80
|
/**
|
|
78
81
|
* Initializes uiComponents on opening the operationUI
|
|
79
82
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class OutputControl extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private analysisStepSelector;
|
|
11
13
|
private analysisResultSelector;
|
|
12
14
|
private linearStaticResultSelector;
|
|
@@ -47,6 +49,7 @@ export declare class OutputControl extends Operation {
|
|
|
47
49
|
private buildDynamicHarmonicUI;
|
|
48
50
|
private fields;
|
|
49
51
|
private addActionButtons;
|
|
52
|
+
private loadExistingValues;
|
|
50
53
|
/**
|
|
51
54
|
* Initializes uiComponents on opening the operationUI
|
|
52
55
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class Shell extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private thicknessInput;
|
|
11
13
|
private integrationPointInput;
|
|
12
14
|
private offsetInput;
|
|
@@ -35,6 +37,7 @@ export declare class Shell extends Operation {
|
|
|
35
37
|
private addDropDownLists;
|
|
36
38
|
private fields;
|
|
37
39
|
private addActionButtons;
|
|
40
|
+
private loadExistingValues;
|
|
38
41
|
/**
|
|
39
42
|
* Initializes uiComponents on opening the operationUI
|
|
40
43
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class Solid extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private geometrySelectionInput;
|
|
11
13
|
private materialSelectionInput;
|
|
12
14
|
private csystemSelectionInput;
|
|
@@ -35,6 +37,7 @@ export declare class Solid extends Operation {
|
|
|
35
37
|
private addDropDownLists;
|
|
36
38
|
private fields;
|
|
37
39
|
private addActionButtons;
|
|
40
|
+
private loadExistingValues;
|
|
38
41
|
/**
|
|
39
42
|
* Initializes uiComponents on opening the operationUI
|
|
40
43
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class Spring extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private materialSelectionInput;
|
|
11
13
|
private KXInput;
|
|
12
14
|
private KYInput;
|
|
@@ -41,6 +43,7 @@ export declare class Spring extends Operation {
|
|
|
41
43
|
private addDropDownLists;
|
|
42
44
|
private fields;
|
|
43
45
|
private addActionButtons;
|
|
46
|
+
private loadExistingValues;
|
|
44
47
|
/**
|
|
45
48
|
* Initializes uiComponents on opening the operationUI
|
|
46
49
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class TIEconstraint extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private masterSetSelectionInput;
|
|
11
13
|
private masterSetUID;
|
|
12
14
|
private slaveSetSelectionInput;
|
|
@@ -16,6 +18,7 @@ export declare class TIEconstraint extends Operation {
|
|
|
16
18
|
private setActiveButton;
|
|
17
19
|
private fields;
|
|
18
20
|
private addActionButtons;
|
|
21
|
+
private loadExistingValues;
|
|
19
22
|
/**
|
|
20
23
|
* Initializes uiComponents on opening the operationUI
|
|
21
24
|
*/
|
|
@@ -7,6 +7,8 @@ export declare class ThermalLoad extends Operation {
|
|
|
7
7
|
private readonly onAcceptHandler;
|
|
8
8
|
private readonly onAppendHandler;
|
|
9
9
|
private readonly buttonsContainer;
|
|
10
|
+
private targetItemSelector;
|
|
11
|
+
private acceptButton;
|
|
10
12
|
private nodesetSelectionInput;
|
|
11
13
|
private nodesetUID;
|
|
12
14
|
private temperatureInput;
|
|
@@ -16,6 +18,7 @@ export declare class ThermalLoad extends Operation {
|
|
|
16
18
|
private setActiveButton;
|
|
17
19
|
private fields;
|
|
18
20
|
private addActionButtons;
|
|
21
|
+
private loadExistingValues;
|
|
19
22
|
/**
|
|
20
23
|
* Initializes uiComponents on opening the operationUI
|
|
21
24
|
*/
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Operation } from "../../../../../../../../Viewer3D/UserInterface/UIComponents/BuildingBlocks/MainMenuComponents/Operation";
|
|
2
|
+
type OnPreviewHandler = (data: {}) => Promise<{}>;
|
|
3
|
+
type OnAcceptHandler = (data: {}) => Promise<{}>;
|
|
4
|
+
type OnRejectHandler = () => Promise<void>;
|
|
5
|
+
export declare class AlignNodes extends Operation {
|
|
6
|
+
private readonly onPreviewHandler;
|
|
7
|
+
private readonly onAcceptHandler;
|
|
8
|
+
private readonly onRejectHandler;
|
|
9
|
+
private readonly buttonsContainer;
|
|
10
|
+
private affectedElementUIDs;
|
|
11
|
+
private entityDropDownMenu_1;
|
|
12
|
+
private entityDropDownMenu_2;
|
|
13
|
+
private entityDropDownMenu_3;
|
|
14
|
+
private selectionData;
|
|
15
|
+
private uiComponents;
|
|
16
|
+
constructor(onPreview?: OnPreviewHandler, onAccept?: OnAcceptHandler, onReject?: OnRejectHandler);
|
|
17
|
+
private setEnabledEntity;
|
|
18
|
+
private setActiveButton;
|
|
19
|
+
/**
|
|
20
|
+
* First reference node (line start)
|
|
21
|
+
*/
|
|
22
|
+
private addEntityButton_1;
|
|
23
|
+
/**
|
|
24
|
+
* Second reference node (line end)
|
|
25
|
+
*/
|
|
26
|
+
private addEntityButton_2;
|
|
27
|
+
/**
|
|
28
|
+
* Nodes to project onto the line
|
|
29
|
+
*/
|
|
30
|
+
private addEntityButton_3;
|
|
31
|
+
private addActionButtons;
|
|
32
|
+
/**
|
|
33
|
+
* Initializes uiComponents on opening the operationUI
|
|
34
|
+
*/
|
|
35
|
+
init(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Unselects all entities and tree items
|
|
38
|
+
*/
|
|
39
|
+
unselect(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Reset default settings
|
|
42
|
+
*/
|
|
43
|
+
reset(): void;
|
|
44
|
+
private onPreview;
|
|
45
|
+
/**
|
|
46
|
+
* Extracts the selected entities and commits the operation
|
|
47
|
+
*/
|
|
48
|
+
private onAccept;
|
|
49
|
+
private onReject;
|
|
50
|
+
}
|
|
51
|
+
export {};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import * as MergeByElements from "./Merge/UIMergeByElements";
|
|
2
2
|
import * as MergeByNodes from "./Merge/UIMergeByNodes";
|
|
3
|
+
import * as AlignNodes from "./AlignNodes/UIAlignNodes";
|
|
3
4
|
declare const EditingTools: {
|
|
4
5
|
Merge: {
|
|
5
6
|
MergeByNodes: typeof MergeByNodes.MergeByNodes;
|
|
6
7
|
MergeByElements: typeof MergeByElements.MergeByElements;
|
|
7
8
|
};
|
|
9
|
+
AlignNodes: {
|
|
10
|
+
AlignNodes: typeof AlignNodes.AlignNodes;
|
|
11
|
+
};
|
|
8
12
|
};
|
|
9
13
|
export { EditingTools };
|
|
@@ -32,6 +32,7 @@ export declare class TopoElement extends Shape {
|
|
|
32
32
|
loadDefinitionUIDs: {};
|
|
33
33
|
octrees: ElementOctree[];
|
|
34
34
|
selectionOrder: number;
|
|
35
|
+
forceArrows: THREE.ArrowHelper[];
|
|
35
36
|
constructor(shapeUID: number);
|
|
36
37
|
private createElementVID;
|
|
37
38
|
private createShapeVID;
|
|
@@ -53,4 +54,19 @@ export declare class TopoElement extends Shape {
|
|
|
53
54
|
setTransparency(alpha: number): void;
|
|
54
55
|
hide(): void;
|
|
55
56
|
show(): void;
|
|
57
|
+
/**
|
|
58
|
+
* Place a 3D force-arrow at this element's centre of gravity.
|
|
59
|
+
* The arrow points in the direction of (fx, fy, fz) and is coloured
|
|
60
|
+
* with the supplied RGBA colour (components in 0–255 range).
|
|
61
|
+
* Multiple calls accumulate arrows; call hideForce() first to reset.
|
|
62
|
+
* @param fx Force component in X
|
|
63
|
+
* @param fy Force component in Y
|
|
64
|
+
* @param fz Force component in Z
|
|
65
|
+
* @param color RGBA colour as [r, g, b, a] in 0–255 range
|
|
66
|
+
*/
|
|
67
|
+
showForce(fx: number, fy: number, fz: number, color: number[]): void;
|
|
68
|
+
/**
|
|
69
|
+
* Remove all force-arrows previously placed by showForce().
|
|
70
|
+
*/
|
|
71
|
+
hideForce(): void;
|
|
56
72
|
}
|
package/fcs-core-editor@types/Viewer3D/DataStorage/ModelData/Shapes/Mesh/SubshapeTypes/TopoNode.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ export declare class TopoNode extends Shape {
|
|
|
33
33
|
loadDefinitionUIDs: {};
|
|
34
34
|
octrees: NodeOctree[];
|
|
35
35
|
selectionOrder: number;
|
|
36
|
+
forceArrows: THREE.ArrowHelper[];
|
|
36
37
|
hiddenAdjacentElements: {
|
|
37
38
|
length: number;
|
|
38
39
|
};
|
|
@@ -55,4 +56,19 @@ export declare class TopoNode extends Shape {
|
|
|
55
56
|
setTransparency(alpha: number): void;
|
|
56
57
|
hide(): void;
|
|
57
58
|
show(): void;
|
|
59
|
+
/**
|
|
60
|
+
* Place a 3D force-arrow at this node's position.
|
|
61
|
+
* The arrow points in the direction of (fx, fy, fz) and is coloured
|
|
62
|
+
* with the supplied RGBA colour (components in 0–255 range).
|
|
63
|
+
* Multiple calls accumulate arrows; call hideForce() first to reset.
|
|
64
|
+
* @param fx Force component in X
|
|
65
|
+
* @param fy Force component in Y
|
|
66
|
+
* @param fz Force component in Z
|
|
67
|
+
* @param color RGBA colour as [r, g, b, a] in 0–255 range
|
|
68
|
+
*/
|
|
69
|
+
showForce(fx: number, fy: number, fz: number, color: number[]): void;
|
|
70
|
+
/**
|
|
71
|
+
* Remove all force-arrows previously placed by showForce().
|
|
72
|
+
*/
|
|
73
|
+
hideForce(): void;
|
|
58
74
|
}
|
|
@@ -28,6 +28,7 @@ export declare class GeomLoader {
|
|
|
28
28
|
pickingVertexColor: number[];
|
|
29
29
|
hashToVertex: {};
|
|
30
30
|
counter: number;
|
|
31
|
+
maxVertexIndex: number;
|
|
31
32
|
linePosition: number[];
|
|
32
33
|
lineIndices: number[];
|
|
33
34
|
lineColor: number[];
|
|
@@ -73,6 +74,7 @@ export declare class GeomLoader {
|
|
|
73
74
|
vectorOctree: InstanceType<typeof ModelData.OctreeDataStructure.VectorOctree>;
|
|
74
75
|
constructor(fileUrl: string);
|
|
75
76
|
perform(itemName: string, itemUID: number, parentUID: number, /*shapeUID: number,*/ shapeType: ModelData.dataTypes): Promise<void>;
|
|
77
|
+
private getMaxVertexIndex;
|
|
76
78
|
/**
|
|
77
79
|
* Uj shape importalasakor szamol egy boundary-t az uj shape-nek es megnezi hogy ez a boundary teljes egeszeben benne van-e a root boundary-ben.
|
|
78
80
|
* Ha nincs benne, akkor expand-olja akkorara, hogy beleferjen
|
|
@@ -29,6 +29,11 @@ export declare class SelectionInputField {
|
|
|
29
29
|
private focusIn;
|
|
30
30
|
private collectSelectedItems;
|
|
31
31
|
private pressEscapeButton;
|
|
32
|
+
/**
|
|
33
|
+
* Programmatically sets the field value to the given UIDs.
|
|
34
|
+
* Fires a change event so any registered onChange handlers update.
|
|
35
|
+
*/
|
|
36
|
+
setData(uids: number[]): void;
|
|
32
37
|
validate(): boolean;
|
|
33
38
|
}
|
|
34
39
|
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { IViewerHtmlElement } from "../MainMenuComponents/HtmlElementInterface";
|
|
2
|
+
/**
|
|
3
|
+
* A dropdown component placed at the top of AnalysisTool operation panels.
|
|
4
|
+
* Lets the user choose to either create a new item (`--Create New--`) or
|
|
5
|
+
* update an existing file item from the relevant container.
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* 1. Instantiate with a getter that returns the container UID at init-time.
|
|
9
|
+
* 2. Call `setParent()` to attach to the operation panel.
|
|
10
|
+
* 3. Call `init()` each time the panel is opened to refresh the option list.
|
|
11
|
+
* 4. Use `getSelectedUID()` to retrieve the selected item UID (null = create new).
|
|
12
|
+
*/
|
|
13
|
+
export declare class TargetItemSelector implements IViewerHtmlElement {
|
|
14
|
+
private readonly dropdown;
|
|
15
|
+
private readonly containerUIDGetter;
|
|
16
|
+
private selectedUID;
|
|
17
|
+
private readonly onChangeCallback;
|
|
18
|
+
/**
|
|
19
|
+
* @param containerUIDGetter A function that returns the container's itemUID.
|
|
20
|
+
* Evaluated lazily so the container can be created
|
|
21
|
+
* after the UI panel is constructed.
|
|
22
|
+
* @param onChangeCallback Called whenever the selection changes.
|
|
23
|
+
* `isExisting` is true when an existing item is selected.
|
|
24
|
+
*/
|
|
25
|
+
constructor(containerUIDGetter: () => number, onChangeCallback?: (isExisting: boolean, uid: number | null) => void);
|
|
26
|
+
/**
|
|
27
|
+
* Refreshes the dropdown with all children currently in the container.
|
|
28
|
+
* Must be called each time the operation panel is opened.
|
|
29
|
+
*/
|
|
30
|
+
init(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Returns the UID of the selected item, or null if --Create New-- is selected.
|
|
33
|
+
*/
|
|
34
|
+
getSelectedUID(): number | null;
|
|
35
|
+
/**
|
|
36
|
+
* Returns true when --Create New-- is currently selected.
|
|
37
|
+
*/
|
|
38
|
+
isCreateNew(): boolean;
|
|
39
|
+
getHtmlElement(): HTMLElement;
|
|
40
|
+
remove(): void;
|
|
41
|
+
setParent(parent: IViewerHtmlElement): void;
|
|
42
|
+
setHtmlParent(parent: HTMLElement): void;
|
|
43
|
+
setVisibility(isVisible: boolean): void;
|
|
44
|
+
reset(): void;
|
|
45
|
+
}
|