@pisell/materials 1.8.54 → 1.8.56
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/async/view.js +1 -1
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +3 -3
- package/build/lowcode/preview.js +1 -1
- package/build/lowcode/render/default/async/view.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +37 -37
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +37 -37
- package/es/components/buttonGroupPreview/index.js +8 -4
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +207 -49
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +33 -2
- package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.js +50 -2
- package/es/components/pisellFloorMapLayout/components/EdgeLayer.js +252 -0
- package/es/components/pisellFloorMapLayout/components/EdgeLayer.less +11 -0
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.js +179 -29
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.less +0 -28
- package/es/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.js +131 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.less +65 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +5 -4
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +12 -1
- package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.js +8 -1
- package/es/components/pisellFloorMapLayout/components/FloorMapOverview.js +16 -8
- package/es/components/pisellFloorMapLayout/components/FloorMapOverview.less +69 -17
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.js +290 -147
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.less +210 -11
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.js +81 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +8 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.js +21 -0
- package/es/components/pisellFloorMapLayout/components/FloorMapZoneElement.less +74 -0
- package/es/components/pisellFloorMapLayout/components/ItemLayer.less +3 -1
- package/es/components/pisellFloorMapLayout/components/NodePortMarkers.js +70 -0
- package/es/components/pisellFloorMapLayout/components/NodePortMarkers.less +33 -0
- package/es/components/pisellFloorMapLayout/components/ViewControls.js +13 -5
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +2 -0
- package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +2 -1
- package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.js +1 -1
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.js +340 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.js +102 -0
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +244 -84
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +54 -0
- package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.js +7 -4
- package/es/components/pisellFloorMapLayout/index.d.ts +5 -1
- package/es/components/pisellFloorMapLayout/locales-ja.js +14 -2
- package/es/components/pisellFloorMapLayout/locales-pt.js +14 -2
- package/es/components/pisellFloorMapLayout/locales.js +161 -8
- package/es/components/pisellFloorMapLayout/types.d.ts +86 -4
- package/es/components/pisellFloorMapLayout/types.js +5 -1
- package/es/components/pisellFloorMapLayout/utils/alignSnap.js +170 -0
- package/es/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.js +86 -0
- package/es/components/pisellFloorMapLayout/utils/edgeRouting.js +942 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +7 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasStage.js +23 -1
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +11 -2
- package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +20 -3
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +11 -5
- package/es/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.js +5 -3
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +20 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.js +62 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +83 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.js +29 -0
- package/es/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.js +51 -0
- package/es/components/productCard/cartSkuCard/components/BookingItem/index.js +14 -0
- package/es/components/productCard/cartSkuCard/components/BookingItem/index.less +32 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.less +4 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.js +1 -2
- package/es/components/productCard/cartSkuCard/index.js +17 -11
- package/es/components/productCard/lineItem/BookingLineItem.js +17 -6
- package/es/components/productCard/lineItem/components/Holders/index.js +51 -0
- package/es/components/productCard/lineItem/components/Holders/index.less +39 -0
- package/es/components/productCard/lineItem/components/Resources/index.js +45 -0
- package/es/components/productCard/lineItem/components/TimeRange/index.js +64 -0
- package/es/components/productCard/lineItem/index.js +5 -2
- package/es/components/productCard/lineItem/index.less +21 -10
- package/es/components/productCard/types.d.ts +1 -0
- package/es/index.d.ts +6 -2
- package/es/index.js +6 -2
- package/es/pisell-materials.tw.css +3 -0
- package/lib/components/buttonGroupPreview/index.js +8 -4
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +206 -48
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +33 -2
- package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.js +50 -2
- package/lib/components/pisellFloorMapLayout/components/EdgeLayer.js +255 -0
- package/lib/components/pisellFloorMapLayout/components/EdgeLayer.less +11 -0
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.js +179 -29
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.less +0 -28
- package/lib/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.js +134 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEdgeEditPanel.less +65 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +4 -3
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +12 -1
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.js +8 -1
- package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.js +16 -8
- package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.less +69 -17
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.js +287 -144
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.less +210 -11
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.js +84 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.d.ts +8 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.js +23 -0
- package/lib/components/pisellFloorMapLayout/components/FloorMapZoneElement.less +74 -0
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.less +3 -1
- package/lib/components/pisellFloorMapLayout/components/NodePortMarkers.js +73 -0
- package/lib/components/pisellFloorMapLayout/components/NodePortMarkers.less +33 -0
- package/lib/components/pisellFloorMapLayout/components/ViewControls.js +12 -4
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +2 -0
- package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +2 -1
- package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.js +1 -1
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeEditing.js +341 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEdgeViewModel.js +103 -0
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +242 -82
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +54 -0
- package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.js +7 -4
- package/lib/components/pisellFloorMapLayout/index.d.ts +5 -1
- package/lib/components/pisellFloorMapLayout/locales-ja.js +14 -2
- package/lib/components/pisellFloorMapLayout/locales-pt.js +14 -2
- package/lib/components/pisellFloorMapLayout/locales.js +161 -8
- package/lib/components/pisellFloorMapLayout/types.d.ts +86 -4
- package/lib/components/pisellFloorMapLayout/types.js +5 -0
- package/lib/components/pisellFloorMapLayout/utils/alignSnap.js +170 -0
- package/lib/components/pisellFloorMapLayout/utils/batchScenePlacementLayout.js +87 -0
- package/lib/components/pisellFloorMapLayout/utils/edgeRouting.js +956 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +7 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasStage.js +23 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +11 -2
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +21 -2
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +11 -5
- package/lib/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.js +5 -3
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +20 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.js +64 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +83 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.js +29 -0
- package/lib/components/pisellFloorMapLayout/utils/floorMapToolbarPalette.js +54 -0
- package/lib/components/productCard/cartSkuCard/components/BookingItem/index.js +17 -0
- package/lib/components/productCard/cartSkuCard/components/BookingItem/index.less +32 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.less +4 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +1 -2
- package/lib/components/productCard/cartSkuCard/index.js +17 -11
- package/lib/components/productCard/lineItem/BookingLineItem.js +17 -6
- package/lib/components/productCard/lineItem/components/Holders/index.js +53 -0
- package/lib/components/productCard/lineItem/components/Holders/index.less +39 -0
- package/lib/components/productCard/lineItem/components/Resources/index.js +47 -0
- package/lib/components/productCard/lineItem/components/TimeRange/index.js +67 -0
- package/lib/components/productCard/lineItem/index.js +5 -2
- package/lib/components/productCard/lineItem/index.less +21 -10
- package/lib/components/productCard/types.d.ts +1 -0
- package/lib/index.d.ts +6 -2
- package/lib/index.js +11 -0
- package/lib/pisell-materials.tw.css +3 -0
- package/package.json +6 -3
|
@@ -34,9 +34,10 @@ var locales_ja_default = {
|
|
|
34
34
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-title": "キャンバスの名前を変更",
|
|
35
35
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-ok": "OK",
|
|
36
36
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-cancel": "キャンセル",
|
|
37
|
-
"pisell-floor-map-layout.canvas-tabs.overview": "
|
|
38
|
-
"pisell-floor-map-layout.canvas-tabs.overview-aria": "
|
|
37
|
+
"pisell-floor-map-layout.canvas-tabs.overview": "Overview",
|
|
38
|
+
"pisell-floor-map-layout.canvas-tabs.overview-aria": "すべてのキャンバスの概要",
|
|
39
39
|
"pisell-floor-map-layout.overview.empty": "全体表示できるキャンバスがありません",
|
|
40
|
+
"pisell-floor-map-layout.overview.area-title-badge": "フロア",
|
|
40
41
|
"pisell-floor-map-layout.overview.canvas-card-aria": "キャンバス {name} を開く",
|
|
41
42
|
"pisell-floor-map-layout.edit-panel.element-props": "要素のプロパティ",
|
|
42
43
|
"pisell-floor-map-layout.edit-panel.close-aria": "閉じる",
|
|
@@ -102,12 +103,21 @@ var locales_ja_default = {
|
|
|
102
103
|
"pisell-floor-map-layout.toolbar.collapse": "パネルを折りたたむ",
|
|
103
104
|
"pisell-floor-map-layout.toolbar.expand": "パネルを展開",
|
|
104
105
|
"pisell-floor-map-layout.toolbar.add-to-canvas": "キャンバスに追加",
|
|
106
|
+
"pisell-floor-map-layout.toolbar.view-all": "すべて表示",
|
|
107
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-title": "{category} — すべての要素",
|
|
108
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-hint": "右上の + / − で数量を指定し、キャンバス右側の空白に格子状に配置します。",
|
|
109
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-add": "キャンバスに追加",
|
|
110
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-cancel": "キャンセル",
|
|
111
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-decrease": "数量を減らす",
|
|
112
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-increase": "数量を増やす",
|
|
105
113
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "縮小",
|
|
106
114
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "拡大",
|
|
107
115
|
"pisell-floor-map-layout.view-controls.reset-aria": "表示をリセット",
|
|
108
116
|
"pisell-floor-map-layout.view-controls.fit-bounds-aria": "全体を表示",
|
|
109
117
|
"pisell-floor-map-layout.view-controls.grid-hide-aria": "グリッドを非表示",
|
|
110
118
|
"pisell-floor-map-layout.view-controls.grid-show-aria": "グリッドを表示",
|
|
119
|
+
"pisell-floor-map-layout.view-controls.edges-hide-aria": "接続線を非表示",
|
|
120
|
+
"pisell-floor-map-layout.view-controls.edges-show-aria": "接続線を表示",
|
|
111
121
|
"pisell-floor-map-layout.view-controls.fullscreen-aria": "全画面",
|
|
112
122
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "全画面を終了",
|
|
113
123
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "その他の表示ツールを表示",
|
|
@@ -126,6 +136,8 @@ var locales_ja_default = {
|
|
|
126
136
|
"pisell-floor-map-layout.palette.builtin-shape": "組み込み図形",
|
|
127
137
|
"pisell-floor-map-layout.image-element.default-name": "画像要素",
|
|
128
138
|
"pisell-floor-map-layout.placement.fallback-image-name": "背景",
|
|
139
|
+
"pisell-floor-map-layout.zone.title-badge": "ゾーン",
|
|
140
|
+
"pisell-floor-map-layout.zone.unnamed": "名前未設定ゾーン",
|
|
129
141
|
"pisell-floor-map-layout.image-element.hint-no-url": "サイドバーで画像 URL を入力。重なり順を下げるとテーブル下の背景にできます。",
|
|
130
142
|
"pisell-floor-map-layout.image-element.hint-load-fail": "画像の読み込みに失敗しました。URL を確認してください。",
|
|
131
143
|
"pisell-floor-map-layout.data-form.empty": "編集できる追加フィールドはありません",
|
|
@@ -34,9 +34,10 @@ var locales_pt_default = {
|
|
|
34
34
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-title": "Renomear canvas",
|
|
35
35
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-ok": "OK",
|
|
36
36
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-cancel": "Cancelar",
|
|
37
|
-
"pisell-floor-map-layout.canvas-tabs.overview": "
|
|
38
|
-
"pisell-floor-map-layout.canvas-tabs.overview-aria": "
|
|
37
|
+
"pisell-floor-map-layout.canvas-tabs.overview": "Overview",
|
|
38
|
+
"pisell-floor-map-layout.canvas-tabs.overview-aria": "Visão geral de todas as telas",
|
|
39
39
|
"pisell-floor-map-layout.overview.empty": "Nenhuma tela disponível para visão geral",
|
|
40
|
+
"pisell-floor-map-layout.overview.area-title-badge": "Piso",
|
|
40
41
|
"pisell-floor-map-layout.overview.canvas-card-aria": "Abrir tela {name}",
|
|
41
42
|
"pisell-floor-map-layout.edit-panel.element-props": "Propriedades do elemento",
|
|
42
43
|
"pisell-floor-map-layout.edit-panel.close-aria": "Fechar",
|
|
@@ -102,12 +103,21 @@ var locales_pt_default = {
|
|
|
102
103
|
"pisell-floor-map-layout.toolbar.collapse": "Recolher painel",
|
|
103
104
|
"pisell-floor-map-layout.toolbar.expand": "Expandir painel",
|
|
104
105
|
"pisell-floor-map-layout.toolbar.add-to-canvas": "Adicionar à tela",
|
|
106
|
+
"pisell-floor-map-layout.toolbar.view-all": "Ver tudo",
|
|
107
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-title": "{category} — todos os elementos",
|
|
108
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-hint": "Use + / − para definir a quantidade; os itens são colocados em grelha à direita do canvas.",
|
|
109
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-add": "Adicionar à tela",
|
|
110
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-cancel": "Cancelar",
|
|
111
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-decrease": "Diminuir quantidade",
|
|
112
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-increase": "Aumentar quantidade",
|
|
105
113
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "Reduzir zoom",
|
|
106
114
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "Aumentar zoom",
|
|
107
115
|
"pisell-floor-map-layout.view-controls.reset-aria": "Repor vista",
|
|
108
116
|
"pisell-floor-map-layout.view-controls.fit-bounds-aria": "Ajustar à vista",
|
|
109
117
|
"pisell-floor-map-layout.view-controls.grid-hide-aria": "Ocultar grelha",
|
|
110
118
|
"pisell-floor-map-layout.view-controls.grid-show-aria": "Mostrar grelha",
|
|
119
|
+
"pisell-floor-map-layout.view-controls.edges-hide-aria": "Ocultar ligações",
|
|
120
|
+
"pisell-floor-map-layout.view-controls.edges-show-aria": "Mostrar ligações",
|
|
111
121
|
"pisell-floor-map-layout.view-controls.fullscreen-aria": "Ecrã inteiro",
|
|
112
122
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "Sair do ecrã inteiro",
|
|
113
123
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "Mostrar mais ferramentas de vista",
|
|
@@ -126,6 +136,8 @@ var locales_pt_default = {
|
|
|
126
136
|
"pisell-floor-map-layout.palette.builtin-shape": "Forma embutida",
|
|
127
137
|
"pisell-floor-map-layout.image-element.default-name": "Elemento de imagem",
|
|
128
138
|
"pisell-floor-map-layout.placement.fallback-image-name": "Fundo",
|
|
139
|
+
"pisell-floor-map-layout.zone.title-badge": "Zona",
|
|
140
|
+
"pisell-floor-map-layout.zone.unnamed": "Zona sem nome",
|
|
129
141
|
"pisell-floor-map-layout.image-element.hint-no-url": "Introduza o URL da imagem na barra lateral. Baixe a ordem para ficar atrás das mesas.",
|
|
130
142
|
"pisell-floor-map-layout.image-element.hint-load-fail": "Falha ao carregar a imagem. Verifique o URL.",
|
|
131
143
|
"pisell-floor-map-layout.data-form.empty": "Sem campos extra editáveis",
|
|
@@ -37,10 +37,32 @@ var locales_default = {
|
|
|
37
37
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-title": "Rename canvas",
|
|
38
38
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-ok": "OK",
|
|
39
39
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-cancel": "Cancel",
|
|
40
|
-
"pisell-floor-map-layout.canvas-tabs.overview": "
|
|
41
|
-
"pisell-floor-map-layout.canvas-tabs.overview-aria": "
|
|
40
|
+
"pisell-floor-map-layout.canvas-tabs.overview": "Overview",
|
|
41
|
+
"pisell-floor-map-layout.canvas-tabs.overview-aria": "Overview of all canvases",
|
|
42
42
|
"pisell-floor-map-layout.overview.empty": "No canvas to display in overview.",
|
|
43
|
+
"pisell-floor-map-layout.overview.area-title-badge": "Floor",
|
|
43
44
|
"pisell-floor-map-layout.overview.canvas-card-aria": "Open canvas {name}",
|
|
45
|
+
"pisell-floor-map-layout.edge-panel.title": "Connection",
|
|
46
|
+
"pisell-floor-map-layout.edge-panel.dirty-hint": "Layout draft is not saved — click Done editing to save.",
|
|
47
|
+
"pisell-floor-map-layout.edge-panel.source-node": "Source node",
|
|
48
|
+
"pisell-floor-map-layout.edge-panel.target-node": "Target node",
|
|
49
|
+
"pisell-floor-map-layout.edge-panel.source-anchor": "Source anchor",
|
|
50
|
+
"pisell-floor-map-layout.edge-panel.target-anchor": "Target anchor",
|
|
51
|
+
"pisell-floor-map-layout.edge-panel.source-label": "Source port label",
|
|
52
|
+
"pisell-floor-map-layout.edge-panel.target-label": "Target port label",
|
|
53
|
+
"pisell-floor-map-layout.edge-panel.center-label": "Line label",
|
|
54
|
+
"pisell-floor-map-layout.edge-panel.status": "Status",
|
|
55
|
+
"pisell-floor-map-layout.edge-panel.status-online": "Online",
|
|
56
|
+
"pisell-floor-map-layout.edge-panel.status-offline": "Offline",
|
|
57
|
+
"pisell-floor-map-layout.edge-panel.status-warning": "Warning",
|
|
58
|
+
"pisell-floor-map-layout.edge-panel.status-unknown": "Unknown",
|
|
59
|
+
"pisell-floor-map-layout.edge-panel.color": "Color",
|
|
60
|
+
"pisell-floor-map-layout.edge-panel.stroke-width": "Stroke width",
|
|
61
|
+
"pisell-floor-map-layout.edge-panel.dashed": "Dashed",
|
|
62
|
+
"pisell-floor-map-layout.edge-panel.dashed-no": "Solid",
|
|
63
|
+
"pisell-floor-map-layout.edge-panel.dashed-yes": "Dashed",
|
|
64
|
+
"pisell-floor-map-layout.edge-panel.delete": "Delete connection",
|
|
65
|
+
"pisell-floor-map-layout.edge-panel.delete-confirm": "Delete this connection?",
|
|
44
66
|
"pisell-floor-map-layout.edit-panel.element-props": "Element",
|
|
45
67
|
"pisell-floor-map-layout.edit-panel.close-aria": "Close",
|
|
46
68
|
"pisell-floor-map-layout.edit-panel.hint-apply": "Position or size changed — click Apply to update the canvas.",
|
|
@@ -97,6 +119,24 @@ var locales_default = {
|
|
|
97
119
|
"pisell-floor-map-layout.toolbar.hint-no-unplaced-rows": "No unbound rows in this data source, or the list is empty; you can still place placeholders on the canvas.",
|
|
98
120
|
"pisell-floor-map-layout.toolbar.ph-select-records": "Select records to show (optional, multiple)",
|
|
99
121
|
"pisell-floor-map-layout.toolbar.hint-multi-drop": "Select multiple to place several items in one click (staggered). Leave empty to place a placeholder and bind later in the sidebar.",
|
|
122
|
+
"pisell-floor-map-layout.toolbar.open-resource-picker": "Select resources",
|
|
123
|
+
"pisell-floor-map-layout.toolbar.resource-picker-none-selected": "Select at least one resource",
|
|
124
|
+
"pisell-floor-map-layout.toolbar.resource-picker-summary": "{count} selected — change",
|
|
125
|
+
"pisell-floor-map-layout.toolbar.resource-picker-summary-empty": "Select resources (optional)",
|
|
126
|
+
"pisell-floor-map-layout.resource-picker.title": "Select resources",
|
|
127
|
+
"pisell-floor-map-layout.resource-picker.search-ph": "Search name, area, ID…",
|
|
128
|
+
"pisell-floor-map-layout.resource-picker.select-all": "Select all",
|
|
129
|
+
"pisell-floor-map-layout.resource-picker.deselect-all": "Clear selection",
|
|
130
|
+
"pisell-floor-map-layout.resource-picker.selected-count": "Selected {count} / {total}",
|
|
131
|
+
"pisell-floor-map-layout.resource-picker.filter-all": "All",
|
|
132
|
+
"pisell-floor-map-layout.resource-picker.empty": "No matching resources",
|
|
133
|
+
"pisell-floor-map-layout.resource-picker.confirm": "Confirm",
|
|
134
|
+
"pisell-floor-map-layout.resource-picker.cancel": "Cancel",
|
|
135
|
+
"pisell-floor-map-layout.resource-picker.single-hint": "Click a card to select one resource",
|
|
136
|
+
"pisell-floor-map-layout.resource-picker.level-area": "Area",
|
|
137
|
+
"pisell-floor-map-layout.resource-picker.level-1": "Level 1",
|
|
138
|
+
"pisell-floor-map-layout.resource-picker.level-2": "Level 2",
|
|
139
|
+
"pisell-floor-map-layout.resource-picker.level-3": "Level 3",
|
|
100
140
|
"pisell-floor-map-layout.toolbar.no-data-sources": "No data sources available",
|
|
101
141
|
"pisell-floor-map-layout.toolbar.cancel-place": "Cancel",
|
|
102
142
|
"pisell-floor-map-layout.toolbar.layout-dirty-hint": "Layout changed — click Save to persist.",
|
|
@@ -105,12 +145,21 @@ var locales_default = {
|
|
|
105
145
|
"pisell-floor-map-layout.toolbar.collapse": "Collapse panel",
|
|
106
146
|
"pisell-floor-map-layout.toolbar.expand": "Expand panel",
|
|
107
147
|
"pisell-floor-map-layout.toolbar.add-to-canvas": "Add to canvas",
|
|
148
|
+
"pisell-floor-map-layout.toolbar.view-all": "View all",
|
|
149
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-title": "{category} — all elements",
|
|
150
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-hint": "Use + / − to set quantity; items are placed in a grid on the right side of the canvas.",
|
|
151
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-add": "Add to canvas",
|
|
152
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-cancel": "Cancel",
|
|
153
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-decrease": "Decrease quantity",
|
|
154
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-increase": "Increase quantity",
|
|
108
155
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "Zoom out",
|
|
109
156
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "Zoom in",
|
|
110
157
|
"pisell-floor-map-layout.view-controls.reset-aria": "Reset view",
|
|
111
158
|
"pisell-floor-map-layout.view-controls.fit-bounds-aria": "Fit to content",
|
|
112
159
|
"pisell-floor-map-layout.view-controls.grid-hide-aria": "Hide grid",
|
|
113
160
|
"pisell-floor-map-layout.view-controls.grid-show-aria": "Show grid",
|
|
161
|
+
"pisell-floor-map-layout.view-controls.edges-hide-aria": "Hide connections",
|
|
162
|
+
"pisell-floor-map-layout.view-controls.edges-show-aria": "Show connections",
|
|
114
163
|
"pisell-floor-map-layout.view-controls.fullscreen-aria": "Fullscreen",
|
|
115
164
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "Exit fullscreen",
|
|
116
165
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "Show more view tools",
|
|
@@ -119,6 +168,8 @@ var locales_default = {
|
|
|
119
168
|
"pisell-floor-map-layout.view-controls.viewport-unlock-aria": "Unlock viewport",
|
|
120
169
|
"pisell-floor-map-layout.image-element.default-name": "Image",
|
|
121
170
|
"pisell-floor-map-layout.placement.fallback-image-name": "Background",
|
|
171
|
+
"pisell-floor-map-layout.zone.title-badge": "Zone",
|
|
172
|
+
"pisell-floor-map-layout.zone.unnamed": "Unnamed zone",
|
|
122
173
|
"pisell-floor-map-layout.image-element.hint-no-url": "Enter the image URL in the sidebar; lower the layer to place under tables.",
|
|
123
174
|
"pisell-floor-map-layout.image-element.hint-load-fail": "Failed to load image; check the URL.",
|
|
124
175
|
"pisell-floor-map-layout.builtin-shape.default-name": "Built-in shape",
|
|
@@ -184,10 +235,32 @@ var locales_default = {
|
|
|
184
235
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-title": "重命名画布",
|
|
185
236
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-ok": "确定",
|
|
186
237
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-cancel": "取消",
|
|
187
|
-
"pisell-floor-map-layout.canvas-tabs.overview": "
|
|
188
|
-
"pisell-floor-map-layout.canvas-tabs.overview-aria": "
|
|
189
|
-
"pisell-floor-map-layout.overview.empty": "
|
|
238
|
+
"pisell-floor-map-layout.canvas-tabs.overview": "概览",
|
|
239
|
+
"pisell-floor-map-layout.canvas-tabs.overview-aria": "查看所有画布概览",
|
|
240
|
+
"pisell-floor-map-layout.overview.empty": "暂无可概览的画布",
|
|
241
|
+
"pisell-floor-map-layout.overview.area-title-badge": "楼层",
|
|
190
242
|
"pisell-floor-map-layout.overview.canvas-card-aria": "打开画布 {name}",
|
|
243
|
+
"pisell-floor-map-layout.edge-panel.title": "连线",
|
|
244
|
+
"pisell-floor-map-layout.edge-panel.dirty-hint": "布局草稿未保存 — 请点击「完成」保存。",
|
|
245
|
+
"pisell-floor-map-layout.edge-panel.source-node": "起点节点",
|
|
246
|
+
"pisell-floor-map-layout.edge-panel.target-node": "终点节点",
|
|
247
|
+
"pisell-floor-map-layout.edge-panel.source-anchor": "起点锚点",
|
|
248
|
+
"pisell-floor-map-layout.edge-panel.target-anchor": "终点锚点",
|
|
249
|
+
"pisell-floor-map-layout.edge-panel.source-label": "起点端口标签",
|
|
250
|
+
"pisell-floor-map-layout.edge-panel.target-label": "终点端口标签",
|
|
251
|
+
"pisell-floor-map-layout.edge-panel.center-label": "连线标签",
|
|
252
|
+
"pisell-floor-map-layout.edge-panel.status": "状态",
|
|
253
|
+
"pisell-floor-map-layout.edge-panel.status-online": "在线",
|
|
254
|
+
"pisell-floor-map-layout.edge-panel.status-offline": "离线",
|
|
255
|
+
"pisell-floor-map-layout.edge-panel.status-warning": "告警",
|
|
256
|
+
"pisell-floor-map-layout.edge-panel.status-unknown": "未知",
|
|
257
|
+
"pisell-floor-map-layout.edge-panel.color": "颜色",
|
|
258
|
+
"pisell-floor-map-layout.edge-panel.stroke-width": "线宽",
|
|
259
|
+
"pisell-floor-map-layout.edge-panel.dashed": "虚线",
|
|
260
|
+
"pisell-floor-map-layout.edge-panel.dashed-no": "实线",
|
|
261
|
+
"pisell-floor-map-layout.edge-panel.dashed-yes": "虚线",
|
|
262
|
+
"pisell-floor-map-layout.edge-panel.delete": "删除连线",
|
|
263
|
+
"pisell-floor-map-layout.edge-panel.delete-confirm": "确定删除该连线?",
|
|
191
264
|
"pisell-floor-map-layout.edit-panel.element-props": "图元属性",
|
|
192
265
|
"pisell-floor-map-layout.edit-panel.close-aria": "关闭",
|
|
193
266
|
"pisell-floor-map-layout.edit-panel.hint-apply": "位置、尺寸等已修改,请点击「应用」同步到画布。",
|
|
@@ -244,6 +317,24 @@ var locales_default = {
|
|
|
244
317
|
"pisell-floor-map-layout.toolbar.hint-no-unplaced-rows": "当前数据源无未绑定记录,或列表为空;可直接在画布落点占位。",
|
|
245
318
|
"pisell-floor-map-layout.toolbar.ph-select-records": "选择要展示的记录(可选,可多选)",
|
|
246
319
|
"pisell-floor-map-layout.toolbar.hint-multi-drop": "可选多条,在画布点击一次将按阶梯偏移落多条;留空则先占位,稍后在侧栏绑定。",
|
|
320
|
+
"pisell-floor-map-layout.toolbar.open-resource-picker": "选择资源",
|
|
321
|
+
"pisell-floor-map-layout.toolbar.resource-picker-none-selected": "请至少选择一项资源",
|
|
322
|
+
"pisell-floor-map-layout.toolbar.resource-picker-summary": "已选 {count} 项 · 修改",
|
|
323
|
+
"pisell-floor-map-layout.toolbar.resource-picker-summary-empty": "选择资源(可选)",
|
|
324
|
+
"pisell-floor-map-layout.resource-picker.title": "选择资源",
|
|
325
|
+
"pisell-floor-map-layout.resource-picker.search-ph": "搜索名称、区域、编号…",
|
|
326
|
+
"pisell-floor-map-layout.resource-picker.select-all": "全选",
|
|
327
|
+
"pisell-floor-map-layout.resource-picker.deselect-all": "取消全选",
|
|
328
|
+
"pisell-floor-map-layout.resource-picker.selected-count": "已选 {count} / {total}",
|
|
329
|
+
"pisell-floor-map-layout.resource-picker.filter-all": "全部",
|
|
330
|
+
"pisell-floor-map-layout.resource-picker.empty": "无匹配资源",
|
|
331
|
+
"pisell-floor-map-layout.resource-picker.confirm": "确定",
|
|
332
|
+
"pisell-floor-map-layout.resource-picker.cancel": "取消",
|
|
333
|
+
"pisell-floor-map-layout.resource-picker.single-hint": "点击卡片选择单个资源",
|
|
334
|
+
"pisell-floor-map-layout.resource-picker.level-area": "区域",
|
|
335
|
+
"pisell-floor-map-layout.resource-picker.level-1": "一级",
|
|
336
|
+
"pisell-floor-map-layout.resource-picker.level-2": "二级",
|
|
337
|
+
"pisell-floor-map-layout.resource-picker.level-3": "三级",
|
|
247
338
|
"pisell-floor-map-layout.toolbar.no-data-sources": "无可用数据源",
|
|
248
339
|
"pisell-floor-map-layout.toolbar.cancel-place": "取消新建",
|
|
249
340
|
"pisell-floor-map-layout.toolbar.layout-dirty-hint": "布局已修改,请点击「保存」持久化。",
|
|
@@ -252,12 +343,21 @@ var locales_default = {
|
|
|
252
343
|
"pisell-floor-map-layout.toolbar.collapse": "收起面板",
|
|
253
344
|
"pisell-floor-map-layout.toolbar.expand": "展开面板",
|
|
254
345
|
"pisell-floor-map-layout.toolbar.add-to-canvas": "添加到画布",
|
|
346
|
+
"pisell-floor-map-layout.toolbar.view-all": "查看全部",
|
|
347
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-title": "{category} — 全部图元",
|
|
348
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-hint": "使用 + / − 设置数量,将按种类在画布右侧空白区方阵排列添加。",
|
|
349
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-add": "添加到画布",
|
|
350
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-cancel": "取消",
|
|
351
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-decrease": "减少数量",
|
|
352
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-increase": "增加数量",
|
|
255
353
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "缩小",
|
|
256
354
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "放大",
|
|
257
355
|
"pisell-floor-map-layout.view-controls.reset-aria": "复位",
|
|
258
356
|
"pisell-floor-map-layout.view-controls.fit-bounds-aria": "区域定位",
|
|
259
357
|
"pisell-floor-map-layout.view-controls.grid-hide-aria": "隐藏网格",
|
|
260
358
|
"pisell-floor-map-layout.view-controls.grid-show-aria": "显示网格",
|
|
359
|
+
"pisell-floor-map-layout.view-controls.edges-hide-aria": "隐藏连线",
|
|
360
|
+
"pisell-floor-map-layout.view-controls.edges-show-aria": "显示连线",
|
|
261
361
|
"pisell-floor-map-layout.view-controls.fullscreen-aria": "全屏",
|
|
262
362
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "退出全屏",
|
|
263
363
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "展开更多操作",
|
|
@@ -266,6 +366,8 @@ var locales_default = {
|
|
|
266
366
|
"pisell-floor-map-layout.view-controls.viewport-unlock-aria": "解锁视图",
|
|
267
367
|
"pisell-floor-map-layout.image-element.default-name": "图片图元",
|
|
268
368
|
"pisell-floor-map-layout.placement.fallback-image-name": "底图",
|
|
369
|
+
"pisell-floor-map-layout.zone.title-badge": "分区",
|
|
370
|
+
"pisell-floor-map-layout.zone.unnamed": "未命名分区",
|
|
269
371
|
"pisell-floor-map-layout.image-element.hint-no-url": "在侧栏填写图片地址;可调层级置于桌位下方作底图",
|
|
270
372
|
"pisell-floor-map-layout.image-element.hint-load-fail": "图片加载失败,请检查地址",
|
|
271
373
|
"pisell-floor-map-layout.builtin-shape.default-name": "内置图形",
|
|
@@ -331,10 +433,32 @@ var locales_default = {
|
|
|
331
433
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-title": "重新命名畫布",
|
|
332
434
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-ok": "確定",
|
|
333
435
|
"pisell-floor-map-layout.canvas-tabs.rename-modal-cancel": "取消",
|
|
334
|
-
"pisell-floor-map-layout.canvas-tabs.overview": "
|
|
335
|
-
"pisell-floor-map-layout.canvas-tabs.overview-aria": "
|
|
336
|
-
"pisell-floor-map-layout.overview.empty": "
|
|
436
|
+
"pisell-floor-map-layout.canvas-tabs.overview": "概覽",
|
|
437
|
+
"pisell-floor-map-layout.canvas-tabs.overview-aria": "檢視所有畫布概覽",
|
|
438
|
+
"pisell-floor-map-layout.overview.empty": "暫無可概覽的畫布",
|
|
439
|
+
"pisell-floor-map-layout.overview.area-title-badge": "樓層",
|
|
337
440
|
"pisell-floor-map-layout.overview.canvas-card-aria": "開啟畫布 {name}",
|
|
441
|
+
"pisell-floor-map-layout.edge-panel.title": "連線",
|
|
442
|
+
"pisell-floor-map-layout.edge-panel.dirty-hint": "佈局草稿未保存 — 請點擊「完成」保存。",
|
|
443
|
+
"pisell-floor-map-layout.edge-panel.source-node": "起點節點",
|
|
444
|
+
"pisell-floor-map-layout.edge-panel.target-node": "終點節點",
|
|
445
|
+
"pisell-floor-map-layout.edge-panel.source-anchor": "起點錨點",
|
|
446
|
+
"pisell-floor-map-layout.edge-panel.target-anchor": "終點錨點",
|
|
447
|
+
"pisell-floor-map-layout.edge-panel.source-label": "起點端口標籤",
|
|
448
|
+
"pisell-floor-map-layout.edge-panel.target-label": "終點端口標籤",
|
|
449
|
+
"pisell-floor-map-layout.edge-panel.center-label": "連線標籤",
|
|
450
|
+
"pisell-floor-map-layout.edge-panel.status": "狀態",
|
|
451
|
+
"pisell-floor-map-layout.edge-panel.status-online": "在線",
|
|
452
|
+
"pisell-floor-map-layout.edge-panel.status-offline": "離線",
|
|
453
|
+
"pisell-floor-map-layout.edge-panel.status-warning": "告警",
|
|
454
|
+
"pisell-floor-map-layout.edge-panel.status-unknown": "未知",
|
|
455
|
+
"pisell-floor-map-layout.edge-panel.color": "顏色",
|
|
456
|
+
"pisell-floor-map-layout.edge-panel.stroke-width": "線寬",
|
|
457
|
+
"pisell-floor-map-layout.edge-panel.dashed": "虛線",
|
|
458
|
+
"pisell-floor-map-layout.edge-panel.dashed-no": "實線",
|
|
459
|
+
"pisell-floor-map-layout.edge-panel.dashed-yes": "虛線",
|
|
460
|
+
"pisell-floor-map-layout.edge-panel.delete": "刪除連線",
|
|
461
|
+
"pisell-floor-map-layout.edge-panel.delete-confirm": "確定刪除該連線?",
|
|
338
462
|
"pisell-floor-map-layout.edit-panel.element-props": "圖元屬性",
|
|
339
463
|
"pisell-floor-map-layout.edit-panel.close-aria": "關閉",
|
|
340
464
|
"pisell-floor-map-layout.edit-panel.hint-apply": "位置、尺寸等已修改,請點擊「套用」同步到畫布。",
|
|
@@ -391,6 +515,24 @@ var locales_default = {
|
|
|
391
515
|
"pisell-floor-map-layout.toolbar.hint-no-unplaced-rows": "當前數據源無未綁定記錄,或清單為空;可直接在畫布落點占位。",
|
|
392
516
|
"pisell-floor-map-layout.toolbar.ph-select-records": "選擇要展示的記錄(可選,可多選)",
|
|
393
517
|
"pisell-floor-map-layout.toolbar.hint-multi-drop": "可選多條,在畫布點擊一次將按階梯偏移落多條;留空則先占位,稍後在側欄綁定。",
|
|
518
|
+
"pisell-floor-map-layout.toolbar.open-resource-picker": "選擇資源",
|
|
519
|
+
"pisell-floor-map-layout.toolbar.resource-picker-none-selected": "請至少選擇一項資源",
|
|
520
|
+
"pisell-floor-map-layout.toolbar.resource-picker-summary": "已選 {count} 項 · 修改",
|
|
521
|
+
"pisell-floor-map-layout.toolbar.resource-picker-summary-empty": "選擇資源(可選)",
|
|
522
|
+
"pisell-floor-map-layout.resource-picker.title": "選擇資源",
|
|
523
|
+
"pisell-floor-map-layout.resource-picker.search-ph": "搜尋名稱、區域、編號…",
|
|
524
|
+
"pisell-floor-map-layout.resource-picker.select-all": "全選",
|
|
525
|
+
"pisell-floor-map-layout.resource-picker.deselect-all": "取消全選",
|
|
526
|
+
"pisell-floor-map-layout.resource-picker.selected-count": "已選 {count} / {total}",
|
|
527
|
+
"pisell-floor-map-layout.resource-picker.filter-all": "全部",
|
|
528
|
+
"pisell-floor-map-layout.resource-picker.empty": "無匹配資源",
|
|
529
|
+
"pisell-floor-map-layout.resource-picker.confirm": "確定",
|
|
530
|
+
"pisell-floor-map-layout.resource-picker.cancel": "取消",
|
|
531
|
+
"pisell-floor-map-layout.resource-picker.single-hint": "點擊卡片選擇單個資源",
|
|
532
|
+
"pisell-floor-map-layout.resource-picker.level-area": "區域",
|
|
533
|
+
"pisell-floor-map-layout.resource-picker.level-1": "一級",
|
|
534
|
+
"pisell-floor-map-layout.resource-picker.level-2": "二級",
|
|
535
|
+
"pisell-floor-map-layout.resource-picker.level-3": "三級",
|
|
394
536
|
"pisell-floor-map-layout.toolbar.no-data-sources": "無可用數據源",
|
|
395
537
|
"pisell-floor-map-layout.toolbar.cancel-place": "取消新建",
|
|
396
538
|
"pisell-floor-map-layout.toolbar.layout-dirty-hint": "佈局已修改,請點擊「儲存」持久化。",
|
|
@@ -399,12 +541,21 @@ var locales_default = {
|
|
|
399
541
|
"pisell-floor-map-layout.toolbar.collapse": "收起面板",
|
|
400
542
|
"pisell-floor-map-layout.toolbar.expand": "展開面板",
|
|
401
543
|
"pisell-floor-map-layout.toolbar.add-to-canvas": "新增到畫布",
|
|
544
|
+
"pisell-floor-map-layout.toolbar.view-all": "查看全部",
|
|
545
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-title": "{category} — 全部圖元",
|
|
546
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-hint": "使用 + / − 設定數量,將按種類在目前畫布右側空白區方陣排列新增。",
|
|
547
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-add": "新增到畫布",
|
|
548
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-cancel": "取消",
|
|
549
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-decrease": "減少數量",
|
|
550
|
+
"pisell-floor-map-layout.toolbar.view-all-modal-qty-increase": "增加數量",
|
|
402
551
|
"pisell-floor-map-layout.view-controls.zoom-out-aria": "縮小",
|
|
403
552
|
"pisell-floor-map-layout.view-controls.zoom-in-aria": "放大",
|
|
404
553
|
"pisell-floor-map-layout.view-controls.reset-aria": "復位",
|
|
405
554
|
"pisell-floor-map-layout.view-controls.fit-bounds-aria": "區域定位",
|
|
406
555
|
"pisell-floor-map-layout.view-controls.grid-hide-aria": "隱藏網格",
|
|
407
556
|
"pisell-floor-map-layout.view-controls.grid-show-aria": "顯示網格",
|
|
557
|
+
"pisell-floor-map-layout.view-controls.edges-hide-aria": "隱藏連線",
|
|
558
|
+
"pisell-floor-map-layout.view-controls.edges-show-aria": "顯示連線",
|
|
408
559
|
"pisell-floor-map-layout.view-controls.fullscreen-aria": "全螢幕",
|
|
409
560
|
"pisell-floor-map-layout.view-controls.fullscreen-exit-aria": "退出全螢幕",
|
|
410
561
|
"pisell-floor-map-layout.view-controls.expand-tools-aria": "展開更多操作",
|
|
@@ -413,6 +564,8 @@ var locales_default = {
|
|
|
413
564
|
"pisell-floor-map-layout.view-controls.viewport-unlock-aria": "解鎖視圖",
|
|
414
565
|
"pisell-floor-map-layout.image-element.default-name": "圖片圖元",
|
|
415
566
|
"pisell-floor-map-layout.placement.fallback-image-name": "底圖",
|
|
567
|
+
"pisell-floor-map-layout.zone.title-badge": "分區",
|
|
568
|
+
"pisell-floor-map-layout.zone.unnamed": "未命名分區",
|
|
416
569
|
"pisell-floor-map-layout.image-element.hint-no-url": "在側欄填寫圖片地址;可調層級置於桌位下方作底圖",
|
|
417
570
|
"pisell-floor-map-layout.image-element.hint-load-fail": "圖片載入失敗,請檢查地址",
|
|
418
571
|
"pisell-floor-map-layout.builtin-shape.default-name": "內置圖形",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FloorMapResourcePickerSlotProps } from "./utils/floorMapResourcePickerTypes.js";
|
|
1
2
|
import { FloorMapAppearanceMode } from "./appearance/floorMapAppearance.js";
|
|
2
3
|
import { CSSProperties, MouseEvent, ReactNode } from "react";
|
|
3
4
|
|
|
@@ -45,6 +46,13 @@ interface FloorMapItemBase {
|
|
|
45
46
|
height?: number;
|
|
46
47
|
/** 形状,默认 rect */
|
|
47
48
|
shape?: FloorMapItemShape;
|
|
49
|
+
/**
|
|
50
|
+
* 是否为分区容器图元(zone):可承载子图元归属,不参与连线锚点。
|
|
51
|
+
* 视觉由 {@link FloorMapZoneElement} 或业务侧 `renderItemByKind` 提供。
|
|
52
|
+
*/
|
|
53
|
+
isZone?: boolean;
|
|
54
|
+
/** 所属分区 id;`null` / 未传表示无所属 */
|
|
55
|
+
parentId?: string | null;
|
|
48
56
|
}
|
|
49
57
|
/**
|
|
50
58
|
* 底层(MapLayer)配置
|
|
@@ -120,6 +128,10 @@ interface FloorMapControlsConfig {
|
|
|
120
128
|
* 是否显示网格开关(写入当前画布 draft 的 mapLayer.showGrid),默认 false
|
|
121
129
|
*/
|
|
122
130
|
showGridToggle?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* 是否显示连线显隐开关(需 `enableEdges` 且主组件传入 `onToggleEdgesLayer`),默认 false
|
|
133
|
+
*/
|
|
134
|
+
showEdgesToggle?: boolean;
|
|
123
135
|
/**
|
|
124
136
|
* 是否显示「视口锁定」按钮:锁定后画布的位置 / 缩放不允许通过任何用户交互(拖拽、滚轮、触摸缩放、缩放按钮、适配视口)改变,
|
|
125
137
|
* 防止误触改变视图。默认 false;平面图模式下由 PisellFloorMapLayout 默认置 true(与是否持久化视口到本地无关)。显式传 false 可隐藏。
|
|
@@ -230,12 +242,20 @@ interface FloorMapSceneElement {
|
|
|
230
242
|
* 仍可改名称、图片地址等其它字段(如适用)。
|
|
231
243
|
*/
|
|
232
244
|
layoutTransformLocked?: boolean;
|
|
245
|
+
/** 与 {@link FloorMapItemBase.isZone} 同义 */
|
|
246
|
+
isZone?: boolean;
|
|
247
|
+
/** 与 {@link FloorMapItemBase.parentId} 同义 */
|
|
248
|
+
parentId?: string | null;
|
|
233
249
|
}
|
|
234
250
|
/**
|
|
235
251
|
* 矩形区域类装饰(无数据源绑定),如画布上的「舞台/舞池」等。
|
|
236
252
|
* 在 `elementKinds` 中配置 `{ value: 'stage', label: '…', showInPalette: true }`,名称在编辑面板「显示名称」中修改。
|
|
237
253
|
*/
|
|
238
254
|
declare const FLOOR_MAP_STAGE_ELEMENT_KIND = "stage";
|
|
255
|
+
/**
|
|
256
|
+
* 分区容器图元 kind;落点默认 `isZone: true`,建议配合较低 `zIndex`。
|
|
257
|
+
*/
|
|
258
|
+
declare const FLOOR_MAP_ZONE_ELEMENT_KIND = "floorMapZone";
|
|
239
259
|
/**
|
|
240
260
|
* 图片图元:无数据源绑定,通过 `imageUrl` 展示位图;适合铺底图或与业务图元叠放(调 `zIndex`)。
|
|
241
261
|
*/
|
|
@@ -260,13 +280,47 @@ interface FloorMapElementDefaultPresentation {
|
|
|
260
280
|
subtitle?: string;
|
|
261
281
|
extensions?: Record<string, unknown>;
|
|
262
282
|
}
|
|
283
|
+
/** 连线锚点(图元边框侧) */
|
|
284
|
+
type FloorMapEdgeAnchor = 'top' | 'right' | 'bottom' | 'left' | 'center';
|
|
285
|
+
/** 连线状态(影响默认颜色与虚线) */
|
|
286
|
+
type FloorMapEdgeStatus = 'online' | 'offline' | 'warning' | 'unknown';
|
|
287
|
+
/**
|
|
288
|
+
* 连线手动路由:用户拖动手柄后保存的「完整 path 快照」。
|
|
289
|
+
*
|
|
290
|
+
* `pathSnapshot` 是 final path 的全部点列(含两端锚点)。一旦设置:
|
|
291
|
+
* - `buildEdgeRoute` **不再调用自动路由**,仅把 snapshot 的两端对齐到当前图元
|
|
292
|
+
* 锚点位置(更新「最近的两个点」),中间路径完整保留,避免图元拖动时整条线
|
|
293
|
+
* 被重算。
|
|
294
|
+
* - 拖动连线手柄时(无论首段、末段、还是内部段)都直接对 snapshot 做形变,
|
|
295
|
+
* 首/末段拖动会在 snapshot 前/后追加一对 stub 转角,可以无限叠加。
|
|
296
|
+
*/
|
|
297
|
+
interface FloorMapEdgeRouting {
|
|
298
|
+
pathSnapshot?: [number, number][];
|
|
299
|
+
}
|
|
263
300
|
/** 图元间连线(边) */
|
|
264
301
|
interface FloorMapEdge {
|
|
265
302
|
id: string;
|
|
303
|
+
/** 对应 {@link FloorMapSceneElement.instanceId} */
|
|
266
304
|
sourceId: string;
|
|
267
305
|
targetId: string;
|
|
268
|
-
sourceAnchor?:
|
|
269
|
-
targetAnchor?:
|
|
306
|
+
sourceAnchor?: FloorMapEdgeAnchor;
|
|
307
|
+
targetAnchor?: FloorMapEdgeAnchor;
|
|
308
|
+
/** 在线/离线/告警;缺省为 unknown */
|
|
309
|
+
status?: FloorMapEdgeStatus;
|
|
310
|
+
/** 自定义描边色,优先于 status 色板 */
|
|
311
|
+
color?: string;
|
|
312
|
+
strokeWidth?: number;
|
|
313
|
+
/** 强制虚线(offline 等状态也会虚线) */
|
|
314
|
+
dashed?: boolean;
|
|
315
|
+
/** 起点端口标签,如 G3/WAN */
|
|
316
|
+
sourceLabel?: string;
|
|
317
|
+
/** 终点端口标签 */
|
|
318
|
+
targetLabel?: string;
|
|
319
|
+
/** 连线中段主标签 */
|
|
320
|
+
label?: string;
|
|
321
|
+
/** 手动路由覆盖(拖拽中段手柄后回写) */
|
|
322
|
+
routing?: FloorMapEdgeRouting;
|
|
323
|
+
extensions?: Record<string, unknown>;
|
|
270
324
|
}
|
|
271
325
|
/** 图元种类配置(由后端或上层注入) */
|
|
272
326
|
interface FloorMapElementKindConfig {
|
|
@@ -396,7 +450,7 @@ type FloorMapFullscreenMode = 'toggle' | 'locked' | 'disabled';
|
|
|
396
450
|
* 平面图 Layout 注入上下文:数据、保存、侧栏表单与状态等(不包含 renderItem/mapLayer 等展示向 props)。
|
|
397
451
|
* 由 `FloorMapLayoutProvider` / RecordBoard `floorMapLayoutContext` 提供,与 `PisellFloorMapLayout` props 按 `??` 合并,props 优先。
|
|
398
452
|
*/
|
|
399
|
-
type FloorMapLayoutContextValue = Partial<Pick<PisellFloorMapLayoutProps<FloorMapItemBase>, 'floorMapConfig' | 'dataSources' | 'onSave' | 'onDataSourceRecordSave' | 'dataSourceLabels' | 'dataSourceFormColumns' | 'dataSourceRecordForm' | 'loading' | 'saveError' | 'onElementRenderError' | 'toolbarShowSave' | 'floorMapFullscreenMode' | 'appearanceMode' | 'showDataSourceRecordFormBlock' | 'viewportDockToolButtons' | 'viewportDockTrailing'>>;
|
|
453
|
+
type FloorMapLayoutContextValue = Partial<Pick<PisellFloorMapLayoutProps<FloorMapItemBase>, 'floorMapConfig' | 'dataSources' | 'onSave' | 'onDataSourceRecordSave' | 'dataSourceLabels' | 'dataSourceFormColumns' | 'dataSourceRecordForm' | 'loading' | 'saveError' | 'onElementRenderError' | 'toolbarShowSave' | 'paletteSidebarVisibleLimit' | 'floorMapFullscreenMode' | 'appearanceMode' | 'showDataSourceRecordFormBlock' | 'viewportDockToolButtons' | 'viewportDockTrailing'>>;
|
|
400
454
|
/**
|
|
401
455
|
* PisellFloorMapLayout 组件 Props
|
|
402
456
|
* @template T - 资源项类型,需继承 FloorMapItemBase 或兼容 id/x/y
|
|
@@ -433,6 +487,16 @@ interface PisellFloorMapLayoutProps<T extends FloorMapItemBase = FloorMapItemBas
|
|
|
433
487
|
* 在宽高与定位样式之后展开合并,适合传 `opacity`;避免覆盖 `position/left/top/width/height` 除非有意为之。
|
|
434
488
|
*/
|
|
435
489
|
getMergedItemWrapperStyle?: (item: T, index: number) => CSSProperties | undefined;
|
|
490
|
+
/**
|
|
491
|
+
* 是否启用连线(edge)相关的渲染与编辑能力:
|
|
492
|
+
* - 阅读态:渲染 EdgeLayer(连线路径与端口标签)
|
|
493
|
+
* - 编辑态:选中节点的 4 锚点圆点、连线手柄、拖动新建/编辑连线
|
|
494
|
+
*
|
|
495
|
+
* **默认 `false`**:仅在拓扑(PisellTopology)等明确需要连线能力的场景显式开启。
|
|
496
|
+
* pisell-reservation、record-board 等通用业务画布不应开启,避免选中图元时出现锚点
|
|
497
|
+
* 圆点或拖动产生连线。
|
|
498
|
+
*/
|
|
499
|
+
enableEdges?: boolean;
|
|
436
500
|
/**
|
|
437
501
|
* 底层(地图层)配置:背景、网格、padding、gap、吸附
|
|
438
502
|
*/
|
|
@@ -557,6 +621,17 @@ interface PisellFloorMapLayoutProps<T extends FloorMapItemBase = FloorMapItemBas
|
|
|
557
621
|
* 是否在左侧工具栏底部显示「保存」(默认 true;非全屏时顶栏为 Tab+全屏,保存多在侧栏;全屏时保存仅在顶栏)
|
|
558
622
|
*/
|
|
559
623
|
toolbarShowSave?: boolean;
|
|
624
|
+
/**
|
|
625
|
+
* 资源选择 Modal 渲染槽位。
|
|
626
|
+
* 通用基础 modal 已下线,业务侧需注入实现(如 `PisellProResourcePickerModal`)。
|
|
627
|
+
* 未注入时不会渲染资源选择弹窗,资源类图元的「画布添加」入口将无可用 picker。
|
|
628
|
+
*/
|
|
629
|
+
renderResourcePickerModal?: (props: FloorMapResourcePickerSlotProps) => ReactNode;
|
|
630
|
+
/**
|
|
631
|
+
* 编辑态侧栏每个调色板分类直接展示的图元数量;超出则显示「查看全部」弹窗。
|
|
632
|
+
* 默认 5,见 `FLOOR_MAP_TOOLBAR_PALETTE_SIDEBAR_LIMIT`。
|
|
633
|
+
*/
|
|
634
|
+
paletteSidebarVisibleLimit?: number;
|
|
560
635
|
/**
|
|
561
636
|
* 为 false 时隐藏侧栏「数据源记录」表单区(保留数据绑定选源/选行)。
|
|
562
637
|
*/
|
|
@@ -616,6 +691,13 @@ interface PisellFloorMapLayoutRef {
|
|
|
616
691
|
fitBounds: () => void;
|
|
617
692
|
/** 触发与顶栏/侧栏相同的保存流程(无 `onSave` 时内部可能为 no-op,由 hook 决定) */
|
|
618
693
|
saveLayout: () => void;
|
|
694
|
+
/**
|
|
695
|
+
* 在编辑态把外部算好的整张 `FloorMapViewConfig` 灌入草稿(一次 `commitDraft`,
|
|
696
|
+
* 可被 undo/redo 撤销)。仅在 `mode='edit'` 时生效;非编辑态调用为 no-op。
|
|
697
|
+
* 典型用例:业务侧的「自动排列 / 一键重排」按钮算出新版 config 后注入草稿,
|
|
698
|
+
* 让用户点「完成编辑」时再走原有保存流程,而不是绕过 onSave 直接持久化。
|
|
699
|
+
*/
|
|
700
|
+
applySceneSnapshot: (config: FloorMapViewConfig) => void;
|
|
619
701
|
}
|
|
620
702
|
//#endregion
|
|
621
|
-
export { DataSourceFormColumn, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, FloorMapBackgroundType, FloorMapCanvas, FloorMapCanvasNameI18n, FloorMapCanvasUiConfig, FloorMapControlsConfig, FloorMapDataSourceRecordFormContent, FloorMapDataSources, FloorMapEdge, FloorMapElementDataBindingPolicy, FloorMapElementDefaultPresentation, FloorMapElementKindCategory, FloorMapElementKindConfig, FloorMapFullscreenMode, FloorMapGridLayoutConfig, FloorMapItemBase, FloorMapItemShape, FloorMapItemUnit, FloorMapLayerConfig, FloorMapLayoutContextValue, FloorMapLayoutMode, FloorMapMergedItem, FloorMapPanBoundary, FloorMapPanConfig, FloorMapRecordFormRenderContext, FloorMapRenderOptions, FloorMapSceneElement, FloorMapSceneElementDataBinding, FloorMapTextSlot, FloorMapViewConfig, FloorMapViewportOverlayRenderArgs, FloorMapZoomConfig, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef };
|
|
703
|
+
export { DataSourceFormColumn, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_ZONE_ELEMENT_KIND, FloorMapBackgroundType, FloorMapCanvas, FloorMapCanvasNameI18n, FloorMapCanvasUiConfig, FloorMapControlsConfig, FloorMapDataSourceRecordFormContent, FloorMapDataSources, FloorMapEdge, FloorMapEdgeAnchor, FloorMapEdgeStatus, FloorMapElementDataBindingPolicy, FloorMapElementDefaultPresentation, FloorMapElementKindCategory, FloorMapElementKindConfig, FloorMapFullscreenMode, FloorMapGridLayoutConfig, FloorMapItemBase, FloorMapItemShape, FloorMapItemUnit, FloorMapLayerConfig, FloorMapLayoutContextValue, FloorMapLayoutMode, FloorMapMergedItem, FloorMapPanBoundary, FloorMapPanConfig, FloorMapRecordFormRenderContext, FloorMapRenderOptions, FloorMapSceneElement, FloorMapSceneElementDataBinding, FloorMapTextSlot, FloorMapViewConfig, FloorMapViewportOverlayRenderArgs, FloorMapZoomConfig, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef };
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
const FLOOR_MAP_STAGE_ELEMENT_KIND = "stage";
|
|
7
7
|
/**
|
|
8
|
+
* 分区容器图元 kind;落点默认 `isZone: true`,建议配合较低 `zIndex`。
|
|
9
|
+
*/
|
|
10
|
+
const FLOOR_MAP_ZONE_ELEMENT_KIND = "floorMapZone";
|
|
11
|
+
/**
|
|
8
12
|
* 图片图元:无数据源绑定,通过 `imageUrl` 展示位图;适合铺底图或与业务图元叠放(调 `zIndex`)。
|
|
9
13
|
*/
|
|
10
14
|
const FLOOR_MAP_IMAGE_ELEMENT_KIND = "floorMapImage";
|
|
@@ -15,4 +19,4 @@ const FLOOR_MAP_IMAGE_ELEMENT_KIND = "floorMapImage";
|
|
|
15
19
|
*/
|
|
16
20
|
const FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND = "floorMapBuiltinShape";
|
|
17
21
|
//#endregion
|
|
18
|
-
export { FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND };
|
|
22
|
+
export { FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_ZONE_ELEMENT_KIND };
|