@wfrog/vc-ui 1.11.10 → 1.11.12
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/chunk/Bw0Rhd-r.mjs +110 -0
- package/dist/es/chunk/CqTdDZkE.mjs +31 -0
- package/dist/es/chunk/{DAnWZLYj.mjs → CzWfBa_8.mjs} +96 -2
- package/dist/es/chunk/D229kQ56.mjs +28 -0
- package/dist/es/chunk/{Cxx_YWUC.mjs → DcouM6gM.mjs} +6 -548
- package/dist/es/chunk/Fo0dZYnz.mjs +128 -0
- package/dist/es/chunk/KanuIcmc.mjs +412 -0
- package/dist/es/chunk/{B71xEPfK.mjs → uuUHUjSk.mjs} +4 -35
- package/dist/es/components/backbottom/backbottom.mjs +3 -2
- package/dist/es/components/button/button.mjs +14 -13
- package/dist/es/components/choice/choice.mjs +11 -9
- package/dist/es/components/choice/index.css +1 -1
- package/dist/es/components/choice-boolean/choice-boolean.mjs +3 -3
- package/dist/es/components/color-switch/color-switch.mjs +73 -1046
- package/dist/es/components/color-switch/index.css +1 -1
- package/dist/es/components/cropper/cropper.mjs +11 -117
- package/dist/es/components/cropper/index.css +1 -1
- package/dist/es/components/currency/currency.mjs +10 -12
- package/dist/es/components/daterange-picker/daterange-picker.mjs +10 -6255
- package/dist/es/components/dialog/dialog.mjs +14 -408
- package/dist/es/components/dialog/index.css +1 -1
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +11 -14
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +4 -4
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +14 -1380
- package/dist/es/components/dialog-upload-images/index.css +1 -1
- package/dist/es/components/drag-verify/drag-verify.mjs +3 -2
- package/dist/es/components/drawer/drawer.mjs +16 -359
- package/dist/es/components/drawer/index.css +3 -3
- package/dist/es/components/easy-pagination/easy-pagination.mjs +3 -2
- package/dist/es/components/explorer/explorer.mjs +8 -8
- package/dist/es/components/explorer-column-table/explorer-column-table.mjs +5 -7
- package/dist/es/components/explorer-column-table/index.css +1 -1
- package/dist/es/components/explorer-container/explorer-container.d.ts +1 -1
- package/dist/es/components/explorer-container/explorer-container.mjs +4 -3
- package/dist/es/components/explorer-filter/explorer-filter.mjs +5 -4
- package/dist/es/components/explorer-footer/explorer-footer.mjs +4 -8
- package/dist/es/components/explorer-form/explorer-form.mjs +4 -3
- package/dist/es/components/explorer-list/explorer-list.mjs +18 -13
- package/dist/es/components/explorer-list/explorer-list.vue.d.ts +1 -1
- package/dist/es/components/explorer-list/index.css +16 -16
- package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +8 -7
- package/dist/es/components/explorer-panel/explorer-panel.mjs +3 -3
- package/dist/es/components/explorer-query/explorer-query.mjs +9 -2201
- package/dist/es/components/explorer-query/index.css +1 -1
- package/dist/es/components/explorer-table/explorer-table.mjs +5 -8
- package/dist/es/components/explorer-tools/explorer-tools.mjs +23 -271
- package/dist/es/components/explorer-tools/index.css +9 -9
- package/dist/es/components/explorer-tree/explorer-tree.mjs +4 -5
- package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +1 -1
- package/dist/es/components/form-item/form-item.mjs +3 -3
- package/dist/es/components/icon-picker/icon-picker.mjs +8 -12
- package/dist/es/components/image/image.mjs +4 -4
- package/dist/es/components/info-tooltip/info-tooltip.mjs +336 -4
- package/dist/es/components/input/input.mjs +3 -2
- package/dist/es/components/input-number/input-number.mjs +3 -3
- package/dist/es/components/pca-picker/index.css +1 -1
- package/dist/es/components/pca-picker/pca-picker.mjs +443 -601
- package/dist/es/components/screenfull/screenfull.mjs +4 -3
- package/dist/es/components/scrollbar/index.css +1 -1
- package/dist/es/components/scrollbar/scrollbar.mjs +10 -10
- package/dist/es/components/select/index.css +1 -1
- package/dist/es/components/select/select.mjs +9 -10
- package/dist/es/components/single-player/index.css +1 -1
- package/dist/es/components/single-player/single-player.mjs +10 -1087
- package/dist/es/components/splitter/splitter.mjs +3 -3
- package/dist/es/components/splitter-panel/splitter-panel.mjs +3 -3
- package/dist/es/components/switch/index.css +1 -1
- package/dist/es/components/switch/switch.mjs +9 -395
- package/dist/es/components/tags/tags.mjs +7 -9
- package/dist/es/components/text-ellipsis/text-ellipsis.mjs +3 -3
- package/dist/es/components/thousand-input/thousand-input.mjs +39 -8
- package/dist/es/components/tinymce/tinymce.mjs +4 -3
- package/dist/es/components/transfer/transfer.mjs +3 -4
- package/dist/es/components/transfer-panel/transfer-panel.mjs +5 -4
- package/dist/es/components/tree-picker/popover-cascader.css +1 -1
- package/dist/es/components/tree-picker/tree-picker.mjs +5 -10
- package/dist/es/index.mjs +1 -1
- package/dist/index.css +41 -68
- package/package.json +1 -1
- package/dist/es/chunk/B-rxnVJv.mjs +0 -3
- package/dist/es/chunk/B5HpgPRt.mjs +0 -69
- package/dist/es/chunk/BBhZKpIc.mjs +0 -2179
- package/dist/es/chunk/BDcsaNYa.mjs +0 -59
- package/dist/es/chunk/BTSSEFfD.mjs +0 -319
- package/dist/es/chunk/BTpNRPQW.mjs +0 -55
- package/dist/es/chunk/BVBK1U57.mjs +0 -96
- package/dist/es/chunk/Bc6yUGLs.mjs +0 -45
- package/dist/es/chunk/BjVI1XMz.mjs +0 -40
- package/dist/es/chunk/BlzQCBDu.mjs +0 -5741
- package/dist/es/chunk/BpJKnxlF.mjs +0 -476
- package/dist/es/chunk/Brp-qSBw.mjs +0 -2003
- package/dist/es/chunk/BunQI8Jb.mjs +0 -390
- package/dist/es/chunk/C0XgBrDz.mjs +0 -775
- package/dist/es/chunk/C0pTANRX.mjs +0 -109
- package/dist/es/chunk/CBMjhoFP.mjs +0 -101
- package/dist/es/chunk/CBiNtNvQ.mjs +0 -242
- package/dist/es/chunk/CBlJeNBO.mjs +0 -890
- package/dist/es/chunk/CCVL_Zj-.mjs +0 -427
- package/dist/es/chunk/CEl4MyfJ.mjs +0 -252
- package/dist/es/chunk/CJK5_jsA.mjs +0 -53
- package/dist/es/chunk/CKOcwq5V.mjs +0 -44
- package/dist/es/chunk/COs9dJZa.mjs +0 -66
- package/dist/es/chunk/CPt6MxJW.mjs +0 -375
- package/dist/es/chunk/CVqW0jzp.mjs +0 -107
- package/dist/es/chunk/CccIsEqA.mjs +0 -128
- package/dist/es/chunk/CjLR27-a.mjs +0 -582
- package/dist/es/chunk/CoGexPPD.mjs +0 -2192
- package/dist/es/chunk/CsLIbnzG.mjs +0 -64
- package/dist/es/chunk/Ct6q2FXg.mjs +0 -5
- package/dist/es/chunk/Cuq5meQh.mjs +0 -184
- package/dist/es/chunk/CvYIOfT1.mjs +0 -23
- package/dist/es/chunk/CxHJBf4l.mjs +0 -31
- package/dist/es/chunk/CzdaOBtA.mjs +0 -66
- package/dist/es/chunk/D0QTifnI.mjs +0 -54
- package/dist/es/chunk/D1QnA2iT.mjs +0 -229
- package/dist/es/chunk/D3AvJlVX.mjs +0 -188
- package/dist/es/chunk/D9Lr0Bzb.mjs +0 -1136
- package/dist/es/chunk/DCkPv0hy.mjs +0 -29
- package/dist/es/chunk/DRwwUUhy.mjs +0 -49
- package/dist/es/chunk/DX-2VRY2.mjs +0 -836
- package/dist/es/chunk/DZ2oTFad.mjs +0 -687
- package/dist/es/chunk/D_bou1py.mjs +0 -55
- package/dist/es/chunk/Da199A5L.mjs +0 -314
- package/dist/es/chunk/DbhQlaOz.mjs +0 -94
- package/dist/es/chunk/Dgu95mOy.mjs +0 -237
- package/dist/es/chunk/DhGOsWxx.mjs +0 -6
- package/dist/es/chunk/Dm_Sj5aH.mjs +0 -487
- package/dist/es/chunk/Dmi-1GRO.mjs +0 -163
- package/dist/es/chunk/DodoD9a9.mjs +0 -52
- package/dist/es/chunk/DrrVDcwm.mjs +0 -955
- package/dist/es/chunk/Du_zJ1Fz.mjs +0 -49
- package/dist/es/chunk/DxxbB5jY.mjs +0 -34
- package/dist/es/chunk/Gk1J52Yw.mjs +0 -207
- package/dist/es/chunk/NsldgdCh.mjs +0 -704
- package/dist/es/chunk/V6KjsUQN.mjs +0 -35
- package/dist/es/chunk/eEsLFV3s.mjs +0 -76
- package/dist/es/chunk/fqiLhk0V.mjs +0 -2065
- package/dist/es/chunk/nxVM7re4.mjs +0 -35
- package/dist/es/chunk/s7HLrANj.mjs +0 -215
- package/dist/es/chunk/vPhxogl3.mjs +0 -19
- package/dist/es/components/icon/icon2.mjs +0 -27
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { defineComponent, useSlots, ref, computed, createBlock, openBlock, Transition, unref, withCtx, withDirectives, createElementVNode, normalizeClass, createCommentVNode, renderSlot, resolveDynamicComponent, createElementBlock, createTextVNode, toDisplayString, Fragment, createVNode, vShow } from 'vue';
|
|
2
|
-
import { E as ElIcon } from './D0QTifnI.mjs';
|
|
3
|
-
import { T as TypeComponentsMap, a as TypeComponents } from '../components/icon/icon2.mjs';
|
|
4
|
-
import { b as buildProps, u as useNamespace, a as debugWarn } from './Gk1J52Yw.mjs';
|
|
5
|
-
import { k as keysOf } from './Du_zJ1Fz.mjs';
|
|
6
|
-
import { _ as _export_sfc, w as withInstall } from './V6KjsUQN.mjs';
|
|
7
|
-
import { f as flattedChildren, b as isComment } from './DRwwUUhy.mjs';
|
|
8
|
-
|
|
9
|
-
const alertEffects = ["light", "dark"];
|
|
10
|
-
const alertProps = buildProps({
|
|
11
|
-
title: {
|
|
12
|
-
type: String,
|
|
13
|
-
default: ""
|
|
14
|
-
},
|
|
15
|
-
description: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: ""
|
|
18
|
-
},
|
|
19
|
-
type: {
|
|
20
|
-
type: String,
|
|
21
|
-
values: keysOf(TypeComponentsMap),
|
|
22
|
-
default: "info"
|
|
23
|
-
},
|
|
24
|
-
closable: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: true
|
|
27
|
-
},
|
|
28
|
-
closeText: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: ""
|
|
31
|
-
},
|
|
32
|
-
showIcon: Boolean,
|
|
33
|
-
center: Boolean,
|
|
34
|
-
effect: {
|
|
35
|
-
type: String,
|
|
36
|
-
values: alertEffects,
|
|
37
|
-
default: "light"
|
|
38
|
-
},
|
|
39
|
-
showAfter: Number,
|
|
40
|
-
hideAfter: Number,
|
|
41
|
-
autoClose: Number
|
|
42
|
-
});
|
|
43
|
-
const alertEmits = {
|
|
44
|
-
close: (evt) => evt instanceof MouseEvent
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
const _sfc_main = defineComponent({
|
|
48
|
-
...{
|
|
49
|
-
name: "ElAlert"
|
|
50
|
-
},
|
|
51
|
-
__name: "alert",
|
|
52
|
-
props: alertProps,
|
|
53
|
-
emits: alertEmits,
|
|
54
|
-
setup(__props, { emit: __emit }) {
|
|
55
|
-
const { Close } = TypeComponents;
|
|
56
|
-
const props = __props;
|
|
57
|
-
const emit = __emit;
|
|
58
|
-
const slots = useSlots();
|
|
59
|
-
const ns = useNamespace("alert");
|
|
60
|
-
const visible = ref(true);
|
|
61
|
-
const iconComponent = computed(() => TypeComponentsMap[props.type]);
|
|
62
|
-
const hasDesc = computed(() => {
|
|
63
|
-
var _a;
|
|
64
|
-
if (props.description)
|
|
65
|
-
return true;
|
|
66
|
-
const slotContent = (_a = slots.default) == null ? void 0 : _a.call(slots);
|
|
67
|
-
if (!slotContent)
|
|
68
|
-
return false;
|
|
69
|
-
const children = flattedChildren(slotContent);
|
|
70
|
-
return children.some((child) => !isComment(child));
|
|
71
|
-
});
|
|
72
|
-
const close = (evt) => {
|
|
73
|
-
visible.value = false;
|
|
74
|
-
emit("close", evt);
|
|
75
|
-
};
|
|
76
|
-
if (props.showAfter || props.hideAfter || props.autoClose) {
|
|
77
|
-
debugWarn(
|
|
78
|
-
"el-alert",
|
|
79
|
-
"The `show-after`, `hide-after`, and `auto-close` attributes were removed after 2.11.8. Please use `v-if` and `v-show` to manually replace them, visit: https://github.com/element-plus/element-plus/pull/22560"
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
return (_ctx, _cache) => {
|
|
83
|
-
return openBlock(), createBlock(Transition, {
|
|
84
|
-
name: unref(ns).b("fade"),
|
|
85
|
-
persisted: ""
|
|
86
|
-
}, {
|
|
87
|
-
default: withCtx(() => [
|
|
88
|
-
withDirectives(createElementVNode(
|
|
89
|
-
"div",
|
|
90
|
-
{
|
|
91
|
-
class: normalizeClass([unref(ns).b(), unref(ns).m(_ctx.type), unref(ns).is("center", _ctx.center), unref(ns).is(_ctx.effect)]),
|
|
92
|
-
role: "alert"
|
|
93
|
-
},
|
|
94
|
-
[
|
|
95
|
-
_ctx.showIcon && (_ctx.$slots.icon || iconComponent.value) ? (openBlock(), createBlock(unref(ElIcon), {
|
|
96
|
-
key: 0,
|
|
97
|
-
class: normalizeClass([unref(ns).e("icon"), unref(ns).is("big", hasDesc.value)])
|
|
98
|
-
}, {
|
|
99
|
-
default: withCtx(() => [
|
|
100
|
-
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
101
|
-
(openBlock(), createBlock(resolveDynamicComponent(iconComponent.value)))
|
|
102
|
-
])
|
|
103
|
-
]),
|
|
104
|
-
_: 3
|
|
105
|
-
}, 8, ["class"])) : createCommentVNode("v-if", true),
|
|
106
|
-
createElementVNode(
|
|
107
|
-
"div",
|
|
108
|
-
{
|
|
109
|
-
class: normalizeClass(unref(ns).e("content"))
|
|
110
|
-
},
|
|
111
|
-
[
|
|
112
|
-
_ctx.title || _ctx.$slots.title ? (openBlock(), createElementBlock(
|
|
113
|
-
"span",
|
|
114
|
-
{
|
|
115
|
-
key: 0,
|
|
116
|
-
class: normalizeClass([unref(ns).e("title"), { "with-description": hasDesc.value }])
|
|
117
|
-
},
|
|
118
|
-
[
|
|
119
|
-
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
120
|
-
createTextVNode(
|
|
121
|
-
toDisplayString(_ctx.title),
|
|
122
|
-
1
|
|
123
|
-
)
|
|
124
|
-
])
|
|
125
|
-
],
|
|
126
|
-
2
|
|
127
|
-
)) : createCommentVNode("v-if", true),
|
|
128
|
-
hasDesc.value ? (openBlock(), createElementBlock(
|
|
129
|
-
"p",
|
|
130
|
-
{
|
|
131
|
-
key: 1,
|
|
132
|
-
class: normalizeClass(unref(ns).e("description"))
|
|
133
|
-
},
|
|
134
|
-
[
|
|
135
|
-
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
136
|
-
createTextVNode(
|
|
137
|
-
toDisplayString(_ctx.description),
|
|
138
|
-
1
|
|
139
|
-
)
|
|
140
|
-
])
|
|
141
|
-
],
|
|
142
|
-
2
|
|
143
|
-
)) : createCommentVNode("v-if", true),
|
|
144
|
-
_ctx.closable ? (openBlock(), createElementBlock(
|
|
145
|
-
Fragment,
|
|
146
|
-
{ key: 2 },
|
|
147
|
-
[
|
|
148
|
-
_ctx.closeText ? (openBlock(), createElementBlock(
|
|
149
|
-
"div",
|
|
150
|
-
{
|
|
151
|
-
key: 0,
|
|
152
|
-
class: normalizeClass([unref(ns).e("close-btn"), unref(ns).is("customed")]),
|
|
153
|
-
onClick: close
|
|
154
|
-
},
|
|
155
|
-
toDisplayString(_ctx.closeText),
|
|
156
|
-
3
|
|
157
|
-
)) : (openBlock(), createBlock(unref(ElIcon), {
|
|
158
|
-
key: 1,
|
|
159
|
-
class: normalizeClass(unref(ns).e("close-btn")),
|
|
160
|
-
onClick: close
|
|
161
|
-
}, {
|
|
162
|
-
default: withCtx(() => [
|
|
163
|
-
createVNode(unref(Close))
|
|
164
|
-
]),
|
|
165
|
-
_: 1
|
|
166
|
-
}, 8, ["class"]))
|
|
167
|
-
],
|
|
168
|
-
64
|
|
169
|
-
)) : createCommentVNode("v-if", true)
|
|
170
|
-
],
|
|
171
|
-
2
|
|
172
|
-
)
|
|
173
|
-
],
|
|
174
|
-
2
|
|
175
|
-
), [
|
|
176
|
-
[vShow, visible.value]
|
|
177
|
-
])
|
|
178
|
-
]),
|
|
179
|
-
_: 3
|
|
180
|
-
}, 8, ["name"]);
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);
|
|
185
|
-
|
|
186
|
-
const ElAlert = withInstall(Alert);
|
|
187
|
-
|
|
188
|
-
export { ElAlert as E };
|