@qqt-product/ui 0.0.16 → 0.0.18

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 (130) hide show
  1. package/dist/index.es.js +81533 -81528
  2. package/dist/index.umd.js +149 -209
  3. package/dist/lib/components/audit-modal/index.d.ts +14 -3
  4. package/dist/lib/components/audit-modal/src/audit-modal-type.d.ts +4 -0
  5. package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +14 -3
  6. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +10 -1
  7. package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +11 -2
  8. package/dist/lib/components/audit-modal/src/hook/list-slot-hook.d.ts +1 -1
  9. package/dist/lib/components/audit-modal/src/hook/use-field-select-modal-hook.d.ts +2 -2
  10. package/dist/lib/components/cascader/index.d.ts +2 -2
  11. package/dist/lib/components/cascader/src/cascader.vue.d.ts +3 -2
  12. package/dist/lib/components/checkbox/index.d.ts +4 -4
  13. package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -1
  14. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
  15. package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +73 -5
  16. package/dist/lib/components/code-editor-model/src/one-dark.d.ts +90 -0
  17. package/dist/lib/components/countdown/index.d.ts +4 -4
  18. package/dist/lib/components/countdown/src/countdown.d.ts +4 -4
  19. package/dist/lib/components/coutdown/index.d.ts +3 -3
  20. package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +3 -3
  21. package/dist/lib/components/currency/index.d.ts +3 -3
  22. package/dist/lib/components/currency/src/currency-type.d.ts +1 -1
  23. package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
  24. package/dist/lib/components/detail-form/index.d.ts +11 -8
  25. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +12 -9
  26. package/dist/lib/components/detail-grid/index.d.ts +24 -15
  27. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +24 -15
  28. package/dist/lib/components/detail-page-layout/index.d.ts +34 -7
  29. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +33 -6
  30. package/dist/lib/components/edit-form/index.d.ts +13 -13
  31. package/dist/lib/components/edit-form/src/edit-form-types.d.ts +1 -1
  32. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +14 -14
  33. package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -6
  34. package/dist/lib/components/edit-grid/index.d.ts +25 -15
  35. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +4 -0
  36. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +25 -15
  37. package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +2 -2
  38. package/dist/lib/components/edit-page-layout/index.d.ts +33 -6
  39. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +58 -35
  40. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +33 -6
  41. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  42. package/dist/lib/components/empty/index.d.ts +103 -0
  43. package/dist/lib/components/field-select-modal/index.d.ts +5 -0
  44. package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +5 -0
  45. package/dist/lib/components/flow-view/index.d.ts +2 -2
  46. package/dist/lib/components/flow-view/src/flow-view.d.ts +2 -2
  47. package/dist/lib/components/import-modal/index.d.ts +1 -1
  48. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
  49. package/dist/lib/components/index.d.ts +4 -1
  50. package/dist/lib/components/item-wrap/index.d.ts +6 -6
  51. package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +2 -2
  52. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +6 -6
  53. package/dist/lib/components/ladder-price/index.d.ts +6 -2
  54. package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +7 -3
  55. package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +3 -1
  56. package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +9 -0
  57. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +2 -2
  58. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +6 -2
  59. package/dist/lib/components/layout-buttons/index.d.ts +4 -2
  60. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +4 -2
  61. package/dist/lib/components/layout-pattern/index.d.ts +2 -2
  62. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +30 -25
  63. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +9 -8
  64. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -2
  65. package/dist/lib/components/list-page-layout/index.d.ts +10 -2
  66. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +26 -26
  67. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +15 -3
  68. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -2
  69. package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +2 -2
  70. package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +2 -2
  71. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +10 -2
  72. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +9 -2
  73. package/dist/lib/components/menu/index.d.ts +84 -0
  74. package/dist/lib/components/menu/src/index.d.ts +80 -0
  75. package/dist/lib/components/menu/src/menu-types.d.ts +47 -0
  76. package/dist/lib/components/menu/src/use-menu.d.ts +2 -0
  77. package/dist/lib/components/page-layout/index.d.ts +4 -4
  78. package/dist/lib/components/page-layout/src/constant/buttons.d.ts +6 -6
  79. package/dist/lib/components/page-layout/src/constant/symbol.d.ts +1 -0
  80. package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +3 -3
  81. package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +2 -2
  82. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +5 -3
  83. package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +3 -3
  84. package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +2 -2
  85. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +4 -4
  86. package/dist/lib/components/page-layout/src/token.d.ts +4 -4
  87. package/dist/lib/components/radio/index.d.ts +4 -4
  88. package/dist/lib/components/radio/src/radio-types.d.ts +1 -1
  89. package/dist/lib/components/radio/src/radio.vue.d.ts +4 -4
  90. package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +2 -2
  91. package/dist/lib/components/remote-select/index.d.ts +5 -5
  92. package/dist/lib/components/remote-select/src/remote-select-types.d.ts +6 -6
  93. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
  94. package/dist/lib/components/rich-editor-model/index.d.ts +52 -0
  95. package/dist/lib/components/rich-editor-model/src/rich-editor-model-type.d.ts +14 -0
  96. package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +49 -0
  97. package/dist/lib/components/sale-template/index.d.ts +6 -6
  98. package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +6 -6
  99. package/dist/lib/components/select/index.d.ts +1 -1
  100. package/dist/lib/components/select/src/select.vue.d.ts +1 -1
  101. package/dist/lib/components/select-modal/index.d.ts +17 -8
  102. package/dist/lib/components/select-modal/src/select-modal-types.d.ts +6 -6
  103. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +17 -8
  104. package/dist/lib/components/select-template/index.d.ts +1 -1
  105. package/dist/lib/components/select-template/src/select-template.vue.d.ts +1 -1
  106. package/dist/lib/components/switch/index.d.ts +5 -5
  107. package/dist/lib/components/switch/src/switch-types.d.ts +1 -1
  108. package/dist/lib/components/switch/src/switch.vue.d.ts +5 -5
  109. package/dist/lib/components/tree-select/index.d.ts +5 -5
  110. package/dist/lib/components/tree-select/src/tree-select-types.d.ts +2 -2
  111. package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +5 -5
  112. package/dist/lib/components/upload-file/index.d.ts +6 -6
  113. package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +2 -32
  114. package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +2 -2
  115. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +7 -6
  116. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +6 -6
  117. package/dist/lib/components/upload-file-vxe/index.d.ts +8 -6
  118. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +2 -2
  119. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +8 -6
  120. package/dist/lib/components/upload-image/index.d.ts +11 -1
  121. package/dist/lib/components/upload-image/src/upload-image-type.d.ts +4 -0
  122. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +11 -1
  123. package/dist/lib/components/vxe-select/index.d.ts +4 -4
  124. package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +4 -4
  125. package/dist/lib/utils/event.d.ts +4 -3
  126. package/dist/lib/utils/use-create-link-hook.d.ts +24 -0
  127. package/dist/style.css +1 -1
  128. package/package.json +21 -18
  129. package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +0 -8
  130. package/dist/vite.svg +0 -1
