@pisell/materials 1.0.456 → 1.0.458
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +142 -150
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +15 -15
- package/es/components/productCard/hooks/useOpenNote.js +3 -2
- package/es/components/productCard/locales.d.ts +6 -0
- package/es/components/productCard/locales.js +9 -3
- package/es/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
- package/es/components/table/Actions/component/ExportImport/utils/index.js +11 -0
- package/lib/components/productCard/hooks/useOpenNote.js +3 -2
- package/lib/components/productCard/locales.d.ts +6 -0
- package/lib/components/productCard/locales.js +9 -3
- package/lib/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
- package/lib/components/table/Actions/component/ExportImport/utils/index.js +31 -0
- package/package.json +3 -3
|
@@ -41,10 +41,11 @@ var useOpenNote = function useOpenNote(_ref, ref) {
|
|
|
41
41
|
},
|
|
42
42
|
onOk: handleOk,
|
|
43
43
|
destroyOnClose: true,
|
|
44
|
-
className: "pisell-lowcode__booking-select-pet-modal-wrap"
|
|
44
|
+
className: "pisell-lowcode__booking-select-pet-modal-wrap",
|
|
45
|
+
okText: locales.getText('pisell2.product.card.confirm'),
|
|
46
|
+
cancelText: locales.getText('pisell2.product.card.cancel')
|
|
45
47
|
}, /*#__PURE__*/React.createElement(Input.TextArea, {
|
|
46
48
|
size: "large",
|
|
47
|
-
placeholder: locales.getText('pisell2.text.add-order-notes'),
|
|
48
49
|
autoSize: {
|
|
49
50
|
minRows: 4
|
|
50
51
|
},
|
|
@@ -5,6 +5,8 @@ declare const _default: {
|
|
|
5
5
|
'pisell2.product.card.discount.note': string;
|
|
6
6
|
'pisell2.product.card.discount.add.note': string;
|
|
7
7
|
'pisell2.product.card.discount.edit.note': string;
|
|
8
|
+
'pisell2.product.card.confirm': string;
|
|
9
|
+
'pisell2.product.card.discount.cancel': string;
|
|
8
10
|
};
|
|
9
11
|
'zh-CN': {
|
|
10
12
|
'pisell2.product.card.day': (val: number) => string;
|
|
@@ -12,6 +14,8 @@ declare const _default: {
|
|
|
12
14
|
'pisell2.product.card.discount.note': string;
|
|
13
15
|
'pisell2.product.card.discount.add.note': string;
|
|
14
16
|
'pisell2.product.card.discount.edit.note': string;
|
|
17
|
+
'pisell2.product.card.confirm': string;
|
|
18
|
+
'pisell2.product.card.discount.cancel': string;
|
|
15
19
|
};
|
|
16
20
|
'zh-HK': {
|
|
17
21
|
'pisell2.product.card.day': (val: number) => string;
|
|
@@ -19,6 +23,8 @@ declare const _default: {
|
|
|
19
23
|
'pisell2.product.card.discount.note': string;
|
|
20
24
|
'pisell2.product.card.discount.add.note': string;
|
|
21
25
|
'pisell2.product.card.discount.edit.note': string;
|
|
26
|
+
'pisell2.product.card.confirm': string;
|
|
27
|
+
'pisell2.product.card.discount.cancel': string;
|
|
22
28
|
};
|
|
23
29
|
};
|
|
24
30
|
export default _default;
|
|
@@ -6,7 +6,9 @@ export default {
|
|
|
6
6
|
'pisell2.product.card.discount.reason': 'Discount reason',
|
|
7
7
|
'pisell2.product.card.discount.note': 'Note',
|
|
8
8
|
'pisell2.product.card.discount.add.note': 'Add note',
|
|
9
|
-
'pisell2.product.card.discount.edit.note': 'Edit note'
|
|
9
|
+
'pisell2.product.card.discount.edit.note': 'Edit note',
|
|
10
|
+
'pisell2.product.card.confirm': 'Confirm',
|
|
11
|
+
'pisell2.product.card.discount.cancel': 'Cancel'
|
|
10
12
|
},
|
|
11
13
|
'zh-CN': {
|
|
12
14
|
'pisell2.product.card.day': function pisell2ProductCardDay(val) {
|
|
@@ -15,7 +17,9 @@ export default {
|
|
|
15
17
|
'pisell2.product.card.discount.reason': '折扣原因',
|
|
16
18
|
'pisell2.product.card.discount.note': '备注',
|
|
17
19
|
'pisell2.product.card.discount.add.note': '添加备注',
|
|
18
|
-
'pisell2.product.card.discount.edit.note': '编辑备注'
|
|
20
|
+
'pisell2.product.card.discount.edit.note': '编辑备注',
|
|
21
|
+
'pisell2.product.card.confirm': '确定',
|
|
22
|
+
'pisell2.product.card.discount.cancel': '取消'
|
|
19
23
|
},
|
|
20
24
|
'zh-HK': {
|
|
21
25
|
'pisell2.product.card.day': function pisell2ProductCardDay(val) {
|
|
@@ -24,6 +28,8 @@ export default {
|
|
|
24
28
|
'pisell2.product.card.discount.reason': '折扣原因',
|
|
25
29
|
'pisell2.product.card.discount.note': '備註',
|
|
26
30
|
'pisell2.product.card.discount.add.note': '添加備註',
|
|
27
|
-
'pisell2.product.card.discount.edit.note': '編輯備註'
|
|
31
|
+
'pisell2.product.card.discount.edit.note': '編輯備註',
|
|
32
|
+
'pisell2.product.card.confirm': '確定',
|
|
33
|
+
'pisell2.product.card.discount.cancel': '取消'
|
|
28
34
|
}
|
|
29
35
|
};
|
|
@@ -59,13 +59,14 @@ var useOpenNote = ({ onNoteChange }, ref) => {
|
|
|
59
59
|
onCancel: () => setOpen(false),
|
|
60
60
|
onOk: handleOk,
|
|
61
61
|
destroyOnClose: true,
|
|
62
|
-
className: "pisell-lowcode__booking-select-pet-modal-wrap"
|
|
62
|
+
className: "pisell-lowcode__booking-select-pet-modal-wrap",
|
|
63
|
+
okText: import_utils.locales.getText("pisell2.product.card.confirm"),
|
|
64
|
+
cancelText: import_utils.locales.getText("pisell2.product.card.cancel")
|
|
63
65
|
},
|
|
64
66
|
/* @__PURE__ */ import_react.default.createElement(
|
|
65
67
|
import__.Input.TextArea,
|
|
66
68
|
{
|
|
67
69
|
size: "large",
|
|
68
|
-
placeholder: import_utils.locales.getText("pisell2.text.add-order-notes"),
|
|
69
70
|
autoSize: { minRows: 4 },
|
|
70
71
|
allowClear: true,
|
|
71
72
|
value,
|
|
@@ -5,6 +5,8 @@ declare const _default: {
|
|
|
5
5
|
'pisell2.product.card.discount.note': string;
|
|
6
6
|
'pisell2.product.card.discount.add.note': string;
|
|
7
7
|
'pisell2.product.card.discount.edit.note': string;
|
|
8
|
+
'pisell2.product.card.confirm': string;
|
|
9
|
+
'pisell2.product.card.discount.cancel': string;
|
|
8
10
|
};
|
|
9
11
|
'zh-CN': {
|
|
10
12
|
'pisell2.product.card.day': (val: number) => string;
|
|
@@ -12,6 +14,8 @@ declare const _default: {
|
|
|
12
14
|
'pisell2.product.card.discount.note': string;
|
|
13
15
|
'pisell2.product.card.discount.add.note': string;
|
|
14
16
|
'pisell2.product.card.discount.edit.note': string;
|
|
17
|
+
'pisell2.product.card.confirm': string;
|
|
18
|
+
'pisell2.product.card.discount.cancel': string;
|
|
15
19
|
};
|
|
16
20
|
'zh-HK': {
|
|
17
21
|
'pisell2.product.card.day': (val: number) => string;
|
|
@@ -19,6 +23,8 @@ declare const _default: {
|
|
|
19
23
|
'pisell2.product.card.discount.note': string;
|
|
20
24
|
'pisell2.product.card.discount.add.note': string;
|
|
21
25
|
'pisell2.product.card.discount.edit.note': string;
|
|
26
|
+
'pisell2.product.card.confirm': string;
|
|
27
|
+
'pisell2.product.card.discount.cancel': string;
|
|
22
28
|
};
|
|
23
29
|
};
|
|
24
30
|
export default _default;
|
|
@@ -28,20 +28,26 @@ var locales_default = {
|
|
|
28
28
|
"pisell2.product.card.discount.reason": "Discount reason",
|
|
29
29
|
"pisell2.product.card.discount.note": "Note",
|
|
30
30
|
"pisell2.product.card.discount.add.note": "Add note",
|
|
31
|
-
"pisell2.product.card.discount.edit.note": "Edit note"
|
|
31
|
+
"pisell2.product.card.discount.edit.note": "Edit note",
|
|
32
|
+
"pisell2.product.card.confirm": "Confirm",
|
|
33
|
+
"pisell2.product.card.discount.cancel": "Cancel"
|
|
32
34
|
},
|
|
33
35
|
"zh-CN": {
|
|
34
36
|
"pisell2.product.card.day": (val) => "天",
|
|
35
37
|
"pisell2.product.card.discount.reason": "折扣原因",
|
|
36
38
|
"pisell2.product.card.discount.note": "备注",
|
|
37
39
|
"pisell2.product.card.discount.add.note": "添加备注",
|
|
38
|
-
"pisell2.product.card.discount.edit.note": "编辑备注"
|
|
40
|
+
"pisell2.product.card.discount.edit.note": "编辑备注",
|
|
41
|
+
"pisell2.product.card.confirm": "确定",
|
|
42
|
+
"pisell2.product.card.discount.cancel": "取消"
|
|
39
43
|
},
|
|
40
44
|
"zh-HK": {
|
|
41
45
|
"pisell2.product.card.day": (val) => "天",
|
|
42
46
|
"pisell2.product.card.discount.reason": "折扣原因",
|
|
43
47
|
"pisell2.product.card.discount.note": "備註",
|
|
44
48
|
"pisell2.product.card.discount.add.note": "添加備註",
|
|
45
|
-
"pisell2.product.card.discount.edit.note": "編輯備註"
|
|
49
|
+
"pisell2.product.card.discount.edit.note": "編輯備註",
|
|
50
|
+
"pisell2.product.card.confirm": "確定",
|
|
51
|
+
"pisell2.product.card.discount.cancel": "取消"
|
|
46
52
|
}
|
|
47
53
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/components/table/Actions/component/ExportImport/utils/index.ts
|
|
20
|
+
var utils_exports = {};
|
|
21
|
+
__export(utils_exports, {
|
|
22
|
+
formatApiUrl: () => formatApiUrl
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(utils_exports);
|
|
25
|
+
var formatApiUrl = (url) => {
|
|
26
|
+
return url || "/shop/form/data";
|
|
27
|
+
};
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
formatApiUrl
|
|
31
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.458",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
66
66
|
"react-window": "^1.8.10",
|
|
67
67
|
"styled-components": "^6.0.0-rc.3",
|
|
68
|
-
"@pisell/date-picker": "1.0.112",
|
|
69
68
|
"@pisell/icon": "0.0.10",
|
|
70
|
-
"@pisell/utils": "1.0.43"
|
|
69
|
+
"@pisell/utils": "1.0.43",
|
|
70
|
+
"@pisell/date-picker": "1.0.112"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": "^18.0.0",
|