yc-vep-ui 0.4.10 → 0.4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/YcApproval/Remind.vue.d.ts +1 -1
- package/dist/components/YcApproval/index.vue.d.ts +203 -0
- package/dist/{entry-DvaPhuFb.js → entry-DJCzYN4m.js} +69 -63
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useFetch.d.ts +1 -0
- package/dist/index.css +3 -3
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +2 -2
- package/dist/vep-ui.js +2 -2
- package/package.json +5 -1
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
processCode?: string;
|
|
3
|
+
getData?: () => any;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {
|
|
9
|
+
data: any;
|
|
10
|
+
}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {
|
|
13
|
+
processInfoRef: unknown;
|
|
14
|
+
remindRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Remind.vue').IProps> & Readonly<{}>, {
|
|
15
|
+
getValues: () => ({
|
|
16
|
+
assignee: string[];
|
|
17
|
+
assigneeName: string[];
|
|
18
|
+
instanceId?: number | undefined;
|
|
19
|
+
activityId?: string | undefined;
|
|
20
|
+
activityCode?: string | undefined;
|
|
21
|
+
activityName?: string | undefined;
|
|
22
|
+
assigneeJson?: any;
|
|
23
|
+
preData?: {
|
|
24
|
+
label: string;
|
|
25
|
+
name: string;
|
|
26
|
+
account: string;
|
|
27
|
+
} | undefined;
|
|
28
|
+
} | {
|
|
29
|
+
assignee: string;
|
|
30
|
+
assigneeName: string;
|
|
31
|
+
instanceId?: number | undefined;
|
|
32
|
+
activityId?: string | undefined;
|
|
33
|
+
activityCode?: string | undefined;
|
|
34
|
+
activityName?: string | undefined;
|
|
35
|
+
assigneeJson?: any;
|
|
36
|
+
preData?: {
|
|
37
|
+
label: string;
|
|
38
|
+
name: string;
|
|
39
|
+
account: string;
|
|
40
|
+
} | undefined;
|
|
41
|
+
})[];
|
|
42
|
+
validate: () => boolean;
|
|
43
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
44
|
+
P: {};
|
|
45
|
+
B: {};
|
|
46
|
+
D: {};
|
|
47
|
+
C: {};
|
|
48
|
+
M: {};
|
|
49
|
+
Defaults: {};
|
|
50
|
+
}, Readonly<import('./Remind.vue').IProps> & Readonly<{}>, {
|
|
51
|
+
getValues: () => ({
|
|
52
|
+
assignee: string[];
|
|
53
|
+
assigneeName: string[];
|
|
54
|
+
instanceId?: number | undefined;
|
|
55
|
+
activityId?: string | undefined;
|
|
56
|
+
activityCode?: string | undefined;
|
|
57
|
+
activityName?: string | undefined;
|
|
58
|
+
assigneeJson?: any;
|
|
59
|
+
preData?: {
|
|
60
|
+
label: string;
|
|
61
|
+
name: string;
|
|
62
|
+
account: string;
|
|
63
|
+
} | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
assignee: string;
|
|
66
|
+
assigneeName: string;
|
|
67
|
+
instanceId?: number | undefined;
|
|
68
|
+
activityId?: string | undefined;
|
|
69
|
+
activityCode?: string | undefined;
|
|
70
|
+
activityName?: string | undefined;
|
|
71
|
+
assigneeJson?: any;
|
|
72
|
+
preData?: {
|
|
73
|
+
label: string;
|
|
74
|
+
name: string;
|
|
75
|
+
account: string;
|
|
76
|
+
} | undefined;
|
|
77
|
+
})[];
|
|
78
|
+
validate: () => boolean;
|
|
79
|
+
}, {}, {}, {}, {}> | null;
|
|
80
|
+
readScopeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
81
|
+
disabled: boolean;
|
|
82
|
+
formData: any;
|
|
83
|
+
}> & Readonly<{}>, {
|
|
84
|
+
formData: {
|
|
85
|
+
readScope: string;
|
|
86
|
+
};
|
|
87
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
88
|
+
P: {};
|
|
89
|
+
B: {};
|
|
90
|
+
D: {};
|
|
91
|
+
C: {};
|
|
92
|
+
M: {};
|
|
93
|
+
Defaults: {};
|
|
94
|
+
}, Readonly<{
|
|
95
|
+
disabled: boolean;
|
|
96
|
+
formData: any;
|
|
97
|
+
}> & Readonly<{}>, {
|
|
98
|
+
formData: {
|
|
99
|
+
readScope: string;
|
|
100
|
+
};
|
|
101
|
+
}, {}, {}, {}, {}> | null;
|
|
102
|
+
};
|
|
103
|
+
rootEl: any;
|
|
104
|
+
};
|
|
105
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
106
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
107
|
+
processInfoRef: unknown;
|
|
108
|
+
remindRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Remind.vue').IProps> & Readonly<{}>, {
|
|
109
|
+
getValues: () => ({
|
|
110
|
+
assignee: string[];
|
|
111
|
+
assigneeName: string[];
|
|
112
|
+
instanceId?: number | undefined;
|
|
113
|
+
activityId?: string | undefined;
|
|
114
|
+
activityCode?: string | undefined;
|
|
115
|
+
activityName?: string | undefined;
|
|
116
|
+
assigneeJson?: any;
|
|
117
|
+
preData?: {
|
|
118
|
+
label: string;
|
|
119
|
+
name: string;
|
|
120
|
+
account: string;
|
|
121
|
+
} | undefined;
|
|
122
|
+
} | {
|
|
123
|
+
assignee: string;
|
|
124
|
+
assigneeName: string;
|
|
125
|
+
instanceId?: number | undefined;
|
|
126
|
+
activityId?: string | undefined;
|
|
127
|
+
activityCode?: string | undefined;
|
|
128
|
+
activityName?: string | undefined;
|
|
129
|
+
assigneeJson?: any;
|
|
130
|
+
preData?: {
|
|
131
|
+
label: string;
|
|
132
|
+
name: string;
|
|
133
|
+
account: string;
|
|
134
|
+
} | undefined;
|
|
135
|
+
})[];
|
|
136
|
+
validate: () => boolean;
|
|
137
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
138
|
+
P: {};
|
|
139
|
+
B: {};
|
|
140
|
+
D: {};
|
|
141
|
+
C: {};
|
|
142
|
+
M: {};
|
|
143
|
+
Defaults: {};
|
|
144
|
+
}, Readonly<import('./Remind.vue').IProps> & Readonly<{}>, {
|
|
145
|
+
getValues: () => ({
|
|
146
|
+
assignee: string[];
|
|
147
|
+
assigneeName: string[];
|
|
148
|
+
instanceId?: number | undefined;
|
|
149
|
+
activityId?: string | undefined;
|
|
150
|
+
activityCode?: string | undefined;
|
|
151
|
+
activityName?: string | undefined;
|
|
152
|
+
assigneeJson?: any;
|
|
153
|
+
preData?: {
|
|
154
|
+
label: string;
|
|
155
|
+
name: string;
|
|
156
|
+
account: string;
|
|
157
|
+
} | undefined;
|
|
158
|
+
} | {
|
|
159
|
+
assignee: string;
|
|
160
|
+
assigneeName: string;
|
|
161
|
+
instanceId?: number | undefined;
|
|
162
|
+
activityId?: string | undefined;
|
|
163
|
+
activityCode?: string | undefined;
|
|
164
|
+
activityName?: string | undefined;
|
|
165
|
+
assigneeJson?: any;
|
|
166
|
+
preData?: {
|
|
167
|
+
label: string;
|
|
168
|
+
name: string;
|
|
169
|
+
account: string;
|
|
170
|
+
} | undefined;
|
|
171
|
+
})[];
|
|
172
|
+
validate: () => boolean;
|
|
173
|
+
}, {}, {}, {}, {}> | null;
|
|
174
|
+
readScopeRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
175
|
+
disabled: boolean;
|
|
176
|
+
formData: any;
|
|
177
|
+
}> & Readonly<{}>, {
|
|
178
|
+
formData: {
|
|
179
|
+
readScope: string;
|
|
180
|
+
};
|
|
181
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
182
|
+
P: {};
|
|
183
|
+
B: {};
|
|
184
|
+
D: {};
|
|
185
|
+
C: {};
|
|
186
|
+
M: {};
|
|
187
|
+
Defaults: {};
|
|
188
|
+
}, Readonly<{
|
|
189
|
+
disabled: boolean;
|
|
190
|
+
formData: any;
|
|
191
|
+
}> & Readonly<{}>, {
|
|
192
|
+
formData: {
|
|
193
|
+
readScope: string;
|
|
194
|
+
};
|
|
195
|
+
}, {}, {}, {}, {}> | null;
|
|
196
|
+
}, any>;
|
|
197
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
198
|
+
export default _default;
|
|
199
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
200
|
+
new (): {
|
|
201
|
+
$slots: S;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createPropsRestProxy, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, h,
|
|
1
|
+
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createPropsRestProxy, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, h, isRef, isVNode, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, onUnmounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, setBlockTracking, shallowRef, toDisplayString, toRaw, toValue, unref, useAttrs, useCssVars, useModel, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
2
2
|
import { AiEditor } from "aieditor";
|
|
3
3
|
//#region \0rolldown/runtime.js
|
|
4
4
|
var __defProp$1 = Object.defineProperty, __exportAll$1 = (e, n) => {
|
|
@@ -546,7 +546,7 @@ var render_default = {
|
|
|
546
546
|
]);
|
|
547
547
|
};
|
|
548
548
|
}
|
|
549
|
-
}), Table_exports = /* @__PURE__ */ __exportAll$1({ default: () => Table_default }), Table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$11, [["__scopeId", "data-v-
|
|
549
|
+
}), Table_exports = /* @__PURE__ */ __exportAll$1({ default: () => Table_default }), Table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default$11, [["__scopeId", "data-v-bba6a39a"]]), _hoisted_1$33 = ["src"], Icon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
550
550
|
__name: "Icon",
|
|
551
551
|
props: {
|
|
552
552
|
name: {},
|
|
@@ -1779,6 +1779,10 @@ function uniqBy(e, n) {
|
|
|
1779
1779
|
return r.has(i) ? !1 : (r.add(i), !0);
|
|
1780
1780
|
});
|
|
1781
1781
|
}
|
|
1782
|
+
function omit$1(e = {}, n) {
|
|
1783
|
+
let r = { ...e };
|
|
1784
|
+
return n.forEach((e) => delete r[e]), r;
|
|
1785
|
+
}
|
|
1782
1786
|
//#endregion
|
|
1783
1787
|
//#region src/components/StaffSelect/default.vue?vue&type=script&setup=true&lang.ts
|
|
1784
1788
|
var default_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -2574,7 +2578,7 @@ function useFetch(e, n = {}) {
|
|
|
2574
2578
|
//#region src/hooks/useTable/default.ts
|
|
2575
2579
|
function useDefaultTable(e, n) {
|
|
2576
2580
|
let r = [
|
|
2577
|
-
"
|
|
2581
|
+
"tableId",
|
|
2578
2582
|
"sort",
|
|
2579
2583
|
...n?.ignoreAttrs || []
|
|
2580
2584
|
], i = n?.replaceAttrs || {
|
|
@@ -2636,6 +2640,7 @@ function useDefaultTable(e, n) {
|
|
|
2636
2640
|
data: a,
|
|
2637
2641
|
pagination: o,
|
|
2638
2642
|
selection: s,
|
|
2643
|
+
requestParams: c,
|
|
2639
2644
|
reset: d,
|
|
2640
2645
|
updatePagination: f,
|
|
2641
2646
|
selectionChange: p
|
|
@@ -2643,96 +2648,97 @@ function useDefaultTable(e, n) {
|
|
|
2643
2648
|
}
|
|
2644
2649
|
//#endregion
|
|
2645
2650
|
//#region src/hooks/useTable/common.ts
|
|
2651
|
+
var CORE_PARAMS = [
|
|
2652
|
+
"tableId",
|
|
2653
|
+
"page",
|
|
2654
|
+
"pageSize"
|
|
2655
|
+
];
|
|
2656
|
+
function extractPreservedValues(e, n, r) {
|
|
2657
|
+
let i = {};
|
|
2658
|
+
return r.forEach((r) => {
|
|
2659
|
+
e[r] !== void 0 && n[r] === void 0 && (i[r] = e[r]);
|
|
2660
|
+
}), i;
|
|
2661
|
+
}
|
|
2646
2662
|
function useComTable(e, n) {
|
|
2647
|
-
let { defaultParams: r, ...i } = n, a =
|
|
2663
|
+
let { defaultParams: r, ...i } = n, a = n?.ignoreAttrs || ["sort"], o = useDefaultTable(e, {
|
|
2648
2664
|
...i,
|
|
2649
|
-
ready: computed(() =>
|
|
2650
|
-
let e = isRef(n.ready) ? n.ready.value : n.ready, r = !!a.value?.tableId;
|
|
2651
|
-
return (e === void 0 || e) && r;
|
|
2652
|
-
}),
|
|
2665
|
+
ready: computed(() => (n.ready ?? !0) && !!r?.tableId),
|
|
2653
2666
|
defaultParams: computed(() => {
|
|
2654
|
-
let { tableId: e, page: n, pageSize:
|
|
2667
|
+
let { tableId: e, page: n, pageSize: i, ...a } = r || {};
|
|
2655
2668
|
return {
|
|
2656
2669
|
tableId: e,
|
|
2657
2670
|
page: n || 1,
|
|
2658
|
-
pageSize:
|
|
2659
|
-
params:
|
|
2671
|
+
pageSize: i || 10,
|
|
2672
|
+
params: a
|
|
2660
2673
|
};
|
|
2661
2674
|
}),
|
|
2662
|
-
ignoreAttrs:
|
|
2675
|
+
ignoreAttrs: ["sort"]
|
|
2663
2676
|
});
|
|
2664
|
-
function
|
|
2665
|
-
let { tableId: n,
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
}
|
|
2677
|
+
function s(e = {}) {
|
|
2678
|
+
let { tableId: n, params: r = {} } = o.requestParams, i = {
|
|
2679
|
+
...extractPreservedValues(r, e, a),
|
|
2680
|
+
...e
|
|
2681
|
+
};
|
|
2682
|
+
o.reset({
|
|
2683
|
+
page: 1,
|
|
2684
|
+
pageSize: 10,
|
|
2685
|
+
params: i
|
|
2686
|
+
}), c({
|
|
2669
2687
|
tableId: n,
|
|
2670
2688
|
page: 1,
|
|
2671
2689
|
pageSize: 10,
|
|
2672
|
-
...i
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
};
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
let n = [
|
|
2684
|
-
"tableId",
|
|
2685
|
-
"page",
|
|
2686
|
-
"pageSize"
|
|
2687
|
-
], r = {}, i = {}, o = toValue(a) || {};
|
|
2688
|
-
Object.keys(e || {}).forEach((a) => {
|
|
2689
|
-
n.includes(a) ? r[a] = e[a] : i[a] = e[a];
|
|
2690
|
-
}), r.tableId ||= o.tableId, r.page ||= o.page || 1, r.pageSize ||= o.pageSize || 10;
|
|
2691
|
-
let c = {
|
|
2692
|
-
...o.params || {},
|
|
2690
|
+
...i
|
|
2691
|
+
});
|
|
2692
|
+
}
|
|
2693
|
+
function c(e) {
|
|
2694
|
+
let n = o.requestParams, r = {}, i = {};
|
|
2695
|
+
Object.entries(e || {}).forEach(([e, n]) => {
|
|
2696
|
+
CORE_PARAMS.includes(e) ? r[e] = n : e === "params" ? Object.assign(i, n) : i[e] = n;
|
|
2697
|
+
}), r.tableId ||= n.tableId, r.page ||= n.page || 1, r.pageSize ||= n.pageSize || 10;
|
|
2698
|
+
let s = n.params || {}, c = {
|
|
2699
|
+
...extractPreservedValues(s, i, a),
|
|
2700
|
+
...s,
|
|
2693
2701
|
...i
|
|
2694
2702
|
};
|
|
2695
|
-
return
|
|
2703
|
+
return Object.keys(c).length > 0 && (r.params = c), o.execute(r);
|
|
2696
2704
|
}
|
|
2697
|
-
let
|
|
2698
|
-
async function
|
|
2705
|
+
let l = () => o.requestParams?.tableId;
|
|
2706
|
+
async function u(e) {
|
|
2699
2707
|
return request_default.post("/common/insert", {
|
|
2700
2708
|
params: { ...e },
|
|
2701
|
-
tableId:
|
|
2709
|
+
tableId: l()
|
|
2702
2710
|
});
|
|
2703
2711
|
}
|
|
2704
|
-
async function
|
|
2712
|
+
async function d(e) {
|
|
2705
2713
|
return request_default.post("/common/update", {
|
|
2706
2714
|
params: { ...e },
|
|
2707
|
-
tableId:
|
|
2715
|
+
tableId: l()
|
|
2708
2716
|
});
|
|
2709
2717
|
}
|
|
2710
|
-
async function
|
|
2718
|
+
async function f(e) {
|
|
2711
2719
|
return request_default.post("/common/delete", {
|
|
2712
2720
|
idList: e,
|
|
2713
|
-
tableId:
|
|
2721
|
+
tableId: l()
|
|
2714
2722
|
});
|
|
2715
2723
|
}
|
|
2716
|
-
async function
|
|
2724
|
+
async function p({ title: e = "export", url: n } = {}) {
|
|
2717
2725
|
let r = await request_default.blob(n ?? "/common/exportExcel", {
|
|
2718
|
-
tableId:
|
|
2726
|
+
tableId: l(),
|
|
2719
2727
|
type: "all"
|
|
2720
2728
|
}), i = new Blob([r]), a = document.createElement("a");
|
|
2721
2729
|
a.href = window.URL.createObjectURL(i), a.download = `${e}.xlsx`, a.click(), VepMessage.success("导出成功"), window.URL.revokeObjectURL(a.href);
|
|
2722
2730
|
}
|
|
2723
|
-
let
|
|
2724
|
-
insert:
|
|
2725
|
-
update:
|
|
2726
|
-
remove:
|
|
2727
|
-
delete:
|
|
2728
|
-
exportData:
|
|
2731
|
+
let m = reactive({
|
|
2732
|
+
insert: u,
|
|
2733
|
+
update: d,
|
|
2734
|
+
remove: f,
|
|
2735
|
+
delete: f,
|
|
2736
|
+
exportData: p
|
|
2729
2737
|
});
|
|
2730
|
-
return watchEffect(() => {
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
});
|
|
2735
|
-
}, { flush: "sync" }), g;
|
|
2738
|
+
return watchEffect(() => Object.assign(m, o, {
|
|
2739
|
+
reset: s,
|
|
2740
|
+
execute: c
|
|
2741
|
+
}), { flush: "sync" }), m;
|
|
2736
2742
|
}
|
|
2737
2743
|
//#endregion
|
|
2738
2744
|
//#region src/hooks/useTable/index.ts
|
|
@@ -4964,7 +4970,7 @@ var _hoisted_1$1 = { key: 0 }, Remind_vue_vue_type_script_setup_true_lang_defaul
|
|
|
4964
4970
|
});
|
|
4965
4971
|
function s() {
|
|
4966
4972
|
let e = !1;
|
|
4967
|
-
return o.value?.forEach((n
|
|
4973
|
+
return o.value?.forEach((n) => {
|
|
4968
4974
|
e = n?.validate();
|
|
4969
4975
|
}), e;
|
|
4970
4976
|
}
|
|
@@ -11026,7 +11032,7 @@ var Panel = class {
|
|
|
11026
11032
|
});
|
|
11027
11033
|
};
|
|
11028
11034
|
}
|
|
11029
|
-
}), PageAgent_exports = /* @__PURE__ */ __exportAll$1({ default: () => PageAgent_default }), PageAgent_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
11035
|
+
}), PageAgent_exports = /* @__PURE__ */ __exportAll$1({ default: () => PageAgent_default }), PageAgent_default = /* @__PURE__ */ _plugin_vue_export_helper_default(index_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-548e27b3"]]), sticky = {
|
|
11030
11036
|
mounted(e, n) {
|
|
11031
11037
|
let r = n.value || {}, i = r.target || "body", a = r.top || 0;
|
|
11032
11038
|
e._stickyOriginalStyles = {
|
|
@@ -11096,4 +11102,4 @@ var ycPlugin = { install(e, n) {
|
|
|
11096
11102
|
e.config.globalProperties.$message = Message_exports, e.provide?.("message", Message_exports);
|
|
11097
11103
|
} };
|
|
11098
11104
|
//#endregion
|
|
11099
|
-
export {
|
|
11105
|
+
export { Table_exports as A, Descriptions_exports as C, Form_exports as D, Editor_exports as E, Filter_exports as O, Dialog_exports as S, Tree_exports as T, baseUrl as _, YcApproval_exports as a, uniqBy as b, useDictionary as c, useTable as d, useFetch as f, wc_utils_exports as g, VepMessage as h, PageAgent_exports as i, Card_exports as j, tempToRender as k, useRoute as l, StaffSelect_exports as m, setHostVue as n, hooks_exports as o, Upload_exports as p, ycPlugin as r, useUser as s, getHostVue as t, useRouter as u, omit$1 as v, InfiniteScroll_exports as w, request_default as x, uniq as y };
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-
|
|
1
|
+
import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-DJCzYN4m.js";
|
|
2
2
|
export { e as useDictionary, n as useFetch, r as useRoute, a as useRouter, t as useTable, i as useUser };
|
package/dist/hooks/useFetch.d.ts
CHANGED
package/dist/index.css
CHANGED
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
padding: 15px 0px;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.ui-table[data-v-
|
|
20
|
+
.ui-table[data-v-bba6a39a] th.el-table__cell {
|
|
21
21
|
background-color: #fafafa;
|
|
22
22
|
color: #606266;
|
|
23
23
|
}
|
|
24
|
-
.ui-pagination[data-v-
|
|
24
|
+
.ui-pagination[data-v-bba6a39a] {
|
|
25
25
|
padding: 20px;
|
|
26
26
|
background-color: white;
|
|
27
27
|
height: 20px;
|
|
@@ -282,7 +282,7 @@ to { transform: rotate(360deg);
|
|
|
282
282
|
align-items: center;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
.affix[data-v-
|
|
285
|
+
.affix[data-v-548e27b3] {
|
|
286
286
|
position: fixed;
|
|
287
287
|
right: 0px;
|
|
288
288
|
bottom: 0px;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -6,3 +6,4 @@ export declare const baseUrl: string;
|
|
|
6
6
|
export declare function uniq<T>(arr: T[]): T[];
|
|
7
7
|
/** 根据指定 key 去重数组 */
|
|
8
8
|
export declare function uniqBy<T>(arr: T[], key: keyof T | ((item: T) => unknown)): T[];
|
|
9
|
+
export declare function omit<T extends object, K extends keyof T>(obj: T | undefined, keys: K[]): Partial<T>;
|
package/dist/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { _ as e, b as t, k as n, v as r, x as i, y as a } from "../entry-DJCzYN4m.js";
|
|
2
|
+
export { e as baseUrl, r as omit, i as request, n as tempToRender, a as uniq, t as uniqBy };
|
package/dist/vep-ui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r,
|
|
2
|
-
export {
|
|
1
|
+
import { A as e, C as t, D as n, E as r, O as i, S as a, T as o, a as s, g as c, h as l, i as u, j as d, m as f, n as p, o as m, p as h, r as g, t as _, w as v } from "./entry-DJCzYN4m.js";
|
|
2
|
+
export { d as UiCard, t as UiDescriptions, a as UiDialog, r as UiEditor, i as UiFilter, n as UiForm, v as UiInfiniteScroll, f as UiStaffSelect, e as UiTable, o as UiTree, h as UiUpload, c as WcUtils, s as YcApproval, l as YcMessage, u as YcPageAgent, g as default, g as ycPlugin, _ as getHostVue, m as hooks, p as setHostVue };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yc-vep-ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "基于 Vue 3 + Element Plus 的企业级 UI 组件库",
|
|
6
6
|
"keywords": [
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"main": "./dist/vep-ui.js",
|
|
20
20
|
"module": "./dist/vep-ui.js",
|
|
21
21
|
"types": "./dist/entry.d.ts",
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public",
|
|
24
|
+
"registry": "https://registry.npmjs.org/"
|
|
25
|
+
},
|
|
22
26
|
"exports": {
|
|
23
27
|
".": {
|
|
24
28
|
"types": "./dist/entry.d.ts",
|