@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.
Files changed (77) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +150 -150
  7. package/build/lowcode/render/default/view.js +31 -26
  8. package/build/lowcode/view.js +36 -31
  9. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  10. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  11. package/es/components/date-picker/index.d.ts +0 -1
  12. package/es/components/media/index.d.ts +18 -0
  13. package/es/components/media/index.js +340 -0
  14. package/es/components/media/index.less +100 -0
  15. package/es/components/page/index.d.ts +0 -1
  16. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  17. package/es/components/pisellAdjustPrice/index.js +46 -45
  18. package/es/components/pisellAdjustPrice/status.js +32 -0
  19. package/es/components/pisellVHFix/index.d.ts +13 -0
  20. package/es/components/pisellVHFix/index.js +36 -0
  21. package/es/components/pisellVHFix/index.less +10 -0
  22. package/es/components/pisellWalletPassCard/index.d.ts +0 -1
  23. package/es/components/select-time/index.d.ts +1 -0
  24. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  25. package/es/components/table/Table/fields/index.d.ts +0 -1
  26. package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
  27. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  28. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  29. package/lib/components/date-picker/index.d.ts +0 -1
  30. package/lib/components/media/index.d.ts +18 -0
  31. package/lib/components/media/index.js +265 -0
  32. package/lib/components/media/index.less +100 -0
  33. package/lib/components/page/index.d.ts +0 -1
  34. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  35. package/lib/components/pisellAdjustPrice/index.js +27 -36
  36. package/lib/components/pisellAdjustPrice/status.js +60 -0
  37. package/lib/components/pisellVHFix/index.d.ts +13 -0
  38. package/lib/components/pisellVHFix/index.js +56 -0
  39. package/lib/components/pisellVHFix/index.less +10 -0
  40. package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
  41. package/lib/components/select-time/index.d.ts +1 -0
  42. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  43. package/lib/components/table/Table/fields/index.d.ts +0 -1
  44. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
  45. package/package.json +1 -1
  46. package/es/components/iconfont/index.d.ts +0 -8
  47. package/es/components/pisellToast/index.d.ts +0 -16
  48. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -21
  49. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  50. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  51. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  52. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  53. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  54. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -11
  55. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  56. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  57. package/es/components/productCard/cartSkuCard/index.d.ts +0 -8
  58. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -93
  59. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -3
  60. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  61. package/es/components/translation/index.d.ts +0 -14
  62. package/lib/components/iconfont/index.d.ts +0 -8
  63. package/lib/components/pisellToast/index.d.ts +0 -16
  64. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -21
  65. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  66. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  67. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  68. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  69. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  70. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -11
  71. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  72. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  73. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -8
  74. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -93
  75. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -3
  76. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  77. 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,2 +0,0 @@
1
- declare const DiscountReason: (props: any) => JSX.Element;
2
- export default DiscountReason;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Holders: (props: any) => JSX.Element | null;
3
- export default Holders;
@@ -1,10 +0,0 @@
1
- import './index.less';
2
- interface IProps {
3
- isShowImage?: boolean;
4
- dataSource: {
5
- bundle?: any[];
6
- symbol?: string;
7
- };
8
- }
9
- declare const Packages: ({ isShowImage, dataSource }: IProps) => JSX.Element | null;
10
- export default Packages;
@@ -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,3 +0,0 @@
1
- import './index.less';
2
- declare const Resources: (props: any) => JSX.Element;
3
- export default Resources;
@@ -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,3 +0,0 @@
1
- import './index.less';
2
- declare const Specs: (props: any) => JSX.Element | null;
3
- export default Specs;
@@ -1,6 +0,0 @@
1
- import 'dayjs/locale/zh-cn';
2
- import 'dayjs/locale/en';
3
- import 'dayjs/locale/zh-tw';
4
- import './index.less';
5
- declare const TimeRange: (props: any) => JSX.Element | null;
6
- export default TimeRange;
@@ -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,3 +0,0 @@
1
- import './index.less';
2
- declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
3
- export default Footer;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
3
- export default Sales;
@@ -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;