@@ -41,7 +41,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
41
41
  totalHours: ComputedRef<number>;
42
42
  totalSeconds: ComputedRef<number>;
43
43
  totalMinutes: ComputedRef<number>;
44
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("start" | "progress" | "end")[], "start" | "progress" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
44
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("progress" | "start" | "end")[], "progress" | "start" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
45
45
  readonly autoStart: {
46
46
  readonly type: BooleanConstructor;
47
47
  readonly default: true;
@@ -73,11 +73,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
73
73
  onStart?: ((...args: any[]) => any) | undefined;
74
74
  onEnd?: ((...args: any[]) => any) | undefined;
75
75
  }, {
76
+ readonly time: number;
77
+ readonly tag: string;
76
78
  readonly autoStart: boolean;
77
79
  readonly emitEvents: boolean;
78
80
  readonly interval: number;
79
- readonly tag: string;
80
- readonly time: number;
81
81
  readonly transform: Function;
82
82
  }, {}>>;
83
83
  export default _default;
@@ -39,7 +39,7 @@ declare const _sfc_main: DefineComponent<{
39
39
  totalHours: ComputedRef<number>;
40
40
  totalSeconds: ComputedRef<number>;
41
41
  totalMinutes: ComputedRef<number>;
42
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("start" | "progress" | "end")[], "start" | "progress" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
42
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("progress" | "start" | "end")[], "progress" | "start" | "end", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
43
43
  readonly autoStart: {
44
44
  readonly type: BooleanConstructor;
45
45
  readonly default: true;
@@ -71,11 +71,11 @@ declare const _sfc_main: DefineComponent<{
71
71
  onStart?: ((...args: any[]) => any) | undefined;
72
72
  onEnd?: ((...args: any[]) => any) | undefined;
73
73
  }, {
74
+ readonly time: number;
75
+ readonly tag: string;
74
76
  readonly autoStart: boolean;
75
77
  readonly emitEvents: boolean;
76
78
  readonly interval: number;
77
- readonly tag: string;
78
- readonly time: number;
79
79
  readonly transform: Function;
80
80
  }, {}>;
81
81
  export default _sfc_main;
@@ -6,7 +6,7 @@ export * from './src/currency-type';
6
6
  export { QInputCurrency };
7
7
  declare const _default: SFCWithInstall<DefineComponent<{
8
8
  readonly required: {
9
- readonly type: PropType<"0" | "1">;
9
+ readonly type: PropType<"1" | "0">;
10
10
  readonly default: "";
11
11
  readonly validator: typeof requiredValidator;
12
12
  };
@@ -61,7 +61,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
61
61
  formatFloat: (value: any, dataFormat: string, setLength?: number | undefined) => string;
62
62
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
63
63
  readonly required: {
64
- readonly type: PropType<"0" | "1">;
64
+ readonly type: PropType<"1" | "0">;
65
65
  readonly default: "";
66
66
  readonly validator: typeof requiredValidator;
67
67
  };
@@ -100,7 +100,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
100
100
  readonly disabled: boolean;
101
101
  readonly placeholder: string;
102
102
  readonly value: number;
103
- readonly required: "0" | "1";
103
+ readonly required: "1" | "0";
104
104
  readonly configData: Record<string, any>;
105
105
  readonly inputType: string;
106
106
  readonly showInputNumber: boolean;
@@ -2,7 +2,7 @@ import { ExtractPropTypes, PropType, ComputedRef, Ref } from 'vue';
2
2
  export declare function requiredValidator(val: string): boolean;
3
3
  export declare const inputCurrencyProps: {
4
4
  readonly required: {
5
- readonly type: PropType<"0" | "1">;
5
+ readonly type: PropType<"1" | "0">;
6
6
  readonly default: "";
7
7
  readonly validator: typeof requiredValidator;
8
8
  };
@@ -2,7 +2,7 @@ import type { requiredValidator } from './currency-type';
2
2
  import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref } from 'vue';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  readonly required: {
5
- readonly type: PropType<"0" | "1">;
5
+ readonly type: PropType<"1" | "0">;
6
6
  readonly default: "";
7
7
  readonly validator: typeof requiredValidator;
8
8
  };
@@ -57,7 +57,7 @@ declare const _sfc_main: DefineComponent<{
57
57
  formatFloat: (value: any, dataFormat: string, setLength?: number | undefined) => string;
58
58
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
59
59
  readonly required: {
60
- readonly type: PropType<"0" | "1">;
60
+ readonly type: PropType<"1" | "0">;
61
61
  readonly default: "";
62
62
  readonly validator: typeof requiredValidator;
63
63
  };
@@ -96,7 +96,7 @@ declare const _sfc_main: DefineComponent<{
96
96
  readonly disabled: boolean;
97
97
  readonly placeholder: string;
98
98
  readonly value: number;
99
- readonly required: "0" | "1";
99
+ readonly required: "1" | "0";
100
100
  readonly configData: Record<string, any>;
101
101
  readonly inputType: string;
102
102
  readonly showInputNumber: boolean;
@@ -1,5 +1,4 @@
1
- import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
2
- import type { RecordStringNumber } from '../select-modal';
1
+ import type { RecordString } from '../select-modal';
3
2
  import type { PageButton, FormFieldsItem } from '../edit-page-layout';
4
3
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
4
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
@@ -43,19 +42,22 @@ declare const _default: SFCWithInstall<DefineComponent<{
43
42
  readonly default: true;
44
43
  };
45
44
  readonly enableTile: {
46
- readonly type: PropType<"0" | "1">;
45
+ readonly type: PropType<"1" | "0">;
47
46
  readonly default: "1";
48
47
  };
49
48
  }, {
49
+ fieldTypes: string[];
50
+ dictTextFieldTypes: string[];
50
51
  shake: Ref<boolean>;
51
52
  classes: ComputedRef<{
52
53
  [key: string]: string | boolean;
53
54
  }>;
54
55
  groupCode: Ref<string>;
55
56
  noHiddenFieldFormFields: ComputedRef<FormFieldsItem[]>;
56
- pageData: Ref<RecordStringNumber>;
57
+ pageData: Ref<RecordString>;
58
+ formData: Ref<RecordString>;
57
59
  handleProps: (field: FormFieldsItem) => {
58
- row: Ref<RecordStringNumber>;
60
+ row: Ref<RecordString>;
59
61
  rowIndex: number;
60
62
  columnItem: FormFieldsItem;
61
63
  uploadBtnStatus: boolean;
@@ -64,9 +66,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
64
66
  };
65
67
  getSpan: (field: FormFieldsItem) => number;
66
68
  getStaticSelectLabel: (field: FormFieldsItem) => string;
67
- screens: Ref<Partial<Record<Breakpoint, boolean>>>;
68
69
  EditorList: Ref<FormFieldsItem[] | undefined>;
69
70
  editorName: Ref<string>;
71
+ handleCodeChange: (value: string, config: FormFieldsItem) => void;
72
+ handleLick: (formData: RecordString, field: FormFieldsItem) => void;
70
73
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
71
74
  readonly groupName: {
72
75
  readonly type: PropType<string>;
@@ -105,7 +108,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
105
108
  readonly default: true;
106
109
  };
107
110
  readonly enableTile: {
108
- readonly type: PropType<"0" | "1">;
111
+ readonly type: PropType<"1" | "0">;
109
112
  readonly default: "1";
110
113
  };
111
114
  }>>, {
@@ -118,6 +121,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
118
121
  readonly sortOrder: string;
119
122
  readonly formFields: FormFieldsItem[];
120
123
  readonly shake: boolean;
121
- readonly enableTile: "0" | "1";
124
+ readonly enableTile: "1" | "0";
122
125
  }, {}>>;
123
126
  export default _default;
@@ -1,6 +1,5 @@
1
- import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
2
- import type { DefineComponent, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, Ref } from 'vue';
3
- import type { PageButton, FormFieldsItem, RecordStringNumber } from '../../edit-page-layout';
1
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import type { PageButton, FormFieldsItem, RecordString } from '../../edit-page-layout';
4
3
  declare const _sfc_main: DefineComponent<{
5
4
  readonly groupName: {
6
5
  readonly type: PropType<string>;
@@ -39,19 +38,22 @@ declare const _sfc_main: DefineComponent<{
39
38
  readonly default: true;
40
39
  };
41
40
  readonly enableTile: {
42
- readonly type: PropType<"0" | "1">;
41
+ readonly type: PropType<"1" | "0">;
43
42
  readonly default: "1";
44
43
  };
45
44
  }, {
45
+ fieldTypes: string[];
46
+ dictTextFieldTypes: string[];
46
47
  shake: Ref<boolean>;
47
48
  classes: ComputedRef<{
48
49
  [key: string]: string | boolean;
49
50
  }>;
50
51
  groupCode: Ref<string>;
51
52
  noHiddenFieldFormFields: ComputedRef<FormFieldsItem[]>;
52
- pageData: Ref<RecordStringNumber>;
53
+ pageData: Ref<RecordString>;
54
+ formData: Ref<RecordString>;
53
55
  handleProps: (field: FormFieldsItem) => {
54
- row: Ref<RecordStringNumber>;
56
+ row: Ref<RecordString>;
55
57
  rowIndex: number;
56
58
  columnItem: FormFieldsItem;
57
59
  uploadBtnStatus: boolean;
@@ -60,9 +62,10 @@ declare const _sfc_main: DefineComponent<{
60
62
  };
61
63
  getSpan: (field: FormFieldsItem) => number;
62
64
  getStaticSelectLabel: (field: FormFieldsItem) => string;
63
- screens: Ref<Partial<Record<Breakpoint, boolean>>>;
64
65
  EditorList: Ref<FormFieldsItem[] | undefined>;
65
66
  editorName: Ref<string>;
67
+ handleCodeChange: (value: string, config: FormFieldsItem) => void;
68
+ handleLick: (formData: RecordString, field: FormFieldsItem) => void;
66
69
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
67
70
  readonly groupName: {
68
71
  readonly type: PropType<string>;
@@ -101,7 +104,7 @@ declare const _sfc_main: DefineComponent<{
101
104
  readonly default: true;
102
105
  };
103
106
  readonly enableTile: {
104
- readonly type: PropType<"0" | "1">;
107
+ readonly type: PropType<"1" | "0">;
105
108
  readonly default: "1";
106
109
  };
107
110
  }>>, {
@@ -114,6 +117,6 @@ declare const _sfc_main: DefineComponent<{
114
117
  readonly sortOrder: string;
115
118
  readonly formFields: FormFieldsItem[];
116
119
  readonly shake: boolean;
117
- readonly enableTile: "0" | "1";
120
+ readonly enableTile: "1" | "0";
118
121
  }, {}>;
119
122
  export default _sfc_main;
@@ -1,5 +1,5 @@
1
1
  import type { ruleItem } from './src/hook/use-grid-config-hook';
2
- import type { RecordStringNumber } from '../select-modal';
2
+ import type { RecordString } from '../select-modal';
3
3
  import type { VxeGridProps, VxeTableDataRow, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
4
4
  import type { PageButton, ColumnItem, PageButtonWithGroupCode, PageDownLoadButton, GridCheckboxChangeParams, GridCheckboxAllParams } from '../edit-page-layout';
5
5
  import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
@@ -11,6 +11,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
11
11
  readonly type: PropType<string>;
12
12
  readonly default: "";
13
13
  };
14
+ readonly total: {
15
+ readonly type: ObjectConstructor;
16
+ readonly default: {};
17
+ };
14
18
  readonly groupNameI18nKey: {
15
19
  readonly type: PropType<string>;
16
20
  readonly default: "";
@@ -815,7 +819,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
815
819
  visibleMethod?: ((params: {
816
820
  row: VxeTableDataRow;
817
821
  }) => boolean) | undefined;
818
- trigger?: "" | "default" | "row" | "cell" | null | undefined;
822
+ trigger?: "" | "row" | "default" | "cell" | null | undefined;
819
823
  highlight?: boolean | undefined;
820
824
  strict?: boolean | undefined;
821
825
  } | undefined;
@@ -835,7 +839,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
835
839
  visibleMethod?: ((params: {
836
840
  row: VxeTableDataRow;
837
841
  }) => boolean) | undefined;
838
- trigger?: "" | "default" | "row" | "cell" | null | undefined;
842
+ trigger?: "" | "row" | "default" | "cell" | null | undefined;
839
843
  highlight?: boolean | undefined;
840
844
  range?: boolean | undefined;
841
845
  } | undefined;
@@ -855,7 +859,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
855
859
  columnIndex: number;
856
860
  $columnIndex: number;
857
861
  _columnIndex: number;
858
- type: "" | "header" | "footer" | "body" | null;
862
+ type: "" | "body" | "footer" | "header" | null;
859
863
  cell: HTMLElement;
860
864
  $event: any;
861
865
  }) => string | void | null) | undefined;
@@ -1565,7 +1569,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
1565
1569
  expandAll?: boolean | undefined;
1566
1570
  expandRowKeys?: string[] | number[] | undefined;
1567
1571
  accordion?: boolean | undefined;
1568
- trigger?: "" | "default" | "row" | "cell" | null | undefined;
1572
+ trigger?: "" | "row" | "default" | "cell" | null | undefined;
1569
1573
  lazy?: boolean | undefined;
1570
1574
  reserve?: boolean | undefined;
1571
1575
  height?: number | undefined;
@@ -1602,7 +1606,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
1602
1606
  expandAll?: boolean | undefined;
1603
1607
  expandRowKeys?: string[] | number[] | undefined;
1604
1608
  accordion?: boolean | undefined;
1605
- trigger?: "" | "default" | "row" | "cell" | null | undefined;
1609
+ trigger?: "" | "row" | "default" | "cell" | null | undefined;
1606
1610
  lazy?: boolean | undefined;
1607
1611
  hasChild?: string | undefined;
1608
1612
  reserve?: boolean | undefined;
@@ -2306,14 +2310,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
2306
2310
  slots?: {
2307
2311
  buttons?: string | ((params: {
2308
2312
  [key: string]: any;
2309
- }) => string[] | JSX.Element | VNode<RendererNode, RendererElement, {
2313
+ }) => string[] | JSX.Element | JSX.Element[] | VNode<RendererNode, RendererElement, {
2310
2314
  [key: string]: any;
2311
- }>[] | JSX.Element[]) | undefined;
2315
+ }>[]) | undefined;
2312
2316
  tools?: string | ((params: {
2313
2317
  [key: string]: any;
2314
- }) => string[] | JSX.Element | VNode<RendererNode, RendererElement, {
2318
+ }) => string[] | JSX.Element | JSX.Element[] | VNode<RendererNode, RendererElement, {
2315
2319
  [key: string]: any;
2316
- }>[] | JSX.Element[]) | undefined;
2320
+ }>[]) | undefined;
2317
2321
  } | undefined;
