@pisell/private-materials 3.0.20 → 3.0.21
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/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.js +1 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.js +1 -1
- package/package.json +3 -3
|
@@ -27,7 +27,7 @@ var sortArrayByOrder = function sortArrayByOrder(arr1, arr2, reverse) {
|
|
|
27
27
|
var _b = arr2.findIndex(function (item) {
|
|
28
28
|
return item.form_id === b.form_id;
|
|
29
29
|
});
|
|
30
|
-
return reverse ?
|
|
30
|
+
return reverse ? _b - _a : _a - _b;
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
33
|
var SelectResourcesTable = function SelectResourcesTable(_ref) {
|
|
@@ -41,7 +41,7 @@ var sortArrayByOrder = (arr1, arr2, reverse) => {
|
|
|
41
41
|
return (arr1 || []).sort((a, b) => {
|
|
42
42
|
let _a = arr2.findIndex((item) => item.form_id === a.form_id);
|
|
43
43
|
let _b = arr2.findIndex((item) => item.form_id === b.form_id);
|
|
44
|
-
return reverse ?
|
|
44
|
+
return reverse ? _b - _a : _a - _b;
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
var SelectResourcesTable = ({ value, onChange }) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.21",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"react-infinite-scroll-component": "^6.1.0",
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"@pisell/utils": "1.0.23",
|
|
62
|
-
"@pisell/
|
|
63
|
-
"@pisell/
|
|
62
|
+
"@pisell/icon": "0.0.8",
|
|
63
|
+
"@pisell/date-picker": "1.0.68"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"react": "^18.0.0",
|