architwin 1.14.8 → 1.14.10
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/lib/architwin.js +1 -1
- package/lib/atwinui/components/toolbar/i18n.js +20 -2
- package/lib/atwinui/components/toolbar/spacePartition/roomFormPane.d.ts +24 -1
- package/lib/atwinui/components/toolbar/spacePartition/roomFormPane.js +754 -211
- package/lib/atwinui/components/toolbar/spacePartition/roomTreePane.d.ts +7 -1
- package/lib/atwinui/components/toolbar/spacePartition/roomTreePane.js +104 -9
- package/lib/atwinui/components/toolbar/tagIotFormPane.d.ts +1 -0
- package/lib/atwinui/components/toolbar/tagIotFormPane.js +163 -96
- package/lib/atwinui/components/toolbar/viewingRemoteSpace.d.ts +1 -0
- package/lib/atwinui/components/toolbar/viewingRemoteSpace.js +6 -0
- package/lib/atwinui/events.js +38 -6
- package/lib/loaders/polydrawerLoader.d.ts +13 -3
- package/lib/loaders/polydrawerLoader.js +329 -55
- package/lib/math/geometry.d.ts +3 -2
- package/lib/math/geometry.js +23 -9
- package/lib/types.d.ts +31 -0
- package/lib/types.js +2 -0
- package/package.json +1 -1
- package/static/atwinui.css +254 -234
- package/static/utility.css +694 -278
|
@@ -219,10 +219,19 @@ i18n
|
|
|
219
219
|
"ViewingInstructions": "During a remote space sharing session, you cannot navigate around the space, only your host has control during the session",
|
|
220
220
|
"Pending": "Pending",
|
|
221
221
|
"NowSharing": "Now Sharing",
|
|
222
|
-
"ConfirmLeaveSession": "
|
|
222
|
+
"ConfirmLeaveSession": "Do you want to leave sharing session?",
|
|
223
223
|
"ConfirmLeaveSessionReminder": "",
|
|
224
224
|
"InSession": "In Session",
|
|
225
225
|
"Leave": "Leave",
|
|
226
|
+
"WindowsDoors": "Windows and Doors",
|
|
227
|
+
"AddWindowDoor": "Add Window/Door",
|
|
228
|
+
"EnterMaterialHere": "Enter window material",
|
|
229
|
+
"EnterNameHere": "Enter window name",
|
|
230
|
+
"DeleteWindow": "Delete Window",
|
|
231
|
+
"ConfirmDeleteWindow": "Are you sure you want to delete this window?",
|
|
232
|
+
"SuccessWindowDelete": "Succesfully deleted window",
|
|
233
|
+
"EnterFloorMaterial": "Enter floor material",
|
|
234
|
+
"EnterWallMaterial": "Enter wall material"
|
|
226
235
|
}
|
|
227
236
|
},
|
|
228
237
|
ja: {
|
|
@@ -313,7 +322,7 @@ i18n
|
|
|
313
322
|
"NoPartitionDisplay": "表示する区画がありません",
|
|
314
323
|
"Partition": "区画",
|
|
315
324
|
"Partitions": "区画",
|
|
316
|
-
"FloorsAndWalls": "
|
|
325
|
+
"FloorsAndWalls": "床/壁",
|
|
317
326
|
"Floor": "床",
|
|
318
327
|
"Wall": "壁",
|
|
319
328
|
"ClickEditName": "クリック",
|
|
@@ -445,6 +454,15 @@ i18n
|
|
|
445
454
|
"ConfirmLeaveSessionReminder": "",
|
|
446
455
|
"InSession": "共有中",
|
|
447
456
|
"Leave": "終了",
|
|
457
|
+
"WindowsDoors": "建具",
|
|
458
|
+
"AddWindowDoor": "建具を追加",
|
|
459
|
+
"EnterMaterialHere": "仕上げ(建具)を入力",
|
|
460
|
+
"EnterNameHere": "建具名称を入力",
|
|
461
|
+
"DeleteWindow": "建具を削除",
|
|
462
|
+
"ConfirmDeleteWindow": "本当にこの建具を削除しますか?",
|
|
463
|
+
"SuccessWindowDelete": "建具の削除が完了しました",
|
|
464
|
+
"EnterFloorMaterial": "仕上げ(床)を入力",
|
|
465
|
+
"EnterWallMaterial": "仕上げ(壁)を入力"
|
|
448
466
|
}
|
|
449
467
|
}
|
|
450
468
|
},
|
|
@@ -7,11 +7,28 @@ export declare function renderRoomFormPane(): HTMLDivElement;
|
|
|
7
7
|
* and displays the relevant UI elements for partitions.
|
|
8
8
|
*/
|
|
9
9
|
export declare function toggleDrawPartitionButton(): void;
|
|
10
|
+
export declare function toggleDrawWindowButton(): void;
|
|
10
11
|
/**
|
|
11
12
|
* Displays the partition form based on the current form mode.
|
|
12
13
|
* Handles different UI behaviors for edit and add modes.
|
|
13
14
|
*/
|
|
14
15
|
export declare function displayPartitionFormMode(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Handles the click event for partition row edit buttons. Updates the UI to show
|
|
18
|
+
* face editing mode, loads the selected partition data, and sets up the partition
|
|
19
|
+
* for modification.
|
|
20
|
+
*
|
|
21
|
+
* This function:
|
|
22
|
+
* - Toggles UI visibility (hides partition list, shows face list and edit controls)
|
|
23
|
+
* - Extracts partition ID from the clicked element
|
|
24
|
+
* - Loads and displays the partition's face data
|
|
25
|
+
* - Sets up the partition name input field
|
|
26
|
+
* - Initializes the partition for modification mode
|
|
27
|
+
*
|
|
28
|
+
* @param partitions - The list of partitions to search through for the selected partition
|
|
29
|
+
* @param event - The click event from the edit button, used to identify which partition to edit
|
|
30
|
+
*/
|
|
31
|
+
export declare function handlePartitionRowEditBtnClickEvent(partitions: Array<PartitionNode>, targetElement: HTMLElement): void;
|
|
15
32
|
/**
|
|
16
33
|
* Clears the partition form by resetting UI elements and internal data.
|
|
17
34
|
* - Navigates back to the partition list view.
|
|
@@ -88,8 +105,14 @@ export declare function setCurrentPartitionData(): Promise<void>;
|
|
|
88
105
|
export declare function getCurrentPartitionData(): PartitionNode;
|
|
89
106
|
export declare function getNewlyAddedPartition(): Array<PartitionNode>;
|
|
90
107
|
export declare function getDeletedSavedPartitionArray(): Array<PartitionNode>;
|
|
91
|
-
export declare function
|
|
108
|
+
export declare function getIsDrawing(): boolean;
|
|
109
|
+
export declare function getDrawingMode(): string;
|
|
92
110
|
export declare function setDrawingMode(state: boolean): void;
|
|
93
111
|
export declare function getCurrentPartitionDataArray(): PartitionNode[];
|
|
94
112
|
export declare function getPreviousPartitionData(): PartitionNode;
|
|
95
113
|
export declare function setPreviousPartitionData(payload: PartitionNode): void;
|
|
114
|
+
/**
|
|
115
|
+
* Handles the partition wall edit button click by switching to wall editing mode and updating the UI.
|
|
116
|
+
* @param wallUuid - The unique identifier of the wall to edit
|
|
117
|
+
*/
|
|
118
|
+
export declare function handlePartitionWallEditBtn(wallUuid: string): Promise<void>;
|