@xdmp-open/ui-admin 0.1.0 → 0.1.2

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,3 +1,4 @@
1
+ import { isRetainFieldDisabled, isRetainYes } from '@xdmp-open/ui-shared';
1
2
  declare const _default: import('vue').DefineComponent<{}, {}, {
2
3
  title: string;
3
4
  size: string;
@@ -22,6 +23,8 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
22
23
  }[];
23
24
  };
24
25
  }, {}, {
26
+ isRetainFieldDisabled: typeof isRetainFieldDisabled;
27
+ isRetainYes: typeof isRetainYes;
25
28
  handleOpen(data: any, modeType: string): void;
26
29
  submit(): void;
27
30
  cancel(): void;
@@ -32,7 +32,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
32
32
  default: () => void;
33
33
  };
34
34
  info: {
35
- type: ArrayConstructor;
35
+ type: (ObjectConstructor | ArrayConstructor)[];
36
36
  default: () => never[];
37
37
  };
38
38
  icon: {
@@ -89,7 +89,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
89
89
  default: () => void;
90
90
  };
91
91
  info: {
92
- type: ArrayConstructor;
92
+ type: (ObjectConstructor | ArrayConstructor)[];
93
93
  default: () => never[];
94
94
  };
95
95
  icon: {
@@ -125,7 +125,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
125
125
  keys: Record<string, any>;
126
126
  title: string;
127
127
  icon: string;
128
- info: unknown[];
128
+ info: unknown[] | Record<string, any>;
129
129
  labelWidth: string;
130
130
  isBack: boolean;
131
131
  isEdit: boolean;
@@ -1,3 +1,4 @@
1
+ import { isRetainYes } from '@xdmp-open/ui-shared';
1
2
  import { checkPermission } from '../../context';
2
3
  declare const _default: import('vue').DefineComponent<{}, {}, {
3
4
  total: number;
@@ -12,6 +13,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
12
13
  };
13
14
  }, {}, {
14
15
  checkPermission: typeof checkPermission;
16
+ isRetainYes: typeof isRetainYes;
15
17
  init(): void;
16
18
  onSearch(): void;
17
19
  onReset(): void;
@@ -1,474 +1,2 @@
1
- import { checkPermission } from '../../context';
2
- import { default as dayjs } from '../../utils/dayjs';
3
- declare const _default: import('vue').DefineComponent<{}, {}, {
4
- loading: boolean;
5
- total: number;
6
- list: any[];
7
- queryParams: {
8
- query: {
9
- name: string;
10
- };
11
- pageNo: number;
12
- pageSize: number;
13
- };
14
- }, {}, {
15
- dayjs: typeof dayjs;
16
- checkPermission: typeof checkPermission;
17
- getPositionList(): Promise<void>;
18
- search(): void;
19
- reset(): void;
20
- addPosition(): void;
21
- editPosition(row: any): void;
22
- deletePosition(row: any): void;
23
- handleSizeChange(val: number): void;
24
- handleCurrentChange(val: number): void;
25
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
26
- positionDrawer: import('vue').DefineComponent<{}, {}, {
27
- title: string;
28
- size: string;
29
- mode: string;
30
- form: any;
31
- rules: {
32
- name: {
33
- required: boolean;
34
- message: string;
35
- trigger: string;
36
- }[];
37
- code: {
38
- required: boolean;
39
- message: string;
40
- trigger: string;
41
- }[];
42
- };
43
- }, {}, {
44
- handleOpen(id?: string): void;
45
- submit(): void;
46
- cancel(): void;
47
- resetForm(): void;
48
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "reload"[], "reload", import('vue').PublicProps, Readonly<{}> & Readonly<{
49
- onReload?: ((...args: any[]) => any) | undefined;
50
- }>, {}, {}, {
51
- uiapDrawer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
52
- submitText: {
53
- type: StringConstructor;
54
- default: string;
55
- };
56
- sureText: {
57
- type: StringConstructor;
58
- default: string;
59
- };
60
- showFooter: {
61
- type: BooleanConstructor;
62
- default: boolean;
63
- };
64
- title: {
65
- type: StringConstructor;
66
- default: string;
67
- };
68
- size: {
69
- type: StringConstructor;
70
- default: string;
71
- };
72
- }>, {}, {
73
- drawer: boolean;
74
- direction: "rtl";
75
- loading: boolean;
76
- }, {}, {
77
- handleClose(done: () => void): void;
78
- showLoading(): void;
79
- hideLoading(): void;
80
- init(): void;
81
- submit(): void;
82
- cancelForm(): void;
83
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("submit" | "cancel")[], "submit" | "cancel", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
84
- submitText: {
85
- type: StringConstructor;
86
- default: string;
87
- };
88
- sureText: {
89
- type: StringConstructor;
90
- default: string;
91
- };
92
- showFooter: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- title: {
97
- type: StringConstructor;
98
- default: string;
99
- };
100
- size: {
101
- type: StringConstructor;
102
- default: string;
103
- };
104
- }>> & Readonly<{
105
- onSubmit?: ((...args: any[]) => any) | undefined;
106
- onCancel?: ((...args: any[]) => any) | undefined;
107
- }>, {
108
- size: string;
109
- title: string;
110
- submitText: string;
111
- sureText: string;
112
- showFooter: boolean;
113
- }, {}, {
114
- ElDrawer: import('element-plus/es/utils/vue/typescript.mjs').SFCWithInstall<{
115
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('element-plus').DrawerProps> & Readonly<{
116
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
117
- onOpen?: (() => any) | undefined;
118
- onOpened?: (() => any) | undefined;
119
- onClose?: (() => any) | undefined;
120
- onClosed?: (() => any) | undefined;
121
- onOpenAutoFocus?: (() => any) | undefined;
122
- onCloseAutoFocus?: (() => any) | undefined;
123
- onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
124
- "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
125
- "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
126
- }>, {
127
- handleClose: () => void;
128
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
129
- "update:modelValue": (value: boolean) => void;
130
- open: () => void;
131
- opened: () => void;
132
- close: () => void;
133
- closed: () => void;
134
- openAutoFocus: () => void;
135
- closeAutoFocus: () => void;
136
- resize: (evt: MouseEvent, size: number) => void;
137
- "resize-start": (evt: MouseEvent, size: number) => void;
138
- "resize-end": (evt: MouseEvent, size: number) => void;
139
- }, import('vue').PublicProps, {
140
- direction: "ltr" | "rtl" | "ttb" | "btt";
141
- size: string | number;
142
- title: string;
143
- appendTo: string | HTMLElement;
144
- closeOnClickModal: boolean;
145
- closeOnPressEscape: boolean;
146
- lockScroll: boolean;
147
- modal: boolean;
148
- openDelay: number;
149
- closeDelay: number;
150
- modalClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
151
- headerAriaLevel: string;
152
- transition: import('element-plus').DialogTransition;
153
- alignCenter: boolean;
154
- draggable: boolean;
155
- overflow: boolean;
156
- headerClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
157
- bodyClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
158
- footerClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
159
- showClose: boolean;
160
- ariaLevel: string;
161
- withHeader: boolean;
162
- modalFade: boolean;
163
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
164
- P: {};
165
- B: {};
166
- D: {};
167
- C: {};
168
- M: {};
169
- Defaults: {};
170
- }, Readonly<import('element-plus').DrawerProps> & Readonly<{
171
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
172
- onOpen?: (() => any) | undefined;
173
- onOpened?: (() => any) | undefined;
174
- onClose?: (() => any) | undefined;
175
- onClosed?: (() => any) | undefined;
176
- onOpenAutoFocus?: (() => any) | undefined;
177
- onCloseAutoFocus?: (() => any) | undefined;
178
- onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
179
- "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
180
- "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
181
- }>, {
182
- handleClose: () => void;
183
- }, {}, {}, {}, {
184
- direction: "ltr" | "rtl" | "ttb" | "btt";
185
- size: string | number;
186
- title: string;
187
- appendTo: string | HTMLElement;
188
- closeOnClickModal: boolean;
189
- closeOnPressEscape: boolean;
190
- lockScroll: boolean;
191
- modal: boolean;
192
- openDelay: number;
193
- closeDelay: number;
194
- modalClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
195
- headerAriaLevel: string;
196
- transition: import('element-plus').DialogTransition;
197
- alignCenter: boolean;
198
- draggable: boolean;
199
- overflow: boolean;
200
- headerClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
201
- bodyClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
202
- footerClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
203
- showClose: boolean;
204
- ariaLevel: string;
205
- withHeader: boolean;
206
- modalFade: boolean;
207
- }>;
208
- __isFragment?: never;
209
- __isTeleport?: never;
210
- __isSuspense?: never;
211
- } & import('vue').ComponentOptionsBase<Readonly<import('element-plus').DrawerProps> & Readonly<{
212
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
213
- onOpen?: (() => any) | undefined;
214
- onOpened?: (() => any) | undefined;
215
- onClose?: (() => any) | undefined;
216
- onClosed?: (() => any) | undefined;
217
- onOpenAutoFocus?: (() => any) | undefined;
218
- onCloseAutoFocus?: (() => any) | undefined;
219
- onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
220
- "onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
221
- "onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
222
- }>, {
223
- handleClose: () => void;
224
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
225
- "update:modelValue": (value: boolean) => void;
226
- open: () => void;
227
- opened: () => void;
228
- close: () => void;
229
- closed: () => void;
230
- openAutoFocus: () => void;
231
- closeAutoFocus: () => void;
232
- resize: (evt: MouseEvent, size: number) => void;
233
- "resize-start": (evt: MouseEvent, size: number) => void;
234
- "resize-end": (evt: MouseEvent, size: number) => void;
235
- }, string, {
236
- direction: "ltr" | "rtl" | "ttb" | "btt";
237
- size: string | number;
238
- title: string;
239
- appendTo: string | HTMLElement;
240
- closeOnClickModal: boolean;
241
- closeOnPressEscape: boolean;
242
- lockScroll: boolean;
243
- modal: boolean;
244
- openDelay: number;
245
- closeDelay: number;
246
- modalClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
247
- headerAriaLevel: string;
248
- transition: import('element-plus').DialogTransition;
249
- alignCenter: boolean;
250
- draggable: boolean;
251
- overflow: boolean;
252
- headerClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
253
- bodyClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
254
- footerClass: string | false | Record<string, any> | import('element-plus/es/utils/typescript.mjs').ClassValue[] | null;
255
- showClose: boolean;
256
- ariaLevel: string;
257
- withHeader: boolean;
258
- modalFade: boolean;
259
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
260
- $slots: {
261
- header?: (props: {
262
- close: () => void;
263
- titleId: string;
264
- titleClass: string;
265
- }) => any;
266
- } & {
267
- title?: (props: {}) => any;
268
- } & {
269
- default?: (props: {}) => any;
270
- } & {
271
- footer?: (props: {}) => any;
272
- };
273
- })>;
274
- ElButton: {
275
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('element-plus').ButtonProps> & Readonly<{
276
- onClick?: ((evt: MouseEvent) => any) | undefined;
277
- }>, {
278
- ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
279
- size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
280
- type: import('vue').ComputedRef<"" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
281
- disabled: import('vue').ComputedRef<boolean>;
282
- shouldAddSpace: import('vue').ComputedRef<boolean>;
283
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
284
- click: (evt: MouseEvent) => void;
285
- }, import('vue').PublicProps, {
286
- type: import('element-plus').ButtonType;
287
- text: boolean;
288
- disabled: boolean;
289
- round: boolean;
290
- dashed: boolean;
291
- nativeType: import('element-plus').ButtonNativeType;
292
- loadingIcon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
293
- plain: boolean;
294
- autoInsertSpace: boolean;
295
- tag: string | import('vue').Component;
296
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
297
- P: {};
298
- B: {};
299
- D: {};
300
- C: {};
301
- M: {};
302
- Defaults: {};
303
- }, Readonly<import('element-plus').ButtonProps> & Readonly<{
304
- onClick?: ((evt: MouseEvent) => any) | undefined;
305
- }>, {
306
- ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
307
- size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
308
- type: import('vue').ComputedRef<"" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
309
- disabled: import('vue').ComputedRef<boolean>;
310
- shouldAddSpace: import('vue').ComputedRef<boolean>;
311
- }, {}, {}, {}, {
312
- type: import('element-plus').ButtonType;
313
- text: boolean;
314
- disabled: boolean;
315
- round: boolean;
316
- dashed: boolean;
317
- nativeType: import('element-plus').ButtonNativeType;
318
- loadingIcon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
319
- plain: boolean;
320
- autoInsertSpace: boolean;
321
- tag: string | import('vue').Component;
322
- }>;
323
- __isFragment?: never;
324
- __isTeleport?: never;
325
- __isSuspense?: never;
326
- } & import('vue').ComponentOptionsBase<Readonly<import('element-plus').ButtonProps> & Readonly<{
327
- onClick?: ((evt: MouseEvent) => any) | undefined;
328
- }>, {
329
- ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
330
- size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
331
- type: import('vue').ComputedRef<"" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
332
- disabled: import('vue').ComputedRef<boolean>;
333
- shouldAddSpace: import('vue').ComputedRef<boolean>;
334
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
335
- click: (evt: MouseEvent) => void;
336
- }, string, {
337
- type: import('element-plus').ButtonType;
338
- text: boolean;
339
- disabled: boolean;
340
- round: boolean;
341
- dashed: boolean;
342
- nativeType: import('element-plus').ButtonNativeType;
343
- loadingIcon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
344
- plain: boolean;
345
- autoInsertSpace: boolean;
346
- tag: string | import('vue').Component;
347
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
348
- $slots: {
349
- loading?: (props: {}) => any;
350
- } & {
351
- icon?: (props: {}) => any;
352
- } & {
353
- default?: (props: {}) => any;
354
- };
355
- }) & import('vue').ObjectPlugin & {
356
- setPropsDefaults: (defaults: {
357
- readonly size?: "" | "default" | "small" | "large" | (() => "" | "default" | "small" | "large") | undefined;
358
- readonly disabled?: boolean | (() => boolean) | undefined;
359
- readonly type?: "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger" | (() => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | undefined;
360
- readonly icon?: string | import('vue').FunctionalComponent<any, {}, any, {}> | {
361
- new (...args: any[]): any;
362
- __isFragment?: never;
363
- __isTeleport?: never;
364
- __isSuspense?: never;
365
- } | (() => (import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined) & {}) | undefined;
366
- readonly nativeType?: "button" | "submit" | "reset" | (() => "button" | "submit" | "reset") | undefined;
367
- readonly loading?: boolean | (() => boolean) | undefined;
368
- readonly loadingIcon?: string | import('vue').FunctionalComponent<any, {}, any, {}> | {
369
- new (...args: any[]): any;
370
- __isFragment?: never;
371
- __isTeleport?: never;
372
- __isSuspense?: never;
373
- } | (() => (import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined) & {}) | undefined;
374
- readonly plain?: boolean | (() => boolean) | undefined;
375
- readonly text?: boolean | (() => boolean) | undefined;
376
- readonly link?: boolean | (() => boolean) | undefined;
377
- readonly bg?: boolean | (() => boolean) | undefined;
378
- readonly autofocus?: boolean | (() => boolean) | undefined;
379
- readonly round?: boolean | (() => boolean) | undefined;
380
- readonly circle?: boolean | (() => boolean) | undefined;
381
- readonly dashed?: boolean | (() => boolean) | undefined;
382
- readonly color?: string | (() => string) | undefined;
383
- readonly dark?: boolean | (() => boolean) | undefined;
384
- readonly autoInsertSpace?: boolean | (() => boolean) | undefined;
385
- readonly tag?: string | import('vue').FunctionalComponent<any, {}, any, {}> | {
386
- new (...args: any[]): any;
387
- __isFragment?: never;
388
- __isTeleport?: never;
389
- __isSuspense?: never;
390
- } | (() => (string | import('vue').Component | undefined) & {}) | undefined;
391
- }) => void;
392
- } & {
393
- ButtonGroup: {
394
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('element-plus/es/components/button/src/button-group.mjs').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
395
- direction: "horizontal" | "vertical";
396
- type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
397
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
398
- P: {};
399
- B: {};
400
- D: {};
401
- C: {};
402
- M: {};
403
- Defaults: {};
404
- }, Readonly<import('element-plus/es/components/button/src/button-group.mjs').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, {
405
- direction: "horizontal" | "vertical";
406
- type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
407
- }>;
408
- __isFragment?: never;
409
- __isTeleport?: never;
410
- __isSuspense?: never;
411
- } & import('vue').ComponentOptionsBase<Readonly<import('element-plus/es/components/button/src/button-group.mjs').ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
412
- direction: "horizontal" | "vertical";
413
- type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
414
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
415
- $slots: {
416
- default?: (props: {}) => any;
417
- };
418
- });
419
- };
420
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
421
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
422
- PageDesc: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
423
- title: {
424
- type: StringConstructor;
425
- default: string;
426
- };
427
- docUrl: {
428
- type: StringConstructor;
429
- default: string;
430
- };
431
- showDoc: {
432
- type: BooleanConstructor;
433
- default: boolean;
434
- };
435
- desc: {
436
- type: StringConstructor;
437
- default: string;
438
- };
439
- img: {
440
- type: StringConstructor;
441
- default: string;
442
- };
443
- }>, {}, {
444
- showDesc: boolean;
445
- }, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
446
- title: {
447
- type: StringConstructor;
448
- default: string;
449
- };
450
- docUrl: {
451
- type: StringConstructor;
452
- default: string;
453
- };
454
- showDoc: {
455
- type: BooleanConstructor;
456
- default: boolean;
457
- };
458
- desc: {
459
- type: StringConstructor;
460
- default: string;
461
- };
462
- img: {
463
- type: StringConstructor;
464
- default: string;
465
- };
466
- }>> & Readonly<{}>, {
467
- title: string;
468
- img: string;
469
- desc: string;
470
- docUrl: string;
471
- showDoc: boolean;
472
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
473
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
474
2
  export default _default;
@@ -1,3 +1,4 @@
1
+ import { isRetainFieldDisabled } from '@xdmp-open/ui-shared';
1
2
  declare const _default: import('vue').DefineComponent<{}, {}, {
2
3
  title: string;
3
4
  size: string;
@@ -16,6 +17,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
16
17
  }[];
17
18
  };