2318
2322
  size?: SizeType | undefined;
2319
2323
  id?: string | undefined;
@@ -2576,12 +2580,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
2576
2580
  cellType?: "string" | "number" | undefined;
2577
2581
  } | undefined;
2578
2582
  slots?: {
2579
- title?: string | ((params: FormItemTitleRenderParams) => string[] | VNode<RendererNode, RendererElement, {
2583
+ title?: string | ((params: FormItemTitleRenderParams) => string[] | JSX.Element[] | VNode<RendererNode, RendererElement, {
2580
2584
  [key: string]: any;
2581
- }>[] | JSX.Element[]) | null | undefined;
2582
- default?: string | ((params: FormItemContentRenderParams) => string[] | VNode<RendererNode, RendererElement, {
2585
+ }>[]) | null | undefined;
2586
+ default?: string | ((params: FormItemContentRenderParams) => string[] | JSX.Element[] | VNode<RendererNode, RendererElement, {
2583
2587
  [key: string]: any;
2584
- }>[] | JSX.Element[]) | null | undefined;
2588
+ }>[]) | null | undefined;
2585
2589
  } | undefined;
2586
2590
  children?: any[] | undefined;
2587
2591
  }[] | undefined;
@@ -2618,7 +2622,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
2618
2622
  escRestore?: boolean | undefined;
