yc-vep-ui 0.3.78 → 0.3.80
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-DB0L6HVk.js → entry-B9KHZci1.js} +28 -21
- package/dist/entry.d.ts +25 -17
- 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.js +1 -1
- package/dist/vep-ui.js +1 -1
- package/package.json +13 -9
|
@@ -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
|
+
};
|
|
@@ -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: {},
|
|
@@ -2590,13 +2590,13 @@ function useDefaultTable(e, n) {
|
|
|
2590
2590
|
}), o = ref([]), s = reactive({
|
|
2591
2591
|
page: 1,
|
|
2592
2592
|
pageSize: 10
|
|
2593
|
-
});
|
|
2593
|
+
}), c = null;
|
|
2594
2594
|
if (n?.onBefore?.(s) === !1) return {
|
|
2595
2595
|
loading: ref(!1),
|
|
2596
2596
|
data: i,
|
|
2597
2597
|
pagination: a
|
|
2598
2598
|
};
|
|
2599
|
-
let
|
|
2599
|
+
let l = useFetch(e, {
|
|
2600
2600
|
...n,
|
|
2601
2601
|
defaultParams: s,
|
|
2602
2602
|
immediate: !1,
|
|
@@ -2606,11 +2606,18 @@ function useDefaultTable(e, n) {
|
|
|
2606
2606
|
});
|
|
2607
2607
|
watchEffect(() => {
|
|
2608
2608
|
let e = toValue(n.ready) ?? !0, r = toValue(n.defaultParams || {});
|
|
2609
|
-
a.page = 1, a.pageSize = 10
|
|
2609
|
+
if (a.page = 1, a.pageSize = 10, !e) {
|
|
2610
|
+
c = { ...r };
|
|
2611
|
+
return;
|
|
2612
|
+
}
|
|
2613
|
+
if (c) {
|
|
2614
|
+
for (let e in c) e !== "page" && e !== "pageSize" && (s[e] = c[e]);
|
|
2615
|
+
c = null;
|
|
2616
|
+
}
|
|
2610
2617
|
for (let e in r) e !== "page" && e !== "pageSize" && (s[e] = r[e]);
|
|
2611
|
-
|
|
2612
|
-
}
|
|
2613
|
-
function
|
|
2618
|
+
l.execute({ ...s });
|
|
2619
|
+
});
|
|
2620
|
+
function u(e = {}) {
|
|
2614
2621
|
a.page = 1, a.pageSize = 10, e && (Object.keys(s).forEach((n) => {
|
|
2615
2622
|
r.ignoreAttrs?.includes(n) || Object.keys(e).includes(n) || delete s[n];
|
|
2616
2623
|
}), Object.assign(s, {
|
|
@@ -2619,23 +2626,23 @@ function useDefaultTable(e, n) {
|
|
|
2619
2626
|
pageSize: 10
|
|
2620
2627
|
}));
|
|
2621
2628
|
}
|
|
2622
|
-
function
|
|
2629
|
+
function d({ page: e, pageSize: n }) {
|
|
2623
2630
|
a.page = e, a.pageSize = n, Object.assign(s, {
|
|
2624
2631
|
page: e,
|
|
2625
2632
|
pageSize: n
|
|
2626
2633
|
});
|
|
2627
2634
|
}
|
|
2628
|
-
function
|
|
2635
|
+
function f(e) {
|
|
2629
2636
|
o.value = e;
|
|
2630
2637
|
}
|
|
2631
2638
|
return reactive({
|
|
2632
|
-
...
|
|
2639
|
+
...l,
|
|
2633
2640
|
data: i,
|
|
2634
2641
|
pagination: a,
|
|
2635
2642
|
selection: o,
|
|
2636
|
-
reset:
|
|
2637
|
-
updatePagination:
|
|
2638
|
-
selectionChange:
|
|
2643
|
+
reset: u,
|
|
2644
|
+
updatePagination: d,
|
|
2645
|
+
selectionChange: f
|
|
2639
2646
|
});
|
|
2640
2647
|
}
|
|
2641
2648
|
//#endregion
|
|
@@ -2692,12 +2699,12 @@ function useComTable(e, n) {
|
|
|
2692
2699
|
tableId: n?.tableId
|
|
2693
2700
|
});
|
|
2694
2701
|
}
|
|
2695
|
-
async function d(
|
|
2696
|
-
let { title:
|
|
2697
|
-
tableId:
|
|
2698
|
-
type: "all"
|
|
2699
|
-
}),
|
|
2700
|
-
|
|
2702
|
+
async function d(e) {
|
|
2703
|
+
let { title: n = "export" } = e || {}, r = toValue(a), i = await request_default.blob(e?.url ?? "/common/exportExcel", {
|
|
2704
|
+
tableId: r?.tableId,
|
|
2705
|
+
type: e?.type || "all"
|
|
2706
|
+
}), o = new Blob([i]), s = document.createElement("a");
|
|
2707
|
+
s.href = window.URL.createObjectURL(o), s.download = `${n}.xlsx`, s.click(), VepMessage.success("导出成功"), window.URL.revokeObjectURL(s.href);
|
|
2701
2708
|
}
|
|
2702
2709
|
let f = reactive({
|
|
2703
2710
|
loading: !1,
|
|
@@ -4943,7 +4950,7 @@ var _hoisted_1$1 = { key: 0 }, Remind_vue_vue_type_script_setup_true_lang_defaul
|
|
|
4943
4950
|
});
|
|
4944
4951
|
function s() {
|
|
4945
4952
|
let e = !1;
|
|
4946
|
-
return o.value?.forEach((n
|
|
4953
|
+
return o.value?.forEach((n) => {
|
|
4947
4954
|
e = n?.validate();
|
|
4948
4955
|
}), e;
|
|
4949
4956
|
}
|
|
@@ -11005,7 +11012,7 @@ var Panel = class {
|
|
|
11005
11012
|
});
|
|
11006
11013
|
};
|
|
11007
11014
|
}
|
|
11008
|
-
}), 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-
|
|
11015
|
+
}), 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 = {
|
|
11009
11016
|
mounted(e, n) {
|
|
11010
11017
|
let r = n.value || {}, i = r.target || "body", a = r.top || 0;
|
|
11011
11018
|
e._stickyOriginalStyles = {
|
package/dist/entry.d.ts
CHANGED
|
@@ -1,19 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
5
|
-
export type
|
|
6
|
-
export type
|
|
7
|
-
export type
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
10
|
-
export type
|
|
11
|
-
export * from './components'
|
|
12
|
-
export
|
|
13
|
-
export
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
export { default as YcMessage } from './components/Message';
|
|
3
|
+
export type * from './components/type';
|
|
4
|
+
export type * from './components/Table/type';
|
|
5
|
+
export type * from './components/Filter/type';
|
|
6
|
+
export type * from './components/Form/type';
|
|
7
|
+
export type * from './components/Descriptions/type';
|
|
8
|
+
export type * from './components/InfiniteScroll/type';
|
|
9
|
+
export type * from './components/Tree/type';
|
|
10
|
+
export type * from './components/Card/type';
|
|
11
|
+
export type * from './components/Editor/type';
|
|
12
|
+
export type * from './components/Upload/type';
|
|
13
|
+
export type * from './components/Message/type';
|
|
14
|
+
export * from './components';
|
|
15
|
+
export * as hooks from './hooks';
|
|
16
|
+
export declare function setHostVue(vue: any): void;
|
|
17
|
+
export declare function getHostVue(): any;
|
|
14
18
|
export interface YcVepUiOptions {
|
|
15
|
-
|
|
19
|
+
elementPlus?: {
|
|
20
|
+
install: (app: App, ...args: any[]) => void;
|
|
21
|
+
};
|
|
16
22
|
}
|
|
17
|
-
declare const ycPlugin: {
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
declare const ycPlugin: {
|
|
24
|
+
install(app: App, options?: YcVepUiOptions): void;
|
|
25
|
+
};
|
|
26
|
+
export default ycPlugin;
|
|
27
|
+
export { ycPlugin };
|
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-B9KHZci1.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.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { O as e, _ as t, b as n, v as r, y as i } from "../entry-
|
|
1
|
+
import { O as e, _ as t, b as n, v as r, y as i } from "../entry-B9KHZci1.js";
|
|
2
2
|
export { t as baseUrl, n as request, e as tempToRender, r as uniq, i 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, S as i, T as a, a as o, g as s, h as c, i as l, k as u, m as d, n as f, o as p, p as m, r as h, t as g, w as _, x as v } from "./entry-
|
|
1
|
+
import { A as e, C as t, D as n, E as r, S as i, T as a, a as o, g as s, h as c, i as l, k as u, m as d, n as f, o as p, p as m, r as h, t as g, w as _, x as v } from "./entry-B9KHZci1.js";
|
|
2
2
|
export { e as UiCard, i as UiDescriptions, v as UiDialog, a as UiEditor, n as UiFilter, r as UiForm, t as UiInfiniteScroll, d as UiStaffSelect, u as UiTable, _ as UiTree, m as UiUpload, s as WcUtils, o as YcApproval, c as YcMessage, l as YcPageAgent, h as default, h as ycPlugin, g as getHostVue, p as hooks, f as setHostVue };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yc-vep-ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.80",
|
|
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",
|
|
@@ -38,6 +42,12 @@
|
|
|
38
42
|
"dist",
|
|
39
43
|
"README.md"
|
|
40
44
|
],
|
|
45
|
+
"scripts": {
|
|
46
|
+
"dev": "vite",
|
|
47
|
+
"build": "vue-tsc && vite build",
|
|
48
|
+
"build:lib": "vite build && node scripts/generate-entry-dts.cjs",
|
|
49
|
+
"preview": "vite preview"
|
|
50
|
+
},
|
|
41
51
|
"dependencies": {
|
|
42
52
|
"aieditor": "^1.4.0",
|
|
43
53
|
"jsencrypt": "^3.5.4",
|
|
@@ -67,11 +77,5 @@
|
|
|
67
77
|
},
|
|
68
78
|
"sideEffects": [
|
|
69
79
|
"**/*.css"
|
|
70
|
-
]
|
|
71
|
-
|
|
72
|
-
"dev": "vite",
|
|
73
|
-
"build": "vue-tsc && vite build",
|
|
74
|
-
"build:lib": "vite build && node scripts/generate-entry-dts.cjs",
|
|
75
|
-
"preview": "vite preview"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
80
|
+
]
|
|
81
|
+
}
|