@pisell/materials 6.11.44 → 6.11.45
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/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +1 -1
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +1 -1
- package/package.json +1 -1
- package/es/components/filter/components/FilterItem/index.d.ts +0 -5
- package/es/components/filter/components/QuickFilter/index.d.ts +0 -12
- package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -39
- package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -11
- package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -60
- package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
- package/es/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
- package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -53
- package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -55
- package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -25
- package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -4
- package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
- package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -71
- package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -89
- package/es/components/pisellFloorMapLayout/index.d.ts +0 -26
- package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -133
- package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -133
- package/es/components/pisellFloorMapLayout/locales.d.ts +0 -651
- package/es/components/pisellFloorMapLayout/types.d.ts +0 -641
- package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +0 -50
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
- package/es/components/pisellShellFrame/PisellShellFrame.d.ts +0 -13
- package/es/components/pisellShellFrame/types.d.ts +0 -62
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -27
- package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
- package/es/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +0 -20
- package/es/locales/en-US.d.ts +0 -557
- package/es/locales/ja.d.ts +0 -526
- package/es/locales/pt.d.ts +0 -526
- package/es/locales/zh-CN.d.ts +0 -552
- package/es/locales/zh-TW.d.ts +0 -552
- package/lib/components/filter/components/FilterItem/index.d.ts +0 -5
- package/lib/components/filter/components/QuickFilter/index.d.ts +0 -12
- package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
- package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -39
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -11
- package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -60
- package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
- package/lib/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
- package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -53
- package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -55
- package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -25
- package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -4
- package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
- package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -71
- package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -89
- package/lib/components/pisellFloorMapLayout/index.d.ts +0 -26
- package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -133
- package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -133
- package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -651
- package/lib/components/pisellFloorMapLayout/types.d.ts +0 -641
- package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +0 -50
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
- package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +0 -13
- package/lib/components/pisellShellFrame/types.d.ts +0 -62
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -27
- package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
- package/lib/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +0 -20
- package/lib/locales/en-US.d.ts +0 -557
- package/lib/locales/ja.d.ts +0 -526
- package/lib/locales/pt.d.ts +0 -526
- package/lib/locales/zh-CN.d.ts +0 -552
- package/lib/locales/zh-TW.d.ts +0 -552
package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** 与 RecordBoard ToolBar 行为绑定的 searchParams 字段名 */
|
|
2
|
-
export declare const DEFAULT_SEARCH_FIELD = "keyword";
|
|
3
|
-
/** 筛选在 searchParams 中的字段名 */
|
|
4
|
-
export declare const FILTER_PARAMS_FIELD = "filter";
|
|
5
|
-
/** 排序在 searchParams 中的字段名 */
|
|
6
|
-
export declare const SORT_PARAMS_FIELD = "sort";
|
|
7
|
-
/** 与 ResourceWall 默认 `filterFieldKey` 一致 */
|
|
8
|
-
export declare const RESOURCE_WALL_QUICK_FILTER_KEY = "resource_wall_resource_ids";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellShellFrameProps } from './types';
|
|
3
|
-
import './PisellShellFrame.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellShellFrame:通用壳层布局组件。
|
|
6
|
-
* 支持通过 config 控制各区域显隐,不同展示类型(表格/看板/日历/楼层图等)复用同一壳层。
|
|
7
|
-
*
|
|
8
|
-
* - 顶部:标题区(标题/副标题/辅助信息)、工具区(Toolbar)、统计区(Statistic List,可选折叠)
|
|
9
|
-
* - 中间:滚动承载(可选)+ Layout 插槽(children)
|
|
10
|
-
* - 底部:批量操作条(按选中状态出现)、状态提示区(加载/错误/同步提示等)
|
|
11
|
-
*/
|
|
12
|
-
export declare const PisellShellFrame: React.FC<PisellShellFrameProps>;
|
|
13
|
-
export default PisellShellFrame;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type { ReactNode, CSSProperties } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* 滚动配置:为 true 时使用默认滚动;为对象时传入样式或 scroll 相关配置。
|
|
4
|
-
*/
|
|
5
|
-
export declare type PisellShellFrameScrollConfig = boolean | {
|
|
6
|
-
style?: CSSProperties;
|
|
7
|
-
className?: string;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* PisellShellFrame 配置:控制各区域的展示与行为。
|
|
11
|
-
* 不同展示类型(表格/看板/日历等)复用同一壳层,通过配置控制显隐。
|
|
12
|
-
*/
|
|
13
|
-
export interface PisellShellFrameConfig {
|
|
14
|
-
/** 是否展示顶部标题区(标题/副标题/辅助信息) */
|
|
15
|
-
showTitle?: boolean;
|
|
16
|
-
/** 是否展示顶部工具区(Toolbar) */
|
|
17
|
-
showToolbar?: boolean;
|
|
18
|
-
/** 是否展示顶部统计区(Statistic List) */
|
|
19
|
-
showStatistic?: boolean;
|
|
20
|
-
/** 统计区是否支持折叠,仅 showStatistic 为 true 时有效 */
|
|
21
|
-
statisticCollapsible?: boolean;
|
|
22
|
-
/** 中间内容区是否使用滚动承载包裹;为 true 时默认 overflow auto */
|
|
23
|
-
scroll?: PisellShellFrameScrollConfig;
|
|
24
|
-
/** 是否展示底部批量操作条(按选中状态出现由调用方控制,此处仅控制是否渲染该槽位) */
|
|
25
|
-
showBatchActionBar?: boolean;
|
|
26
|
-
/** 是否展示底部状态提示区(加载/错误/同步提示等) */
|
|
27
|
-
showStatusArea?: boolean;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* PisellShellFrame 组件 Props。
|
|
31
|
-
* 通过 config 控制各区域显隐,通过 slot props 传入各区域内容。
|
|
32
|
-
*/
|
|
33
|
-
export interface PisellShellFrameProps {
|
|
34
|
-
/** 类名 */
|
|
35
|
-
className?: string;
|
|
36
|
-
/** 内联样式 */
|
|
37
|
-
style?: CSSProperties;
|
|
38
|
-
/** 区域显隐与行为配置,未传则默认不展示可选区域 */
|
|
39
|
-
config?: PisellShellFrameConfig;
|
|
40
|
-
/** 标题 */
|
|
41
|
-
title?: ReactNode;
|
|
42
|
-
/** 副标题 */
|
|
43
|
-
subtitle?: ReactNode;
|
|
44
|
-
/** 标题区右侧辅助信息 */
|
|
45
|
-
titleExtra?: ReactNode;
|
|
46
|
-
/** 工具栏内容 */
|
|
47
|
-
toolbar?: ReactNode;
|
|
48
|
-
/**
|
|
49
|
-
* 工具栏正下方、统计/正文之上的"附加条"插槽,渲染于 header 内部。
|
|
50
|
-
* 适用于「统计摘要 / 当前所选筛选标签」等需要紧贴 toolbar 的轻量条目。
|
|
51
|
-
* 当为空时不占位、不渲染外壳。
|
|
52
|
-
*/
|
|
53
|
-
belowToolbar?: ReactNode;
|
|
54
|
-
/** 统计列表内容(如 PisellStatisticList 或自定义) */
|
|
55
|
-
statisticList?: ReactNode;
|
|
56
|
-
/** 主内容(表格/看板/日历/楼层图等),当 config.scroll 为 true 时会被滚动容器包裹 */
|
|
57
|
-
children?: ReactNode;
|
|
58
|
-
/** 批量操作条,通常按选中状态显隐由调用方控制 */
|
|
59
|
-
batchActionBar?: ReactNode;
|
|
60
|
-
/** 状态提示(加载/错误/同步提示等) */
|
|
61
|
-
statusArea?: ReactNode;
|
|
62
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { PisellTimeNavigatorProps } from './types';
|
|
3
|
-
import './PisellTimeNavigator.less';
|
|
4
|
-
/**
|
|
5
|
-
* PisellTimeNavigator:可拖动的时间导航轴,时间范围内浏览、选择、控制
|
|
6
|
-
*/
|
|
7
|
-
export declare function PisellTimeNavigator(props: PisellTimeNavigatorProps): JSX.Element;
|
|
8
|
-
export declare namespace PisellTimeNavigator {
|
|
9
|
-
var displayName: string;
|
|
10
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Dayjs } from 'dayjs';
|
|
3
|
-
export interface CursorLayerProps {
|
|
4
|
-
orientation: 'horizontal' | 'vertical';
|
|
5
|
-
value: Dayjs | null;
|
|
6
|
-
timeFormat: string;
|
|
7
|
-
locale?: string;
|
|
8
|
-
isRealtime: boolean;
|
|
9
|
-
offsetPx: number;
|
|
10
|
-
/** axis-moves 时固定于视口中央,不应用 offsetPx */
|
|
11
|
-
fixedCenter?: boolean;
|
|
12
|
-
style?: React.CSSProperties;
|
|
13
|
-
className?: string;
|
|
14
|
-
/** cursor-moves:允许拖指针改时间 */
|
|
15
|
-
dragInteractive?: boolean;
|
|
16
|
-
/** 当前是否正处于拖拽(按下未抬起):用于驱动气泡放大反馈样式 */
|
|
17
|
-
isDragging?: boolean;
|
|
18
|
-
onDragPointerDown?: React.PointerEventHandler<HTMLDivElement>;
|
|
19
|
-
onDragPointerMove?: React.PointerEventHandler<HTMLDivElement>;
|
|
20
|
-
onDragPointerUp?: React.PointerEventHandler<HTMLDivElement>;
|
|
21
|
-
onDragPointerCancel?: React.PointerEventHandler<HTMLDivElement>;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* 时间指示器层:横向为「顶三角 + 竖长方条」SVG,竖向为横线 + 时间气泡
|
|
25
|
-
* 对齐基准为几何中心。Realtime 态 #FF692E,浏览态 #344054
|
|
26
|
-
*/
|
|
27
|
-
export declare function CursorLayer({ orientation, value, timeFormat, locale, isRealtime, offsetPx, fixedCenter, style, className, dragInteractive, isDragging, onDragPointerDown, onDragPointerMove, onDragPointerUp, onDragPointerCancel, }: CursorLayerProps): JSX.Element | null;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Dayjs } from 'dayjs';
|
|
3
|
-
export interface GestureLayerProps {
|
|
4
|
-
orientation: 'horizontal' | 'vertical';
|
|
5
|
-
cellSizePx: number;
|
|
6
|
-
/** 轴在滚动内容中的起始边距(左/上),用于把「滚动内容坐标」转为「轴内偏移」(与 dot 对齐) */
|
|
7
|
-
axisStartMarginPx: number;
|
|
8
|
-
/**
|
|
9
|
-
* 偏移 → 整点对齐的「最近 tick」时间。`snapToStep=true` 时点击 / 方向键吸到 step 网格上用。
|
|
10
|
-
*/
|
|
11
|
-
offsetToTime: (offset: number) => Dayjs | null;
|
|
12
|
-
/**
|
|
13
|
-
* 偏移 → 连续时间(不吸附)。`snapToStep=false` 时点击与方向键都走这条,
|
|
14
|
-
* 让用户点哪儿就跳到哪一秒,不再被 stepMinutes 强行回弹。
|
|
15
|
-
*/
|
|
16
|
-
offsetToTimeContinuous: (offset: number) => Dayjs | null;
|
|
17
|
-
onSelectTime: (t: Dayjs) => void;
|
|
18
|
-
isInDisabledRanges: (t: Dayjs) => boolean;
|
|
19
|
-
snapToStep: boolean;
|
|
20
|
-
stepMinutes: number;
|
|
21
|
-
snapFn: (t: Dayjs) => Dayjs;
|
|
22
|
-
scrollPosition: {
|
|
23
|
-
scrollLeft: number;
|
|
24
|
-
scrollTop: number;
|
|
25
|
-
};
|
|
26
|
-
viewportSize: {
|
|
27
|
-
w: number;
|
|
28
|
-
h: number;
|
|
29
|
-
};
|
|
30
|
-
onPointerDown?: React.PointerEventHandler;
|
|
31
|
-
onPointerMove?: React.PointerEventHandler;
|
|
32
|
-
onPointerUp?: React.PointerEventHandler;
|
|
33
|
-
onPointerLeave?: React.PointerEventHandler;
|
|
34
|
-
/** 轴上任意指针按下(含惯性拖轴) */
|
|
35
|
-
onUserInteraction?: () => void;
|
|
36
|
-
children: React.ReactNode;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* 交互层:点击刻度跳转、键盘左右/上下 + 回车
|
|
40
|
-
*/
|
|
41
|
-
export declare function GestureLayer({ orientation, cellSizePx, axisStartMarginPx, offsetToTime, offsetToTimeContinuous, onSelectTime, isInDisabledRanges, snapToStep, stepMinutes, snapFn, scrollPosition, viewportSize, onPointerDown, onPointerMove, onPointerUp, onPointerLeave, onUserInteraction, children, }: GestureLayerProps): JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellTimeNavigator 布局与尺寸常量(与 Figma / 交互 spec 对齐)
|
|
3
|
-
*/
|
|
4
|
-
/** 横向每格宽度(px),Figma 约 82;axis-moves 固定用此值 */
|
|
5
|
-
export declare const CELL_SIZE_H = 82;
|
|
6
|
-
/**
|
|
7
|
-
* 横向「此刻」橙区目标宽度(px):按 axis-moves 下一格多的比例换算;
|
|
8
|
-
* 滚动轴与 cursor-moves 压格时同宽。
|
|
9
|
-
*/
|
|
10
|
-
export declare const CURRENT_TIME_GRADIENT_WIDTH_H_PX: number;
|
|
11
|
-
/** 竖向每格高度(px) */
|
|
12
|
-
export declare const CELL_SIZE_V = 20;
|
|
13
|
-
/** 横向「Now」按钮占位,避免刻度被挡 */
|
|
14
|
-
export declare const CURSOR_MOVES_NOW_RESERVE_PX = 56;
|
|
15
|
-
/** cursor-moves 横向:轴与视口左右边距 */
|
|
16
|
-
export declare const CURSOR_MOVES_H_PADDING_PX = 8;
|
|
17
|
-
/** cursor-moves 横向:每格最小宽度(再小刻度不可读) */
|
|
18
|
-
export declare const CURSOR_MOVES_MIN_CELL_PX = 8;
|
|
19
|
-
/** 密度层高度:时间轴 48px 内留少量上下边距 */
|
|
20
|
-
export declare const DENSITY_LAYER_HEIGHT = 46;
|