2619
2623
  } | undefined;
2620
2624
  };
2621
- pageData: Ref<RecordStringNumber>;
2625
+ pageData: Ref<RecordString>;
2622
2626
  handleDeleteRow: (btn: PageButtonWithGroupCode) => void;
2623
2627
  handleDownLoadAll: (btn: PageDownLoadButton) => void;
2624
2628
  computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
@@ -2631,6 +2635,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
2631
2635
  readonly type: PropType<string>;
2632
2636
  readonly default: "";
2633
2637
  };
2638
+ readonly total: {
2639
+ readonly type: ObjectConstructor;
2640
+ readonly default: {};
2641
+ };
2634
2642
  readonly groupNameI18nKey: {
2635
2643
  readonly type: PropType<string>;
2636
2644
  readonly default: "";
@@ -2668,6 +2676,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
2668
2676
  readonly default: true;
2669
2677
  };
2670
2678
  }>>, {
2679
+ readonly total: Record<string, any>;
2671
2680
  readonly columns: ColumnItem[];
2672
2681
  readonly buttons: PageButton[];
2673
2682
  readonly extend: Record<string, any>;
@@ -1,12 +1,16 @@
1
1
  import type { ruleItem } from './hook/use-grid-config-hook';
2
2
  import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
- import type { ColumnItem, PageButton, PageButtonWithGroupCode, RecordStringNumber, PageDownLoadButton, GridCheckboxChangeParams, GridCheckboxAllParams } from '../../edit-page-layout';
3
+ import type { ColumnItem, PageButton, PageButtonWithGroupCode, RecordString, PageDownLoadButton, GridCheckboxChangeParams, GridCheckboxAllParams } from '../../edit-page-layout';
4
4
  import type { VxeTableDataRow, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps } from 'vxe-table';
5
5
  declare const _sfc_main: DefineComponent<{
6
6
  readonly groupName: {
7
7
  readonly type: PropType<string>;
8
8
  readonly default: "";
9
9
  };
10
+ readonly total: {
11
+ readonly type: ObjectConstructor;
12
+ readonly default: {};
13
+ };
10
14
  readonly groupNameI18nKey: {
11
15
  readonly type: PropType<string>;
12
16
  readonly default: "";
@@ -811,7 +815,7 @@ declare const _sfc_main: DefineComponent<{
811
815
  visibleMethod?: ((params: {
812
816
  row: VxeTableDataRow;
813
817
  }) => boolean) | undefined;
814
- trigger?: "" | "default" | "row" | "cell" | null | undefined;
818
+ trigger?: "" | "row" | "default" | "cell" | null | undefined;
815
819
  highlight?: boolean | undefined;
816
820
  strict?: boolean | undefined;
817
821
  } | undefined;
@@ -831,7 +835,7 @@ declare const _sfc_main: DefineComponent<{
831
835
  visibleMethod?: ((params: {
832
836
  row: VxeTableDataRow;
833
837
  }) => boolean) | undefined;
834
- trigger?: "" | "default" | "row" | "cell" | null | undefined;
838
+ trigger?: "" | "row" | "default" | "cell" | null | undefined;
835
839
  highlight?: boolean | undefined;
836
840
  range?: boolean | undefined;
837
841
  } | undefined;
@@ -851,7 +855,7 @@ declare const _sfc_main: DefineComponent<{
851
855
  columnIndex: number;
852
856
  $columnIndex: number;
853
857
  _columnIndex: number;
854
- type: "" | "header" | "footer" | "body" | null;
858
+ type: "" | "body" | "footer" | "header" | null;
855
859
  cell: HTMLElement;
856
860
  $event: any;
857
861
  }) => string | void | null) | undefined;
@@ -1561,7 +1565,7 @@ declare const _sfc_main: DefineComponent<{
1561
1565
  expandAll?: boolean | undefined;
1562
1566
  expandRowKeys?: string[] | number[] | undefined;
1563
1567
  accordion?: boolean | undefined;
1564
- trigger?: "" | "default" | "row" | "cell" | null | undefined;
1568
+ trigger?: "" | "row" | "default" | "cell" | null | undefined;
1565
1569
  lazy?: boolean | undefined;
1566
1570
  reserve?: boolean | undefined;
1567
1571
  height?: number | undefined;
@@ -1598,7 +1602,7 @@ declare const _sfc_main: DefineComponent<{
1598
1602
  expandAll?: boolean | undefined;
1599
1603
  expandRowKeys?: string[] | number[] | undefined;
1600
1604
  accordion?: boolean | undefined;
1601
- trigger?: "" | "default" | "row" | "cell" | null | undefined;
1605
+ trigger?: "" | "row" | "default" | "cell" | null | undefined;
1602
1606
  lazy?: boolean | undefined;
1603
1607
  hasChild?: string | undefined;
1604
1608
  reserve?: boolean | undefined;
@@ -2302,14 +2306,14 @@ declare const _sfc_main: DefineComponent<{
2302
2306
  slots?: {
2303
2307
  buttons?: string | ((params: {
2304
2308
  [key: string]: any;
2305
- }) => string[] | JSX.Element | VNode<RendererNode, RendererElement, {
2309
+ }) => string[] | JSX.Element | JSX.Element[] | VNode<RendererNode, RendererElement, {
2306
2310
  [key: string]: any;
2307
- }>[] | JSX.Element[]) | undefined;
2311
+ }>[]) | undefined;
2308
2312
  tools?: string | ((params: {
2309
2313
  [key: string]: any;
2310
- }) => string[] | JSX.Element | VNode<RendererNode, RendererElement, {
2314
+ }) => string[] | JSX.Element | JSX.Element[] | VNode<RendererNode, RendererElement, {
2311
2315
  [key: string]: any;
2312
- }>[] | JSX.Element[]) | undefined;
2316
+ }>[]) | undefined;
2313
2317
  } | undefined;
