@zkwq/business 0.0.44 → 0.0.45
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/dist/css/AggsItemH.css +8 -8
- package/dist/css/AggsItemH.min.css +1 -1
- package/dist/css/AggsItemV.css +23 -23
- package/dist/css/AggsItemV.min.css +1 -1
- package/dist/css/Annex.css +23 -22
- package/dist/css/Annex.min.css +1 -1
- package/dist/css/Cover.css +2 -3
- package/dist/css/Cover.min.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +21 -12
- package/dist/index.min.css +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.min.cjs +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -23156,13 +23156,19 @@ const PC = {
|
|
|
23156
23156
|
},
|
|
23157
23157
|
methods: {
|
|
23158
23158
|
selectChange(e) {
|
|
23159
|
-
e.key == this.allKey
|
|
23160
|
-
"
|
|
23161
|
-
|
|
23162
|
-
|
|
23163
|
-
|
|
23164
|
-
|
|
23165
|
-
|
|
23159
|
+
if (e.key == this.allKey)
|
|
23160
|
+
this.checkdKeys = [this.allKey], this.$emit("update:checkList", []), this.$emit(
|
|
23161
|
+
"change",
|
|
23162
|
+
[]
|
|
23163
|
+
);
|
|
23164
|
+
else {
|
|
23165
|
+
this.single && (this.checkdKeys = []), this.checkdKeys.includes(e.key) ? (this.checkdKeys.splice(this.checkdKeys.indexOf(e.key), 1), this.checkdKeys.length == 0 && (this.checkdKeys = [this.allKey])) : (this.checkdKeys.includes(this.allKey) && this.checkdKeys.splice(this.checkdKeys.indexOf(this.allKey), 1), this.checkdKeys.push(e.key));
|
|
23166
|
+
let t = this.itemDatas.filter((s) => this.checkdKeys.includes(s.key)).filter((s) => s.key != this.allKey).map((s) => s.key);
|
|
23167
|
+
this.$emit("update:checkList", t), this.$emit(
|
|
23168
|
+
"change",
|
|
23169
|
+
t
|
|
23170
|
+
);
|
|
23171
|
+
}
|
|
23166
23172
|
}
|
|
23167
23173
|
}
|
|
23168
23174
|
}, Wr = {};
|
|
@@ -23172,7 +23178,7 @@ var OC = /* @__PURE__ */ b(
|
|
|
23172
23178
|
AC,
|
|
23173
23179
|
!1,
|
|
23174
23180
|
FC,
|
|
23175
|
-
"
|
|
23181
|
+
"86916e3a",
|
|
23176
23182
|
null,
|
|
23177
23183
|
null
|
|
23178
23184
|
);
|
|
@@ -23310,12 +23316,15 @@ const BC = {
|
|
|
23310
23316
|
},
|
|
23311
23317
|
methods: {
|
|
23312
23318
|
checkboxChange(e) {
|
|
23313
|
-
this
|
|
23319
|
+
let t = this.checkedList.map((s) => s);
|
|
23320
|
+
this.$emit("update:checkList", t), this.$emit("change", t);
|
|
23314
23321
|
},
|
|
23315
23322
|
labelClick(e) {
|
|
23316
|
-
this.checkedList.includes(e) ? this.checkedList.splice(this.checkedList.indexOf(e), 1) : this.checkedList.push(e)
|
|
23323
|
+
this.checkedList.includes(e) ? this.checkedList.splice(this.checkedList.indexOf(e), 1) : this.checkedList.push(e);
|
|
23324
|
+
let t = this.checkedList.map((s) => s);
|
|
23325
|
+
this.$emit("update:checkList", t), this.$emit(
|
|
23317
23326
|
"change",
|
|
23318
|
-
|
|
23327
|
+
t
|
|
23319
23328
|
);
|
|
23320
23329
|
},
|
|
23321
23330
|
beforeEnter(e) {
|
|
@@ -23344,7 +23353,7 @@ var RC = /* @__PURE__ */ b(
|
|
|
23344
23353
|
LC,
|
|
23345
23354
|
!1,
|
|
23346
23355
|
VC,
|
|
23347
|
-
"
|
|
23356
|
+
"47f376ee",
|
|
23348
23357
|
null,
|
|
23349
23358
|
null
|
|
23350
23359
|
);
|