@wfrog/vc-ui 1.11.9 → 1.11.11

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.
Files changed (135) hide show
  1. package/dist/es/chunk/Bw0Rhd-r.mjs +110 -0
  2. package/dist/es/chunk/CqTdDZkE.mjs +31 -0
  3. package/dist/es/chunk/{DAnWZLYj.mjs → CzWfBa_8.mjs} +96 -2
  4. package/dist/es/chunk/D229kQ56.mjs +28 -0
  5. package/dist/es/chunk/{Cxx_YWUC.mjs → DcouM6gM.mjs} +6 -548
  6. package/dist/es/chunk/Fo0dZYnz.mjs +128 -0
  7. package/dist/es/chunk/KanuIcmc.mjs +412 -0
  8. package/dist/es/chunk/{B71xEPfK.mjs → uuUHUjSk.mjs} +4 -35
  9. package/dist/es/components/backbottom/backbottom.mjs +3 -2
  10. package/dist/es/components/button/button.mjs +4 -5
  11. package/dist/es/components/choice/choice.mjs +4 -4
  12. package/dist/es/components/choice/index.css +1 -1
  13. package/dist/es/components/color-switch/color-switch.mjs +73 -1046
  14. package/dist/es/components/color-switch/index.css +1 -1
  15. package/dist/es/components/cropper/cropper.mjs +11 -117
  16. package/dist/es/components/cropper/index.css +1 -1
  17. package/dist/es/components/currency/currency.mjs +4 -5
  18. package/dist/es/components/daterange-picker/daterange-picker.mjs +8 -6253
  19. package/dist/es/components/dialog/dialog.mjs +7 -400
  20. package/dist/es/components/dialog/index.css +1 -1
  21. package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +10 -11
  22. package/dist/es/components/dialog-map-point/dialog-map-point.mjs +4 -3
  23. package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +9 -1374
  24. package/dist/es/components/dialog-upload-images/index.css +1 -1
  25. package/dist/es/components/drag-verify/drag-verify.mjs +3 -2
  26. package/dist/es/components/drawer/drawer.mjs +10 -352
  27. package/dist/es/components/drawer/index.css +1 -1
  28. package/dist/es/components/easy-pagination/easy-pagination.mjs +3 -2
  29. package/dist/es/components/explorer/explorer.mjs +3 -3
  30. package/dist/es/components/explorer-column-table/explorer-column-table.mjs +5 -7
  31. package/dist/es/components/explorer-column-table/index.css +1 -1
  32. package/dist/es/components/explorer-container/explorer-container.d.ts +1 -1
  33. package/dist/es/components/explorer-container/explorer-container.mjs +4 -3
  34. package/dist/es/components/explorer-filter/explorer-filter.mjs +5 -4
  35. package/dist/es/components/explorer-footer/explorer-footer.mjs +4 -8
  36. package/dist/es/components/explorer-form/explorer-form.mjs +4 -3
  37. package/dist/es/components/explorer-list/explorer-list.mjs +5 -4
  38. package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +4 -3
  39. package/dist/es/components/explorer-panel/explorer-panel.mjs +3 -3
  40. package/dist/es/components/explorer-query/explorer-query.mjs +9 -2201
  41. package/dist/es/components/explorer-query/index.css +1 -1
  42. package/dist/es/components/explorer-table/explorer-table.mjs +20 -24
  43. package/dist/es/components/explorer-table/index.css +16 -9
  44. package/dist/es/components/explorer-tools/explorer-tools.mjs +13 -264
  45. package/dist/es/components/explorer-tools/index.css +1 -1
  46. package/dist/es/components/explorer-tree/explorer-tree.mjs +4 -5
  47. package/dist/es/components/icon-picker/icon-picker.mjs +8 -12
  48. package/dist/es/components/image/image.mjs +4 -4
  49. package/dist/es/components/info-tooltip/info-tooltip.mjs +336 -4
  50. package/dist/es/components/input/input.mjs +3 -2
  51. package/dist/es/components/input-number/input-number.mjs +3 -3
  52. package/dist/es/components/pca-picker/index.css +1 -1
  53. package/dist/es/components/pca-picker/pca-picker.mjs +443 -601
  54. package/dist/es/components/screenfull/screenfull.mjs +4 -3
  55. package/dist/es/components/scrollbar/scrollbar.mjs +3 -2
  56. package/dist/es/components/select/select.mjs +3 -5
  57. package/dist/es/components/single-player/index.css +1 -1
  58. package/dist/es/components/single-player/single-player.mjs +10 -1087
  59. package/dist/es/components/splitter/splitter.mjs +3 -3
  60. package/dist/es/components/splitter-panel/splitter-panel.mjs +3 -3
  61. package/dist/es/components/switch/index.css +1 -1
  62. package/dist/es/components/switch/switch.mjs +9 -395
  63. package/dist/es/components/tags/tags.mjs +7 -9
  64. package/dist/es/components/text-ellipsis/text-ellipsis.mjs +3 -3
  65. package/dist/es/components/thousand-input/thousand-input.mjs +33 -1
  66. package/dist/es/components/tinymce/tinymce.mjs +4 -3
  67. package/dist/es/components/transfer/transfer.mjs +3 -4
  68. package/dist/es/components/transfer-panel/transfer-panel.mjs +5 -4
  69. package/dist/es/components/tree-picker/popover-cascader.css +1 -1
  70. package/dist/es/components/tree-picker/tree-picker.mjs +5 -10
  71. package/dist/es/index.mjs +1 -1
  72. package/dist/index.css +29 -49
  73. package/package.json +1 -1
  74. package/dist/es/chunk/B-rxnVJv.mjs +0 -3
  75. package/dist/es/chunk/B5HpgPRt.mjs +0 -69
  76. package/dist/es/chunk/BBhZKpIc.mjs +0 -2179
  77. package/dist/es/chunk/BDcsaNYa.mjs +0 -59
  78. package/dist/es/chunk/BTSSEFfD.mjs +0 -319
  79. package/dist/es/chunk/BTpNRPQW.mjs +0 -55
  80. package/dist/es/chunk/BVBK1U57.mjs +0 -96
  81. package/dist/es/chunk/Bc6yUGLs.mjs +0 -45
  82. package/dist/es/chunk/BjVI1XMz.mjs +0 -40
  83. package/dist/es/chunk/BlzQCBDu.mjs +0 -5741
  84. package/dist/es/chunk/BpJKnxlF.mjs +0 -476
  85. package/dist/es/chunk/Brp-qSBw.mjs +0 -2003
  86. package/dist/es/chunk/BunQI8Jb.mjs +0 -390
  87. package/dist/es/chunk/C0XgBrDz.mjs +0 -775
  88. package/dist/es/chunk/C0pTANRX.mjs +0 -109
  89. package/dist/es/chunk/CBMjhoFP.mjs +0 -101
  90. package/dist/es/chunk/CBiNtNvQ.mjs +0 -242
  91. package/dist/es/chunk/CBlJeNBO.mjs +0 -890
  92. package/dist/es/chunk/CCVL_Zj-.mjs +0 -427
  93. package/dist/es/chunk/CEl4MyfJ.mjs +0 -252
  94. package/dist/es/chunk/CJK5_jsA.mjs +0 -53
  95. package/dist/es/chunk/CKOcwq5V.mjs +0 -44
  96. package/dist/es/chunk/COs9dJZa.mjs +0 -66
  97. package/dist/es/chunk/CPt6MxJW.mjs +0 -375
  98. package/dist/es/chunk/CVqW0jzp.mjs +0 -107
  99. package/dist/es/chunk/CccIsEqA.mjs +0 -128
  100. package/dist/es/chunk/CjLR27-a.mjs +0 -582
  101. package/dist/es/chunk/CoGexPPD.mjs +0 -2192
  102. package/dist/es/chunk/CsLIbnzG.mjs +0 -64
  103. package/dist/es/chunk/Ct6q2FXg.mjs +0 -5
  104. package/dist/es/chunk/Cuq5meQh.mjs +0 -184
  105. package/dist/es/chunk/CvYIOfT1.mjs +0 -23
  106. package/dist/es/chunk/CxHJBf4l.mjs +0 -31
  107. package/dist/es/chunk/CzdaOBtA.mjs +0 -66
  108. package/dist/es/chunk/D0QTifnI.mjs +0 -54
  109. package/dist/es/chunk/D1QnA2iT.mjs +0 -229
  110. package/dist/es/chunk/D3AvJlVX.mjs +0 -188
  111. package/dist/es/chunk/D9Lr0Bzb.mjs +0 -1136
  112. package/dist/es/chunk/DCkPv0hy.mjs +0 -29
  113. package/dist/es/chunk/DRwwUUhy.mjs +0 -49
  114. package/dist/es/chunk/DX-2VRY2.mjs +0 -836
  115. package/dist/es/chunk/DZ2oTFad.mjs +0 -687
  116. package/dist/es/chunk/D_bou1py.mjs +0 -55
  117. package/dist/es/chunk/Da199A5L.mjs +0 -314
  118. package/dist/es/chunk/DbhQlaOz.mjs +0 -94
  119. package/dist/es/chunk/Dgu95mOy.mjs +0 -237
  120. package/dist/es/chunk/DhGOsWxx.mjs +0 -6
  121. package/dist/es/chunk/Dm_Sj5aH.mjs +0 -487
  122. package/dist/es/chunk/Dmi-1GRO.mjs +0 -163
  123. package/dist/es/chunk/DodoD9a9.mjs +0 -52
  124. package/dist/es/chunk/DrrVDcwm.mjs +0 -955
  125. package/dist/es/chunk/Du_zJ1Fz.mjs +0 -49
  126. package/dist/es/chunk/DxxbB5jY.mjs +0 -34
  127. package/dist/es/chunk/Gk1J52Yw.mjs +0 -207
  128. package/dist/es/chunk/NsldgdCh.mjs +0 -704
  129. package/dist/es/chunk/V6KjsUQN.mjs +0 -35
  130. package/dist/es/chunk/eEsLFV3s.mjs +0 -76
  131. package/dist/es/chunk/fqiLhk0V.mjs +0 -2065
  132. package/dist/es/chunk/nxVM7re4.mjs +0 -35
  133. package/dist/es/chunk/s7HLrANj.mjs +0 -215
  134. package/dist/es/chunk/vPhxogl3.mjs +0 -19
  135. package/dist/es/components/icon/icon2.mjs +0 -27