2314
2318
  size?: SizeType | undefined;
2315
2319
  id?: string | undefined;
@@ -2572,12 +2576,12 @@ declare const _sfc_main: DefineComponent<{
2572
2576
  cellType?: "string" | "number" | undefined;
2573
2577
  } | undefined;
2574
2578
  slots?: {
2575
- title?: string | ((params: FormItemTitleRenderParams) => string[] | VNode<RendererNode, RendererElement, {
2579
+ title?: string | ((params: FormItemTitleRenderParams) => string[] | JSX.Element[] | VNode<RendererNode, RendererElement, {
2576
2580
  [key: string]: any;
2577
- }>[] | JSX.Element[]) | null | undefined;
2578
- default?: string | ((params: FormItemContentRenderParams) => string[] | VNode<RendererNode, RendererElement, {
2581
+ }>[]) | null | undefined;
2582
+ default?: string | ((params: FormItemContentRenderParams) => string[] | JSX.Element[] | VNode<RendererNode, RendererElement, {
2579
2583
  [key: string]: any;
2580
- }>[] | JSX.Element[]) | null | undefined;
2584
+ }>[]) | null | undefined;
2581
2585
  } | undefined;
2582
2586
  children?: any[] | undefined;
2583
2587
  }[] | undefined;
@@ -2614,7 +2618,7 @@ declare const _sfc_main: DefineComponent<{
2614
2618
  escRestore?: boolean | undefined;
2615
2619
  } | undefined;
