@pisell/materials 1.10.5 → 1.10.7

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.
Files changed (127) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +5 -5
  6. package/build/lowcode/view.js +5 -5
  7. package/es/components/PisellSuperTabs/PisellSuperTabs.js +34 -7
  8. package/es/components/PisellTabbar/template/Template1/PisellTabbar.js +19 -3
  9. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  10. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  11. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
  12. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +1 -0
  13. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +5 -3
  14. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +2 -1
  15. package/es/components/productCard/cartSkuCard/components/packages/index.js +2 -0
  16. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  17. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +2 -1
  18. package/es/components/productCard/cartSkuCard/components/sales/index.js +3 -1
  19. package/es/components/productCard/cartSkuCard/index.js +11 -3
  20. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  21. package/es/components/productCard/lineItem/BookingLineItem.js +5 -1
  22. package/es/components/productCard/types.d.ts +1 -0
  23. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  24. package/es/components/table/Table/fields/index.d.ts +0 -1
  25. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  26. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  27. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  28. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  29. package/es/components/table/Table/utils.d.ts +1 -1
  30. package/es/utils/index.d.ts +1 -1
  31. package/es/utils/platform.d.ts +1 -1
  32. package/lib/components/PisellSuperTabs/PisellSuperTabs.js +34 -5
  33. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.js +22 -3
  34. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  35. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  36. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
  37. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +1 -0
  38. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +4 -3
  39. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +2 -1
  40. package/lib/components/productCard/cartSkuCard/components/packages/index.js +7 -1
  41. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  42. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +2 -1
  43. package/lib/components/productCard/cartSkuCard/components/sales/index.js +7 -1
  44. package/lib/components/productCard/cartSkuCard/index.js +15 -2
  45. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  46. package/lib/components/productCard/lineItem/BookingLineItem.js +3 -0
  47. package/lib/components/productCard/types.d.ts +1 -0
  48. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  49. package/lib/components/table/Table/fields/index.d.ts +0 -1
  50. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  51. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  52. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  53. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  54. package/lib/components/table/Table/utils.d.ts +1 -1
  55. package/lib/utils/index.d.ts +1 -1
  56. package/lib/utils/platform.d.ts +1 -1
  57. package/package.json +1 -1
  58. package/es/components/PisellGroupView/PisellGroupView.d.ts +0 -9
  59. package/es/components/PisellGroupView/PisellGroupView.stories.d.ts +0 -27
  60. package/es/components/PisellGroupView/index.d.ts +0 -6
  61. package/es/components/PisellGroupView/types.d.ts +0 -124
  62. package/es/components/PisellGroupView/utils/index.d.ts +0 -20
  63. package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
  64. package/es/components/PisellScrollView/PisellScrollView.stories.d.ts +0 -87
  65. package/es/components/PisellSteps/PisellSteps.stories.d.ts +0 -155
  66. package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  67. package/es/components/PisellTabbar/constants.d.ts +0 -47
  68. package/es/components/PisellTabbar/index.d.ts +0 -10
  69. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -12
  70. package/es/components/PisellTabbar/template/Template1/index.d.ts +0 -7
  71. package/es/components/pisellFind/index.d.ts +0 -69
  72. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -94
  73. package/es/components/pisellLookup/PisellLookup.d.ts +0 -4
  74. package/es/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  75. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  76. package/es/components/pisellLookup/types.d.ts +0 -797
  77. package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
  78. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  79. package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +0 -43
  80. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
  81. package/es/components/pisellTimeRangeDisplay/index.d.ts +0 -3
  82. package/es/components/productCard/cartSkuCard/components/inlineActions/index.d.ts +0 -15
  83. package/es/components/select-time/RightPanel/index.d.ts +0 -10
  84. package/es/components/select-time/index.d.ts +0 -16
  85. package/es/components/table/hooks/useTableSetting.d.ts +0 -21
  86. package/es/components/virtual-keyboard/Time/index.d.ts +0 -14
  87. package/es/components/virtual-keyboard/index.d.ts +0 -25
  88. package/es/hooks/useTranslationOriginal.d.ts +0 -4
  89. package/es/locales/ja.d.ts +0 -534
  90. package/es/locales/pt.d.ts +0 -534
  91. package/es/locales/zh-CN.d.ts +0 -561
  92. package/es/locales/zh-TW.d.ts +0 -561
  93. package/lib/components/PisellGroupView/PisellGroupView.d.ts +0 -9
  94. package/lib/components/PisellGroupView/PisellGroupView.stories.d.ts +0 -27
  95. package/lib/components/PisellGroupView/index.d.ts +0 -6
  96. package/lib/components/PisellGroupView/types.d.ts +0 -124
  97. package/lib/components/PisellGroupView/utils/index.d.ts +0 -20
  98. package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
  99. package/lib/components/PisellScrollView/PisellScrollView.stories.d.ts +0 -87
  100. package/lib/components/PisellSteps/PisellSteps.stories.d.ts +0 -155
  101. package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  102. package/lib/components/PisellTabbar/constants.d.ts +0 -47
  103. package/lib/components/PisellTabbar/index.d.ts +0 -10
  104. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -12
  105. package/lib/components/PisellTabbar/template/Template1/index.d.ts +0 -7
  106. package/lib/components/pisellFind/index.d.ts +0 -69
  107. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -94
  108. package/lib/components/pisellLookup/PisellLookup.d.ts +0 -4
  109. package/lib/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
  110. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  111. package/lib/components/pisellLookup/types.d.ts +0 -797
  112. package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
  113. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  114. package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarInternalTypes.d.ts +0 -43
  115. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
  116. package/lib/components/pisellTimeRangeDisplay/index.d.ts +0 -3
  117. package/lib/components/productCard/cartSkuCard/components/inlineActions/index.d.ts +0 -15
  118. package/lib/components/select-time/RightPanel/index.d.ts +0 -10
  119. package/lib/components/select-time/index.d.ts +0 -16
  120. package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
  121. package/lib/components/virtual-keyboard/Time/index.d.ts +0 -14
  122. package/lib/components/virtual-keyboard/index.d.ts +0 -25
  123. package/lib/hooks/useTranslationOriginal.d.ts +0 -4
  124. package/lib/locales/ja.d.ts +0 -534
  125. package/lib/locales/pt.d.ts +0 -534
  126. package/lib/locales/zh-CN.d.ts +0 -561
  127. package/lib/locales/zh-TW.d.ts +0 -561
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { RecordBoardProps } from './types';
3
- /**
4
- * RecordBoard 容器:提供统一的 data / pagination / search 上下文。
5
- * 打散 props:列表/分页/搜索/多选、grid/toolBar/…;可选根级 **floorMap**(兼容透传)。
6
- * 平面图推荐在 ShellFrame 内使用 **PisellRecordBoard.FloorMap** 声明,与根级 `floorMap` 合并(子优先)。
7
- */
8
- declare const PisellRecordBoard: React.FC<RecordBoardProps>;
9
- export default PisellRecordBoard;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import type { TableProps } from 'antd';
3
- import type { RecordBoardContextValue } from '../../types';
4
- import './Grid.less';
5
- export interface RecordBoardGridViewProps extends Omit<TableProps<any>, 'dataSource' | 'loading' | 'pagination'>, Partial<Pick<RecordBoardContextValue, 'data' | 'loading'>> {
6
- /** 列配置,同 antd Table columns */
7
- columns?: TableProps<any>['columns'];
8
- className?: string;
9
- style?: React.CSSProperties;
10
- /** 自定义渲染,传入后不再使用内置 Table */
11
- render?: (ctx: RecordBoardContextValue) => React.ReactNode;
12
- }
13
- declare const RecordBoardGridView: React.FC<RecordBoardGridViewProps>;
14
- export default RecordBoardGridView;
@@ -1,43 +0,0 @@
1
- /**
2
- * BookingCalendar 专用类型(不放入全局 RecordBoard types,避免对外膨胀)。
3
- */
4
- import type { RecordBoardCalendarBookingLike } from '../../types';
5
- import type { CalendarBookingSegmentInput, SelectedSlotLike } from './utils/bookingCalendarDateUtils';
6
- import type { Dayjs } from 'dayjs';
7
- /** 资源视图格子选中:仅记 court + 日 */
8
- export declare type ResourceCellPick = {
9
- courtId: string;
10
- dateKey: string;
11
- };
12
- /** 顶栏粒度切换 */
13
- export declare type CalendarViewMode = 'resource' | 'day' | 'week' | 'month';
14
- export declare type FreeSlotSelection = SelectedSlotLike & {
15
- court?: string;
16
- };
17
- export declare type OverflowListModalState = {
18
- scope: string;
19
- date: string;
20
- title: string;
21
- items: CalendarBookingSegmentInput[];
22
- };
23
- export declare type OverflowPopoverState = {
24
- courtId: string;
25
- date: string;
26
- items: CalendarBookingSegmentInput[];
27
- pinned?: boolean;
28
- };
29
- export declare type MoveConfirmState = {
30
- item: RecordBoardCalendarBookingLike;
31
- targetCourtId: string;
32
- targetDate: string;
33
- targetHour: number;
34
- };
35
- export declare type MoveDraftState = {
36
- targetCourtId: string;
37
- targetDate: string;
38
- targetHour: number;
39
- };
40
- export declare type TransitioningToDayState = {
41
- source: string;
42
- };
43
- export declare type BlockTimeRange = [Dayjs, Dayjs] | null;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { type CalendarBookingSegmentInput } from '../utils/bookingCalendarDateUtils';
3
- export declare type MonthGridOverflowVirtualListProps = {
4
- items: CalendarBookingSegmentInput[];
5
- listWidth: number;
6
- onPickItem: (item: CalendarBookingSegmentInput) => void;
7
- };
8
- /** 月/周格「+N」悬停层内的虚拟列表(overflowPopover) */
9
- export declare function MonthGridOverflowVirtualList({ items, listWidth, onPickItem, }: MonthGridOverflowVirtualListProps): React.JSX.Element | null;
@@ -1,3 +0,0 @@
1
- export { PisellTimeRangeDisplay, default } from './PisellTimeRangeDisplay';
2
- export type { PisellTimeRangeDisplayProps, TimeRangeFieldType, TimeRangeFieldConfig, DurationFormatConfig, DayjsLike, } from './types';
3
- export type { TimeFormatConfig, DateFormatConfig, WeekdayFormatConfig, ContainerStyleConfig, TextStyleConfig, TextAlign, } from './types';
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import type { CSSProperties, ReactNode } from 'react';
3
- import './index.less';
4
- export interface InlineActionItem {
5
- key: string | number;
6
- text: ReactNode;
7
- color?: string;
8
- onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
9
- style?: CSSProperties;
10
- }
11
- interface InlineActionsProps {
12
- actions: InlineActionItem[];
13
- }
14
- declare const InlineActions: ({ actions }: InlineActionsProps) => React.JSX.Element | null;
15
- export default InlineActions;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface RightPanelProps {
4
- value: string;
5
- onChange: (value: string) => void;
6
- slice: number;
7
- theme?: 'light' | 'dark';
8
- }
9
- declare const RightPanel: (props: RightPanelProps) => React.JSX.Element;
10
- export default RightPanel;
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
3
- import { PopoverProps, TimePickerProps } from "antd";
4
- import "./index.less";
5
- export interface SelectTimeProps {
6
- value: any;
7
- onChange: (e: string) => void;
8
- popoverProps?: PopoverProps;
9
- timePickerProps?: TimePickerProps;
10
- timeProps?: VirtualKeyboardTimeProps;
11
- slice?: number;
12
- theme?: 'light' | 'dark';
13
- className?: string;
14
- }
15
- declare const SelectTime: (props: SelectTimeProps) => React.JSX.Element;
16
- export default SelectTime;
@@ -1,21 +0,0 @@
1
- import { FilterType } from "../../filter/types";
2
- import { ColumnSettingType, DataSourceGroupType, GallerySettingType, GridViewType, ModeType, SortType, ExportImportModeType, LocalSettingsType } from "../types";
3
- declare type UseTableSettingProps = {
4
- tableId?: string;
5
- filter: FilterType;
6
- columns: Record<string, any>[];
7
- columnSetting?: ColumnSettingType;
8
- dataSourceGroup?: DataSourceGroupType;
9
- sort?: SortType;
10
- view: GridViewType;
11
- currentViewMode: ModeType;
12
- gallery?: GallerySettingType;
13
- currentSettingHash: string;
14
- exportImport?: ExportImportModeType;
15
- localSettings?: LocalSettingsType;
16
- };
17
- declare const useTableSetting: (params: UseTableSettingProps) => {
18
- setTableSetting: (this: unknown, values: Record<string, any>) => void;
19
- tableSetting: any;
20
- };
21
- export default useTableSetting;
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- import { Item } from "../Keyboard";
3
- import "./index.less";
4
- export interface VirtualKeyboardTimeProps extends React.HTMLAttributes<HTMLDivElement> {
5
- style?: React.CSSProperties;
6
- selectType?: 'light' | 'dark';
7
- onChange?: (value?: any) => void;
8
- value?: any;
9
- items?: Item[];
10
- onEnter?: (value: any) => void;
11
- rightPanel?: React.ReactNode;
12
- }
13
- declare const VirtualKeyboardTime: (props: VirtualKeyboardTimeProps) => React.JSX.Element;
14
- export default VirtualKeyboardTime;
@@ -1,25 +0,0 @@
1
- import React from "react";
2
- import { KeyboardProps } from "./Keyboard";
3
- import { VirtualKeyInputProps } from "./VirtualKeyInput";
4
- import "./index.less";
5
- interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
6
- keyboardProps?: KeyboardProps;
7
- virtualKeyInputProps?: VirtualKeyInputProps;
8
- rightPanel?: React.ReactNode;
9
- style?: React.CSSProperties;
10
- onChange?: (value?: any) => void;
11
- value?: string;
12
- selectType?: 'light' | 'dark';
13
- backgroundColor?: string;
14
- containerBackgroundColor?: string;
15
- buttonBackgroundColor?: string;
16
- textColor?: string;
17
- keyboardBackgroundColor?: string;
18
- keyboardButtonBackgroundColor?: string;
19
- keyboardButtonTextColor?: string;
20
- keyboardButtonHoverColor?: string;
21
- primaryButtonBackgroundColor?: string;
22
- primaryButtonTextColor?: string;
23
- }
24
- declare const VirtualKeyboard: (props: VirtualKeyboardProps) => React.JSX.Element;
25
- export default VirtualKeyboard;
@@ -1,4 +0,0 @@
1
- export declare type TranslationOriginal = (value: any) => string;
2
- export declare const resolveTranslationOriginal: (value: unknown) => TranslationOriginal;
3
- declare const useTranslationOriginal: () => TranslationOriginal;
4
- export default useTranslationOriginal;