@sheinx/base 3.9.6-beta.3 → 3.9.6-beta.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-list-header.d.ts","sourceRoot":"","sources":["transfer-list-header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,QAAA,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"transfer-list-header.d.ts","sourceRoot":"","sources":["transfer-list-header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,QAAA,MAAM,kBAAkB,sIAsHvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -30,9 +30,10 @@ var TransferListHeader = function TransferListHeader(props) {
|
|
|
30
30
|
}
|
|
31
31
|
var every = true;
|
|
32
32
|
var some = false;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
if (data.length === 0) return false;
|
|
34
|
+
data.forEach(function (item) {
|
|
35
|
+
// 跳过禁用的项,不计入复选框状态
|
|
36
|
+
if (listDatum.disabledCheck(item)) return;
|
|
36
37
|
if (!listDatum.check(item)) {
|
|
37
38
|
every = false;
|
|
38
39
|
} else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-list-header.d.ts","sourceRoot":"","sources":["transfer-list-header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,QAAA,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"transfer-list-header.d.ts","sourceRoot":"","sources":["transfer-list-header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAGtE,QAAA,MAAM,kBAAkB,sIAsHvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -24,9 +24,10 @@ var TransferListHeader = function TransferListHeader(props) {
|
|
|
24
24
|
}
|
|
25
25
|
var every = true;
|
|
26
26
|
var some = false;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
if (data.length === 0) return false;
|
|
28
|
+
data.forEach(function (item) {
|
|
29
|
+
// 跳过禁用的项,不计入复选框状态
|
|
30
|
+
if (listDatum.disabledCheck(item)) return;
|
|
30
31
|
if (!listDatum.check(item)) {
|
|
31
32
|
every = false;
|
|
32
33
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.9.6-beta.
|
|
3
|
+
"version": "3.9.6-beta.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.9.6-beta.
|
|
13
|
+
"@sheinx/hooks": "3.9.6-beta.4",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.3.3"
|