2616
2620
  };
2617
- pageData: Ref<RecordStringNumber>;
2621
+ pageData: Ref<RecordString>;
2618
2622
  handleDeleteRow: (btn: PageButtonWithGroupCode) => void;
2619
2623
  handleDownLoadAll: (btn: PageDownLoadButton) => void;
2620
2624
  computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
@@ -2627,6 +2631,10 @@ declare const _sfc_main: DefineComponent<{
2627
2631
  readonly type: PropType<string>;
2628
2632
  readonly default: "";
2629
2633
  };
2634
+ readonly total: {
2635
+ readonly type: ObjectConstructor;
2636
+ readonly default: {};
2637
+ };
2630
2638
  readonly groupNameI18nKey: {
2631
2639
  readonly type: PropType<string>;
2632
2640
  readonly default: "";
@@ -2664,6 +2672,7 @@ declare const _sfc_main: DefineComponent<{
2664
2672
  readonly default: true;
2665
2673
  };
2666
2674
  }>>, {
2675
+ readonly total: Record<string, any>;
2667
2676
  readonly columns: ColumnItem[];
2668
2677
  readonly buttons: PageButton[];
2669
2678
  readonly extend: Record<string, any>;
@@ -1,10 +1,18 @@
1
- import type { RecordStringNumber } from '../select-modal';
2
- import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, Expose, PageButton, PageButtonPosition, pageButtonPositionValidator, ComputedFieldType } from '../edit-page-layout';
1
+ import type { RecordString } from '../select-modal';
2
+ import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, Expose, PageButton, PageButtonPosition, pageButtonPositionValidator, ComputedFormFieldsItem } from '../edit-page-layout';
3
3
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
4
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
5
5
  import QDetailPageLayout from './src/detail-page-layout.vue';
