@pisell/materials 6.11.239 → 6.11.241
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/meta.js +1 -1
- package/build/lowcode/preview.js +4 -4
- package/build/lowcode/render/default/view.js +16 -16
- package/build/lowcode/view.js +15 -15
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +2 -0
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.js +47 -22
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/es/components/pisellFind/index.d.ts +2 -0
- package/es/components/pisellFind/index.js +11 -0
- package/es/components/pisellLookup/PisellLookup.js +22 -6
- package/es/components/pisellLookup/components/LookupResultHost.js +56 -38
- package/es/components/pisellLookup/components/LookupTrigger.js +2 -0
- package/es/components/pisellLookup/types.d.ts +36 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +2 -0
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.js +71 -35
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/lib/components/pisellFind/index.d.ts +2 -0
- package/lib/components/pisellFind/index.js +19 -0
- package/lib/components/pisellLookup/PisellLookup.js +18 -4
- package/lib/components/pisellLookup/components/LookupResultHost.js +50 -35
- package/lib/components/pisellLookup/components/LookupTrigger.js +2 -0
- package/lib/components/pisellLookup/types.d.ts +36 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -0
- package/package.json +3 -3
- package/es/components/PisellGroupView/PisellGroupView.d.ts +0 -9
- package/es/components/PisellGroupView/PisellGroupView.stories.d.ts +0 -27
- package/es/components/PisellGroupView/index.d.ts +0 -6
- package/es/components/PisellGroupView/types.d.ts +0 -124
- package/es/components/PisellGroupView/utils/index.d.ts +0 -20
- package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
- package/es/components/PisellScrollView/PisellScrollView.d.ts +0 -5
- package/es/components/PisellScrollView/PisellScrollView.stories.d.ts +0 -87
- package/es/components/PisellScrollView/hooks/useScrollState.d.ts +0 -13
- package/es/components/PisellSteps/PisellSteps.stories.d.ts +0 -155
- package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/es/components/PisellTabbar/constants.d.ts +0 -47
- package/es/components/PisellTabbar/types.d.ts +0 -119
- package/es/components/buttonGroupPreview/index.d.ts +0 -19
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -89
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -14
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -64
- package/es/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +0 -49
- package/es/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +0 -13
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -84
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +0 -20
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -94
- package/es/components/pisellFloorMapLayout/index.d.ts +0 -39
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -184
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -184
- package/es/components/pisellFloorMapLayout/locales.d.ts +0 -969
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -80
- package/es/components/pisellFloorMapLayout/types.d.ts +0 -769
- package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
- package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
- package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
- package/es/components/pisellFloorMapLayout/utils/floorMapSelectionZone.d.ts +0 -24
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -9
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +0 -43
- package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -34
- package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +0 -102
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -30
- package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarAxis.d.ts +0 -32
- package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -330
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -52
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -22
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +0 -57
- package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -26
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
- package/es/components/pisellRecordBoard/types.d.ts +0 -899
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
- package/es/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +0 -36
- package/es/components/pisellTimeRangeDisplay/types.d.ts +0 -145
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -4
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/es/components/productCard/cartSkuCard/components/inlineActions/index.d.ts +0 -15
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
- package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -23
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -15
- package/es/components/productCard/lineItem/BookingLineItem.d.ts +0 -23
- package/es/components/productCard/lineItem/components/Holders/index.d.ts +0 -10
- package/es/components/productCard/lineItem/components/Resources/index.d.ts +0 -7
- package/es/components/productCard/lineItem/index.d.ts +0 -72
- package/es/components/productCard/lineItem/locales.d.ts +0 -38
- package/es/components/productCard/types.d.ts +0 -98
- package/es/components/select-time/RightPanel/index.d.ts +0 -10
- package/es/components/select-time/index.d.ts +0 -16
- package/es/components/table/hooks/useTableSetting.d.ts +0 -21
- package/es/components/virtual-keyboard/Time/index.d.ts +0 -14
- package/es/components/virtual-keyboard/index.d.ts +0 -25
- package/es/hooks/useTranslationOriginal.d.ts +0 -4
- package/es/locales/en-US.d.ts +0 -566
- package/es/locales/ja.d.ts +0 -534
- package/es/locales/pt.d.ts +0 -534
- package/es/locales/zh-CN.d.ts +0 -561
- package/es/locales/zh-TW.d.ts +0 -561
- package/lib/components/PisellGroupView/PisellGroupView.d.ts +0 -9
- package/lib/components/PisellGroupView/PisellGroupView.stories.d.ts +0 -27
- package/lib/components/PisellGroupView/index.d.ts +0 -6
- package/lib/components/PisellGroupView/types.d.ts +0 -124
- package/lib/components/PisellGroupView/utils/index.d.ts +0 -20
- package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
- package/lib/components/PisellScrollView/PisellScrollView.d.ts +0 -5
- package/lib/components/PisellScrollView/PisellScrollView.stories.d.ts +0 -87
- package/lib/components/PisellScrollView/hooks/useScrollState.d.ts +0 -13
- package/lib/components/PisellSteps/PisellSteps.stories.d.ts +0 -155
- package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
- package/lib/components/PisellTabbar/constants.d.ts +0 -47
- package/lib/components/PisellTabbar/types.d.ts +0 -119
- package/lib/components/buttonGroupPreview/index.d.ts +0 -19
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -89
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -14
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -64
- package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.d.ts +0 -49
- package/lib/components/pisellFloorMapLayout/components/FloorMapSelectionZoneElement.d.ts +0 -13
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -84
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbarViewAllModal.d.ts +0 -20
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -94
- package/lib/components/pisellFloorMapLayout/index.d.ts +0 -39
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -184
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -184
- package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -969
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
- package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -80
- package/lib/components/pisellFloorMapLayout/types.d.ts +0 -769
- package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
- package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
- package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
- package/lib/components/pisellFloorMapLayout/utils/floorMapSelectionZone.d.ts +0 -24
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -9
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +0 -43
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -34
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +0 -102
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -30
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarAxis.d.ts +0 -32
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -330
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -52
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -22
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.d.ts +0 -57
- package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -26
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
- package/lib/components/pisellRecordBoard/types.d.ts +0 -899
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
- package/lib/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +0 -36
- package/lib/components/pisellTimeRangeDisplay/types.d.ts +0 -145
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -4
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
- package/lib/components/productCard/cartSkuCard/components/inlineActions/index.d.ts +0 -15
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
- package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -23
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -15
- package/lib/components/productCard/lineItem/BookingLineItem.d.ts +0 -23
- package/lib/components/productCard/lineItem/components/Holders/index.d.ts +0 -10
- package/lib/components/productCard/lineItem/components/Resources/index.d.ts +0 -7
- package/lib/components/productCard/lineItem/index.d.ts +0 -72
- package/lib/components/productCard/lineItem/locales.d.ts +0 -38
- package/lib/components/productCard/types.d.ts +0 -98
- package/lib/components/select-time/RightPanel/index.d.ts +0 -10
- package/lib/components/select-time/index.d.ts +0 -16
- package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
- package/lib/components/virtual-keyboard/Time/index.d.ts +0 -14
- package/lib/components/virtual-keyboard/index.d.ts +0 -25
- package/lib/hooks/useTranslationOriginal.d.ts +0 -4
- package/lib/locales/en-US.d.ts +0 -566
- package/lib/locales/ja.d.ts +0 -534
- package/lib/locales/pt.d.ts +0 -534
- package/lib/locales/zh-CN.d.ts +0 -561
- package/lib/locales/zh-TW.d.ts +0 -561
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FloorMapEditTopBar - 编辑态顶栏
|
|
3
|
-
* - `mode="compact"`:画布 Tab + 可选 `canvasTabsBarTrailing`(全屏入口在左下 Dock)
|
|
4
|
-
* - `mode="full"`:画布 Tab + `canvasTabsBarTrailing` + 保存(仅非浏览器全屏时)+ 扩展操作
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { CanvasTabsProps } from './CanvasTabs';
|
|
8
|
-
import type { FloorMapControlsConfig, FloorMapViewConfig } from '../types';
|
|
9
|
-
import './FloorMapEditTopBar.less';
|
|
10
|
-
export declare type FloorMapEditTopBarMode = 'full' | 'compact';
|
|
11
|
-
export interface FloorMapEditTopBarProps {
|
|
12
|
-
/** full:全屏时的完整顶栏;compact:非全屏时 Tab + 扩展区 */
|
|
13
|
-
mode?: FloorMapEditTopBarMode;
|
|
14
|
-
config: FloorMapViewConfig;
|
|
15
|
-
canvases: CanvasTabsProps['canvases'];
|
|
16
|
-
currentCanvasId: CanvasTabsProps['currentCanvasId'];
|
|
17
|
-
onTabChange: CanvasTabsProps['onTabChange'];
|
|
18
|
-
canEditTabs?: CanvasTabsProps['canEdit'];
|
|
19
|
-
onAddCanvas?: CanvasTabsProps['onAddCanvas'];
|
|
20
|
-
onRemoveCanvas?: CanvasTabsProps['onRemoveCanvas'];
|
|
21
|
-
onRenameCanvas?: CanvasTabsProps['onRenameCanvas'];
|
|
22
|
-
onSave?: () => void;
|
|
23
|
-
saving?: boolean;
|
|
24
|
-
saveError?: Error | string;
|
|
25
|
-
layoutDirty?: boolean;
|
|
26
|
-
/** full 模式:浏览器全屏时为 true,顶栏不展示保存(改由侧栏) */
|
|
27
|
-
isFullscreen?: boolean;
|
|
28
|
-
controls?: FloorMapControlsConfig;
|
|
29
|
-
/** 顶栏右侧扩展(如「区域定位」等),仅 full 模式 */
|
|
30
|
-
extraActions?: React.ReactNode;
|
|
31
|
-
/** 画布 Tab 同排最右侧业务区 */
|
|
32
|
-
canvasTabsBarTrailing?: React.ReactNode;
|
|
33
|
-
/** 启用画布仅 1 个时隐藏 Tab 行,仅保留右侧操作区(全屏顶栏保存等) */
|
|
34
|
-
hideCanvasTabs?: boolean;
|
|
35
|
-
/** 撤销当前编辑步骤(不传则不显示按钮) */
|
|
36
|
-
onUndo?: () => void;
|
|
37
|
-
/** 重做最近一次撤销(不传则不显示按钮) */
|
|
38
|
-
onRedo?: () => void;
|
|
39
|
-
/** 是否还有可撤销步骤 */
|
|
40
|
-
canUndo?: boolean;
|
|
41
|
-
/** 是否还有可重做步骤 */
|
|
42
|
-
canRedo?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* 退出编辑模式回调(不保存)。
|
|
45
|
-
* 传入后顶栏右侧会渲染「取消编辑」+「完成」两个按钮,替代原独立「保存」按钮:
|
|
46
|
-
* - 取消编辑 → `onCancelEdit?.() ?? onExitEdit()`
|
|
47
|
-
* - 完成 → `onSave?.()` + `onExitEdit()`
|
|
48
|
-
* 不传则维持旧版「保存」按钮(保存但不退出)。
|
|
49
|
-
*/
|
|
50
|
-
onExitEdit?: () => void;
|
|
51
|
-
/**
|
|
52
|
-
* 「取消编辑」专用回调(可选)。传入时取消按钮优先调它,业务层可以在这里
|
|
53
|
-
* 完成「丢弃草稿 + 退出编辑」组合,从而保证回到阅读态不会看到未保存的脏数据。
|
|
54
|
-
* 不传时取消按钮回退到 `onExitEdit`。完成按钮链路不受此 prop 影响。
|
|
55
|
-
*/
|
|
56
|
-
onCancelEdit?: () => void;
|
|
57
|
-
className?: string;
|
|
58
|
-
/**
|
|
59
|
-
* 手机布局:顶栏拆两行(切换画布 / 操作区),并配合 Less 收紧 padding。
|
|
60
|
-
*/
|
|
61
|
-
phoneLayout?: boolean;
|
|
62
|
-
}
|
|
63
|
-
export declare function FloorMapEditTopBar(props: FloorMapEditTopBarProps): React.JSX.Element | null;
|
|
64
|
-
export default FloorMapEditTopBar;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FloorMapOverview - 阅读态「All」全览视图(纯渲染版)
|
|
3
|
-
*
|
|
4
|
-
* 仅负责把 {@link OverviewLayout} 中各画布的图元渲染到对应的绝对定位区域里;
|
|
5
|
-
* 由 PisellFloorMapLayout 在主 TransformWrapper 内挂载,与单画布共享同一套
|
|
6
|
-
* 视口控件(缩放、平移、锁定、全屏、fitBounds、网格按钮等)。
|
|
7
|
-
*
|
|
8
|
-
* 设计要点:
|
|
9
|
-
* - 不再自带 TransformWrapper / ResizeObserver / fit 算法;
|
|
10
|
-
* - 每个画布作为独立区域,仅一条细边框作分隔,无背景色/网格;
|
|
11
|
-
* - 画布名显示在边框外的标题带;标题不拦截图元交互;
|
|
12
|
-
* - 仅渲染 ItemLayer(阅读态),与单画布的 hover/click 行为一致;编辑层不渲染。
|
|
13
|
-
*/
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import type { OverviewLayout } from '../utils/floorMapOverviewLayout';
|
|
16
|
-
import type { FloorMapItemBase, FloorMapItemUnit, FloorMapRenderOptions, FloorMapViewConfig } from '../types';
|
|
17
|
-
import './FloorMapOverview.less';
|
|
18
|
-
export interface FloorMapOverviewProps<T extends FloorMapItemBase> {
|
|
19
|
-
/** 由 PisellFloorMapLayout 算好的整体布局(区域位置 + 总尺寸) */
|
|
20
|
-
overviewLayout: OverviewLayout;
|
|
21
|
-
/**
|
|
22
|
-
* 仅用于把 `canvas.id` 映射成展示名(区域左上角 chip)。
|
|
23
|
-
* 直接传 config 而非映射表,避免父组件再多构造一层。
|
|
24
|
-
*/
|
|
25
|
-
config: FloorMapViewConfig;
|
|
26
|
-
itemUnit?: FloorMapItemUnit;
|
|
27
|
-
renderItem: (item: T, index: number, options?: FloorMapRenderOptions) => React.ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* 主 TransformWrapper 的当前缩放,透传到各区域 ItemLayer 的 `viewportScale`。
|
|
30
|
-
* 缺省(undefined)时下游 `renderItem` 拿不到 viewportScale,预约/桌位卡只能
|
|
31
|
-
* 按布局像素算 visualShortSide,**永远停在 comfortable 档**,进不去 tooltip-time
|
|
32
|
-
* 小卡片模式——这正是 All 视图缩放后看不到小卡的根因。
|
|
33
|
-
*/
|
|
34
|
-
viewportScale?: number;
|
|
35
|
-
enableHover?: boolean;
|
|
36
|
-
onItemClick?: (item: T, index: number, e: React.MouseEvent<HTMLElement>) => void;
|
|
37
|
-
onItemHover?: (item: T, index: number, e: React.MouseEvent<HTMLElement>) => void;
|
|
38
|
-
onItemLeave?: (item: T, index: number, e: React.MouseEvent<HTMLElement>) => void;
|
|
39
|
-
getMergedItemWrapperStyle?: (item: T, index: number) => React.CSSProperties | undefined;
|
|
40
|
-
readModeSelectedItemId?: string | null;
|
|
41
|
-
/**
|
|
42
|
-
* 点击区域标题(画布名标签)时回调,传入该区域的 `canvasId`。
|
|
43
|
-
* 传入后标题标签变为可点击(pointer-events 放开 + 指针光标),用于从 All 视图切回该画布。
|
|
44
|
-
*/
|
|
45
|
-
onSelectCanvas?: (canvasId: string) => void;
|
|
46
|
-
className?: string;
|
|
47
|
-
}
|
|
48
|
-
export declare function FloorMapOverview<T extends FloorMapItemBase>(props: FloorMapOverviewProps<T>): React.JSX.Element;
|
|
49
|
-
export default FloorMapOverview;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 选区(selection zone)图元展示:虚线框 + 左上角标题标签。
|
|
3
|
-
*
|
|
4
|
-
* 成员关系按「几何完全包含」实时计算(见 utils/floorMapSelectionZone),此组件仅负责视觉。
|
|
5
|
-
* 内部 body 设 `pointer-events: none`,仅外层定位容器接收拖拽,保证框内图元仍可单独点选/拖动。
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import './FloorMapSelectionZoneElement.less';
|
|
9
|
-
export interface FloorMapSelectionZoneElementProps {
|
|
10
|
-
/** 选区名称;为空时展示「未命名选区」占位 */
|
|
11
|
-
name?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare function FloorMapSelectionZoneElement(props: FloorMapSelectionZoneElementProps): React.JSX.Element;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FloorMapToolbar - 编辑态左侧侧边栏:按分类添加图元、绑定数据源与行;保存可选(默认用顶栏)
|
|
3
|
-
*/
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import type { FloorMapViewConfig, FloorMapDataSources, FloorMapMergedItem, FloorMapSceneElement, FloorMapPlaceMode } from '../types';
|
|
6
|
-
import { type FloorMapPaletteDragPayload } from '../utils/floorMapDropUtils';
|
|
7
|
-
import { type FloorMapPaletteBulkPlaceItem, type FloorMapToolbarPaletteEntry } from '../utils/floorMapToolbarPalette';
|
|
8
|
-
import type { FloorMapResourcePickerSlotProps } from '../utils/floorMapResourcePickerTypes';
|
|
9
|
-
import './FloorMapToolbar.less';
|
|
10
|
-
export type { FloorMapPlaceMode as PlaceMode };
|
|
11
|
-
export interface FloorMapToolbarProps {
|
|
12
|
-
config: FloorMapViewConfig;
|
|
13
|
-
dataSources: FloorMapDataSources;
|
|
14
|
-
dataSourceLabels?: Record<string, string>;
|
|
15
|
-
canCreate: boolean;
|
|
16
|
-
placeMode: FloorMapPlaceMode;
|
|
17
|
-
onPlaceModeChange: (mode: FloorMapPlaceMode) => void;
|
|
18
|
-
renderPreviewItem?: (item: FloorMapMergedItem) => React.ReactNode;
|
|
19
|
-
placementPreviewSize?: {
|
|
20
|
-
width: number;
|
|
21
|
-
height: number;
|
|
22
|
-
};
|
|
23
|
-
decorationPreviewSize?: number;
|
|
24
|
-
sceneElements?: FloorMapSceneElement[];
|
|
25
|
-
onSave?: () => void;
|
|
26
|
-
saving?: boolean;
|
|
27
|
-
saveError?: Error | string;
|
|
28
|
-
/** 布局草稿已相对持久化配置变更,提示用户点击本栏「保存」 */
|
|
29
|
-
layoutDirty?: boolean;
|
|
30
|
-
className?: string;
|
|
31
|
-
/** 触摸/笔:Pointer 拖拽落点(mouse 仍用 HTML5 DnD) */
|
|
32
|
-
onPaletteCardPointerDown?: (payload: FloorMapPaletteDragPayload, e: React.PointerEvent<HTMLButtonElement>) => void;
|
|
33
|
-
/** 触摸拖放结束后吞掉按钮 click,避免误触切换落点模式 */
|
|
34
|
-
consumeToolbarClickIfTouchDrag?: () => boolean;
|
|
35
|
-
/** 手机布局:侧栏悬浮覆盖画布(由 PisellFloorMapLayout + Less 控制定位) */
|
|
36
|
-
phoneLayout?: boolean;
|
|
37
|
-
/** 为 true 时初始为收起(预约手机编辑态默认收起图元栏) */
|
|
38
|
-
defaultCollapsed?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* 手机布局:选中图元种类后,一键在当前视口中心落点(与画布点击落点规则一致)。
|
|
41
|
-
*/
|
|
42
|
-
onRequestPlaceAtCanvasCenter?: () => void;
|
|
43
|
-
/**
|
|
44
|
-
* 每个调色板分类在侧栏直接展示的图元数量;超出则显示「查看全部」(默认见
|
|
45
|
-
* floorMapLayoutConstants.FLOOR_MAP_TOOLBAR_PALETTE_SIDEBAR_LIMIT,默认 5)。
|
|
46
|
-
*/
|
|
47
|
-
paletteSidebarVisibleLimit?: number;
|
|
48
|
-
/** 「查看全部」弹窗确认:批量落在画布右侧空白区(所有分类通用)。 */
|
|
49
|
-
onBulkAddPaletteToCanvas?: (items: FloorMapPaletteBulkPlaceItem[]) => void;
|
|
50
|
-
/**
|
|
51
|
-
* 「查看全部」弹窗渲染槽位:用于业务侧复用统一的选择弹窗(如 Selector + 数量选择)。
|
|
52
|
-
* 未传时使用内置 `FloorMapToolbarViewAllModal`(加减步进器)。
|
|
53
|
-
*/
|
|
54
|
-
renderPaletteViewAllModal?: (props: {
|
|
55
|
-
open: boolean;
|
|
56
|
-
categoryLabel: string;
|
|
57
|
-
entries: FloorMapToolbarPaletteEntry[];
|
|
58
|
-
onClose: () => void;
|
|
59
|
-
onConfirm: (items: FloorMapPaletteBulkPlaceItem[]) => void;
|
|
60
|
-
renderEntryPreview: (entry: FloorMapToolbarPaletteEntry) => React.ReactNode;
|
|
61
|
-
/** 容器平台:手机布局透传 `'h5'`,默认 `'pc'` */
|
|
62
|
-
platform?: 'pc' | 'h5' | 'ipad';
|
|
63
|
-
}) => React.ReactNode;
|
|
64
|
-
/**
|
|
65
|
-
* 资源选择弹窗点「确定」:按已选 recordIds 落画布(多选走批量网格,单选落视口中心附近)。
|
|
66
|
-
* @returns 是否已成功写入草稿
|
|
67
|
-
*/
|
|
68
|
-
onResourcePickerConfirmPlace?: (scene: Extract<FloorMapPlaceMode, {
|
|
69
|
-
type: 'scene';
|
|
70
|
-
}>) => boolean;
|
|
71
|
-
/**
|
|
72
|
-
* 资源选择 Modal 渲染(必传)。
|
|
73
|
-
* 通用基础 modal 已下线,业务侧需注入实现(如 `PisellProResourcePickerModal`);
|
|
74
|
-
* 未注入时仅打 warn,不渲染选择弹窗,资源选择交互不可用。
|
|
75
|
-
*/
|
|
76
|
-
renderResourcePickerModal?: (props: FloorMapResourcePickerSlotProps) => React.ReactNode;
|
|
77
|
-
/**
|
|
78
|
-
* 无二次选择的调色板项(装饰内置图形、底图图片、`dataBindingPolicy: none` 等):
|
|
79
|
-
* 侧栏点击即落在画布右侧空白区,不进入「再点画布」落点模式。
|
|
80
|
-
*/
|
|
81
|
-
onDirectPlacePaletteItem?: (item: FloorMapPaletteBulkPlaceItem) => void;
|
|
82
|
-
}
|
|
83
|
-
export declare function FloorMapToolbar(props: FloorMapToolbarProps): React.JSX.Element;
|
|
84
|
-
export default FloorMapToolbar;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 侧栏 palette「查看全部」:任意分类下图元超过展示上限时,弹窗内按数量多选并一键落点。
|
|
3
|
-
*/
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import { type FloorMapPaletteBulkPlaceItem, type FloorMapToolbarPaletteEntry } from '../utils/floorMapToolbarPalette';
|
|
6
|
-
export interface FloorMapToolbarViewAllModalProps {
|
|
7
|
-
open: boolean;
|
|
8
|
-
categoryLabel: string;
|
|
9
|
-
entries: FloorMapToolbarPaletteEntry[];
|
|
10
|
-
onClose: () => void;
|
|
11
|
-
onConfirm: (items: FloorMapPaletteBulkPlaceItem[]) => void;
|
|
12
|
-
renderEntryPreview: (entry: FloorMapToolbarPaletteEntry) => React.ReactNode;
|
|
13
|
-
/**
|
|
14
|
-
* 容器平台:透传到 `PisellContainer` 的 `props.platform`。
|
|
15
|
-
* 手机布局应传 `'h5'`,否则默认 `'pc'`。
|
|
16
|
-
*/
|
|
17
|
-
platform?: 'pc' | 'h5' | 'ipad';
|
|
18
|
-
}
|
|
19
|
-
export declare function FloorMapToolbarViewAllModal(props: FloorMapToolbarViewAllModalProps): React.JSX.Element;
|
|
20
|
-
export default FloorMapToolbarViewAllModal;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import type { MouseEvent, MutableRefObject } from 'react';
|
|
2
|
-
import { type PlacementBoundingBox } from '../utils/batchScenePlacementLayout';
|
|
3
|
-
import type { DataSourceFormColumn, FloorMapCanvasNameI18n, FloorMapDataSourceRecordFormContent, FloorMapDataSources, FloorMapItemBase, FloorMapMergedItem, FloorMapPlaceMode, FloorMapSceneElement, FloorMapViewConfig } from '../types';
|
|
4
|
-
export interface UseFloorMapEditStateParams<T extends FloorMapItemBase> {
|
|
5
|
-
floorMapConfigProp: FloorMapViewConfig | undefined;
|
|
6
|
-
isFloorMapView: boolean;
|
|
7
|
-
itemsProp: T[];
|
|
8
|
-
cellSizeProp?: number;
|
|
9
|
-
dataSources: FloorMapDataSources | undefined;
|
|
10
|
-
onSave: ((config: FloorMapViewConfig) => void) | undefined;
|
|
11
|
-
onDataSourceRecordSave: ((dataSourceKey: string, id: string, newData: Record<string, unknown>) => void) | undefined;
|
|
12
|
-
dataSourceFormColumns: Record<string, DataSourceFormColumn[]> | undefined;
|
|
13
|
-
dataSourceRecordForm: Record<string, FloorMapDataSourceRecordFormContent> | undefined;
|
|
14
|
-
dataSourceLabels?: Record<string, string>;
|
|
15
|
-
layoutPrefix: string;
|
|
16
|
-
contentOffsetRef: MutableRefObject<{
|
|
17
|
-
x: number;
|
|
18
|
-
y: number;
|
|
19
|
-
}>;
|
|
20
|
-
showDataSourceRecordFormBlock?: boolean;
|
|
21
|
-
/** 批量落点后由布局层注入:将视口移至新增图元区域 */
|
|
22
|
-
focusViewportOnBoundsRef?: MutableRefObject<((bounds: PlacementBoundingBox) => void) | null>;
|
|
23
|
-
/**
|
|
24
|
-
* 网格显隐缓存命名空间(通常与视口 `viewportPersistNamespace` 同源,拼自业务/门店/平面图)。
|
|
25
|
-
* 传入后网格 localStorage key 变为 `prefix:namespace:canvasId`,隔离不同门店/场景;
|
|
26
|
-
* 不传则沿用 `prefix:canvasId`(向后兼容,跨场景可能共享)。
|
|
27
|
-
*/
|
|
28
|
-
gridPersistNamespace?: string;
|
|
29
|
-
}
|
|
30
|
-
export declare function useFloorMapEditState<T extends FloorMapItemBase>(params: UseFloorMapEditStateParams<T>): {
|
|
31
|
-
config: FloorMapViewConfig | null;
|
|
32
|
-
currentCanvasId: string | null;
|
|
33
|
-
setCurrentCanvasId: import("react").Dispatch<import("react").SetStateAction<string | null>>;
|
|
34
|
-
selectedId: string | null;
|
|
35
|
-
setSelectedId: import("react").Dispatch<import("react").SetStateAction<string | null>>;
|
|
36
|
-
placeMode: FloorMapPlaceMode;
|
|
37
|
-
setPlaceMode: import("react").Dispatch<import("react").SetStateAction<FloorMapPlaceMode>>;
|
|
38
|
-
mergedItems: FloorMapMergedItem[];
|
|
39
|
-
items: T[];
|
|
40
|
-
saving: boolean;
|
|
41
|
-
savingRecord: boolean;
|
|
42
|
-
handleAddCanvas: () => void;
|
|
43
|
-
handleRemoveCanvas: (canvasId: string) => void;
|
|
44
|
-
handleRenameCanvas: (canvasId: string, name: string | FloorMapCanvasNameI18n) => void;
|
|
45
|
-
handleUpdateItem: (itemId: string, patch: Partial<{
|
|
46
|
-
x: number;
|
|
47
|
-
y: number;
|
|
48
|
-
width: number;
|
|
49
|
-
height: number;
|
|
50
|
-
}>) => void;
|
|
51
|
-
handleUpdateItemsBatch: (patches: Array<{
|
|
52
|
-
id: string;
|
|
53
|
-
patch: Partial<{
|
|
54
|
-
x: number;
|
|
55
|
-
y: number;
|
|
56
|
-
width: number;
|
|
57
|
-
height: number;
|
|
58
|
-
}>;
|
|
59
|
-
}>) => void;
|
|
60
|
-
handleCanvasPlaceClick: (e: MouseEvent<HTMLDivElement>) => void;
|
|
61
|
-
handleSave: () => void;
|
|
62
|
-
discardDraft: () => void;
|
|
63
|
-
placeSceneElementFromPaletteDrop: (contentX: number, contentY: number, scene: Extract<FloorMapPlaceMode, {
|
|
64
|
-
type: 'scene';
|
|
65
|
-
}>) => boolean;
|
|
66
|
-
bulkPlacePaletteItems: (items: Array<{
|
|
67
|
-
elementKind: string;
|
|
68
|
-
builtinShapeKey?: string;
|
|
69
|
-
}>) => void;
|
|
70
|
-
editPanelParams: {
|
|
71
|
-
itemId: string;
|
|
72
|
-
sceneElement: FloorMapSceneElement;
|
|
73
|
-
onUpdate: (patch: Partial<FloorMapSceneElement>) => void;
|
|
74
|
-
onSaveRecord: ((dataSourceKey: string, id: string, newData: Record<string, unknown>) => void) | undefined;
|
|
75
|
-
onClose: () => void;
|
|
76
|
-
onDelete: (() => void) | undefined;
|
|
77
|
-
recordFormColumns: Record<string, DataSourceFormColumn[]> | undefined;
|
|
78
|
-
dataSourceRecordForm: Record<string, FloorMapDataSourceRecordFormContent> | undefined;
|
|
79
|
-
dataSourceLabels: Record<string, string> | undefined;
|
|
80
|
-
layoutDraftDirty: boolean;
|
|
81
|
-
showDataSourceRecordFormBlock: boolean | undefined;
|
|
82
|
-
} | null;
|
|
83
|
-
placeOverlayClass: string;
|
|
84
|
-
isLayoutDirty: boolean;
|
|
85
|
-
toggleDraftCanvasShowGrid: () => void;
|
|
86
|
-
toggleSelectedLayoutLock: () => void;
|
|
87
|
-
duplicateSelectedElement: () => void;
|
|
88
|
-
deleteSelectedElement: () => void;
|
|
89
|
-
undoDraft: () => void;
|
|
90
|
-
redoDraft: () => void;
|
|
91
|
-
canUndo: boolean;
|
|
92
|
-
canRedo: boolean;
|
|
93
|
-
commitDraft: (next: FloorMapViewConfig | ((prev: FloorMapViewConfig | null) => FloorMapViewConfig | null) | null, options?: import("./useDraftConfigHistory").DraftHistoryCommitOptions | undefined) => void;
|
|
94
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellFloorMapLayout 组件入口
|
|
3
|
-
* 空间布局视图:在二维平面按坐标渲染资源,支持缩放/平移/复位;支持 floorMapConfig + mode 平面图视图
|
|
4
|
-
*/
|
|
5
|
-
export { PisellFloorMapLayout } from './PisellFloorMapLayout';
|
|
6
|
-
export type { PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapItemBase, FloorMapItemUnit, FloorMapLayerConfig, FloorMapZoomConfig, FloorMapPanConfig, FloorMapControlsConfig, FloorMapItemShape, FloorMapBackgroundType, FloorMapPanBoundary, FloorMapLayoutMode, FloorMapGridLayoutConfig, FloorMapCanvas, FloorMapCanvasNameI18n, FloorMapElement, FloorMapData, FloorMapViewConfig, FloorMapCanvasUiConfig, FloorMapSceneElement, FloorMapSceneElementDataBinding, FloorMapPlaceMode, FloorMapElementKindCategory, FloorMapElementDataBindingPolicy, FloorMapElementDefaultPresentation, FloorMapEdge, FloorMapEdgeAnchor, FloorMapEdgeStatus, FloorMapElementKindConfig, FloorMapElementType, FloorMapTextSlot, FloorMapDataSources, FloorMapRenderOptions, FloorMapEditPanelParams, DataSourceFormColumn, FloorMapMergedItem, FloorMapRecordFormRenderContext, FloorMapDataSourceRecordFormContent, FloorMapFullscreenMode, FloorMapLayoutContextValue, FloorMapViewportOverlayRenderArgs, } from './types';
|
|
7
|
-
export { FLOOR_MAP_STAGE_ELEMENT_KIND, FLOOR_MAP_SELECTION_ZONE_ELEMENT_KIND, FLOOR_MAP_IMAGE_ELEMENT_KIND, FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND, } from './types';
|
|
8
|
-
export { renderFloorMapFallbackPlaceholder } from './utils/floorMapFallbackRender';
|
|
9
|
-
export { isFloorMapImageElementKind, isFloorMapBuiltinShapeElementKind, } from './utils/floorMapElementKindUtils';
|
|
10
|
-
export { FLOOR_MAP_BUILTIN_SHAPES, getFloorMapBuiltinShapeDef, } from './utils/floorMapBuiltinShapes';
|
|
11
|
-
export type { FloorMapBuiltinShapeDef, FloorMapBuiltinShapeRenderProps, } from './utils/floorMapBuiltinShapes';
|
|
12
|
-
export { NAME_AS_TITLE_EXT_KEY, isElementNameAsTitleEnabled, buildNameAsTitleExtensionsPatch, resolveSceneElementDisplayTitle, } from './utils/floorMapElementNameAsTitle';
|
|
13
|
-
export { findFloorMapRowByDataBinding, getFloorMapBindingPlaceholderReason, } from './utils/floorMapDataBindingUtils';
|
|
14
|
-
export type { FloorMapDataSourceRow, FloorMapBindingPlaceholderReason, } from './utils/floorMapDataBindingUtils';
|
|
15
|
-
export { createShopFloorPlanClient, SHOP_FLOOR_PLAN_DUPLICATE_CODE, } from './shopFloorPlan/shopFloorPlanClient';
|
|
16
|
-
export type { ShopFloorPlanDetail, ShopFloorPlanLayoutItem, PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanHttpAdapter, CreateShopFloorPlanClientOptions, EnsureShopFloorPlanByCodeOptions, } from './shopFloorPlan/shopFloorPlanTypes';
|
|
17
|
-
export type { UseShopFloorPlanSubscriptionParams } from './hooks/useShopFloorPlanSubscription';
|
|
18
|
-
export { pickFloorPlanDetail, parseLayoutFieldToViewConfigPatch, mergeFloorPlanViewRemote, floorMapSavedConfigToRemotePatch, viewConfigToLayoutPayload, inferCanvasSizeFromScene, buildFloorPlanPutBody, isShopFloorPlanNotFoundResponse, isHttpNotFoundError, isFloorPlanDuplicateCodeError, } from './shopFloorPlan/shopFloorPlanPure';
|
|
19
|
-
export { sceneElementsToShopLayout, shopLayoutToSceneElements, } from './shopFloorPlan/shopFloorPlanMapping';
|
|
20
|
-
export { useShopFloorPlanSubscription } from './hooks/useShopFloorPlanSubscription';
|
|
21
|
-
export { wrapFloorMapOnSaveWithRemotePersist, } from './utils/floorMapRemotePersist';
|
|
22
|
-
export type { WrapFloorMapOnSaveWithRemotePersistParams } from './utils/floorMapRemotePersist';
|
|
23
|
-
export { FloorMapLayoutProvider, useFloorMapLayoutContext, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, } from './context/FloorMapLayoutContext';
|
|
24
|
-
export type { FloorMapLayoutProviderProps } from './context/FloorMapLayoutContext';
|
|
25
|
-
export { mergeFloorMapLayoutPropsFromContext } from './context/mergeFloorMapLayoutContext';
|
|
26
|
-
export type { FloorMapResourcePickerSlotProps, PisellCardPickerItem, PisellCardPickerMode, PisellCardPickerCategoryConfig, PisellCardPickerCategoryLevelConfig, PisellCardPickerCategoryPath, PisellCardPickerCategoryMode, PisellCardPickerCardMeta, } from './utils/floorMapResourcePickerTypes';
|
|
27
|
-
export { parseNestedPathSegments } from './utils/floorMapResourcePickerTypes';
|
|
28
|
-
export type { FloorMapResourcePickerRecord } from './utils/floorMapResourcePickerDisplay';
|
|
29
|
-
export { getFloorMapResourcePickerCardMeta, getFloorMapCardPickerCategoryConfig, getFloorMapResourcePickerCategoryPath, floorMapResourcePickerRecordSearchText, } from './utils/floorMapResourcePickerDisplay';
|
|
30
|
-
export { getFloorMapDisplayLocale, initFloorMapLayoutLocales, } from './utils/floorMapCanvasDisplay';
|
|
31
|
-
/** 平面图内置文案表,供跨包组件在本包 `locales` 单例上自行 init */
|
|
32
|
-
export { default as floorMapLayoutLocales } from './locales';
|
|
33
|
-
export { FloorMapImageElement } from './components/FloorMapImageElement';
|
|
34
|
-
export { FloorMapBuiltinShapeElement } from './components/FloorMapBuiltinShapeElement';
|
|
35
|
-
export { FloorMapSelectionZoneElement } from './components/FloorMapSelectionZoneElement';
|
|
36
|
-
export { isSelectionZoneItem, rectFullyContains, computeSelectionZoneMemberIds, } from './utils/floorMapSelectionZone';
|
|
37
|
-
export type { SelectionZoneRect } from './utils/floorMapSelectionZone';
|
|
38
|
-
export { getFigmaTableCardFromMerged, renderFigmaStyleTableCard, renderFigmaStyleRoundTableCard, getRenderItemByKindTable, getRenderItemByKindRoundTable, } from './components/FigmaTableCard';
|
|
39
|
-
export type { FigmaTableCardItem, FigmaTableStatus, } from './components/FigmaTableCard';
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellFloorMapLayout — 日本語
|
|
3
|
-
*/
|
|
4
|
-
declare const _default: {
|
|
5
|
-
'pisell-floor-map-layout.loading': string;
|
|
6
|
-
'pisell-floor-map-layout.read-canvas-tabs.aria': string;
|
|
7
|
-
'pisell-floor-map-layout.edit-top-bar.aria': string;
|
|
8
|
-
'pisell-floor-map-layout.edit-top-bar.fullscreen-enter-aria': string;
|
|
9
|
-
'pisell-floor-map-layout.edit-top-bar.fullscreen-enter-title': string;
|
|
10
|
-
'pisell-floor-map-layout.edit-top-bar.fullscreen-exit-aria': string;
|
|
11
|
-
'pisell-floor-map-layout.edit-top-bar.fullscreen-exit-title': string;
|
|
12
|
-
'pisell-floor-map-layout.edit-top-bar.unsaved': string;
|
|
13
|
-
'pisell-floor-map-layout.edit-top-bar.save': string;
|
|
14
|
-
'pisell-floor-map-layout.edit-top-bar.saving': string;
|
|
15
|
-
'pisell-floor-map-layout.edit-top-bar.undo': string;
|
|
16
|
-
'pisell-floor-map-layout.edit-top-bar.redo': string;
|
|
17
|
-
'pisell-floor-map-layout.edit-top-bar.cancel-edit': string;
|
|
18
|
-
'pisell-floor-map-layout.edit-top-bar.finish-edit': string;
|
|
19
|
-
'pisell-floor-map-layout.edit-top-bar.cancel-confirm-title': string;
|
|
20
|
-
'pisell-floor-map-layout.edit-top-bar.cancel-confirm-content': string;
|
|
21
|
-
'pisell-floor-map-layout.edit-top-bar.cancel-confirm-ok': string;
|
|
22
|
-
'pisell-floor-map-layout.edit-top-bar.cancel-confirm-cancel': string;
|
|
23
|
-
'pisell-floor-map-layout.canvas-tabs.empty': string;
|
|
24
|
-
'pisell-floor-map-layout.canvas-tabs.add': string;
|
|
25
|
-
'pisell-floor-map-layout.canvas-tabs.add-title': string;
|
|
26
|
-
'pisell-floor-map-layout.canvas-tabs.hint': string;
|
|
27
|
-
'pisell-floor-map-layout.canvas-tabs.rename-aria': string;
|
|
28
|
-
'pisell-floor-map-layout.canvas-tabs.remove-aria': string;
|
|
29
|
-
'pisell-floor-map-layout.canvas-tabs.rename-title': string;
|
|
30
|
-
'pisell-floor-map-layout.canvas-tabs.rename-button-aria': string;
|
|
31
|
-
'pisell-floor-map-layout.canvas-tabs.rename-button-title': string;
|
|
32
|
-
'pisell-floor-map-layout.canvas-tabs.default-new-canvas-name': string;
|
|
33
|
-
'pisell-floor-map-layout.canvas-tabs.rename-modal-title': string;
|
|
34
|
-
'pisell-floor-map-layout.canvas-tabs.rename-modal-ok': string;
|
|
35
|
-
'pisell-floor-map-layout.canvas-tabs.rename-modal-cancel': string;
|
|
36
|
-
'pisell-floor-map-layout.canvas-tabs.overview': string;
|
|
37
|
-
'pisell-floor-map-layout.canvas-tabs.overview-aria': string;
|
|
38
|
-
'pisell-floor-map-layout.overview.empty': string;
|
|
39
|
-
'pisell-floor-map-layout.overview.area-title-badge': string;
|
|
40
|
-
'pisell-floor-map-layout.overview.canvas-card-aria': string;
|
|
41
|
-
'pisell-floor-map-layout.edit-panel.element-props': string;
|
|
42
|
-
'pisell-floor-map-layout.edit-panel.close-aria': string;
|
|
43
|
-
'pisell-floor-map-layout.edit-panel.hint-apply': string;
|
|
44
|
-
'pisell-floor-map-layout.edit-panel.hint-save': string;
|
|
45
|
-
'pisell-floor-map-layout.edit-panel.section-layout': string;
|
|
46
|
-
'pisell-floor-map-layout.edit-panel.lock-on': string;
|
|
47
|
-
'pisell-floor-map-layout.edit-panel.lock-off': string;
|
|
48
|
-
'pisell-floor-map-layout.edit-panel.label-x': string;
|
|
49
|
-
'pisell-floor-map-layout.edit-panel.label-y': string;
|
|
50
|
-
'pisell-floor-map-layout.edit-panel.label-z': string;
|
|
51
|
-
'pisell-floor-map-layout.edit-panel.label-width': string;
|
|
52
|
-
'pisell-floor-map-layout.edit-panel.label-height': string;
|
|
53
|
-
'pisell-floor-map-layout.edit-panel.label-name': string;
|
|
54
|
-
'pisell-floor-map-layout.edit-panel.label-name-stage': string;
|
|
55
|
-
'pisell-floor-map-layout.edit-panel.ph-name-stage': string;
|
|
56
|
-
'pisell-floor-map-layout.edit-panel.ph-name': string;
|
|
57
|
-
'pisell-floor-map-layout.edit-panel.label-name-as-title': string;
|
|
58
|
-
'pisell-floor-map-layout.edit-panel.tip-name-as-title': string;
|
|
59
|
-
'pisell-floor-map-layout.edit-panel.label-builtin-shape': string;
|
|
60
|
-
'pisell-floor-map-layout.edit-panel.extra-builtin-shape': string;
|
|
61
|
-
'pisell-floor-map-layout.edit-panel.ph-builtin-shape': string;
|
|
62
|
-
'pisell-floor-map-layout.edit-panel.label-image-url': string;
|
|
63
|
-
'pisell-floor-map-layout.edit-panel.extra-image-url': string;
|
|
64
|
-
'pisell-floor-map-layout.edit-panel.ph-https': string;
|
|
65
|
-
'pisell-floor-map-layout.edit-panel.label-canvas': string;
|
|
66
|
-
'pisell-floor-map-layout.edit-panel.label-element-kind': string;
|
|
67
|
-
'pisell-floor-map-layout.edit-panel.hint-kind-binding-cleared': string;
|
|
68
|
-
'pisell-floor-map-layout.edit-panel.apply': string;
|
|
69
|
-
'pisell-floor-map-layout.edit-panel.data-binding': string;
|
|
70
|
-
'pisell-floor-map-layout.edit-panel.data-binding-note': string;
|
|
71
|
-
'pisell-floor-map-layout.edit-panel.label-data-source': string;
|
|
72
|
-
'pisell-floor-map-layout.edit-panel.ph-data-source': string;
|
|
73
|
-
'pisell-floor-map-layout.edit-panel.label-pick-row': string;
|
|
74
|
-
'pisell-floor-map-layout.edit-panel.ph-pick-row': string;
|
|
75
|
-
'pisell-floor-map-layout.edit-panel.ph-no-rows': string;
|
|
76
|
-
'pisell-floor-map-layout.edit-panel.hint-unbound': string;
|
|
77
|
-
'pisell-floor-map-layout.edit-panel.record-title': string;
|
|
78
|
-
'pisell-floor-map-layout.edit-panel.pop-title': string;
|
|
79
|
-
'pisell-floor-map-layout.edit-panel.pop-desc': string;
|
|
80
|
-
'pisell-floor-map-layout.edit-panel.btn-delete': string;
|
|
81
|
-
'pisell-floor-map-layout.edit-panel.btn-cancel': string;
|
|
82
|
-
'pisell-floor-map-layout.edit-panel.btn-ok-delete': string;
|
|
83
|
-
'pisell-floor-map-layout.edit-quick.lock': string;
|
|
84
|
-
'pisell-floor-map-layout.edit-quick.unlock': string;
|
|
85
|
-
'pisell-floor-map-layout.edit-quick.duplicate': string;
|
|
86
|
-
'pisell-floor-map-layout.edit-quick.delete': string;
|
|
87
|
-
'pisell-floor-map-layout.edit-quick.status-locked': string;
|
|
88
|
-
'pisell-floor-map-layout.edit-quick.status-unlocked': string;
|
|
89
|
-
'pisell-floor-map-layout.edit-quick.aria-toolbar': string;
|
|
90
|
-
'pisell-floor-map-layout.toolbar.category-fallback': string;
|
|
91
|
-
'pisell-floor-map-layout.toolbar.palette-card-title': string;
|
|
92
|
-
'pisell-floor-map-layout.toolbar.data-binding-optional': string;
|
|
93
|
-
'pisell-floor-map-layout.toolbar.hint-after-select-ds': string;
|
|
94
|
-
'pisell-floor-map-layout.toolbar.hint-no-unplaced-rows': string;
|
|
95
|
-
'pisell-floor-map-layout.toolbar.ph-select-records': string;
|
|
96
|
-
'pisell-floor-map-layout.toolbar.hint-multi-drop': string;
|
|
97
|
-
'pisell-floor-map-layout.toolbar.open-resource-picker': string;
|
|
98
|
-
'pisell-floor-map-layout.toolbar.select-with-label': string;
|
|
99
|
-
'pisell-floor-map-layout.toolbar.resource-picker-none-selected': string;
|
|
100
|
-
'pisell-floor-map-layout.toolbar.resource-picker-summary': string;
|
|
101
|
-
'pisell-floor-map-layout.toolbar.resource-picker-summary-empty': string;
|
|
102
|
-
'pisell-floor-map-layout.resource-picker.title': string;
|
|
103
|
-
'pisell-floor-map-layout.resource-picker.search-ph': string;
|
|
104
|
-
'pisell-floor-map-layout.resource-picker.select-all': string;
|
|
105
|
-
'pisell-floor-map-layout.resource-picker.deselect-all': string;
|
|
106
|
-
'pisell-floor-map-layout.resource-picker.selected-count': string;
|
|
107
|
-
'pisell-floor-map-layout.resource-picker.filter-all': string;
|
|
108
|
-
'pisell-floor-map-layout.resource-picker.empty': string;
|
|
109
|
-
'pisell-floor-map-layout.resource-picker.confirm': string;
|
|
110
|
-
'pisell-floor-map-layout.resource-picker.cancel': string;
|
|
111
|
-
'pisell-floor-map-layout.resource-picker.single-hint': string;
|
|
112
|
-
'pisell-floor-map-layout.resource-picker.level-area': string;
|
|
113
|
-
'pisell-floor-map-layout.resource-picker.level-1': string;
|
|
114
|
-
'pisell-floor-map-layout.resource-picker.level-2': string;
|
|
115
|
-
'pisell-floor-map-layout.resource-picker.level-3': string;
|
|
116
|
-
'pisell-floor-map-layout.toolbar.no-data-sources': string;
|
|
117
|
-
'pisell-floor-map-layout.toolbar.cancel-place': string;
|
|
118
|
-
'pisell-floor-map-layout.toolbar.layout-dirty-hint': string;
|
|
119
|
-
'pisell-floor-map-layout.toolbar.save': string;
|
|
120
|
-
'pisell-floor-map-layout.toolbar.saving': string;
|
|
121
|
-
'pisell-floor-map-layout.toolbar.collapse': string;
|
|
122
|
-
'pisell-floor-map-layout.toolbar.expand': string;
|
|
123
|
-
'pisell-floor-map-layout.toolbar.add-to-canvas': string;
|
|
124
|
-
'pisell-floor-map-layout.toolbar.view-all': string;
|
|
125
|
-
'pisell-floor-map-layout.toolbar.view-all-modal-title': string;
|
|
126
|
-
'pisell-floor-map-layout.toolbar.view-all-modal-hint': string;
|
|
127
|
-
'pisell-floor-map-layout.toolbar.view-all-modal-add': string;
|
|
128
|
-
'pisell-floor-map-layout.toolbar.view-all-modal-cancel': string;
|
|
129
|
-
'pisell-floor-map-layout.toolbar.view-all-modal-qty-decrease': string;
|
|
130
|
-
'pisell-floor-map-layout.toolbar.view-all-modal-qty-increase': string;
|
|
131
|
-
'pisell-floor-map-layout.toolbar.view-all-modal-category-image': string;
|
|
132
|
-
'pisell-floor-map-layout.toolbar.view-all-modal-category-icon': string;
|
|
133
|
-
'pisell-floor-map-layout.view-controls.zoom-out-aria': string;
|
|
134
|
-
'pisell-floor-map-layout.view-controls.zoom-in-aria': string;
|
|
135
|
-
'pisell-floor-map-layout.view-controls.reset-aria': string;
|
|
136
|
-
'pisell-floor-map-layout.view-controls.fit-bounds-aria': string;
|
|
137
|
-
'pisell-floor-map-layout.view-controls.grid-hide-aria': string;
|
|
138
|
-
'pisell-floor-map-layout.view-controls.grid-show-aria': string;
|
|
139
|
-
'pisell-floor-map-layout.view-controls.edges-hide-aria': string;
|
|
140
|
-
'pisell-floor-map-layout.view-controls.edges-show-aria': string;
|
|
141
|
-
'pisell-floor-map-layout.view-controls.fullscreen-aria': string;
|
|
142
|
-
'pisell-floor-map-layout.view-controls.fullscreen-exit-aria': string;
|
|
143
|
-
'pisell-floor-map-layout.view-controls.expand-tools-aria': string;
|
|
144
|
-
'pisell-floor-map-layout.view-controls.collapse-tools-aria': string;
|
|
145
|
-
'pisell-floor-map-layout.view-controls.viewport-lock-aria': string;
|
|
146
|
-
'pisell-floor-map-layout.view-controls.viewport-unlock-aria': string;
|
|
147
|
-
'pisell-floor-map-layout.builtin-shape.default-name': string;
|
|
148
|
-
'pisell-floor-map-layout.builtin-shape.hint-no-key': string;
|
|
149
|
-
'pisell-floor-map-layout.builtin-shape.toilet': string;
|
|
150
|
-
'pisell-floor-map-layout.builtin-shape.divider': string;
|
|
151
|
-
'pisell-floor-map-layout.builtin-shape.column': string;
|
|
152
|
-
'pisell-floor-map-layout.builtin-shape.sofa': string;
|
|
153
|
-
'pisell-floor-map-layout.builtin-shape.door': string;
|
|
154
|
-
'pisell-floor-map-layout.builtin-shape.flower-pot': string;
|
|
155
|
-
'pisell-floor-map-layout.builtin-shape.palette-pick-label': string;
|
|
156
|
-
'pisell-floor-map-layout.palette.builtin-shape': string;
|
|
157
|
-
'pisell-floor-map-layout.image-element.default-name': string;
|
|
158
|
-
'pisell-floor-map-layout.placement.fallback-image-name': string;
|
|
159
|
-
'pisell-floor-map-layout.selection-zone.title-badge': string;
|
|
160
|
-
'pisell-floor-map-layout.selection-zone.unnamed': string;
|
|
161
|
-
'pisell-floor-map-layout.image-element.hint-no-url': string;
|
|
162
|
-
'pisell-floor-map-layout.image-element.hint-load-fail': string;
|
|
163
|
-
'pisell-floor-map-layout.data-form.empty': string;
|
|
164
|
-
'pisell-floor-map-layout.data-form.save-record': string;
|
|
165
|
-
'pisell-floor-map-layout.binding-error.required-row': string;
|
|
166
|
-
'pisell-floor-map-layout.binding-error.ds-not-allowed': string;
|
|
167
|
-
'pisell-floor-map-layout.binding-error.missing-field': string;
|
|
168
|
-
'pisell-floor-map-layout.card-placeholder.hint-select-row': string;
|
|
169
|
-
'pisell-floor-map-layout.card-placeholder.hint-bind-datasource': string;
|
|
170
|
-
'pisell-floor-map-layout.card-placeholder.hint-new-slot': string;
|
|
171
|
-
'pisell-floor-map-layout.card-placeholder.hint-row-not-found': string;
|
|
172
|
-
'pisell-floor-map-layout.figma-card.kind-round-table': string;
|
|
173
|
-
'pisell-floor-map-layout.figma-card.kind-square-table': string;
|
|
174
|
-
'pisell-floor-map-layout.figma-card.default-table': string;
|
|
175
|
-
'pisell-floor-map-layout.figma-card.capacity-seats': string;
|
|
176
|
-
'pisell-floor-map-layout.figma-card.guests-count': string;
|
|
177
|
-
'pisell-floor-map-layout.figma-card.status-available': string;
|
|
178
|
-
'pisell-floor-map-layout.figma-card.status-reserved': string;
|
|
179
|
-
'pisell-floor-map-layout.figma-card.status-waiting': string;
|
|
180
|
-
'pisell-floor-map-layout.figma-card.status-dining': string;
|
|
181
|
-
'pisell-floor-map-layout.figma-card.status-billed': string;
|
|
182
|
-
'pisell-floor-map-layout.figma-card.status-availableSoon': string;
|
|
183
|
-
};
|
|
184
|
-
export default _default;
|