@juzhenfe/page-model 3.22.4 → 3.22.6

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.
Files changed (127) hide show
  1. package/dist/components/buttons-renderer/components/button-item-render/index.vue.d.ts +66 -0
  2. package/dist/components/buttons-renderer/index.vue.d.ts +40 -0
  3. package/dist/components/buttons-renderer/utils/index.d.ts +2 -2
  4. package/dist/components/column-filter-tools/index.vue.d.ts +10 -0
  5. package/dist/components/column-sort-tools/index.vue.d.ts +10 -0
  6. package/dist/components/draggable-list/index.vue.d.ts +25 -0
  7. package/dist/components/editable-table/components/column-tools/index.vue.d.ts +11 -0
  8. package/dist/components/editable-table/components/column-tools/setting.vue.d.ts +9 -0
  9. package/dist/components/editable-table/components/table-cell/index.vue.d.ts +16 -0
  10. package/dist/components/editable-table/index.d.ts +13 -14
  11. package/dist/components/editable-table/index.vue.d.ts +74 -0
  12. package/dist/components/form/components/col-container/components/module-container/index.vue.d.ts +30 -0
  13. package/dist/components/form/components/col-container/components/section-title-els/index.vue.d.ts +24 -0
  14. package/dist/components/form/components/col-container/components/tabs-mode-container/index.vue.d.ts +32 -0
  15. package/dist/components/form/components/col-container/index.vue.d.ts +24 -0
  16. package/dist/components/form/components/column-tools/setting.vue.d.ts +11 -0
  17. package/dist/components/form/components/column-tools/use-setting.d.ts +14 -14
  18. package/dist/components/form/components/container-component/index.vue.d.ts +22 -0
  19. package/dist/components/form/components/section-config/merge.d.ts +3 -3
  20. package/dist/components/form/components/section-config/use.d.ts +14 -14
  21. package/dist/components/form/constructor.d.ts +79 -80
  22. package/dist/components/form/index.d.ts +2 -3
  23. package/dist/components/form/index.vue.d.ts +19 -0
  24. package/dist/components/form/type.d.ts +2 -0
  25. package/dist/components/form/utils/save-columns.d.ts +30 -30
  26. package/dist/components/form/utils/use-form-els.d.ts +4 -4
  27. package/dist/components/form-container/components/dialog-mode/index.vue.d.ts +29 -0
  28. package/dist/components/form-container/components/drawer-mode/index.vue.d.ts +29 -0
  29. package/dist/components/form-container/components/full-page/index.vue.d.ts +29 -0
  30. package/dist/components/form-container/index.vue.d.ts +27 -0
  31. package/dist/components/form-dialog/index.vue.d.ts +30 -0
  32. package/dist/components/form-dialog/use-move.d.ts +19 -19
  33. package/dist/components/form-drawer/index.vue.d.ts +35 -0
  34. package/dist/components/form-item-renderer/index.vue.d.ts +75 -0
  35. package/dist/components/line-clamp-tools/index.vue.d.ts +9 -0
  36. package/dist/components/normal-tab/index.vue.d.ts +17 -0
  37. package/dist/components/normal-tab/type.d.ts +2 -0
  38. package/dist/components/page-model/components/selectable-operate/index.vue.d.ts +16 -0
  39. package/dist/components/page-model/components/top-tabs/constructor.d.ts +9 -10
  40. package/dist/components/page-model/components/top-tabs/index.vue.d.ts +21 -0
  41. package/dist/components/page-model/constructor.d.ts +156 -157
  42. package/dist/components/page-model/index.d.ts +4 -6
  43. package/dist/components/page-model/index.vue.d.ts +118 -0
  44. package/dist/components/page-model/patches/patch-config-urls.d.ts +2 -2
  45. package/dist/components/page-model/patches/patch-default-config.d.ts +2 -2
  46. package/dist/components/page-model/patches/patch-selectable.d.ts +2 -2
  47. package/dist/components/page-model/patches/patch-size.d.ts +2 -2
  48. package/dist/components/page-model/patches/patch-table-dragable.d.ts +2 -2
  49. package/dist/components/page-model/patches/patch-user-config.d.ts +2 -2
  50. package/dist/components/page-model/type.d.ts +6 -0
  51. package/dist/components/page-model/utils/default-config.d.ts +1 -1
  52. package/dist/components/page-model/utils/default-excel-export-config.d.ts +1 -1
  53. package/dist/components/page-model/utils/default-style-config.d.ts +1 -1
  54. package/dist/components/page-model/utils/default-text-config.d.ts +1 -1
  55. package/dist/components/page-model/utils/default-user-setting.d.ts +1 -1
  56. package/dist/components/page-model/utils/error-handler.d.ts +1 -1
  57. package/dist/components/page-model/utils/manager-controller.d.ts +47 -48
  58. package/dist/components/page-model/utils/patch-config.d.ts +1 -2
  59. package/dist/components/page-model/utils/use-auth-buttons.d.ts +7 -8
  60. package/dist/components/page-model/utils/use-keyboard-event.d.ts +9 -9
  61. package/dist/components/scenes-tab/index.vue.d.ts +5 -0
  62. package/dist/components/search-form/components/search-form-full/index.vue.d.ts +16 -0
  63. package/dist/components/search-form/constructor.d.ts +21 -22
  64. package/dist/components/search-form/index.vue.d.ts +19 -0
  65. package/dist/components/search-form/use-detect-item-width.d.ts +5 -6
  66. package/dist/components/simple-popover/index.vue.d.ts +29 -0
  67. package/dist/components/table/components/column-tools/index.vue.d.ts +10 -0
  68. package/dist/components/table/components/column-tools/setting.vue.d.ts +17 -0
  69. package/dist/components/table/components/column-tools/use-setting.d.ts +14 -14
  70. package/dist/components/table/components/column-tools/use-user-config.d.ts +14 -14
  71. package/dist/components/table/components/column-tools/use-user-show-row-config.d.ts +35 -35
  72. package/dist/components/table/components/column-tools/user-config.vue.d.ts +11 -0
  73. package/dist/components/table/components/context-column-summary/index.vue.d.ts +13 -0
  74. package/dist/components/table/components/context-menu/index.vue.d.ts +35 -0
  75. package/dist/components/table/components/empty-data/index.vue.d.ts +7 -0
  76. package/dist/components/table/components/export-form/index.vue.d.ts +13 -0
  77. package/dist/components/table/components/export-form/use.d.ts +16 -17
  78. package/dist/components/table/components/selections-table/index.vue.d.ts +10 -0
  79. package/dist/components/table/components/selections-table/use.d.ts +15 -15
  80. package/dist/components/table/components/table-column/components/filter-zone/index.vue.d.ts +9 -0
  81. package/dist/components/table/components/table-column/components/filter-zone/utils/index.d.ts +69 -69
  82. package/dist/components/table/components/table-column/index.vue.d.ts +7 -0
  83. package/dist/components/table/components/table-v2/index.vue.d.ts +20 -0
  84. package/dist/components/table/components/table-wrap/index.vue.d.ts +24 -0
  85. package/dist/components/table/constructor.d.ts +344 -345
  86. package/dist/components/table/index.vue.d.ts +30 -0
  87. package/dist/components/table/type.d.ts +2 -0
  88. package/dist/components/table/utils/save-column-filter.d.ts +2 -2
  89. package/dist/components/table/utils/save-column-sort.d.ts +2 -2
  90. package/dist/components/table/utils/save-columns.d.ts +38 -38
  91. package/dist/components/table/utils/save-config.d.ts +6 -6
  92. package/dist/components/table/utils/use-column-drag.d.ts +8 -8
  93. package/dist/components/table/utils/use-listen-scroll.d.ts +5 -6
  94. package/dist/components/table/utils/use-static-summary.d.ts +11 -12
  95. package/dist/components/table/utils/use-table-config-change.d.ts +5 -6
  96. package/dist/components/table/utils/use-table-els.d.ts +4 -5
  97. package/dist/components/table-cell-renderer/index.vue.d.ts +58 -0
  98. package/dist/components/table-toolsbox/index.vue.d.ts +24 -0
  99. package/dist/index.es.js +1809 -1803
  100. package/dist/index.umd.js +2 -2
  101. package/dist/main.d.ts +14 -13
  102. package/dist/types/common.d.ts +25 -0
  103. package/dist/types/form-item-types/cascader.d.ts +2 -0
  104. package/dist/types/form-item-types/color-picker.d.ts +21 -20
  105. package/dist/types/form-item-types/date-picker.d.ts +45 -41
  106. package/dist/types/form-item-types/input-number.d.ts +2 -0
  107. package/dist/types/form-item-types/input.d.ts +2 -0
  108. package/dist/types/form-item-types/jz-cascader.d.ts +3 -0
  109. package/dist/types/form-item-types/jz-city-picker.d.ts +3 -0
  110. package/dist/types/form-item-types/rate.d.ts +30 -29
  111. package/dist/types/form-item-types/select-v2.d.ts +2 -0
  112. package/dist/types/form-item-types/slider.d.ts +31 -31
  113. package/dist/types/form-item-types/switch.d.ts +13 -9
  114. package/dist/types/form-item-types/time-picker.d.ts +40 -36
  115. package/dist/types/form-item-types/time-select.d.ts +30 -26
  116. package/dist/utils/config-saver.d.ts +51 -51
  117. package/dist/utils/define-config.d.ts +2 -3
  118. package/dist/utils/event-chain.d.ts +9 -9
  119. package/dist/utils/event-emitter.d.ts +7 -7
  120. package/dist/utils/index.d.ts +101 -102
  121. package/dist/utils/infinite-table.d.ts +49 -49
  122. package/dist/utils/manager.d.ts +13 -14
  123. package/dist/utils/provide-keys.d.ts +20 -20
  124. package/dist/utils/reflect/index.d.ts +14 -15
  125. package/dist/utils/reflect/reflect-collector.d.ts +25 -25
  126. package/dist/utils/resize.d.ts +2 -3
  127. package/package.json +9 -7
