@pisell/materials 3.3.71 → 3.3.72
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 +143 -143
- package/build/lowcode/render/default/view.js +24 -24
- package/build/lowcode/view.js +24 -24
- package/es/components/appVersionControl/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +3 -4
- package/es/components/date-picker/index.d.ts +0 -1
- package/es/components/drag-sort-tree/index.d.ts +4 -0
- package/es/components/login-and-register/index.d.ts +82 -0
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/es/components/pisellDatePicker/index.d.ts +0 -1
- package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/es/components/pisellModal/components/index.d.ts +0 -1
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
- package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Time/index.d.ts +0 -1
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/es/components/table/Actions/component/Group/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/es/components/table/Table/SelectField/index.d.ts +0 -1
- package/es/components/table/Table/fields/date/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/image/index.d.ts +0 -1
- package/es/components/table/Table/fields/index.d.ts +0 -1
- package/es/components/table/Table/fields/link/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/number/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/search/index.d.ts +0 -1
- package/es/components/table/Table/fields/select/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/types.d.ts +268 -0
- package/es/components/versionSelect/index.d.ts +0 -1
- package/lib/components/appVersionControl/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +3 -4
- package/lib/components/date-picker/index.d.ts +0 -1
- package/lib/components/drag-sort-tree/index.d.ts +4 -0
- package/lib/components/login-and-register/index.d.ts +82 -0
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
- package/lib/components/pisellDatePicker/index.d.ts +0 -1
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
- package/lib/components/pisellModal/components/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
- package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Time/index.d.ts +0 -1
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
- package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
- package/lib/components/table/Table/SelectField/index.d.ts +0 -1
- package/lib/components/table/Table/fields/date/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/image/index.d.ts +0 -1
- package/lib/components/table/Table/fields/index.d.ts +0 -1
- package/lib/components/table/Table/fields/link/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/number/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/search/index.d.ts +0 -1
- package/lib/components/table/Table/fields/select/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/types.d.ts +268 -0
- package/lib/components/versionSelect/index.d.ts +0 -1
- package/package.json +3 -3
- package/es/components/cardPro/index.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -100
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -17
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
- package/es/components/dataSourceComponents/fields/Switch/WithMode.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Switch/index.d.ts +0 -3
- package/es/components/dataSourceComponents/fields/Upload/index.d.ts +0 -3
- package/es/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
- package/es/components/filter/types.d.ts +0 -46
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/page/index.d.ts +0 -5
- package/es/components/pisell-config-provider/context.d.ts +0 -20
- package/es/components/pisell-config-provider/index.d.ts +0 -12
- package/es/components/pisellAdjustPrice/index.d.ts +0 -9
- package/es/components/pisellCardList/index.d.ts +0 -77
- package/es/components/pisellCheckboxGroup/index.d.ts +0 -37
- package/es/components/pisellGoodPassCard/index.d.ts +0 -49
- package/es/components/pisellQrcode/index.d.ts +0 -10
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellText/components/Editable/index.d.ts +0 -29
- package/es/components/pisellText/index.d.ts +0 -9
- package/es/components/pisellToast/index.d.ts +0 -16
- package/es/components/pisellWalletPassCard/index.d.ts +0 -88
- package/es/components/productCard/components/Action/index.d.ts +0 -3
- package/es/components/productCard/components/Header/index.d.ts +0 -3
- package/es/components/productCard/components/Sales/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/es/components/productCard/index.d.ts +0 -5
- 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/productCard/utils.d.ts +0 -31
- package/es/components/select/index.d.ts +0 -9
- package/es/components/sortableList/index.d.ts +0 -11
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/es/components/table/Actions/index.d.ts +0 -18
- package/es/components/table/Table/AddFieldModal/index.d.ts +0 -3
- package/es/components/table/Table/index.d.ts +0 -4
- package/es/components/table/hooks/useTableSetting.d.ts +0 -21
- package/es/components/table/hooks/useTransColumns.d.ts +0 -14
- package/es/components/table/index.d.ts +0 -4
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -22
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -11
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -19
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -13
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -11
- package/es/components/virtual-keyboard/index.d.ts +0 -14
- package/es/components/walletCard/index.d.ts +0 -71
- package/es/index.d.ts +0 -142
- package/es/locales/en-US.d.ts +0 -291
- package/es/locales/zh-CN.d.ts +0 -286
- package/es/locales/zh-TW.d.ts +0 -286
- package/lib/components/cardPro/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
- package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -100
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -17
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
- package/lib/components/dataSourceComponents/fields/Switch/WithMode.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Switch/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/fields/Upload/index.d.ts +0 -3
- package/lib/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
- package/lib/components/filter/types.d.ts +0 -46
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/page/index.d.ts +0 -5
- package/lib/components/pisell-config-provider/context.d.ts +0 -20
- package/lib/components/pisell-config-provider/index.d.ts +0 -12
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -9
- package/lib/components/pisellCardList/index.d.ts +0 -77
- package/lib/components/pisellCheckboxGroup/index.d.ts +0 -37
- package/lib/components/pisellGoodPassCard/index.d.ts +0 -49
- package/lib/components/pisellQrcode/index.d.ts +0 -10
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellText/components/Editable/index.d.ts +0 -29
- package/lib/components/pisellText/index.d.ts +0 -9
- package/lib/components/pisellToast/index.d.ts +0 -16
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -88
- package/lib/components/productCard/components/Action/index.d.ts +0 -3
- package/lib/components/productCard/components/Header/index.d.ts +0 -3
- package/lib/components/productCard/components/Sales/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/lib/components/productCard/index.d.ts +0 -5
- 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/productCard/utils.d.ts +0 -31
- package/lib/components/select/index.d.ts +0 -9
- package/lib/components/sortableList/index.d.ts +0 -11
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/lib/components/table/Actions/index.d.ts +0 -18
- package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -3
- package/lib/components/table/Table/index.d.ts +0 -4
- package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
- package/lib/components/table/hooks/useTransColumns.d.ts +0 -14
- package/lib/components/table/index.d.ts +0 -4
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -22
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -11
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -19
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -13
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -11
- package/lib/components/virtual-keyboard/index.d.ts +0 -14
- package/lib/components/walletCard/index.d.ts +0 -71
- package/lib/index.d.ts +0 -142
- package/lib/locales/en-US.d.ts +0 -291
- package/lib/locales/zh-CN.d.ts +0 -286
- package/lib/locales/zh-TW.d.ts +0 -286
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DataSourceType } from '../provider/dataSource/DataSourceContext';
|
|
2
|
-
export interface UseActionsParams {
|
|
3
|
-
dataSource?: DataSourceType;
|
|
4
|
-
currentValue?: 'server' | 'local';
|
|
5
|
-
__designMode?: string;
|
|
6
|
-
extraParams?: Record<string, any>;
|
|
7
|
-
}
|
|
8
|
-
declare const useActions: ({ dataSource: propsDataSource, currentValue: propsCurrentValue, __designMode, extraParams: propsExtraParams, }?: UseActionsParams) => {
|
|
9
|
-
create: (values: Record<string, any>) => Promise<any>;
|
|
10
|
-
get: () => Promise<any>;
|
|
11
|
-
update: (values: Record<string, any>) => Promise<any>;
|
|
12
|
-
list: (params: {
|
|
13
|
-
page: number;
|
|
14
|
-
pageSize: number;
|
|
15
|
-
}) => Promise<any>;
|
|
16
|
-
destroy: (id: string) => Promise<any>;
|
|
17
|
-
};
|
|
18
|
-
export default useActions;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
import { ValueProps, SortType } from '../types';
|
|
3
|
-
declare type IdType = string | number;
|
|
4
|
-
declare type TreeItemProps = {
|
|
5
|
-
id: string | number;
|
|
6
|
-
key: string | number;
|
|
7
|
-
item: ValueProps | any;
|
|
8
|
-
depth: number;
|
|
9
|
-
lists: any[];
|
|
10
|
-
childrenProps?: SortType;
|
|
11
|
-
sensors?: any;
|
|
12
|
-
expandedKeys?: IdType[];
|
|
13
|
-
setExpandedKeys?: any;
|
|
14
|
-
onSelectKeys?: (ids: IdType) => void;
|
|
15
|
-
onChange?: (value: any[]) => void;
|
|
16
|
-
};
|
|
17
|
-
declare const TreeItem: (props: TreeItemProps) => JSX.Element;
|
|
18
|
-
export default TreeItem;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ModeType } from "../table/types";
|
|
2
|
-
/**
|
|
3
|
-
* 筛选总配置
|
|
4
|
-
*/
|
|
5
|
-
export declare type FilterType = {
|
|
6
|
-
/** 筛选是否展示 */
|
|
7
|
-
show: boolean;
|
|
8
|
-
/** 筛选项排序按钮是否展示 */
|
|
9
|
-
sortButtonShow: boolean;
|
|
10
|
-
/** 筛选列表 */
|
|
11
|
-
list: FilterItemProps[];
|
|
12
|
-
items?: string[];
|
|
13
|
-
/** 快速筛选最大长度 */
|
|
14
|
-
quickFilterMaxLength: number;
|
|
15
|
-
/** 配置存储模式 */
|
|
16
|
-
storageMode: "" | "localStorage";
|
|
17
|
-
/** 筛选列表项dom */
|
|
18
|
-
dom?: any;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* 筛选列表项配置
|
|
22
|
-
*/
|
|
23
|
-
export declare type FilterItemProps = {
|
|
24
|
-
type: "single" | "input" | "datePicker" | "rangePicker" | "search";
|
|
25
|
-
name?: string | string[];
|
|
26
|
-
key: string;
|
|
27
|
-
props: object;
|
|
28
|
-
label?: string;
|
|
29
|
-
sort?: boolean;
|
|
30
|
-
localFilter?: boolean;
|
|
31
|
-
other: Record<string, any>;
|
|
32
|
-
isCustom?: boolean;
|
|
33
|
-
columnKey?: string;
|
|
34
|
-
isHidden?: boolean;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* 筛选组件属性
|
|
38
|
-
*/
|
|
39
|
-
export interface FilterProps {
|
|
40
|
-
filter: FilterType;
|
|
41
|
-
isRenderFormContent: boolean;
|
|
42
|
-
onValuesChange?: () => void;
|
|
43
|
-
tableId?: string;
|
|
44
|
-
viewMode?: ModeType;
|
|
45
|
-
isMobile?: boolean;
|
|
46
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IconComponentProps } from '@ant-design/icons/es/components/Icon';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IconFontProps extends IconComponentProps {
|
|
4
|
-
type: string;
|
|
5
|
-
onClick?: React.MouseEventHandler<HTMLSpanElement>;
|
|
6
|
-
}
|
|
7
|
-
declare const IconFont: React.FC<IconFontProps>;
|
|
8
|
-
export default IconFont;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface PisellContextType {
|
|
3
|
-
platform: 'h5' | 'pc' | 'ipad';
|
|
4
|
-
/** 货币符号 */
|
|
5
|
-
symbol?: string;
|
|
6
|
-
/** 当前语言环境 */
|
|
7
|
-
locale?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const PisellContext: import("react").Context<PisellContextType>;
|
|
10
|
-
/**
|
|
11
|
-
* provider外获取当前全局配置
|
|
12
|
-
*/
|
|
13
|
-
declare class GlobalConfig {
|
|
14
|
-
private config;
|
|
15
|
-
constructor();
|
|
16
|
-
setConfig(config: PisellContextType): void;
|
|
17
|
-
getConfig(): PisellContextType;
|
|
18
|
-
}
|
|
19
|
-
export declare const globalConfig: GlobalConfig;
|
|
20
|
-
export default PisellContext;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from './context';
|
|
3
|
-
interface PisellConfigProviderType {
|
|
4
|
-
platform?: PisellContextType['platform'];
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
/** 货币符号 */
|
|
7
|
-
symbol?: string;
|
|
8
|
-
/** 当前语言环境 */
|
|
9
|
-
locale?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
|
|
12
|
-
export default PisellConfigProvider;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
export interface PisellAdjustPriceProps {
|
|
3
|
-
value?: number;
|
|
4
|
-
originValue: number;
|
|
5
|
-
defaultValue?: number;
|
|
6
|
-
onChange?: (val: number) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
|
|
9
|
-
export default PisellAdjustPrice;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellCheckboxGroupProps } from '../pisellCheckboxGroup';
|
|
3
|
-
import { PisellContextType } from '../pisell-config-provider/context';
|
|
4
|
-
import { PisellWalletPassCardProps } from '../pisellWalletPassCard';
|
|
5
|
-
import './index.less';
|
|
6
|
-
export interface PisellCardListProps extends Omit<PisellCheckboxGroupProps, 'options'> {
|
|
7
|
-
platform?: PisellContextType['platform'];
|
|
8
|
-
/** 当用户查看完所有记录时,底部会显示此消息 */
|
|
9
|
-
endMessage?: React.ReactNode;
|
|
10
|
-
/** 加载下次数据时的加载站位 */
|
|
11
|
-
loader?: React.ReactNode;
|
|
12
|
-
/** 是否有更多数据 */
|
|
13
|
-
hasMore: boolean;
|
|
14
|
-
/** 加载更多数据回调 */
|
|
15
|
-
loadMoreData?: () => Promise<void>;
|
|
16
|
-
/** 当前list数据 */
|
|
17
|
-
data: PisellWalletPassCardProps[];
|
|
18
|
-
/** list空数据时展示内容 */
|
|
19
|
-
empty?: React.ReactNode;
|
|
20
|
-
/** 是否展示空状态 */
|
|
21
|
-
showEmpty?: boolean;
|
|
22
|
-
/** 是否展示卡片名称 */
|
|
23
|
-
showName?: boolean;
|
|
24
|
-
/** 是否展示店铺名称 */
|
|
25
|
-
showStoreName?: boolean;
|
|
26
|
-
/** 是否展示核销金额 */
|
|
27
|
-
showRedeem?: boolean;
|
|
28
|
-
/** 是否展示余额 */
|
|
29
|
-
showBalance?: boolean;
|
|
30
|
-
/** 是否展示编码 */
|
|
31
|
-
showCode?: boolean;
|
|
32
|
-
/** 是否展示到期时间 */
|
|
33
|
-
showValidDate?: boolean;
|
|
34
|
-
/** 使用日程信息计算有效期 */
|
|
35
|
-
validDateBySchedule?: boolean;
|
|
36
|
-
/** 日程列表 */
|
|
37
|
-
scheduleList?: any[];
|
|
38
|
-
/** 是否展示详情按钮 */
|
|
39
|
-
showDetail?: boolean;
|
|
40
|
-
/** 是否展示二维码 */
|
|
41
|
-
showQrCode?: boolean;
|
|
42
|
-
/** 是否展示封面图 */
|
|
43
|
-
showCover?: boolean;
|
|
44
|
-
/** 是否余额货币单位 */
|
|
45
|
-
showBalanceSymbol?: boolean;
|
|
46
|
-
/** 卡片大小 */
|
|
47
|
-
type?: 'default' | 'mini';
|
|
48
|
-
/** 展示操作按钮 */
|
|
49
|
-
showActions?: boolean;
|
|
50
|
-
/** 操作按钮配置 */
|
|
51
|
-
actions?: {
|
|
52
|
-
/** 按钮展示方式 */
|
|
53
|
-
layout: 'expanded' | 'collapsed';
|
|
54
|
-
/** detail 按钮配置 */
|
|
55
|
-
detail?: {
|
|
56
|
-
visible: boolean;
|
|
57
|
-
iconColor: string;
|
|
58
|
-
};
|
|
59
|
-
/** edit按钮配置 */
|
|
60
|
-
edit?: {
|
|
61
|
-
visible: boolean;
|
|
62
|
-
iconColor: string;
|
|
63
|
-
dialogTitle: string;
|
|
64
|
-
enableDialog: boolean;
|
|
65
|
-
fields: {
|
|
66
|
-
name: string;
|
|
67
|
-
label: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
/** 编辑编辑按钮后,弹窗展示之前 */
|
|
72
|
-
beforeEdit?: (value: any, index: number) => Promise<any> | boolean | void;
|
|
73
|
-
/** 编辑弹窗点击提交 */
|
|
74
|
-
onConfirmEdit?: (value: any, index: number) => void;
|
|
75
|
-
}
|
|
76
|
-
declare const _default: React.NamedExoticComponent<PisellCardListProps>;
|
|
77
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from '../pisell-config-provider/context';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface PisellCheckboxGroupOption {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}
|
|
10
|
-
declare type PisellCheckboxGroupValue = string | string[] | any;
|
|
11
|
-
export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
12
|
-
platform?: PisellContextType['platform'];
|
|
13
|
-
direction?: 'horizontal' | 'vertical';
|
|
14
|
-
fullWidth?: boolean;
|
|
15
|
-
gap?: number;
|
|
16
|
-
padding?: number;
|
|
17
|
-
options: PisellCheckboxGroupOption[];
|
|
18
|
-
onChange?: (value: PisellCheckboxGroupValue, item: PisellCheckboxGroupOption) => void;
|
|
19
|
-
value?: PisellCheckboxGroupValue;
|
|
20
|
-
renderOption?: (option: PisellCheckboxGroupOption, active: boolean, index: number) => React.ReactNode;
|
|
21
|
-
rowKey?: string;
|
|
22
|
-
mode?: 'multiple' | 'single';
|
|
23
|
-
iconPosition?: 'left' | 'right' | 'hide';
|
|
24
|
-
optionClassName?: string;
|
|
25
|
-
optionActiveClassName?: string;
|
|
26
|
-
onChangeDebounce?: boolean;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @title: PisellCheckboxGroup
|
|
30
|
-
* @description: 选中组件
|
|
31
|
-
* @param {PisellCheckboxGroupProps} props
|
|
32
|
-
* @return {*}
|
|
33
|
-
* @Author: zhiwei.Wang
|
|
34
|
-
* @Date: 2024-08-16 10:34
|
|
35
|
-
*/
|
|
36
|
-
declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
|
|
37
|
-
export default PisellCheckboxGroup;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ApplicableProductDetails {
|
|
4
|
-
amount: string;
|
|
5
|
-
type: string;
|
|
6
|
-
resource_id: number;
|
|
7
|
-
title: string;
|
|
8
|
-
original_amount: string;
|
|
9
|
-
}
|
|
10
|
-
interface Discount {
|
|
11
|
-
id: number;
|
|
12
|
-
product_name: string;
|
|
13
|
-
encoded: string;
|
|
14
|
-
code: string;
|
|
15
|
-
tag: string;
|
|
16
|
-
expire_time?: string;
|
|
17
|
-
product_id: number;
|
|
18
|
-
relation_type: string;
|
|
19
|
-
par_value: string;
|
|
20
|
-
used_par_value: string;
|
|
21
|
-
limit_status: string;
|
|
22
|
-
limited_relation_product_data: any;
|
|
23
|
-
balance: string;
|
|
24
|
-
format_title: any;
|
|
25
|
-
product: any;
|
|
26
|
-
savedAmount: number;
|
|
27
|
-
isDisabled: boolean;
|
|
28
|
-
isSelected?: boolean;
|
|
29
|
-
isAvailable?: boolean;
|
|
30
|
-
isUsed?: boolean;
|
|
31
|
-
applicableProductIds?: number[];
|
|
32
|
-
applicableProductDetails: ApplicableProductDetails[];
|
|
33
|
-
appliedProductDetails: any[];
|
|
34
|
-
}
|
|
35
|
-
export interface PisellGoodPassCardProps {
|
|
36
|
-
/**数据源 */
|
|
37
|
-
dataSource: Array<Discount>;
|
|
38
|
-
/**事件 */
|
|
39
|
-
onChange?: (current: {
|
|
40
|
-
id: string | number;
|
|
41
|
-
isSelected: boolean;
|
|
42
|
-
}) => void;
|
|
43
|
-
/**样式 */
|
|
44
|
-
style: React.CSSProperties;
|
|
45
|
-
/**快捷展示排序 */
|
|
46
|
-
mixedSort?: (val: Discount[]) => Discount[];
|
|
47
|
-
}
|
|
48
|
-
declare const index: (props: PisellGoodPassCardProps) => JSX.Element;
|
|
49
|
-
export default index;
|
|
@@ -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,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PisellContextType } from '../../../pisell-config-provider/context';
|
|
3
|
-
export interface AmountProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
4
|
-
/** 平台 */
|
|
5
|
-
platform?: PisellContextType['platform'];
|
|
6
|
-
/** 当前数值 */
|
|
7
|
-
value?: number | string;
|
|
8
|
-
/** 小数点后位数 默认是小数点后2位 */
|
|
9
|
-
precision?: number;
|
|
10
|
-
/** 显示货币符号 指的是 ¥$ 等货币符号等显隐,默认是展示 */
|
|
11
|
-
showCurrencySymbol?: boolean;
|
|
12
|
-
/** 千分位 指的是长金额的千分位逗号隔开,比如“123, 245, 315” 这种展现形式,默认是关闭 */
|
|
13
|
-
useThousandsSeparator?: boolean;
|
|
14
|
-
/** 整数位隐藏小数 指的是如果价格为整数,后面的".00" 将被省略以节省页面空间 */
|
|
15
|
-
hideDecimalForWholeNumbers?: boolean;
|
|
16
|
-
/** 货币符号 */
|
|
17
|
-
symbol?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const Amount: (props: AmountProps) => JSX.Element;
|
|
20
|
-
export default Amount;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export declare type MultiLanguageValue = {
|
|
4
|
-
en: string;
|
|
5
|
-
'zh-CN': string;
|
|
6
|
-
'zh-HK': string;
|
|
7
|
-
};
|
|
8
|
-
export interface EditableConfig {
|
|
9
|
-
/** 是否禁用编辑 */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** 最大长度 */
|
|
12
|
-
maxLength?: number;
|
|
13
|
-
/** 编辑图标 */
|
|
14
|
-
icon?: React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export interface EditableProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
17
|
-
/** 文本内容,支持字符串或多语言对象 */
|
|
18
|
-
value?: string | MultiLanguageValue;
|
|
19
|
-
/** 子节点内容,优先级高于 value */
|
|
20
|
-
children?: string;
|
|
21
|
-
/** 可编辑配置,boolean 时使用默认配置 */
|
|
22
|
-
editable?: boolean | EditableConfig;
|
|
23
|
-
/** 编辑变更回调 */
|
|
24
|
-
onChange?: (value: string | MultiLanguageValue) => void;
|
|
25
|
-
/** 输入框尺寸 */
|
|
26
|
-
size?: 'large' | 'middle' | 'small';
|
|
27
|
-
}
|
|
28
|
-
declare const Editable: React.FC<EditableProps>;
|
|
29
|
-
export default Editable;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface PisellTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3
|
-
}
|
|
4
|
-
declare const PisellText: {
|
|
5
|
-
(props: PisellTextProps): JSX.Element;
|
|
6
|
-
Amount: (props: import("./components/Amount").AmountProps) => JSX.Element;
|
|
7
|
-
Editable: React.FC<import("./components/Editable").EditableProps>;
|
|
8
|
-
};
|
|
9
|
-
export default PisellText;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface PisellToastProps {
|
|
4
|
-
/** 提示内容 */
|
|
5
|
-
content: React.ReactNode;
|
|
6
|
-
/** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
|
|
7
|
-
duration?: number;
|
|
8
|
-
/** 是否展示action */
|
|
9
|
-
showAction?: boolean;
|
|
10
|
-
/** action文案 */
|
|
11
|
-
actionText?: string;
|
|
12
|
-
/** 关闭时触发的回调函数 */
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
}
|
|
15
|
-
declare const PisellToast: (props: PisellToastProps) => void;
|
|
16
|
-
export default PisellToast;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
export interface PisellWalletPassCardProps {
|
|
3
|
-
id: number;
|
|
4
|
-
/** 卡片样式 */
|
|
5
|
-
type: 'default' | 'mini';
|
|
6
|
-
/** 商品名称 */
|
|
7
|
-
name: string;
|
|
8
|
-
/** 二维码 */
|
|
9
|
-
qrCode: string;
|
|
10
|
-
/** 共享店铺名称 */
|
|
11
|
-
storeName: string;
|
|
12
|
-
/** 余额 */
|
|
13
|
-
balance?: number;
|
|
14
|
-
/** 识别码编号 */
|
|
15
|
-
code: string;
|
|
16
|
-
/** 有效期 */
|
|
17
|
-
validDate: string;
|
|
18
|
-
/** 使用金额 */
|
|
19
|
-
redeem?: number;
|
|
20
|
-
/** 是否禁用 */
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
/** 禁用原因 */
|
|
23
|
-
disabledReason?: string;
|
|
24
|
-
/** 是否展示禁用原因 */
|
|
25
|
-
showDisabledReason?: boolean;
|
|
26
|
-
/** 封面图 */
|
|
27
|
-
cover?: string;
|
|
28
|
-
/** 余额标题文案 */
|
|
29
|
-
balanceTitle?: string;
|
|
30
|
-
/** 使用金额标题文案 */
|
|
31
|
-
redeemTitle?: string;
|
|
32
|
-
/** 是否选中 */
|
|
33
|
-
active?: boolean;
|
|
34
|
-
/** 是否展示商品名称 */
|
|
35
|
-
showName?: boolean;
|
|
36
|
-
/** 是否展示共享店铺名称 */
|
|
37
|
-
showStoreName?: boolean;
|
|
38
|
-
/** 是否展示使用金额 */
|
|
39
|
-
showRedeem?: boolean;
|
|
40
|
-
/** 是否展示余额 */
|
|
41
|
-
showBalance?: boolean;
|
|
42
|
-
/** 是否展示识别码编号 */
|
|
43
|
-
showCode?: boolean;
|
|
44
|
-
/** 是否展示有效期 */
|
|
45
|
-
showValidDate?: boolean;
|
|
46
|
-
/** 使用日程信息计算有效期 */
|
|
47
|
-
validDateBySchedule?: boolean;
|
|
48
|
-
/** 日程列表 */
|
|
49
|
-
scheduleList?: any[];
|
|
50
|
-
/** 是否展示右上角详情按钮 */
|
|
51
|
-
showDetail?: boolean;
|
|
52
|
-
/** 是否展示qrCode */
|
|
53
|
-
showQrCode?: boolean;
|
|
54
|
-
/** 是否展示封面 */
|
|
55
|
-
showCover?: boolean;
|
|
56
|
-
/** 是否展示余额货币符号 */
|
|
57
|
-
showBalanceSymbol?: boolean;
|
|
58
|
-
/** 展示操作按钮 */
|
|
59
|
-
showActions?: boolean;
|
|
60
|
-
/** 操作按钮配置 */
|
|
61
|
-
actions?: {
|
|
62
|
-
/** 按钮展示方式 */
|
|
63
|
-
layout: 'expanded' | 'collapsed';
|
|
64
|
-
/** detail 按钮配置 */
|
|
65
|
-
detail?: {
|
|
66
|
-
visible: boolean;
|
|
67
|
-
iconColor: string;
|
|
68
|
-
};
|
|
69
|
-
/** edit按钮配置 */
|
|
70
|
-
edit?: {
|
|
71
|
-
visible: boolean;
|
|
72
|
-
iconColor: string;
|
|
73
|
-
dialogTitle: string;
|
|
74
|
-
enableDialog: boolean;
|
|
75
|
-
fields: {
|
|
76
|
-
name: string;
|
|
77
|
-
label: string;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
/** 编辑编辑按钮后,弹窗展示之前 */
|
|
82
|
-
beforeEdit?: (value: any) => Promise<any> | boolean | void;
|
|
83
|
-
/** 编辑弹窗点击提交 */
|
|
84
|
-
onConfirmEdit?: (value: any) => void;
|
|
85
|
-
[key: string]: any;
|
|
86
|
-
}
|
|
87
|
-
declare const PisellWalletPassCard: (props: PisellWalletPassCardProps) => JSX.Element;
|
|
88
|
-
export default PisellWalletPassCard;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
interface SelectHolderModalProps {
|
|
3
|
-
visible: boolean;
|
|
4
|
-
onClose: () => void;
|
|
5
|
-
onConfirm: (value: any) => void;
|
|
6
|
-
lists: any[];
|
|
7
|
-
value: any[];
|
|
8
|
-
holderMaxCount: number;
|
|
9
|
-
addHolderButtonText: string;
|
|
10
|
-
onAdd: () => void;
|
|
11
|
-
}
|
|
12
|
-
declare const SelectHolderModal: (props: SelectHolderModalProps) => JSX.Element;
|
|
13
|
-
export default SelectHolderModal;
|
|
@@ -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;
|