@wfrog/vc-ui 1.9.16 → 1.9.17
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/es/components/explorer-column-table/explorer-column-table.mjs +12 -4
- package/dist/es/components/explorer-column-table/explorer-column-table.vue.d.ts +2 -0
- package/dist/es/components/explorer-form/explorer-form.mjs +7 -7
- package/dist/es/components/explorer-form/index.css +11 -10
- package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +2 -2
- package/dist/es/components/explorer-modal-form/index.css +5 -4
- package/dist/es/components/explorer-tools/components/column-setter.vue.d.ts +6 -2
- package/dist/es/index.mjs +1 -1
- package/dist/index.css +16 -14
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { a as ElCheckbox } from '../../chunk/DBf73TLo.mjs';
|
|
|
6
6
|
import '../../chunk/BH1e_-Fa.mjs';
|
|
7
7
|
import '../../chunk/CqhShW5K.mjs';
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { defineComponent, useTemplateRef, useCssModule, shallowRef, computed, createBlock, openBlock, normalizeClass,
|
|
9
|
+
import { defineComponent, useTemplateRef, useCssModule, shallowRef, computed, ref, createBlock, createCommentVNode, unref, openBlock, normalizeClass, createSlots, withCtx, renderSlot, createElementVNode, createVNode, nextTick } from 'vue';
|
|
10
10
|
import { useDraggable } from 'vue-draggable-plus';
|
|
11
11
|
import { C as Component$3 } from '../choice/choice.mjs';
|
|
12
12
|
import { C as Component$2 } from '../iconify-icon/iconify-icon.mjs';
|
|
@@ -120,13 +120,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
120
120
|
// 可选:指定拖拽手柄
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
const tableVisible = ref(true);
|
|
124
|
+
async function rerender() {
|
|
125
|
+
sortable.value?.destroy();
|
|
126
|
+
tableVisible.value = false;
|
|
127
|
+
await nextTick();
|
|
128
|
+
tableVisible.value = true;
|
|
129
|
+
}
|
|
130
|
+
__expose({ init, tableRef, rerender });
|
|
124
131
|
return (_ctx, _cache) => {
|
|
125
132
|
const _component_ElCheckbox = ElCheckbox;
|
|
126
133
|
const _component_ElTableColumn = ElTableColumn;
|
|
127
134
|
const _component_el_checkbox = ElCheckbox;
|
|
128
135
|
const _component_ElTable = ElTable;
|
|
129
|
-
return openBlock(), createBlock(_component_ElTable, {
|
|
136
|
+
return unref(tableVisible) ? (openBlock(), createBlock(_component_ElTable, {
|
|
137
|
+
key: 0,
|
|
130
138
|
ref_key: "tableRef",
|
|
131
139
|
ref: tableRef,
|
|
132
140
|
data: unref(myData),
|
|
@@ -333,7 +341,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
333
341
|
]),
|
|
334
342
|
key: "0"
|
|
335
343
|
} : void 0
|
|
336
|
-
]), 1032, ["data", "size", "height", "class"]);
|
|
344
|
+
]), 1032, ["data", "size", "height", "class"])) : createCommentVNode("", true);
|
|
337
345
|
};
|
|
338
346
|
}
|
|
339
347
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IColumnConfig, IExplorerColumnTableProps } from './explorer-column-table';
|
|
2
2
|
declare function init(): void;
|
|
3
|
+
declare function rerender(): Promise<void>;
|
|
3
4
|
declare function __VLS_template(): {
|
|
4
5
|
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
@@ -2953,6 +2954,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerColumnTabl
|
|
|
2953
2954
|
nativeScrollbar: boolean;
|
|
2954
2955
|
preserveExpandedContent: boolean;
|
|
2955
2956
|
}> | null>>;
|
|
2957
|
+
rerender: typeof rerender;
|
|
2956
2958
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
2957
2959
|
"update:data": (data: IColumnConfig[]) => any;
|
|
2958
2960
|
}, string, import('vue').PublicProps, Readonly<IExplorerColumnTableProps> & Readonly<{
|
|
@@ -149,15 +149,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
/* unplugin-vue-components disabled */const header = "
|
|
153
|
-
const icon = "
|
|
154
|
-
const actions = "
|
|
155
|
-
const form = "
|
|
156
|
-
const scrollbar = "
|
|
152
|
+
/* unplugin-vue-components disabled */const header = "_header_msrkk_8";
|
|
153
|
+
const icon = "_icon_msrkk_25";
|
|
154
|
+
const actions = "_actions_msrkk_31";
|
|
155
|
+
const form = "_form_msrkk_40";
|
|
156
|
+
const scrollbar = "_scrollbar_msrkk_51";
|
|
157
157
|
const style0 = {
|
|
158
|
-
"explorer-form": "_explorer-
|
|
158
|
+
"explorer-form": "_explorer-form_msrkk_1",
|
|
159
159
|
header: header,
|
|
160
|
-
"header-container": "_header-
|
|
160
|
+
"header-container": "_header-container_msrkk_21",
|
|
161
161
|
icon: icon,
|
|
162
162
|
actions: actions,
|
|
163
163
|
form: form,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* source: src/components/explorer-form/explorer-form.vue */
|
|
2
|
-
._explorer-
|
|
2
|
+
._explorer-form_msrkk_1 {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
flex-grow: 1;
|
|
6
6
|
height: 100px;
|
|
7
7
|
}
|
|
8
|
-
.
|
|
8
|
+
._header_msrkk_8 {
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: space-between;
|
|
@@ -17,31 +17,32 @@
|
|
|
17
17
|
flex-wrap: wrap;
|
|
18
18
|
row-gap: 8px;
|
|
19
19
|
}
|
|
20
|
-
._header-
|
|
20
|
+
._header-container_msrkk_21 {
|
|
21
21
|
font-size: var(--el-font-size-medium);
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
._icon_msrkk_25 {
|
|
24
24
|
margin-right: 4px;
|
|
25
25
|
font-size: var(--el-font-size-extra-large);
|
|
26
26
|
transform: translateY(1px);
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
._actions_msrkk_31 {
|
|
29
29
|
display: flex;
|
|
30
30
|
align-items: center;
|
|
31
31
|
gap: 8px;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
._actions_msrkk_31 .el-button {
|
|
34
34
|
margin-left: 0 !important;
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
._form_msrkk_40 {
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-grow: 1;
|
|
39
39
|
align-items: flex-start;
|
|
40
|
+
flex-direction: column;
|
|
40
41
|
}
|
|
41
|
-
.
|
|
42
|
-
|
|
42
|
+
._form_msrkk_40 > .el-row {
|
|
43
|
+
width: 100%;
|
|
43
44
|
margin: 0 !important;
|
|
44
45
|
}
|
|
45
|
-
.
|
|
46
|
+
._scrollbar_msrkk_51 {
|
|
46
47
|
margin: 0 -8px;
|
|
47
48
|
}
|
|
@@ -152,8 +152,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
152
152
|
}
|
|
153
153
|
});
|
|
154
154
|
|
|
155
|
-
/* unplugin-vue-components disabled */const icon = "
|
|
156
|
-
const form = "
|
|
155
|
+
/* unplugin-vue-components disabled */const icon = "_icon_1tmmn_1";
|
|
156
|
+
const form = "_form_1tmmn_6";
|
|
157
157
|
const style0 = {
|
|
158
158
|
icon: icon,
|
|
159
159
|
form: form
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/* source: src/components/explorer-modal-form/explorer-modal-form.vue */
|
|
2
|
-
.
|
|
2
|
+
._icon_1tmmn_1 {
|
|
3
3
|
margin-right: 4px;
|
|
4
4
|
font-size: var(--el-font-size-extra-large);
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._form_1tmmn_6 {
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-grow: 1;
|
|
9
9
|
align-items: flex-start;
|
|
10
|
+
flex-direction: column;
|
|
10
11
|
}
|
|
11
|
-
.
|
|
12
|
-
|
|
12
|
+
._form_1tmmn_6 > .el-row {
|
|
13
|
+
width: 100%;
|
|
13
14
|
margin: 0 !important;
|
|
14
15
|
}
|
|
@@ -2977,6 +2977,7 @@ declare function __VLS_template(): {
|
|
|
2977
2977
|
nativeScrollbar: boolean;
|
|
2978
2978
|
preserveExpandedContent: boolean;
|
|
2979
2979
|
}> | null>>;
|
|
2980
|
+
rerender: () => Promise<void>;
|
|
2980
2981
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
2981
2982
|
"update:data": (data: import('../../explorer-column-table/explorer-column-table').IColumnConfig[]) => any;
|
|
2982
2983
|
}, string, {
|
|
@@ -3015,7 +3016,7 @@ declare function __VLS_template(): {
|
|
|
3015
3016
|
emptyColumn: boolean;
|
|
3016
3017
|
}> & Omit<Readonly<import('../../explorer-column-table/explorer-column-table').IExplorerColumnTableProps> & Readonly<{
|
|
3017
3018
|
"onUpdate:data"?: ((data: import('../../explorer-column-table/explorer-column-table').IColumnConfig[]) => any) | undefined;
|
|
3018
|
-
}>, "init" | ("mode" | "size" | "height" | "editable" | "highlightCurrent" | "emptyColumn") | "tableRef"> & import('vue').ShallowUnwrapRef<{
|
|
3019
|
+
}>, "init" | ("mode" | "size" | "height" | "editable" | "highlightCurrent" | "emptyColumn") | "tableRef" | "rerender"> & import('vue').ShallowUnwrapRef<{
|
|
3019
3020
|
init: () => void;
|
|
3020
3021
|
tableRef: Readonly<globalThis.ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
3021
3022
|
data: {
|
|
@@ -4487,6 +4488,7 @@ declare function __VLS_template(): {
|
|
|
4487
4488
|
nativeScrollbar: boolean;
|
|
4488
4489
|
preserveExpandedContent: boolean;
|
|
4489
4490
|
}> | null>>;
|
|
4491
|
+
rerender: () => Promise<void>;
|
|
4490
4492
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
4491
4493
|
$slots: {
|
|
4492
4494
|
default?(_: {}): any;
|
|
@@ -7480,6 +7482,7 @@ declare const __VLS_component: import('vue').DefineComponent<IColumnSetterProps,
|
|
|
7480
7482
|
nativeScrollbar: boolean;
|
|
7481
7483
|
preserveExpandedContent: boolean;
|
|
7482
7484
|
}> | null>>;
|
|
7485
|
+
rerender: () => Promise<void>;
|
|
7483
7486
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7484
7487
|
"update:data": (data: import('../../explorer-column-table/explorer-column-table').IColumnConfig[]) => any;
|
|
7485
7488
|
}, string, {
|
|
@@ -7518,7 +7521,7 @@ declare const __VLS_component: import('vue').DefineComponent<IColumnSetterProps,
|
|
|
7518
7521
|
emptyColumn: boolean;
|
|
7519
7522
|
}> & Omit<Readonly<import('../../explorer-column-table/explorer-column-table').IExplorerColumnTableProps> & Readonly<{
|
|
7520
7523
|
"onUpdate:data"?: ((data: import('../../explorer-column-table/explorer-column-table').IColumnConfig[]) => any) | undefined;
|
|
7521
|
-
}>, "init" | ("mode" | "size" | "height" | "editable" | "highlightCurrent" | "emptyColumn") | "tableRef"> & import('vue').ShallowUnwrapRef<{
|
|
7524
|
+
}>, "init" | ("mode" | "size" | "height" | "editable" | "highlightCurrent" | "emptyColumn") | "tableRef" | "rerender"> & import('vue').ShallowUnwrapRef<{
|
|
7522
7525
|
init: () => void;
|
|
7523
7526
|
tableRef: Readonly<globalThis.ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
7524
7527
|
data: {
|
|
@@ -8990,6 +8993,7 @@ declare const __VLS_component: import('vue').DefineComponent<IColumnSetterProps,
|
|
|
8990
8993
|
nativeScrollbar: boolean;
|
|
8991
8994
|
preserveExpandedContent: boolean;
|
|
8992
8995
|
}> | null>>;
|
|
8996
|
+
rerender: () => Promise<void>;
|
|
8993
8997
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
8994
8998
|
$slots: {
|
|
8995
8999
|
default?(_: {}): any;
|
package/dist/es/index.mjs
CHANGED
|
@@ -156,7 +156,7 @@ const __vite_glob_0_47 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
|
|
|
156
156
|
default: _sfc_main$8
|
|
157
157
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
158
158
|
|
|
159
|
-
const version = "1.9.
|
|
159
|
+
const version = "1.9.17";
|
|
160
160
|
|
|
161
161
|
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-switcher/color-switcher.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-switcher/dark-switcher.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/icon-picker/icon-picker.vue": __vite_glob_0_34,"./components/icon/icon.vue": __vite_glob_0_35,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_36,"./components/image/image.vue": __vite_glob_0_37,"./components/input-number/input-number.vue": __vite_glob_0_38,"./components/input/input.vue": __vite_glob_0_39,"./components/pca-picker/pca-picker.vue": __vite_glob_0_40,"./components/qr-code/qr-code.vue": __vite_glob_0_41,"./components/screenfull/screenfull.vue": __vite_glob_0_42,"./components/scrollbar/scrollbar.vue": __vite_glob_0_43,"./components/select/select.vue": __vite_glob_0_44,"./components/single-player/single-player.vue": __vite_glob_0_45,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_46,"./components/splitter/splitter.vue": __vite_glob_0_47,"./components/svg-icon/svg-icon.vue": __vite_glob_0_48,"./components/switch/switch.vue": __vite_glob_0_49,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_50,"./components/tags/tags.vue": __vite_glob_0_51,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_52,"./components/thousand-input/thousand-input.vue": __vite_glob_0_53,"./components/tinymce/tinymce.vue": __vite_glob_0_54,"./components/transfer-panel/transfer-panel.vue": __vite_glob_0_55,"./components/transfer/transfer.vue": __vite_glob_0_56,"./components/tree-picker/tree-picker.vue": __vite_glob_0_57,"./components/upload-file/upload-file.vue": __vite_glob_0_58});
|
|
162
162
|
const upper = (_, letter) => letter.toUpperCase();
|
package/dist/index.css
CHANGED
|
@@ -644,13 +644,13 @@ div._main_k37nc_1 ._header_k37nc_48 {
|
|
|
644
644
|
padding-top: var(--v42199fad);
|
|
645
645
|
}
|
|
646
646
|
/* source: src/components/explorer-form/explorer-form.vue */
|
|
647
|
-
._explorer-
|
|
647
|
+
._explorer-form_msrkk_1 {
|
|
648
648
|
display: flex;
|
|
649
649
|
flex-direction: column;
|
|
650
650
|
flex-grow: 1;
|
|
651
651
|
height: 100px;
|
|
652
652
|
}
|
|
653
|
-
.
|
|
653
|
+
._header_msrkk_8 {
|
|
654
654
|
display: flex;
|
|
655
655
|
align-items: center;
|
|
656
656
|
justify-content: space-between;
|
|
@@ -662,32 +662,33 @@ div._main_k37nc_1 ._header_k37nc_48 {
|
|
|
662
662
|
flex-wrap: wrap;
|
|
663
663
|
row-gap: 8px;
|
|
664
664
|
}
|
|
665
|
-
._header-
|
|
665
|
+
._header-container_msrkk_21 {
|
|
666
666
|
font-size: var(--el-font-size-medium);
|
|
667
667
|
}
|
|
668
|
-
.
|
|
668
|
+
._icon_msrkk_25 {
|
|
669
669
|
margin-right: 4px;
|
|
670
670
|
font-size: var(--el-font-size-extra-large);
|
|
671
671
|
transform: translateY(1px);
|
|
672
672
|
}
|
|
673
|
-
.
|
|
673
|
+
._actions_msrkk_31 {
|
|
674
674
|
display: flex;
|
|
675
675
|
align-items: center;
|
|
676
676
|
gap: 8px;
|
|
677
677
|
}
|
|
678
|
-
.
|
|
678
|
+
._actions_msrkk_31 .el-button {
|
|
679
679
|
margin-left: 0 !important;
|
|
680
680
|
}
|
|
681
|
-
.
|
|
681
|
+
._form_msrkk_40 {
|
|
682
682
|
display: flex;
|
|
683
683
|
flex-grow: 1;
|
|
684
684
|
align-items: flex-start;
|
|
685
|
+
flex-direction: column;
|
|
685
686
|
}
|
|
686
|
-
.
|
|
687
|
-
|
|
687
|
+
._form_msrkk_40 > .el-row {
|
|
688
|
+
width: 100%;
|
|
688
689
|
margin: 0 !important;
|
|
689
690
|
}
|
|
690
|
-
.
|
|
691
|
+
._scrollbar_msrkk_51 {
|
|
691
692
|
margin: 0 -8px;
|
|
692
693
|
}
|
|
693
694
|
/* source: src/components/explorer-list/explorer-list.vue */
|
|
@@ -749,17 +750,18 @@ div._main_k37nc_1 ._header_k37nc_48 {
|
|
|
749
750
|
margin: 0 -8px;
|
|
750
751
|
}
|
|
751
752
|
/* source: src/components/explorer-modal-form/explorer-modal-form.vue */
|
|
752
|
-
.
|
|
753
|
+
._icon_1tmmn_1 {
|
|
753
754
|
margin-right: 4px;
|
|
754
755
|
font-size: var(--el-font-size-extra-large);
|
|
755
756
|
}
|
|
756
|
-
.
|
|
757
|
+
._form_1tmmn_6 {
|
|
757
758
|
display: flex;
|
|
758
759
|
flex-grow: 1;
|
|
759
760
|
align-items: flex-start;
|
|
761
|
+
flex-direction: column;
|
|
760
762
|
}
|
|
761
|
-
.
|
|
762
|
-
|
|
763
|
+
._form_1tmmn_6 > .el-row {
|
|
764
|
+
width: 100%;
|
|
763
765
|
margin: 0 !important;
|
|
764
766
|
}
|
|
765
767
|
/* source: src/components/explorer-panel/explorer-panel.vue */
|