6
6
  export { QDetailPageLayout };
7
7
  declare const _default: SFCWithInstall<DefineComponent<{
8
+ showPageHeader: {
9
+ type: PropType<boolean>;
10
+ default: boolean;
11
+ };
12
+ showLayoutAnchor: {
13
+ type: PropType<boolean>;
14
+ default: boolean;
15
+ };
8
16
  isDetail: {
9
17
  type: PropType<boolean>;
10
18
  default: boolean;
@@ -78,13 +86,17 @@ declare const _default: SFCWithInstall<DefineComponent<{
78
86
  default: boolean;
79
87
  };
80
88
  localData: {
81
- type: PropType<RecordStringNumber>;
89
+ type: PropType<RecordString>;
82
90
  default(): {};
83
91
  };
84
92
  showBackIcon: {
85
93
  type: PropType<boolean>;
86
94
  default: boolean;
87
95
  };
96
+ pageTitle: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
88
100
  }, {
89
101
  instance: Ref<Expose | undefined>;
90
102
  classes: ComputedRef<{
@@ -97,8 +109,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
97
109
  patternDefault: string;
98
110
  patternAppend: string;
99
111
  }[];
100
- computedFieldSlots: ComputedRef<ComputedFieldType[]>;
112
+ computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
101
113
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
114
+ showPageHeader: {
115
+ type: PropType<boolean>;
116
+ default: boolean;
117
+ };
118
+ showLayoutAnchor: {
119
+ type: PropType<boolean>;
120
+ default: boolean;
121
+ };
102
122
  isDetail: {
103
123
  type: PropType<boolean>;
104
124
  default: boolean;
@@ -172,22 +192,28 @@ declare const _default: SFCWithInstall<DefineComponent<{
172
192
  default: boolean;
173
193
  };
174
194
  localData: {
175
- type: PropType<RecordStringNumber>;
195
+ type: PropType<RecordString>;
176
196
  default(): {};
177
197
  };
178
198
  showBackIcon: {
179
199
  type: PropType<boolean>;
180
200
  default: boolean;
181
201
  };
202
+ pageTitle: {
203
+ type: StringConstructor;
204
+ default: string;
205
+ };
182
206
  }>>, {
207
+ pattern: Pattern;
183
208
  currentRow: CurrentRow;
184
209
  businessType: string;
185
210
  token: string;
211
+ showPageHeader: boolean;
212
+ showLayoutAnchor: boolean;
186
213
  isDetail: boolean;
187
214
  role: Role;
188
215
  refreshMethods: (row?: CurrentRow | undefined) => void;
189
216
  userInfo: UserInfo;
190
- pattern: Pattern;
191
217
  localConfig: Partial<RemoteConfig>;
192
218
  handleAfterRemoteConfig: <T>(args: T) => T | Promise<T>;
193
219
  detailApi: string | DetailApiFunctionType;
@@ -197,7 +223,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
197
223
  pageButtonPosition: PageButtonPosition;
198
224
  hasAdd: boolean;
199
225
  isUseLocalData: boolean;
200
- localData: RecordStringNumber;
226
+ localData: RecordString;
201
227
  showBackIcon: boolean;
228
+ pageTitle: string;
202
229
  }, {}>>;
203
230
  export default _default;