18
19
  }, {}, {
20
+ isRetainFieldDisabled: typeof isRetainFieldDisabled;
19
21
  handleOpen(id?: string): void;
20
22
  submit(): void;
21
23
  cancel(): void;
@@ -1,3 +1,4 @@
1
+ import { isRetainYes } from '@xdmp-open/ui-shared';
1
2
  import { checkPermission } from '../../context';
2
3
  import { default as dayjs } from '../../utils/dayjs';
3
4
  declare const _default: import('vue').DefineComponent<{}, {}, {
@@ -14,6 +15,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
14
15
  }, {}, {
15
16
  dayjs: typeof dayjs;
16
17
  checkPermission: typeof checkPermission;
18
+ isRetainYes: typeof isRetainYes;
17
19
  getRoleList(): Promise<void>;
18
20
  reset(): void;
19
21
  search(): void;
@@ -1,3 +1,4 @@
1
+ import { isRetainYes } from '@xdmp-open/ui-shared';
1
2
  import { checkPermission } from '../../context';
2
3
  declare const _default: import('vue').DefineComponent<{}, {}, {
3
4
  total: number;
@@ -21,6 +22,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
21
22
  };
22
23
  departForm: any;
23
24
  }, {}, {
25
+ isRetainYes: typeof isRetainYes;
24
26
  checkPermission: typeof checkPermission;
25
27
  getDepartTree(): Promise<void>;
26
28
  getUserRole(): Promise<void>;
@@ -90,6 +92,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
90
92
  gender: string;
91
93
  avatar: string;
92
94
  projectIds: any[];
95
+ retainFlag: string;
93
96
  };
94
97
  rules: {
95
98
  username: {
@@ -129,6 +132,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
129
132
  }[];
130
133
  };
131
134
  }, {}, {
135
+ isRetainFieldDisabled: typeof import('@xdmp-open/ui-shared').isRetainFieldDisabled;
132
136
  handlefilterRole(value: any): void;
133
137
  submitForm(formName?: string): void;
134
138
  init(departId: any, data?: any, isAdmin?: boolean): Promise<void>;
@@ -1013,6 +1017,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
1013
1017
  parentId: string;
1014
1018
  type: string;
1015
1019
  avatar: string;
1020
+ retainFlag: string;
1016
1021
  };
