architwin 1.14.8 → 1.14.9

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.
@@ -223,6 +223,15 @@ i18n
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 getDrawingMode(): boolean;
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>;