@@ -2,83 +2,82 @@ import { default as PageModelManager } from '../page-model/constructor';
2
2
  import { ComponentPublicInstance } from 'vue';
3
3
  import { default as IManager } from '../../utils/manager';
4
4
  import { default as EventEmitter } from '../../utils/event-emitter';
5
-
6
- export default class FormManager<MODEL = AnyObject> extends IManager {
7
- propsForm?: PageModel.Form;
8
- /**
9
- * 表单数据
10
- */
11
- formData: MODEL;
12
- /**
13
- * formRef
14
- */
15
- formRef: ComponentPublicInstance;
16
- /**
17
- * 提交数据loading
18
- */
19
- submitLoading: boolean;
20
- status: PageModel.FormStatus;
21
- errorProp?: string;
22
- formUpdateEvent: EventEmitter<string>;
23
- constructor(form?: PageModel.Form);
24
- get form(): PageModel.Form;
25
- get isCustomMode(): boolean;
26
- updatePropsForm(form: PageModel.Form): void;
27
- updateFormRef(formRef: ComponentPublicInstance): void;
28
- updateSubmitLoading(loading: boolean): void;
29
- updateReflections(reflections: PageModel.Reflections): void;
30
- /**
31
- * 设置表单的初始数据
32
- */
33
- tempFormData?: MODEL;
34
- /**
35
- * 数据和初始设置是否改变
36
- */
37
- isFormDataChange(): boolean;
38
- /**
39
- * 获取离开前的提示文字
40
- */
41
- getLeaveConfirmMessage(): {
42
- title: string;
43
- message: string;
44
- };
45
- /**
46
- * 表单弹窗是否可见
47
- */
48
- isFormVisible: boolean;
49
- /**
50
- * 设置表单弹窗的可见性
51
- * @param visible 是否可见
52
- */
53
- updateFormVisible(visible: boolean): void;
54
- /**
55
- * 更新表单数据
56
- * @param formData
57
- * @returns
58
- */
59
- updateFormData(formData: MODEL): Promise<void | false>;
60
- /**
61
- * 更新表单数据
62
- * @param formData 表单数据
63
- * @param isView 是否查看模式
64
- */
65
- setFormData(formData?: MODEL, isView?: boolean): void;
66
- /**
67
- * 将参数表单合并进表单数据
68
- * @param formData 表单数据
69
- */
70
- setFormDataPartial(formData: MODEL): void;
71
- toastErrorMessage(error: any): void;
72
- getSubmitFormData(formData: AnyObject, isValid?: boolean): Promise<false | AnyObject>;
73
- getInitialData(): MODEL;
74
- /**
75
- * 打开布局模式
76
- * @param context
77
- */
78
- showFormClumnTool(): void;
79
- updateContext(context: ComponentPublicInstance): void;
80
- onConfigUpdated(): void;
81
- register(manager: PageModelManager): void;
82
- getReqParams(): AnyObject;
83
- destroy(): void;
84
- }
5
+ export default class FormManager<MODEL = AnyObject> extends IManager {
6
+ propsForm?: PageModel.Form;
7
+ /**
8
+ * 表单数据
9
+ */
10
+ formData: MODEL;
11
+ /**
12
+ * formRef
13
+ */
14
+ formRef: ComponentPublicInstance;
15
+ /**
16
+ * 提交数据loading
17
+ */
18
+ submitLoading: boolean;
19
+ status: PageModel.FormStatus;
20
+ errorProp?: string;
21
+ formUpdateEvent: EventEmitter<string>;
22
+ constructor(form?: PageModel.Form);
23
+ get form(): PageModel.Form;
24
+ get isCustomMode(): boolean;
25
+ updatePropsForm(form: PageModel.Form): void;
26
+ updateFormRef(formRef: ComponentPublicInstance): void;
27
+ updateSubmitLoading(loading: boolean): void;
28
+ updateReflections(reflections: PageModel.Reflections): void;
29
+ /**
30
+ * 设置表单的初始数据
31
+ */
32
+ tempFormData?: MODEL;
33
+ /**
34
+ * 数据和初始设置是否改变
35
+ */
36
+ isFormDataChange(): boolean;
37
+ /**
38
+ * 获取离开前的提示文字
39
+ */
40
+ getLeaveConfirmMessage(): {
41
+ title: string;
42
+ message: string;
43
+ };
44
+ /**
45
+ * 表单弹窗是否可见
46
+ */
47
+ isFormVisible: boolean;
48
+ /**
49
+ * 设置表单弹窗的可见性
50
+ * @param visible 是否可见
51
+ */
52
+ updateFormVisible(visible: boolean): void;
53
+ /**
54
+ * 更新表单数据
55
+ * @param formData
56
+ * @returns
57
+ */
58
+ updateFormData(formData: MODEL): Promise<void | false>;
59
+ /**
60
+ * 更新表单数据
61
+ * @param formData 表单数据
62
+ * @param isView 是否查看模式
63
+ */
64
+ setFormData(formData?: MODEL, isView?: boolean): void;
65
+ /**
66
+ * 将参数表单合并进表单数据
67
+ * @param formData 表单数据
68
+ */
69
+ setFormDataPartial(formData: MODEL): void;
70
+ toastErrorMessage(error: any): void;
71
+ getSubmitFormData(formData: AnyObject, isValid?: boolean): Promise<false | AnyObject>;
72
+ getInitialData(): MODEL;
73
+ /**
74
+ * 打开布局模式
75
+ * @param context
76
+ */
77
+ showFormClumnTool(): void;
78
+ updateContext(context: ComponentPublicInstance): void;
79
+ onConfigUpdated(): void;
80
+ register(manager: PageModelManager): void;
81
+ getReqParams(): AnyObject;
82
+ destroy(): void;
83
+ }
@@ -1,5 +1,4 @@
1
1
  import { default as FormManager } from './constructor';
