@wfrog/vc-ui 1.11.3 → 1.11.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.
|
@@ -49,14 +49,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
if (!isMultipleSelection.value) {
|
|
50
50
|
return false;
|
|
51
51
|
}
|
|
52
|
-
return
|
|
52
|
+
return props.data.every((row) => row[props.multipleCheckedKey]);
|
|
53
53
|
},
|
|
54
54
|
set(val) {
|
|
55
55
|
if (!isMultipleSelection.value) {
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
58
|
if (val) {
|
|
59
|
-
|
|
59
|
+
const selected = new Set(props.data.map(getRowValue));
|
|
60
|
+
selectedValues.value = /* @__PURE__ */ new Set([...selectedValues.value, ...selected]);
|
|
60
61
|
} else {
|
|
61
62
|
selectedValues.value.clear();
|
|
62
63
|
}
|
|
@@ -178,7 +179,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
178
179
|
key: 1,
|
|
179
180
|
width: __props.size === "large" ? 50 : 40,
|
|
180
181
|
align: "center",
|
|
181
|
-
fixed: "left"
|
|
182
|
+
fixed: "left",
|
|
183
|
+
"class-name": unref($style).selection
|
|
182
184
|
}, createSlots({
|
|
183
185
|
default: withCtx(({ row }) => [
|
|
184
186
|
unref(isSingleSelection) ? (openBlock(), createBlock(unref(ElRadio), {
|
|
@@ -211,7 +213,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
211
213
|
]),
|
|
212
214
|
key: "0"
|
|
213
215
|
} : void 0
|
|
214
|
-
]), 1032, ["width"])) : createCommentVNode("", true),
|
|
216
|
+
]), 1032, ["width", "class-name"])) : createCommentVNode("", true),
|
|
215
217
|
unref(columns).length ? (openBlock(true), createElementBlock(Fragment, { key: 2 }, renderList(unref(columns), (item) => {
|
|
216
218
|
return openBlock(), createBlock(unref(ElTableColumn), mergeProps({
|
|
217
219
|
key: item.prop
|
|
@@ -270,15 +272,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
270
272
|
}
|
|
271
273
|
});
|
|
272
274
|
|
|
273
|
-
/* unplugin-vue-components disabled */const table = "
|
|
274
|
-
const
|
|
275
|
-
const
|
|
275
|
+
/* unplugin-vue-components disabled */const table = "_table_1fnpe_7";
|
|
276
|
+
const selection = "_selection_1fnpe_20";
|
|
277
|
+
const radio = "_radio_1fnpe_25";
|
|
278
|
+
const checkbox = "_checkbox_1fnpe_32";
|
|
276
279
|
const style0 = {
|
|
277
|
-
"explorer-table": "_explorer-
|
|
280
|
+
"explorer-table": "_explorer-table_1fnpe_1",
|
|
278
281
|
table: table,
|
|
282
|
+
selection: selection,
|
|
279
283
|
radio: radio,
|
|
280
284
|
checkbox: checkbox,
|
|
281
|
-
"selected-row": "_selected-
|
|
285
|
+
"selected-row": "_selected-row_1fnpe_36"
|
|
282
286
|
};
|
|
283
287
|
|
|
284
288
|
const cssModules = {
|
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
/* source: src/components/explorer-table/explorer-table.vue */
|
|
2
|
-
._explorer-
|
|
2
|
+
._explorer-table_1fnpe_1 {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
flex-grow: 1;
|
|
6
6
|
}
|
|
7
|
-
div.
|
|
7
|
+
div._table_1fnpe_7 {
|
|
8
8
|
flex-grow: 1;
|
|
9
9
|
height: 100px;
|
|
10
10
|
--el-table-header-bg-color: var(--el-color-info-light-9);
|
|
11
11
|
--el-table-row-hover-bg-color: var(--el-color-primary-light-9);
|
|
12
12
|
}
|
|
13
|
-
div.
|
|
13
|
+
div._table_1fnpe_7 .el-table__header-wrapper .el-table__cell:hover {
|
|
14
14
|
border-right-color: var(--el-color-primary-light-5) !important;
|
|
15
15
|
}
|
|
16
|
-
div.
|
|
16
|
+
div._table_1fnpe_7 .el-table__column-resize-proxy {
|
|
17
17
|
border-color: var(--el-color-primary);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._selection_1fnpe_20 .cell {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
._radio_1fnpe_25 {
|
|
20
24
|
height: unset;
|
|
21
25
|
}
|
|
22
|
-
.
|
|
26
|
+
._radio_1fnpe_25 .el-radio__label {
|
|
23
27
|
display: none;
|
|
24
28
|
}
|
|
25
|
-
.
|
|
29
|
+
._checkbox_1fnpe_32 {
|
|
26
30
|
height: unset;
|
|
27
31
|
}
|
|
28
|
-
._selected-
|
|
32
|
+
._selected-row_1fnpe_36 td.el-table__cell {
|
|
29
33
|
background-color: var(--el-color-primary-light-9) !important;
|
|
30
34
|
}
|
package/dist/es/index.mjs
CHANGED
|
@@ -160,7 +160,7 @@ const __vite_glob_0_49 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
|
|
|
160
160
|
default: _sfc_main$8
|
|
161
161
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
162
162
|
|
|
163
|
-
const version = "1.11.
|
|
163
|
+
const version = "1.11.4";
|
|
164
164
|
|
|
165
165
|
const modules = /* #__PURE__ */ Object.assign({"./components/awesome-icon/awesome-icon.vue": __vite_glob_0_0,"./components/backbottom/backbottom.vue": __vite_glob_0_1,"./components/button/button.vue": __vite_glob_0_2,"./components/chat-container/chat-container.vue": __vite_glob_0_3,"./components/choice-boolean/choice-boolean.vue": __vite_glob_0_4,"./components/choice/choice.vue": __vite_glob_0_5,"./components/color-switch/color-switch.vue": __vite_glob_0_6,"./components/config-provider/config-provider.vue": __vite_glob_0_7,"./components/cropper/cropper.vue": __vite_glob_0_8,"./components/currency/currency.vue": __vite_glob_0_9,"./components/dark-switch/dark-switch.vue": __vite_glob_0_10,"./components/daterange-picker/daterange-picker.vue": __vite_glob_0_11,"./components/dialog-camera-upload/dialog-camera-upload.vue": __vite_glob_0_12,"./components/dialog-map-point/dialog-map-point.vue": __vite_glob_0_13,"./components/dialog-upload-images/dialog-upload-images.vue": __vite_glob_0_14,"./components/dialog/dialog.vue": __vite_glob_0_15,"./components/drag-verify/drag-verify.vue": __vite_glob_0_16,"./components/drawer/drawer.vue": __vite_glob_0_17,"./components/easy-pagination/easy-pagination.vue": __vite_glob_0_18,"./components/el-icon/el-icon.vue": __vite_glob_0_19,"./components/explorer-column-table/explorer-column-table.vue": __vite_glob_0_20,"./components/explorer-container/explorer-container.vue": __vite_glob_0_21,"./components/explorer-filter/explorer-filter.vue": __vite_glob_0_22,"./components/explorer-footer/explorer-footer.vue": __vite_glob_0_23,"./components/explorer-form/explorer-form.vue": __vite_glob_0_24,"./components/explorer-list/explorer-list.vue": __vite_glob_0_25,"./components/explorer-modal-form/explorer-modal-form.vue": __vite_glob_0_26,"./components/explorer-panel/explorer-panel.vue": __vite_glob_0_27,"./components/explorer-query/explorer-query.vue": __vite_glob_0_28,"./components/explorer-table/explorer-table.vue": __vite_glob_0_29,"./components/explorer-tools/explorer-tools.vue": __vite_glob_0_30,"./components/explorer-tree/explorer-tree.vue": __vite_glob_0_31,"./components/explorer/explorer.vue": __vite_glob_0_32,"./components/flag/flag.vue": __vite_glob_0_33,"./components/form-item/form-item.vue": __vite_glob_0_34,"./components/icon-picker/icon-picker.vue": __vite_glob_0_35,"./components/icon/icon.vue": __vite_glob_0_36,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_37,"./components/image/image.vue": __vite_glob_0_38,"./components/info-tooltip/info-tooltip.vue": __vite_glob_0_39,"./components/input-number/input-number.vue": __vite_glob_0_40,"./components/input/input.vue": __vite_glob_0_41,"./components/pca-picker/pca-picker.vue": __vite_glob_0_42,"./components/qr-code/qr-code.vue": __vite_glob_0_43,"./components/screenfull/screenfull.vue": __vite_glob_0_44,"./components/scrollbar/scrollbar.vue": __vite_glob_0_45,"./components/select/select.vue": __vite_glob_0_46,"./components/single-player/single-player.vue": __vite_glob_0_47,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_48,"./components/splitter/splitter.vue": __vite_glob_0_49,"./components/svg-icon/svg-icon.vue": __vite_glob_0_50,"./components/switch/switch.vue": __vite_glob_0_51,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_52,"./components/tags/tags.vue": __vite_glob_0_53,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_54,"./components/thousand-input/thousand-input.vue": __vite_glob_0_55,"./components/tinymce/tinymce.vue": __vite_glob_0_56,"./components/transfer-panel/transfer-panel.vue": __vite_glob_0_57,"./components/transfer/transfer.vue": __vite_glob_0_58,"./components/tree-picker/tree-picker.vue": __vite_glob_0_59,"./components/upload-file/upload-file.vue": __vite_glob_0_60});
|
|
166
166
|
const upper = (_, letter) => letter.toUpperCase();
|
package/dist/index.css
CHANGED
|
@@ -833,33 +833,37 @@ div._main_k37nc_1 ._header_k37nc_48 {
|
|
|
833
833
|
margin-left: 0;
|
|
834
834
|
}
|
|
835
835
|
/* source: src/components/explorer-table/explorer-table.vue */
|
|
836
|
-
._explorer-
|
|
836
|
+
._explorer-table_1fnpe_1 {
|
|
837
837
|
display: flex;
|
|
838
838
|
flex-direction: column;
|
|
839
839
|
flex-grow: 1;
|
|
840
840
|
}
|
|
841
|
-
div.
|
|
841
|
+
div._table_1fnpe_7 {
|
|
842
842
|
flex-grow: 1;
|
|
843
843
|
height: 100px;
|
|
844
844
|
--el-table-header-bg-color: var(--el-color-info-light-9);
|
|
845
845
|
--el-table-row-hover-bg-color: var(--el-color-primary-light-9);
|
|
846
846
|
}
|
|
847
|
-
div.
|
|
847
|
+
div._table_1fnpe_7 .el-table__header-wrapper .el-table__cell:hover {
|
|
848
848
|
border-right-color: var(--el-color-primary-light-5) !important;
|
|
849
849
|
}
|
|
850
|
-
div.
|
|
850
|
+
div._table_1fnpe_7 .el-table__column-resize-proxy {
|
|
851
851
|
border-color: var(--el-color-primary);
|
|
852
852
|
}
|
|
853
|
-
.
|
|
853
|
+
._selection_1fnpe_20 .cell {
|
|
854
|
+
display: flex;
|
|
855
|
+
align-items: center;
|
|
856
|
+
}
|
|
857
|
+
._radio_1fnpe_25 {
|
|
854
858
|
height: unset;
|
|
855
859
|
}
|
|
856
|
-
.
|
|
860
|
+
._radio_1fnpe_25 .el-radio__label {
|
|
857
861
|
display: none;
|
|
858
862
|
}
|
|
859
|
-
.
|
|
863
|
+
._checkbox_1fnpe_32 {
|
|
860
864
|
height: unset;
|
|
861
865
|
}
|
|
862
|
-
._selected-
|
|
866
|
+
._selected-row_1fnpe_36 td.el-table__cell {
|
|
863
867
|
background-color: var(--el-color-primary-light-9) !important;
|
|
864
868
|
}
|
|
865
869
|
/* source: src/components/explorer-tools/components/column-setter.vue,src/components/explorer-tools/explorer-tools.vue */
|