@pisell/materials 6.11.13 → 6.11.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
- package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +8 -0
- package/es/components/PisellSuperTabs/hooks/index.d.ts +1 -0
- package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
- package/es/components/PisellSuperTabs/index.d.ts +3 -0
- package/es/components/PisellSuperTabs/types.d.ts +212 -0
- package/es/components/PisellTabbar/constants.d.ts +47 -0
- package/es/components/PisellTabbar/hooks/index.d.ts +2 -0
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/es/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
- package/es/components/PisellTabbar/types.d.ts +90 -0
- package/es/components/PisellTabbar/utils/index.d.ts +69 -0
- package/es/components/cardPro/index.d.ts +4 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +4 -4
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/es/components/iconfont/index.d.ts +8 -0
- package/es/components/pisell-config-provider/context.d.ts +22 -0
- package/es/components/pisellAdjustPrice/type.d.ts +22 -0
- package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/pisellDatePicker/index.d.ts +1 -0
- package/es/components/pisellEmpty/index.d.ts +19 -0
- package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/es/components/pisellStatisticList/index.d.ts +22 -0
- package/es/components/pisellToast/squareToast/index.d.ts +15 -0
- package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +7 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.js +1 -1
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +9 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +11 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +178 -0
- package/es/components/productCard/components/Action/index.d.ts +4 -0
- package/es/components/productCard/locales.d.ts +138 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +95 -0
- package/es/components/select/index.d.ts +9 -0
- package/es/components/table/Table/fields/select/Edit/index.d.ts +4 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/es/locales/en-US.d.ts +384 -0
- package/es/locales/index.d.ts +1 -0
- package/es/locales/ja.d.ts +348 -0
- package/es/locales/pt.d.ts +348 -0
- package/es/locales/zh-CN.d.ts +379 -0
- package/es/locales/zh-TW.d.ts +379 -0
- package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
- package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
- package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +8 -0
- package/lib/components/PisellSuperTabs/hooks/index.d.ts +1 -0
- package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
- package/lib/components/PisellSuperTabs/index.d.ts +3 -0
- package/lib/components/PisellSuperTabs/types.d.ts +212 -0
- package/lib/components/PisellTabbar/constants.d.ts +47 -0
- package/lib/components/PisellTabbar/hooks/index.d.ts +2 -0
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/lib/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
- package/lib/components/PisellTabbar/types.d.ts +90 -0
- package/lib/components/PisellTabbar/utils/index.d.ts +69 -0
- package/lib/components/cardPro/index.d.ts +4 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +4 -4
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
- package/lib/components/iconfont/index.d.ts +8 -0
- package/lib/components/pisell-config-provider/context.d.ts +22 -0
- package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
- package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/pisellDatePicker/index.d.ts +1 -0
- package/lib/components/pisellEmpty/index.d.ts +19 -0
- package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/lib/components/pisellStatisticList/index.d.ts +22 -0
- package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
- package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +7 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.js +1 -1
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +9 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +11 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +178 -0
- package/lib/components/productCard/components/Action/index.d.ts +4 -0
- package/lib/components/productCard/locales.d.ts +138 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +95 -0
- package/lib/components/select/index.d.ts +9 -0
- package/lib/components/table/Table/fields/select/Edit/index.d.ts +4 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/lib/locales/en-US.d.ts +384 -0
- package/lib/locales/index.d.ts +1 -0
- package/lib/locales/ja.d.ts +348 -0
- package/lib/locales/pt.d.ts +348 -0
- package/lib/locales/zh-CN.d.ts +379 -0
- package/lib/locales/zh-TW.d.ts +379 -0
- package/package.json +3 -3
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -11
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/es/components/sort/index.d.ts +0 -5
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -11
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
- package/lib/components/sort/index.d.ts +0 -5
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { Root } from 'react-dom/client';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
declare type ImperativeProps = {
|
|
5
|
+
open?: boolean;
|
|
6
|
+
onCancel?: () => void;
|
|
7
|
+
afterClose?: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare type TargetElement = ReactElement<ImperativeProps>;
|
|
10
|
+
export declare type ImperativeHandler = {
|
|
11
|
+
close: () => void;
|
|
12
|
+
replace: (element: TargetElement) => void;
|
|
13
|
+
isRendered?: () => boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare type UnmountType = () => Promise<void>;
|
|
16
|
+
export declare type RenderType = (node: React.ReactElement, container: Element | DocumentFragment) => UnmountType;
|
|
17
|
+
declare const MARK = "__pisell_react_root__";
|
|
18
|
+
declare type ContainerType = (Element | DocumentFragment) & {
|
|
19
|
+
[MARK]?: Root;
|
|
20
|
+
};
|
|
21
|
+
export declare function render(node: React.ReactElement, container: ContainerType): void;
|
|
22
|
+
export declare function unmount(container: ContainerType): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated 设置 React 渲染函数以兼容使用。
|
|
25
|
+
*/
|
|
26
|
+
export declare function unstableSetRender(render?: RenderType): RenderType;
|
|
27
|
+
export declare function renderImperatively(element: TargetElement): ImperativeHandler;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export declare type ToastType = 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
4
|
+
export interface ToastProps {
|
|
5
|
+
/** Toast 类型 */
|
|
6
|
+
icon?: ToastType | React.ReactNode;
|
|
7
|
+
/** 显示的内容,支持文本或 React 节点 */
|
|
8
|
+
content: React.ReactNode;
|
|
9
|
+
/** 是否显示 */
|
|
10
|
+
open?: boolean;
|
|
11
|
+
/** 自动关闭时间,单位毫秒,0 表示不自动关闭 */
|
|
12
|
+
duration?: number;
|
|
13
|
+
/** 关闭 */
|
|
14
|
+
onCancel?: () => void;
|
|
15
|
+
/** 关闭后回调 */
|
|
16
|
+
afterClose?: () => void;
|
|
17
|
+
/** 自定义样式类名 */
|
|
18
|
+
className?: string;
|
|
19
|
+
/** 自定义样式 */
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
/** 是否显示遮罩 */
|
|
22
|
+
mask?: boolean;
|
|
23
|
+
}
|
|
24
|
+
declare const Toast: React.FC<ToastProps>;
|
|
25
|
+
export default Toast;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* 赠品项数据结构
|
|
4
|
+
*/
|
|
5
|
+
export interface IGiftItem {
|
|
6
|
+
/** 图片 URL */
|
|
7
|
+
image?: string;
|
|
8
|
+
/** 标题 */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** 唯一标识 */
|
|
11
|
+
id?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Gift 组件 Props
|
|
15
|
+
*/
|
|
16
|
+
export interface IGiftProps {
|
|
17
|
+
/** 是否显示赠品组件 */
|
|
18
|
+
isShow?: boolean;
|
|
19
|
+
/** 赠品总数量(可选择的总数) */
|
|
20
|
+
totalCount?: number;
|
|
21
|
+
/** 已选择的赠品列表 */
|
|
22
|
+
selectedGifts?: IGiftItem[];
|
|
23
|
+
/** 选择的赠品原始数据列表 */
|
|
24
|
+
_selectedOriginGifts?: any[];
|
|
25
|
+
/** 提示文本(未选择时显示) */
|
|
26
|
+
promptText?: string;
|
|
27
|
+
/** 点击事件回调 */
|
|
28
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface IProps {
|
|
4
|
+
isShowImage?: boolean;
|
|
5
|
+
dataSource: {
|
|
6
|
+
image?: string;
|
|
7
|
+
bundle?: any[];
|
|
8
|
+
options?: any[];
|
|
9
|
+
product_option_string?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
symbol?: string;
|
|
12
|
+
price?: string | number;
|
|
13
|
+
total?: number;
|
|
14
|
+
origin_total?: number;
|
|
15
|
+
num?: number;
|
|
16
|
+
holder_id?: any;
|
|
17
|
+
isFormSubject?: boolean;
|
|
18
|
+
totalDifference?: number;
|
|
19
|
+
};
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
/** 作为主商品卡片展示
|
|
22
|
+
* 1. 影响商品数量 tag 的位置
|
|
23
|
+
* 2. isMain 且 type 为 a5,展示holder
|
|
24
|
+
*/
|
|
25
|
+
isMainProduct?: boolean;
|
|
26
|
+
maxSpecsCount?: number;
|
|
27
|
+
type?: 'a2' | 'a5' | 'a9';
|
|
28
|
+
isBundle?: boolean;
|
|
29
|
+
showFooter?: boolean;
|
|
30
|
+
isShowOriginalPrice?: boolean;
|
|
31
|
+
isShowEditProduct?: boolean;
|
|
32
|
+
onEditProduct?: (val: any) => void;
|
|
33
|
+
disabledEditClick?: boolean;
|
|
34
|
+
}
|
|
35
|
+
declare const BasicInfo: (props: IProps) => React.JSX.Element;
|
|
36
|
+
export default BasicInfo;
|
|
@@ -54,7 +54,7 @@ var Holders = (props) => {
|
|
|
54
54
|
;
|
|
55
55
|
const renderHolder = (id) => {
|
|
56
56
|
if (!id) return null;
|
|
57
|
-
const holder = holders.find((item) => item.id === id);
|
|
57
|
+
const holder = (holders || []).find((item) => item.id === id);
|
|
58
58
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "holder-item", key: id }, /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { className: "holder-icon", type: holderIconMap[(dataSource == null ? void 0 : dataSource.holderType) || "minors"] }), /* @__PURE__ */ import_react.default.createElement("span", { className: "holder-label" }, (holder == null ? void 0 : holder.label) || id));
|
|
59
59
|
};
|
|
60
60
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__holders` }, Array.isArray(holder_id) ? holder_id == null ? void 0 : holder_id.map((id) => {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare type NativeProps<S extends string = never> = {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties & Partial<Record<S, string>>;
|
|
6
|
+
};
|
|
7
|
+
declare type PropagationEvent = 'click';
|
|
8
|
+
import './index.less';
|
|
9
|
+
declare type SideType = 'left' | 'right';
|
|
10
|
+
export declare type SwipeActionRef = {
|
|
11
|
+
close: () => void;
|
|
12
|
+
show: (side?: SideType) => void;
|
|
13
|
+
};
|
|
14
|
+
declare type ActionColor = 'light' | 'weak' | 'primary' | 'success' | 'warning' | 'danger';
|
|
15
|
+
export declare type Action = {
|
|
16
|
+
key: string | number;
|
|
17
|
+
text: ReactNode;
|
|
18
|
+
color?: ActionColor | string;
|
|
19
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
};
|
|
22
|
+
export declare type SwipeActionProps = {
|
|
23
|
+
rightActions?: Action[];
|
|
24
|
+
leftActions?: Action[];
|
|
25
|
+
onAction?: (action: Action, e: React.MouseEvent) => void;
|
|
26
|
+
closeOnTouchOutside?: boolean;
|
|
27
|
+
closeOnAction?: boolean;
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
stopPropagation?: PropagationEvent[];
|
|
30
|
+
onActionsReveal?: (side: SideType) => void;
|
|
31
|
+
onClose?: () => void;
|
|
32
|
+
escapeDom?: string;
|
|
33
|
+
} & NativeProps<'--background'>;
|
|
34
|
+
export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
35
|
+
rightActions?: Action[] | undefined;
|
|
36
|
+
leftActions?: Action[] | undefined;
|
|
37
|
+
onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
|
|
38
|
+
closeOnTouchOutside?: boolean | undefined;
|
|
39
|
+
closeOnAction?: boolean | undefined;
|
|
40
|
+
children: ReactNode;
|
|
41
|
+
stopPropagation?: "click"[] | undefined;
|
|
42
|
+
onActionsReveal?: ((side: SideType) => void) | undefined;
|
|
43
|
+
onClose?: (() => void) | undefined;
|
|
44
|
+
escapeDom?: string | undefined;
|
|
45
|
+
} & NativeProps<"--background"> & React.RefAttributes<SwipeActionRef>>;
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import 'dayjs/locale/zh-cn';
|
|
3
|
+
import 'dayjs/locale/en';
|
|
4
|
+
import 'dayjs/locale/zh-tw';
|
|
5
|
+
import 'dayjs/locale/ja';
|
|
6
|
+
import 'dayjs/locale/pt';
|
|
7
|
+
import './index.less';
|
|
8
|
+
declare const TimeRange: (props: any) => React.JSX.Element | null;
|
|
9
|
+
export default TimeRange;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
import { ProductCardTypes } from '../types';
|
|
4
|
+
interface ISKUCardProps extends ProductCardTypes {
|
|
5
|
+
type: 'a2' | 'a5' | 'a9';
|
|
6
|
+
rightActions: any[];
|
|
7
|
+
escapeDom?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const PREFIX = "pisell-cart-sku-card";
|
|
10
|
+
declare const CartSkuCard: (props: ISKUCardProps) => React.JSX.Element | null;
|
|
11
|
+
export default CartSkuCard;
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.product.card.discount.reason': string;
|
|
4
|
+
'pisell2.cart.sku-card.more': string;
|
|
5
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
6
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
7
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
8
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
9
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
10
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
11
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
12
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
13
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
14
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
15
|
+
'pisell2.product.card.discount.note': string;
|
|
16
|
+
'pisell2.product.card.edit': string;
|
|
17
|
+
'pisell2.product.card.discount.add.note': string;
|
|
18
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
19
|
+
'pisell2.product.card.confirm': string;
|
|
20
|
+
'pisell2.product.card.cancel': string;
|
|
21
|
+
'pisell2.product.card.note.pla': string;
|
|
22
|
+
'pisell2.product.card.items.package': string;
|
|
23
|
+
'pisell2.product.card.view-all': string;
|
|
24
|
+
'pisell2.product.card.view-less': string;
|
|
25
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
26
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
27
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
28
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
29
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
30
|
+
'pisell2.product.card.sales': string;
|
|
31
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
32
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
33
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
34
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
35
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
36
|
+
};
|
|
37
|
+
'zh-CN': {
|
|
38
|
+
'pisell2.product.card.discount.reason': string;
|
|
39
|
+
'pisell2.cart.sku-card.more': string;
|
|
40
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
41
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
42
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
43
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
44
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
45
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
46
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
47
|
+
'pisell2.product.card.edit': string;
|
|
48
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
49
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
50
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
51
|
+
'pisell2.product.card.discount.note': string;
|
|
52
|
+
'pisell2.product.card.discount.add.note': string;
|
|
53
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
54
|
+
'pisell2.product.card.confirm': string;
|
|
55
|
+
'pisell2.product.card.cancel': string;
|
|
56
|
+
'pisell2.product.card.note.pla': string;
|
|
57
|
+
'pisell2.product.card.items.package': string;
|
|
58
|
+
'pisell2.product.card.view-all': string;
|
|
59
|
+
'pisell2.product.card.view-less': string;
|
|
60
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
61
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
62
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
63
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
64
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
65
|
+
'pisell2.product.card.sales': string;
|
|
66
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
67
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
68
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
69
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
70
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
71
|
+
};
|
|
72
|
+
'zh-HK': {
|
|
73
|
+
'pisell2.product.card.discount.reason': string;
|
|
74
|
+
'pisell2.cart.sku-card.more': string;
|
|
75
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
76
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
77
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
78
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
79
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
80
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
81
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
82
|
+
'pisell2.product.card.edit': string;
|
|
83
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
84
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
85
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
86
|
+
'pisell2.product.card.discount.note': string;
|
|
87
|
+
'pisell2.product.card.discount.add.note': string;
|
|
88
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
89
|
+
'pisell2.product.card.confirm': string;
|
|
90
|
+
'pisell2.product.card.cancel': string;
|
|
91
|
+
'pisell2.product.card.note.pla': string;
|
|
92
|
+
'pisell2.product.card.items.package': string;
|
|
93
|
+
'pisell2.product.card.view-all': string;
|
|
94
|
+
'pisell2.product.card.view-less': string;
|
|
95
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
96
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
97
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
98
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
99
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
100
|
+
'pisell2.product.card.sales': string;
|
|
101
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
102
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
103
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
104
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
105
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
106
|
+
};
|
|
107
|
+
ja: {
|
|
108
|
+
'pisell2.product.card.discount.reason': string;
|
|
109
|
+
'pisell2.cart.sku-card.more': string;
|
|
110
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
111
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
112
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
113
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
114
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
115
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
116
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
117
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
118
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
119
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
120
|
+
'pisell2.product.card.discount.note': string;
|
|
121
|
+
'pisell2.product.card.edit': string;
|
|
122
|
+
'pisell2.product.card.discount.add.note': string;
|
|
123
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
124
|
+
'pisell2.product.card.confirm': string;
|
|
125
|
+
'pisell2.product.card.cancel': string;
|
|
126
|
+
'pisell2.product.card.note.pla': string;
|
|
127
|
+
'pisell2.product.card.items.package': string;
|
|
128
|
+
'pisell2.product.card.view-all': string;
|
|
129
|
+
'pisell2.product.card.view-less': string;
|
|
130
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
131
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
132
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
133
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
134
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
135
|
+
'pisell2.product.card.sales': string;
|
|
136
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
137
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
138
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
139
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
140
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
141
|
+
};
|
|
142
|
+
pt: {
|
|
143
|
+
'pisell2.product.card.discount.reason': string;
|
|
144
|
+
'pisell2.cart.sku-card.more': string;
|
|
145
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
146
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
147
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
148
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
149
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
150
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
151
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
152
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
153
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
154
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
155
|
+
'pisell2.product.card.discount.note': string;
|
|
156
|
+
'pisell2.product.card.edit': string;
|
|
157
|
+
'pisell2.product.card.discount.add.note': string;
|
|
158
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
159
|
+
'pisell2.product.card.confirm': string;
|
|
160
|
+
'pisell2.product.card.cancel': string;
|
|
161
|
+
'pisell2.product.card.note.pla': string;
|
|
162
|
+
'pisell2.product.card.items.package': string;
|
|
163
|
+
'pisell2.product.card.view-all': string;
|
|
164
|
+
'pisell2.product.card.view-less': string;
|
|
165
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
166
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
167
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
168
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
169
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
170
|
+
'pisell2.product.card.sales': string;
|
|
171
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
172
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
173
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
174
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
175
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
export default _default;
|
|
@@ -0,0 +1,138 @@
|
|
|
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
|
+
ja: {
|
|
84
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
85
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
86
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
87
|
+
'pisell2.product.card.discount.reason': string;
|
|
88
|
+
'pisell2.product.card.discount.note': string;
|
|
89
|
+
'pisell2.product.card.edit': string;
|
|
90
|
+
'pisell2.product.card.discount.add.note': string;
|
|
91
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
92
|
+
'pisell2.product.card.confirm': string;
|
|
93
|
+
'pisell2.product.card.cancel': string;
|
|
94
|
+
'pisell2.product.card.note.pla': string;
|
|
95
|
+
'pisell2.product.card.items.package': string;
|
|
96
|
+
'pisell2.product.card.view-all': string;
|
|
97
|
+
'pisell2.product.card.view-less': string;
|
|
98
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
99
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
100
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
101
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
102
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
103
|
+
'pisell2.product.card.sales': string;
|
|
104
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
105
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
106
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
107
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
108
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
109
|
+
};
|
|
110
|
+
pt: {
|
|
111
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
112
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
113
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
114
|
+
'pisell2.product.card.discount.reason': string;
|
|
115
|
+
'pisell2.product.card.discount.note': string;
|
|
116
|
+
'pisell2.product.card.edit': string;
|
|
117
|
+
'pisell2.product.card.discount.add.note': string;
|
|
118
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
119
|
+
'pisell2.product.card.confirm': string;
|
|
120
|
+
'pisell2.product.card.cancel': string;
|
|
121
|
+
'pisell2.product.card.note.pla': string;
|
|
122
|
+
'pisell2.product.card.items.package': string;
|
|
123
|
+
'pisell2.product.card.view-all': string;
|
|
124
|
+
'pisell2.product.card.view-less': string;
|
|
125
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
126
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
127
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
128
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
129
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
130
|
+
'pisell2.product.card.sales': string;
|
|
131
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
132
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
133
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
134
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
135
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
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;
|