@pisell/materials 3.3.51 → 3.3.52
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/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +6 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +2 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +7 -6
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/es/components/pisellWalletPassCard/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/es/components/table/Table/fields/index.d.ts +2 -2
- package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/View/index.d.ts +1 -0
- package/es/utils/index.d.ts +1 -1
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +5 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +2 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +7 -6
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/lib/components/table/Table/fields/index.d.ts +2 -2
- package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/View/index.d.ts +1 -0
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/platform.d.ts +1 -1
- package/lowcode/data-source-table/meta.ts +14 -0
- package/lowcode/form-item-input.password/meta.ts +5 -0
- package/package.json +3 -3
- package/es/components/TimeResourceSelector/index.d.ts +0 -21
- package/es/components/appVersionControl/index.d.ts +0 -5
- package/es/components/badge/index.d.ts +0 -8
- package/es/components/buttonGroupPreview/index.d.ts +0 -19
- package/es/components/cardPro/index.d.ts +0 -4
- package/es/components/collapse/index.d.ts +0 -15
- package/es/components/cropPhoto/index.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +0 -8
- package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +0 -8
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
- package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
- package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +0 -20
- package/es/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
- package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
- package/es/components/div/index.d.ts +0 -19
- package/es/components/drag-sort-tree/index.d.ts +0 -5
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/login-and-register/index.d.ts +0 -82
- package/es/components/page/index.d.ts +0 -6
- package/es/components/pisell-config-provider/index.d.ts +0 -12
- package/es/components/pisellAnchor/index.d.ts +0 -23
- package/es/components/pisellAvatar/index.d.ts +0 -19
- package/es/components/pisellCard/index.d.ts +0 -20
- package/es/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +0 -9
- package/es/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +0 -24
- package/es/components/pisellDraggable/components/TreeItem/index.d.ts +0 -2
- package/es/components/pisellDraggable/index.d.ts +0 -35
- package/es/components/pisellDropSort/PisellDropSort.d.ts +0 -5
- package/es/components/pisellDropSort/components/SortableItem/index.d.ts +0 -26
- package/es/components/pisellDropSort/types.d.ts +0 -58
- package/es/components/pisellDropdown/index.d.ts +0 -20
- package/es/components/pisellEmpty/index.d.ts +0 -19
- package/es/components/pisellHeaderProgressBar/index.d.ts +0 -29
- package/es/components/pisellImageCarousels/index.d.ts +0 -18
- package/es/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +0 -4
- package/es/components/pisellInformationEntry/index.d.ts +0 -33
- package/es/components/pisellList01/index.d.ts +0 -17
- package/es/components/pisellMenu/PisellMenu.d.ts +0 -11
- package/es/components/pisellMenu/types.d.ts +0 -27
- package/es/components/pisellNavigationMenu/types.d.ts +0 -85
- package/es/components/pisellQrcode/index.d.ts +0 -10
- package/es/components/pisellSectionHeaders/index.d.ts +0 -21
- package/es/components/pisellStatisticList/index.d.ts +0 -21
- package/es/components/productCard/components/Action/index.d.ts +0 -3
- package/es/components/productCard/components/Divider/index.d.ts +0 -4
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
- package/es/components/productCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -10
- package/es/components/productCard/components/Time/index.d.ts +0 -4
- package/es/components/productCard/locales.d.ts +0 -84
- package/es/components/productCard/status.d.ts +0 -32
- package/es/components/productCard/types.d.ts +0 -84
- package/es/components/section-footers/index.d.ts +0 -9
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/es/components/table/Actions/component/ExportImport/utils/index.d.ts +0 -9
- package/es/components/table/types.d.ts +0 -251
- package/es/components/tabs/index.d.ts +0 -16
- package/es/components/versionModal/index.d.ts +0 -23
- package/es/components/walletCard/Guest/index.d.ts +0 -4
- package/es/components/walletCard/Guide/index.d.ts +0 -4
- package/es/components/walletCard/index.d.ts +0 -67
- package/es/locales/en-US.d.ts +0 -278
- package/es/locales/index.d.ts +0 -1
- package/es/locales/zh-CN.d.ts +0 -273
- package/es/locales/zh-TW.d.ts +0 -273
- package/lib/components/TimeResourceSelector/index.d.ts +0 -21
- package/lib/components/appVersionControl/index.d.ts +0 -5
- package/lib/components/badge/index.d.ts +0 -8
- package/lib/components/buttonGroupPreview/index.d.ts +0 -19
- package/lib/components/cardPro/index.d.ts +0 -4
- package/lib/components/collapse/index.d.ts +0 -15
- package/lib/components/cropPhoto/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +0 -8
- package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +0 -8
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
- package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
- package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +0 -20
- package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
- package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
- package/lib/components/div/index.d.ts +0 -19
- package/lib/components/drag-sort-tree/index.d.ts +0 -5
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/login-and-register/index.d.ts +0 -82
- package/lib/components/page/index.d.ts +0 -6
- package/lib/components/pisell-config-provider/index.d.ts +0 -12
- package/lib/components/pisellAnchor/index.d.ts +0 -23
- package/lib/components/pisellAvatar/index.d.ts +0 -19
- package/lib/components/pisellCard/index.d.ts +0 -20
- package/lib/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
- package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +0 -9
- package/lib/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +0 -24
- package/lib/components/pisellDraggable/components/TreeItem/index.d.ts +0 -2
- package/lib/components/pisellDraggable/index.d.ts +0 -35
- package/lib/components/pisellDropSort/PisellDropSort.d.ts +0 -5
- package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +0 -26
- package/lib/components/pisellDropSort/types.d.ts +0 -58
- package/lib/components/pisellDropdown/index.d.ts +0 -20
- package/lib/components/pisellEmpty/index.d.ts +0 -19
- package/lib/components/pisellHeaderProgressBar/index.d.ts +0 -29
- package/lib/components/pisellImageCarousels/index.d.ts +0 -18
- package/lib/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +0 -4
- package/lib/components/pisellInformationEntry/index.d.ts +0 -33
- package/lib/components/pisellList01/index.d.ts +0 -17
- package/lib/components/pisellMenu/PisellMenu.d.ts +0 -11
- package/lib/components/pisellMenu/types.d.ts +0 -27
- package/lib/components/pisellNavigationMenu/types.d.ts +0 -85
- package/lib/components/pisellQrcode/index.d.ts +0 -10
- package/lib/components/pisellSectionHeaders/index.d.ts +0 -21
- package/lib/components/pisellStatisticList/index.d.ts +0 -21
- package/lib/components/productCard/components/Action/index.d.ts +0 -3
- package/lib/components/productCard/components/Divider/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
- package/lib/components/productCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -10
- package/lib/components/productCard/components/Time/index.d.ts +0 -4
- package/lib/components/productCard/locales.d.ts +0 -84
- package/lib/components/productCard/status.d.ts +0 -32
- package/lib/components/productCard/types.d.ts +0 -84
- package/lib/components/section-footers/index.d.ts +0 -9
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/lib/components/table/Actions/component/ExportImport/utils/index.d.ts +0 -9
- package/lib/components/table/types.d.ts +0 -251
- package/lib/components/tabs/index.d.ts +0 -16
- package/lib/components/versionModal/index.d.ts +0 -23
- package/lib/components/walletCard/Guest/index.d.ts +0 -4
- package/lib/components/walletCard/Guide/index.d.ts +0 -4
- package/lib/components/walletCard/index.d.ts +0 -67
- package/lib/locales/en-US.d.ts +0 -278
- package/lib/locales/index.d.ts +0 -1
- package/lib/locales/zh-CN.d.ts +0 -273
- package/lib/locales/zh-TW.d.ts +0 -273
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EmptyProps } from 'antd';
|
|
3
|
-
import { PisellContextType } from '../pisell-config-provider/context';
|
|
4
|
-
import './index.less';
|
|
5
|
-
export interface PisellEmptyProps extends EmptyProps {
|
|
6
|
-
/** 平台 */
|
|
7
|
-
platform?: PisellContextType['platform'];
|
|
8
|
-
/** 额外内容描述 */
|
|
9
|
-
extraDescription?: React.ReactNode;
|
|
10
|
-
/** 额外内容描述 */
|
|
11
|
-
icon?: React.ReactNode;
|
|
12
|
-
/** 自定义底部额外操作区域 */
|
|
13
|
-
footer?: React.ReactNode;
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
/** 最大宽度 */
|
|
16
|
-
maxWidth?: number;
|
|
17
|
-
}
|
|
18
|
-
declare const PisellEmpty: (props: PisellEmptyProps) => JSX.Element;
|
|
19
|
-
export default PisellEmpty;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellHeaderProgressBarProps {
|
|
4
|
-
title?: React.ReactNode;
|
|
5
|
-
stepText?: React.ReactNode;
|
|
6
|
-
showClose?: boolean;
|
|
7
|
-
/** 是否启用投影 */
|
|
8
|
-
enableShadow?: boolean;
|
|
9
|
-
/** 是否启用描边 */
|
|
10
|
-
enableBorder?: boolean;
|
|
11
|
-
/** 描边粗细 */
|
|
12
|
-
borderWidth?: number;
|
|
13
|
-
/** 描边颜色 */
|
|
14
|
-
borderColor?: string;
|
|
15
|
-
/** 头部背景颜色 */
|
|
16
|
-
backgroundColor?: string;
|
|
17
|
-
/** 自定义类名 */
|
|
18
|
-
className?: string;
|
|
19
|
-
/** 自定义样式 */
|
|
20
|
-
style?: React.CSSProperties;
|
|
21
|
-
/** 是否显示返回键 */
|
|
22
|
-
showBack?: boolean;
|
|
23
|
-
/** 返回按钮点击事件 */
|
|
24
|
-
onBack?: () => void;
|
|
25
|
-
/** 关闭按钮点击事件 */
|
|
26
|
-
onClose?: () => void;
|
|
27
|
-
}
|
|
28
|
-
declare const PisellHeaderProgressBar: React.FC<PisellHeaderProgressBarProps>;
|
|
29
|
-
export default PisellHeaderProgressBar;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import 'swiper/swiper-bundle.css';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface PisellImageCarouselsProps {
|
|
5
|
-
dataSource?: string[];
|
|
6
|
-
width?: number | string;
|
|
7
|
-
height?: number;
|
|
8
|
-
showArrows?: boolean;
|
|
9
|
-
showDots?: boolean;
|
|
10
|
-
autoplay?: boolean;
|
|
11
|
-
interval?: number;
|
|
12
|
-
borderRadius?: number;
|
|
13
|
-
loop?: boolean;
|
|
14
|
-
className?: string;
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
|
-
}
|
|
17
|
-
declare const PisellImageCarousels: React.FC<PisellImageCarouselsProps>;
|
|
18
|
-
export default PisellImageCarousels;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from '../pisell-config-provider/context';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export declare type EntryModeType = {
|
|
5
|
-
/**
|
|
6
|
-
* 录入模式名称
|
|
7
|
-
* scanCode: 扫码录入
|
|
8
|
-
* input: 手动录入
|
|
9
|
-
* scanner: 扫码枪录入
|
|
10
|
-
* nfc: NFC录入
|
|
11
|
-
*/
|
|
12
|
-
type: 'scanCode' | 'input' | 'scanner' | 'nfc';
|
|
13
|
-
/**
|
|
14
|
-
* 录入模式文案 没有使用默认文案
|
|
15
|
-
*/
|
|
16
|
-
name?: string;
|
|
17
|
-
};
|
|
18
|
-
export interface PisellInformationEntryProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title' | 'onChange'> {
|
|
19
|
-
/** 平台 */
|
|
20
|
-
platform?: PisellContextType['platform'];
|
|
21
|
-
/** 录入模式 */
|
|
22
|
-
entryModes: EntryModeType[];
|
|
23
|
-
/** 标题文案 */
|
|
24
|
-
title?: React.ReactNode;
|
|
25
|
-
/** 搜索框描述文案 */
|
|
26
|
-
searchDescribe?: React.ReactNode;
|
|
27
|
-
/** 录入信息值改变 */
|
|
28
|
-
onChange?: (val: string) => void;
|
|
29
|
-
/** 录入类型切换时候触发的 */
|
|
30
|
-
onChangeType?: (val: null | EntryModeType['type']) => void;
|
|
31
|
-
}
|
|
32
|
-
declare const PisellInformationEntry: (props: PisellInformationEntryProps) => JSX.Element;
|
|
33
|
-
export default PisellInformationEntry;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellList01Props {
|
|
4
|
-
dataSource?: any[];
|
|
5
|
-
showSearch: boolean;
|
|
6
|
-
showCategory: boolean;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
renderItem?: (item: any, index: number) => React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
onChange?: (anchor: string) => void;
|
|
12
|
-
onSearch?: (value: any) => void;
|
|
13
|
-
isShowEmpty?: boolean;
|
|
14
|
-
description?: any;
|
|
15
|
-
}
|
|
16
|
-
declare const PisellList01: React.FC<PisellList01Props>;
|
|
17
|
-
export default PisellList01;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Menu as AntdMenu } from 'antd';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import './PisellMenu.less';
|
|
4
|
-
import type { PisellMenuProps } from './types';
|
|
5
|
-
declare type PisellMenuComponent = React.FC<PisellMenuProps> & {
|
|
6
|
-
Item: typeof AntdMenu.Item;
|
|
7
|
-
SubMenu: typeof AntdMenu.SubMenu;
|
|
8
|
-
ItemGroup: typeof AntdMenu.ItemGroup;
|
|
9
|
-
};
|
|
10
|
-
declare const PisellMenu: PisellMenuComponent;
|
|
11
|
-
export default PisellMenu;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { MenuProps } from 'antd';
|
|
3
|
-
export interface PisellMenuProps extends Omit<MenuProps, 'items'> {
|
|
4
|
-
className?: string;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
mode?: 'vertical' | 'horizontal' | 'inline';
|
|
7
|
-
theme?: 'light' | 'dark';
|
|
8
|
-
defaultOpenKeys?: string[];
|
|
9
|
-
defaultSelectedKeys?: string[];
|
|
10
|
-
inlineCollapsed?: boolean;
|
|
11
|
-
openKeys?: string[];
|
|
12
|
-
selectedKeys?: string[];
|
|
13
|
-
onOpenChange?: (openKeys: string[]) => void;
|
|
14
|
-
dataSource?: any;
|
|
15
|
-
__designMode?: string;
|
|
16
|
-
other?: PisellMenuProps;
|
|
17
|
-
}
|
|
18
|
-
export interface MenuItemType {
|
|
19
|
-
key: string;
|
|
20
|
-
label: string;
|
|
21
|
-
path: string;
|
|
22
|
-
children?: MenuItemType[];
|
|
23
|
-
icon?: string | React.ReactNode;
|
|
24
|
-
hide?: boolean;
|
|
25
|
-
type?: 'group' | 'divider';
|
|
26
|
-
isGroup?: boolean;
|
|
27
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { Props as TreeItem } from "../pisellDraggable/components/TreeItem/TreeItem";
|
|
3
|
-
export interface NavigationMenuItem {
|
|
4
|
-
id: string;
|
|
5
|
-
/** 标题 */
|
|
6
|
-
title: string;
|
|
7
|
-
/** 图标 */
|
|
8
|
-
icon?: string;
|
|
9
|
-
/** 描述 */
|
|
10
|
-
description?: string;
|
|
11
|
-
/** 子菜单 */
|
|
12
|
-
children?: NavigationMenuItem[];
|
|
13
|
-
/** 版本 */
|
|
14
|
-
version?: string;
|
|
15
|
-
/** 是否是分组 */
|
|
16
|
-
isGroup?: boolean;
|
|
17
|
-
/** 是否允许添加子菜单 */
|
|
18
|
-
allowAddChild?: boolean;
|
|
19
|
-
/** 是否允许删除 */
|
|
20
|
-
allowDelete?: boolean;
|
|
21
|
-
/** 是否允许编辑 */
|
|
22
|
-
allowEdit?: boolean;
|
|
23
|
-
/** 是否允许添加子菜单 */
|
|
24
|
-
allowAddSubmenu?: boolean;
|
|
25
|
-
/** 是否允许添加页面 */
|
|
26
|
-
allowAddPage?: boolean;
|
|
27
|
-
/** 其他属性 */
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
}
|
|
30
|
-
export interface PisellNavigationMenuProps {
|
|
31
|
-
/** 导航菜单数据 */
|
|
32
|
-
value: NavigationMenuItem[];
|
|
33
|
-
/** 是否允许拖拽排序 */
|
|
34
|
-
allowDrag?: boolean;
|
|
35
|
-
/** 是否允许删除菜单项 */
|
|
36
|
-
allowDelete?: boolean;
|
|
37
|
-
/** 是否允许添加子菜单 */
|
|
38
|
-
allowAddChild?: boolean;
|
|
39
|
-
/** 是否允许添加根菜单 */
|
|
40
|
-
allowAddRoot?: boolean;
|
|
41
|
-
/** 是否允许显示隐藏 */
|
|
42
|
-
allowIsShow?: boolean;
|
|
43
|
-
/** 是否禁用 */
|
|
44
|
-
disabled?: boolean;
|
|
45
|
-
/** 菜单项间距 */
|
|
46
|
-
spacing?: number;
|
|
47
|
-
/** 最大层级数 */
|
|
48
|
-
maxLevel?: number;
|
|
49
|
-
/** 样式 */
|
|
50
|
-
style?: CSSProperties;
|
|
51
|
-
/** 类名 */
|
|
52
|
-
className?: string;
|
|
53
|
-
/** 数据变化回调 */
|
|
54
|
-
onChange?: (items: NavigationMenuItem[]) => void;
|
|
55
|
-
/** 设计模式 */
|
|
56
|
-
__designMode?: string;
|
|
57
|
-
/** 标题 */
|
|
58
|
-
title?: string;
|
|
59
|
-
/** 添加子菜单回调 */
|
|
60
|
-
onAddSubMenu?: (item?: NavigationMenuItem) => void;
|
|
61
|
-
/** 添加页面回调 */
|
|
62
|
-
onAddPage?: (item?: NavigationMenuItem) => void;
|
|
63
|
-
/** 编辑回调 */
|
|
64
|
-
onEdit?: (item: NavigationMenuItem) => void;
|
|
65
|
-
/** 删除回调 */
|
|
66
|
-
onDelete?: (item: NavigationMenuItem) => void;
|
|
67
|
-
/** 左侧自定义内容 */
|
|
68
|
-
leftContent?: React.ReactNode;
|
|
69
|
-
/** 右侧自定义内容 */
|
|
70
|
-
rightContent?: React.ReactNode;
|
|
71
|
-
/** 获取item样式 */
|
|
72
|
-
getItemStyle?: (itemProps: TreeItem) => React.CSSProperties;
|
|
73
|
-
/** 自定义拖拽判断函数,返回false时阻止拖拽 */
|
|
74
|
-
canDrop?: (dragItem: NavigationMenuItem, dropTarget: NavigationMenuItem, parentId: string | number | null) => boolean;
|
|
75
|
-
/** 显示隐藏回调 */
|
|
76
|
-
onIsShow?: (item: NavigationMenuItem) => void;
|
|
77
|
-
/** 节点缩进宽度 */
|
|
78
|
-
indentationWidth?: number;
|
|
79
|
-
/** 隐藏描述 */
|
|
80
|
-
hideDescription?: boolean;
|
|
81
|
-
/** 悬浮时展示action */
|
|
82
|
-
showActionOnHover?: boolean;
|
|
83
|
-
/** 是否展示标题标签 */
|
|
84
|
-
showTitleTags?: boolean;
|
|
85
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PisellQrcodeProps {
|
|
4
|
-
size?: number;
|
|
5
|
-
platform: 'pc' | 'h5' | 'ipad';
|
|
6
|
-
value: string;
|
|
7
|
-
className: string;
|
|
8
|
-
}
|
|
9
|
-
declare const PisellQrcode: React.FC<PisellQrcodeProps>;
|
|
10
|
-
export default PisellQrcode;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellSectionHeadersProps {
|
|
4
|
-
/** 是否占据空间(true: 占据空间, false: 不占据空间) */
|
|
5
|
-
/** 左侧返回区域 */
|
|
6
|
-
backNode?: React.ReactNode;
|
|
7
|
-
/** 中间内容区域 */
|
|
8
|
-
centerNode?: React.ReactNode;
|
|
9
|
-
/** 右侧操作区域 */
|
|
10
|
-
actionNode?: React.ReactNode;
|
|
11
|
-
/** 自定义类名 */
|
|
12
|
-
className?: string;
|
|
13
|
-
/** 自定义样式 */
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
/** 返回按钮点击事件 */
|
|
16
|
-
onBack?: () => void;
|
|
17
|
-
/** 操作区域点击事件 */
|
|
18
|
-
onAction?: () => void;
|
|
19
|
-
}
|
|
20
|
-
declare const PisellSectionHeaders: React.FC<PisellSectionHeadersProps>;
|
|
21
|
-
export default PisellSectionHeaders;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellStatisticListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
isHasBorder?: boolean;
|
|
5
|
-
backgroundColors?: string[];
|
|
6
|
-
labelColor?: string;
|
|
7
|
-
valueColor?: string;
|
|
8
|
-
data: {
|
|
9
|
-
label: string;
|
|
10
|
-
value: string;
|
|
11
|
-
isLink?: boolean;
|
|
12
|
-
link?: string;
|
|
13
|
-
tip?: string;
|
|
14
|
-
children?: {
|
|
15
|
-
label: string;
|
|
16
|
-
value: string;
|
|
17
|
-
}[];
|
|
18
|
-
}[];
|
|
19
|
-
}
|
|
20
|
-
declare const PisellStatisticList: (props: PisellStatisticListProps) => JSX.Element;
|
|
21
|
-
export default PisellStatisticList;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface InputItem {
|
|
2
|
-
start_date: string;
|
|
3
|
-
end_date: string;
|
|
4
|
-
total: number;
|
|
5
|
-
num: number;
|
|
6
|
-
}
|
|
7
|
-
interface OutputItem {
|
|
8
|
-
start_date: string;
|
|
9
|
-
end_date: string;
|
|
10
|
-
total: number;
|
|
11
|
-
num: number;
|
|
12
|
-
}
|
|
13
|
-
export declare function formatDateRanges(list: InputItem[]): OutputItem[];
|
|
14
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
|
|
4
|
-
style?: any;
|
|
5
|
-
status: string;
|
|
6
|
-
onLike?: any;
|
|
7
|
-
className?: string | undefined;
|
|
8
|
-
isShowChangeResource?: boolean | undefined;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
-
export default Like;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
|
|
4
|
-
export default Time;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
4
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
5
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
6
|
-
'pisell2.product.card.discount.reason': string;
|
|
7
|
-
'pisell2.product.card.discount.note': string;
|
|
8
|
-
'pisell2.product.card.edit': string;
|
|
9
|
-
'pisell2.product.card.discount.add.note': string;
|
|
10
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
11
|
-
'pisell2.product.card.confirm': string;
|
|
12
|
-
'pisell2.product.card.cancel': string;
|
|
13
|
-
'pisell2.product.card.note.pla': string;
|
|
14
|
-
'pisell2.product.card.items.package': string;
|
|
15
|
-
'pisell2.product.card.view-all': string;
|
|
16
|
-
'pisell2.product.card.view-less': string;
|
|
17
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
18
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
19
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
20
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
21
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
22
|
-
'pisell2.product.card.sales': string;
|
|
23
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
24
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
25
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
26
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
27
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
28
|
-
};
|
|
29
|
-
'zh-CN': {
|
|
30
|
-
'pisell2.product.card.edit': string;
|
|
31
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
32
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
33
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
34
|
-
'pisell2.product.card.discount.reason': string;
|
|
35
|
-
'pisell2.product.card.discount.note': string;
|
|
36
|
-
'pisell2.product.card.discount.add.note': string;
|
|
37
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
38
|
-
'pisell2.product.card.confirm': string;
|
|
39
|
-
'pisell2.product.card.cancel': string;
|
|
40
|
-
'pisell2.product.card.note.pla': string;
|
|
41
|
-
'pisell2.product.card.items.package': string;
|
|
42
|
-
'pisell2.product.card.view-all': string;
|
|
43
|
-
'pisell2.product.card.view-less': string;
|
|
44
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
45
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
46
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
47
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
48
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
49
|
-
'pisell2.product.card.sales': string;
|
|
50
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
51
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
52
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
53
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
54
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
55
|
-
};
|
|
56
|
-
'zh-HK': {
|
|
57
|
-
'pisell2.product.card.edit': string;
|
|
58
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
59
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
60
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
61
|
-
'pisell2.product.card.discount.reason': string;
|
|
62
|
-
'pisell2.product.card.discount.note': string;
|
|
63
|
-
'pisell2.product.card.discount.add.note': string;
|
|
64
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
65
|
-
'pisell2.product.card.confirm': string;
|
|
66
|
-
'pisell2.product.card.cancel': string;
|
|
67
|
-
'pisell2.product.card.note.pla': string;
|
|
68
|
-
'pisell2.product.card.items.package': string;
|
|
69
|
-
'pisell2.product.card.view-all': string;
|
|
70
|
-
'pisell2.product.card.view-less': string;
|
|
71
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
72
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
73
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
74
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
75
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
76
|
-
'pisell2.product.card.sales': string;
|
|
77
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
78
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
79
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
80
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
81
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ProductCardTypes, bundleType, optionType, productType } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* @title: 套餐数据
|
|
4
|
-
* @description:
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: WangHan
|
|
7
|
-
* @Date: 2025-01-02 23:21
|
|
8
|
-
*/
|
|
9
|
-
export declare const defaultBundle: bundleType;
|
|
10
|
-
/**
|
|
11
|
-
* @description: 单规格
|
|
12
|
-
* @return {*}
|
|
13
|
-
* @Author: WangHan
|
|
14
|
-
* @Date: 2025-01-02 23:00
|
|
15
|
-
*/
|
|
16
|
-
export declare const defaultOption: optionType;
|
|
17
|
-
/**
|
|
18
|
-
* @title: 商品商品类型
|
|
19
|
-
* @description:
|
|
20
|
-
* @return {*}
|
|
21
|
-
* @Author: WangHan
|
|
22
|
-
* @Date: 2025-01-02 22:48
|
|
23
|
-
*/
|
|
24
|
-
export declare const defaultProduct: productType;
|
|
25
|
-
/**
|
|
26
|
-
* @title: 默认数据
|
|
27
|
-
* @description:
|
|
28
|
-
* @return {*}
|
|
29
|
-
* @Author: WangHan
|
|
30
|
-
* @Date: 2024-12-12 16:49
|
|
31
|
-
*/
|
|
32
|
-
export declare const defaultValue: ProductCardTypes;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export declare type bundleType = {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
num: number;
|
|
5
|
-
price: number;
|
|
6
|
-
total: number;
|
|
7
|
-
origin_total?: number;
|
|
8
|
-
price_type?: string;
|
|
9
|
-
options?: optionType[];
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @description:
|
|
13
|
-
* @return {*}
|
|
14
|
-
* @Author: WangHan
|
|
15
|
-
* @Date: 2025-01-02 23:00
|
|
16
|
-
*/
|
|
17
|
-
export declare type optionType = {
|
|
18
|
-
id: number;
|
|
19
|
-
name: string;
|
|
20
|
-
num: number;
|
|
21
|
-
price: number;
|
|
22
|
-
total: number;
|
|
23
|
-
origin_total?: number;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @title: 商品商品类型
|
|
27
|
-
* @description:
|
|
28
|
-
* @return {*}
|
|
29
|
-
* @Author: WangHan
|
|
30
|
-
* @Date: 2025-01-02 22:48
|
|
31
|
-
*/
|
|
32
|
-
export declare type productType = {
|
|
33
|
-
_id: string | number;
|
|
34
|
-
id: number;
|
|
35
|
-
name: string;
|
|
36
|
-
price: number;
|
|
37
|
-
total: number;
|
|
38
|
-
num: number;
|
|
39
|
-
origin_total?: number;
|
|
40
|
-
image?: string;
|
|
41
|
-
isShowNote?: boolean;
|
|
42
|
-
note?: string;
|
|
43
|
-
like_status?: string;
|
|
44
|
-
bundle?: bundleType[];
|
|
45
|
-
options?: optionType[];
|
|
46
|
-
isShowAction?: boolean;
|
|
47
|
-
actionText?: string;
|
|
48
|
-
errorMessage?: string;
|
|
49
|
-
product_option_string?: string;
|
|
50
|
-
discount_reason?: string;
|
|
51
|
-
relation_products?: any[];
|
|
52
|
-
resource_id?: string | number;
|
|
53
|
-
relation_form_name?: string;
|
|
54
|
-
holder_title?: string;
|
|
55
|
-
start_date?: string;
|
|
56
|
-
end_date?: string;
|
|
57
|
-
is_show_duration?: boolean;
|
|
58
|
-
is_show_week?: boolean;
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* 排序总配置
|
|
62
|
-
*/
|
|
63
|
-
export declare type ProductCardTypes = {
|
|
64
|
-
dataSource: productType;
|
|
65
|
-
isShowImage?: boolean;
|
|
66
|
-
isShowHolder?: boolean;
|
|
67
|
-
isShowNote?: boolean;
|
|
68
|
-
isShowPackageNote?: boolean;
|
|
69
|
-
isShowDelete?: boolean;
|
|
70
|
-
disabledEdit?: boolean;
|
|
71
|
-
locale?: string;
|
|
72
|
-
symbol?: string;
|
|
73
|
-
isShowChangeHolder?: boolean;
|
|
74
|
-
isShowChangeResource?: boolean;
|
|
75
|
-
isShowChangeDate?: boolean;
|
|
76
|
-
onAction?: (val: any) => void;
|
|
77
|
-
onDelete?: (val: any) => void;
|
|
78
|
-
onNote?: (val: any) => void;
|
|
79
|
-
onLike?: (val: any) => void;
|
|
80
|
-
onCard?: (val: any) => void;
|
|
81
|
-
onChangeResource?: (val: any) => void;
|
|
82
|
-
osWarnTips?: Array<string>;
|
|
83
|
-
[key: string]: any;
|
|
84
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface SectionFooterProps {
|
|
3
|
-
left?: React.ReactNode;
|
|
4
|
-
middle?: React.ReactNode;
|
|
5
|
-
right?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const SectionFooters: (props: SectionFooterProps) => JSX.Element;
|
|
9
|
-
export default SectionFooters;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ExportImportType } from '../../../types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
declare type ExportImportProps = {
|
|
5
|
-
exportImport: ExportImportType;
|
|
6
|
-
};
|
|
7
|
-
declare const ExportImport: ({ exportImport }: ExportImportProps) => JSX.Element;
|
|
8
|
-
export default ExportImport;
|