1017
1022
  treeList: any[];
1018
1023
  departTypeList: {
@@ -1041,6 +1046,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
1041
1046
  }[];
1042
1047
  };
1043
1048
  }, {}, {
1049
+ isRetainFieldDisabled: typeof import('@xdmp-open/ui-shared').isRetainFieldDisabled;
1044
1050
  init(data: any, type: string): Promise<void>;
1045
1051
  getDepartList(): Promise<void>;
1046
1052
  updateParentId(id: any): void;
@@ -1,3 +1,4 @@
1
+ import { isRetainFieldDisabled } from '@xdmp-open/ui-shared';
1
2
  declare const _default: import('vue').DefineComponent<{}, {}, {
2
3
  title: string;
3
4
  size: string;
@@ -8,6 +9,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
8
9
  parentId: string;
9
10
  type: string;
10
11
  avatar: string;
12
+ retainFlag: string;
11
13
  };
12
14
  treeList: any[];
13
15
  departTypeList: {
@@ -36,6 +38,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {
36
38
  }[];
37
39
  };
38
40
  }, {}, {
41
+ isRetainFieldDisabled: typeof isRetainFieldDisabled;
39
42
  init(data: any, type: string): Promise<void>;
40
43
  getDepartList(): Promise<void>;
41
44
  updateParentId(id: any): void;
@@ -1,4 +1,5 @@
1
1
  import { PropType } from 'vue';
2
+ import { isRetainFieldDisabled } from '@xdmp-open/ui-shared';
2
3
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
4
  roleList: {
4
5
  type: PropType<any[]>;
@@ -47,6 +48,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
47
48
  gender: string;
48
49
  avatar: string;
49
50
  projectIds: any[];
51
+ retainFlag: string;
50
52
  };
51
53
  rules: {
52
54
  username: {
@@ -86,6 +88,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
86
88
  }[];
87
89
  };
88
90
  }, {}, {
91
+ isRetainFieldDisabled: typeof isRetainFieldDisabled;
89
92
  handlefilterRole(value: any): void;
90
93
  submitForm(formName?: string): void;
91
94
  init(departId: any, data?: any, isAdmin?: boolean): Promise<void>;