@airpower/web 0.2.33 → 0.2.34
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/components/button/Button.vue.d.ts +9 -0
- package/dist/components/form/FormField.vue.d.ts +3 -3
- package/dist/components/input/Input.vue.d.ts +3 -3
- package/dist/components/page/Page.vue.d.ts +1 -1
- package/dist/components/panel/Panel.vue.d.ts +3 -2
- package/dist/components/payload/Payload.vue.d.ts +2 -2
- package/dist/components/select/Select.vue.d.ts +2 -2
- package/dist/components/table/Table.vue.d.ts +1 -0
- package/dist/decorator/@Table/ITableColumn.d.ts +11 -2
- package/dist/i18n/WebI18n.d.ts +1 -0
- package/dist/main.js +181 -160
- package/dist/web.css +33 -36
- package/package.json +1 -1
- package/dist/components/table/useTableSelect.d.ts +0 -24
|
@@ -17,6 +17,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
17
17
|
type: StringConstructor;
|
|
18
18
|
default: undefined;
|
|
19
19
|
};
|
|
20
|
+
link: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
20
24
|
/**
|
|
21
25
|
* # 是否是主按钮
|
|
22
26
|
*/
|
|
@@ -61,6 +65,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
61
65
|
type: StringConstructor;
|
|
62
66
|
default: undefined;
|
|
63
67
|
};
|
|
68
|
+
link: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
64
72
|
/**
|
|
65
73
|
* # 是否是主按钮
|
|
66
74
|
*/
|
|
@@ -99,6 +107,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
99
107
|
};
|
|
100
108
|
}>> & Readonly<{}>, {
|
|
101
109
|
permission: string;
|
|
110
|
+
link: boolean;
|
|
102
111
|
primary: boolean;
|
|
103
112
|
danger: boolean;
|
|
104
113
|
warning: boolean;
|
|
@@ -35,16 +35,16 @@ declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<
|
|
|
35
35
|
readonly tree?: ITree[] | undefined;
|
|
36
36
|
readonly onClear?: (() => any) | undefined;
|
|
37
37
|
readonly onBlur?: (() => any) | undefined;
|
|
38
|
-
readonly
|
|
38
|
+
readonly onChanged?: ((value: E) => any) | undefined;
|
|
39
39
|
readonly "onUpdate:modelValue"?: ((value: E) => any) | undefined;
|
|
40
40
|
readonly onFocus?: (() => any) | undefined;
|
|
41
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "list" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree">, "onFocus" | "onBlur" | "
|
|
41
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "list" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree">, "onFocus" | "onBlur" | "field" | "onClear" | "onChanged" | "onUpdate:modelValue" | ("disabled" | "list" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
42
42
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
43
43
|
attrs: any;
|
|
44
44
|
slots: {
|
|
45
45
|
default?(_: {}): any;
|
|
46
46
|
};
|
|
47
|
-
emit: ((evt: "clear") => void) & ((evt: "blur") => void) & ((evt: "
|
|
47
|
+
emit: ((evt: "clear") => void) & ((evt: "blur") => void) & ((evt: "changed", value: E) => void) & ((evt: "update:modelValue", value: E) => void) & ((evt: "focus") => void);
|
|
48
48
|
}>) => import('vue').VNode & {
|
|
49
49
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
50
50
|
};
|
|
@@ -33,14 +33,14 @@ declare const _default: <E extends RootEntity, T extends ITree, EM extends IEnum
|
|
|
33
33
|
readonly modifier?: string | undefined;
|
|
34
34
|
readonly onClear?: ((...args: any[]) => any) | undefined;
|
|
35
35
|
readonly onBlur?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
readonly onChanged?: ((...args: any[]) => any) | undefined;
|
|
36
37
|
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
37
38
|
readonly onFocus?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
|
|
39
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "list" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch">, "onFocus" | "onBlur" | "onClear" | "onUpdate:modelValue" | "onChanged" | ("disabled" | "list" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
39
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "list" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch">, "onFocus" | "onBlur" | "onClear" | "onChanged" | "onUpdate:modelValue" | ("disabled" | "list" | "placeholder" | "dateShowFormatter" | "entity" | "modelValue" | "readonly" | "disabledValue" | "tree" | "modelModifiers" | "modifier" | "showClear" | "onSearch")> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
40
40
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
41
41
|
attrs: any;
|
|
42
42
|
slots: Partial<Record<NonNullable<string | number | symbol>, (_: {}) => any>>;
|
|
43
|
-
emit: (event: "clear" | "blur" | "
|
|
43
|
+
emit: (event: "clear" | "blur" | "changed" | "update:modelValue" | "focus", ...args: any[]) => void;
|
|
44
44
|
}>) => import('vue').VNode & {
|
|
45
45
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
46
46
|
};
|
|
@@ -5,7 +5,7 @@ declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<
|
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly response: QueryResponsePage<E>;
|
|
7
7
|
readonly onChanged?: ((page: QueryPage) => any) | undefined;
|
|
8
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "
|
|
8
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "response" | "onChanged"> & {} & Partial<{}>> & import('vue').PublicProps;
|
|
9
9
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
10
10
|
attrs: any;
|
|
11
11
|
slots: {};
|
|
@@ -18,7 +18,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
18
18
|
*/
|
|
19
19
|
title: {
|
|
20
20
|
type: StringConstructor;
|
|
21
|
-
|
|
21
|
+
default: string;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* # 描述
|
|
@@ -62,7 +62,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
62
62
|
*/
|
|
63
63
|
title: {
|
|
64
64
|
type: StringConstructor;
|
|
65
|
-
|
|
65
|
+
default: string;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* # 描述
|
|
@@ -100,6 +100,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
100
100
|
default: boolean;
|
|
101
101
|
};
|
|
102
102
|
}>> & Readonly<{}>, {
|
|
103
|
+
title: string;
|
|
103
104
|
hideIcon: boolean;
|
|
104
105
|
hideFooter: boolean;
|
|
105
106
|
description: string;
|
|
@@ -14,7 +14,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
*/
|
|
15
15
|
view: {
|
|
16
16
|
type: PropType<Component>;
|
|
17
|
-
required:
|
|
17
|
+
required: undefined;
|
|
18
18
|
};
|
|
19
19
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
20
|
/**
|
|
@@ -29,7 +29,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
29
29
|
*/
|
|
30
30
|
view: {
|
|
31
31
|
type: PropType<Component>;
|
|
32
|
-
required:
|
|
32
|
+
required: undefined;
|
|
33
33
|
};
|
|
34
34
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
35
|
export default _default;
|
|
@@ -29,9 +29,9 @@ declare const _default: <T extends IPayload>(__VLS_props: NonNullable<Awaited<ty
|
|
|
29
29
|
readonly clearLabel: string;
|
|
30
30
|
readonly selector: Component;
|
|
31
31
|
readonly onClear?: (() => any) | undefined;
|
|
32
|
-
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
33
32
|
readonly onChanged?: ((data: T | undefined) => any) | undefined;
|
|
34
|
-
|
|
33
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
34
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "default" | "param" | "placeholder" | "selectLabel" | "clearLabel">, "onClear" | "onChanged" | "onUpdate:modelValue" | "selector" | ("disabled" | "default" | "param" | "placeholder" | "selectLabel" | "clearLabel")> & {
|
|
35
35
|
modelValue?: T;
|
|
36
36
|
} & Partial<{}>> & import('vue').PublicProps;
|
|
37
37
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
@@ -139,6 +139,7 @@ declare const _default: <E extends RootEntity, S extends AbstractCurdService<E>>
|
|
|
139
139
|
}) => any>> & {
|
|
140
140
|
left?(_: {}): any;
|
|
141
141
|
beforeButton?(_: {}): any;
|
|
142
|
+
addButton?(_: {}): any;
|
|
142
143
|
afterButton?(_: {}): any;
|
|
143
144
|
beforeSearch?(_: {}): any;
|
|
144
145
|
afterSearch?(_: {}): any;
|
|
@@ -11,6 +11,10 @@ export interface ITableColumn extends IBaseField, IElementTableColumn {
|
|
|
11
11
|
* ### 是否是金额
|
|
12
12
|
*/
|
|
13
13
|
money?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* ### 是否是电话号码
|
|
16
|
+
*/
|
|
17
|
+
phone?: boolean;
|
|
14
18
|
/**
|
|
15
19
|
* ### 列排序
|
|
16
20
|
* 越大越靠前
|
|
@@ -25,9 +29,14 @@ export interface ITableColumn extends IBaseField, IElementTableColumn {
|
|
|
25
29
|
*/
|
|
26
30
|
force?: boolean;
|
|
27
31
|
/**
|
|
28
|
-
* ###
|
|
32
|
+
* ### 是否强制换行
|
|
33
|
+
*/
|
|
34
|
+
wrap?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* ### 是否是负载对象的字段
|
|
37
|
+
* 请确保该属性对应的类型已经实现了 `IPayload` 接口
|
|
29
38
|
*/
|
|
30
|
-
|
|
39
|
+
payload?: boolean;
|
|
31
40
|
/**
|
|
32
41
|
* ### 删除列
|
|
33
42
|
*/
|
package/dist/i18n/WebI18n.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { defineComponent, createElementBlock, openBlock, createElementVNode, computed, createBlock, unref, mergeProps, toHandlers, withCtx, renderSlot, createVNode, createTextVNode, toDisplayString, ref, withModifiers, normalizeClass, onMounted, watch,
|
|
4
|
+
import { defineComponent, createElementBlock, openBlock, createElementVNode, computed, createBlock, unref, mergeProps, toHandlers, withCtx, renderSlot, resolveComponent, createVNode, createTextVNode, toDisplayString, ref, withModifiers, normalizeClass, onMounted, watch, resolveDirective, Transition, normalizeStyle, withDirectives, createCommentVNode, nextTick, inject, shallowRef, shallowReactive, reactive, h, provide, getCurrentInstance, watchEffect, Fragment, renderList, vShow, useSlots, createSlots, createApp, onUpdated, mergeModels, useModel, withKeys } from "vue";
|
|
5
5
|
import ElementPlus, { ElButton, ElMessage, ElMessageBox, ElIcon, ElEmpty, ElFormItem, ElSubMenu, ElMenuItem, ElPagination, ElPopover, ElRadioGroup, ElRadioButton, ElInput, ElUpload, ElLink, ElTabPane, ElCheckTag, ElSelect, ElOption, ElTable, ElTableColumn } from "element-plus";
|
|
6
6
|
import axios from "axios";
|
|
7
7
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
@@ -1158,6 +1158,10 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1158
1158
|
type: String,
|
|
1159
1159
|
default: void 0
|
|
1160
1160
|
},
|
|
1161
|
+
link: {
|
|
1162
|
+
type: Boolean,
|
|
1163
|
+
default: false
|
|
1164
|
+
},
|
|
1161
1165
|
/**
|
|
1162
1166
|
* # 是否是主按钮
|
|
1163
1167
|
*/
|
|
@@ -1232,13 +1236,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1232
1236
|
return openBlock(), createBlock(unref(ElButton), mergeProps({
|
|
1233
1237
|
disabled: isDisabled.value,
|
|
1234
1238
|
icon: icon.value,
|
|
1239
|
+
link: __props.link,
|
|
1235
1240
|
type: __props.danger ? "danger" : __props.warning ? "warning" : __props.primary ? "primary" : "default"
|
|
1236
1241
|
}, _ctx.$attrs, toHandlers(_ctx.$attrs)), {
|
|
1237
1242
|
default: withCtx(() => [
|
|
1238
1243
|
renderSlot(_ctx.$slots, "default")
|
|
1239
1244
|
]),
|
|
1240
1245
|
_: 3
|
|
1241
|
-
}, 16, ["disabled", "icon", "type"]);
|
|
1246
|
+
}, 16, ["disabled", "icon", "link", "type"]);
|
|
1242
1247
|
};
|
|
1243
1248
|
}
|
|
1244
1249
|
});
|
|
@@ -2095,6 +2100,7 @@ class WebI18n extends I18n {
|
|
|
2095
2100
|
__publicField(this, "FileMaxSizeAllowed", "最大允许上传文件大小:");
|
|
2096
2101
|
__publicField(this, "UploadImage", "上传图片");
|
|
2097
2102
|
__publicField(this, "NoPicture", "暂无图片");
|
|
2103
|
+
__publicField(this, "Operation", "操作");
|
|
2098
2104
|
}
|
|
2099
2105
|
}
|
|
2100
2106
|
class FeedbackUtil {
|
|
@@ -2278,18 +2284,16 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
2278
2284
|
FeedbackUtil.toastSuccess(WebI18n.get().CopySuccess);
|
|
2279
2285
|
}
|
|
2280
2286
|
return (_ctx, _cache) => {
|
|
2287
|
+
const _component_ElLink = resolveComponent("ElLink");
|
|
2281
2288
|
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
2282
|
-
createVNode(
|
|
2283
|
-
icon: __props.hideIcon ? "" : "COPY",
|
|
2284
|
-
link: ""
|
|
2285
|
-
}, _ctx.$attrs, { onClick: copy }, toHandlers(_ctx.$attrs)), {
|
|
2289
|
+
createVNode(_component_ElLink, mergeProps({ underline: false }, _ctx.$attrs, { onClick: copy }, toHandlers(_ctx.$attrs)), {
|
|
2286
2290
|
default: withCtx(() => [
|
|
2287
2291
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
2288
2292
|
createTextVNode(toDisplayString(__props.content || "-"), 1)
|
|
2289
2293
|
], true)
|
|
2290
2294
|
]),
|
|
2291
2295
|
_: 3
|
|
2292
|
-
}, 16
|
|
2296
|
+
}, 16)
|
|
2293
2297
|
]);
|
|
2294
2298
|
};
|
|
2295
2299
|
}
|
|
@@ -2301,7 +2305,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
2301
2305
|
}
|
|
2302
2306
|
return target;
|
|
2303
2307
|
};
|
|
2304
|
-
const ACopy = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-
|
|
2308
|
+
const ACopy = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-8fcdb586"]]);
|
|
2305
2309
|
var cryptoJs$1 = { exports: {} };
|
|
2306
2310
|
function commonjsRequire(path) {
|
|
2307
2311
|
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -9644,11 +9648,12 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
9644
9648
|
},
|
|
9645
9649
|
setup(__props) {
|
|
9646
9650
|
const props = __props;
|
|
9651
|
+
const friendly = ref(props.isFriendly);
|
|
9647
9652
|
const getDateTimeString = computed(() => {
|
|
9648
9653
|
if (!props.milliSecond && !props.date) {
|
|
9649
9654
|
return "-";
|
|
9650
9655
|
}
|
|
9651
|
-
if (
|
|
9656
|
+
if (friendly.value) {
|
|
9652
9657
|
if (props.milliSecond) {
|
|
9653
9658
|
return DateTimeUtil.getFriendlyDateTime(props.milliSecond);
|
|
9654
9659
|
}
|
|
@@ -9666,9 +9671,10 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
9666
9671
|
return "-";
|
|
9667
9672
|
});
|
|
9668
9673
|
return (_ctx, _cache) => {
|
|
9669
|
-
|
|
9670
|
-
|
|
9671
|
-
|
|
9674
|
+
const _component_ElLink = resolveComponent("ElLink");
|
|
9675
|
+
return openBlock(), createBlock(_component_ElLink, {
|
|
9676
|
+
underline: false,
|
|
9677
|
+
onClick: _cache[0] || (_cache[0] = ($event) => friendly.value = !friendly.value)
|
|
9672
9678
|
}, {
|
|
9673
9679
|
default: withCtx(() => [
|
|
9674
9680
|
createTextVNode(toDisplayString(getDateTimeString.value), 1)
|
|
@@ -9678,7 +9684,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
9678
9684
|
};
|
|
9679
9685
|
}
|
|
9680
9686
|
});
|
|
9681
|
-
const ADateTime = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
9687
|
+
const ADateTime = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-5a914a85"]]);
|
|
9682
9688
|
const _hoisted_1$h = { class: "a-desensitize" };
|
|
9683
9689
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
9684
9690
|
__name: "Desensitize",
|
|
@@ -9762,7 +9768,7 @@ const _hoisted_5$6 = {
|
|
|
9762
9768
|
class: "footer"
|
|
9763
9769
|
};
|
|
9764
9770
|
const _hoisted_6$4 = { class: "status" };
|
|
9765
|
-
const _hoisted_7$
|
|
9771
|
+
const _hoisted_7$2 = {
|
|
9766
9772
|
key: 0,
|
|
9767
9773
|
class: "control"
|
|
9768
9774
|
};
|
|
@@ -10101,7 +10107,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10101
10107
|
createElementVNode("div", _hoisted_6$4, [
|
|
10102
10108
|
renderSlot(_ctx.$slots, "status", {}, void 0, true)
|
|
10103
10109
|
]),
|
|
10104
|
-
!__props.hideButtons ? (openBlock(), createElementBlock("div", _hoisted_7$
|
|
10110
|
+
!__props.hideButtons ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
|
|
10105
10111
|
renderSlot(_ctx.$slots, "leftCtrl", {}, void 0, true),
|
|
10106
10112
|
!__props.hideConfirm ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
10107
10113
|
key: 0,
|
|
@@ -10240,7 +10246,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
10240
10246
|
default: void 0
|
|
10241
10247
|
}
|
|
10242
10248
|
},
|
|
10243
|
-
emits: ["
|
|
10249
|
+
emits: ["changed", "update:modelValue", "blur", "focus", "clear"],
|
|
10244
10250
|
setup(__props, { emit: __emit }) {
|
|
10245
10251
|
const props = __props;
|
|
10246
10252
|
const emits = __emit;
|
|
@@ -10256,10 +10262,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
10256
10262
|
if (!EntityClass) {
|
|
10257
10263
|
throw new Error("请手动传入到AFormField的entity属性或使用 useEditor 创建表单对象(推荐)!!!");
|
|
10258
10264
|
}
|
|
10259
|
-
function onChange(
|
|
10260
|
-
formData.value[props.field]
|
|
10261
|
-
emits("update:modelValue",
|
|
10262
|
-
emits("
|
|
10265
|
+
function onChange() {
|
|
10266
|
+
const val = formData.value[props.field];
|
|
10267
|
+
emits("update:modelValue", val);
|
|
10268
|
+
emits("changed", val);
|
|
10263
10269
|
if (injectFormData) {
|
|
10264
10270
|
injectFormData.value[props.field] = val;
|
|
10265
10271
|
}
|
|
@@ -10283,9 +10289,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
10283
10289
|
readonly: __props.readonly,
|
|
10284
10290
|
tree: __props.tree,
|
|
10285
10291
|
onBlur: _cache[1] || (_cache[1] = ($event) => emits("blur")),
|
|
10286
|
-
onChange
|
|
10287
|
-
onClear: _cache[
|
|
10288
|
-
onFocus: _cache[
|
|
10292
|
+
onChange,
|
|
10293
|
+
onClear: _cache[2] || (_cache[2] = ($event) => emits("clear")),
|
|
10294
|
+
onFocus: _cache[3] || (_cache[3] = ($event) => emits("focus"))
|
|
10289
10295
|
}, null, 8, ["modelValue", "disabled", "disabled-value", "entity", "list", "model-modifiers", "modifier", "readonly", "tree"])
|
|
10290
10296
|
])
|
|
10291
10297
|
]),
|
|
@@ -13016,6 +13022,9 @@ function extractChangingRecords(to, from) {
|
|
|
13016
13022
|
}
|
|
13017
13023
|
return [leavingRecords, updatingRecords, enteringRecords];
|
|
13018
13024
|
}
|
|
13025
|
+
function useRouter() {
|
|
13026
|
+
return inject(routerKey);
|
|
13027
|
+
}
|
|
13019
13028
|
function useRoute(_name) {
|
|
13020
13029
|
return inject(routeLocationKey);
|
|
13021
13030
|
}
|
|
@@ -13757,6 +13766,9 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13757
13766
|
function emitBlur() {
|
|
13758
13767
|
emits("blur");
|
|
13759
13768
|
}
|
|
13769
|
+
function emitFocus() {
|
|
13770
|
+
emits("focus");
|
|
13771
|
+
}
|
|
13760
13772
|
function emitClear() {
|
|
13761
13773
|
emits("clear");
|
|
13762
13774
|
}
|
|
@@ -13949,12 +13961,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13949
13961
|
"value-format": formConfig.value.dateFormatter,
|
|
13950
13962
|
style: { "width": "100%" },
|
|
13951
13963
|
onClear,
|
|
13952
|
-
onFocus:
|
|
13964
|
+
onFocus: emitFocus,
|
|
13953
13965
|
onKeydown: onKeyDown
|
|
13954
13966
|
}, null, 8, ["modelValue", "clearable", "disabled", "format", "placeholder", "prefix-icon", "readonly", "suffix-icon", "type", "value-format"])) : (openBlock(), createBlock(_component_el_time_picker, {
|
|
13955
13967
|
key: 1,
|
|
13956
13968
|
modelValue: value.value,
|
|
13957
|
-
"onUpdate:modelValue": _cache[
|
|
13969
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => value.value = $event),
|
|
13958
13970
|
clearable: ((_d = formConfig.value) == null ? void 0 : _d.clearable) !== false,
|
|
13959
13971
|
disabled: __props.disabled,
|
|
13960
13972
|
format: formConfig.value.dateShowFormatter || unref(DateTimeFormatter).FULL_TIME,
|
|
@@ -13965,14 +13977,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13965
13977
|
"value-format": formConfig.value.dateFormatter,
|
|
13966
13978
|
style: { "width": "100%" },
|
|
13967
13979
|
onClear,
|
|
13968
|
-
onFocus:
|
|
13980
|
+
onFocus: emitFocus,
|
|
13969
13981
|
onKeydown: onKeyDown
|
|
13970
13982
|
}, null, 8, ["modelValue", "clearable", "disabled", "format", "placeholder", "prefix-icon", "readonly", "suffix-icon", "value-format"]))
|
|
13971
13983
|
], 64)) : __props.list || dictionary.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
13972
13984
|
((_g = formConfig.value) == null ? void 0 : _g.switch) ? (openBlock(), createBlock(_component_el_switch, {
|
|
13973
13985
|
key: 0,
|
|
13974
13986
|
modelValue: value.value,
|
|
13975
|
-
"onUpdate:modelValue": _cache[
|
|
13987
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => value.value = $event),
|
|
13976
13988
|
"active-text": getSwitchLabel(true),
|
|
13977
13989
|
"inactive-text": getSwitchLabel(false),
|
|
13978
13990
|
readonly: __props.readonly,
|
|
@@ -13983,7 +13995,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13983
13995
|
}, null, 8, ["modelValue", "active-text", "inactive-text", "readonly", "style"])) : ((_h = formConfig.value) == null ? void 0 : _h.radioButton) ? (openBlock(), createBlock(_component_el_radio_group, {
|
|
13984
13996
|
key: 1,
|
|
13985
13997
|
modelValue: value.value,
|
|
13986
|
-
"onUpdate:modelValue": _cache[
|
|
13998
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => value.value = $event),
|
|
13987
13999
|
readonly: __props.readonly
|
|
13988
14000
|
}, {
|
|
13989
14001
|
default: withCtx(() => [
|
|
@@ -14003,7 +14015,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14003
14015
|
}, 8, ["modelValue", "readonly"])) : ((_i = formConfig.value) == null ? void 0 : _i.radio) ? (openBlock(), createBlock(_component_el_radio_group, {
|
|
14004
14016
|
key: 2,
|
|
14005
14017
|
modelValue: value.value,
|
|
14006
|
-
"onUpdate:modelValue": _cache[
|
|
14018
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => value.value = $event),
|
|
14007
14019
|
readonly: __props.readonly
|
|
14008
14020
|
}, {
|
|
14009
14021
|
default: withCtx(() => [
|
|
@@ -14023,7 +14035,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14023
14035
|
}, 8, ["modelValue", "readonly"])) : (openBlock(), createBlock(_component_el_select, {
|
|
14024
14036
|
key: 3,
|
|
14025
14037
|
modelValue: value.value,
|
|
14026
|
-
"onUpdate:modelValue": _cache[
|
|
14038
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => value.value = $event),
|
|
14027
14039
|
clearable: ((_j = formConfig.value) == null ? void 0 : _j.clearable) !== false,
|
|
14028
14040
|
"collapse-tags": (_k = formConfig.value) == null ? void 0 : _k.collapseTags,
|
|
14029
14041
|
disabled: __props.disabled,
|
|
@@ -14039,7 +14051,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14039
14051
|
"collapse-tags-tooltip": "",
|
|
14040
14052
|
"fit-input-width": "",
|
|
14041
14053
|
onClear,
|
|
14042
|
-
onFocus:
|
|
14054
|
+
onFocus: emitFocus,
|
|
14043
14055
|
onKeydown: onKeyDown
|
|
14044
14056
|
}, {
|
|
14045
14057
|
default: withCtx(() => [
|
|
@@ -14071,7 +14083,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14071
14083
|
], 64)) : formConfig.value && __props.tree ? (openBlock(), createBlock(_component_el_cascader, {
|
|
14072
14084
|
key: 2,
|
|
14073
14085
|
modelValue: value.value,
|
|
14074
|
-
"onUpdate:modelValue": _cache[
|
|
14086
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => value.value = $event),
|
|
14075
14087
|
clearable: ((_q = formConfig.value) == null ? void 0 : _q.clearable) !== false,
|
|
14076
14088
|
"collapse-tags": (_r = formConfig.value) == null ? void 0 : _r.collapseTags,
|
|
14077
14089
|
disabled: __props.disabled,
|
|
@@ -14090,12 +14102,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14090
14102
|
"collapse-tags-tooltip": "",
|
|
14091
14103
|
"popper-class": "a-input-cascader-popper",
|
|
14092
14104
|
onClear,
|
|
14093
|
-
onFocus:
|
|
14105
|
+
onFocus: emitFocus,
|
|
14094
14106
|
onKeydown: onKeyDown
|
|
14095
14107
|
}, null, 8, ["modelValue", "clearable", "collapse-tags", "disabled", "options", "placeholder", "props", "readonly", "show-all-levels"])) : (openBlock(), createBlock(_component_el_input, {
|
|
14096
14108
|
key: 3,
|
|
14097
14109
|
modelValue: value.value,
|
|
14098
|
-
"onUpdate:modelValue": _cache[
|
|
14110
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => value.value = $event),
|
|
14099
14111
|
autosize: ((_w = formConfig.value) == null ? void 0 : _w.autoSize) ? { minRows: formConfig.value.minRows, maxRows: formConfig.value.maxRows } : false,
|
|
14100
14112
|
clearable: ((_x = formConfig.value) == null ? void 0 : _x.clearable) !== false,
|
|
14101
14113
|
disabled: __props.disabled,
|
|
@@ -14112,7 +14124,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14112
14124
|
onBlur,
|
|
14113
14125
|
onChange: checkNumberValue,
|
|
14114
14126
|
onClear,
|
|
14115
|
-
onFocus:
|
|
14127
|
+
onFocus: emitFocus,
|
|
14116
14128
|
onKeydown: onKeyDown
|
|
14117
14129
|
}, createSlots({ _: 2 }, [
|
|
14118
14130
|
renderList(unref(slots), (_, name) => {
|
|
@@ -14128,7 +14140,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
14128
14140
|
name === "suffix" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
14129
14141
|
isClearButtonShow.value ? (openBlock(), createBlock(_component_el_icon, {
|
|
14130
14142
|
key: 0,
|
|
14131
|
-
onClick: _cache[
|
|
14143
|
+
onClick: _cache[7] || (_cache[7] = ($event) => onClear())
|
|
14132
14144
|
}, {
|
|
14133
14145
|
default: withCtx(() => [
|
|
14134
14146
|
createVNode(unref(circle_close_default))
|
|
@@ -14217,7 +14229,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
14217
14229
|
};
|
|
14218
14230
|
}
|
|
14219
14231
|
});
|
|
14220
|
-
const
|
|
14232
|
+
const AMoney = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-3d17364f"]]);
|
|
14221
14233
|
class QueryPage extends Transformer {
|
|
14222
14234
|
constructor() {
|
|
14223
14235
|
super(...arguments);
|
|
@@ -14300,8 +14312,8 @@ const _hoisted_3$6 = { class: "web-page-panel-box" };
|
|
|
14300
14312
|
const _hoisted_4$4 = { class: "web-page-header" };
|
|
14301
14313
|
const _hoisted_5$3 = { class: "web-page-title" };
|
|
14302
14314
|
const _hoisted_6$2 = { class: "web-page-goto" };
|
|
14303
|
-
const _hoisted_7$
|
|
14304
|
-
const _hoisted_8$
|
|
14315
|
+
const _hoisted_7$1 = { class: "web-page-jumper" };
|
|
14316
|
+
const _hoisted_8$1 = {
|
|
14305
14317
|
key: 1,
|
|
14306
14318
|
class: "web-page-total"
|
|
14307
14319
|
};
|
|
@@ -14460,7 +14472,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14460
14472
|
}, 1032, ["disabled", "style", "type", "onClick"]);
|
|
14461
14473
|
}), 128))
|
|
14462
14474
|
]),
|
|
14463
|
-
createElementVNode("div", _hoisted_7$
|
|
14475
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
14464
14476
|
createVNode(unref(ElInput), {
|
|
14465
14477
|
modelValue: currentPage.value,
|
|
14466
14478
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => currentPage.value = $event),
|
|
@@ -14488,7 +14500,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14488
14500
|
]),
|
|
14489
14501
|
_: 1
|
|
14490
14502
|
}, 8, ["width"])) : createCommentVNode("", true),
|
|
14491
|
-
__props.response.total ? (openBlock(), createElementBlock("div", _hoisted_8$
|
|
14503
|
+
__props.response.total ? (openBlock(), createElementBlock("div", _hoisted_8$1, [
|
|
14492
14504
|
createTextVNode(toDisplayString(unref(WebI18n).get().TotalRow) + ": ", 1),
|
|
14493
14505
|
createElementVNode("span", null, toDisplayString(__props.response.total), 1)
|
|
14494
14506
|
])) : createCommentVNode("", true)
|
|
@@ -14511,11 +14523,11 @@ const _hoisted_4$3 = {
|
|
|
14511
14523
|
};
|
|
14512
14524
|
const _hoisted_5$2 = { class: "panel-right" };
|
|
14513
14525
|
const _hoisted_6$1 = { class: "panel-body" };
|
|
14514
|
-
const _hoisted_7
|
|
14526
|
+
const _hoisted_7 = {
|
|
14515
14527
|
key: 1,
|
|
14516
14528
|
class: "panel-footer"
|
|
14517
14529
|
};
|
|
14518
|
-
const _hoisted_8
|
|
14530
|
+
const _hoisted_8 = { class: "panel-footer-left" };
|
|
14519
14531
|
const _hoisted_9 = { class: "panel-footer-right" };
|
|
14520
14532
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
14521
14533
|
__name: "Panel",
|
|
@@ -14526,7 +14538,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14526
14538
|
*/
|
|
14527
14539
|
title: {
|
|
14528
14540
|
type: String,
|
|
14529
|
-
|
|
14541
|
+
default: ""
|
|
14530
14542
|
},
|
|
14531
14543
|
/**
|
|
14532
14544
|
* # 描述
|
|
@@ -14565,7 +14577,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14565
14577
|
}
|
|
14566
14578
|
},
|
|
14567
14579
|
setup(__props) {
|
|
14580
|
+
const props = __props;
|
|
14568
14581
|
const isFullScreen = ref(false);
|
|
14582
|
+
const realTitle = computed(() => {
|
|
14583
|
+
var _a;
|
|
14584
|
+
return props.title || ((_a = useRouter().currentRoute.value.meta) == null ? void 0 : _a.name) || "";
|
|
14585
|
+
});
|
|
14569
14586
|
return (_ctx, _cache) => {
|
|
14570
14587
|
return openBlock(), createElementBlock("div", {
|
|
14571
14588
|
class: normalizeClass([isFullScreen.value ? "fullscreen" : "", "web-panel"])
|
|
@@ -14575,7 +14592,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14575
14592
|
!__props.hideIcon ? (openBlock(), createElementBlock("div", _hoisted_3$5, [
|
|
14576
14593
|
renderSlot(_ctx.$slots, "icon", {}, void 0, true)
|
|
14577
14594
|
])) : createCommentVNode("", true),
|
|
14578
|
-
|
|
14595
|
+
realTitle.value ? (openBlock(), createElementBlock("div", _hoisted_4$3, toDisplayString(realTitle.value), 1)) : createCommentVNode("", true)
|
|
14579
14596
|
]),
|
|
14580
14597
|
createElementVNode("div", _hoisted_5$2, [
|
|
14581
14598
|
renderSlot(_ctx.$slots, "headerRight", {}, void 0, true),
|
|
@@ -14596,8 +14613,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14596
14613
|
createElementVNode("div", _hoisted_6$1, [
|
|
14597
14614
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
14598
14615
|
]),
|
|
14599
|
-
!__props.hideFooter ? (openBlock(), createElementBlock("div", _hoisted_7
|
|
14600
|
-
createElementVNode("div", _hoisted_8
|
|
14616
|
+
!__props.hideFooter ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
14617
|
+
createElementVNode("div", _hoisted_8, [
|
|
14601
14618
|
renderSlot(_ctx.$slots, "footerLeft", {}, void 0, true)
|
|
14602
14619
|
]),
|
|
14603
14620
|
createElementVNode("div", _hoisted_9, [
|
|
@@ -14608,7 +14625,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14608
14625
|
};
|
|
14609
14626
|
}
|
|
14610
14627
|
});
|
|
14611
|
-
const APanel = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
14628
|
+
const APanel = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-0e2438c7"]]);
|
|
14612
14629
|
class DialogProps {
|
|
14613
14630
|
/**
|
|
14614
14631
|
* ### 使用无参 `DialogProps` 配置
|
|
@@ -15027,13 +15044,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
15027
15044
|
const _component_el_button = resolveComponent("el-button");
|
|
15028
15045
|
const _component_el_result = resolveComponent("el-result");
|
|
15029
15046
|
return openBlock(), createBlock(unref(ADialog), {
|
|
15030
|
-
"allow-fullscreen": false,
|
|
15031
15047
|
title: unref(WebI18n).get().Export,
|
|
15032
15048
|
class: "export-dialog",
|
|
15033
15049
|
"hide-footer": "",
|
|
15050
|
+
"hide-fullscreen": "",
|
|
15034
15051
|
"min-height": "300px",
|
|
15035
15052
|
width: "400px",
|
|
15036
|
-
|
|
15053
|
+
onCancel: cancelExport
|
|
15037
15054
|
}, {
|
|
15038
15055
|
default: withCtx(() => [
|
|
15039
15056
|
createElementVNode("div", _hoisted_1$8, [
|
|
@@ -15247,15 +15264,15 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
15247
15264
|
return (_ctx, _cache) => {
|
|
15248
15265
|
const _directive_loading = resolveDirective("loading");
|
|
15249
15266
|
return openBlock(), createBlock(unref(ADialog), {
|
|
15250
|
-
"allow-fullscreen": false,
|
|
15251
15267
|
"confirm-text": __props.confirmText,
|
|
15252
15268
|
"hide-footer": !__props.confirmText,
|
|
15253
15269
|
title: __props.title,
|
|
15254
15270
|
class: "upload-dialog",
|
|
15255
15271
|
"hide-cancel": "",
|
|
15272
|
+
"hide-fullscreen": "",
|
|
15256
15273
|
"min-height": "220px",
|
|
15257
|
-
|
|
15258
|
-
|
|
15274
|
+
onCancel: _cache[0] || (_cache[0] = ($event) => __props.onCancel()),
|
|
15275
|
+
onConfirm: _cache[1] || (_cache[1] = ($event) => __props.onCustomConfirm())
|
|
15259
15276
|
}, {
|
|
15260
15277
|
default: withCtx(() => [
|
|
15261
15278
|
withDirectives((openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
@@ -15408,26 +15425,34 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
15408
15425
|
*/
|
|
15409
15426
|
view: {
|
|
15410
15427
|
type: Object,
|
|
15411
|
-
required:
|
|
15428
|
+
required: void 0
|
|
15412
15429
|
}
|
|
15413
15430
|
},
|
|
15414
15431
|
setup(__props) {
|
|
15415
15432
|
const props = __props;
|
|
15416
15433
|
function show() {
|
|
15417
|
-
|
|
15434
|
+
if (props.view) {
|
|
15435
|
+
DialogUtil.show(props.view, props.payload.copy());
|
|
15436
|
+
}
|
|
15418
15437
|
}
|
|
15419
15438
|
return (_ctx, _cache) => {
|
|
15420
15439
|
return openBlock(), createBlock(unref(ElLink), {
|
|
15440
|
+
underline: false,
|
|
15441
|
+
class: "a-payload",
|
|
15421
15442
|
onClick: _cache[0] || (_cache[0] = ($event) => show())
|
|
15422
15443
|
}, {
|
|
15423
|
-
default: withCtx(() =>
|
|
15424
|
-
|
|
15425
|
-
|
|
15444
|
+
default: withCtx(() => {
|
|
15445
|
+
var _a;
|
|
15446
|
+
return [
|
|
15447
|
+
createTextVNode(toDisplayString(((_a = __props.payload) == null ? void 0 : _a.getPayloadLabel()) || "-"), 1)
|
|
15448
|
+
];
|
|
15449
|
+
}),
|
|
15426
15450
|
_: 1
|
|
15427
15451
|
});
|
|
15428
15452
|
};
|
|
15429
15453
|
}
|
|
15430
15454
|
});
|
|
15455
|
+
const APayload = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-5bc31d32"]]);
|
|
15431
15456
|
const _hoisted_1$6 = { class: "a-phone-call__content" };
|
|
15432
15457
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
15433
15458
|
__name: "Call",
|
|
@@ -15447,13 +15472,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
15447
15472
|
return (_ctx, _cache) => {
|
|
15448
15473
|
const _component_el_icon = resolveComponent("el-icon");
|
|
15449
15474
|
return openBlock(), createBlock(unref(ADialog), {
|
|
15450
|
-
"allow-fullscreen": false,
|
|
15451
15475
|
class: "a-phone-call",
|
|
15452
15476
|
"hide-footer": "",
|
|
15477
|
+
"hide-fullscreen": "",
|
|
15453
15478
|
"min-height": "200px",
|
|
15454
15479
|
"min-width": "250px",
|
|
15455
15480
|
title: "拨打电话",
|
|
15456
|
-
|
|
15481
|
+
onCancel: _cache[0] || (_cache[0] = ($event) => _ctx.onCancel())
|
|
15457
15482
|
}, {
|
|
15458
15483
|
default: withCtx(() => [
|
|
15459
15484
|
createElementVNode("div", _hoisted_1$6, [
|
|
@@ -15486,7 +15511,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
15486
15511
|
};
|
|
15487
15512
|
}
|
|
15488
15513
|
});
|
|
15489
|
-
const ACall = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-
|
|
15514
|
+
const ACall = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-290e6561"]]);
|
|
15490
15515
|
const _hoisted_1$5 = { key: 1 };
|
|
15491
15516
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
15492
15517
|
__name: "Phone",
|
|
@@ -15551,7 +15576,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
15551
15576
|
};
|
|
15552
15577
|
}
|
|
15553
15578
|
});
|
|
15554
|
-
const
|
|
15579
|
+
const APhone = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-7f508993"]]);
|
|
15555
15580
|
/*!
|
|
15556
15581
|
* qrcode.vue v3.6.0
|
|
15557
15582
|
* A Vue.js component to generate QRCode. Both support Vue 2 and Vue 3
|
|
@@ -16760,7 +16785,10 @@ class QueryRequest extends Transformer {
|
|
|
16760
16785
|
*/
|
|
16761
16786
|
__publicField(this, "filter");
|
|
16762
16787
|
__publicField(this, "sort");
|
|
16763
|
-
|
|
16788
|
+
try {
|
|
16789
|
+
this.filter = new FilterClass();
|
|
16790
|
+
} catch (e) {
|
|
16791
|
+
}
|
|
16764
16792
|
}
|
|
16765
16793
|
/**
|
|
16766
16794
|
* ### 设置排序对象
|
|
@@ -16972,7 +17000,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16972
17000
|
await DialogUtil.show(props.editor);
|
|
16973
17001
|
onReloadData();
|
|
16974
17002
|
}
|
|
17003
|
+
console.warn(props);
|
|
16975
17004
|
return (_ctx, _cache) => {
|
|
17005
|
+
const _component_ElLink = resolveComponent("ElLink");
|
|
16976
17006
|
return openBlock(), createBlock(unref(ADialog), {
|
|
16977
17007
|
"disable-confirm": unref(disableConfirm),
|
|
16978
17008
|
height: _ctx.height || "70%",
|
|
@@ -16981,8 +17011,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16981
17011
|
title: dialogTitle.value,
|
|
16982
17012
|
width: _ctx.width || "70%",
|
|
16983
17013
|
"is-selector": "",
|
|
16984
|
-
|
|
16985
|
-
|
|
17014
|
+
onCancel: _cache[0] || (_cache[0] = ($event) => props.props.onCancel()),
|
|
17015
|
+
onConfirm: _cache[1] || (_cache[1] = ($event) => props.props.onConfirm(unref(selectList).filter((item) => !item.isDisabled)))
|
|
16986
17016
|
}, {
|
|
16987
17017
|
status: withCtx(() => [
|
|
16988
17018
|
createVNode(unref(_sfc_main$h), {
|
|
@@ -16991,6 +17021,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16991
17021
|
}, null, 8, ["response", "onChanged"])
|
|
16992
17022
|
]),
|
|
16993
17023
|
default: withCtx(() => [
|
|
17024
|
+
createElementVNode("div", null, "选择: " + toDisplayString(unref(selectList)), 1),
|
|
16994
17025
|
createVNode(unref(_sfc_main$2), {
|
|
16995
17026
|
"data-list": _ctx.unPaginate || _ctx.treeList ? unref(list) : unref(response).list,
|
|
16996
17027
|
entity: unref(entity),
|
|
@@ -16999,7 +17030,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
16999
17030
|
"search-params": searchParamList.value,
|
|
17000
17031
|
"select-list": unref(selectList),
|
|
17001
17032
|
"show-select": props.props.isMultiple,
|
|
17002
|
-
"ctrl-width": "
|
|
17033
|
+
"ctrl-width": "60px",
|
|
17003
17034
|
"hide-delete": "",
|
|
17004
17035
|
"hide-edit": "",
|
|
17005
17036
|
"hide-field-selector": "",
|
|
@@ -17021,10 +17052,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
17021
17052
|
!props.props.isMultiple ? {
|
|
17022
17053
|
name: "customRow",
|
|
17023
17054
|
fn: withCtx(({ data }) => [
|
|
17024
|
-
createVNode(
|
|
17055
|
+
createVNode(_component_ElLink, {
|
|
17025
17056
|
disabled: data.isDisabled,
|
|
17026
|
-
|
|
17027
|
-
tooltip: "选择",
|
|
17057
|
+
underline: false,
|
|
17028
17058
|
onClick: ($event) => props.props.onConfirm(data)
|
|
17029
17059
|
}, {
|
|
17030
17060
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
@@ -17110,17 +17140,18 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
17110
17140
|
}
|
|
17111
17141
|
}
|
|
17112
17142
|
if (status) {
|
|
17143
|
+
config.hide = false;
|
|
17113
17144
|
list.value.push(config.key);
|
|
17114
17145
|
}
|
|
17115
17146
|
emits("changed", list.value);
|
|
17116
17147
|
}
|
|
17117
17148
|
if (list.value.length === 0) {
|
|
17118
|
-
list.value = props.columnList.map((i) => i.key);
|
|
17149
|
+
list.value = props.columnList.filter((i) => !i.hide).map((i) => i.key);
|
|
17119
17150
|
}
|
|
17151
|
+
emits("changed", list.value);
|
|
17120
17152
|
return (_ctx, _cache) => {
|
|
17121
17153
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
17122
17154
|
createVNode(unref(_sfc_main$v), {
|
|
17123
|
-
class: "a-field-selector",
|
|
17124
17155
|
icon: "SETTING",
|
|
17125
17156
|
onClick: _cache[0] || (_cache[0] = ($event) => isShow.value = true)
|
|
17126
17157
|
}, {
|
|
@@ -17143,7 +17174,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
17143
17174
|
return openBlock(), createBlock(unref(ElCheckTag), {
|
|
17144
17175
|
key: item.key,
|
|
17145
17176
|
checked: !!list.value.find((i) => i === item.key),
|
|
17146
|
-
class: normalizeClass(item.force ? "disabled" : ""),
|
|
17147
17177
|
disabled: item.force,
|
|
17148
17178
|
onChange: ($event) => changed($event, item)
|
|
17149
17179
|
}, {
|
|
@@ -17151,7 +17181,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
17151
17181
|
createTextVNode(toDisplayString(unref(getFieldLabel)(_ctx.entityClass, item.key)), 1)
|
|
17152
17182
|
]),
|
|
17153
17183
|
_: 2
|
|
17154
|
-
}, 1032, ["checked", "
|
|
17184
|
+
}, 1032, ["checked", "disabled", "onChange"]);
|
|
17155
17185
|
}), 128))
|
|
17156
17186
|
])
|
|
17157
17187
|
])) : createCommentVNode("", true)
|
|
@@ -17162,7 +17192,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
17162
17192
|
};
|
|
17163
17193
|
}
|
|
17164
17194
|
});
|
|
17165
|
-
const ColumnSelector = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
17195
|
+
const ColumnSelector = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-b290585a"]]);
|
|
17166
17196
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
17167
17197
|
__name: "CopyColumn",
|
|
17168
17198
|
props: {
|
|
@@ -17290,21 +17320,16 @@ function useTableColumn(params) {
|
|
|
17290
17320
|
} = params;
|
|
17291
17321
|
const selectKeys = ref([]);
|
|
17292
17322
|
const allColumnList = ref([]);
|
|
17293
|
-
|
|
17294
|
-
|
|
17295
|
-
|
|
17296
|
-
item.align = "right";
|
|
17297
|
-
}
|
|
17298
|
-
return item;
|
|
17299
|
-
});
|
|
17300
|
-
} else {
|
|
17301
|
-
allColumnList.value = getTableConfigList(entityClass).filter((item) => !item.removed).map((item) => {
|
|
17302
|
-
if (item.money && !item.align) {
|
|
17303
|
-
item.align = "right";
|
|
17304
|
-
}
|
|
17305
|
-
return item;
|
|
17306
|
-
});
|
|
17323
|
+
let list = customColumns;
|
|
17324
|
+
if (list.length === 0) {
|
|
17325
|
+
list = getTableConfigList(entityClass);
|
|
17307
17326
|
}
|
|
17327
|
+
allColumnList.value = list.filter((item) => !item.removed).map((item) => {
|
|
17328
|
+
if (item.money && !item.align) {
|
|
17329
|
+
item.align = "right";
|
|
17330
|
+
}
|
|
17331
|
+
return item;
|
|
17332
|
+
});
|
|
17308
17333
|
const showColumnList = ref([]);
|
|
17309
17334
|
const isColumnSelectorEnabled = computed(() => {
|
|
17310
17335
|
if (modelConfig.hideFieldSelector) {
|
|
@@ -17312,11 +17337,11 @@ function useTableColumn(params) {
|
|
|
17312
17337
|
}
|
|
17313
17338
|
return !hideColumnSelector;
|
|
17314
17339
|
});
|
|
17315
|
-
function updateSelectKeys(
|
|
17316
|
-
if (
|
|
17340
|
+
function updateSelectKeys(list2 = []) {
|
|
17341
|
+
if (list2.length === 0) {
|
|
17317
17342
|
selectKeys.value = allColumnList.value.map((item) => item.key);
|
|
17318
17343
|
} else {
|
|
17319
|
-
selectKeys.value =
|
|
17344
|
+
selectKeys.value = list2;
|
|
17320
17345
|
}
|
|
17321
17346
|
showColumnList.value = allColumnList.value.filter((item) => selectKeys.value.includes(item.key));
|
|
17322
17347
|
}
|
|
@@ -17329,29 +17354,6 @@ function useTableColumn(params) {
|
|
|
17329
17354
|
isColumnSelectorEnabled
|
|
17330
17355
|
};
|
|
17331
17356
|
}
|
|
17332
|
-
function useTableSelect(params) {
|
|
17333
|
-
const { tableInstance, selectList, dataList } = params;
|
|
17334
|
-
function selectRow(list) {
|
|
17335
|
-
var _a, _b;
|
|
17336
|
-
for (const row of list) {
|
|
17337
|
-
(_a = tableInstance.value) == null ? void 0 : _a.toggleRowSelection(row, false);
|
|
17338
|
-
for (const selectedRow of selectList) {
|
|
17339
|
-
if (selectedRow.id === row.id) {
|
|
17340
|
-
(_b = tableInstance.value) == null ? void 0 : _b.toggleRowSelection(row, true);
|
|
17341
|
-
}
|
|
17342
|
-
}
|
|
17343
|
-
if (row.children && row.children.length > 0) {
|
|
17344
|
-
selectRow(row.children);
|
|
17345
|
-
}
|
|
17346
|
-
}
|
|
17347
|
-
}
|
|
17348
|
-
function toggleSelection() {
|
|
17349
|
-
selectRow(dataList);
|
|
17350
|
-
}
|
|
17351
|
-
return {
|
|
17352
|
-
toggleSelection
|
|
17353
|
-
};
|
|
17354
|
-
}
|
|
17355
17357
|
const _hoisted_1$2 = { class: "a-table-toolbar" };
|
|
17356
17358
|
const _hoisted_2$2 = { class: "a-table-toolbar-left" };
|
|
17357
17359
|
const _hoisted_3$2 = { class: "a-table-toolbar-right" };
|
|
@@ -17360,15 +17362,10 @@ const _hoisted_4$1 = {
|
|
|
17360
17362
|
style: { "color": "#aaa", "margin-right": "3px" }
|
|
17361
17363
|
};
|
|
17362
17364
|
const _hoisted_5$1 = {
|
|
17363
|
-
key:
|
|
17365
|
+
key: 9,
|
|
17364
17366
|
style: { "color": "#aaa" }
|
|
17365
17367
|
};
|
|
17366
|
-
const _hoisted_6 = { class: "
|
|
17367
|
-
const _hoisted_7 = {
|
|
17368
|
-
key: 0,
|
|
17369
|
-
class: "custom-header-title"
|
|
17370
|
-
};
|
|
17371
|
-
const _hoisted_8 = { class: "ctrlRow" };
|
|
17368
|
+
const _hoisted_6 = { class: "ctrlRow" };
|
|
17372
17369
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
17373
17370
|
__name: "Table",
|
|
17374
17371
|
props: {
|
|
@@ -17576,7 +17573,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
17576
17573
|
*/
|
|
17577
17574
|
ctrlWidth: {
|
|
17578
17575
|
type: String,
|
|
17579
|
-
default: "
|
|
17576
|
+
default: ""
|
|
17580
17577
|
},
|
|
17581
17578
|
/**
|
|
17582
17579
|
* # 自动撑起高度
|
|
@@ -17736,13 +17733,25 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
17736
17733
|
hideColumnSelector: props.hideColumnSelector,
|
|
17737
17734
|
modelConfig
|
|
17738
17735
|
});
|
|
17739
|
-
|
|
17740
|
-
|
|
17741
|
-
|
|
17742
|
-
|
|
17743
|
-
|
|
17744
|
-
|
|
17745
|
-
|
|
17736
|
+
function selectRow(list) {
|
|
17737
|
+
var _a, _b;
|
|
17738
|
+
console.warn("selectRow", list);
|
|
17739
|
+
for (const row of list) {
|
|
17740
|
+
console.warn("selectRow", row);
|
|
17741
|
+
(_a = airTableRef.value) == null ? void 0 : _a.toggleRowSelection(row, false);
|
|
17742
|
+
for (const selectedRow of props.selectList) {
|
|
17743
|
+
if (selectedRow.id === row.id) {
|
|
17744
|
+
(_b = airTableRef.value) == null ? void 0 : _b.toggleRowSelection(row, true);
|
|
17745
|
+
}
|
|
17746
|
+
}
|
|
17747
|
+
if (row.children && row.children.length > 0) {
|
|
17748
|
+
selectRow(row.children);
|
|
17749
|
+
}
|
|
17750
|
+
}
|
|
17751
|
+
}
|
|
17752
|
+
function toggleSelection() {
|
|
17753
|
+
selectRow(props.dataList);
|
|
17754
|
+
}
|
|
17746
17755
|
const {
|
|
17747
17756
|
isAddRowDisabled,
|
|
17748
17757
|
isSelectable,
|
|
@@ -17977,20 +17986,22 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
17977
17986
|
createElementVNode("div", _hoisted_2$2, [
|
|
17978
17987
|
renderSlot(_ctx.$slots, "left", {}, () => [
|
|
17979
17988
|
renderSlot(_ctx.$slots, "beforeButton"),
|
|
17980
|
-
|
|
17981
|
-
|
|
17982
|
-
|
|
17983
|
-
|
|
17984
|
-
|
|
17985
|
-
|
|
17986
|
-
|
|
17987
|
-
|
|
17988
|
-
|
|
17989
|
-
|
|
17990
|
-
|
|
17991
|
-
|
|
17989
|
+
renderSlot(_ctx.$slots, "addButton", {}, () => [
|
|
17990
|
+
props.entity && !__props.hideAdd ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
17991
|
+
key: 0,
|
|
17992
|
+
permission: __props.addPermission || unref(PermissionUtil).get(__props.entity, unref(PermissionAction).ADD),
|
|
17993
|
+
icon: "ADD",
|
|
17994
|
+
primary: "",
|
|
17995
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emits("add"))
|
|
17996
|
+
}, {
|
|
17997
|
+
default: withCtx(() => [
|
|
17998
|
+
createTextVNode(toDisplayString(unref(modelConfig).addTitle || unref(WebI18n).get().Add), 1)
|
|
17999
|
+
]),
|
|
18000
|
+
_: 1
|
|
18001
|
+
}, 8, ["permission"])) : createCommentVNode("", true)
|
|
18002
|
+
]),
|
|
17992
18003
|
__props.showImport ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
17993
|
-
key:
|
|
18004
|
+
key: 0,
|
|
17994
18005
|
permission: __props.importPermission || unref(PermissionUtil).get(__props.entity, unref(PermissionAction).IMPORT),
|
|
17995
18006
|
icon: "IMPORT",
|
|
17996
18007
|
onClick: _cache[1] || (_cache[1] = ($event) => onImport())
|
|
@@ -18136,21 +18147,31 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
18136
18147
|
column: item,
|
|
18137
18148
|
data: scope.row,
|
|
18138
18149
|
dictionary: unref(getDictionary)(__props.entity, item.key)
|
|
18139
|
-
}, null, 8, ["column", "data", "dictionary"])) : item.
|
|
18150
|
+
}, null, 8, ["column", "data", "dictionary"])) : item.phone ? (openBlock(), createBlock(unref(APhone), {
|
|
18140
18151
|
key: 2,
|
|
18141
|
-
|
|
18142
|
-
|
|
18143
|
-
}, null, 8, ["
|
|
18152
|
+
desensitize: item.desensitize,
|
|
18153
|
+
phone: getValue(scope, item.key)
|
|
18154
|
+
}, null, 8, ["desensitize", "phone"])) : item.datetime ? (openBlock(), createBlock(unref(ADateTime), {
|
|
18144
18155
|
key: 3,
|
|
18145
18156
|
formatter: item.datetime === true ? unref(DateTimeFormatter).FULL_DATE_TIME : item.datetime,
|
|
18146
|
-
|
|
18147
|
-
}, null, 8, ["formatter", "
|
|
18157
|
+
"milli-second": getValue(scope, item.key)
|
|
18158
|
+
}, null, 8, ["formatter", "milli-second"])) : item.money ? (openBlock(), createBlock(unref(AMoney), {
|
|
18148
18159
|
key: 4,
|
|
18160
|
+
money: getValue(scope, item.key)
|
|
18161
|
+
}, null, 8, ["money"])) : item.payload ? (openBlock(), createBlock(unref(APayload), {
|
|
18162
|
+
key: 5,
|
|
18163
|
+
payload: getValue(scope, item.key)
|
|
18164
|
+
}, null, 8, ["payload"])) : item.desensitize ? (openBlock(), createBlock(unref(ADesensitize), {
|
|
18165
|
+
key: 6,
|
|
18166
|
+
content: getValue(scope, item.key),
|
|
18167
|
+
type: item.desensitize
|
|
18168
|
+
}, null, 8, ["content", "type"])) : item.copy ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
18169
|
+
key: 7,
|
|
18149
18170
|
column: item,
|
|
18150
18171
|
data: scope.row
|
|
18151
18172
|
}, null, 8, ["column", "data"])) : (openBlock(), createElementBlock("div", {
|
|
18152
|
-
key:
|
|
18153
|
-
class: normalizeClass([item.
|
|
18173
|
+
key: 8,
|
|
18174
|
+
class: normalizeClass([item.wrap ? "" : "nowrap", "a-table-column"])
|
|
18154
18175
|
}, toDisplayString(getStringValue(getValue(scope, item.key)) ?? item.emptyValue), 3)),
|
|
18155
18176
|
item.suffixText ? (openBlock(), createElementBlock("span", _hoisted_5$1, toDisplayString(item.suffixText), 1)) : createCommentVNode("", true)
|
|
18156
18177
|
]) : createCommentVNode("", true)
|
|
@@ -18158,20 +18179,18 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
18158
18179
|
_: 2
|
|
18159
18180
|
}, 1032, ["align", "fixed", "label", "min-width", "prop", "sortable", "width"]);
|
|
18160
18181
|
}), 128)),
|
|
18161
|
-
!__props.hideCtrl
|
|
18182
|
+
!__props.hideCtrl ? (openBlock(), createBlock(unref(ElTableColumn), {
|
|
18162
18183
|
key: 2,
|
|
18163
|
-
width: __props.ctrlWidth || "
|
|
18184
|
+
width: __props.ctrlWidth || "90px",
|
|
18164
18185
|
align: "right",
|
|
18165
18186
|
fixed: "right"
|
|
18166
18187
|
}, {
|
|
18167
18188
|
header: withCtx(() => [
|
|
18168
|
-
|
|
18169
|
-
!__props.hideCtrl ? (openBlock(), createElementBlock("span", _hoisted_7)) : createCommentVNode("", true)
|
|
18170
|
-
])
|
|
18189
|
+
createTextVNode(toDisplayString(unref(WebI18n).get().Operation), 1)
|
|
18171
18190
|
]),
|
|
18172
18191
|
default: withCtx((scope) => [
|
|
18173
|
-
createElementVNode("div",
|
|
18174
|
-
scope
|
|
18192
|
+
createElementVNode("div", _hoisted_6, [
|
|
18193
|
+
scope.$index >= 0 ? renderSlot(_ctx.$slots, "customRow", {
|
|
18175
18194
|
key: 0,
|
|
18176
18195
|
data: getRowEntity(scope),
|
|
18177
18196
|
index: scope.$index
|
|
@@ -19441,7 +19460,9 @@ class AbstractService extends Transformer {
|
|
|
19441
19460
|
}
|
|
19442
19461
|
},
|
|
19443
19462
|
error: (response) => {
|
|
19463
|
+
console.warn("response", response);
|
|
19444
19464
|
if (response.code === WebConfig.unAuthorizeCode) {
|
|
19465
|
+
window.location.replace(WebConfig.loginUrl);
|
|
19445
19466
|
return;
|
|
19446
19467
|
}
|
|
19447
19468
|
FeedbackUtil.toastError(response.message);
|
|
@@ -19635,11 +19656,11 @@ export {
|
|
|
19635
19656
|
_sfc_main$k as AImage,
|
|
19636
19657
|
_sfc_main$j as AInput,
|
|
19637
19658
|
_sfc_main$n as AMenu,
|
|
19638
|
-
|
|
19659
|
+
AMoney,
|
|
19639
19660
|
_sfc_main$h as APage,
|
|
19640
19661
|
APanel,
|
|
19641
|
-
|
|
19642
|
-
|
|
19662
|
+
APayload,
|
|
19663
|
+
APhone,
|
|
19643
19664
|
AQrcode,
|
|
19644
19665
|
_sfc_main$9 as ASelect,
|
|
19645
19666
|
_sfc_main$8 as ASelector,
|
package/dist/web.css
CHANGED
|
@@ -438,22 +438,18 @@ textarea {
|
|
|
438
438
|
100% {
|
|
439
439
|
transform: rotate(360deg);
|
|
440
440
|
}
|
|
441
|
-
}.a-copy[data-v-
|
|
441
|
+
}.a-copy[data-v-8fcdb586] {
|
|
442
442
|
font-size: inherit;
|
|
443
443
|
color: inherit;
|
|
444
444
|
display: flex;
|
|
445
445
|
flex-direction: row;
|
|
446
446
|
align-items: center;
|
|
447
447
|
}
|
|
448
|
-
.a-copy[data-v-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
.a-
|
|
452
|
-
|
|
453
|
-
padding: 0;
|
|
454
|
-
font-weight: bold;
|
|
455
|
-
}.a-friend-datetime[data-v-58479ad6],
|
|
456
|
-
.a-friend-datetime[data-v-58479ad6] * {
|
|
448
|
+
.a-copy[data-v-8fcdb586] .el-link {
|
|
449
|
+
overflow: hidden;
|
|
450
|
+
text-overflow: ellipsis;
|
|
451
|
+
}.a-friend-datetime[data-v-5a914a85],
|
|
452
|
+
.a-friend-datetime[data-v-5a914a85] * {
|
|
457
453
|
user-select: none !important;
|
|
458
454
|
}.a-desensitize[data-v-30bf4899] {
|
|
459
455
|
display: flex !important;
|
|
@@ -1013,14 +1009,14 @@ textarea {
|
|
|
1013
1009
|
.web-page-panel-box .web-page-jumper {
|
|
1014
1010
|
display: flex;
|
|
1015
1011
|
flex-direction: row;
|
|
1016
|
-
}.web-panel[data-v-
|
|
1012
|
+
}.web-panel[data-v-0e2438c7] {
|
|
1017
1013
|
display: flex;
|
|
1018
1014
|
flex: 1;
|
|
1019
1015
|
flex-direction: column;
|
|
1020
1016
|
background: white;
|
|
1021
1017
|
border-radius: 4px;
|
|
1022
1018
|
}
|
|
1023
|
-
.web-panel .panel-header[data-v-
|
|
1019
|
+
.web-panel .panel-header[data-v-0e2438c7] {
|
|
1024
1020
|
display: flex;
|
|
1025
1021
|
flex-direction: row;
|
|
1026
1022
|
align-items: center;
|
|
@@ -1028,41 +1024,41 @@ textarea {
|
|
|
1028
1024
|
padding: 10px 15px;
|
|
1029
1025
|
user-select: none;
|
|
1030
1026
|
}
|
|
1031
|
-
.web-panel .panel-header .panel-left[data-v-
|
|
1027
|
+
.web-panel .panel-header .panel-left[data-v-0e2438c7] {
|
|
1032
1028
|
display: flex;
|
|
1033
1029
|
flex-direction: row;
|
|
1034
1030
|
align-items: center;
|
|
1035
1031
|
flex: 1;
|
|
1036
1032
|
width: 0;
|
|
1037
1033
|
}
|
|
1038
|
-
.web-panel .panel-header .panel-left .panel-icon[data-v-
|
|
1034
|
+
.web-panel .panel-header .panel-left .panel-icon[data-v-0e2438c7] {
|
|
1039
1035
|
font-size: 20px;
|
|
1040
1036
|
color: var(--el-color-primary);
|
|
1041
1037
|
display: flex;
|
|
1042
1038
|
flex-direction: row;
|
|
1043
1039
|
align-items: center;
|
|
1044
1040
|
}
|
|
1045
|
-
.web-panel .panel-header .panel-left .panel-title[data-v-
|
|
1041
|
+
.web-panel .panel-header .panel-left .panel-title[data-v-0e2438c7] {
|
|
1046
1042
|
font-size: 16px;
|
|
1047
1043
|
color: #333;
|
|
1048
1044
|
font-weight: bold;
|
|
1049
1045
|
margin-left: 3px;
|
|
1050
1046
|
}
|
|
1051
|
-
.web-panel .panel-header .panel-right[data-v-
|
|
1047
|
+
.web-panel .panel-header .panel-right[data-v-0e2438c7] {
|
|
1052
1048
|
color: #aaa;
|
|
1053
1049
|
font-size: 14px;
|
|
1054
1050
|
}
|
|
1055
|
-
.web-panel .panel-header .panel-right .panel-full[data-v-
|
|
1051
|
+
.web-panel .panel-header .panel-right .panel-full[data-v-0e2438c7] {
|
|
1056
1052
|
font-size: 20px;
|
|
1057
1053
|
cursor: pointer;
|
|
1058
1054
|
font-weight: bold;
|
|
1059
1055
|
margin: -5px 0px;
|
|
1060
1056
|
transition: all 0.3s;
|
|
1061
1057
|
}
|
|
1062
|
-
.web-panel .panel-header .panel-right .panel-full[data-v-
|
|
1058
|
+
.web-panel .panel-header .panel-right .panel-full[data-v-0e2438c7]:hover {
|
|
1063
1059
|
color: var(--primary-color);
|
|
1064
1060
|
}
|
|
1065
|
-
.web-panel .panel-body[data-v-
|
|
1061
|
+
.web-panel .panel-body[data-v-0e2438c7] {
|
|
1066
1062
|
display: flex;
|
|
1067
1063
|
flex: 1;
|
|
1068
1064
|
flex-direction: column;
|
|
@@ -1072,17 +1068,17 @@ textarea {
|
|
|
1072
1068
|
padding: 10px;
|
|
1073
1069
|
position: relative;
|
|
1074
1070
|
}
|
|
1075
|
-
.web-panel .panel-footer[data-v-
|
|
1071
|
+
.web-panel .panel-footer[data-v-0e2438c7] {
|
|
1076
1072
|
padding: 0 10px 10px 10px;
|
|
1077
1073
|
display: flex;
|
|
1078
1074
|
flex-direction: row;
|
|
1079
1075
|
}
|
|
1080
|
-
.web-panel .panel-footer .panel-footer-left[data-v-
|
|
1076
|
+
.web-panel .panel-footer .panel-footer-left[data-v-0e2438c7] {
|
|
1081
1077
|
flex-direction: row;
|
|
1082
1078
|
justify-content: flex-start;
|
|
1083
1079
|
align-items: center;
|
|
1084
1080
|
}
|
|
1085
|
-
.web-panel .panel-footer .panel-footer-right[data-v-
|
|
1081
|
+
.web-panel .panel-footer .panel-footer-right[data-v-0e2438c7] {
|
|
1086
1082
|
flex: 1;
|
|
1087
1083
|
width: 0;
|
|
1088
1084
|
display: flex;
|
|
@@ -1090,7 +1086,7 @@ textarea {
|
|
|
1090
1086
|
justify-content: flex-end;
|
|
1091
1087
|
align-items: center;
|
|
1092
1088
|
}
|
|
1093
|
-
.fullscreen[data-v-
|
|
1089
|
+
.fullscreen[data-v-0e2438c7] {
|
|
1094
1090
|
position: fixed !important;
|
|
1095
1091
|
left: 0;
|
|
1096
1092
|
right: 0;
|
|
@@ -1174,18 +1170,23 @@ textarea {
|
|
|
1174
1170
|
}
|
|
1175
1171
|
::v-deep(.a-dialog) .main {
|
|
1176
1172
|
min-height: 200px !important;
|
|
1177
|
-
}.a-
|
|
1173
|
+
}.a-payload[data-v-5bc31d32] {
|
|
1174
|
+
overflow: hidden;
|
|
1175
|
+
text-overflow: ellipsis;
|
|
1176
|
+
white-space: normal;
|
|
1177
|
+
word-break: keep-all;
|
|
1178
|
+
}.a-phone-call__content[data-v-290e6561] {
|
|
1178
1179
|
display: flex;
|
|
1179
1180
|
align-items: center;
|
|
1180
1181
|
justify-content: center;
|
|
1181
1182
|
flex-direction: column;
|
|
1182
1183
|
}
|
|
1183
|
-
.a-phone-call__content .phone[data-v-
|
|
1184
|
+
.a-phone-call__content .phone[data-v-290e6561] {
|
|
1184
1185
|
font-size: 18px;
|
|
1185
1186
|
margin-top: 10px;
|
|
1186
1187
|
font-weight: bold;
|
|
1187
1188
|
}
|
|
1188
|
-
.a-phone-call__content > span[data-v-
|
|
1189
|
+
.a-phone-call__content > span[data-v-290e6561] {
|
|
1189
1190
|
font-size: 12px;
|
|
1190
1191
|
color: var(--text-danger-color);
|
|
1191
1192
|
margin-top: 10px;
|
|
@@ -1194,7 +1195,7 @@ textarea {
|
|
|
1194
1195
|
align-items: center;
|
|
1195
1196
|
justify-content: center;
|
|
1196
1197
|
}
|
|
1197
|
-
.a-phone-call__content > span .icon[data-v-
|
|
1198
|
+
.a-phone-call__content > span .icon[data-v-290e6561] {
|
|
1198
1199
|
margin-right: 3px;
|
|
1199
1200
|
}.a-phone[data-v-7f508993] {
|
|
1200
1201
|
display: flex;
|
|
@@ -1233,10 +1234,7 @@ textarea {
|
|
|
1233
1234
|
height: 0;
|
|
1234
1235
|
overflow: hidden;
|
|
1235
1236
|
overflow-y: auto;
|
|
1236
|
-
}.
|
|
1237
|
-
position: relative;
|
|
1238
|
-
}
|
|
1239
|
-
.el-check-tag[data-v-dbd88409] {
|
|
1237
|
+
}.el-check-tag[data-v-b290585a] {
|
|
1240
1238
|
font-weight: normal !important;
|
|
1241
1239
|
user-select: none;
|
|
1242
1240
|
font-size: 13px;
|
|
@@ -1244,7 +1242,7 @@ textarea {
|
|
|
1244
1242
|
margin-bottom: 5px;
|
|
1245
1243
|
padding: 4px 10px;
|
|
1246
1244
|
}
|
|
1247
|
-
.a-field-selector-bg[data-v-
|
|
1245
|
+
.a-field-selector-bg[data-v-b290585a] {
|
|
1248
1246
|
position: fixed;
|
|
1249
1247
|
left: 0;
|
|
1250
1248
|
right: 0;
|
|
@@ -1253,7 +1251,7 @@ textarea {
|
|
|
1253
1251
|
background-color: rgba(0, 0, 0, 0.1);
|
|
1254
1252
|
z-index: 9999999;
|
|
1255
1253
|
}
|
|
1256
|
-
.a-field-selector-dialog[data-v-
|
|
1254
|
+
.a-field-selector-dialog[data-v-b290585a] {
|
|
1257
1255
|
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
|
|
1258
1256
|
position: absolute;
|
|
1259
1257
|
right: 0;
|
|
@@ -1266,13 +1264,13 @@ textarea {
|
|
|
1266
1264
|
overflow: hidden;
|
|
1267
1265
|
z-index: 99999991;
|
|
1268
1266
|
}
|
|
1269
|
-
.a-field-selector-dialog .a-field-selector-title[data-v-
|
|
1267
|
+
.a-field-selector-dialog .a-field-selector-title[data-v-b290585a] {
|
|
1270
1268
|
margin-bottom: 10px;
|
|
1271
1269
|
border-bottom: 1px solid var(--el-color-primary-light-9);
|
|
1272
1270
|
padding: 8px 16px;
|
|
1273
1271
|
font-size: 15px;
|
|
1274
1272
|
}
|
|
1275
|
-
.a-field-selector-dialog .a-field-selector-list[data-v-
|
|
1273
|
+
.a-field-selector-dialog .a-field-selector-list[data-v-b290585a] {
|
|
1276
1274
|
padding: 5px 15px 10px 15px;
|
|
1277
1275
|
display: flex;
|
|
1278
1276
|
flex-wrap: wrap;
|
|
@@ -1404,7 +1402,6 @@ textarea {
|
|
|
1404
1402
|
}
|
|
1405
1403
|
.a-table-container .a-table .ctrlRow {
|
|
1406
1404
|
display: flex;
|
|
1407
|
-
padding-right: 8px;
|
|
1408
1405
|
}
|
|
1409
1406
|
.a-table-container .a-table .ctrlRow .el-link {
|
|
1410
1407
|
user-select: none;
|
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { TableInstance } from 'element-plus';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
|
-
import { RootEntity } from '../../model/RootEntity';
|
|
4
|
-
/**
|
|
5
|
-
* ### 表格多选
|
|
6
|
-
*
|
|
7
|
-
* @author Hamm.cn
|
|
8
|
-
*/
|
|
9
|
-
export declare function useTableSelect<E extends RootEntity>(params: {
|
|
10
|
-
/**
|
|
11
|
-
* ### 表格实例
|
|
12
|
-
*/
|
|
13
|
-
tableInstance: Ref<TableInstance | undefined>;
|
|
14
|
-
/**
|
|
15
|
-
* ### 数据列表
|
|
16
|
-
*/
|
|
17
|
-
dataList: Array<E>;
|
|
18
|
-
/**
|
|
19
|
-
* ### 选中列表
|
|
20
|
-
*/
|
|
21
|
-
selectList: Array<E>;
|
|
22
|
-
}): {
|
|
23
|
-
toggleSelection: () => void;
|
|
24
|
-
};
|