2
2
  import { default as PageModelForm } from './index.vue';
3
-
4
- declare const defineForm: <Model = any>(form: PageModel.Form<Model, FormManager<AnyObject>>) => PageModel.Form<Model, FormManager<AnyObject>>;
5
- export { PageModelForm, defineForm };
3
+ declare const defineForm: <Model = any>(form: PageModel.Form<Model, FormManager>) => PageModel.Form<Model, FormManager>;
4
+ export { PageModelForm, defineForm };
@@ -0,0 +1,19 @@
1
+ import { default as PageModelManager } from '../page-model/constructor';
2
+ import { default as FormManager } from './constructor';
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ declare const __VLS_export: import('vue').DefineComponent<{
6
+ form?: PageModel.Form<any, any>;
7
+ manager?: PageModelManager;
8
+ reflections?: PageModel.Reflections;
9
+ }, {
10
+ setFormData: (formData?: AnyObject) => void;
11
+ setFormDataPartial: (formData: AnyObject) => void;
12
+ formManager: FormManager<AnyObject>;
13
+ getFormData: (isValid?: boolean) => Promise<false | AnyObject>;
14
+ showFormClumnTool: () => void;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
16
+ form?: PageModel.Form<any, any>;
17
+ manager?: PageModelManager;
18
+ reflections?: PageModel.Reflections;
19
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,3 +1,5 @@
1
+ /// <reference path="../../types/common.d.ts" />
2
+
1
3
  import { ColProps, RowProps, CollapseProps, TabsProps, DrawerProps } from 'element-plus';
2
4
  import { Component } from 'vue';
3
5
 
@@ -1,30 +1,30 @@
1
- /**
2
- * 用户列配置
3
- * 保存到本地
4
- */
5
- export declare type SavedColumnItem = {
6
- /**
7
- * 原来的el位置索引
8
- */
9
- index: number;
10
- /**
11
- * 用户配置sectionName
12
- */
13
- usn?: string;
14
- /**
15
- * 用户配置moduleName
16
- */
17
- umn?: string;
18
- };
19
- /**
20
- * section配置
21
- */
22
- export declare const SECTION_EL: {
23
- label: string;
24
- priop: string;
25
- }[];
26
- export declare const getUseSectionConfig: (form: any) => any;
27
- export declare const saveTableColumns: any;
28
- export declare const genSaveColumnName: any;
29
- export declare const saveColumns: any;
30
- export declare const getColumns: any;
1
+ /**
2
+ * 用户列配置
3
+ * 保存到本地
4
+ */
5
+ export type SavedColumnItem = {
6
+ /**
7
+ * 原来的el位置索引
8
+ */
9
+ index: number;
10
+ /**
11
+ * 用户配置sectionName
12
+ */
13
+ usn?: string;
14
+ /**
15
+ * 用户配置moduleName
16
+ */
17
+ umn?: string;
18
+ };
19
+ /**
20
+ * section配置
21
+ */
22
+ export declare const SECTION_EL: {
23
+ label: string;
24
+ priop: string;
25
+ }[];
26
+ export declare const getUseSectionConfig: (form: any) => any;
27
+ export declare const saveTableColumns: any;
28
+ export declare const genSaveColumnName: any;
29
+ export declare const saveColumns: any;
30
+ export declare const getColumns: any;
@@ -1,4 +1,4 @@
1
- /**
2
- * 获取table的渲染els
3
- */
4
- export declare function useFormEls(originFormEls: any[]): any[];
1
+ /**
2
+ * 获取table的渲染els
3
+ */
4
+ export declare function useFormEls(originFormEls: any[]): any[];
@@ -0,0 +1,29 @@
1
+ import { default as FormManager } from '../../../form/constructor';
2
+ type Props = {
3
+ props?: PageModel.DialogProps;
4
+ formManager?: FormManager;
5
+ };
6
+ declare var __VLS_8: {}, __VLS_11: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_8) => any;
9
+ } & {
10
+ bottom?: (props: typeof __VLS_11) => any;
11
+ };
12
+ declare const __VLS_base: import('vue').DefineComponent<Props, {
13
+ show: () => void;
14
+ hide: (needLeaveConfirm?: boolean) => void;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ submit: () => any;
17
+ hide: () => any;
18
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
19
+ onSubmit?: () => any;
20
+ onHide?: () => any;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,29 @@
1
+ import { default as FormManager } from '../../../form/constructor';
2
+ type Props = {
3
+ props?: PageModel.DialogProps;
4
+ formManager?: FormManager;
5
+ };
6
+ declare var __VLS_9: {}, __VLS_12: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_9) => any;
9
+ } & {
10
+ bottom?: (props: typeof __VLS_12) => any;
11
+ };
12
+ declare const __VLS_base: import('vue').DefineComponent<Props, {
13
+ show: () => void;
14
+ hide: (needLeaveConfirm?: boolean) => void;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ submit: () => any;
17
+ hide: () => any;
18
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
19
+ onSubmit?: () => any;
20
+ onHide?: () => any;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,29 @@
1
+ import { default as FormManager } from '../../../form/constructor';
2
+ type Props = {
3
+ props?: PageModel.FullPageProps;
4
+ formManager?: FormManager;
5
+ };
6
+ declare var __VLS_15: {}, __VLS_17: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_15) => any;
9
+ } & {
10
+ bottom?: (props: typeof __VLS_17) => any;
11
+ };
12
+ declare const __VLS_base: import('vue').DefineComponent<Props, {
13
+ show: () => void;
14
+ hide: (needLeaveConfirm?: boolean) => void;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ submit: () => any;
17
+ hide: () => any;
18
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
19
+ onSubmit?: () => any;
20
+ onHide?: () => any;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,27 @@
1
+ import { default as FormManager } from '../form/constructor';
2
+ type Props = {
3
+ form: PageModel.Form;
4
+ formManager?: FormManager;
5
+ };
6
+ declare var __VLS_11: {}, __VLS_14: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_11) => any;
9
+ } & {
10
+ bottom?: (props: typeof __VLS_14) => any;
11
+ };
12
+ declare const __VLS_base: import('vue').DefineComponent<Props, {
13
+ show: () => void;
14
+ hide: (needLeaveConfirm?: boolean) => void;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ closed: () => any;
17
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
18
+ onClosed?: () => any;
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,30 @@
1
+ type Props = {
2
+ modelValue: boolean;
3
+ title?: string;
4
+ width?: string;
5
+ dialogProps?: AnyObject;
6
+ dialogEvents?: AnyObject;
7
+ customClass?: string;
8
+ };
9
+ declare var __VLS_12: {}, __VLS_15: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_12) => any;
12
+ } & {
13
+ bottom?: (props: typeof __VLS_15) => any;
14
+ };
15
+ declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ "update:model-value": (value: boolean) => any;
17
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
18
+ "onUpdate:model-value"?: (value: boolean) => any;
19
+ }>, {
20
+ width: string;
21
+ customClass: string;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -1,19 +1,19 @@
1
- /**
2
- * 拖动事件
3
- */
4
- /**
5
- * 使用拖动事件
6
- * @param element 目标元素
7
- * @param callback
8
- */
9
- declare const useMove: (callback: (event: {
10
- delta: {
11
- x: number;
12
- y: number;
13
- };
14
- element: HTMLElement;
15
- }) => void) => {
16
- destroy: () => void;
17
- bind: (bindElement: HTMLElement) => void;
18
- };
19
- export { useMove };
1
+ /**
2
+ * 拖动事件
3
+ */
4
+ /**
5
+ * 使用拖动事件
6
+ * @param element 目标元素
7
+ * @param callback
8
+ */
9
+ declare const useMove: (callback: (event: {
10
+ delta: {
11
+ x: number;
12
+ y: number;
13
+ };
14
+ element: HTMLElement;
15
+ }) => void) => {
16
+ destroy: () => void;
17
+ bind: (bindElement: HTMLElement) => void;
18
+ };
19
+ export { useMove };
@@ -0,0 +1,35 @@
1
+ type Props = {
2
+ modelValue: boolean;
3
+ title?: string;
4
+ width?: string;
5
+ dialogProps?: AnyObject;
6
+ dialogEvents?: AnyObject;
7
+ customClass?: string;
8
+ noPaddingTop?: boolean;
9
+ };
10
+ declare var __VLS_12: {}, __VLS_14: {}, __VLS_17: {};
11
+ type __VLS_Slots = {} & {
12
+ header?: (props: typeof __VLS_12) => any;
13
+ } & {
14
+ default?: (props: typeof __VLS_14) => any;
15
+ } & {
16
+ bottom?: (props: typeof __VLS_17) => any;
17
+ };
18
+ declare const __VLS_base: import('vue').DefineComponent<Props, {
19
+ drawerRef: import('vue').Ref<any, any>;
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
21
+ "update:model-value": (value: boolean) => any;
22
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
23
+ "onUpdate:model-value"?: (value: boolean) => any;
24
+ }>, {
25
+ customClass: string;
26
+ noPaddingTop: boolean;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,75 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ modelValue: any;
6
+ renderFn: {
7
+ type: PropType<PageModel.RenderFn>;
8
+ default: any;
9
+ };
10
+ change: {
11
+ type: PropType<(...rest: any[]) => void>;
12
+ default: any;
13
+ };
14
+ options: {
15
+ type: PropType<any>;
16
+ default: () => void;
17
+ };
18
+ context: {
19
+ type: PropType<any>;
20
+ default: () => void;
21
+ };
22
+ disabled: {
23
+ type: PropType<boolean>;
24
+ default: any;
25
+ };
26
+ model: {
27
+ type: PropType<AnyObject>;
28
+ default: () => {};
29
+ };
30
+ multProps: {
31
+ type: PropType<string[]>;
32
+ default: any;
33
+ };
34
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
35
+ [key: string]: any;
36
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
37
+ modelValue: any;
38
+ renderFn: {
39
+ type: PropType<PageModel.RenderFn>;
40
+ default: any;
41
+ };
42
+ change: {
43
+ type: PropType<(...rest: any[]) => void>;
44
+ default: any;
45
+ };
46
+ options: {
47
+ type: PropType<any>;
48
+ default: () => void;
49
+ };
50
+ context: {
51
+ type: PropType<any>;
52
+ default: () => void;
53
+ };
54
+ disabled: {
55
+ type: PropType<boolean>;
56
+ default: any;
57
+ };
58
+ model: {
59
+ type: PropType<AnyObject>;
60
+ default: () => {};
61
+ };
62
+ multProps: {
63
+ type: PropType<string[]>;
64
+ default: any;
65
+ };
66
+ }>> & Readonly<{}>, {
67
+ options: any;
68
+ disabled: boolean;
69
+ change: (...rest: any[]) => void;
70
+ modelValue: any;
71
+ renderFn: PageModel.RenderFn;
72
+ context: any;
73
+ model: AnyObject;
74
+ multProps: string[];
75
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,9 @@
1
+ type Props = {
2
+ els?: any[];
3
+ };
4
+ declare const __VLS_export: import('vue').DefineComponent<Props, {
5
+ showPopover: (element: HTMLElement) => void;
6
+ hidePopover: () => void;
7
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<{
4
+ panes: PageModel.NormalTabItem[];
5
+ props?: AnyObject;
6
+ }, {
7
+ getValue: () => AnyObject;
8
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ change: (value: AnyObject, tabComponent: any, event: Event) => any;
10
+ refresh: () => any;
11
+ }, string, import('vue').PublicProps, Readonly<{
12
+ panes: PageModel.NormalTabItem[];
13
+ props?: AnyObject;
14
+ }> & Readonly<{
15
+ onChange?: (value: AnyObject, tabComponent: any, event: Event) => any;
16
+ onRefresh?: () => any;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,3 +1,5 @@
1
+ /// <reference path="../../types/common.d.ts" />
2
+
1
3
  import { TabsProps } from 'element-plus';
2
4
 
3
5
 
@@ -0,0 +1,16 @@
1
+ import { default as TableManager } from '../../../table/constructor';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: import('vue').DefineComponent<{
5
+ els: PageModel.Button[];
6
+ tableManager?: TableManager;
7
+ manager: any;
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ "visible-change": (visible: boolean) => any;
10
+ }, string, import('vue').PublicProps, Readonly<{
11
+ els: PageModel.Button[];
12
+ tableManager?: TableManager;
13
+ manager: any;
14
+ }> & Readonly<{
15
+ "onVisible-change"?: (visible: boolean) => any;
16
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,13 +1,12 @@
1
1
  import { default as IManager } from '../../../../utils/manager';
2
2
  import { ComponentPublicInstance } from 'vue';
3
3
  import { default as PageModelManager } from '../../constructor';
4
-
5
- export default class TopTabsManager extends IManager {
6
- constructor();
7
- register(manager: PageModelManager): void;
8
- refreshPage(): void;
9
- emitChange(): void;
10
- getReqParams(): any;
11
- onConfigUpdated(): void;
12
- updateContext(context: ComponentPublicInstance): void;
13
- }
4
+ export default class TopTabsManager extends IManager {
5
+ constructor();
6
+ register(manager: PageModelManager): void;
7
+ refreshPage(): void;
8
+ emitChange(): void;
9
+ getReqParams(): any;
10
+ onConfigUpdated(): void;
11
+ updateContext(context: ComponentPublicInstance): void;
12
+ }