@pisell/materials 6.2.35 → 6.2.37
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 +4 -4
- package/build/lowcode/preview.js +148 -164
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +25 -39
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +25 -39
- package/es/components/batch-editor/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +19 -20
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/es/components/drag-sort-tree/index.d.ts +1 -0
- package/es/components/filter/index.d.ts +0 -1
- package/es/components/iconfont/index.js +1 -1
- package/es/components/list/index.d.ts +0 -1
- package/es/components/page/index.d.ts +0 -1
- package/es/components/pisellCardList/index.d.ts +21 -1
- package/es/components/pisellCardList/index.js +25 -1
- package/es/components/pisellCheckboxGroup/index.d.ts +1 -0
- package/es/components/pisellCheckboxGroup/index.js +2 -2
- package/es/components/pisellCheckboxGroup/index.less +13 -1
- package/es/components/pisellLoading/index.d.ts +0 -1
- package/es/components/pisellWalletPassCard/index.d.ts +44 -0
- package/es/components/pisellWalletPassCard/index.js +233 -66
- package/es/components/pisellWalletPassCard/index.less +37 -7
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
- package/es/components/productCard/components/Action/index.d.ts +0 -1
- package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
- package/es/components/productCard/components/Header/index.d.ts +0 -1
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/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/Actions/index.d.ts +0 -1
- package/es/components/table/BasicTable/index.d.ts +0 -1
- package/es/components/table/Table/AddFieldModal/index.d.ts +1 -0
- package/es/components/table/Table/AddFieldModal/index.js +13 -13
- package/es/components/table/Table/AddFieldModal/index.less +11 -11
- 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/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/tableConfig/SortRow/index.d.ts +0 -1
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/View/index.d.ts +0 -1
- package/es/components/versionSelect/index.d.ts +0 -1
- package/es/index.d.ts +1 -0
- package/es/locales/en-US.d.ts +3 -0
- package/es/locales/en-US.js +6 -2
- package/es/locales/zh-CN.d.ts +3 -0
- package/es/locales/zh-CN.js +6 -2
- package/es/locales/zh-TW.d.ts +3 -0
- package/es/locales/zh-TW.js +6 -2
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/batch-editor/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +19 -20
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/index.d.ts +1 -0
- package/lib/components/filter/index.d.ts +0 -1
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/list/index.d.ts +0 -1
- package/lib/components/page/index.d.ts +0 -1
- package/lib/components/pisellCardList/index.d.ts +21 -1
- package/lib/components/pisellCardList/index.js +25 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -0
- package/lib/components/pisellCheckboxGroup/index.js +2 -1
- package/lib/components/pisellCheckboxGroup/index.less +13 -1
- package/lib/components/pisellLoading/index.d.ts +0 -1
- package/lib/components/pisellWalletPassCard/index.d.ts +44 -0
- package/lib/components/pisellWalletPassCard/index.js +187 -48
- package/lib/components/pisellWalletPassCard/index.less +37 -7
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
- package/lib/components/productCard/components/Action/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
- package/lib/components/productCard/components/Header/index.d.ts +0 -1
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/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/Actions/index.d.ts +0 -1
- package/lib/components/table/BasicTable/index.d.ts +0 -1
- package/lib/components/table/Table/AddFieldModal/index.d.ts +1 -0
- package/lib/components/table/Table/AddFieldModal/index.js +9 -9
- package/lib/components/table/Table/AddFieldModal/index.less +11 -11
- 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/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/tableConfig/SortRow/index.d.ts +0 -1
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/View/index.d.ts +0 -1
- package/lib/components/versionSelect/index.d.ts +0 -1
- package/lib/index.d.ts +1 -0
- package/lib/locales/en-US.d.ts +3 -0
- package/lib/locales/en-US.js +6 -2
- package/lib/locales/zh-CN.d.ts +3 -0
- package/lib/locales/zh-CN.js +6 -2
- package/lib/locales/zh-TW.d.ts +3 -0
- package/lib/locales/zh-TW.js +6 -2
- package/lib/utils/platform.d.ts +1 -1
- package/lowcode/pisell-card-list/meta.ts +50 -1
- package/lowcode/pisell-wallet-pass-card/actionsMeta.ts +7 -0
- package/package.json +11 -10
|
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
|
|
|
17
17
|
* @Author: WangHan
|
|
18
18
|
* @Date: 2024-11-22 10:58
|
|
19
19
|
*/
|
|
20
|
-
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) =>
|
|
20
|
+
export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
|
package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
3
2
|
export default SelectHolderMultiple;
|
|
@@ -18,7 +18,7 @@ import IconFont from "../../../iconfont";
|
|
|
18
18
|
import { Form, Input, Popover, message } from "antd";
|
|
19
19
|
import React, { useMemo, useState } from "react";
|
|
20
20
|
import SelectField from "../SelectField";
|
|
21
|
-
import
|
|
21
|
+
import "./index.less";
|
|
22
22
|
import { useSharedState } from "../../../../hooks";
|
|
23
23
|
import { Context } from "../../model";
|
|
24
24
|
var AddFieldModal = function AddFieldModal() {
|
|
@@ -75,7 +75,7 @@ var AddFieldModal = function AddFieldModal() {
|
|
|
75
75
|
},
|
|
76
76
|
onFinish: addField
|
|
77
77
|
}, /*#__PURE__*/React.createElement("div", {
|
|
78
|
-
className:
|
|
78
|
+
className: "pisell-lowcode-add-field-modal"
|
|
79
79
|
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
80
80
|
label: "Field Name",
|
|
81
81
|
name: "field_name",
|
|
@@ -85,25 +85,25 @@ var AddFieldModal = function AddFieldModal() {
|
|
|
85
85
|
}]
|
|
86
86
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
87
87
|
placeholder: "Field name (optional)",
|
|
88
|
-
className:
|
|
88
|
+
className: "pisell-lowcode-header-search"
|
|
89
89
|
})), /*#__PURE__*/React.createElement(SelectField, null), /*#__PURE__*/React.createElement("div", {
|
|
90
|
-
className:
|
|
90
|
+
className: "pisell-lowcode-modal-footer"
|
|
91
91
|
}, /*#__PURE__*/React.createElement("div", {
|
|
92
|
-
className:
|
|
92
|
+
className: "pisell-lowcode-add-describe"
|
|
93
93
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
94
94
|
type: "pi-Plus",
|
|
95
|
-
className:
|
|
95
|
+
className: "pisell-lowcode-icon"
|
|
96
96
|
}), /*#__PURE__*/React.createElement("span", {
|
|
97
|
-
className:
|
|
97
|
+
className: "pisell-lowcode-label"
|
|
98
98
|
}, "Add description")), /*#__PURE__*/React.createElement("div", {
|
|
99
|
-
className:
|
|
99
|
+
className: "pisell-lowcode-btns"
|
|
100
100
|
}, /*#__PURE__*/React.createElement("div", {
|
|
101
|
-
className:
|
|
101
|
+
className: "pisell-lowcode-cancel",
|
|
102
102
|
onClick: function onClick() {
|
|
103
103
|
onCloseModal();
|
|
104
104
|
}
|
|
105
105
|
}, "Cancel"), /*#__PURE__*/React.createElement("div", {
|
|
106
|
-
className:
|
|
106
|
+
className: "pisell-lowcode-submit",
|
|
107
107
|
onClick: function onClick() {
|
|
108
108
|
form.submit();
|
|
109
109
|
}
|
|
@@ -120,7 +120,7 @@ var AddFieldModal = function AddFieldModal() {
|
|
|
120
120
|
padding: 0
|
|
121
121
|
},
|
|
122
122
|
trigger: "click",
|
|
123
|
-
overlayClassName:
|
|
123
|
+
overlayClassName: "pisell-lowcode-popover-wrap",
|
|
124
124
|
onOpenChange: function onOpenChange(e) {
|
|
125
125
|
if (!e) {
|
|
126
126
|
onCloseModal();
|
|
@@ -130,10 +130,10 @@ var AddFieldModal = function AddFieldModal() {
|
|
|
130
130
|
},
|
|
131
131
|
open: openModal
|
|
132
132
|
}, /*#__PURE__*/React.createElement("div", {
|
|
133
|
-
className:
|
|
133
|
+
className: "pisell-lowcode-add-field-btn"
|
|
134
134
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
135
135
|
type: "pi-a-Property3Add",
|
|
136
|
-
className:
|
|
136
|
+
className: "pisell-lowcode-add-field-icon"
|
|
137
137
|
})));
|
|
138
138
|
};
|
|
139
139
|
export default AddFieldModal;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.add-field-btn {
|
|
1
|
+
.pisell-lowcode-add-field-btn {
|
|
2
2
|
position: absolute;
|
|
3
3
|
right: 0;
|
|
4
4
|
top: 0;
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
12
12
|
cursor: pointer;
|
|
13
13
|
|
|
14
|
-
.add-field-icon {}
|
|
14
|
+
.pisell-lowcode-add-field-icon {}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.popover-wrap {
|
|
17
|
+
.pisell-lowcode-popover-wrap {
|
|
18
18
|
:global {
|
|
19
19
|
.pisell-lowcode-popover-arrow {
|
|
20
20
|
display: none;
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.add-field-modal {
|
|
25
|
+
.pisell-lowcode-add-field-modal {
|
|
26
26
|
width: 360px;
|
|
27
27
|
padding: 16px 16px 0 16px;
|
|
28
28
|
|
|
29
|
-
.modal-footer {
|
|
29
|
+
.pisell-lowcode-modal-footer {
|
|
30
30
|
display: flex;
|
|
31
31
|
align-items: center;
|
|
32
32
|
justify-content: space-between;
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
padding: 0 16px;
|
|
36
36
|
border-top: 1px solid #F1F1F1;
|
|
37
37
|
|
|
38
|
-
.add-describe {
|
|
38
|
+
.pisell-lowcode-add-describe {
|
|
39
39
|
cursor: pointer;
|
|
40
40
|
display: flex;
|
|
41
41
|
align-items: center;
|
|
42
42
|
justify-content: center;
|
|
43
43
|
|
|
44
|
-
.icon {
|
|
44
|
+
.pisell-lowcode-icon {
|
|
45
45
|
width: 24px;
|
|
46
46
|
height: 24px;
|
|
47
47
|
display: flex;
|
|
@@ -51,27 +51,27 @@
|
|
|
51
51
|
color: #1B1B1B;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.label {
|
|
54
|
+
.pisell-lowcode-label {
|
|
55
55
|
margin-left: 2px;
|
|
56
56
|
font-size: 14px;
|
|
57
57
|
color: #777777;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.btns {
|
|
61
|
+
.pisell-lowcode-btns {
|
|
62
62
|
display: flex;
|
|
63
63
|
align-items: center;
|
|
64
64
|
justify-content: center;
|
|
65
65
|
gap: 16px;
|
|
66
66
|
|
|
67
|
-
.cancel {
|
|
67
|
+
.pisell-lowcode-cancel {
|
|
68
68
|
cursor: pointer;
|
|
69
69
|
font-weight: 400;
|
|
70
70
|
font-size: 14px;
|
|
71
71
|
color: #1B1B1B;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.submit {
|
|
74
|
+
.pisell-lowcode-submit {
|
|
75
75
|
cursor: pointer;
|
|
76
76
|
font-weight: 400;
|
|
77
77
|
font-size: 14px;
|
|
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
155
155
|
sort?: SortType | undefined;
|
|
156
156
|
mode: "" | "localStorage" | "remote";
|
|
157
157
|
currentViewMode: ModeType;
|
|
158
|
-
}) => ("
|
|
158
|
+
}) => ("group_by" | "column_setting" | "order_by" | "view_mode" | "filter_setting" | "gallery_setting")[];
|
|
159
159
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
160
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
161
|
export {};
|
package/es/index.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ export { default as PisellTooltip } from './components/pisellTooltip';
|
|
|
96
96
|
export { default as PisellUpload } from './components/pisellUpload';
|
|
97
97
|
export { default as PisellViewGrid } from './components/pisellViewGrid';
|
|
98
98
|
export { default as PisellWalletPassCard } from './components/pisellWalletPassCard';
|
|
99
|
+
export type { PisellWalletPassCardProps } from './components/pisellWalletPassCard';
|
|
99
100
|
export { default as ProfileMenu } from './components/profileMenu';
|
|
100
101
|
export { default as QRCode } from './components/qrcode';
|
|
101
102
|
export { default as Radio } from './components/radio';
|
package/es/locales/en-US.d.ts
CHANGED
|
@@ -274,5 +274,8 @@ declare const _default: {
|
|
|
274
274
|
'pisell2.text.goodpass.last-settlement': string;
|
|
275
275
|
'pisell2.text.goodpass.view-more': string;
|
|
276
276
|
'pisell2.text.goodpass.save': string;
|
|
277
|
+
'pisell-wallet-pass-card-status-used': string;
|
|
278
|
+
'pisell-wallet-pass-card-status-expired': string;
|
|
279
|
+
'pisell-wallet-pass-card-status-disabled': string;
|
|
277
280
|
};
|
|
278
281
|
export default _default;
|
package/es/locales/en-US.js
CHANGED
|
@@ -147,7 +147,7 @@ export default {
|
|
|
147
147
|
'pisell-wallet-pass-card-name': 'Name',
|
|
148
148
|
'pisell-wallet-pass-card-store-name': 'StoreName',
|
|
149
149
|
'pisell-wallet-pass-card-balance': 'Balance',
|
|
150
|
-
'pisell-wallet-pass-card-redeem': '
|
|
150
|
+
'pisell-wallet-pass-card-redeem': 'use',
|
|
151
151
|
'pisell-wallet-pass-card-code': 'Code',
|
|
152
152
|
'pisell-wallet-pass-card-valid-to': 'Valid to',
|
|
153
153
|
'pisell-wallet-pass-card-confirm': 'Confirm',
|
|
@@ -338,5 +338,9 @@ export default {
|
|
|
338
338
|
'pisell2.text.goodpass.product-vouchers': "Promotions & Vouchers",
|
|
339
339
|
'pisell2.text.goodpass.last-settlement': "(Last payment)",
|
|
340
340
|
'pisell2.text.goodpass.view-more': "View More",
|
|
341
|
-
'pisell2.text.goodpass.save': "Save"
|
|
341
|
+
'pisell2.text.goodpass.save': "Save",
|
|
342
|
+
// 钱包卡片组件
|
|
343
|
+
'pisell-wallet-pass-card-status-used': 'Used',
|
|
344
|
+
'pisell-wallet-pass-card-status-expired': 'Expired',
|
|
345
|
+
'pisell-wallet-pass-card-status-disabled': 'Disabled'
|
|
342
346
|
};
|
package/es/locales/zh-CN.d.ts
CHANGED
|
@@ -269,5 +269,8 @@ declare const _default: {
|
|
|
269
269
|
'pisell2.text.goodpass.last-settlement': string;
|
|
270
270
|
'pisell2.text.goodpass.view-more': string;
|
|
271
271
|
'pisell2.text.goodpass.save': string;
|
|
272
|
+
'pisell-wallet-pass-card-status-used': string;
|
|
273
|
+
'pisell-wallet-pass-card-status-expired': string;
|
|
274
|
+
'pisell-wallet-pass-card-status-disabled': string;
|
|
272
275
|
};
|
|
273
276
|
export default _default;
|
package/es/locales/zh-CN.js
CHANGED
|
@@ -147,7 +147,7 @@ export default {
|
|
|
147
147
|
'pisell-wallet-pass-card-name': '商品名称',
|
|
148
148
|
'pisell-wallet-pass-card-store-name': '共享店铺名称',
|
|
149
149
|
'pisell-wallet-pass-card-balance': '余额',
|
|
150
|
-
'pisell-wallet-pass-card-redeem': '
|
|
150
|
+
'pisell-wallet-pass-card-redeem': '使用',
|
|
151
151
|
'pisell-wallet-pass-card-code': '识别码编号',
|
|
152
152
|
'pisell-wallet-pass-card-valid-to': '有效期至',
|
|
153
153
|
'pisell-wallet-pass-card-confirm': '确认',
|
|
@@ -329,5 +329,9 @@ export default {
|
|
|
329
329
|
'pisell2.text.goodpass.product-vouchers': "优惠促销",
|
|
330
330
|
'pisell2.text.goodpass.last-settlement': "(上次结算)",
|
|
331
331
|
'pisell2.text.goodpass.view-more': "查看更多",
|
|
332
|
-
'pisell2.text.goodpass.save': "节省"
|
|
332
|
+
'pisell2.text.goodpass.save': "节省",
|
|
333
|
+
// 钱包卡片组件
|
|
334
|
+
'pisell-wallet-pass-card-status-used': '已使用',
|
|
335
|
+
'pisell-wallet-pass-card-status-expired': '已过期',
|
|
336
|
+
'pisell-wallet-pass-card-status-disabled': '已禁用'
|
|
333
337
|
};
|
package/es/locales/zh-TW.d.ts
CHANGED
|
@@ -269,5 +269,8 @@ declare const _default: {
|
|
|
269
269
|
'pisell2.text.goodpass.last-settlement': string;
|
|
270
270
|
'pisell2.text.goodpass.view-more': string;
|
|
271
271
|
'pisell2.text.goodpass.save': string;
|
|
272
|
+
'pisell-wallet-pass-card-status-used': string;
|
|
273
|
+
'pisell-wallet-pass-card-status-expired': string;
|
|
274
|
+
'pisell-wallet-pass-card-status-disabled': string;
|
|
272
275
|
};
|
|
273
276
|
export default _default;
|
package/es/locales/zh-TW.js
CHANGED
|
@@ -147,7 +147,7 @@ export default {
|
|
|
147
147
|
'pisell-wallet-pass-card-name': '商品名稱',
|
|
148
148
|
'pisell-wallet-pass-card-store-name': '共享店鋪名稱',
|
|
149
149
|
'pisell-wallet-pass-card-balance': '餘額',
|
|
150
|
-
'pisell-wallet-pass-card-redeem': '
|
|
150
|
+
'pisell-wallet-pass-card-redeem': '使用',
|
|
151
151
|
'pisell-wallet-pass-card-code': '識別碼編號',
|
|
152
152
|
'pisell-wallet-pass-card-valid-to': '有效期至',
|
|
153
153
|
'pisell-wallet-pass-card-confirm': '確認',
|
|
@@ -330,5 +330,9 @@ export default {
|
|
|
330
330
|
'pisell2.text.goodpass.product-vouchers': "優惠促銷",
|
|
331
331
|
'pisell2.text.goodpass.last-settlement': "(上次結算)",
|
|
332
332
|
'pisell2.text.goodpass.view-more': "查看更多",
|
|
333
|
-
'pisell2.text.goodpass.save': "節省"
|
|
333
|
+
'pisell2.text.goodpass.save': "節省",
|
|
334
|
+
// 钱包卡片组件
|
|
335
|
+
'pisell-wallet-pass-card-status-used': '已使用',
|
|
336
|
+
'pisell-wallet-pass-card-status-expired': '已過期',
|
|
337
|
+
'pisell-wallet-pass-card-status-disabled': '已禁用'
|
|
334
338
|
};
|
package/es/utils/platform.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isMobile: () =>
|
|
1
|
+
export declare const isMobile: () => boolean;
|
|
@@ -43,7 +43,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
|
|
|
43
43
|
}) => JSX.Element;
|
|
44
44
|
export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
|
|
45
45
|
options?: any;
|
|
46
|
-
optionSourceType?: "
|
|
46
|
+
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
47
47
|
labelField: string;
|
|
48
48
|
valueField: string;
|
|
49
49
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
52
52
|
width: number;
|
|
53
53
|
align: "center" | "left" | "right";
|
|
54
54
|
fixed: false | "left" | "right";
|
|
55
|
-
type: "
|
|
55
|
+
type: "link" | "button";
|
|
56
56
|
items: OperationItem[];
|
|
57
57
|
} | undefined;
|
|
58
58
|
operationContent?: {
|
|
@@ -70,7 +70,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
70
70
|
useCustomAction: boolean;
|
|
71
71
|
actionType: string;
|
|
72
72
|
openMode: "modal" | "drawer";
|
|
73
|
-
openContentSize: "small" | "
|
|
73
|
+
openContentSize: "small" | "middle" | "large";
|
|
74
74
|
openTitle: string;
|
|
75
75
|
key: string;
|
|
76
76
|
} | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
|
|
3
2
|
options?: any;
|
|
4
|
-
optionSourceType?: "
|
|
3
|
+
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
5
4
|
labelField: string;
|
|
6
5
|
valueField: string;
|
|
7
6
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
|
|
|
15
15
|
metadata?: MediaMetadata;
|
|
16
16
|
}) => Record<string, any>;
|
|
17
17
|
export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
|
|
18
|
-
export declare const getBaseTime: (size: number) =>
|
|
18
|
+
export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
declare const formFieldMap: {
|
|
3
2
|
FormItemCheckbox: import("react").FC<{}> & {
|
|
4
3
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -35,7 +34,7 @@ declare const formFieldMap: {
|
|
|
35
34
|
};
|
|
36
35
|
FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
37
36
|
options?: any;
|
|
38
|
-
optionSourceType?: "
|
|
37
|
+
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
39
38
|
labelField: string;
|
|
40
39
|
valueField: string;
|
|
41
40
|
extraParams?: Record<string, any> | undefined;
|
|
@@ -60,21 +59,11 @@ declare const formFieldMap: {
|
|
|
60
59
|
FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
61
60
|
FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
62
61
|
};
|
|
63
|
-
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
64
|
-
|
|
65
|
-
optionSourceType?: "custom" | "default" | "api" | undefined;
|
|
66
|
-
labelField: string;
|
|
67
|
-
valueField: string;
|
|
68
|
-
extraParams?: Record<string, any> | undefined;
|
|
69
|
-
} & {
|
|
70
|
-
dataSource?: any;
|
|
71
|
-
}) => JSX.Element) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
|
|
72
|
-
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
62
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
|
|
63
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
73
64
|
} & {
|
|
74
|
-
Group: import("react").FC<import("./
|
|
75
|
-
}) | import("react").FC<import("
|
|
76
|
-
onChange: (value: string) => void;
|
|
77
|
-
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
65
|
+
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
66
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
78
67
|
JSON: import("react").FC<any>;
|
|
79
68
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
80
69
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
@@ -94,9 +83,19 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
|
|
|
94
83
|
name?: string | undefined;
|
|
95
84
|
fieldKey?: string | undefined;
|
|
96
85
|
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
97
|
-
}) |
|
|
98
|
-
Group: import("react").FC<import("./
|
|
86
|
+
}) | (import("react").FC<{}> & {
|
|
87
|
+
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
99
88
|
} & {
|
|
100
|
-
Group: import("react").FC<import("./
|
|
101
|
-
})
|
|
89
|
+
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
90
|
+
}) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
|
|
91
|
+
options?: any;
|
|
92
|
+
optionSourceType?: "default" | "custom" | "api" | undefined;
|
|
93
|
+
labelField: string;
|
|
94
|
+
valueField: string;
|
|
95
|
+
extraParams?: Record<string, any> | undefined;
|
|
96
|
+
} & {
|
|
97
|
+
dataSource?: any;
|
|
98
|
+
}) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
|
|
99
|
+
onChange: (value: string) => void;
|
|
100
|
+
} & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
102
101
|
export { getFieldComponent, formFieldMap };
|
|
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(iconfont_exports);
|
|
|
35
35
|
var import_icons = require("@ant-design/icons");
|
|
36
36
|
var import_react = __toESM(require("react"));
|
|
37
37
|
var MyIcon = (0, import_icons.createFromIconfontCN)({
|
|
38
|
-
scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.
|
|
38
|
+
scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.9.js"
|
|
39
39
|
// 在 iconfont.cn 上生成
|
|
40
40
|
});
|
|
41
41
|
var IconFont = (props) => {
|