@pisell/materials 1.0.462 → 1.0.464
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/render/default/view.js +12 -12
- package/build/lowcode/view.js +12 -12
- package/es/components/productCard/components/Packages/components/collapsibleList/index.js +2 -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/components/Packages/components/collapsibleList/index.js +2 -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 +4 -4
|
@@ -64,9 +64,9 @@ var CollapsibleList = function CollapsibleList(props) {
|
|
|
64
64
|
var viewAllText = useMemo(function () {
|
|
65
65
|
var _maxLimit = maxLimit;
|
|
66
66
|
if (_maxLimit === MAX_LIMIT) {
|
|
67
|
-
return locales.getText('pisell2.
|
|
67
|
+
return locales.getText('pisell2.product.card.view-all');
|
|
68
68
|
}
|
|
69
|
-
return locales.getText('pisell2.
|
|
69
|
+
return locales.getText('pisell2.product.card.view-less');
|
|
70
70
|
}, [maxLimit]);
|
|
71
71
|
var _list = useMemo(function () {
|
|
72
72
|
var arr = _toConsumableArray(list);
|
|
@@ -9,6 +9,8 @@ declare const _default: {
|
|
|
9
9
|
'pisell2.product.card.cancel': string;
|
|
10
10
|
'pisell2.product.card.note.pla': string;
|
|
11
11
|
'pisell2.product.card.items.package': string;
|
|
12
|
+
'pisell2.product.card.view-all': string;
|
|
13
|
+
'pisell2.product.card.view-less': string;
|
|
12
14
|
};
|
|
13
15
|
'zh-CN': {
|
|
14
16
|
'pisell2.product.card.day': (val: number) => string;
|
|
@@ -20,6 +22,8 @@ declare const _default: {
|
|
|
20
22
|
'pisell2.product.card.cancel': string;
|
|
21
23
|
'pisell2.product.card.note.pla': string;
|
|
22
24
|
'pisell2.product.card.items.package': string;
|
|
25
|
+
'pisell2.product.card.view-all': string;
|
|
26
|
+
'pisell2.product.card.view-less': string;
|
|
23
27
|
};
|
|
24
28
|
'zh-HK': {
|
|
25
29
|
'pisell2.product.card.day': (val: number) => string;
|
|
@@ -31,6 +35,8 @@ declare const _default: {
|
|
|
31
35
|
'pisell2.product.card.cancel': string;
|
|
32
36
|
'pisell2.product.card.note.pla': string;
|
|
33
37
|
'pisell2.product.card.items.package': string;
|
|
38
|
+
'pisell2.product.card.view-all': string;
|
|
39
|
+
'pisell2.product.card.view-less': string;
|
|
34
40
|
};
|
|
35
41
|
};
|
|
36
42
|
export default _default;
|
|
@@ -10,7 +10,9 @@ export default {
|
|
|
10
10
|
'pisell2.product.card.confirm': 'Confirm',
|
|
11
11
|
'pisell2.product.card.cancel': 'Cancel',
|
|
12
12
|
'pisell2.product.card.note.pla': 'Please enter the note',
|
|
13
|
-
'pisell2.product.card.items.package': 'Items in package'
|
|
13
|
+
'pisell2.product.card.items.package': 'Items in package',
|
|
14
|
+
'pisell2.product.card.view-all': 'View all',
|
|
15
|
+
'pisell2.product.card.view-less': 'View less'
|
|
14
16
|
},
|
|
15
17
|
'zh-CN': {
|
|
16
18
|
'pisell2.product.card.day': function pisell2ProductCardDay(val) {
|
|
@@ -23,7 +25,9 @@ export default {
|
|
|
23
25
|
'pisell2.product.card.confirm': '确定',
|
|
24
26
|
'pisell2.product.card.cancel': '取消',
|
|
25
27
|
'pisell2.product.card.note.pla': '请输入备注',
|
|
26
|
-
'pisell2.product.card.items.package': '包含的商品'
|
|
28
|
+
'pisell2.product.card.items.package': '包含的商品',
|
|
29
|
+
'pisell2.product.card.view-all': '查看全部',
|
|
30
|
+
'pisell2.product.card.view-less': '收起'
|
|
27
31
|
},
|
|
28
32
|
'zh-HK': {
|
|
29
33
|
'pisell2.product.card.day': function pisell2ProductCardDay(val) {
|
|
@@ -36,6 +40,8 @@ export default {
|
|
|
36
40
|
'pisell2.product.card.confirm': '確定',
|
|
37
41
|
'pisell2.product.card.cancel': '取消',
|
|
38
42
|
'pisell2.product.card.note.pla': '請輸入備註',
|
|
39
|
-
'pisell2.product.card.items.package': '包含的商品'
|
|
43
|
+
'pisell2.product.card.items.package': '包含的商品',
|
|
44
|
+
'pisell2.product.card.view-all': '查看全部',
|
|
45
|
+
'pisell2.product.card.view-less': '收起'
|
|
40
46
|
}
|
|
41
47
|
};
|
|
@@ -55,9 +55,9 @@ var CollapsibleList = (props) => {
|
|
|
55
55
|
const viewAllText = (0, import_react.useMemo)(() => {
|
|
56
56
|
let _maxLimit = maxLimit;
|
|
57
57
|
if (_maxLimit === MAX_LIMIT) {
|
|
58
|
-
return import_utils.locales.getText("pisell2.
|
|
58
|
+
return import_utils.locales.getText("pisell2.product.card.view-all");
|
|
59
59
|
}
|
|
60
|
-
return import_utils.locales.getText("pisell2.
|
|
60
|
+
return import_utils.locales.getText("pisell2.product.card.view-less");
|
|
61
61
|
}, [maxLimit]);
|
|
62
62
|
const _list = (0, import_react.useMemo)(() => {
|
|
63
63
|
let arr = [...list];
|
|
@@ -9,6 +9,8 @@ declare const _default: {
|
|
|
9
9
|
'pisell2.product.card.cancel': string;
|
|
10
10
|
'pisell2.product.card.note.pla': string;
|
|
11
11
|
'pisell2.product.card.items.package': string;
|
|
12
|
+
'pisell2.product.card.view-all': string;
|
|
13
|
+
'pisell2.product.card.view-less': string;
|
|
12
14
|
};
|
|
13
15
|
'zh-CN': {
|
|
14
16
|
'pisell2.product.card.day': (val: number) => string;
|
|
@@ -20,6 +22,8 @@ declare const _default: {
|
|
|
20
22
|
'pisell2.product.card.cancel': string;
|
|
21
23
|
'pisell2.product.card.note.pla': string;
|
|
22
24
|
'pisell2.product.card.items.package': string;
|
|
25
|
+
'pisell2.product.card.view-all': string;
|
|
26
|
+
'pisell2.product.card.view-less': string;
|
|
23
27
|
};
|
|
24
28
|
'zh-HK': {
|
|
25
29
|
'pisell2.product.card.day': (val: number) => string;
|
|
@@ -31,6 +35,8 @@ declare const _default: {
|
|
|
31
35
|
'pisell2.product.card.cancel': string;
|
|
32
36
|
'pisell2.product.card.note.pla': string;
|
|
33
37
|
'pisell2.product.card.items.package': string;
|
|
38
|
+
'pisell2.product.card.view-all': string;
|
|
39
|
+
'pisell2.product.card.view-less': string;
|
|
34
40
|
};
|
|
35
41
|
};
|
|
36
42
|
export default _default;
|
|
@@ -32,7 +32,9 @@ var locales_default = {
|
|
|
32
32
|
"pisell2.product.card.confirm": "Confirm",
|
|
33
33
|
"pisell2.product.card.cancel": "Cancel",
|
|
34
34
|
"pisell2.product.card.note.pla": "Please enter the note",
|
|
35
|
-
"pisell2.product.card.items.package": "Items in package"
|
|
35
|
+
"pisell2.product.card.items.package": "Items in package",
|
|
36
|
+
"pisell2.product.card.view-all": "View all",
|
|
37
|
+
"pisell2.product.card.view-less": "View less"
|
|
36
38
|
},
|
|
37
39
|
"zh-CN": {
|
|
38
40
|
"pisell2.product.card.day": (val) => "天",
|
|
@@ -43,7 +45,9 @@ var locales_default = {
|
|
|
43
45
|
"pisell2.product.card.confirm": "确定",
|
|
44
46
|
"pisell2.product.card.cancel": "取消",
|
|
45
47
|
"pisell2.product.card.note.pla": "请输入备注",
|
|
46
|
-
"pisell2.product.card.items.package": "包含的商品"
|
|
48
|
+
"pisell2.product.card.items.package": "包含的商品",
|
|
49
|
+
"pisell2.product.card.view-all": "查看全部",
|
|
50
|
+
"pisell2.product.card.view-less": "收起"
|
|
47
51
|
},
|
|
48
52
|
"zh-HK": {
|
|
49
53
|
"pisell2.product.card.day": (val) => "天",
|
|
@@ -54,6 +58,8 @@ var locales_default = {
|
|
|
54
58
|
"pisell2.product.card.confirm": "確定",
|
|
55
59
|
"pisell2.product.card.cancel": "取消",
|
|
56
60
|
"pisell2.product.card.note.pla": "請輸入備註",
|
|
57
|
-
"pisell2.product.card.items.package": "包含的商品"
|
|
61
|
+
"pisell2.product.card.items.package": "包含的商品",
|
|
62
|
+
"pisell2.product.card.view-all": "查看全部",
|
|
63
|
+
"pisell2.product.card.view-less": "收起"
|
|
58
64
|
}
|
|
59
65
|
};
|
|
@@ -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.464",
|
|
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.
|
|
69
|
-
"@pisell/
|
|
70
|
-
"@pisell/
|
|
68
|
+
"@pisell/date-picker": "1.0.113",
|
|
69
|
+
"@pisell/icon": "0.0.10",
|
|
70
|
+
"@pisell/utils": "1.0.43"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": "^18.0.0",
|