@wfrog/vc-ui 1.10.5 → 1.10.7
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/{CHcjDmH7.mjs → B-xUksL-.mjs} +1 -1
- package/dist/es/chunk/{CsduCAhD.mjs → BA_oVIng.mjs} +4 -4
- package/dist/es/chunk/{BW5gB8WZ.mjs → BH1e_-Fa.mjs} +1 -1
- package/dist/es/chunk/{BBZTrt3P.mjs → BPQ3KP1S.mjs} +10 -10
- package/dist/es/chunk/{DQNzr_4r.mjs → BQk-dhWy.mjs} +4 -4
- package/dist/es/chunk/{CJ3x7RLP.mjs → BZoKD2RY.mjs} +3 -3
- package/dist/es/chunk/{CL7hyMMl.mjs → BdVq9mV6.mjs} +1 -1
- package/dist/es/chunk/{jKXm19NZ.mjs → Bj4UMVBI.mjs} +1 -1
- package/dist/es/chunk/{D_C-2Zj7.mjs → Bu3XHP55.mjs} +1 -1
- package/dist/es/chunk/{D3qdudO9.mjs → C-7W07Z_.mjs} +3 -3
- package/dist/es/chunk/{BHV9Fsm-.mjs → C5I6QvTa.mjs} +4 -4
- package/dist/es/chunk/{Drb5LdmA.mjs → CGC9zZcN.mjs} +2 -2
- package/dist/es/chunk/{Dz2wWDrj.mjs → CJ0afvkJ.mjs} +1 -1
- package/dist/es/chunk/{CBFHL7q7.mjs → CNEMJL35.mjs} +2 -2
- package/dist/es/chunk/{DFz29g6l.mjs → CNHQauEr.mjs} +3 -3
- package/dist/es/chunk/{Pe-8x5jl.mjs → COvAourt.mjs} +1 -1
- package/dist/es/chunk/{U62y-y-e.mjs → Cdh3HNZa.mjs} +2 -2
- package/dist/es/chunk/{Domw3dVd.mjs → CqhShW5K.mjs} +1 -1
- package/dist/es/chunk/{CrmTzYDZ.mjs → D-1mFPUH.mjs} +1 -1
- package/dist/es/chunk/{DjbzvF4e.mjs → DBf73TLo.mjs} +3 -3
- package/dist/es/chunk/{BB8sGHSt.mjs → DFOYvCRL.mjs} +1 -1
- package/dist/es/chunk/{pk4W_IaT.mjs → DSw4GnC6.mjs} +1 -1
- package/dist/es/chunk/{0IqPHSYK.mjs → D_F7nIja.mjs} +2 -2
- package/dist/es/chunk/{DZolJ2S8.mjs → Db0Pk78M.mjs} +1 -1
- package/dist/es/chunk/{BPqAVQeM.mjs → DdY32YAP.mjs} +1 -1
- package/dist/es/chunk/{BhGH1Xpz.mjs → DkT4qqGt.mjs} +4 -4
- package/dist/es/chunk/{DfVuDj0a.mjs → Do7HIVy5.mjs} +3 -3
- package/dist/es/chunk/{DaruHtlF.mjs → EMeQxUfH.mjs} +2 -2
- package/dist/es/chunk/{DfMdBBmq.mjs → KyEEoljI.mjs} +3 -3
- package/dist/es/chunk/{BU1UFWyy.mjs → QtiOxqKv.mjs} +12 -12
- package/dist/es/chunk/{Bzfzbt8j.mjs → eqwEsspo.mjs} +3 -3
- package/dist/es/chunk/{BIOLCk4C.mjs → ipA7n6-J.mjs} +1 -1
- package/dist/es/chunk/{CQrdG2WN.mjs → jjYAptTv.mjs} +1 -1
- package/dist/es/chunk/{DFEYK1Z3.mjs → o2Q7kb8Y.mjs} +13 -13
- package/dist/es/chunk/{Dc7H636F.mjs → q2jRgbir.mjs} +1 -1
- package/dist/es/chunk/{CCyhxG7Y.mjs → ytiKcA3H.mjs} +1 -1
- 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/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/drawer/drawer.mjs +5 -5
- package/dist/es/components/easy-pagination/easy-pagination.mjs +1 -1
- 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.d.ts +1 -0
- package/dist/es/components/explorer-form/explorer-form.mjs +11 -6
- package/dist/es/components/explorer-form/explorer-form.vue.d.ts +2 -0
- package/dist/es/components/explorer-list/explorer-list.mjs +3 -5
- 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.mjs +5 -5
- package/dist/es/components/explorer-tools/explorer-tools.mjs +4 -4
- package/dist/es/components/explorer-tree/explorer-tree.mjs +17 -14
- package/dist/es/components/icon-picker/icon-picker.mjs +8 -8
- package/dist/es/components/image/image.mjs +2 -2
- package/dist/es/components/input/input.mjs +1 -1
- package/dist/es/components/input-number/input-number.mjs +2 -2
- package/dist/es/components/pca-picker/pca-picker.mjs +9 -9
- package/dist/es/components/screenfull/screenfull.mjs +1 -1
- package/dist/es/components/scrollbar/scrollbar.mjs +1 -1
- package/dist/es/components/select/select.mjs +3 -3
- package/dist/es/components/single-player/single-player.mjs +8 -8
- package/dist/es/components/switch/switch.mjs +4 -4
- package/dist/es/components/tags/tags.mjs +5 -5
- package/dist/es/components/text-ellipsis/text-ellipsis.mjs +1 -1
- package/dist/es/components/thousand-input/thousand-input.mjs +1 -1
- package/dist/es/components/tinymce/tinymce.mjs +1 -1
- package/dist/es/components/transfer/transfer.mjs +2 -2
- package/dist/es/components/transfer-panel/transfer-panel.mjs +2 -2
- package/dist/es/components/tree-picker/tree-picker.mjs +7 -7
- package/dist/es/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import { b as buildProps, u as useNamespace } from '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { v as vLoading } from '../../chunk/
|
|
3
|
+
import { v as vLoading } from '../../chunk/D-1mFPUH.mjs';
|
|
4
4
|
import { E as ElSpace } from '../../chunk/Dgu95mOy.mjs';
|
|
5
|
-
import { E as ElButton } from '../../chunk/
|
|
5
|
+
import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
|
|
6
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
7
|
import { i as index$1 } from '../../chunk/BaJ7k5Lg.mjs';
|
|
8
8
|
import '../../chunk/D9iEroQw.mjs';
|
|
@@ -11,10 +11,10 @@ import { defaultWindow } from '@vueuse/core';
|
|
|
11
11
|
import { E as ElIcon } from '../../chunk/D0QTifnI.mjs';
|
|
12
12
|
import { i as iconPropType } from '../icon/icon2.mjs';
|
|
13
13
|
import { _ as _export_sfc, w as withInstall } from '../../chunk/V6KjsUQN.mjs';
|
|
14
|
-
import { u as useGlobalConfig } from '../../chunk/
|
|
14
|
+
import { u as useGlobalConfig } from '../../chunk/KyEEoljI.mjs';
|
|
15
15
|
import { u as useDeprecated } from '../../chunk/CvYIOfT1.mjs';
|
|
16
16
|
import { d as isBoolean } from '../../chunk/Bc6yUGLs.mjs';
|
|
17
|
-
import { d as debounce } from '../../chunk/
|
|
17
|
+
import { d as debounce } from '../../chunk/Cdh3HNZa.mjs';
|
|
18
18
|
import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
|
|
19
19
|
|
|
20
20
|
const defaultImageOption = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { E as ElSelect, a as ElOption } from '../../chunk/
|
|
5
|
-
import '../../chunk/
|
|
6
|
-
import '../../chunk/
|
|
4
|
+
import { E as ElSelect, a as ElOption } from '../../chunk/BPQ3KP1S.mjs';
|
|
5
|
+
import '../../chunk/CqhShW5K.mjs';
|
|
6
|
+
import '../../chunk/BH1e_-Fa.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 { useFormDisabled } from 'element-plus';
|
|
9
9
|
import { _ as _sfc_main$1 } from '../flag/flag.mjs';
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { c as isArray, e as isDate, b as buildProps, d as definePropType, u as useNamespace, a as debugWarn, N as NOOP, i as isString, f as isFunction } from '../../chunk/Gk1J52Yw.mjs';
|
|
2
|
-
import { E as ElInput } from '../../chunk/
|
|
3
|
-
import { E as ElScrollbar } from '../../chunk/
|
|
4
|
-
import { E as ElButton } from '../../chunk/
|
|
5
|
-
import { E as Ee, u as useTooltipContentProps, a as ElTooltip, c as castArray, e as extractFirst } from '../../chunk/
|
|
2
|
+
import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
|
|
3
|
+
import { E as ElScrollbar } from '../../chunk/CqhShW5K.mjs';
|
|
4
|
+
import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
|
|
5
|
+
import { E as Ee, u as useTooltipContentProps, a as ElTooltip, c as castArray, e as extractFirst } from '../../chunk/BH1e_-Fa.mjs';
|
|
6
6
|
import { ref, computed, defineComponent, reactive, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createElementVNode, mergeProps, useAttrs as useAttrs$1, inject, watch, nextTick, onBeforeUnmount, provide, createBlock, withCtx, withModifiers, createCommentVNode, resolveDynamicComponent, toDisplayString, onMounted, Fragment, renderList, createTextVNode, withDirectives, createVNode, Transition, withKeys, useSlots, toRef, vShow, getCurrentInstance, toRefs, isVNode, isRef } from 'vue';
|
|
7
7
|
import { useFormDisabled as useFormDisabled$1, useFormItem as useFormItem$1 } from 'element-plus';
|
|
8
8
|
import { onClickOutside, unrefElement, useVModel } from '@vueuse/core';
|
|
9
9
|
import { E as ElIcon } from '../../chunk/D0QTifnI.mjs';
|
|
10
10
|
import { CircleClose, Clock, Calendar, ArrowUp, ArrowDown, DArrowLeft, ArrowLeft, ArrowRight, DArrowRight } from '@element-plus/icons-vue';
|
|
11
11
|
import { a as isEmpty, b as isNumber, c as isUndefined } from '../../chunk/Bc6yUGLs.mjs';
|
|
12
|
-
import { u as useLocale } from '../../chunk/
|
|
13
|
-
import { u as useAriaProps, f as flatten } from '../../chunk/
|
|
12
|
+
import { u as useLocale } from '../../chunk/CJ0afvkJ.mjs';
|
|
13
|
+
import { u as useAriaProps, f as flatten } from '../../chunk/B-xUksL-.mjs';
|
|
14
14
|
import { _ as _export_sfc, w as withInstall } from '../../chunk/V6KjsUQN.mjs';
|
|
15
15
|
import { g as getStyle, h as hasClass } from '../../chunk/DodoD9a9.mjs';
|
|
16
16
|
import { v as vRepeatClick } from '../../chunk/D_bou1py.mjs';
|
|
17
17
|
import { U as UPDATE_MODEL_EVENT, C as CHANGE_EVENT } from '../../chunk/Ct6q2FXg.mjs';
|
|
18
|
-
import { d as debounce } from '../../chunk/
|
|
18
|
+
import { d as debounce } from '../../chunk/Cdh3HNZa.mjs';
|
|
19
19
|
import { g as getEventCode, E as EVENT_CODE } from '../../chunk/BTpNRPQW.mjs';
|
|
20
20
|
import { C as ClickOutside } from '../../chunk/eEsLFV3s.mjs';
|
|
21
21
|
import { u as useFormItem, b as useFormItemInputId, a as useFormDisabled, c as useFormSize } from '../../chunk/CBMjhoFP.mjs';
|
|
22
|
-
import { i as isEqual } from '../../chunk/
|
|
23
|
-
import { o as omit } from '../../chunk/
|
|
22
|
+
import { i as isEqual } from '../../chunk/q2jRgbir.mjs';
|
|
23
|
+
import { o as omit } from '../../chunk/BZoKD2RY.mjs';
|
|
24
24
|
import { u as useSizeProp } from '../../chunk/vPhxogl3.mjs';
|
|
25
|
-
import { u as useEmptyValuesProps, a as useEmptyValues } from '../../chunk/
|
|
25
|
+
import { u as useEmptyValuesProps, a as useEmptyValues } from '../../chunk/COvAourt.mjs';
|
|
26
26
|
import { u as useAttrs } from '../../chunk/CxHJBf4l.mjs';
|
|
27
27
|
import { u as useFocusController } from '../../chunk/CVqW0jzp.mjs';
|
|
28
28
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import { u as useNamespace } from '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { b as dialogContentEmits, c as dialogContentProps, e as dialogInjectionKey, d as dialogEmits, a as dialogProps, u as useDialog, E as ElOverlay, f as useSameTarget } from '../../chunk/
|
|
4
|
-
import { E as ElButton } from '../../chunk/
|
|
3
|
+
import { b as dialogContentEmits, c as dialogContentProps, e as dialogInjectionKey, d as dialogEmits, a as dialogProps, u as useDialog, E as ElOverlay, f as useSameTarget } from '../../chunk/CGC9zZcN.mjs';
|
|
4
|
+
import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
|
|
5
5
|
import { ref, onMounted, watchEffect, onBeforeUnmount, defineComponent, inject, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, renderSlot, toDisplayString, createVNode, withCtx, createBlock, resolveDynamicComponent, useSlots, provide, Transition, mergeProps, withDirectives, createSlots, vShow, useCssModule, watch, isRef, createTextVNode } from 'vue';
|
|
6
6
|
import { CopyDocument, FullScreen, Close } from '@element-plus/icons-vue';
|
|
7
7
|
import { C as Component$2 } from '../button/button.mjs';
|
|
8
8
|
import { C as Component$1 } from '../scrollbar/scrollbar.mjs';
|
|
9
9
|
import { useVModel, useToggle } from '@vueuse/core';
|
|
10
|
-
import { F as FOCUS_TRAP_INJECTION_KEY, b as ElTeleport, d as ElFocusTrap } from '../../chunk/
|
|
10
|
+
import { F as FOCUS_TRAP_INJECTION_KEY, b as ElTeleport, d as ElFocusTrap } from '../../chunk/BH1e_-Fa.mjs';
|
|
11
11
|
import { E as ElIcon } from '../../chunk/D0QTifnI.mjs';
|
|
12
12
|
import { _ as _export_sfc, w as withInstall } from '../../chunk/V6KjsUQN.mjs';
|
|
13
13
|
import { a as addUnit } from '../../chunk/DodoD9a9.mjs';
|
|
14
14
|
import { C as CloseComponents } from '../icon/icon2.mjs';
|
|
15
|
-
import { u as useLocale } from '../../chunk/
|
|
15
|
+
import { u as useLocale } from '../../chunk/CJ0afvkJ.mjs';
|
|
16
16
|
import { u as useDeprecated } from '../../chunk/CvYIOfT1.mjs';
|
|
17
17
|
import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
|
|
18
18
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { v as vLoading } from '../../chunk/
|
|
4
|
-
import { E as ElButton } from '../../chunk/
|
|
3
|
+
import { v as vLoading } from '../../chunk/D-1mFPUH.mjs';
|
|
4
|
+
import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { E as ElSelect, a as ElOption } from '../../chunk/
|
|
7
|
-
import '../../chunk/
|
|
8
|
-
import '../../chunk/
|
|
9
|
-
import { E as ElAlert } from '../../chunk/
|
|
10
|
-
import { E as ElImage } from '../../chunk/
|
|
6
|
+
import { E as ElSelect, a as ElOption } from '../../chunk/BPQ3KP1S.mjs';
|
|
7
|
+
import '../../chunk/CqhShW5K.mjs';
|
|
8
|
+
import '../../chunk/BH1e_-Fa.mjs';
|
|
9
|
+
import { E as ElAlert } from '../../chunk/Bj4UMVBI.mjs';
|
|
10
|
+
import { E as ElImage } from '../../chunk/BQk-dhWy.mjs';
|
|
11
11
|
import { ref, defineComponent, useTemplateRef, reactive, computed, watch, createBlock, openBlock, unref, isRef, withCtx, withDirectives, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createVNode, vShow, createElementVNode, Transition, Fragment, renderList, createTextVNode } from 'vue';
|
|
12
12
|
import { Camera, Upload } from '@element-plus/icons-vue';
|
|
13
13
|
import { C as Component$3, i as index } from '../cropper/cropper.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { E as ElInput } from '../../chunk/
|
|
4
|
-
import { E as ElButton } from '../../chunk/
|
|
3
|
+
import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
|
|
4
|
+
import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
|
|
5
5
|
import { defineComponent, useTemplateRef, ref, computed, watch, nextTick, onMounted, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeStyle, normalizeClass, createVNode, withKeys, createTextVNode } from 'vue';
|
|
6
6
|
import { Search } from '@element-plus/icons-vue';
|
|
7
7
|
import { i as index } from '../../chunk/BaJ7k5Lg.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import { b as buildProps, d as definePropType, u as useNamespace, f as isFunction, i as isString, t as throwError, c as isArray, N as NOOP, g as isPlainObject, a as debugWarn } from '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { v as vLoading } from '../../chunk/
|
|
4
|
-
import { E as ElButton } from '../../chunk/
|
|
3
|
+
import { v as vLoading } from '../../chunk/D-1mFPUH.mjs';
|
|
4
|
+
import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
|
|
5
5
|
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, normalizeStyle, renderSlot, toDisplayString, createBlock, withCtx, resolveDynamicComponent, ref, TransitionGroup, Fragment, renderList, withKeys, withModifiers, createVNode, inject, shallowRef, watch, nextTick, onBeforeUnmount, provide, toRef, createSlots, mergeProps, isRef, withDirectives, createTextVNode } from 'vue';
|
|
6
6
|
import { VueDraggable } from 'vue-draggable-plus';
|
|
7
7
|
import { C as Component$1 } from '../dialog/dialog.mjs';
|
|
@@ -11,12 +11,12 @@ import { WarningFilled, CircleCheck, CircleClose, Check, Close, Document, ZoomIn
|
|
|
11
11
|
import { _ as _export_sfc, w as withInstall } from '../../chunk/V6KjsUQN.mjs';
|
|
12
12
|
import { i as isNil } from '../../chunk/Bc6yUGLs.mjs';
|
|
13
13
|
import { m as mutable } from '../../chunk/B-rxnVJv.mjs';
|
|
14
|
-
import { u as useLocale } from '../../chunk/
|
|
14
|
+
import { u as useLocale } from '../../chunk/CJ0afvkJ.mjs';
|
|
15
15
|
import { a as useFormDisabled } from '../../chunk/CBMjhoFP.mjs';
|
|
16
|
-
import { f as flatten } from '../../chunk/
|
|
17
|
-
import { e as entriesOf } from '../../chunk/
|
|
18
|
-
import { c as cloneDeep } from '../../chunk/
|
|
19
|
-
import { i as isEqual } from '../../chunk/
|
|
16
|
+
import { f as flatten } from '../../chunk/B-xUksL-.mjs';
|
|
17
|
+
import { e as entriesOf } from '../../chunk/EMeQxUfH.mjs';
|
|
18
|
+
import { c as cloneDeep } from '../../chunk/ipA7n6-J.mjs';
|
|
19
|
+
import { i as isEqual } from '../../chunk/q2jRgbir.mjs';
|
|
20
20
|
import { useVModel } from '@vueuse/core';
|
|
21
21
|
import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
|
|
22
22
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import { b as buildProps, u as useNamespace } from '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { d as dialogEmits, a as dialogProps, u as useDialog, E as ElOverlay } from '../../chunk/
|
|
4
|
-
import { E as ElScrollbar } from '../../chunk/
|
|
5
|
-
import { E as ElButton } from '../../chunk/
|
|
3
|
+
import { d as dialogEmits, a as dialogProps, u as useDialog, E as ElOverlay } from '../../chunk/CGC9zZcN.mjs';
|
|
4
|
+
import { E as ElScrollbar } from '../../chunk/CqhShW5K.mjs';
|
|
5
|
+
import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
|
|
6
6
|
import { computed, ref, watch, onBeforeUnmount, defineComponent, useSlots, createBlock, openBlock, unref, withCtx, createVNode, Transition, withDirectives, createElementVNode, mergeProps, withModifiers, createElementBlock, createCommentVNode, normalizeClass, renderSlot, toDisplayString, normalizeStyle, vShow, useCssVars, isRef, createTextVNode } from 'vue';
|
|
7
7
|
import { Close, CopyDocument, FullScreen } from '@element-plus/icons-vue';
|
|
8
8
|
import { C as Component$1 } from '../button/button.mjs';
|
|
9
9
|
import { useWindowSize, clamp, useEventListener, useVModel, useToggle } from '@vueuse/core';
|
|
10
|
-
import { b as ElTeleport, d as ElFocusTrap } from '../../chunk/
|
|
10
|
+
import { b as ElTeleport, d as ElFocusTrap } from '../../chunk/BH1e_-Fa.mjs';
|
|
11
11
|
import { E as ElIcon } from '../../chunk/D0QTifnI.mjs';
|
|
12
12
|
import { a as addUnit } from '../../chunk/DodoD9a9.mjs';
|
|
13
13
|
import { _ as _export_sfc, w as withInstall } from '../../chunk/V6KjsUQN.mjs';
|
|
14
14
|
import { u as useDeprecated } from '../../chunk/CvYIOfT1.mjs';
|
|
15
|
-
import { u as useLocale } from '../../chunk/
|
|
15
|
+
import { u as useLocale } from '../../chunk/CJ0afvkJ.mjs';
|
|
16
16
|
import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
|
|
17
17
|
|
|
18
18
|
const drawerProps = buildProps({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { E as ElButton } from '../../chunk/
|
|
3
|
+
import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
|
|
4
4
|
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, createVNode, unref, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
5
5
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { E as ElTable, a as ElTableColumn } from '../../chunk/
|
|
4
|
-
import { a as ElCheckbox } from '../../chunk/
|
|
3
|
+
import { E as ElTable, a as ElTableColumn } from '../../chunk/o2Q7kb8Y.mjs';
|
|
4
|
+
import { a as ElCheckbox } from '../../chunk/DBf73TLo.mjs';
|
|
5
5
|
/* empty css */
|
|
6
|
-
import '../../chunk/
|
|
7
|
-
import '../../chunk/
|
|
6
|
+
import '../../chunk/BH1e_-Fa.mjs';
|
|
7
|
+
import '../../chunk/CqhShW5K.mjs';
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { defineComponent, useTemplateRef, useCssModule, shallowRef, computed, ref, watch, onBeforeUnmount, createBlock, createCommentVNode, unref, openBlock, normalizeClass, createSlots, withCtx, renderSlot, createElementVNode, createVNode, nextTick } from 'vue';
|
|
10
10
|
import { useDraggable } from 'vue-draggable-plus';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { v as vLoading } from '../../chunk/
|
|
3
|
+
import { v as vLoading } from '../../chunk/D-1mFPUH.mjs';
|
|
4
4
|
import { defineComponent, withDirectives, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, createCommentVNode, createBlock, renderSlot, createTextVNode, toDisplayString, withCtx } from 'vue';
|
|
5
5
|
import { C as Component$1 } from '../iconify-icon/iconify-icon.mjs';
|
|
6
6
|
import { C as Component$2 } from '../scrollbar/scrollbar.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { E as ElButton } from '../../chunk/
|
|
4
|
-
import { E as ElInput } from '../../chunk/
|
|
3
|
+
import { E as ElButton } from '../../chunk/Db0Pk78M.mjs';
|
|
4
|
+
import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
|
|
5
5
|
import { defineComponent, useCssVars, ref, createElementBlock, openBlock, normalizeClass, createVNode, createBlock, createCommentVNode, unref, withKeys, isRef } from 'vue';
|
|
6
6
|
import { Search, Plus } from '@element-plus/icons-vue';
|
|
7
7
|
import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
|
|
8
|
-
import { d as debounce } from '../../chunk/
|
|
8
|
+
import { d as debounce } from '../../chunk/Cdh3HNZa.mjs';
|
|
9
9
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
10
10
|
|
|
11
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { E as ElPagination } from '../../chunk/
|
|
3
|
+
import { E as ElPagination } from '../../chunk/BA_oVIng.mjs';
|
|
4
4
|
/* empty css */
|
|
5
|
-
import '../../chunk/
|
|
6
|
-
import '../../chunk/
|
|
7
|
-
import '../../chunk/
|
|
8
|
-
import '../../chunk/
|
|
5
|
+
import '../../chunk/BPQ3KP1S.mjs';
|
|
6
|
+
import '../../chunk/CqhShW5K.mjs';
|
|
7
|
+
import '../../chunk/BH1e_-Fa.mjs';
|
|
8
|
+
import '../../chunk/DFOYvCRL.mjs';
|
|
9
9
|
import { defineComponent, useCssVars, unref, computed, createElementBlock, openBlock, normalizeClass, createCommentVNode, createBlock, renderSlot, mergeProps } from 'vue';
|
|
10
|
-
import { i as isObjectLike, b as baseGetTag } from '../../chunk/
|
|
10
|
+
import { i as isObjectLike, b as baseGetTag } from '../../chunk/ytiKcA3H.mjs';
|
|
11
11
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
12
12
|
|
|
13
13
|
/** `Object#toString` result references. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { v as vLoading } from '../../chunk/
|
|
4
|
-
import { defineComponent, ref, useTemplateRef, withDirectives, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, unref, withCtx, mergeProps } from 'vue';
|
|
3
|
+
import { v as vLoading } from '../../chunk/D-1mFPUH.mjs';
|
|
4
|
+
import { defineComponent, ref, useTemplateRef, computed, withDirectives, createElementBlock, openBlock, normalizeClass, createElementVNode, createVNode, createBlock, createCommentVNode, renderSlot, createTextVNode, toDisplayString, unref, withCtx, mergeProps } from 'vue';
|
|
5
5
|
import { ElForm } from 'element-plus';
|
|
6
6
|
import { C as Component$2 } from '../button/button.mjs';
|
|
7
7
|
import { C as Component$1 } from '../iconify-icon/iconify-icon.mjs';
|
|
@@ -19,7 +19,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
editable: { type: Boolean, default: true },
|
|
20
20
|
editing: { type: Boolean, default: true },
|
|
21
21
|
loading: { type: Boolean, default: false },
|
|
22
|
-
labelPosition: { default: "top" }
|
|
22
|
+
labelPosition: { default: "top" },
|
|
23
|
+
showCancel: { type: Boolean, default: true }
|
|
23
24
|
},
|
|
24
25
|
emits: ["cancel", "edit", "save"],
|
|
25
26
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -27,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
28
|
const emits = __emit;
|
|
28
29
|
const isEditing = ref(props.editing ?? true);
|
|
29
30
|
const formRef = useTemplateRef("formRef");
|
|
31
|
+
const isDisabled = computed(() => props.disabled || !isEditing.value || !props.editable);
|
|
30
32
|
function handleEdit() {
|
|
31
33
|
emits("edit");
|
|
32
34
|
isEditing.value = true;
|
|
@@ -81,7 +83,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
83
|
class: normalizeClass(_ctx.$style.actions)
|
|
82
84
|
}, [
|
|
83
85
|
renderSlot(_ctx.$slots, "action"),
|
|
84
|
-
__props.editable && unref(isEditing) ? (openBlock(), createBlock(Component$2, {
|
|
86
|
+
__props.editable && unref(isEditing) && __props.showCancel ? (openBlock(), createBlock(Component$2, {
|
|
85
87
|
key: 0,
|
|
86
88
|
disabled: __props.disabled,
|
|
87
89
|
icon: { name: "Close" },
|
|
@@ -129,13 +131,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
129
131
|
}, __props.formProps, {
|
|
130
132
|
model: __props.form.fields,
|
|
131
133
|
rules: __props.form.rules,
|
|
132
|
-
disabled:
|
|
134
|
+
disabled: unref(isDisabled),
|
|
133
135
|
"require-asterisk-position": "right",
|
|
134
136
|
"label-position": __props.labelPosition,
|
|
135
137
|
class: _ctx.$style.form
|
|
136
138
|
}), {
|
|
137
139
|
default: withCtx(() => [
|
|
138
|
-
renderSlot(_ctx.$slots, "default", {
|
|
140
|
+
renderSlot(_ctx.$slots, "default", {
|
|
141
|
+
isEditing: unref(isEditing),
|
|
142
|
+
isDisabled: unref(isDisabled)
|
|
143
|
+
})
|
|
139
144
|
]),
|
|
140
145
|
_: 3
|
|
141
146
|
}, 16, ["model", "rules", "disabled", "label-position", "class"])
|
|
@@ -6,6 +6,7 @@ declare function __VLS_template(): {
|
|
|
6
6
|
action?(_: {}): any;
|
|
7
7
|
default?(_: {
|
|
8
8
|
isEditing: boolean;
|
|
9
|
+
isDisabled: boolean;
|
|
9
10
|
}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {
|
|
@@ -392,6 +393,7 @@ declare const __VLS_component: import('vue').DefineComponent<IExplorerFormProps,
|
|
|
392
393
|
labelPosition: import('element-plus').FormProps["labelPosition"];
|
|
393
394
|
editable: boolean;
|
|
394
395
|
editing: boolean;
|
|
396
|
+
showCancel: boolean;
|
|
395
397
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
396
398
|
formRef: ({
|
|
397
399
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { E as ElCheckboxGroup, a as ElCheckbox } from '../../chunk/
|
|
3
|
+
import { E as ElCheckboxGroup, a as ElCheckbox } from '../../chunk/DBf73TLo.mjs';
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { defineComponent, ref, computed, createBlock, openBlock, normalizeClass, withCtx, withDirectives, createElementBlock, createCommentVNode, createElementVNode, createVNode, unref, isRef, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, mergeProps, vShow } from 'vue';
|
|
6
6
|
import { Loading } from '@element-plus/icons-vue';
|
|
7
|
-
import { useFormDisabled } from 'element-plus';
|
|
8
7
|
import { C as Component$3 } from '../button/button.mjs';
|
|
9
8
|
import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
|
|
10
9
|
import { C as Component$2 } from '../iconify-icon/iconify-icon.mjs';
|
|
@@ -38,7 +37,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
37
|
const emits = __emit;
|
|
39
38
|
const { filterKeyword } = injectExplorerPanelState();
|
|
40
39
|
const myValue = useVModel(props, "modelValue", emits);
|
|
41
|
-
const formDisabled = useFormDisabled();
|
|
42
40
|
const actived = ref();
|
|
43
41
|
const actionsMapping = {
|
|
44
42
|
create: { title: "新增", type: "primary", icon: "Plus" },
|
|
@@ -79,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79
77
|
createVNode(_component_el_checkbox_group, {
|
|
80
78
|
modelValue: unref(myValue),
|
|
81
79
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(myValue) ? myValue.value = $event : null),
|
|
82
|
-
disabled:
|
|
80
|
+
disabled: __props.disabled,
|
|
83
81
|
onChange: _cache[1] || (_cache[1] = (val) => emits("valueChange", val))
|
|
84
82
|
}, {
|
|
85
83
|
default: withCtx(() => [
|
|
@@ -146,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
146
144
|
link: "",
|
|
147
145
|
icon: { type: "el", name: actionsMapping[action].icon },
|
|
148
146
|
stop: "",
|
|
149
|
-
disabled:
|
|
147
|
+
disabled: __props.disabled,
|
|
150
148
|
onClick: ($event) => emits(action, item.value, item)
|
|
151
149
|
}), null, 16, ["confirm", "class", "icon", "disabled", "onClick"]))
|
|
152
150
|
], 64);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { v as vLoading } from '../../chunk/
|
|
3
|
+
import { v as vLoading } from '../../chunk/D-1mFPUH.mjs';
|
|
4
4
|
import { defineComponent, useTemplateRef, shallowRef, ref, computed, watch, onUnmounted, createBlock, openBlock, resolveDynamicComponent, unref, mergeProps, isRef, withCtx, withDirectives, renderSlot, createCommentVNode, createTextVNode, createElementVNode, normalizeClass, toDisplayString } from 'vue';
|
|
5
5
|
import { ElForm } from 'element-plus';
|
|
6
6
|
import { C as Component$3 } from '../button/button.mjs';
|
|
@@ -7,13 +7,13 @@ import { i as injectExplorerState } from '../explorer/explorer2.mjs';
|
|
|
7
7
|
import { f as formContextKey, a as formItemContextKey, u as useId } from '../../chunk/nxVM7re4.mjs';
|
|
8
8
|
import { c as componentSizes } from '../../chunk/vPhxogl3.mjs';
|
|
9
9
|
import { d as isBoolean } from '../../chunk/Bc6yUGLs.mjs';
|
|
10
|
-
import { c as castArray } from '../../chunk/
|
|
10
|
+
import { c as castArray } from '../../chunk/DSw4GnC6.mjs';
|
|
11
11
|
import { _ as _export_sfc, w as withInstall, a as withNoopInstall } from '../../chunk/V6KjsUQN.mjs';
|
|
12
12
|
import { c as useFormSize } from '../../chunk/CBMjhoFP.mjs';
|
|
13
|
-
import { g as getProp } from '../../chunk/
|
|
14
|
-
import { h as hasPath } from '../../chunk/
|
|
13
|
+
import { g as getProp } from '../../chunk/EMeQxUfH.mjs';
|
|
14
|
+
import { h as hasPath } from '../../chunk/B-xUksL-.mjs';
|
|
15
15
|
import { a as addUnit } from '../../chunk/DodoD9a9.mjs';
|
|
16
|
-
import { b as baseClone } from '../../chunk/
|
|
16
|
+
import { b as baseClone } from '../../chunk/D_F7nIja.mjs';
|
|
17
17
|
import { _ as _export_sfc$1 } from '../../chunk/pcqpp-6-.mjs';
|
|
18
18
|
|
|
19
19
|
/** Used to compose bitmasks for cloning. */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { v as vLoading } from '../../chunk/
|
|
4
|
-
import { E as ElTable } from '../../chunk/
|
|
5
|
-
import '../../chunk/
|
|
3
|
+
import { v as vLoading } from '../../chunk/D-1mFPUH.mjs';
|
|
4
|
+
import { E as ElTable } from '../../chunk/o2Q7kb8Y.mjs';
|
|
5
|
+
import '../../chunk/DBf73TLo.mjs';
|
|
6
6
|
/* empty css */
|
|
7
|
-
import '../../chunk/
|
|
8
|
-
import '../../chunk/
|
|
7
|
+
import '../../chunk/BH1e_-Fa.mjs';
|
|
8
|
+
import '../../chunk/CqhShW5K.mjs';
|
|
9
9
|
import { defineComponent, h, computed, watch, withDirectives, createElementBlock, openBlock, normalizeClass, createVNode, mergeProps, createSlots, withCtx, createBlock, createCommentVNode, renderSlot, unref, Fragment, renderList, createTextVNode, toDisplayString, resolveDynamicComponent } from 'vue';
|
|
10
10
|
import { ElTableColumn } from 'element-plus';
|
|
11
11
|
import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
|
|
@@ -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/Do7HIVy5.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/BH1e_-Fa.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/DdY32YAP.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/B-xUksL-.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,17 +1,15 @@
|
|
|
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/eqwEsspo.mjs';
|
|
4
|
+
import '../../chunk/DBf73TLo.mjs';
|
|
5
5
|
import '../../chunk/DbhQlaOz.mjs';
|
|
6
|
-
import { defineComponent, useTemplateRef, computed, watch, onBeforeUnmount, createBlock, openBlock, normalizeClass, withCtx, withDirectives, createElementBlock, createCommentVNode, createVNode, mergeProps, unref, renderSlot, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, vShow } from 'vue';
|
|
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';
|
|
8
8
|
import '../../chunk/D9iEroQw.mjs';
|
|
9
|
-
import { useFormDisabled } from 'element-plus';
|
|
10
9
|
import { C as Component$3 } from '../button/button.mjs';
|
|
11
10
|
import { i as injectExplorerPanelState } from '../explorer-panel/explorer-panel2.mjs';
|
|
12
11
|
import { C as Component$2 } from '../iconify-icon/iconify-icon.mjs';
|
|
13
12
|
import { C as Component$1 } from '../scrollbar/scrollbar.mjs';
|
|
14
|
-
import { c as cloneDeep } from '../../chunk/BIOLCk4C.mjs';
|
|
15
13
|
import { E as ElIcon } from '../../chunk/D0QTifnI.mjs';
|
|
16
14
|
import { _ as _export_sfc } from '../../chunk/pcqpp-6-.mjs';
|
|
17
15
|
|
|
@@ -139,7 +137,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
139
137
|
const emits = __emit;
|
|
140
138
|
const treeRef = useTemplateRef("treeRef");
|
|
141
139
|
const { filterKeyword } = injectExplorerPanelState();
|
|
142
|
-
const formDisabled = useFormDisabled();
|
|
143
140
|
const actionsMapping = {
|
|
144
141
|
create: { title: "新增", type: "primary", icon: "Plus" },
|
|
145
142
|
modify: { title: "修改", type: "primary", icon: "Edit" },
|
|
@@ -156,16 +153,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
156
153
|
nodeKey: "value",
|
|
157
154
|
...props.treeProps
|
|
158
155
|
}));
|
|
159
|
-
const
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
index.traverse(
|
|
156
|
+
const myTreeData = ref();
|
|
157
|
+
watch(() => props.disabled, () => {
|
|
158
|
+
if (props.disabled) {
|
|
159
|
+
index.traverse(myTreeData.value || [], (node) => {
|
|
160
|
+
node.originDisabled = node.disabled;
|
|
163
161
|
node.disabled = true;
|
|
164
162
|
});
|
|
165
|
-
|
|
163
|
+
} else {
|
|
164
|
+
index.traverse(myTreeData.value || [], (node) => {
|
|
165
|
+
node.disabled = node.originDisabled ?? false;
|
|
166
|
+
});
|
|
166
167
|
}
|
|
167
|
-
return props.data;
|
|
168
168
|
});
|
|
169
|
+
watch(() => props.data, () => {
|
|
170
|
+
myTreeData.value = props.data;
|
|
171
|
+
}, { immediate: true, deep: true });
|
|
169
172
|
function filterNode(value, data) {
|
|
170
173
|
if (!value || !filterKeyword.value) {
|
|
171
174
|
return true;
|
|
@@ -196,7 +199,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
196
199
|
withDirectives(createVNode(_component_ElTree, mergeProps({
|
|
197
200
|
ref_key: "treeRef",
|
|
198
201
|
ref: treeRef,
|
|
199
|
-
data: unref(
|
|
202
|
+
data: unref(myTreeData)
|
|
200
203
|
}, { ..._ctx.$attrs, ...unref(treeProps) }, {
|
|
201
204
|
class: _ctx.$style.tree,
|
|
202
205
|
"filter-node-method": filterNode,
|
|
@@ -243,7 +246,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
243
246
|
link: "",
|
|
244
247
|
icon: { type: "el", name: actionsMapping[action].icon },
|
|
245
248
|
stop: "",
|
|
246
|
-
disabled:
|
|
249
|
+
disabled: __props.disabled,
|
|
247
250
|
onClick: ($event) => emits(action, node.data.value, node)
|
|
248
251
|
}), null, 16, ["confirm", "class", "icon", "disabled", "onClick"]))
|
|
249
252
|
], 64);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import '../../chunk/
|
|
3
|
+
import '../../chunk/BH1e_-Fa.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/BA_oVIng.mjs';
|
|
11
11
|
/* empty css */
|
|
12
|
-
import '../../chunk/
|
|
13
|
-
import '../../chunk/
|
|
14
|
-
import { E as ElInput } from '../../chunk/
|
|
12
|
+
import '../../chunk/BPQ3KP1S.mjs';
|
|
13
|
+
import '../../chunk/CqhShW5K.mjs';
|
|
14
|
+
import { E as ElInput } from '../../chunk/DFOYvCRL.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/Db0Pk78M.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/Cdh3HNZa.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/DdY32YAP.mjs';
|
|
22
22
|
|
|
23
23
|
const baseUrl = "https://api.iconify.design";
|
|
24
24
|
function paginateArray(array, ps, p) {
|
|
@@ -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/BH1e_-Fa.mjs';
|
|
5
|
+
import { E as ElImage } from '../../chunk/BQk-dhWy.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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import { E as ElInput } from '../../chunk/
|
|
3
|
+
import { E as ElInput } from '../../chunk/DFOYvCRL.mjs';
|
|
4
4
|
import { defineComponent, useCssVars, unref, computed, useCssModule, useTemplateRef, createBlock, openBlock, normalizeClass, createSlots, withCtx, renderSlot } from 'vue';
|
|
5
5
|
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
6
6
|
import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './index.css'
|
|
2
2
|
import '../../chunk/Gk1J52Yw.mjs';
|
|
3
|
-
import '../../chunk/
|
|
4
|
-
import { E as ElInputNumber } from '../../chunk/
|
|
3
|
+
import '../../chunk/DFOYvCRL.mjs';
|
|
4
|
+
import { E as ElInputNumber } from '../../chunk/C-7W07Z_.mjs';
|
|
5
5
|
import { defineComponent, useCssVars, unref, computed, useSlots, useCssModule, ref, useTemplateRef, watch, onUnmounted, createElementBlock, openBlock, normalizeClass, createCommentVNode, createBlock, renderSlot, mergeProps, isRef, createSlots, withCtx, nextTick } from 'vue';
|
|
6
6
|
import { useFormDisabled, useFormItem } from 'element-plus';
|
|
7
7
|
import { f as formatToPx } from '../../chunk/DZ5W9TaA.mjs';
|