@wfrog/vc-ui 1.13.6 → 1.13.8
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/dialog/dialog.mjs +22 -17
- package/dist/es/components/dialog/dialog.vue.d.ts +2 -1
- package/dist/es/components/dialog/index.css +36 -34
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +7 -7
- package/dist/es/components/dialog-camera-upload/index.css +22 -22
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +2 -2
- package/dist/es/components/dialog-map-point/index.css +3 -3
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +5 -5
- package/dist/es/components/dialog-upload-images/index.css +23 -23
- package/dist/es/components/drawer/drawer.mjs +24 -18
- package/dist/es/components/drawer/drawer.vue.d.ts +2 -1
- package/dist/es/components/drawer/index.css +28 -28
- package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +16 -8
- package/dist/es/components/explorer-modal-form/explorer-modal-form.vue.d.ts +2 -1
- package/dist/es/components/explorer-modal-form/index.css +5 -5
- package/dist/es/components/form-item/form-item.mjs +31 -20
- package/dist/es/components/form-item/form-item.vue.d.ts +1 -0
- package/dist/es/components/form-item/index.css +20 -6
- package/dist/es/index.mjs +1 -1
- package/dist/index.css +137 -121
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import './index.css'
|
|
|
2
2
|
import { ElLoadingDirective } from 'element-plus/es';
|
|
3
3
|
import 'element-plus/es/components/base/style/css';
|
|
4
4
|
import 'element-plus/es/components/loading/style/css';
|
|
5
|
-
import { defineComponent, useTemplateRef, ref, computed, watch, onUnmounted, createBlock, openBlock, resolveDynamicComponent, unref, isRef, withCtx, withDirectives, mergeProps, renderSlot, createCommentVNode, createTextVNode, createElementVNode, normalizeClass, toDisplayString } from 'vue';
|
|
5
|
+
import { defineComponent, useTemplateRef, ref, computed, watch, onUnmounted, createBlock, openBlock, resolveDynamicComponent, unref, isRef, createSlots, withCtx, withDirectives, mergeProps, renderSlot, createCommentVNode, createTextVNode, createElementVNode, normalizeClass, toDisplayString } from 'vue';
|
|
6
6
|
import { ElForm } from 'element-plus';
|
|
7
7
|
import { C as Component$3 } from '../button/button.mjs';
|
|
8
8
|
import { C as Component$1 } from '../dialog/dialog.mjs';
|
|
@@ -70,7 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
70
70
|
return openBlock(), createBlock(resolveDynamicComponent(unref(component)), {
|
|
71
71
|
modelValue: unref(modalVisible),
|
|
72
72
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modalVisible) ? modalVisible.value = $event : null)
|
|
73
|
-
}, {
|
|
73
|
+
}, createSlots({
|
|
74
74
|
title: withCtx(({ close }) => [
|
|
75
75
|
createElementVNode("div", {
|
|
76
76
|
class: normalizeClass(_ctx.$style["header-container"])
|
|
@@ -85,8 +85,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
])
|
|
86
86
|
], 2)
|
|
87
87
|
]),
|
|
88
|
-
footer: withCtx(() => [
|
|
89
|
-
renderSlot(_ctx.$slots, "action"),
|
|
88
|
+
"footer-action": withCtx(() => [
|
|
89
|
+
renderSlot(_ctx.$slots, "footer-action"),
|
|
90
90
|
unref(isEditing) ? (openBlock(), createBlock(Component$3, {
|
|
91
91
|
key: 0,
|
|
92
92
|
disabled: __props.disabled,
|
|
@@ -146,14 +146,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
146
146
|
[_directive_loading, __props.loading]
|
|
147
147
|
])
|
|
148
148
|
]),
|
|
149
|
-
_:
|
|
150
|
-
},
|
|
149
|
+
_: 2
|
|
150
|
+
}, [
|
|
151
|
+
_ctx.$slots["footer-extra"] ? {
|
|
152
|
+
name: "footer-extra",
|
|
153
|
+
fn: withCtx(() => [
|
|
154
|
+
renderSlot(_ctx.$slots, "footer-extra")
|
|
155
|
+
]),
|
|
156
|
+
key: "0"
|
|
157
|
+
} : void 0
|
|
158
|
+
]), 1032, ["modelValue"]);
|
|
151
159
|
};
|
|
152
160
|
}
|
|
153
161
|
});
|
|
154
162
|
|
|
155
|
-
/* unplugin-vue-components disabled */const icon = "
|
|
156
|
-
const form = "
|
|
163
|
+
/* unplugin-vue-components disabled */const icon = "_icon_1qm7i_1";
|
|
164
|
+
const form = "_form_1qm7i_6";
|
|
157
165
|
const style0 = {
|
|
158
166
|
icon: icon,
|
|
159
167
|
form: form
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* source: src/components/explorer-modal-form/explorer-modal-form.vue */
|
|
2
|
-
.
|
|
2
|
+
._icon_1qm7i_1 {
|
|
3
3
|
margin-right: 4px;
|
|
4
4
|
font-size: var(--el-font-size-extra-large);
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._form_1qm7i_6 {
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-grow: 1;
|
|
9
|
-
align-items: flex-start;
|
|
10
9
|
flex-direction: column;
|
|
10
|
+
align-items: flex-start;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
13
|
-
width: 100%;
|
|
12
|
+
._form_1qm7i_6 > .el-row {
|
|
14
13
|
margin: 0 !important;
|
|
14
|
+
width: 100%;
|
|
15
15
|
}
|
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
emits: ["click"],
|
|
25
25
|
setup(__props, { emit: __emit }) {
|
|
26
26
|
useCssVars((_ctx) => ({
|
|
27
|
-
"
|
|
27
|
+
"bc62b678": `${_ctx.noEdit ? 4 : 0}px`
|
|
28
28
|
}));
|
|
29
29
|
const props = __props;
|
|
30
30
|
const emits = __emit;
|
|
@@ -41,23 +41,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
41
|
class: normalizeClass(_ctx.$style["form-item"])
|
|
42
42
|
}, {
|
|
43
43
|
label: withCtx(() => [
|
|
44
|
-
createElementVNode("
|
|
45
|
-
class: normalizeClass(_ctx.$style["label-
|
|
44
|
+
createElementVNode("div", {
|
|
45
|
+
class: normalizeClass(_ctx.$style["label-wrapper"])
|
|
46
46
|
}, [
|
|
47
|
-
__props.noEdit ? (openBlock(), createBlock(Component$1, {
|
|
48
|
-
key: 0,
|
|
49
|
-
content: "创建后无法修改",
|
|
50
|
-
"offset-y": "0px",
|
|
51
|
-
icon: "carbon:locked",
|
|
52
|
-
"icon-class": _ctx.$style["no-edit-icon"]
|
|
53
|
-
}, null, 8, ["icon-class"])) : createCommentVNode("", true),
|
|
54
47
|
createElementVNode("span", {
|
|
55
|
-
class: normalizeClass(_ctx.$style
|
|
56
|
-
},
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
48
|
+
class: normalizeClass(_ctx.$style["label-container"])
|
|
49
|
+
}, [
|
|
50
|
+
__props.noEdit ? (openBlock(), createBlock(Component$1, {
|
|
51
|
+
key: 0,
|
|
52
|
+
content: "创建后无法修改",
|
|
53
|
+
"offset-y": "0px",
|
|
54
|
+
icon: "carbon:locked",
|
|
55
|
+
"icon-class": _ctx.$style["no-edit-icon"]
|
|
56
|
+
}, null, 8, ["icon-class"])) : createCommentVNode("", true),
|
|
57
|
+
createElementVNode("span", {
|
|
58
|
+
class: normalizeClass(_ctx.$style.label)
|
|
59
|
+
}, toDisplayString(__props.label), 3),
|
|
60
|
+
createVNode(Component$1, mergeProps(unref(infoTooltipProps), {
|
|
61
|
+
"offset-y": "0px",
|
|
62
|
+
onClick: handleClick
|
|
63
|
+
}), null, 16)
|
|
64
|
+
], 2),
|
|
65
|
+
createElementVNode("div", {
|
|
66
|
+
class: normalizeClass(_ctx.$style["label-extra"])
|
|
67
|
+
}, [
|
|
68
|
+
renderSlot(_ctx.$slots, "label-extra")
|
|
69
|
+
], 2)
|
|
61
70
|
], 2)
|
|
62
71
|
]),
|
|
63
72
|
default: withCtx(() => [
|
|
@@ -72,11 +81,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
81
|
}
|
|
73
82
|
});
|
|
74
83
|
|
|
75
|
-
/* unplugin-vue-components disabled */const label = "
|
|
84
|
+
/* unplugin-vue-components disabled */const label = "_label_1ethd_1";
|
|
76
85
|
const style0 = {
|
|
77
|
-
"form-item": "_form-
|
|
78
|
-
"label-
|
|
79
|
-
"
|
|
86
|
+
"form-item": "_form-item_1ethd_1",
|
|
87
|
+
"label-extra": "_label-extra_1ethd_1",
|
|
88
|
+
"label-wrapper": "_label-wrapper_1ethd_13",
|
|
89
|
+
"label-container": "_label-container_1ethd_19",
|
|
90
|
+
"no-edit-icon": "_no-edit-icon_1ethd_25",
|
|
80
91
|
label: label
|
|
81
92
|
};
|
|
82
93
|
|
|
@@ -1,16 +1,30 @@
|
|
|
1
1
|
/* source: src/components/form-item/form-item.vue */
|
|
2
|
-
._form-
|
|
2
|
+
._form-item_1ethd_1 ._label-extra_1ethd_1 {
|
|
3
|
+
display: none;
|
|
4
|
+
}
|
|
5
|
+
._form-item_1ethd_1 .el-form-item__label {
|
|
6
|
+
display: flex;
|
|
7
|
+
}
|
|
8
|
+
._form-item_1ethd_1.el-form-item--label-top .el-form-item__label {
|
|
9
|
+
width: auto;
|
|
10
|
+
}
|
|
11
|
+
._form-item_1ethd_1.el-form-item--label-top ._label-extra_1ethd_1 {
|
|
3
12
|
display: flex;
|
|
4
13
|
}
|
|
5
|
-
._label-
|
|
14
|
+
._form-item_1ethd_1.el-form-item--label-top ._label-wrapper_1ethd_13 {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-grow: 1;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
}
|
|
19
|
+
._label-container_1ethd_19 {
|
|
6
20
|
display: inline-flex;
|
|
7
|
-
align-items: center;
|
|
8
21
|
justify-content: center;
|
|
22
|
+
align-items: center;
|
|
9
23
|
}
|
|
10
|
-
._no-edit-
|
|
24
|
+
._no-edit-icon_1ethd_25 {
|
|
11
25
|
color: var(--el-color-warning);
|
|
12
26
|
}
|
|
13
|
-
.
|
|
27
|
+
._label_1ethd_1 {
|
|
14
28
|
margin-right: 4px;
|
|
15
|
-
margin-left: var(--
|
|
29
|
+
margin-left: var(--bc62b678);
|
|
16
30
|
}
|
package/dist/es/index.mjs
CHANGED
|
@@ -164,7 +164,7 @@ const __vite_glob_0_50 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePr
|
|
|
164
164
|
default: _sfc_main$8
|
|
165
165
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
166
166
|
|
|
167
|
-
const version = "1.13.
|
|
167
|
+
const version = "1.13.8";
|
|
168
168
|
|
|
169
169
|
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/gen-input/gen-input.vue": __vite_glob_0_35,"./components/icon-picker/icon-picker.vue": __vite_glob_0_36,"./components/icon/icon.vue": __vite_glob_0_37,"./components/iconify-icon/iconify-icon.vue": __vite_glob_0_38,"./components/image/image.vue": __vite_glob_0_39,"./components/info-tooltip/info-tooltip.vue": __vite_glob_0_40,"./components/input-number/input-number.vue": __vite_glob_0_41,"./components/input/input.vue": __vite_glob_0_42,"./components/pca-picker/pca-picker.vue": __vite_glob_0_43,"./components/qr-code/qr-code.vue": __vite_glob_0_44,"./components/screenfull/screenfull.vue": __vite_glob_0_45,"./components/scrollbar/scrollbar.vue": __vite_glob_0_46,"./components/select/select.vue": __vite_glob_0_47,"./components/single-player/single-player.vue": __vite_glob_0_48,"./components/splitter-panel/splitter-panel.vue": __vite_glob_0_49,"./components/splitter/splitter.vue": __vite_glob_0_50,"./components/svg-icon/svg-icon.vue": __vite_glob_0_51,"./components/switch/switch.vue": __vite_glob_0_52,"./components/sync-scroll-container/sync-scroll-container.vue": __vite_glob_0_53,"./components/tags/tags.vue": __vite_glob_0_54,"./components/text-ellipsis/text-ellipsis.vue": __vite_glob_0_55,"./components/thousand-input/thousand-input.vue": __vite_glob_0_56,"./components/tinymce/tinymce.vue": __vite_glob_0_57,"./components/transfer-panel/transfer-panel.vue": __vite_glob_0_58,"./components/transfer/transfer.vue": __vite_glob_0_59,"./components/tree-picker/tree-picker.vue": __vite_glob_0_60,"./components/tree-select/tree-select.vue": __vite_glob_0_61,"./components/upload-file/upload-file.vue": __vite_glob_0_62});
|
|
170
170
|
const upper = (_, letter) => letter.toUpperCase();
|