@pisell/materials 2.2.99 → 2.2.100
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 +6 -6
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +21 -21
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +22 -22
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/es/components/date-picker/datePickerCpt.d.ts +1 -0
- package/es/components/drag-sort-tree/TreeItem/index.js +2 -1
- package/es/components/iconfont/index.js +1 -1
- package/es/components/list/index.d.ts +1 -0
- package/es/components/lowCodePage/index.d.ts +1 -0
- package/es/components/pisellAdjustPrice/index.d.ts +1 -0
- package/es/components/pisellAdjustPrice/index.js +5 -1
- package/es/components/pisellAdjustPrice/type.d.ts +2 -0
- package/es/components/pisellCardList/index.d.ts +30 -2
- package/es/components/pisellCardList/index.js +38 -3
- package/es/components/pisellCardList/index.less +9 -1
- package/es/components/pisellCheckboxGroup/index.d.ts +2 -0
- package/es/components/pisellCheckboxGroup/index.js +5 -3
- package/es/components/pisellCheckboxGroup/index.less +22 -1
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/es/components/pisellLoading/index.d.ts +1 -0
- package/es/components/pisellWalletPassCard/index.d.ts +53 -1
- package/es/components/pisellWalletPassCard/index.js +333 -75
- package/es/components/pisellWalletPassCard/index.less +48 -11
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +5 -1
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.js +1 -1
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/index.js +0 -2
- package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
- package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
- package/es/components/productCard/components/Header/index.d.ts +1 -0
- package/es/components/productCard/components/Note/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Sales/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/es/components/qrcode/index.d.ts +1 -0
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/es/components/table/BasicTable/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- 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/fields/date/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/View/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Number/index.js +4 -1
- package/es/components/virtual-keyboard/Number/types.d.ts +1 -0
- package/es/index.d.ts +1 -0
- package/es/locales/en-US.d.ts +6 -0
- package/es/locales/en-US.js +9 -2
- package/es/locales/zh-CN.d.ts +6 -0
- package/es/locales/zh-CN.js +9 -2
- package/es/locales/zh-TW.d.ts +6 -0
- package/es/locales/zh-TW.js +9 -2
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
- package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
- package/lib/components/drag-sort-tree/TreeItem/index.js +2 -1
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/list/index.d.ts +1 -0
- package/lib/components/lowCodePage/index.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/index.js +4 -0
- package/lib/components/pisellAdjustPrice/type.d.ts +2 -0
- package/lib/components/pisellCardList/index.d.ts +30 -2
- package/lib/components/pisellCardList/index.js +38 -3
- package/lib/components/pisellCardList/index.less +9 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +2 -0
- package/lib/components/pisellCheckboxGroup/index.js +4 -1
- package/lib/components/pisellCheckboxGroup/index.less +22 -1
- package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/lib/components/pisellLoading/index.d.ts +1 -0
- package/lib/components/pisellWalletPassCard/index.d.ts +53 -1
- package/lib/components/pisellWalletPassCard/index.js +253 -59
- package/lib/components/pisellWalletPassCard/index.less +48 -11
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +1 -1
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +1 -1
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/index.js +1 -1
- package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/index.d.ts +1 -0
- package/lib/components/productCard/components/Note/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Sales/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/lib/components/qrcode/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
- package/lib/components/table/BasicTable/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- 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/fields/date/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/View/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Number/index.js +3 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/locales/en-US.d.ts +6 -0
- package/lib/locales/en-US.js +9 -2
- package/lib/locales/zh-CN.d.ts +6 -0
- package/lib/locales/zh-CN.js +9 -2
- package/lib/locales/zh-TW.d.ts +6 -0
- package/lib/locales/zh-TW.js +9 -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
|
@@ -25,15 +25,25 @@
|
|
|
25
25
|
|
|
26
26
|
.actions-btn-wrapper {
|
|
27
27
|
position: absolute;
|
|
28
|
-
top:
|
|
29
|
-
right:
|
|
28
|
+
top: 0px;
|
|
29
|
+
right: 0px;
|
|
30
30
|
z-index: 2;
|
|
31
31
|
display: flex;
|
|
32
|
-
gap:
|
|
32
|
+
gap: 0px;
|
|
33
|
+
z-index: 3;
|
|
33
34
|
|
|
34
35
|
& > div {
|
|
35
36
|
cursor: pointer;
|
|
36
37
|
}
|
|
38
|
+
.pisell-card-status-icon {
|
|
39
|
+
padding: 12px 8px;
|
|
40
|
+
}
|
|
41
|
+
.pisell-card-actions-edit-btn {
|
|
42
|
+
padding: 12px 8px 20px;
|
|
43
|
+
}
|
|
44
|
+
.pisell-card-actions-detail-btn {
|
|
45
|
+
padding: 12px 8px 20px;
|
|
46
|
+
}
|
|
37
47
|
}
|
|
38
48
|
|
|
39
49
|
.pisell-wallet-pass-card-body {
|
|
@@ -47,12 +57,13 @@
|
|
|
47
57
|
display: flex;
|
|
48
58
|
flex-direction: column;
|
|
49
59
|
justify-content: space-between;
|
|
60
|
+
position: relative;
|
|
61
|
+
z-index: 2;
|
|
50
62
|
}
|
|
51
63
|
|
|
52
64
|
.pisell-card-name-wrap {
|
|
53
65
|
font-weight: 500;
|
|
54
66
|
line-height: 20px;
|
|
55
|
-
|
|
56
67
|
white-space: nowrap;
|
|
57
68
|
overflow: hidden;
|
|
58
69
|
text-overflow: ellipsis;
|
|
@@ -95,7 +106,7 @@
|
|
|
95
106
|
.pisell-card-amount-item-value {
|
|
96
107
|
font-size: 20px;
|
|
97
108
|
font-weight: 600;
|
|
98
|
-
line-height:
|
|
109
|
+
line-height: 20px;
|
|
99
110
|
overflow: hidden;
|
|
100
111
|
text-overflow: ellipsis;
|
|
101
112
|
}
|
|
@@ -188,10 +199,10 @@
|
|
|
188
199
|
.pisell-card-name-wrap {
|
|
189
200
|
font-weight: 600;
|
|
190
201
|
font-size: 16px;
|
|
191
|
-
max-width: calc(100% - 96px);
|
|
192
202
|
white-space: nowrap;
|
|
193
203
|
overflow: hidden;
|
|
194
204
|
text-overflow: ellipsis;
|
|
205
|
+
min-width: 12px;
|
|
195
206
|
}
|
|
196
207
|
|
|
197
208
|
.pisell-card-store-name {
|
|
@@ -208,19 +219,36 @@
|
|
|
208
219
|
visibility: hidden;
|
|
209
220
|
flex-direction: row;
|
|
210
221
|
align-items: center;
|
|
222
|
+
margin-bottom: 4px;
|
|
223
|
+
|
|
224
|
+
.pisell-card-amount-item-label-icon {
|
|
225
|
+
font-size: 20px;
|
|
226
|
+
margin-right: 8px;
|
|
227
|
+
}
|
|
211
228
|
|
|
212
229
|
.pisell-card-amount-item-label,
|
|
213
230
|
.pisell-card-amount-item-value {
|
|
214
|
-
color: var(--
|
|
215
|
-
font-size: 20px;
|
|
231
|
+
color: var(--Gray-500, #667085);
|
|
216
232
|
font-style: normal;
|
|
217
233
|
font-weight: 600;
|
|
218
234
|
}
|
|
235
|
+
.pisell-card-amount-item-label {
|
|
236
|
+
font-size: 14px;
|
|
237
|
+
}
|
|
238
|
+
.pisell-card-amount-item-value {
|
|
239
|
+
font-size: 20px;
|
|
240
|
+
}
|
|
219
241
|
}
|
|
220
242
|
|
|
221
243
|
&.active {
|
|
222
244
|
.pisell-wallet-pass-card-redeem {
|
|
223
|
-
|
|
245
|
+
.pisell-card-amount-item-label,
|
|
246
|
+
.pisell-card-amount-item-value {
|
|
247
|
+
color: var(--Primary-600, #7f56d9);
|
|
248
|
+
}
|
|
249
|
+
.pisell-card-amount-item-value {
|
|
250
|
+
text-decoration: underline;
|
|
251
|
+
}
|
|
224
252
|
}
|
|
225
253
|
}
|
|
226
254
|
|
|
@@ -239,8 +267,17 @@
|
|
|
239
267
|
|
|
240
268
|
.pisell-card-checked-icon {
|
|
241
269
|
position: absolute;
|
|
242
|
-
bottom:
|
|
243
|
-
right:
|
|
270
|
+
bottom: 0;
|
|
271
|
+
right: 0;
|
|
272
|
+
padding: 16px 16px 16px 32px;
|
|
273
|
+
z-index: 10;
|
|
274
|
+
.pisell-lowcode-radio-wrapper {
|
|
275
|
+
margin: 0;
|
|
276
|
+
}
|
|
277
|
+
.pisell-lowcode-radio-inner {
|
|
278
|
+
width: 20px;
|
|
279
|
+
height: 20px;
|
|
280
|
+
}
|
|
244
281
|
}
|
|
245
282
|
}
|
|
246
283
|
|
|
@@ -43,7 +43,11 @@ var Footer = function Footer(_ref) {
|
|
|
43
43
|
}, reason);
|
|
44
44
|
}));
|
|
45
45
|
}
|
|
46
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Divider,
|
|
46
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Divider, {
|
|
47
|
+
style: {
|
|
48
|
+
margin: 0
|
|
49
|
+
}
|
|
50
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
47
51
|
className: "".concat(PREFIX, "_discount-reason")
|
|
48
52
|
}, /*#__PURE__*/React.createElement("span", null, "".concat(locales.getText('pisell2.product.card.discount.reason'), ": ").concat(discount_reason))));
|
|
49
53
|
}
|
|
@@ -20,7 +20,7 @@ var DiscountReason = function DiscountReason(props) {
|
|
|
20
20
|
var renderDivider = function renderDivider() {
|
|
21
21
|
return isDiscount && discount_reason && !hideDivider ? /*#__PURE__*/React.createElement(Divider, {
|
|
22
22
|
style: {
|
|
23
|
-
margin:
|
|
23
|
+
margin: 0
|
|
24
24
|
}
|
|
25
25
|
}) : null;
|
|
26
26
|
};
|
|
@@ -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;
|
|
@@ -155,8 +155,6 @@ var CartSkuCard = function CartSkuCard(props) {
|
|
|
155
155
|
item: dataSource,
|
|
156
156
|
hideDivider: hideDivider,
|
|
157
157
|
type: "total"
|
|
158
|
-
}), /*#__PURE__*/React.createElement(DiscountReason, {
|
|
159
|
-
dataSource: dataSource
|
|
160
158
|
}), isShowNote ? /*#__PURE__*/React.createElement(Note, _extends({}, other, {
|
|
161
159
|
item: dataSource,
|
|
162
160
|
openNote: function openNote() {
|
|
@@ -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,2 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
2
3
|
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
|
+
}) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "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 {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["min", "max", "doneText", "resetText", "defaultValue", "placeholder", "onEnter", "selectType"];
|
|
2
|
+
var _excluded = ["min", "max", "doneText", "resetText", "defaultValue", "placeholder", "onEnter", "selectType", "defaultSelect"];
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -31,6 +31,7 @@ var _Number = function _Number(props) {
|
|
|
31
31
|
onEnter = props.onEnter,
|
|
32
32
|
_props$selectType = props.selectType,
|
|
33
33
|
selectType = _props$selectType === void 0 ? 'light' : _props$selectType,
|
|
34
|
+
defaultSelect = props.defaultSelect,
|
|
34
35
|
others = _objectWithoutProperties(props, _excluded);
|
|
35
36
|
var config = usePisellConfig();
|
|
36
37
|
var _useControllableValue = useControllableValue(props, {
|
|
@@ -86,11 +87,13 @@ var _Number = function _Number(props) {
|
|
|
86
87
|
max: max,
|
|
87
88
|
min: min,
|
|
88
89
|
value: value,
|
|
90
|
+
defaultValue: defaultValue,
|
|
89
91
|
onChange: setValue,
|
|
90
92
|
placeholder: placeholder,
|
|
91
93
|
doneText: doneText,
|
|
92
94
|
resetText: resetText,
|
|
93
95
|
onEnter: onEnter,
|
|
96
|
+
defaultSelect: defaultSelect,
|
|
94
97
|
rightItemsStyle: {
|
|
95
98
|
buttonBackgroundColor: configColor.buttonBackgroundColor,
|
|
96
99
|
textColor: configColor.textColor,
|
|
@@ -8,6 +8,7 @@ export interface NumberProps {
|
|
|
8
8
|
value?: string | number;
|
|
9
9
|
onChange?: (val: string | number) => void;
|
|
10
10
|
onEnter?: (val: string | number) => void;
|
|
11
|
+
defaultSelect?: boolean;
|
|
11
12
|
selectType?: 'light' | 'dark';
|
|
12
13
|
backgroundColor?: string;
|
|
13
14
|
containerBackgroundColor?: string;
|
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,11 @@ 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;
|
|
280
|
+
'pisell-wallet-pass-card-status-conflict': string;
|
|
281
|
+
'pisell-wallet-pass-card-reset': string;
|
|
282
|
+
'pisell-wallet-pass-card-done': string;
|
|
277
283
|
};
|
|
278
284
|
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,12 @@ 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',
|
|
346
|
+
'pisell-wallet-pass-card-status-conflict': 'Conflict',
|
|
347
|
+
'pisell-wallet-pass-card-reset': 'Reset',
|
|
348
|
+
'pisell-wallet-pass-card-done': 'Done'
|
|
342
349
|
};
|
package/es/locales/zh-CN.d.ts
CHANGED
|
@@ -269,5 +269,11 @@ 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;
|
|
275
|
+
'pisell-wallet-pass-card-status-conflict': string;
|
|
276
|
+
'pisell-wallet-pass-card-reset': string;
|
|
277
|
+
'pisell-wallet-pass-card-done': string;
|
|
272
278
|
};
|
|
273
279
|
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,12 @@ 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': '已禁用',
|
|
337
|
+
'pisell-wallet-pass-card-status-conflict': '冲突',
|
|
338
|
+
'pisell-wallet-pass-card-reset': '清空',
|
|
339
|
+
'pisell-wallet-pass-card-done': '保存'
|
|
333
340
|
};
|
package/es/locales/zh-TW.d.ts
CHANGED
|
@@ -269,5 +269,11 @@ 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;
|
|
275
|
+
'pisell-wallet-pass-card-status-conflict': string;
|
|
276
|
+
'pisell-wallet-pass-card-reset': string;
|
|
277
|
+
'pisell-wallet-pass-card-done': string;
|
|
272
278
|
};
|
|
273
279
|
export default _default;
|