@pisell/materials 6.11.72 → 6.11.74
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/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +153 -153
- package/build/lowcode/render/default/view.js +22 -22
- package/build/lowcode/view.js +21 -21
- package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +3 -2
- package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +3 -2
- package/package.json +3 -3
- package/es/components/filter/components/Dropdown/index.d.ts +0 -10
- package/es/components/filter/components/Dropdown/types.d.ts +0 -15
- package/es/components/filter/components/FilterButton/index.d.ts +0 -5
- package/es/components/filter/components/FilterButton/types.d.ts +0 -29
- package/es/components/filter/components/FilterItem/index.d.ts +0 -7
- package/es/components/pisellFilter/index.d.ts +0 -3
- package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +0 -15
- package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -57
- package/es/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +0 -8
- package/es/components/pisellMobileDateRangePicker/index.d.ts +0 -2
- package/es/components/pisellMobileDateRangePicker/types.d.ts +0 -28
- package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -12
- package/es/components/pisellRecordBoard/types.d.ts +0 -840
- package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/es/components/pisellReservationScheduleBand/index.d.ts +0 -3
- package/es/components/pisellReservationScheduleBand/types.d.ts +0 -64
- package/es/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +0 -9
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -29
- package/es/components/pisellTimeNavigator/index.d.ts +0 -5
- package/es/components/pisellTimeNavigator/types.d.ts +0 -175
- package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -79
- package/es/components/select/index.d.ts +0 -9
- package/es/index.d.ts +0 -268
- package/es/locales/en-US.d.ts +0 -565
- package/es/locales/ja.d.ts +0 -533
- package/es/locales/pt.d.ts +0 -533
- package/es/locales/zh-CN.d.ts +0 -560
- package/es/locales/zh-TW.d.ts +0 -560
- package/lib/components/filter/components/Dropdown/index.d.ts +0 -10
- package/lib/components/filter/components/Dropdown/types.d.ts +0 -15
- package/lib/components/filter/components/FilterButton/index.d.ts +0 -5
- package/lib/components/filter/components/FilterButton/types.d.ts +0 -29
- package/lib/components/filter/components/FilterItem/index.d.ts +0 -7
- package/lib/components/pisellFilter/index.d.ts +0 -3
- package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +0 -15
- package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -57
- package/lib/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +0 -8
- package/lib/components/pisellMobileDateRangePicker/index.d.ts +0 -2
- package/lib/components/pisellMobileDateRangePicker/types.d.ts +0 -28
- package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -12
- package/lib/components/pisellRecordBoard/types.d.ts +0 -840
- package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
- package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -3
- package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -64
- package/lib/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +0 -9
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
- package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
- package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -29
- package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
- package/lib/components/pisellTimeNavigator/types.d.ts +0 -175
- package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -79
- package/lib/components/select/index.d.ts +0 -9
- package/lib/index.d.ts +0 -268
- package/lib/locales/en-US.d.ts +0 -565
- package/lib/locales/ja.d.ts +0 -533
- package/lib/locales/pt.d.ts +0 -533
- package/lib/locales/zh-CN.d.ts +0 -560
- package/lib/locales/zh-TW.d.ts +0 -560
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ViewControls - 内置视图控制:默认仅缩放;可选复位、区域定位、全屏等
|
|
3
|
-
* 平面图(dockChrome):Dock 折叠入口 + 展开条(含业务插槽、空闲自动收起)
|
|
4
|
-
* 非平面图:单条横栏,缩放与工具始终同排(无 Menu 折叠)
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { FloorMapControlsConfig } from '../types';
|
|
8
|
-
import './ViewControls.less';
|
|
9
|
-
/** 从 react-zoom-pan-pinch 拿到的控制 API(由主组件传入) */
|
|
10
|
-
export interface ViewControlsApi {
|
|
11
|
-
zoomIn: () => void;
|
|
12
|
-
zoomOut: () => void;
|
|
13
|
-
resetTransform: () => void;
|
|
14
|
-
/** 区域定位,可能由主组件基于 items 计算后封装 */
|
|
15
|
-
fitBounds?: () => void;
|
|
16
|
-
/** 切换全屏(requestFullscreen / exitFullscreen) */
|
|
17
|
-
toggleFullscreen?: () => void;
|
|
18
|
-
}
|
|
19
|
-
export interface ViewControlsProps {
|
|
20
|
-
/** 控制 API */
|
|
21
|
-
api: ViewControlsApi;
|
|
22
|
-
/** 显隐配置 */
|
|
23
|
-
config?: FloorMapControlsConfig;
|
|
24
|
-
/** 当前缩放比例(1 = 100%),用于 Stepper 展示 */
|
|
25
|
-
scale?: number;
|
|
26
|
-
/** 当前是否处于全屏 */
|
|
27
|
-
isFullscreen?: boolean;
|
|
28
|
-
/** 当前 transform 是否处于「适配视口」结果(用于按钮激活态) */
|
|
29
|
-
fitBoundsActive?: boolean;
|
|
30
|
-
className?: string;
|
|
31
|
-
/** 与 config.showGridToggle 联用:当前画布是否显示网格 */
|
|
32
|
-
mapGridVisible?: boolean;
|
|
33
|
-
/** 切换当前画布 draft 的 mapLayer.showGrid */
|
|
34
|
-
onToggleMapGrid?: () => void;
|
|
35
|
-
/**
|
|
36
|
-
* 视口锁定态:true 时显示「已锁定」图标,并禁用所有改变视角的按钮
|
|
37
|
-
* (zoom +/- / reset / fitBounds)。pan / wheel / pinch 由调用方在 TransformWrapper 上同步关闭。
|
|
38
|
-
*/
|
|
39
|
-
viewportLocked?: boolean;
|
|
40
|
-
/** 切换视口锁定;未传时不展示锁定按钮 */
|
|
41
|
-
onToggleViewportLock?: () => void;
|
|
42
|
-
/**
|
|
43
|
-
* 平面图 Dock:圆角浅底样式,默认折叠为单入口;展开后含缩放、工具、全屏与 dockExpandedTrailing
|
|
44
|
-
*/
|
|
45
|
-
dockChrome?: boolean;
|
|
46
|
-
/** Dock 展开区内、与缩放/网格等按钮平级的业务工具按钮 */
|
|
47
|
-
dockExpandedToolButtons?: React.ReactNode;
|
|
48
|
-
/** Dock 展开区最右侧业务插槽(如「编辑画布」) */
|
|
49
|
-
dockExpandedTrailing?: React.ReactNode;
|
|
50
|
-
/**
|
|
51
|
-
* Dock 展开后无操作自动收起(毫秒);0 表示不自动收起
|
|
52
|
-
* @default 10000
|
|
53
|
-
*/
|
|
54
|
-
autoCollapseDockMs?: number;
|
|
55
|
-
}
|
|
56
|
-
export declare function ViewControls(props: ViewControlsProps): JSX.Element | null;
|
|
57
|
-
export default ViewControls;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { PisellMobileDateRangePickerProps } from './types';
|
|
3
|
-
import 'antd-mobile/es/global/global.css';
|
|
4
|
-
import './PisellMobileDateRangePicker.less';
|
|
5
|
-
/**
|
|
6
|
-
* antd-mobile CalendarPicker(range)薄封装:受控 value/onChange 与 RecordBoard 快筛 dayjs[] 对齐。
|
|
7
|
-
*/
|
|
8
|
-
export declare const PisellMobileDateRangePicker: React.FC<PisellMobileDateRangePickerProps>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
|
2
|
-
import type { CSSProperties, ReactNode } from 'react';
|
|
3
|
-
import type { CalendarPickerProps } from 'antd-mobile';
|
|
4
|
-
/** toolbar:顶栏快筛 32px;filter:Filter 弹层内与 Select 对齐的 48px 触发器 */
|
|
5
|
-
export declare type PisellMobileDateRangePickerVariant = 'toolbar' | 'filter';
|
|
6
|
-
export declare const PISELL_MOBILE_DATE_RANGE_PICKER_FILTER_POPUP_CLASS = "pisell-mobile-date-range-picker__popup";
|
|
7
|
-
export interface PisellMobileDateRangePickerProps {
|
|
8
|
-
value?: unknown;
|
|
9
|
-
onChange?: (value: [Dayjs, Dayjs] | undefined) => void;
|
|
10
|
-
/** 展示格式,默认 DD/MM/YYYY */
|
|
11
|
-
format?: string;
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
style?: CSSProperties;
|
|
15
|
-
title?: ReactNode;
|
|
16
|
-
confirmText?: string;
|
|
17
|
-
allowClear?: boolean;
|
|
18
|
-
min?: Date;
|
|
19
|
-
max?: Date;
|
|
20
|
-
/** 默认 toolbar;filter 用于手机 Filter 弹层 */
|
|
21
|
-
variant?: PisellMobileDateRangePickerVariant;
|
|
22
|
-
getContainer?: CalendarPickerProps['getContainer'];
|
|
23
|
-
popupClassName?: CalendarPickerProps['popupClassName'];
|
|
24
|
-
popupStyle?: CalendarPickerProps['popupStyle'];
|
|
25
|
-
/** Filter 弹层:日历打开时通知外层保持 Popover 不收起 */
|
|
26
|
-
onOpen?: () => void;
|
|
27
|
-
onClose?: () => void;
|
|
28
|
-
}
|
package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ResourceWallViewportToolbarProps {
|
|
3
|
-
now: Date;
|
|
4
|
-
appearanceMode: 'light' | 'dark';
|
|
5
|
-
onAppearanceModeChange: (m: 'light' | 'dark') => void;
|
|
6
|
-
pseudoFullscreen: boolean;
|
|
7
|
-
onTogglePseudoFullscreen: () => void;
|
|
8
|
-
onOpenControlPanel: () => void;
|
|
9
|
-
headerBorder: string;
|
|
10
|
-
headerBg: string;
|
|
11
|
-
clockColor: string;
|
|
12
|
-
mutedText: string;
|
|
13
|
-
toolbarBtnBorder: string;
|
|
14
|
-
toolbarBtnBg: string;
|
|
15
|
-
toolbarBtnBgActive: string;
|
|
16
|
-
}
|
|
17
|
-
/** 资源墙顶栏:时钟、浅深切换、伪全屏、控制台入口 */
|
|
18
|
-
export declare const ResourceWallViewportToolbar: React.FC<ResourceWallViewportToolbarProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RecordBoardToolBarProps as ToolBarPropsType } from '../../types';
|
|
3
|
-
import './ToolBarFilter.less';
|
|
4
|
-
import './recordBoardToolbar.less';
|
|
5
|
-
/**
|
|
6
|
-
* RecordBoard 下的工具栏:使用 PisellToolBar。
|
|
7
|
-
* 左侧默认 PisellFind(inline);右侧默认 PisellFilter。通过 childComponentProps.toolBar.search / toolBar.filter 为对象时透传对应组件 props,为 false 时不渲染。
|
|
8
|
-
* 可透传 topLeft、topRight、bottomLeft、bottomRight、tabs。
|
|
9
|
-
*/
|
|
10
|
-
declare const RecordBoardToolBar: React.FC<RecordBoardToolBarProps>;
|
|
11
|
-
export declare type RecordBoardToolBarProps = ToolBarPropsType;
|
|
12
|
-
export default RecordBoardToolBar;
|