@pisell/materials 1.0.865 → 1.0.866
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 +150 -150
- package/build/lowcode/render/default/view.js +31 -26
- package/build/lowcode/view.js +36 -31
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/es/components/date-picker/index.d.ts +0 -1
- package/es/components/media/index.d.ts +18 -0
- package/es/components/media/index.js +340 -0
- package/es/components/media/index.less +100 -0
- package/es/components/page/index.d.ts +0 -1
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/es/components/pisellAdjustPrice/index.js +46 -45
- package/es/components/pisellAdjustPrice/status.js +32 -0
- package/es/components/pisellVHFix/index.d.ts +13 -0
- package/es/components/pisellVHFix/index.js +36 -0
- package/es/components/pisellVHFix/index.less +10 -0
- package/es/components/pisellWalletPassCard/index.d.ts +0 -1
- package/es/components/select-time/index.d.ts +1 -0
- package/es/components/table/Table/SelectField/index.d.ts +0 -1
- package/es/components/table/Table/fields/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/lib/components/date-picker/index.d.ts +0 -1
- package/lib/components/media/index.d.ts +18 -0
- package/lib/components/media/index.js +265 -0
- package/lib/components/media/index.less +100 -0
- package/lib/components/page/index.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/index.js +27 -36
- package/lib/components/pisellAdjustPrice/status.js +60 -0
- package/lib/components/pisellVHFix/index.d.ts +13 -0
- package/lib/components/pisellVHFix/index.js +56 -0
- package/lib/components/pisellVHFix/index.less +10 -0
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
- package/lib/components/select-time/index.d.ts +1 -0
- package/lib/components/table/Table/SelectField/index.d.ts +0 -1
- package/lib/components/table/Table/fields/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/package.json +1 -1
- package/es/components/iconfont/index.d.ts +0 -8
- package/es/components/pisellToast/index.d.ts +0 -16
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -21
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -11
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -8
- package/es/components/productCard/cartSkuCard/locales.d.ts +0 -93
- package/es/components/productCard/components/AmountFooter/index.d.ts +0 -3
- package/es/components/productCard/components/Sales/index.d.ts +0 -3
- package/es/components/translation/index.d.ts +0 -14
- package/lib/components/iconfont/index.d.ts +0 -8
- package/lib/components/pisellToast/index.d.ts +0 -16
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -21
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -11
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -8
- package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -93
- package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -3
- package/lib/components/productCard/components/Sales/index.d.ts +0 -3
- package/lib/components/translation/index.d.ts +0 -14
|
@@ -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,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,21 +0,0 @@
|
|
|
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
|
-
};
|
|
17
|
-
style?: React.CSSProperties;
|
|
18
|
-
isMainProduct?: boolean;
|
|
19
|
-
}
|
|
20
|
-
declare const BasicInfo: (props: IProps) => JSX.Element;
|
|
21
|
-
export default BasicInfo;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 金额是否是负
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {string} type
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: WangHan
|
|
7
|
-
* @Date: 2024-11-22 10:01
|
|
8
|
-
*/
|
|
9
|
-
export declare const minusSign: (item: any, type?: string) => "" | "-";
|
|
10
|
-
/**
|
|
11
|
-
* @title: 金额格式化
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {number} price
|
|
14
|
-
* @param {string} amountSymbol
|
|
15
|
-
* @param {number} digit
|
|
16
|
-
* @return {*}
|
|
17
|
-
* @Author: WangHan
|
|
18
|
-
* @Date: 2024-11-22 10:58
|
|
19
|
-
*/
|
|
20
|
-
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
interface IProps {
|
|
3
|
-
hideDivider?: boolean;
|
|
4
|
-
dataSource: {
|
|
5
|
-
symbol?: string;
|
|
6
|
-
relation_products?: any[];
|
|
7
|
-
bundle?: any[];
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
declare const Sales: ({ hideDivider, dataSource }: IProps) => JSX.Element | null;
|
|
11
|
-
export default Sales;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import './index.less';
|
|
2
|
-
import { ProductCardTypes } from '../types';
|
|
3
|
-
interface ISKUCardProps extends ProductCardTypes {
|
|
4
|
-
type: 'a2' | 'a5';
|
|
5
|
-
}
|
|
6
|
-
export declare const PREFIX = "pisell-cart-sku-card";
|
|
7
|
-
declare const CartSkuCard: (props: ISKUCardProps) => JSX.Element;
|
|
8
|
-
export default CartSkuCard;
|
|
@@ -1,93 +0,0 @@
|
|
|
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.product.card.day': (val: number) => string;
|
|
8
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
9
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
10
|
-
'pisell2.product.card.discount.note': string;
|
|
11
|
-
'pisell2.product.card.edit': string;
|
|
12
|
-
'pisell2.product.card.discount.add.note': string;
|
|
13
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
14
|
-
'pisell2.product.card.confirm': string;
|
|
15
|
-
'pisell2.product.card.cancel': string;
|
|
16
|
-
'pisell2.product.card.note.pla': string;
|
|
17
|
-
'pisell2.product.card.items.package': string;
|
|
18
|
-
'pisell2.product.card.view-all': string;
|
|
19
|
-
'pisell2.product.card.view-less': string;
|
|
20
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
21
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
22
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
23
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
24
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
25
|
-
'pisell2.product.card.sales': string;
|
|
26
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
27
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
28
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
29
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
30
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
31
|
-
};
|
|
32
|
-
'zh-CN': {
|
|
33
|
-
'pisell2.product.card.discount.reason': string;
|
|
34
|
-
'pisell2.cart.sku-card.more': string;
|
|
35
|
-
'pisell2.cart.sku-card.packages.title': string;
|
|
36
|
-
'pisell2.cart.sku-card.sales.title': string;
|
|
37
|
-
'pisell2.product.card.edit': string;
|
|
38
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
39
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
40
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
41
|
-
'pisell2.product.card.discount.note': string;
|
|
42
|
-
'pisell2.product.card.discount.add.note': string;
|
|
43
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
44
|
-
'pisell2.product.card.confirm': string;
|
|
45
|
-
'pisell2.product.card.cancel': string;
|
|
46
|
-
'pisell2.product.card.note.pla': string;
|
|
47
|
-
'pisell2.product.card.items.package': string;
|
|
48
|
-
'pisell2.product.card.view-all': string;
|
|
49
|
-
'pisell2.product.card.view-less': string;
|
|
50
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
51
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
52
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
53
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
54
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
55
|
-
'pisell2.product.card.sales': string;
|
|
56
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
57
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
58
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
59
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
60
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
61
|
-
};
|
|
62
|
-
'zh-HK': {
|
|
63
|
-
'pisell2.product.card.discount.reason': string;
|
|
64
|
-
'pisell2.cart.sku-card.more': string;
|
|
65
|
-
'pisell2.cart.sku-card.packages.title': string;
|
|
66
|
-
'pisell2.cart.sku-card.sales.title': string;
|
|
67
|
-
'pisell2.product.card.edit': string;
|
|
68
|
-
'pisell2.product.card.day': (val: number) => string;
|
|
69
|
-
'pisell2.product.card.day.event': (val: number) => string;
|
|
70
|
-
'pisell2.product.card.minute': (val: number) => string;
|
|
71
|
-
'pisell2.product.card.discount.note': string;
|
|
72
|
-
'pisell2.product.card.discount.add.note': string;
|
|
73
|
-
'pisell2.product.card.discount.edit.note': string;
|
|
74
|
-
'pisell2.product.card.confirm': string;
|
|
75
|
-
'pisell2.product.card.cancel': string;
|
|
76
|
-
'pisell2.product.card.note.pla': string;
|
|
77
|
-
'pisell2.product.card.items.package': string;
|
|
78
|
-
'pisell2.product.card.view-all': string;
|
|
79
|
-
'pisell2.product.card.view-less': string;
|
|
80
|
-
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
81
|
-
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
82
|
-
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
83
|
-
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
84
|
-
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
85
|
-
'pisell2.product.card.sales': string;
|
|
86
|
-
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
87
|
-
'pisell2.product.card.add.holder.modal.clear': string;
|
|
88
|
-
'pisell2.product.card.add.holder.modal.apply': string;
|
|
89
|
-
'pisell2.product.card.add.holder.modal.add': string;
|
|
90
|
-
'pisell2.product.card.closing-soon.warning': string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare type Value = {
|
|
4
|
-
en: string;
|
|
5
|
-
'zh-CN': string;
|
|
6
|
-
'zh-HK': string;
|
|
7
|
-
};
|
|
8
|
-
interface TranslationProps {
|
|
9
|
-
value: Value;
|
|
10
|
-
onChange: (value: Value) => void;
|
|
11
|
-
maxLength?: number;
|
|
12
|
-
}
|
|
13
|
-
declare const Translation: React.FC<TranslationProps>;
|
|
14
|
-
export default Translation;
|