@@ -1,35 +0,0 @@
1
- import { unref, inject, getCurrentInstance } from 'vue';
2
- import { isClient, computedEager } from '@vueuse/core';
3
- import { a as debugWarn, n as useGetDerivedNamespace } from './Gk1J52Yw.mjs';
4
-
5
- const defaultIdInjection = {
6
- prefix: Math.floor(Math.random() * 1e4),
7
- current: 0
8
- };
9
- const ID_INJECTION_KEY = Symbol("elIdInjection");
10
- const useIdInjection = () => {
11
- return getCurrentInstance() ? inject(ID_INJECTION_KEY, defaultIdInjection) : defaultIdInjection;
12
- };
13
- const useId = (deterministicId) => {
14
- const idInjection = useIdInjection();
15
- if (!isClient && idInjection === defaultIdInjection) {
16
- debugWarn(
17
- "IdInjection",
18
- `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
19
- usage: app.provide(ID_INJECTION_KEY, {
20
- prefix: number,
21
- current: number,
22
- })`
23
- );
24
- }
25
- const namespace = useGetDerivedNamespace();
26
- const idRef = computedEager(
27
- () => unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`
28
- );
29
- return idRef;
30
- };
31
-
32
- const formContextKey = Symbol("formContextKey");
33
- const formItemContextKey = Symbol("formItemContextKey");
34
-
35
- export { formItemContextKey as a, useIdInjection as b, formContextKey as f, useId as u };
@@ -1,215 +0,0 @@
1
- import { defineComponent, ref, computed, unref, createBlock, openBlock, mergeProps, withCtx, renderSlot, createCommentVNode, createElementVNode, normalizeClass, createTextVNode, normalizeStyle, resolveDynamicComponent, toDisplayString, createVNode } from 'vue';
2
- import { b as buttonTypes, E as ElButton } from './CPt6MxJW.mjs';
3
- import { E as ElIcon } from './D0QTifnI.mjs';
4
- import { f as useTooltipTriggerProps, u as useTooltipContentProps, a as ElTooltip } from './CoGexPPD.mjs';
5
- import { QuestionFilled } from '@element-plus/icons-vue';
6
- import { b as buildProps, u as useNamespace } from './Gk1J52Yw.mjs';
7
- import { i as iconPropType } from '../components/icon/icon2.mjs';
8
- import { _ as _export_sfc, w as withInstall } from './V6KjsUQN.mjs';
9
- import { u as useLocale } from './CEl4MyfJ.mjs';
10
- import { a as addUnit } from './DodoD9a9.mjs';
11
-
12
- const popconfirmProps = buildProps({
13
- title: String,
14
- confirmButtonText: String,
15
- cancelButtonText: String,
16
- confirmButtonType: {
17
- type: String,
18
- values: buttonTypes,
19
- default: "primary"
20
- },
21
- cancelButtonType: {
22
- type: String,
23
- values: buttonTypes,
24
- default: "text"
25
- },
26
- icon: {
27
- type: iconPropType,
28
- default: () => QuestionFilled
29
- },
30
- iconColor: {
31
- type: String,
32
- default: "#f90"
33
- },
34
- hideIcon: Boolean,
35
- hideAfter: {
36
- type: Number,
37
- default: 200
38
- },
39
- effect: {
40
- ...useTooltipContentProps.effect,
41
- default: "light"
42
- },
43
- teleported: useTooltipContentProps.teleported,
44
- persistent: useTooltipContentProps.persistent,
45
- width: {
46
- type: [String, Number],
47
- default: 150
48
- },
49
- virtualTriggering: useTooltipTriggerProps.virtualTriggering,
50
- virtualRef: useTooltipTriggerProps.virtualRef
51
- });
52
- const popconfirmEmits = {
53
- confirm: (e) => e instanceof MouseEvent,
54
- cancel: (e) => e instanceof MouseEvent
55
- };
56
-
57
- const _sfc_main = defineComponent({
58
- ...{
59
- name: "ElPopconfirm"
60
- },
61
- __name: "popconfirm",
62
- props: popconfirmProps,
63
- emits: popconfirmEmits,
64
- setup(__props, { expose: __expose, emit: __emit }) {
65
- const props = __props;
66
- const emit = __emit;
67
- const { t } = useLocale();
68
- const ns = useNamespace("popconfirm");
69
- const tooltipRef = ref();
70
- const rootRef = ref();
71
- const popperRef = computed(() => {
72
- var _a;
73
- return (_a = unref(tooltipRef)) == null ? void 0 : _a.popperRef;
74
- });
75
- const showPopper = () => {
76
- var _a, _b;
77
- (_b = (_a = rootRef.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
78
- };
79
- const hidePopper = () => {
80
- var _a, _b;
81
- (_b = (_a = tooltipRef.value) == null ? void 0 : _a.onClose) == null ? void 0 : _b.call(_a);
82
- };
83
- const style = computed(() => {
84
- return {
85
- width: addUnit(props.width)
86
- };
87
- });
88
- const confirm = (e) => {
89
- emit("confirm", e);
90
- hidePopper();
91
- };
92
- const cancel = (e) => {
93
- emit("cancel", e);
94
- hidePopper();
95
- };
96
- const finalConfirmButtonText = computed(
97
- () => props.confirmButtonText || t("el.popconfirm.confirmButtonText")
98
- );
99
- const finalCancelButtonText = computed(
100
- () => props.cancelButtonText || t("el.popconfirm.cancelButtonText")
101
- );
102
- __expose({
103
- popperRef,
104
- hide: hidePopper
105
- });
106
- return (_ctx, _cache) => {
107
- return openBlock(), createBlock(unref(ElTooltip), mergeProps({
108
- ref_key: "tooltipRef",
109
- ref: tooltipRef,
110
- trigger: "click",
111
- effect: _ctx.effect
112
- }, _ctx.$attrs, {
113
- "virtual-triggering": _ctx.virtualTriggering,
114
- "virtual-ref": _ctx.virtualRef,
115
- "popper-class": `${unref(ns).namespace.value}-popover`,
116
- "popper-style": style.value,
117
- teleported: _ctx.teleported,
118
- "fallback-placements": ["bottom", "top", "right", "left"],
119
- "hide-after": _ctx.hideAfter,
120
- persistent: _ctx.persistent,
121
- loop: "",
122
- onShow: showPopper
123
- }), {
124
- content: withCtx(() => [
125
- createElementVNode(
126
- "div",
127
- {
128
- ref_key: "rootRef",
129
- ref: rootRef,
130
- tabindex: "-1",
131
- class: normalizeClass(unref(ns).b())
132
- },
133
- [
134
- createElementVNode(
135
- "div",
136
- {
137
- class: normalizeClass(unref(ns).e("main"))
138
- },
139
- [
140
- !_ctx.hideIcon && _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {
141
- key: 0,
142
- class: normalizeClass(unref(ns).e("icon")),
143
- style: normalizeStyle({ color: _ctx.iconColor })
144
- }, {
145
- default: withCtx(() => [
146
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
147
- ]),
148
- _: 1
149
- }, 8, ["class", "style"])) : createCommentVNode("v-if", true),
150
- createTextVNode(
151
- " " + toDisplayString(_ctx.title),
152
- 1
153
- )
154
- ],
155
- 2
156
- ),
157
- createElementVNode(
158
- "div",
159
- {
160
- class: normalizeClass(unref(ns).e("action"))
161
- },
162
- [
163
- renderSlot(_ctx.$slots, "actions", {
164
- confirm,
165
- cancel
166
- }, () => [
167
- createVNode(unref(ElButton), {
168
- size: "small",
169
- type: _ctx.cancelButtonType === "text" ? "" : _ctx.cancelButtonType,
170
- text: _ctx.cancelButtonType === "text",
171
- onClick: cancel
172
- }, {
173
- default: withCtx(() => [
174
- createTextVNode(
175
- toDisplayString(finalCancelButtonText.value),
176
- 1
177
- )
178
- ]),
179
- _: 1
180
- }, 8, ["type", "text"]),
181
- createVNode(unref(ElButton), {
182
- size: "small",
183
- type: _ctx.confirmButtonType === "text" ? "" : _ctx.confirmButtonType,
184
- text: _ctx.confirmButtonType === "text",
185
- onClick: confirm
186
- }, {
187
- default: withCtx(() => [
188
- createTextVNode(
189
- toDisplayString(finalConfirmButtonText.value),
190
- 1
191
- )
192
- ]),
193
- _: 1
194
- }, 8, ["type", "text"])
195
- ])
196
- ],
197
- 2
198
- )
199
- ],
200
- 2
201
- )
202
- ]),
203
- default: withCtx(() => [
204
- _ctx.$slots.reference ? renderSlot(_ctx.$slots, "reference", { key: 0 }) : createCommentVNode("v-if", true)
205
- ]),
206
- _: 3
207
- }, 16, ["effect", "virtual-triggering", "virtual-ref", "popper-class", "popper-style", "teleported", "hide-after", "persistent"]);
208
- };
209
- }
210
- });
211
- var Popconfirm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);
212
-
213
- const ElPopconfirm = withInstall(Popconfirm);
214
-
215
- export { ElPopconfirm as E };
@@ -1,19 +0,0 @@
1
- import { inject, computed, unref } from 'vue';
2
- import { m as buildProp } from './Gk1J52Yw.mjs';
3
-
4
- const componentSizes = ["", "default", "small", "large"];
5
-
6
- const useSizeProp = buildProp({
7
- type: String,
8
- values: componentSizes,
9
- required: false
10
- });
11
- const SIZE_INJECTION_KEY = Symbol("size");
12
- const useGlobalSize = () => {
13
- const injectedSize = inject(SIZE_INJECTION_KEY, {});
14
- return computed(() => {
15
- return unref(injectedSize.size) || "";
16
- });
17
- };
18
-
19
- export { SIZE_INJECTION_KEY as S, useGlobalSize as a, componentSizes as c, useSizeProp as u };
@@ -1,27 +0,0 @@
1
- import { CircleClose, CircleCheck, Loading, Close, InfoFilled, CircleCloseFilled, WarningFilled, SuccessFilled } from '@element-plus/icons-vue';
2
- import { d as definePropType } from '../../chunk/Gk1J52Yw.mjs';
3
-
4
- const iconPropType = definePropType([
5
- String,
6
- Object,
7
- Function
8
- ]);
9
- const CloseComponents = {
10
- Close
11
- };
12
- const TypeComponents = {
13
- Close};
14
- const TypeComponentsMap = {
15
- primary: InfoFilled,
16
- success: SuccessFilled,
17
- warning: WarningFilled,
18
- error: CircleCloseFilled,
19
- info: InfoFilled
20
- };
21
- const ValidateComponentsMap = {
22
- validating: Loading,
23
- success: CircleCheck,
24
- error: CircleClose
25
- };
26
-
27
- export { CloseComponents as C, TypeComponentsMap as T, ValidateComponentsMap as V, TypeComponents as a, iconPropType as i };