yc-vep-ui 0.3.78 → 0.3.79

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.
@@ -1,5 +1,5 @@
1
1
  import { IInstanceHandlerList } from './type';
2
- interface IProps {
2
+ export interface IProps {
3
3
  disabled?: boolean;
4
4
  formData: {
5
5
  instanceHandlerList?: IInstanceHandlerList[];
@@ -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-adf869c1"]]), _hoisted_1$33 = ["src"], Icon_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
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: {},
@@ -2692,12 +2692,12 @@ function useComTable(e, n) {
2692
2692
  tableId: n?.tableId
2693
2693
  });
2694
2694
  }
2695
- async function d(n) {
2696
- let { title: r = "export" } = n || {}, i = toValue(a), o = await request_default.blob(e ?? "/common/exportExcel", {
2697
- tableId: i?.tableId,
2698
- type: "all"
2699
- }), s = new Blob([o]), c = document.createElement("a");
2700
- c.href = window.URL.createObjectURL(s), c.download = `${r}.xlsx`, c.click(), VepMessage.success("导出成功"), window.URL.revokeObjectURL(c.href);
2695
+ async function d(e) {
2696
+ let { title: n = "export" } = e || {}, r = toValue(a), i = await request_default.blob(e?.url ?? "/common/exportExcel", {
2697
+ tableId: r?.tableId,
2698
+ type: e?.type || "all"
2699
+ }), o = new Blob([i]), s = document.createElement("a");
2700
+ s.href = window.URL.createObjectURL(o), s.download = `${n}.xlsx`, s.click(), VepMessage.success("导出成功"), window.URL.revokeObjectURL(s.href);
2701
2701
  }
2702
2702
  let f = reactive({
2703
2703
  loading: !1,
@@ -4943,7 +4943,7 @@ var _hoisted_1$1 = { key: 0 }, Remind_vue_vue_type_script_setup_true_lang_defaul
4943
4943
  });
4944
4944
  function s() {
4945
4945
  let e = !1;
4946
- return o.value?.forEach((n, r) => {
4946
+ return o.value?.forEach((n) => {
4947
4947
  e = n?.validate();
4948
4948
  }), e;
4949
4949
  }
@@ -11005,7 +11005,7 @@ var Panel = class {
11005
11005
  });
11006
11006
  };
11007
11007
  }
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-fb8f5b21"]]), sticky = {
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-548e27b3"]]), sticky = {
11009
11009
  mounted(e, n) {
11010
11010
  let r = n.value || {}, i = r.target || "body", a = r.top || 0;
11011
11011
  e._stickyOriginalStyles = {
@@ -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-DB0L6HVk.js";
1
+ import { c as e, d as t, f as n, l as r, s as i, u as a } from "../entry-C0ppCovp.js";
2
2
  export { e as useDictionary, n as useFetch, r as useRoute, a as useRouter, t as useTable, i as useUser };
@@ -4,6 +4,7 @@ type Response<T> = {
4
4
  data: T | T[] | any;
5
5
  message: string;
6
6
  success?: boolean;
7
+ [key: string]: any;
7
8
  };
8
9
  export interface FetchOptions<T> {
9
10
  /** 是否立即执行请求 */
package/dist/index.css CHANGED
@@ -17,11 +17,11 @@
17
17
  padding: 15px 0px;
18
18
  }
19
19
 
20
- .ui-table[data-v-adf869c1] th.el-table__cell {
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-adf869c1] {
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-fb8f5b21] {
285
+ .affix[data-v-548e27b3] {
286
286
  position: fixed;
287
287
  right: 0px;
288
288
  bottom: 0px;
@@ -1,2 +1,2 @@
1
- import { O as e, _ as t, b as n, v as r, y as i } from "../entry-DB0L6HVk.js";
1
+ import { O as e, _ as t, b as n, v as r, y as i } from "../entry-C0ppCovp.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-DB0L6HVk.js";
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-C0ppCovp.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.78",
3
+ "version": "0.3.79",
4
4
  "type": "module",
5
5
  "description": "基于 Vue 3 + Element Plus 的企业级 UI 组件库",
6
6
  "keywords": [