@wfrog/vc-ui 1.10.9 → 1.11.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/dist/es/chunk/{CNEMJL35.mjs → B5HpgPRt.mjs} +2 -2
- package/dist/es/chunk/{q2jRgbir.mjs → B71xEPfK.mjs} +1 -1
- package/dist/es/chunk/{BPQ3KP1S.mjs → BBhZKpIc.mjs} +10 -10
- package/dist/es/chunk/{Bu3XHP55.mjs → BDcsaNYa.mjs} +1 -1
- package/dist/es/chunk/{D-1mFPUH.mjs → BTSSEFfD.mjs} +1 -1
- package/dist/es/chunk/{BdVq9mV6.mjs → BVBK1U57.mjs} +1 -1
- package/dist/es/chunk/{o2Q7kb8Y.mjs → BlzQCBDu.mjs} +13 -13
- package/dist/es/chunk/{CGC9zZcN.mjs → BpJKnxlF.mjs} +2 -2
- package/dist/es/chunk/{eqwEsspo.mjs → Brp-qSBw.mjs} +3 -3
- package/dist/es/chunk/{B-xUksL-.mjs → BunQI8Jb.mjs} +1 -1
- package/dist/es/chunk/{KyEEoljI.mjs → C0pTANRX.mjs} +3 -3
- package/dist/es/chunk/{BZoKD2RY.mjs → CBiNtNvQ.mjs} +3 -3
- package/dist/es/chunk/{BA_oVIng.mjs → CBlJeNBO.mjs} +4 -4
- package/dist/es/chunk/{Do7HIVy5.mjs → CCVL_Zj-.mjs} +3 -3
- package/dist/es/chunk/{CJ0afvkJ.mjs → CEl4MyfJ.mjs} +1 -1
- package/dist/es/chunk/{DSw4GnC6.mjs → CKOcwq5V.mjs} +1 -1
- package/dist/es/chunk/{COvAourt.mjs → COs9dJZa.mjs} +1 -1
- package/dist/es/chunk/{Db0Pk78M.mjs → CPt6MxJW.mjs} +1 -1
- package/dist/es/chunk/{CqhShW5K.mjs → CjLR27-a.mjs} +1 -1
- package/dist/es/chunk/{BH1e_-Fa.mjs → CoGexPPD.mjs} +1 -1
- package/dist/es/chunk/{C5I6QvTa.mjs → Cuq5meQh.mjs} +4 -4
- package/dist/es/chunk/{ytiKcA3H.mjs → Cxx_YWUC.mjs} +1 -1
- package/dist/es/chunk/{DkT4qqGt.mjs → D1QnA2iT.mjs} +4 -4
- package/dist/es/chunk/{Bj4UMVBI.mjs → D3AvJlVX.mjs} +1 -1
- package/dist/es/chunk/{Cdh3HNZa.mjs → DAnWZLYj.mjs} +2 -2
- package/dist/es/chunk/{ipA7n6-J.mjs → DCkPv0hy.mjs} +1 -1
- package/dist/es/chunk/{DFOYvCRL.mjs → DX-2VRY2.mjs} +1 -1
- package/dist/es/chunk/{D_F7nIja.mjs → DZ2oTFad.mjs} +2 -2
- package/dist/es/chunk/{DdY32YAP.mjs → Da199A5L.mjs} +1 -1
- package/dist/es/chunk/{C-7W07Z_.mjs → Dm_Sj5aH.mjs} +3 -3
- package/dist/es/chunk/{jjYAptTv.mjs → Dmi-1GRO.mjs} +1 -1
- package/dist/es/chunk/{BQk-dhWy.mjs → DrrVDcwm.mjs} +4 -4
- package/dist/es/chunk/{EMeQxUfH.mjs → Du_zJ1Fz.mjs} +2 -2
- package/dist/es/chunk/{DBf73TLo.mjs → NsldgdCh.mjs} +3 -3
- package/dist/es/chunk/{QtiOxqKv.mjs → fqiLhk0V.mjs} +12 -12
- package/dist/es/chunk/{CNHQauEr.mjs → s7HLrANj.mjs} +3 -3
- package/dist/es/components/button/button.mjs +3 -3
- package/dist/es/components/choice/choice.mjs +2 -2
- package/dist/es/components/color-switch/color-switch.mjs +5 -5
- package/dist/es/components/config-provider/config-provider.d.ts +9 -0
- package/dist/es/components/config-provider/config-provider.mjs +1 -0
- package/dist/es/components/cropper/cropper.mjs +4 -4
- package/dist/es/components/currency/currency.mjs +3 -3
- package/dist/es/components/daterange-picker/daterange-picker.mjs +10 -10
- package/dist/es/components/dialog/dialog.mjs +4 -4
- package/dist/es/components/dialog-camera-upload/dialog-camera-upload.mjs +7 -7
- package/dist/es/components/dialog-map-point/dialog-map-point.mjs +2 -2
- package/dist/es/components/dialog-upload-images/dialog-upload-images.mjs +7 -7
- package/dist/es/components/document.vue.d.ts +14 -0
- package/dist/es/components/drawer/drawer.mjs +5 -5
- package/dist/es/components/easy-pagination/easy-pagination.mjs +1 -1
- package/dist/es/components/example-wrapper.vue.d.ts +19 -0
- package/dist/es/components/explorer-column-table/explorer-column-table.mjs +4 -4
- package/dist/es/components/explorer-container/explorer-container.mjs +1 -1
- package/dist/es/components/explorer-filter/explorer-filter.mjs +3 -3
- package/dist/es/components/explorer-footer/explorer-footer.mjs +6 -6
- package/dist/es/components/explorer-form/explorer-form.mjs +1 -1
- package/dist/es/components/explorer-list/explorer-list.mjs +1 -1
- package/dist/es/components/explorer-modal-form/explorer-modal-form.mjs +1 -1
- package/dist/es/components/explorer-query/explorer-query.mjs +4 -4
- package/dist/es/components/explorer-table/explorer-table.d.ts +4 -0
- package/dist/es/components/explorer-table/explorer-table.mjs +81 -18
- package/dist/es/components/explorer-table/explorer-table.vue.d.ts +7 -0
- package/dist/es/components/explorer-table/index.css +13 -4
- package/dist/es/components/explorer-tools/explorer-tools.mjs +4 -4
- package/dist/es/components/explorer-tree/explorer-tree.mjs +5 -5
- package/dist/es/components/form-item/form-item.d.ts +9 -0
- package/dist/es/components/form-item/form-item.mjs +77 -0
- package/dist/es/components/form-item/form-item.vue.d.ts +23 -0
- package/dist/es/components/form-item/index.css +9 -0
- package/dist/es/components/form-item/index.d.ts +4 -0
- package/dist/es/components/form-item/index.mjs +6 -0
- package/dist/es/components/icon-picker/components/collections.vue.d.ts +3 -3
- package/dist/es/components/icon-picker/icon-picker.mjs +10 -10
- package/dist/es/components/iconify-icon/iconify-icon.mjs +2 -2
- package/dist/es/components/image/image.mjs +4 -4
- package/dist/es/components/image/image.vue.d.ts +13 -13
- package/dist/es/components/info-tooltip/index.css +31 -0
- package/dist/es/components/info-tooltip/index.d.ts +4 -0
- package/dist/es/components/info-tooltip/index.mjs +6 -0
- package/dist/es/components/info-tooltip/info-tooltip.d.ts +11 -0
- package/dist/es/components/info-tooltip/info-tooltip.mjs +109 -0
- package/dist/es/components/info-tooltip/info-tooltip.vue.d.ts +1063 -0
- package/dist/es/components/input/input.mjs +3 -3
- package/dist/es/components/input-number/input-number.mjs +4 -4
- package/dist/es/components/pca-picker/pca-picker.mjs +11 -11
- package/dist/es/components/pca-picker/pca-picker.vue.d.ts +12 -12
- package/dist/es/components/screenfull/screenfull.mjs +3 -3
- package/dist/es/components/scrollbar/scrollbar.mjs +3 -3
- package/dist/es/components/scrollbar/scrollbar.vue.d.ts +3 -3
- package/dist/es/components/select/select.mjs +5 -5
- package/dist/es/components/single-player/single-player.mjs +10 -10
- package/dist/es/components/splitter-panel/splitter-panel.mjs +2 -2
- package/dist/es/components/svg-icon/svg-icon.mjs +2 -2
- package/dist/es/components/switch/switch.mjs +6 -6
- package/dist/es/components/sync-scroll-container/sync-scroll-container.mjs +2 -2
- package/dist/es/components/tags/tags.mjs +7 -7
- package/dist/es/components/text-ellipsis/text-ellipsis.mjs +3 -3
- package/dist/es/components/text-ellipsis/text-ellipsis.vue.d.ts +2 -2
- package/dist/es/components/thousand-input/thousand-input.mjs +3 -3
- package/dist/es/components/tinymce/tinymce.mjs +3 -3
- package/dist/es/components/transfer/transfer.mjs +4 -4
- package/dist/es/components/transfer-panel/transfer-panel.mjs +4 -4
- package/dist/es/components/tree-picker/tree-picker.mjs +9 -9
- package/dist/es/components/tree-picker/tree-picker.vue.d.ts +12 -12
- package/dist/es/components/upload-file/upload-file.mjs +2 -2
- package/dist/es/index.d.ts +2 -0
- package/dist/es/index.mjs +31 -27
- package/dist/global.d.ts +2 -0
- package/dist/index.css +53 -4
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import { i as isString, b as buildProps, d as definePropType, u as useNamespace, a as debugWarn, j as isObject } from '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { E as ElRadioGroup, a as ElRadioButton } from '../../chunk/
|
|
3
|
+
import { E as ElRadioGroup, a as ElRadioButton } from '../../chunk/CCVL_Zj-.mjs';
|
|
4
4
|
import '../choice/choice.mjs';
|
|
5
5
|
import { defineComponent, ref, reactive, computed, watch, createElementBlock, createCommentVNode, openBlock, unref, normalizeClass, createElementVNode, normalizeStyle, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, useTemplateRef, useCssModule, onBeforeMount, createBlock, createSlots, withCtx, createVNode, isRef, nextTick, withKeys } from 'vue';
|
|
6
6
|
import { Search } from '@element-plus/icons-vue';
|
|
@@ -10,16 +10,16 @@ import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2
|
|
|
10
10
|
import { i as injectExplorerState } from '../explorer/explorer2.mjs';
|
|
11
11
|
import { C as Component$4 } from '../iconify-icon/iconify-icon.mjs';
|
|
12
12
|
import { C as Component$3 } from '../input/input.mjs';
|
|
13
|
-
import '../../chunk/
|
|
13
|
+
import '../../chunk/CoGexPPD.mjs';
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { E as ElDivider } from '../../chunk/CzdaOBtA.mjs';
|
|
16
16
|
import { E as ElText } from '../../chunk/DbhQlaOz.mjs';
|
|
17
17
|
import { i as index } from '../../chunk/D9iEroQw.mjs';
|
|
18
18
|
import { C as Component$2 } from '../explorer-column-table/explorer-column-table.mjs';
|
|
19
19
|
import { useActiveElement, useResizeObserver, useVModel, useThrottleFn } from '@vueuse/core';
|
|
20
|
-
import { E as ElPopover } from '../../chunk/
|
|
20
|
+
import { E as ElPopover } from '../../chunk/Da199A5L.mjs';
|
|
21
21
|
import { u as useSizeProp } from '../../chunk/vPhxogl3.mjs';
|
|
22
|
-
import { u as useAriaProps } from '../../chunk/
|
|
22
|
+
import { u as useAriaProps } from '../../chunk/BunQI8Jb.mjs';
|
|
23
23
|
import { C as CHANGE_EVENT, U as UPDATE_MODEL_EVENT } from '../../chunk/Ct6q2FXg.mjs';
|
|
24
24
|
import { b as isNumber, d as isBoolean } from '../../chunk/Bc6yUGLs.mjs';
|
|
25
25
|
import { _ as _export_sfc, w as withInstall } from '../../chunk/V6KjsUQN.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { E as ElTree } from '../../chunk/
|
|
4
|
-
import '../../chunk/
|
|
3
|
+
import { E as ElTree } from '../../chunk/Brp-qSBw.mjs';
|
|
4
|
+
import '../../chunk/NsldgdCh.mjs';
|
|
5
5
|
import '../../chunk/DbhQlaOz.mjs';
|
|
6
6
|
import { defineComponent, useTemplateRef, computed, ref, watch, onBeforeUnmount, createBlock, openBlock, normalizeClass, withCtx, withDirectives, createElementBlock, createCommentVNode, createVNode, mergeProps, unref, renderSlot, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, vShow } from 'vue';
|
|
7
7
|
import { Loading } from '@element-plus/icons-vue';
|
|
@@ -96,11 +96,11 @@ function hasDescendant(node, target) {
|
|
|
96
96
|
}
|
|
97
97
|
return false;
|
|
98
98
|
}
|
|
99
|
-
function traverse(treeData, callback) {
|
|
99
|
+
function traverse(treeData, callback, parent) {
|
|
100
100
|
for (const node of treeData) {
|
|
101
|
-
callback(node);
|
|
101
|
+
callback(node, parent);
|
|
102
102
|
if (node.children?.length) {
|
|
103
|
-
traverse(node.children, callback);
|
|
103
|
+
traverse(node.children, callback, node);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElTooltipProps } from 'element-plus';
|
|
2
|
+
import { IInfoTooltipProps } from '../info-tooltip/info-tooltip';
|
|
3
|
+
export interface IFormItemProps extends IInfoTooltipProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
tooltipProps?: Partial<ElTooltipProps>;
|
|
6
|
+
}
|
|
7
|
+
export interface IFormItemEmits {
|
|
8
|
+
(e: 'click', code: string | undefined, label: string | undefined): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import './index.css'
|
|
2
|
+
import { defineComponent, shallowRef, onBeforeMount, computed, createBlock, createCommentVNode, unref, openBlock, resolveDynamicComponent, normalizeProps, mergeProps, withCtx, renderSlot, createElementVNode, normalizeClass, createVNode, toDisplayString } from 'vue';
|
|
3
|
+
import { ElFormItem } from 'element-plus';
|
|
4
|
+
import { C as Component$1 } from '../info-tooltip/info-tooltip.mjs';
|
|
5
|
+
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
6
|
+
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "form-item",
|
|
9
|
+
props: {
|
|
10
|
+
label: {},
|
|
11
|
+
tooltipProps: {},
|
|
12
|
+
content: {},
|
|
13
|
+
code: {},
|
|
14
|
+
letter: {},
|
|
15
|
+
maxWidth: {},
|
|
16
|
+
icon: {},
|
|
17
|
+
offsetY: {}
|
|
18
|
+
},
|
|
19
|
+
emits: ["click"],
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
21
|
+
const props = __props;
|
|
22
|
+
const emits = __emit;
|
|
23
|
+
const component = shallowRef();
|
|
24
|
+
onBeforeMount(() => {
|
|
25
|
+
component.value = ElFormItem;
|
|
26
|
+
});
|
|
27
|
+
const infoTooltipProps = computed(() => ({
|
|
28
|
+
...props,
|
|
29
|
+
...props.tooltipProps
|
|
30
|
+
}));
|
|
31
|
+
function handleClick() {
|
|
32
|
+
emits("click", props.code, props.label);
|
|
33
|
+
}
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return unref(component) ? (openBlock(), createBlock(resolveDynamicComponent(unref(component)), normalizeProps(mergeProps({ key: 0 }, _ctx.$attrs)), {
|
|
36
|
+
label: withCtx(() => [
|
|
37
|
+
createElementVNode("span", {
|
|
38
|
+
class: normalizeClass(_ctx.$style["label-container"])
|
|
39
|
+
}, [
|
|
40
|
+
createElementVNode("span", {
|
|
41
|
+
class: normalizeClass(_ctx.$style.label)
|
|
42
|
+
}, toDisplayString(__props.label), 3),
|
|
43
|
+
createVNode(Component$1, mergeProps(unref(infoTooltipProps), {
|
|
44
|
+
"offset-y": "0px",
|
|
45
|
+
onClick: handleClick
|
|
46
|
+
}), null, 16)
|
|
47
|
+
], 2)
|
|
48
|
+
]),
|
|
49
|
+
default: withCtx(() => [
|
|
50
|
+
renderSlot(_ctx.$slots, "default")
|
|
51
|
+
]),
|
|
52
|
+
error: withCtx(() => [
|
|
53
|
+
renderSlot(_ctx.$slots, "error")
|
|
54
|
+
]),
|
|
55
|
+
_: 3
|
|
56
|
+
}, 16)) : createCommentVNode("", true);
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
/* unplugin-vue-components disabled */const label = "_label_1a4uj_1";
|
|
62
|
+
const style0 = {
|
|
63
|
+
"label-container": "_label-container_1a4uj_1",
|
|
64
|
+
label: label
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
const cssModules = {
|
|
68
|
+
"$style": style0
|
|
69
|
+
};
|
|
70
|
+
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
71
|
+
|
|
72
|
+
const __vite_glob_0_34 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
73
|
+
__proto__: null,
|
|
74
|
+
default: Component
|
|
75
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
76
|
+
|
|
77
|
+
export { Component as C, __vite_glob_0_34 as _ };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IFormItemProps } from './form-item';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
error?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<IFormItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
|
+
click: (code: string | undefined, label: string | undefined) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<IFormItemProps> & Readonly<{
|
|
15
|
+
onClick?: ((code: string | undefined, label: string | undefined) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -53,9 +53,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
53
53
|
readonly minSize: number;
|
|
54
54
|
readonly id?: string | undefined;
|
|
55
55
|
readonly ariaLabel?: string | undefined;
|
|
56
|
+
readonly role?: string | undefined;
|
|
56
57
|
readonly tabindex?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
57
58
|
readonly ariaOrientation?: string | undefined;
|
|
58
|
-
readonly role?: string | undefined;
|
|
59
59
|
onScroll?: ((args_0: {
|
|
60
60
|
scrollTop: number;
|
|
61
61
|
scrollLeft: number;
|
|
@@ -258,9 +258,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
258
258
|
readonly minSize: number;
|
|
259
259
|
readonly id?: string | undefined;
|
|
260
260
|
readonly ariaLabel?: string | undefined;
|
|
261
|
+
readonly role?: string | undefined;
|
|
261
262
|
readonly tabindex?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
262
263
|
readonly ariaOrientation?: string | undefined;
|
|
263
|
-
readonly role?: string | undefined;
|
|
264
264
|
onScroll?: ((args_0: {
|
|
265
265
|
scrollTop: number;
|
|
266
266
|
scrollLeft: number;
|
|
@@ -482,9 +482,9 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
482
482
|
readonly minSize: number;
|
|
483
483
|
readonly id?: string | undefined;
|
|
484
484
|
readonly ariaLabel?: string | undefined;
|
|
485
|
+
readonly role?: string | undefined;
|
|
485
486
|
readonly tabindex?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
486
487
|
readonly ariaOrientation?: string | undefined;
|
|
487
|
-
readonly role?: string | undefined;
|
|
488
488
|
onScroll?: ((args_0: {
|
|
489
489
|
scrollTop: number;
|
|
490
490
|
scrollLeft: number;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import '../../chunk/
|
|
3
|
+
import '../../chunk/CoGexPPD.mjs';
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { ref, computed, watch, defineComponent, useTemplateRef, onMounted, createElementBlock, openBlock, normalizeClass, createVNode, unref, withCtx, createElementVNode, isRef, Fragment, renderList, createTextVNode, toDisplayString, createBlock, useCssModule, h, onUnmounted, createCommentVNode, createSlots, useCssVars, mergeProps } from 'vue';
|
|
6
6
|
import { promiseTimeout, useVModel } from '@vueuse/core';
|
|
7
7
|
import { useFormDisabled } from 'element-plus';
|
|
8
8
|
import { C as Component$2 } from '../iconify-icon/iconify-icon.mjs';
|
|
9
9
|
import { C as Component$4 } from '../input/input.mjs';
|
|
10
|
-
import { E as ElPagination } from '../../chunk/
|
|
10
|
+
import { E as ElPagination } from '../../chunk/CBlJeNBO.mjs';
|
|
11
11
|
/* empty css */
|
|
12
|
-
import '../../chunk/
|
|
13
|
-
import '../../chunk/
|
|
14
|
-
import { E as ElInput } from '../../chunk/
|
|
12
|
+
import '../../chunk/BBhZKpIc.mjs';
|
|
13
|
+
import '../../chunk/CjLR27-a.mjs';
|
|
14
|
+
import { E as ElInput } from '../../chunk/DX-2VRY2.mjs';
|
|
15
15
|
import { E as ElDivider } from '../../chunk/CzdaOBtA.mjs';
|
|
16
|
-
import { E as ElButton } from '../../chunk/
|
|
16
|
+
import { E as ElButton } from '../../chunk/CPt6MxJW.mjs';
|
|
17
17
|
import { C as Component$3 } from '../select/select.mjs';
|
|
18
18
|
import { C as Component$1 } from '../scrollbar/scrollbar.mjs';
|
|
19
|
-
import { d as debounce } from '../../chunk/
|
|
19
|
+
import { d as debounce } from '../../chunk/DAnWZLYj.mjs';
|
|
20
20
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
21
|
-
import { E as ElPopover } from '../../chunk/
|
|
21
|
+
import { E as ElPopover } from '../../chunk/Da199A5L.mjs';
|
|
22
22
|
|
|
23
23
|
const baseUrl = "https://api.iconify.design";
|
|
24
24
|
function paginateArray(array, ps, p) {
|
|
@@ -492,9 +492,9 @@ const cssModules = {
|
|
|
492
492
|
};
|
|
493
493
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
494
494
|
|
|
495
|
-
const
|
|
495
|
+
const __vite_glob_0_35 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
496
496
|
__proto__: null,
|
|
497
497
|
default: Component
|
|
498
498
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
499
499
|
|
|
500
|
-
export { Component as C,
|
|
500
|
+
export { Component as C, __vite_glob_0_35 as _ };
|
|
@@ -1852,9 +1852,9 @@ const cssModules = {
|
|
|
1852
1852
|
};
|
|
1853
1853
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
1854
1854
|
|
|
1855
|
-
const
|
|
1855
|
+
const __vite_glob_0_37 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1856
1856
|
__proto__: null,
|
|
1857
1857
|
default: Component
|
|
1858
1858
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1859
1859
|
|
|
1860
|
-
export { Component as C,
|
|
1860
|
+
export { Component as C, __vite_glob_0_37 as _ };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { a as ElTooltip } from '../../chunk/
|
|
5
|
-
import { E as ElImage } from '../../chunk/
|
|
4
|
+
import { a as ElTooltip } from '../../chunk/CoGexPPD.mjs';
|
|
5
|
+
import { E as ElImage } from '../../chunk/DrrVDcwm.mjs';
|
|
6
6
|
import { defineComponent, useSlots, useTemplateRef, ref, computed, createElementBlock, openBlock, Fragment, createCommentVNode, createBlock, unref, normalizeClass, createElementVNode, withCtx, createVNode, renderSlot, createTextVNode, toDisplayString, normalizeStyle } from 'vue';
|
|
7
7
|
import { C as Component$1 } from '../el-icon/el-icon.mjs';
|
|
8
8
|
import { C as Component$2 } from '../text-ellipsis/text-ellipsis.mjs';
|
|
@@ -159,9 +159,9 @@ const cssModules = {
|
|
|
159
159
|
};
|
|
160
160
|
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
161
161
|
|
|
162
|
-
const
|
|
162
|
+
const __vite_glob_0_38 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
163
163
|
__proto__: null,
|
|
164
164
|
default: Component
|
|
165
165
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
166
166
|
|
|
167
|
-
export { Component as C,
|
|
167
|
+
export { Component as C, __vite_glob_0_38 as _ };
|
|
@@ -43,12 +43,12 @@ declare function __VLS_template(): {
|
|
|
43
43
|
tipsVisible: globalThis.Ref<boolean, boolean>;
|
|
44
44
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
45
45
|
type: "single";
|
|
46
|
+
content: string;
|
|
46
47
|
effect: import('element-plus').PopperEffect;
|
|
48
|
+
enterable: boolean;
|
|
47
49
|
popperClass: string;
|
|
48
50
|
placement: Placement;
|
|
49
51
|
popperOptions: object;
|
|
50
|
-
content: string;
|
|
51
|
-
enterable: boolean;
|
|
52
52
|
maxWidth: number;
|
|
53
53
|
showTooltip: boolean;
|
|
54
54
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -73,15 +73,15 @@ declare function __VLS_template(): {
|
|
|
73
73
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
74
74
|
} & Readonly<{
|
|
75
75
|
type: "single";
|
|
76
|
+
content: string;
|
|
76
77
|
effect: import('element-plus').PopperEffect;
|
|
78
|
+
enterable: boolean;
|
|
77
79
|
popperClass: string;
|
|
78
80
|
placement: Placement;
|
|
79
81
|
popperOptions: object;
|
|
80
|
-
content: string;
|
|
81
|
-
enterable: boolean;
|
|
82
82
|
maxWidth: number;
|
|
83
83
|
showTooltip: boolean;
|
|
84
|
-
}> & Omit<Readonly<import('../text-ellipsis/text-ellipsis').ITextEllipsisProps> & Readonly<{}>, "tipsVisible" | ("type" | "
|
|
84
|
+
}> & Omit<Readonly<import('../text-ellipsis/text-ellipsis').ITextEllipsisProps> & Readonly<{}>, "tipsVisible" | ("type" | "content" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "maxWidth" | "showTooltip")> & import('vue').ShallowUnwrapRef<{
|
|
85
85
|
tipsVisible: globalThis.Ref<boolean, boolean>;
|
|
86
86
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
87
87
|
$slots: {
|
|
@@ -98,12 +98,12 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
98
98
|
declare const __VLS_component: import('vue').DefineComponent<IImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IImageProps> & Readonly<{}>, {
|
|
99
99
|
type: "image" | "text";
|
|
100
100
|
text: string;
|
|
101
|
-
width: string;
|
|
102
|
-
height: string;
|
|
103
101
|
effect: import('element-plus').PopperEffect;
|
|
102
|
+
enterable: boolean;
|
|
104
103
|
popperClass: string;
|
|
105
104
|
placement: Placement;
|
|
106
|
-
|
|
105
|
+
width: string;
|
|
106
|
+
height: string;
|
|
107
107
|
src: string;
|
|
108
108
|
fit: IGlobal.ImageFit;
|
|
109
109
|
previewSrcList: string[];
|
|
@@ -148,12 +148,12 @@ declare const __VLS_component: import('vue').DefineComponent<IImageProps, {}, {}
|
|
|
148
148
|
tipsVisible: globalThis.Ref<boolean, boolean>;
|
|
149
149
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
150
150
|
type: "single";
|
|
151
|
+
content: string;
|
|
151
152
|
effect: import('element-plus').PopperEffect;
|
|
153
|
+
enterable: boolean;
|
|
152
154
|
popperClass: string;
|
|
153
155
|
placement: Placement;
|
|
154
156
|
popperOptions: object;
|
|
155
|
-
content: string;
|
|
156
|
-
enterable: boolean;
|
|
157
157
|
maxWidth: number;
|
|
158
158
|
showTooltip: boolean;
|
|
159
159
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -178,15 +178,15 @@ declare const __VLS_component: import('vue').DefineComponent<IImageProps, {}, {}
|
|
|
178
178
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
179
179
|
} & Readonly<{
|
|
180
180
|
type: "single";
|
|
181
|
+
content: string;
|
|
181
182
|
effect: import('element-plus').PopperEffect;
|
|
183
|
+
enterable: boolean;
|
|
182
184
|
popperClass: string;
|
|
183
185
|
placement: Placement;
|
|
184
186
|
popperOptions: object;
|
|
185
|
-
content: string;
|
|
186
|
-
enterable: boolean;
|
|
187
187
|
maxWidth: number;
|
|
188
188
|
showTooltip: boolean;
|
|
189
|
-
}> & Omit<Readonly<import('../text-ellipsis/text-ellipsis').ITextEllipsisProps> & Readonly<{}>, "tipsVisible" | ("type" | "
|
|
189
|
+
}> & Omit<Readonly<import('../text-ellipsis/text-ellipsis').ITextEllipsisProps> & Readonly<{}>, "tipsVisible" | ("type" | "content" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "maxWidth" | "showTooltip")> & import('vue').ShallowUnwrapRef<{
|
|
190
190
|
tipsVisible: globalThis.Ref<boolean, boolean>;
|
|
191
191
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
192
192
|
$slots: {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* source: src/components/info-tooltip/info-tooltip.vue */
|
|
2
|
+
._letter_1hm7m_1 {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
width: 12px;
|
|
7
|
+
height: 12px;
|
|
8
|
+
border: 1px solid var(--el-text-color-regular);
|
|
9
|
+
font-size: 0.7em;
|
|
10
|
+
border-radius: 12px;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
transform: translateY(var(--v9e44a890));
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
._letter_1hm7m_1:hover {
|
|
16
|
+
color: var(--el-color-primary);
|
|
17
|
+
border-color: var(--el-color-primary);
|
|
18
|
+
}
|
|
19
|
+
._icon_1hm7m_19 {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
outline: none;
|
|
22
|
+
transform: translateY(var(--v9e44a890));
|
|
23
|
+
}
|
|
24
|
+
._icon_1hm7m_19:hover {
|
|
25
|
+
color: var(--el-color-primary);
|
|
26
|
+
}
|
|
27
|
+
._content_1hm7m_28 {
|
|
28
|
+
white-space: pre-wrap;
|
|
29
|
+
font-size: var(--el-font-size-base);
|
|
30
|
+
text-align: justify;
|
|
31
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import './index.css'
|
|
2
|
+
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
+
/* empty css */
|
|
4
|
+
import { a as ElTooltip } from '../../chunk/CoGexPPD.mjs';
|
|
5
|
+
import { defineComponent, useCssVars, unref, computed, useAttrs, useTemplateRef, ref, createBlock, createCommentVNode, openBlock, mergeProps, withCtx, createElementBlock, normalizeClass, toDisplayString, createElementVNode, normalizeStyle } from 'vue';
|
|
6
|
+
import { i as injectConfig } from '../config-provider/config-provider2.mjs';
|
|
7
|
+
import { C as Component$1 } from '../iconify-icon/iconify-icon.mjs';
|
|
8
|
+
import { p as pick } from '../../chunk/BunQI8Jb.mjs';
|
|
9
|
+
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
10
|
+
|
|
11
|
+
const _hoisted_1 = ["innerHTML"];
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
|
+
__name: "info-tooltip",
|
|
14
|
+
props: {
|
|
15
|
+
content: {},
|
|
16
|
+
code: {},
|
|
17
|
+
letter: {},
|
|
18
|
+
maxWidth: { default: "400px" },
|
|
19
|
+
icon: { default: "carbon:help" },
|
|
20
|
+
offsetY: { default: "-4px" }
|
|
21
|
+
},
|
|
22
|
+
emits: ["click"],
|
|
23
|
+
setup(__props, { emit: __emit }) {
|
|
24
|
+
useCssVars((_ctx) => ({
|
|
25
|
+
"v9e44a890": unref(myProps).offsetY
|
|
26
|
+
}));
|
|
27
|
+
const props = __props;
|
|
28
|
+
const emits = __emit;
|
|
29
|
+
const $attrs = useAttrs();
|
|
30
|
+
const { infoTooltip } = injectConfig();
|
|
31
|
+
const tooltipRef = useTemplateRef("tooltipRef");
|
|
32
|
+
const myContent = ref(props.content);
|
|
33
|
+
const tooltipProps = computed(() => {
|
|
34
|
+
return {
|
|
35
|
+
placement: "top",
|
|
36
|
+
rawContent: true,
|
|
37
|
+
trigger: "hover",
|
|
38
|
+
...infoTooltip?.tooltipProps,
|
|
39
|
+
...$attrs
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
const myProps = computed(() => {
|
|
43
|
+
return {
|
|
44
|
+
...props,
|
|
45
|
+
...pick(infoTooltip, ["letter", "icon", "offsetY", "maxWidth"])
|
|
46
|
+
};
|
|
47
|
+
});
|
|
48
|
+
function setContent(value) {
|
|
49
|
+
myContent.value = value;
|
|
50
|
+
tooltipRef.value?.updatePopper();
|
|
51
|
+
}
|
|
52
|
+
function handleClick() {
|
|
53
|
+
emits("click", props.code);
|
|
54
|
+
}
|
|
55
|
+
function handleShow() {
|
|
56
|
+
infoTooltip?.onShowed && infoTooltip.onShowed(props.code, myContent.value, setContent);
|
|
57
|
+
}
|
|
58
|
+
return (_ctx, _cache) => {
|
|
59
|
+
const _component_el_tooltip = ElTooltip;
|
|
60
|
+
return __props.content || __props.code ? (openBlock(), createBlock(_component_el_tooltip, mergeProps({
|
|
61
|
+
key: 0,
|
|
62
|
+
ref_key: "tooltipRef",
|
|
63
|
+
ref: tooltipRef
|
|
64
|
+
}, unref(tooltipProps), { onBeforeShow: handleShow }), {
|
|
65
|
+
content: withCtx(() => [
|
|
66
|
+
createElementVNode("div", {
|
|
67
|
+
class: normalizeClass(_ctx.$style.content),
|
|
68
|
+
style: normalizeStyle({ maxWidth: unref(myProps).maxWidth }),
|
|
69
|
+
innerHTML: unref(myContent)
|
|
70
|
+
}, null, 14, _hoisted_1)
|
|
71
|
+
]),
|
|
72
|
+
default: withCtx(() => [
|
|
73
|
+
unref(myProps).letter ? (openBlock(), createElementBlock("span", {
|
|
74
|
+
key: 0,
|
|
75
|
+
class: normalizeClass(_ctx.$style.letter),
|
|
76
|
+
onClick: handleClick
|
|
77
|
+
}, toDisplayString(unref(myProps).letter), 3)) : (openBlock(), createBlock(Component$1, {
|
|
78
|
+
key: 1,
|
|
79
|
+
name: unref(myProps).icon,
|
|
80
|
+
class: normalizeClass(_ctx.$style.icon),
|
|
81
|
+
onClick: handleClick
|
|
82
|
+
}, null, 8, ["name", "class"]))
|
|
83
|
+
]),
|
|
84
|
+
_: 1
|
|
85
|
+
}, 16)) : createCommentVNode("", true);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
/* unplugin-vue-components disabled */const letter = "_letter_1hm7m_1";
|
|
91
|
+
const icon = "_icon_1hm7m_19";
|
|
92
|
+
const content = "_content_1hm7m_28";
|
|
93
|
+
const style0 = {
|
|
94
|
+
letter: letter,
|
|
95
|
+
icon: icon,
|
|
96
|
+
content: content
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
const cssModules = {
|
|
100
|
+
"$style": style0
|
|
101
|
+
};
|
|
102
|
+
const Component = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
103
|
+
|
|
104
|
+
const __vite_glob_0_39 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
105
|
+
__proto__: null,
|
|
106
|
+
default: Component
|
|
107
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
108
|
+
|
|
109
|
+
export { Component as C, __vite_glob_0_39 as _ };
|