@wfrog/vc-ui 1.1.0 → 1.2.0
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/README.md +3 -3
- package/dist/es/chunk/{OEa4tYPF.mjs → -ga82G_B.mjs} +1 -1
- package/dist/es/chunk/B1BnPYNG.mjs +163 -0
- package/dist/es/chunk/{DFOLES4O.mjs → BA2yoAwy.mjs} +403 -502
- package/dist/es/chunk/{BpqBBo4z.mjs → BDyXj_90.mjs} +2 -2
- package/dist/es/chunk/{BI0vrXwX.mjs → BI-fNJhk.mjs} +6 -3
- package/dist/es/chunk/{BsGCX4td.mjs → BK4T_2ha.mjs} +1 -1
- package/dist/es/chunk/{73YgKz3H.mjs → BLLKi_0v.mjs} +1 -1
- package/dist/es/chunk/{DTLPXrjb.mjs → BTsEMnf_.mjs} +1 -1
- package/dist/es/chunk/{B5UQmWXg.mjs → BUf50Y7Y.mjs} +41 -21
- package/dist/es/chunk/{BzedaLtg.mjs → BYVaz5Or.mjs} +2 -2
- package/dist/es/chunk/BaJ7k5Lg.mjs +209 -0
- package/dist/es/chunk/{Bp9jXKX0.mjs → BambM7zX.mjs} +2 -2
- package/dist/es/chunk/{CizMbf5K.mjs → Bl0WQiki.mjs} +1 -1
- package/dist/es/chunk/{CLbj8G-F.mjs → Bnot0Gwc.mjs} +12 -4
- package/dist/es/chunk/{4eyJqDa9.mjs → BoGGHTrJ.mjs} +4 -2
- package/dist/es/chunk/C7Dgjpd1.mjs +242 -0
- package/dist/es/chunk/{D0LB3gF-.mjs → CKbkzlkO.mjs} +104 -72
- package/dist/es/chunk/{DrgvuOYH.mjs → CL5WTCB3.mjs} +4 -2
- package/dist/es/chunk/{XwSiBVsA.mjs → CM_I1FoA.mjs} +2 -2
- package/dist/es/chunk/{DouIsSPi.mjs → CNILa-hz.mjs} +1 -1
- package/dist/es/chunk/{DRoyW749.mjs → CcKUdl3e.mjs} +12 -6
- package/dist/es/chunk/CidLkmft.mjs +188 -0
- package/dist/es/chunk/{HAog8AWU.mjs → CitH0taR.mjs} +816 -539
- package/dist/es/chunk/{Cu6erWl4.mjs → CzqeSQn4.mjs} +73 -38
- package/dist/es/chunk/{CLCfXfvv.mjs → D7JQbDFE.mjs} +154 -118
- package/dist/es/chunk/{DaCDeO95.mjs → D9iEroQw.mjs} +1 -207
- package/dist/es/chunk/{cPBw23yt.mjs → DEPZhJ0Z.mjs} +21 -16
- package/dist/es/chunk/{CPERtDRX.mjs → DHpbQMGk.mjs} +32 -22
- package/dist/es/chunk/{BHsNc7jl.mjs → DKpRXDRE.mjs} +82 -55
- package/dist/es/chunk/{CLMc8GzD.mjs → DMYHOxhk.mjs} +462 -311
- package/dist/es/chunk/{CBSopeeE.mjs → DQHGjqG5.mjs} +9 -4
- package/dist/es/chunk/DTEM_vYZ.mjs +23 -0
- package/dist/es/chunk/{NQBKROII.mjs → DWcIzeMM.mjs} +1 -1
- package/dist/es/chunk/{FHvLvzEB.mjs → DX38FfmL.mjs} +1088 -697
- package/dist/es/chunk/{DZD-YnCt.mjs → Dcm-lOj8.mjs} +4 -4
- package/dist/es/chunk/{09Ec85_u.mjs → DdmNdV7I.mjs} +398 -278
- package/dist/es/chunk/{f0-vIQGp.mjs → DfHTA5LW.mjs} +3 -3
- package/dist/es/chunk/DgFT6snA.mjs +835 -0
- package/dist/es/chunk/{DwKWIlzw.mjs → DgSzI6Fw.mjs} +106 -71
- package/dist/es/chunk/{BcTuAX8r.mjs → Dsye5ZEp.mjs} +5 -3
- package/dist/es/chunk/{BsLJxiSC.mjs → Dw-yyl2m.mjs} +1 -1
- package/dist/es/chunk/{DXPWe_a5.mjs → U13Qpiki.mjs} +19 -13
- package/dist/es/chunk/{axpwSky6.mjs → _8u_XVHh.mjs} +168 -120
- package/dist/es/chunk/egk9EEzo.mjs +66 -0
- package/dist/es/chunk/{BUEEWLrd.mjs → ezK_XQQd.mjs} +15 -6
- package/dist/es/chunk/{Bl2KlMdP.mjs → oW98L-44.mjs} +8 -3
- package/dist/es/chunk/{Dk6Bx0KT.mjs → plK2vnjp.mjs} +8 -5
- package/dist/es/components/awesome-icon/awesome-icon.mjs +2 -1
- package/dist/es/components/backbottom/backbottom.mjs +2 -2
- package/dist/es/components/button/button.mjs +105 -76
- package/dist/es/components/choice/choice.mjs +2 -2
- package/dist/es/components/config-provider/config-provider.d.ts +1 -0
- package/dist/es/components/config-provider/config-provider.mjs +13 -5
- package/dist/es/components/cropper/cropper.mjs +44 -33
- package/dist/es/components/currency/currency.mjs +5 -5
- package/dist/es/components/daterange-picker/daterange-picker.mjs +2267 -1522
- package/dist/es/components/dialog/dialog.mjs +213 -172
- package/dist/es/components/dialog/index.css +1 -1
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +11 -11
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +5 -4
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +495 -314
- package/dist/es/components/dialog-upload-images/index.css +1 -1
- package/dist/es/components/drag-verify/drag-verify.mjs +3 -3
- package/dist/es/components/drawer/drawer.mjs +136 -94
- package/dist/es/components/drawer/index.css +1 -1
- package/dist/es/components/easy-pagination/easy-pagination.mjs +2 -2
- package/dist/es/components/el-icon/el-icon.mjs +1 -1
- package/dist/es/components/el-icon/index.css +3 -2
- package/dist/es/components/flag/flag.mjs +2 -1
- package/dist/es/components/icon/icon.mjs +10 -31
- package/dist/es/components/icon/icon.vue.d.ts +1 -1
- package/dist/es/components/icon/icon2.mjs +1 -1
- package/dist/es/components/icon/index.mjs +2 -2
- package/dist/es/components/icon-picker/components/collections.vue.d.ts +625 -0
- package/dist/es/components/icon-picker/components/panel.vue.d.ts +9 -0
- package/dist/es/components/icon-picker/icon-picker.d.ts +40 -0
- package/dist/es/components/icon-picker/icon-picker.mjs +1375 -0
- package/dist/es/components/icon-picker/icon-picker.vue.d.ts +9 -0
- package/dist/es/components/icon-picker/index.css +121 -0
- package/dist/es/components/icon-picker/index.d.ts +4 -0
- package/dist/es/components/icon-picker/index.mjs +6 -0
- package/dist/es/components/iconify-icon/iconify-icon.d.ts +5 -0
- package/dist/es/components/iconify-icon/iconify-icon.mjs +1860 -0
- package/dist/es/components/iconify-icon/iconify-icon.vue.d.ts +6 -0
- package/dist/es/components/iconify-icon/index.css +11 -0
- package/dist/es/components/iconify-icon/index.d.ts +4 -0
- package/dist/es/components/iconify-icon/index.mjs +6 -0
- package/dist/es/components/image/image.mjs +5 -5
- package/dist/es/components/input/input.mjs +4 -4
- package/dist/es/components/input/input.vue.d.ts +63 -54
- package/dist/es/components/input-number/input-number.mjs +5 -5
- package/dist/es/components/pca-picker/components/c.vue.d.ts +4 -4
- package/dist/es/components/pca-picker/index.css +1 -1
- package/dist/es/components/pca-picker/pca-picker.mjs +154 -160
- package/dist/es/components/pca-picker/pca-picker.vue.d.ts +12 -11
- package/dist/es/components/qr-code/qr-code.mjs +2 -1
- package/dist/es/components/screenfull/screenfull.mjs +6 -5
- package/dist/es/components/scrollbar/index.css +18 -0
- package/dist/es/components/scrollbar/index.d.ts +4 -0
- package/dist/es/components/scrollbar/index.mjs +6 -0
- package/dist/es/components/scrollbar/scrollbar.d.ts +4 -0
- package/dist/es/components/scrollbar/scrollbar.mjs +65 -0
- package/dist/es/components/scrollbar/scrollbar.vue.d.ts +588 -0
- package/dist/es/components/select/select.mjs +7 -7
- package/dist/es/components/single-player/index.css +1 -1
- package/dist/es/components/single-player/single-player.mjs +265 -166
- package/dist/es/components/svg-icon/index.css +3 -2
- package/dist/es/components/svg-icon/svg-icon.mjs +3 -3
- package/dist/es/components/switch/switch.mjs +2 -2
- package/dist/es/components/sync-scroll-container/sync-scroll-container.mjs +2 -2
- package/dist/es/components/tags/tags.mjs +9 -9
- package/dist/es/components/text-ellipsis/text-ellipsis.mjs +4 -4
- package/dist/es/components/thousand-input/thousand-input.mjs +5 -4
- package/dist/es/components/thousand-input/thousand-input.vue.d.ts +126 -108
- package/dist/es/components/tinymce/index.css +1 -1
- package/dist/es/components/tinymce/tinymce.mjs +9 -8
- package/dist/es/components/tree-picker/components/popover-cascader.vue.d.ts +179 -141
- package/dist/es/components/tree-picker/popover-cascader.css +1 -1
- package/dist/es/components/tree-picker/tree-picker.mjs +10 -10
- package/dist/es/components/tree-picker/tree-picker.vue.d.ts +12 -11
- package/dist/es/components/upload-file/upload-file.mjs +3 -3
- package/dist/es/index.d.ts +3 -0
- package/dist/es/index.mjs +41 -31
- package/dist/global.d.ts +3 -0
- package/dist/index.css +166 -22
- package/package.json +8 -2
- package/dist/es/chunk/BtTIs3tG.mjs +0 -138
- package/dist/es/chunk/C7wQNvSS.mjs +0 -728
- package/dist/es/chunk/Cbhe4I9Z.mjs +0 -16
- package/dist/es/chunk/DihosKp1.mjs +0 -140
- package/dist/es/components/icon/index.css +0 -9
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import './index.css'
|
|
2
|
-
import { c as buildProps, u as useNamespace } from '../../chunk/
|
|
3
|
-
import { f as useTooltipTriggerProps, u as useTooltipContentProps, a as ElTooltip } from '../../chunk/
|
|
2
|
+
import { c as buildProps, u as useNamespace } from '../../chunk/CcKUdl3e.mjs';
|
|
3
|
+
import { f as useTooltipTriggerProps, u as useTooltipContentProps, a as ElTooltip } from '../../chunk/DMYHOxhk.mjs';
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { b as buttonTypes, E as ElButton } from '../../chunk/
|
|
5
|
+
import { b as buttonTypes, E as ElButton } from '../../chunk/CKbkzlkO.mjs';
|
|
6
6
|
import { defineComponent, ref, computed, unref, createBlock, openBlock, mergeProps, withCtx, renderSlot, createCommentVNode, createElementVNode, normalizeClass, createTextVNode, normalizeStyle, resolveDynamicComponent, toDisplayString, createVNode, createElementBlock } from 'vue';
|
|
7
7
|
import { ElMessageBox } from 'element-plus';
|
|
8
8
|
import { i as injectConfig } from '../config-provider/config-provider2.mjs';
|
|
9
|
-
import {
|
|
9
|
+
import { _ as _sfc_main$2 } from '../icon/icon.mjs';
|
|
10
10
|
import { useThrottleFn } from '@vueuse/core';
|
|
11
|
-
import { E as ElIcon } from '../../chunk/
|
|
11
|
+
import { E as ElIcon } from '../../chunk/DEPZhJ0Z.mjs';
|
|
12
12
|
import { QuestionFilled } from '@element-plus/icons-vue';
|
|
13
13
|
import { i as iconPropType } from '../icon/icon2.mjs';
|
|
14
|
-
import { _ as _export_sfc, w as withInstall } from '../../chunk/
|
|
15
|
-
import { u as useLocale } from '../../chunk/
|
|
16
|
-
import { a as addUnit } from '../../chunk/
|
|
14
|
+
import { _ as _export_sfc, w as withInstall } from '../../chunk/BTsEMnf_.mjs';
|
|
15
|
+
import { u as useLocale } from '../../chunk/plK2vnjp.mjs';
|
|
16
|
+
import { a as addUnit } from '../../chunk/Bl0WQiki.mjs';
|
|
17
17
|
import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
|
|
18
18
|
|
|
19
19
|
const popconfirmProps = buildProps({
|
|
@@ -61,15 +61,16 @@ const popconfirmEmits = {
|
|
|
61
61
|
cancel: (e) => e instanceof MouseEvent
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
64
|
+
const _sfc_main$1 = defineComponent({
|
|
65
|
+
...{
|
|
66
|
+
name: "ElPopconfirm"
|
|
67
|
+
},
|
|
68
|
+
__name: "popconfirm",
|
|
69
69
|
props: popconfirmProps,
|
|
70
70
|
emits: popconfirmEmits,
|
|
71
|
-
setup(__props, { expose, emit }) {
|
|
71
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
72
72
|
const props = __props;
|
|
73
|
+
const emit = __emit;
|
|
73
74
|
const { t } = useLocale();
|
|
74
75
|
const ns = useNamespace("popconfirm");
|
|
75
76
|
const tooltipRef = ref();
|
|
@@ -99,9 +100,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
99
100
|
emit("cancel", e);
|
|
100
101
|
hidePopper();
|
|
101
102
|
};
|
|
102
|
-
const finalConfirmButtonText = computed(
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
const finalConfirmButtonText = computed(
|
|
104
|
+
() => props.confirmButtonText || t("el.popconfirm.confirmButtonText")
|
|
105
|
+
);
|
|
106
|
+
const finalCancelButtonText = computed(
|
|
107
|
+
() => props.cancelButtonText || t("el.popconfirm.cancelButtonText")
|
|
108
|
+
);
|
|
109
|
+
__expose({
|
|
105
110
|
popperRef,
|
|
106
111
|
hide: hidePopper
|
|
107
112
|
});
|
|
@@ -115,7 +120,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
115
120
|
"virtual-triggering": _ctx.virtualTriggering,
|
|
116
121
|
"virtual-ref": _ctx.virtualRef,
|
|
117
122
|
"popper-class": `${unref(ns).namespace.value}-popover`,
|
|
118
|
-
"popper-style":
|
|
123
|
+
"popper-style": style.value,
|
|
119
124
|
teleported: _ctx.teleported,
|
|
120
125
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
121
126
|
"hide-after": _ctx.hideAfter,
|
|
@@ -124,59 +129,83 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
124
129
|
onShow: showPopper
|
|
125
130
|
}), {
|
|
126
131
|
content: withCtx(() => [
|
|
127
|
-
createElementVNode(
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
(openBlock(), createBlock(
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
132
|
+
createElementVNode(
|
|
133
|
+
"div",
|
|
134
|
+
{
|
|
135
|
+
ref_key: "rootRef",
|
|
136
|
+
ref: rootRef,
|
|
137
|
+
tabindex: "-1",
|
|
138
|
+
class: normalizeClass(unref(ns).b())
|
|
139
|
+
},
|
|
140
|
+
[
|
|
141
|
+
createElementVNode(
|
|
142
|
+
"div",
|
|
143
|
+
{
|
|
144
|
+
class: normalizeClass(unref(ns).e("main"))
|
|
145
|
+
},
|
|
146
|
+
[
|
|
147
|
+
!_ctx.hideIcon && _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {
|
|
148
|
+
key: 0,
|
|
149
|
+
class: normalizeClass(unref(ns).e("icon")),
|
|
150
|
+
style: normalizeStyle({ color: _ctx.iconColor })
|
|
151
|
+
}, {
|
|
152
|
+
default: withCtx(() => [
|
|
153
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}, 8, ["class", "style"])) : createCommentVNode("v-if", true),
|
|
157
|
+
createTextVNode(
|
|
158
|
+
" " + toDisplayString(_ctx.title),
|
|
159
|
+
1
|
|
160
|
+
)
|
|
161
|
+
],
|
|
162
|
+
2
|
|
163
|
+
),
|
|
164
|
+
createElementVNode(
|
|
165
|
+
"div",
|
|
166
|
+
{
|
|
167
|
+
class: normalizeClass(unref(ns).e("action"))
|
|
168
|
+
},
|
|
169
|
+
[
|
|
170
|
+
renderSlot(_ctx.$slots, "actions", {
|
|
171
|
+
confirm,
|
|
172
|
+
cancel
|
|
173
|
+
}, () => [
|
|
174
|
+
createVNode(unref(ElButton), {
|
|
175
|
+
size: "small",
|
|
176
|
+
type: _ctx.cancelButtonType === "text" ? "" : _ctx.cancelButtonType,
|
|
177
|
+
text: _ctx.cancelButtonType === "text",
|
|
178
|
+
onClick: cancel
|
|
179
|
+
}, {
|
|
180
|
+
default: withCtx(() => [
|
|
181
|
+
createTextVNode(
|
|
182
|
+
toDisplayString(finalCancelButtonText.value),
|
|
183
|
+
1
|
|
184
|
+
)
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
}, 8, ["type", "text"]),
|
|
188
|
+
createVNode(unref(ElButton), {
|
|
189
|
+
size: "small",
|
|
190
|
+
type: _ctx.confirmButtonType === "text" ? "" : _ctx.confirmButtonType,
|
|
191
|
+
text: _ctx.confirmButtonType === "text",
|
|
192
|
+
onClick: confirm
|
|
193
|
+
}, {
|
|
194
|
+
default: withCtx(() => [
|
|
195
|
+
createTextVNode(
|
|
196
|
+
toDisplayString(finalConfirmButtonText.value),
|
|
197
|
+
1
|
|
198
|
+
)
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
}, 8, ["type", "text"])
|
|
202
|
+
])
|
|
203
|
+
],
|
|
204
|
+
2
|
|
205
|
+
)
|
|
206
|
+
],
|
|
207
|
+
2
|
|
208
|
+
)
|
|
180
209
|
]),
|
|
181
210
|
default: withCtx(() => [
|
|
182
211
|
_ctx.$slots.reference ? renderSlot(_ctx.$slots, "reference", { key: 0 }) : createCommentVNode("v-if", true)
|
|
@@ -186,7 +215,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
186
215
|
};
|
|
187
216
|
}
|
|
188
217
|
});
|
|
189
|
-
var Popconfirm = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "popconfirm.vue"]]);
|
|
218
|
+
var Popconfirm = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);
|
|
190
219
|
|
|
191
220
|
const ElPopconfirm = withInstall(Popconfirm);
|
|
192
221
|
|
|
@@ -249,7 +278,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
249
278
|
onClick: unref(handleClick)
|
|
250
279
|
}), {
|
|
251
280
|
default: withCtx(() => [
|
|
252
|
-
unref(position) === "left" && unref(name) ? (openBlock(), createBlock(
|
|
281
|
+
unref(position) === "left" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
253
282
|
key: 0,
|
|
254
283
|
type: unref(iconType),
|
|
255
284
|
name: unref(name)
|
|
@@ -257,7 +286,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
257
286
|
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_1, [
|
|
258
287
|
renderSlot(_ctx.$slots, "default")
|
|
259
288
|
])) : createCommentVNode("", true),
|
|
260
|
-
unref(position) === "right" && unref(name) ? (openBlock(), createBlock(
|
|
289
|
+
unref(position) === "right" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
261
290
|
key: 2,
|
|
262
291
|
type: unref(iconType),
|
|
263
292
|
name: unref(name)
|
|
@@ -273,7 +302,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
273
302
|
onClick: unref(handleClick)
|
|
274
303
|
}), {
|
|
275
304
|
default: withCtx(() => [
|
|
276
|
-
unref(position) === "left" && unref(name) ? (openBlock(), createBlock(
|
|
305
|
+
unref(position) === "left" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
277
306
|
key: 0,
|
|
278
307
|
type: unref(iconType),
|
|
279
308
|
name: unref(name)
|
|
@@ -281,7 +310,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
281
310
|
_ctx.$slots.default ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
282
311
|
renderSlot(_ctx.$slots, "default")
|
|
283
312
|
])) : createCommentVNode("", true),
|
|
284
|
-
unref(position) === "right" && unref(name) ? (openBlock(), createBlock(
|
|
313
|
+
unref(position) === "right" && unref(name) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
285
314
|
key: 2,
|
|
286
315
|
type: unref(iconType),
|
|
287
316
|
name: unref(name)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css'
|
|
2
|
-
import '../../chunk/
|
|
3
|
-
import { E as ElRadioGroup, a as ElCheckboxGroup } from '../../chunk/
|
|
2
|
+
import '../../chunk/CcKUdl3e.mjs';
|
|
3
|
+
import { E as ElRadioGroup, a as ElCheckboxGroup } from '../../chunk/BA2yoAwy.mjs';
|
|
4
4
|
import { defineComponent, computed, createBlock, openBlock, mergeProps, unref } from 'vue';
|
|
5
5
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
6
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { defineComponent,
|
|
2
|
-
import { i as index } from '../../chunk/
|
|
1
|
+
import { defineComponent, onBeforeMount, renderSlot } from 'vue';
|
|
2
|
+
import { i as index } from '../../chunk/BaJ7k5Lg.mjs';
|
|
3
|
+
import '../../chunk/D9iEroQw.mjs';
|
|
3
4
|
import { useProvide } from '../../use/useStore/index.mjs';
|
|
4
5
|
import { K as KEY_NAME } from './config-provider2.mjs';
|
|
5
6
|
|
|
@@ -9,13 +10,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
10
|
button: {},
|
|
10
11
|
iconfontUrl: {},
|
|
11
12
|
pcaBaseUrl: {},
|
|
12
|
-
crosProxy: {}
|
|
13
|
+
crosProxy: {},
|
|
14
|
+
localCdn: {}
|
|
13
15
|
},
|
|
14
16
|
setup(__props) {
|
|
15
17
|
const props = __props;
|
|
16
18
|
useProvide(KEY_NAME, props);
|
|
17
|
-
|
|
18
|
-
if (!window.VC
|
|
19
|
+
onBeforeMount(() => {
|
|
20
|
+
if (!window.VC) {
|
|
21
|
+
window.VC = {};
|
|
22
|
+
}
|
|
23
|
+
if (props.localCdn) {
|
|
24
|
+
window.VC.cdn = { name: "localCDN", path: props.localCdn };
|
|
25
|
+
}
|
|
26
|
+
if (!window.VC.isSVGIconLock && props.iconfontUrl) {
|
|
19
27
|
window.VC = { ...window.VC, isSVGIconLock: true };
|
|
20
28
|
index.loadScriptSingle(props.iconfontUrl);
|
|
21
29
|
}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import './index.css'
|
|
2
|
-
import { c as buildProps, q as isBoolean, u as useNamespace } from '../../chunk/
|
|
3
|
-
import { v as vLoading } from '../../chunk/
|
|
4
|
-
import { E as ElSpace } from '../../chunk/
|
|
5
|
-
import { E as ElButton } from '../../chunk/
|
|
6
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass,
|
|
7
|
-
import { i as index$1 } from '../../chunk/
|
|
2
|
+
import { c as buildProps, q as isBoolean, u as useNamespace } from '../../chunk/CcKUdl3e.mjs';
|
|
3
|
+
import { v as vLoading } from '../../chunk/DKpRXDRE.mjs';
|
|
4
|
+
import { E as ElSpace } from '../../chunk/CzqeSQn4.mjs';
|
|
5
|
+
import { E as ElButton } from '../../chunk/CKbkzlkO.mjs';
|
|
6
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createBlock, createCommentVNode, renderSlot, unref, withCtx, resolveDynamicComponent, ref, useTemplateRef, shallowRef, watch, nextTick, onMounted, onUnmounted, withDirectives, isRef, createElementVNode, normalizeStyle, createVNode, createTextVNode } from 'vue';
|
|
7
|
+
import { i as index$1 } from '../../chunk/BaJ7k5Lg.mjs';
|
|
8
|
+
import '../../chunk/D9iEroQw.mjs';
|
|
8
9
|
import { C as Component$1 } from '../dialog/dialog.mjs';
|
|
9
10
|
import { defaultWindow } from '@vueuse/core';
|
|
10
|
-
import { E as ElIcon } from '../../chunk/
|
|
11
|
+
import { E as ElIcon } from '../../chunk/DEPZhJ0Z.mjs';
|
|
11
12
|
import { i as iconPropType } from '../icon/icon2.mjs';
|
|
12
|
-
import { _ as _export_sfc, w as withInstall } from '../../chunk/
|
|
13
|
-
import { u as useGlobalConfig } from '../../chunk/
|
|
14
|
-
import { u as useDeprecated } from '../../chunk/
|
|
15
|
-
import { d as debounce } from '../../chunk/
|
|
13
|
+
import { _ as _export_sfc, w as withInstall } from '../../chunk/BTsEMnf_.mjs';
|
|
14
|
+
import { u as useGlobalConfig } from '../../chunk/BUf50Y7Y.mjs';
|
|
15
|
+
import { u as useDeprecated } from '../../chunk/DTEM_vYZ.mjs';
|
|
16
|
+
import { d as debounce } from '../../chunk/BambM7zX.mjs';
|
|
16
17
|
import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
|
|
17
18
|
|
|
18
19
|
const defaultImageOption = {
|
|
@@ -174,23 +175,28 @@ const linkEmits = {
|
|
|
174
175
|
click: (evt) => evt instanceof MouseEvent
|
|
175
176
|
};
|
|
176
177
|
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
const _hoisted_1 = ["href", "target"];
|
|
179
|
+
const _sfc_main$1 = defineComponent({
|
|
180
|
+
...{
|
|
181
|
+
name: "ElLink"
|
|
182
|
+
},
|
|
183
|
+
__name: "link",
|
|
182
184
|
props: linkProps,
|
|
183
185
|
emits: linkEmits,
|
|
184
|
-
setup(__props, { emit }) {
|
|
186
|
+
setup(__props, { emit: __emit }) {
|
|
185
187
|
const props = __props;
|
|
188
|
+
const emit = __emit;
|
|
186
189
|
const globalConfig = useGlobalConfig("link");
|
|
187
|
-
useDeprecated(
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
190
|
+
useDeprecated(
|
|
191
|
+
{
|
|
192
|
+
scope: "el-link",
|
|
193
|
+
from: "The underline option (boolean)",
|
|
194
|
+
replacement: "'always' | 'hover' | 'never'",
|
|
195
|
+
version: "3.0.0",
|
|
196
|
+
ref: "https://element-plus.org/en-US/component/link.html#underline"
|
|
197
|
+
},
|
|
198
|
+
computed(() => isBoolean(props.underline))
|
|
199
|
+
);
|
|
194
200
|
const ns = useNamespace("link");
|
|
195
201
|
const linkKls = computed(() => {
|
|
196
202
|
var _a, _b, _c;
|
|
@@ -215,7 +221,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
215
221
|
}
|
|
216
222
|
return (_ctx, _cache) => {
|
|
217
223
|
return openBlock(), createElementBlock("a", {
|
|
218
|
-
class: normalizeClass(
|
|
224
|
+
class: normalizeClass(linkKls.value),
|
|
219
225
|
href: _ctx.disabled || !_ctx.href ? void 0 : _ctx.href,
|
|
220
226
|
target: _ctx.disabled || !_ctx.href ? void 0 : _ctx.target,
|
|
221
227
|
onClick: handleClick
|
|
@@ -226,18 +232,23 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
226
232
|
]),
|
|
227
233
|
_: 1
|
|
228
234
|
})) : createCommentVNode("v-if", true),
|
|
229
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock(
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock(
|
|
236
|
+
"span",
|
|
237
|
+
{
|
|
238
|
+
key: 1,
|
|
239
|
+
class: normalizeClass(unref(ns).e("inner"))
|
|
240
|
+
},
|
|
241
|
+
[
|
|
242
|
+
renderSlot(_ctx.$slots, "default")
|
|
243
|
+
],
|
|
244
|
+
2
|
|
245
|
+
)) : createCommentVNode("v-if", true),
|
|
235
246
|
_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 2 }) : createCommentVNode("v-if", true)
|
|
236
|
-
], 10,
|
|
247
|
+
], 10, _hoisted_1);
|
|
237
248
|
};
|
|
238
249
|
}
|
|
239
250
|
});
|
|
240
|
-
var Link = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "link.vue"]]);
|
|
251
|
+
var Link = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);
|
|
241
252
|
|
|
242
253
|
const ElLink = withInstall(Link);
|
|
243
254
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './index.css'
|
|
2
|
-
import '../../chunk/
|
|
3
|
-
import '../../chunk/
|
|
4
|
-
import { E as ElSelect, a as ElOption } from '../../chunk/
|
|
5
|
-
import '../../chunk/
|
|
6
|
-
import '../../chunk/
|
|
2
|
+
import '../../chunk/CcKUdl3e.mjs';
|
|
3
|
+
import '../../chunk/B1BnPYNG.mjs';
|
|
4
|
+
import { E as ElSelect, a as ElOption } from '../../chunk/CitH0taR.mjs';
|
|
5
|
+
import '../../chunk/_8u_XVHh.mjs';
|
|
6
|
+
import '../../chunk/DMYHOxhk.mjs';
|
|
7
7
|
import { defineComponent, computed, ref, onBeforeMount, createBlock, openBlock, mergeProps, unref, isRef, createSlots, withCtx, createElementBlock, normalizeStyle, Fragment, renderList, createCommentVNode, createTextVNode, normalizeClass, toDisplayString } from 'vue';
|
|
8
8
|
import { _ as _sfc_main$1 } from '../flag/flag.mjs';
|
|
9
9
|
import { C as Component$1 } from '../thousand-input/thousand-input.mjs';
|