@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
@@ -0,0 +1,110 @@
1
+ import { ElScrollbar, ElTree, ElCascaderPanel } from 'element-plus/es';
2
+ import 'element-plus/es/components/base/style/css';
3
+ import 'element-plus/es/components/cascader-panel/style/css';
4
+ import 'element-plus/es/components/scrollbar/style/css';
5
+ import 'element-plus/es/components/tree/style/css';
6
+ import { defineComponent, computed, useTemplateRef, watch, onBeforeUnmount, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, normalizeClass, withCtx, unref, mergeProps, isRef, nextTick } from 'vue';
7
+ import { useVModel } from '@vueuse/core';
8
+ import { _ as _export_sfc } from './pcqpp-6-.mjs';
9
+
10
+ const _sfc_main = /* @__PURE__ */ defineComponent({
11
+ __name: "popover-cascader",
12
+ props: {
13
+ modelValue: {},
14
+ multiple: { type: Boolean },
15
+ emptyText: { default: "尚未选择" },
16
+ props: {},
17
+ options: {}
18
+ },
19
+ emits: ["update:modelValue", "change", "expandChange", "choiced"],
20
+ setup(__props, { emit: __emit }) {
21
+ const props = __props;
22
+ const emits = __emit;
23
+ const myValue = useVModel(props, "modelValue", emits);
24
+ const cascaderProps = computed(() => ({
25
+ label: props.props.label || "label",
26
+ value: props.props.value || "value",
27
+ children: props.props.children || "children",
28
+ multiple: props.multiple,
29
+ emitPath: false,
30
+ ...props.props
31
+ }));
32
+ const treeProps = computed(() => ({
33
+ label: props.props.label || "label",
34
+ children: props.props.children || "children"
35
+ }));
36
+ function filterNode(value, data) {
37
+ if (!value) {
38
+ return false;
39
+ }
40
+ return value.includes(data[cascaderProps.value.value]);
41
+ }
42
+ const treeRef = useTemplateRef("treeRef");
43
+ function filterTree(val) {
44
+ nextTick(() => treeRef.value?.filter(val));
45
+ emits("expandChange");
46
+ }
47
+ const cascaderPanelRef = useTemplateRef("cascaderPanelRef");
48
+ function handleCascaderChange(val) {
49
+ const node = cascaderPanelRef.value?.getCheckedNodes(true);
50
+ emits("change", val, node);
51
+ if (!props.multiple) {
52
+ emits("choiced");
53
+ } else {
54
+ filterTree(val);
55
+ }
56
+ }
57
+ const filterTreeWatch = watch(myValue, (val) => props.multiple && filterTree(val || ""), { immediate: true });
58
+ onBeforeUnmount(() => filterTreeWatch.stop());
59
+ return (_ctx, _cache) => {
60
+ const _component_ElTree = ElTree;
61
+ const _component_ElScrollbar = ElScrollbar;
62
+ const _component_ElCascaderPanel = ElCascaderPanel;
63
+ return openBlock(), createElementBlock(Fragment, null, [
64
+ __props.multiple ? (openBlock(), createElementBlock("div", {
65
+ key: 0,
66
+ class: normalizeClass(_ctx.$style.selected)
67
+ }, [
68
+ createVNode(_component_ElScrollbar, null, {
69
+ default: withCtx(() => [
70
+ createVNode(_component_ElTree, {
71
+ ref_key: "treeRef",
72
+ ref: treeRef,
73
+ "default-expand-all": "",
74
+ "node-key": unref(cascaderProps).value,
75
+ props: unref(treeProps),
76
+ "empty-text": __props.emptyText,
77
+ data: __props.options,
78
+ "filter-node-method": filterNode
79
+ }, null, 8, ["node-key", "props", "empty-text", "data"])
80
+ ]),
81
+ _: 1
82
+ })
83
+ ], 2)) : createCommentVNode("", true),
84
+ createVNode(_component_ElCascaderPanel, mergeProps({
85
+ ref_key: "cascaderPanelRef",
86
+ ref: cascaderPanelRef,
87
+ modelValue: unref(myValue),
88
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(myValue) ? myValue.value = $event : null),
89
+ props: unref(cascaderProps),
90
+ options: __props.options
91
+ }, _ctx.$attrs, {
92
+ onExpandChange: _cache[1] || (_cache[1] = ($event) => emits("expandChange")),
93
+ onChange: handleCascaderChange
94
+ }), null, 16, ["modelValue", "props", "options"])
95
+ ], 64);
96
+ };
97
+ }
98
+ });
99
+
100
+ /* unplugin-vue-components disabled */const selected = "_selected_1r65k_1";
101
+ const style0 = {
102
+ selected: selected
103
+ };
104
+
105
+ const cssModules = {
106
+ "$style": style0
107
+ };
108
+ const PopoverCascader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
109
+
110
+ export { PopoverCascader as P };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Checks if `value` is the
3
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
4
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
5
+ *
6
+ * @static
7
+ * @memberOf _
8
+ * @since 0.1.0
9
+ * @category Lang
10
+ * @param {*} value The value to check.
11
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
12
+ * @example
13
+ *
14
+ * _.isObject({});
15
+ * // => true
16
+ *
17
+ * _.isObject([1, 2, 3]);
18
+ * // => true
19
+ *
20
+ * _.isObject(_.noop);
21
+ * // => true
22
+ *
23
+ * _.isObject(null);
24
+ * // => false
25
+ */
26
+ function isObject(value) {
27
+ var type = typeof value;
28
+ return value != null && (type == 'object' || type == 'function');
29
+ }
30
+
31
+ export { isObject as i };
@@ -1,5 +1,99 @@
1
- import { r as root, a as isObject } from './Cxx_YWUC.mjs';
2
- import { t as toNumber } from './BVBK1U57.mjs';
1
+ import { i as isObject } from './CqTdDZkE.mjs';
2
+ import { r as root } from './Fo0dZYnz.mjs';
3
+ import { i as isSymbol } from './D229kQ56.mjs';
4
+
5
+ /** Used to match a single whitespace character. */
6
+ var reWhitespace = /\s/;
7
+
8
+ /**
9
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
10
+ * character of `string`.
11
+ *
12
+ * @private
13
+ * @param {string} string The string to inspect.
14
+ * @returns {number} Returns the index of the last non-whitespace character.
15
+ */
16
+ function trimmedEndIndex(string) {
17
+ var index = string.length;
18
+
19
+ while (index-- && reWhitespace.test(string.charAt(index))) {}
20
+ return index;
21
+ }
22
+
23
+ /** Used to match leading whitespace. */
24
+ var reTrimStart = /^\s+/;
25
+
26
+ /**
27
+ * The base implementation of `_.trim`.
28
+ *
29
+ * @private
30
+ * @param {string} string The string to trim.
31
+ * @returns {string} Returns the trimmed string.
32
+ */
33
+ function baseTrim(string) {
34
+ return string
35
+ ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')
36
+ : string;
37
+ }
38
+
39
+ /** Used as references for various `Number` constants. */
40
+ var NAN = 0 / 0;
41
+
42
+ /** Used to detect bad signed hexadecimal string values. */
43
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
44
+
45
+ /** Used to detect binary string values. */
46
+ var reIsBinary = /^0b[01]+$/i;
47
+
48
+ /** Used to detect octal string values. */
49
+ var reIsOctal = /^0o[0-7]+$/i;
50
+
51
+ /** Built-in method references without a dependency on `root`. */
52
+ var freeParseInt = parseInt;
53
+
54
+ /**
55
+ * Converts `value` to a number.
56
+ *
57
+ * @static
58
+ * @memberOf _
59
+ * @since 4.0.0
60
+ * @category Lang
61
+ * @param {*} value The value to process.
62
+ * @returns {number} Returns the number.
63
+ * @example
64
+ *
65
+ * _.toNumber(3.2);
66
+ * // => 3.2
67
+ *
68
+ * _.toNumber(Number.MIN_VALUE);
69
+ * // => 5e-324
70
+ *
71
+ * _.toNumber(Infinity);
72
+ * // => Infinity
73
+ *
74
+ * _.toNumber('3.2');
75
+ * // => 3.2
76
+ */
77
+ function toNumber(value) {
78
+ if (typeof value == 'number') {
79
+ return value;
80
+ }
81
+ if (isSymbol(value)) {
82
+ return NAN;
83
+ }
84
+ if (isObject(value)) {
85
+ var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
86
+ value = isObject(other) ? (other + '') : other;
87
+ }
88
+ if (typeof value != 'string') {
89
+ return value === 0 ? value : +value;
90
+ }
91
+ value = baseTrim(value);
92
+ var isBinary = reIsBinary.test(value);
93
+ return (isBinary || reIsOctal.test(value))
94
+ ? freeParseInt(value.slice(2), isBinary ? 2 : 8)
95
+ : (reIsBadHex.test(value) ? NAN : +value);
96
+ }
3
97
 
4
98
  /**
5
99
  * Gets the timestamp of the number of milliseconds that have elapsed since
@@ -0,0 +1,28 @@
1
+ import { i as isObjectLike, b as baseGetTag } from './Fo0dZYnz.mjs';
2
+
3
+ /** `Object#toString` result references. */
4
+ var symbolTag = '[object Symbol]';
5
+
6
+ /**
7
+ * Checks if `value` is classified as a `Symbol` primitive or object.
8
+ *
9
+ * @static
10
+ * @memberOf _
11
+ * @since 4.0.0
12
+ * @category Lang
13
+ * @param {*} value The value to check.
14
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
15
+ * @example
16
+ *
17
+ * _.isSymbol(Symbol.iterator);
18
+ * // => true
19
+ *
20
+ * _.isSymbol('abc');
21
+ * // => false
22
+ */
23
+ function isSymbol(value) {
24
+ return typeof value == 'symbol' ||
25
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
26
+ }
27
+
28
+ export { isSymbol as i };