@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;
|
|
@@ -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/lib/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;
|
|
@@ -36,7 +36,7 @@ var import_iconfont = __toESM(require("../../../iconfont"));
|
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_react = __toESM(require("react"));
|
|
38
38
|
var import_SelectField = __toESM(require("../SelectField"));
|
|
39
|
-
var import_index =
|
|
39
|
+
var import_index = require("./index.less");
|
|
40
40
|
var import_hooks = require("../../../../hooks");
|
|
41
41
|
var import_model = require("../../model");
|
|
42
42
|
var AddFieldModal = () => {
|
|
@@ -85,7 +85,7 @@ var AddFieldModal = () => {
|
|
|
85
85
|
},
|
|
86
86
|
onFinish: addField
|
|
87
87
|
},
|
|
88
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className:
|
|
88
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-add-field-modal" }, /* @__PURE__ */ import_react.default.createElement(
|
|
89
89
|
import_antd.Form.Item,
|
|
90
90
|
{
|
|
91
91
|
label: "Field Name",
|
|
@@ -101,13 +101,13 @@ var AddFieldModal = () => {
|
|
|
101
101
|
import_antd.Input,
|
|
102
102
|
{
|
|
103
103
|
placeholder: "Field name (optional)",
|
|
104
|
-
className:
|
|
104
|
+
className: "pisell-lowcode-header-search"
|
|
105
105
|
}
|
|
106
106
|
)
|
|
107
|
-
), /* @__PURE__ */ import_react.default.createElement(import_SelectField.default, null), /* @__PURE__ */ import_react.default.createElement("div", { className:
|
|
107
|
+
), /* @__PURE__ */ import_react.default.createElement(import_SelectField.default, null), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-modal-footer" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-add-describe" }, /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { type: "pi-Plus", className: "pisell-lowcode-icon" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "pisell-lowcode-label" }, "Add description")), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-btns" }, /* @__PURE__ */ import_react.default.createElement(
|
|
108
108
|
"div",
|
|
109
109
|
{
|
|
110
|
-
className:
|
|
110
|
+
className: "pisell-lowcode-cancel",
|
|
111
111
|
onClick: () => {
|
|
112
112
|
onCloseModal();
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@ var AddFieldModal = () => {
|
|
|
116
116
|
), /* @__PURE__ */ import_react.default.createElement(
|
|
117
117
|
"div",
|
|
118
118
|
{
|
|
119
|
-
className:
|
|
119
|
+
className: "pisell-lowcode-submit",
|
|
120
120
|
onClick: () => {
|
|
121
121
|
form.submit();
|
|
122
122
|
}
|
|
@@ -136,7 +136,7 @@ var AddFieldModal = () => {
|
|
|
136
136
|
placement: "bottomRight",
|
|
137
137
|
overlayInnerStyle: { padding: 0 },
|
|
138
138
|
trigger: "click",
|
|
139
|
-
overlayClassName:
|
|
139
|
+
overlayClassName: "pisell-lowcode-popover-wrap",
|
|
140
140
|
onOpenChange: (e) => {
|
|
141
141
|
if (!e) {
|
|
142
142
|
onCloseModal();
|
|
@@ -146,11 +146,11 @@ var AddFieldModal = () => {
|
|
|
146
146
|
},
|
|
147
147
|
open: openModal
|
|
148
148
|
},
|
|
149
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className:
|
|
149
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-add-field-btn" }, /* @__PURE__ */ import_react.default.createElement(
|
|
150
150
|
import_iconfont.default,
|
|
151
151
|
{
|
|
152
152
|
type: "pi-a-Property3Add",
|
|
153
|
-
className:
|
|
153
|
+
className: "pisell-lowcode-add-field-icon"
|
|
154
154
|
}
|
|
155
155
|
))
|
|
156
156
|
);
|
|
@@ -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/lib/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/lib/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/lib/locales/en-US.js
CHANGED
|
@@ -153,7 +153,7 @@ var en_US_default = {
|
|
|
153
153
|
"pisell-wallet-pass-card-name": "Name",
|
|
154
154
|
"pisell-wallet-pass-card-store-name": "StoreName",
|
|
155
155
|
"pisell-wallet-pass-card-balance": "Balance",
|
|
156
|
-
"pisell-wallet-pass-card-redeem": "
|
|
156
|
+
"pisell-wallet-pass-card-redeem": "use",
|
|
157
157
|
"pisell-wallet-pass-card-code": "Code",
|
|
158
158
|
"pisell-wallet-pass-card-valid-to": "Valid to",
|
|
159
159
|
"pisell-wallet-pass-card-confirm": "Confirm",
|
|
@@ -326,5 +326,9 @@ var en_US_default = {
|
|
|
326
326
|
"pisell2.text.goodpass.product-vouchers": "Promotions & Vouchers",
|
|
327
327
|
"pisell2.text.goodpass.last-settlement": "(Last payment)",
|
|
328
328
|
"pisell2.text.goodpass.view-more": "View More",
|
|
329
|
-
"pisell2.text.goodpass.save": "Save"
|
|
329
|
+
"pisell2.text.goodpass.save": "Save",
|
|
330
|
+
// 钱包卡片组件
|
|
331
|
+
"pisell-wallet-pass-card-status-used": "Used",
|
|
332
|
+
"pisell-wallet-pass-card-status-expired": "Expired",
|
|
333
|
+
"pisell-wallet-pass-card-status-disabled": "Disabled"
|
|
330
334
|
};
|
package/lib/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/lib/locales/zh-CN.js
CHANGED
|
@@ -153,7 +153,7 @@ var zh_CN_default = {
|
|
|
153
153
|
"pisell-wallet-pass-card-name": "商品名称",
|
|
154
154
|
"pisell-wallet-pass-card-store-name": "共享店铺名称",
|
|
155
155
|
"pisell-wallet-pass-card-balance": "余额",
|
|
156
|
-
"pisell-wallet-pass-card-redeem": "
|
|
156
|
+
"pisell-wallet-pass-card-redeem": "使用",
|
|
157
157
|
"pisell-wallet-pass-card-code": "识别码编号",
|
|
158
158
|
"pisell-wallet-pass-card-valid-to": "有效期至",
|
|
159
159
|
"pisell-wallet-pass-card-confirm": "确认",
|
|
@@ -317,5 +317,9 @@ var zh_CN_default = {
|
|
|
317
317
|
"pisell2.text.goodpass.product-vouchers": "优惠促销",
|
|
318
318
|
"pisell2.text.goodpass.last-settlement": "(上次结算)",
|
|
319
319
|
"pisell2.text.goodpass.view-more": "查看更多",
|
|
320
|
-
"pisell2.text.goodpass.save": "节省"
|
|
320
|
+
"pisell2.text.goodpass.save": "节省",
|
|
321
|
+
// 钱包卡片组件
|
|
322
|
+
"pisell-wallet-pass-card-status-used": "已使用",
|
|
323
|
+
"pisell-wallet-pass-card-status-expired": "已过期",
|
|
324
|
+
"pisell-wallet-pass-card-status-disabled": "已禁用"
|
|
321
325
|
};
|
package/lib/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/lib/locales/zh-TW.js
CHANGED
|
@@ -153,7 +153,7 @@ var zh_TW_default = {
|
|
|
153
153
|
"pisell-wallet-pass-card-name": "商品名稱",
|
|
154
154
|
"pisell-wallet-pass-card-store-name": "共享店鋪名稱",
|
|
155
155
|
"pisell-wallet-pass-card-balance": "餘額",
|
|
156
|
-
"pisell-wallet-pass-card-redeem": "
|
|
156
|
+
"pisell-wallet-pass-card-redeem": "使用",
|
|
157
157
|
"pisell-wallet-pass-card-code": "識別碼編號",
|
|
158
158
|
"pisell-wallet-pass-card-valid-to": "有效期至",
|
|
159
159
|
"pisell-wallet-pass-card-confirm": "確認",
|
|
@@ -318,5 +318,9 @@ var zh_TW_default = {
|
|
|
318
318
|
"pisell2.text.goodpass.product-vouchers": "優惠促銷",
|
|
319
319
|
"pisell2.text.goodpass.last-settlement": "(上次結算)",
|
|
320
320
|
"pisell2.text.goodpass.view-more": "查看更多",
|
|
321
|
-
"pisell2.text.goodpass.save": "節省"
|
|
321
|
+
"pisell2.text.goodpass.save": "節省",
|
|
322
|
+
// 钱包卡片组件
|
|
323
|
+
"pisell-wallet-pass-card-status-used": "已使用",
|
|
324
|
+
"pisell-wallet-pass-card-status-expired": "已過期",
|
|
325
|
+
"pisell-wallet-pass-card-status-disabled": "已禁用"
|
|
322
326
|
};
|
package/lib/utils/platform.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isMobile: () =>
|
|
1
|
+
export declare const isMobile: () => boolean;
|
|
@@ -167,6 +167,50 @@ export default {
|
|
|
167
167
|
setter: 'BoolSetter',
|
|
168
168
|
defaultValue: true,
|
|
169
169
|
},
|
|
170
|
+
{
|
|
171
|
+
type: 'group',
|
|
172
|
+
title: '商品名称样式',
|
|
173
|
+
display: 'entry',
|
|
174
|
+
condition: (target: IPublicModelSettingField) => {
|
|
175
|
+
return target.parent.getPropValue('showName') === true;
|
|
176
|
+
},
|
|
177
|
+
items: [
|
|
178
|
+
{
|
|
179
|
+
name: 'nameTitleStyle.fontSize',
|
|
180
|
+
title: {
|
|
181
|
+
type: 'i18n',
|
|
182
|
+
'en-US': 'Font Size',
|
|
183
|
+
'zh-CN': '字号',
|
|
184
|
+
},
|
|
185
|
+
setter: 'NumberSetter'
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: 'nameTitleStyle.fontWeight',
|
|
189
|
+
title: {
|
|
190
|
+
type: 'i18n',
|
|
191
|
+
'en-US': 'Font Weight',
|
|
192
|
+
'zh-CN': '字重',
|
|
193
|
+
},
|
|
194
|
+
setter: 'NumberSetter'
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'nameTitleStyle.color',
|
|
198
|
+
title: {
|
|
199
|
+
type: 'i18n',
|
|
200
|
+
'en-US': 'Color',
|
|
201
|
+
'zh-CN': '颜色',
|
|
202
|
+
},
|
|
203
|
+
setter: 'ColorSetter'
|
|
204
|
+
},
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
name: 'showStatus',
|
|
209
|
+
title: { label: '显示状态标识', tip: '显示状态标识' },
|
|
210
|
+
propType: 'bool',
|
|
211
|
+
setter: 'BoolSetter',
|
|
212
|
+
defaultValue: true,
|
|
213
|
+
},
|
|
170
214
|
{
|
|
171
215
|
name: 'showStoreName',
|
|
172
216
|
title: { label: '显示共享店铺名称', tip: '显示共享店铺名称' },
|
|
@@ -258,9 +302,14 @@ export default {
|
|
|
258
302
|
},
|
|
259
303
|
{
|
|
260
304
|
name: 'onConfirmEdit',
|
|
261
|
-
|
|
305
|
+
template:
|
|
262
306
|
"onConfirmEdit(value, index){\n// 编辑弹窗点击确认\nconsole.log('onConfirmEdit');}",
|
|
263
307
|
},
|
|
308
|
+
{
|
|
309
|
+
name: 'onConfirmEditAmount',
|
|
310
|
+
template:
|
|
311
|
+
"onConfirmEditAmount(value, index){\n// 编辑金额点击确认\nconsole.log('onConfirmEditAmount');}",
|
|
312
|
+
},
|
|
264
313
|
],
|
|
265
314
|
},
|
|
266
315
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.37",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"dev": "father dev",
|
|
6
|
+
"build": "father build",
|
|
7
|
+
"lowcode:dev": "build-scripts start --config ./build.lowcode.js",
|
|
8
|
+
"lowcode:build": " build-scripts build --config ./build.lowcode.js"
|
|
9
|
+
},
|
|
4
10
|
"main": "./lib/index.js",
|
|
5
11
|
"module": "./es/index.js",
|
|
6
12
|
"types": "./lib/index.d.ts",
|
|
@@ -55,6 +61,9 @@
|
|
|
55
61
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
56
62
|
"@dnd-kit/sortable": "^7.0.2",
|
|
57
63
|
"@dnd-kit/utilities": "^3.2.1",
|
|
64
|
+
"@pisell/date-picker": "workspace:*",
|
|
65
|
+
"@pisell/icon": "workspace:*",
|
|
66
|
+
"@pisell/utils": "workspace:*",
|
|
58
67
|
"@react-spring/web": "^9.6.1",
|
|
59
68
|
"@use-gesture/react": "^10.3.1",
|
|
60
69
|
"@zxing/library": "0.21.2",
|
|
@@ -73,9 +82,7 @@
|
|
|
73
82
|
"styled-components": "^6.0.0-rc.3",
|
|
74
83
|
"swiper": "^8.4.7",
|
|
75
84
|
"vod-js-sdk-v6": "^1.4.11",
|
|
76
|
-
"
|
|
77
|
-
"@pisell/utils": "3.0.0",
|
|
78
|
-
"@pisell/icon": "0.0.11"
|
|
85
|
+
"antd-mobile": "^5.38.1"
|
|
79
86
|
},
|
|
80
87
|
"peerDependencies": {
|
|
81
88
|
"react": "^18.0.0",
|
|
@@ -83,11 +90,5 @@
|
|
|
83
90
|
},
|
|
84
91
|
"componentConfig": {
|
|
85
92
|
"materialSchema": "https://unpkg.com/@pisell/materials@1.0.1/build/lowcode/assets-prod.json"
|
|
86
|
-
},
|
|
87
|
-
"scripts": {
|
|
88
|
-
"dev": "father dev",
|
|
89
|
-
"build": "father build",
|
|
90
|
-
"lowcode:dev": "build-scripts start --config ./build.lowcode.js",
|
|
91
|
-
"lowcode:build": " build-scripts build --config ./build.lowcode.js"
|
|
92
93
|
}
|
|
93
94
|
}
|