@qqt-product/ui 0.0.15 → 0.0.17

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 (96) hide show
  1. package/dist/index.es.js +54568 -57030
  2. package/dist/index.umd.js +138 -200
  3. package/dist/lib/components/audit-modal/index.d.ts +13 -2
  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 +13 -2
  6. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +9 -0
  7. package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +10 -1
  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 +1 -1
  11. package/dist/lib/components/cascader/src/cascader.vue.d.ts +2 -1
  12. package/dist/lib/components/detail-form/index.d.ts +7 -5
  13. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +8 -6
  14. package/dist/lib/components/detail-grid/index.d.ts +11 -2
  15. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +11 -2
  16. package/dist/lib/components/detail-page-layout/index.d.ts +24 -6
  17. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +23 -5
  18. package/dist/lib/components/edit-form/index.d.ts +10 -10
  19. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +11 -11
  20. package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +7 -6
  21. package/dist/lib/components/edit-grid/index.d.ts +12 -2
  22. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +4 -0
  23. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +12 -2
  24. package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +2 -2
  25. package/dist/lib/components/edit-page-layout/index.d.ts +23 -5
  26. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +47 -35
  27. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +23 -5
  28. package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -1
  29. package/dist/lib/components/empty/index.d.ts +103 -0
  30. package/dist/lib/components/field-select-modal/index.d.ts +5 -0
  31. package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +5 -0
  32. package/dist/lib/components/index.d.ts +4 -1
  33. package/dist/lib/components/item-wrap/index.d.ts +2 -2
  34. package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +1 -1
  35. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +2 -2
  36. package/dist/lib/components/ladder-price/index.d.ts +6 -2
  37. package/dist/lib/components/ladder-price/src/LadderNotPriceModal.vue.d.ts +7 -3
  38. package/dist/lib/components/ladder-price/src/LadderPriceModal.vue.d.ts +3 -1
  39. package/dist/lib/components/ladder-price/src/hook/use-type-hook.d.ts +9 -0
  40. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +2 -2
  41. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +6 -2
  42. package/dist/lib/components/layout-buttons/index.d.ts +4 -2
  43. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +4 -2
  44. package/dist/lib/components/layout-pattern/index.d.ts +2 -2
  45. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +17 -13
  46. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +3 -2
  47. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +2 -2
  48. package/dist/lib/components/list-page-layout/index.d.ts +9 -1
  49. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +15 -3
  50. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -2
  51. package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +2 -2
  52. package/dist/lib/components/list-page-layout/src/hooks/use-list-params-hook.d.ts +7 -0
  53. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +9 -1
  54. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +9 -2
  55. package/dist/lib/components/menu/index.d.ts +84 -0
  56. package/dist/lib/components/menu/src/index.d.ts +80 -0
  57. package/dist/lib/components/menu/src/menu-types.d.ts +47 -0
  58. package/dist/lib/components/menu/src/use-menu.d.ts +2 -0
  59. package/dist/lib/components/page-layout/index.d.ts +4 -4
  60. package/dist/lib/components/page-layout/src/constant/buttons.d.ts +6 -6
  61. package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +3 -3
  62. package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +2 -2
  63. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +5 -3
  64. package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +3 -3
  65. package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +2 -2
  66. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +4 -4
  67. package/dist/lib/components/page-layout/src/token.d.ts +4 -4
  68. package/dist/lib/components/relation-graph/src/relation-graph-types.d.ts +2 -2
  69. package/dist/lib/components/remote-select/index.d.ts +5 -5
  70. package/dist/lib/components/remote-select/src/remote-select-types.d.ts +6 -6
  71. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
  72. package/dist/lib/components/rich-editor-model/index.d.ts +52 -0
  73. package/dist/lib/components/rich-editor-model/src/rich-editor-model-type.d.ts +14 -0
  74. package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +49 -0
  75. package/dist/lib/components/select-modal/index.d.ts +16 -7
  76. package/dist/lib/components/select-modal/src/select-modal-types.d.ts +6 -6
  77. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +16 -7
  78. package/dist/lib/components/tree-select/index.d.ts +4 -4
  79. package/dist/lib/components/tree-select/src/tree-select-types.d.ts +2 -2
  80. package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +4 -4
  81. package/dist/lib/components/upload-file/index.d.ts +5 -5
  82. package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +2 -32
  83. package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +2 -2
  84. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +6 -6
  85. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +5 -5
  86. package/dist/lib/components/upload-file-vxe/index.d.ts +8 -6
  87. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe-types.d.ts +2 -2
  88. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +8 -6
  89. package/dist/lib/components/upload-image/index.d.ts +10 -0
  90. package/dist/lib/components/upload-image/src/upload-image-type.d.ts +4 -0
  91. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +10 -0
  92. package/dist/lib/utils/event.d.ts +2 -2
  93. package/dist/style.css +1 -1
  94. package/package.json +8 -8
  95. package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +0 -8
  96. package/dist/vite.svg +0 -1
@@ -2,7 +2,7 @@ import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table'
2
2
  import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './src/component/field-select-modal-types';
3
3
  import type { UserOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UserOutlined';
4
4
  import type { RuleObject } from 'ant-design-vue/es/form';
5
- import type { RecordStringNumber } from '../select-modal';
5
+ import type { RecordString } from '../select-modal';
6
6
  import type { ObjectMap } from '../list-page-layout';
7
7
  import type { Request } from '@qqt-product/api/dist/utils/request';
8
8
  import type { Form } from './src/audit-modal-type';
@@ -56,6 +56,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
56
56
  type: StringConstructor;
57
57
  default: string;
58
58
  };
59
+ customParams: {
60
+ type: ObjectConstructor;
61
+ default: {};
62
+ };
59
63
  'onUpdate:visible': {
60
64
  type: PropType<((value: string) => void) | ((value: string) => void)[]>;
61
65
  default: unknown;
@@ -73,6 +77,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
73
77
  taskAction: Ref<string>;
74
78
  needFlow: Ref<string>;
75
79
  flowIframeUrl: Ref<string>;
80
+ customParams: Ref<Record<string, any>>;
76
81
  handleCancel: () => void;
77
82
  formRef: Ref<any>;
78
83
  confirmLoading: Ref<boolean>;
@@ -80,7 +85,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
80
85
  Request: Request;
81
86
  formState: ObjectMap;
82
87
  fieldSelectModal: Ref<any>;
83
- tagSelectOk: Ref<(data: RecordStringNumber[]) => void>;
88
+ tagSelectOk: Ref<(data: RecordString[]) => void>;
84
89
  selectUsers: Ref<((btn: Form) => void) | null>;
85
90
  delnextNodeUsers: (options: any[], index: number, userIndex: number) => void;
86
91
  selectnextNodeUsers: (index: number) => void;
@@ -94,6 +99,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
94
99
  };
95
100
  accept: string;
96
101
  };
102
+ initFormDefaultValue: () => void;
97
103
  readonly UserOutlined: UserOutlinedIconType;
98
104
  qFieldSelectModal: DefineComponent<{
99
105
  modalTitle: {
@@ -299,6 +305,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
299
305
  type: StringConstructor;
300
306
  default: string;
301
307
  };
308
+ customParams: {
309
+ type: ObjectConstructor;
310
+ default: {};
311
+ };
302
312
  'onUpdate:visible': {
303
313
  type: PropType<((value: string) => void) | ((value: string) => void)[]>;
304
314
  default: unknown;
@@ -320,5 +330,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
320
330
  taskAction: string;
321
331
  needFlow: string;
322
332
  flowIframeUrl: string;
333
+ customParams: Record<string, any>;
323
334
  }, {}>>;
324
335
  export default _default;
@@ -45,6 +45,10 @@ export declare const auditModalProps: {
45
45
  type: StringConstructor;
46
46
  default: string;
47
47
  };
48
+ customParams: {
49
+ type: ObjectConstructor;
50
+ default: {};
51
+ };
48
52
  'onUpdate:visible': {
49
53
  type: PropType<((value: string) => void) | ((value: string) => void)[]>;
50
54
  default: unknown;
@@ -2,7 +2,7 @@ import type { VxeTableProps, VxeTableDataRow, VxeGridInstance } from 'vxe-table'
2
2
  import type { RequestMethod, ModalConfig, ModalType, OpenFuncType, TablePage } from './component/field-select-modal-types';
3
3
  import type { UserOutlinedIconType } from '@ant-design/icons-vue/lib/icons/UserOutlined';
4
4
  import type { RuleObject } from 'ant-design-vue/es/form';
5
- import type { RecordStringNumber } from '../../select-modal';
5
+ import type { RecordString } from '../../select-modal';
6
6
  import type { Form } from './audit-modal-type';
7
7
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
8
8
  import { ObjectMap } from '../../list-page-layout/src/list-page-layout-types';
@@ -52,6 +52,10 @@ declare const _sfc_main: DefineComponent<{
52
52
  type: StringConstructor;
53
53
  default: string;
54
54
  };
55
+ customParams: {
56
+ type: ObjectConstructor;
57
+ default: {};
58
+ };
55
59
  'onUpdate:visible': {
56
60
  type: PropType<((value: string) => void) | ((value: string) => void)[]>;
57
61
  default: unknown;
@@ -69,6 +73,7 @@ declare const _sfc_main: DefineComponent<{
69
73
  taskAction: Ref<string>;
70
74
  needFlow: Ref<string>;
71
75
  flowIframeUrl: Ref<string>;
76
+ customParams: Ref<Record<string, any>>;
72
77
  handleCancel: () => void;
73
78
  formRef: Ref<any>;
74
79
  confirmLoading: Ref<boolean>;
@@ -76,7 +81,7 @@ declare const _sfc_main: DefineComponent<{
76
81
  Request: qqtApi.Request;
77
82
  formState: ObjectMap;
78
83
  fieldSelectModal: Ref<any>;
79
- tagSelectOk: Ref<(data: RecordStringNumber[]) => void>;
84
+ tagSelectOk: Ref<(data: RecordString[]) => void>;
80
85
  selectUsers: Ref<((btn: Form) => void) | null>;
81
86
  delnextNodeUsers: (options: any[], index: number, userIndex: number) => void;
82
87
  selectnextNodeUsers: (index: number) => void;
@@ -90,6 +95,7 @@ declare const _sfc_main: DefineComponent<{
90
95
  };
91
96
  accept: string;
92
97
  };
98
+ initFormDefaultValue: () => void;
93
99
  readonly UserOutlined: UserOutlinedIconType;
94
100
  qFieldSelectModal: DefineComponent<{
95
101
  modalTitle: {
@@ -295,6 +301,10 @@ declare const _sfc_main: DefineComponent<{
295
301
  type: StringConstructor;
296
302
  default: string;
297
303
  };
304
+ customParams: {
305
+ type: ObjectConstructor;
306
+ default: {};
307
+ };
298
308
  'onUpdate:visible': {
299
309
  type: PropType<((value: string) => void) | ((value: string) => void)[]>;
300
310
  default: unknown;
@@ -316,5 +326,6 @@ declare const _sfc_main: DefineComponent<{
316
326
  taskAction: string;
317
327
  needFlow: string;
318
328
  flowIframeUrl: string;
329
+ customParams: Record<string, any>;
319
330
  }, {}>;
320
331
  export default _sfc_main;
@@ -48,6 +48,10 @@ declare const _sfc_main: DefineComponent<{
48
48
  type: StringConstructor;
49
49
  default: string;
50
50
  };
51
+ customParams: {
52
+ type: ObjectConstructor;
53
+ default: {};
54
+ };
51
55
  'onUpdate:visible': {
52
56
  type: PropType<((value: string) => void) | ((value: string) => void)[]>;
53
57
  default: unknown;
@@ -650,6 +654,10 @@ declare const _sfc_main: DefineComponent<{
650
654
  type: StringConstructor;
651
655
  default: string;
652
656
  };
657
+ customParams: {
658
+ type: ObjectConstructor;
659
+ default: {};
660
+ };
653
661
  'onUpdate:visible': {
654
662
  type: PropType<((value: string) => void) | ((value: string) => void)[]>;
655
663
  default: unknown;
@@ -671,5 +679,6 @@ declare const _sfc_main: DefineComponent<{
671
679
  taskAction: string;
672
680
  needFlow: string;
673
681
  flowIframeUrl: string;
682
+ customParams: Record<string, any>;
674
683
  }, {}>;
675
684
  export default _sfc_main;
@@ -48,6 +48,10 @@ declare const _sfc_main: DefineComponent<{
48
48
  type: StringConstructor;
49
49
  default: string;
50
50
  };
51
+ customParams: {
52
+ type: ObjectConstructor;
53
+ default: {};
54
+ };
51
55
  'onUpdate:visible': {
52
56
  type: PropType<((value: string) => void) | ((value: string) => void)[]>;
53
57
  default: unknown;
@@ -64,7 +68,7 @@ declare const _sfc_main: DefineComponent<{
64
68
  useAttachmentSlots: () => {
65
69
  default: ({ row }: {
66
70
  row: ObjectMap;
67
- }) => any;
71
+ }) => JSX.Element[];
68
72
  };
69
73
  tableColumns: {
70
74
  children?: any[] | undefined;
@@ -381,6 +385,10 @@ declare const _sfc_main: DefineComponent<{
381
385
  type: StringConstructor;
382
386
  default: string;
383
387
  };
388
+ customParams: {
389
+ type: ObjectConstructor;
390
+ default: {};
391
+ };
384
392
  'onUpdate:visible': {
385
393
  type: PropType<((value: string) => void) | ((value: string) => void)[]>;
386
394
  default: unknown;
@@ -402,5 +410,6 @@ declare const _sfc_main: DefineComponent<{
402
410
  taskAction: string;
403
411
  needFlow: string;
404
412
  flowIframeUrl: string;
413
+ customParams: Record<string, any>;
405
414
  }, {}>;
406
415
  export default _sfc_main;
@@ -4,7 +4,7 @@ export default function (spinning: Ref<boolean>, currentRow?: ObjectMap, getHist
4
4
  useAttachmentSlots: () => {
5
5
  default: ({ row }: {
6
6
  row: ObjectMap;
7
- }) => any;
7
+ }) => JSX.Element[];
8
8
  };
9
9
  useHistorySlots: () => {
10
10
  default: ({ row }: {
@@ -1,9 +1,9 @@
1
1
  import type { Ref } from 'vue';
2
- import { RecordStringNumber } from '../../../edit-page-layout/src/edit-page-layout-types';
2
+ import { RecordString } from '../../../edit-page-layout/src/edit-page-layout-types';
3
3
  import { ObjectMap } from '../../../list-page-layout/src/list-page-layout-types';
4
4
  import { Form } from '../audit-modal-type';
5
5
  export default function useFieldSelectModal(formState: ObjectMap): {
6
6
  fieldSelectModal: Ref<any>;
7
7
  selectUsers: Ref<((btn: Form) => void) | null>;
8
- tagSelectOk: Ref<(data: RecordStringNumber[]) => void>;
8
+ tagSelectOk: Ref<(data: RecordString[]) => void>;
9
9
  };
@@ -47,7 +47,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
47
47
  value?: string | number | null | undefined;
48
48
  disabled?: boolean | undefined;
49
49
  }[] | undefined>;
50
- onChange: (value: string) => void;
50
+ onChange: (value: string[], selectedOptions: CascaderOptionType[] | undefined) => void;
51
51
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
52
52
  readonly value: {
53
53
  readonly type: StringConstructor;
@@ -1,5 +1,6 @@
1
1
  import type { CascaderOptionType } from 'ant-design-vue/lib/cascader';
2
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
+ import type { CascaderProps } from 'ant-design-vue';
3
4
  declare const _sfc_main: DefineComponent<{
4
5
  readonly value: {
5
6
  readonly type: StringConstructor;
@@ -43,7 +44,7 @@ declare const _sfc_main: DefineComponent<{
43
44
  value?: string | number | null | undefined;
44
45
  disabled?: boolean | undefined;
45
46
  }[] | undefined>;
46
- onChange: (value: string) => void;
47
+ onChange: (value: string[], selectedOptions: CascaderProps['options']) => void;
47
48
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
48
49
  readonly value: {
49
50
  readonly type: StringConstructor;
@@ -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';
@@ -47,15 +46,18 @@ declare const _default: SFCWithInstall<DefineComponent<{
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,9 @@ 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;
70
72
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
71
73
  readonly groupName: {
72
74
  readonly type: PropType<string>;
@@ -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>;
@@ -43,15 +42,18 @@ declare const _sfc_main: DefineComponent<{
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,9 @@ 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;
66
68
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
67
69
  readonly groupName: {
68
70
  readonly type: PropType<string>;
@@ -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: "";
@@ -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: "";
@@ -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,14 @@
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
+ };
8
12
  isDetail: {
9
13
  type: PropType<boolean>;
10
14
  default: boolean;
@@ -78,13 +82,17 @@ declare const _default: SFCWithInstall<DefineComponent<{
78
82
  default: boolean;
79
83
  };
80
84
  localData: {
81
- type: PropType<RecordStringNumber>;
85
+ type: PropType<RecordString>;
82
86
  default(): {};
83
87
  };
84
88
  showBackIcon: {
85
89
  type: PropType<boolean>;
86
90
  default: boolean;
87
91
  };
92
+ pageTitle: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
88
96
  }, {
89
97
  instance: Ref<Expose | undefined>;
90
98
  classes: ComputedRef<{
@@ -97,8 +105,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
97
105
  patternDefault: string;
98
106
  patternAppend: string;
99
107
  }[];
100
- computedFieldSlots: ComputedRef<ComputedFieldType[]>;
108
+ computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
101
109
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
110
+ showPageHeader: {
111
+ type: PropType<boolean>;
112
+ default: boolean;
113
+ };
102
114
  isDetail: {
103
115
  type: PropType<boolean>;
104
116
  default: boolean;
@@ -172,17 +184,22 @@ declare const _default: SFCWithInstall<DefineComponent<{
172
184
  default: boolean;
173
185
  };
174
186
  localData: {
175
- type: PropType<RecordStringNumber>;
187
+ type: PropType<RecordString>;
176
188
  default(): {};
177
189
  };
178
190
  showBackIcon: {
179
191
  type: PropType<boolean>;
180
192
  default: boolean;
181
193
  };
194
+ pageTitle: {
195
+ type: StringConstructor;
196
+ default: string;
197
+ };
182
198
  }>>, {
183
199
  currentRow: CurrentRow;
184
200
  businessType: string;
185
201
  token: string;
202
+ showPageHeader: boolean;
186
203
  isDetail: boolean;
187
204
  role: Role;
188
205
  refreshMethods: (row?: CurrentRow | undefined) => void;
@@ -197,7 +214,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
197
214
  pageButtonPosition: PageButtonPosition;
198
215
  hasAdd: boolean;
199
216
  isUseLocalData: boolean;
200
- localData: RecordStringNumber;
217
+ localData: RecordString;
201
218
  showBackIcon: boolean;
219
+ pageTitle: string;
202
220
  }, {}>>;
203
221
  export default _default;
@@ -1,6 +1,10 @@
1
1
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButtonPosition, pageButtonPositionValidator, RecordStringNumber, Expose, PageButton, ComputedFieldType } from '../../edit-page-layout';
2
+ import type { Role, roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButtonPosition, pageButtonPositionValidator, RecordString, Expose, PageButton, ComputedFormFieldsItem } from '../../edit-page-layout';
3
3
  declare const _sfc_main: DefineComponent<{
4
+ showPageHeader: {
5
+ type: PropType<boolean>;
6
+ default: boolean;
7
+ };
4
8
  isDetail: {
5
9
  type: PropType<boolean>;
6
10
  default: boolean;
@@ -74,13 +78,17 @@ declare const _sfc_main: DefineComponent<{
74
78
  default: boolean;
75
79
  };
76
80
  localData: {
77
- type: PropType<RecordStringNumber>;
81
+ type: PropType<RecordString>;
78
82
  default(): {};
79
83
  };
80
84
  showBackIcon: {
81
85
  type: PropType<boolean>;
82
86
  default: boolean;
83
87
  };
88
+ pageTitle: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
84
92
  }, {
85
93
  instance: Ref<Expose | undefined>;
86
94
  classes: ComputedRef<{
@@ -93,8 +101,12 @@ declare const _sfc_main: DefineComponent<{
93
101
  patternDefault: string;
94
102
  patternAppend: string;
95
103
  }[];
96
- computedFieldSlots: ComputedRef<ComputedFieldType[]>;
104
+ computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
97
105
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
106
+ showPageHeader: {
107
+ type: PropType<boolean>;
108
+ default: boolean;
109
+ };
98
110
  isDetail: {
99
111
  type: PropType<boolean>;
100
112
  default: boolean;
@@ -168,17 +180,22 @@ declare const _sfc_main: DefineComponent<{
168
180
  default: boolean;
169
181
  };
170
182
  localData: {
171
- type: PropType<RecordStringNumber>;
183
+ type: PropType<RecordString>;
172
184
  default(): {};
173
185
  };
174
186
  showBackIcon: {
175
187
  type: PropType<boolean>;
176
188
  default: boolean;
177
189
  };
190
+ pageTitle: {
191
+ type: StringConstructor;
192
+ default: string;
193
+ };
178
194
  }>>, {
179
195
  currentRow: CurrentRow;
180
196
  businessType: string;
181
197
  token: string;
198
+ showPageHeader: boolean;
182
199
  isDetail: boolean;
183
200
  role: Role;
184
201
  refreshMethods: (row?: CurrentRow | undefined) => void;
@@ -193,7 +210,8 @@ declare const _sfc_main: DefineComponent<{
193
210
  pageButtonPosition: PageButtonPosition;
194
211
  hasAdd: boolean;
195
212
  isUseLocalData: boolean;
196
- localData: RecordStringNumber;
213
+ localData: RecordString;
197
214
  showBackIcon: boolean;
215
+ pageTitle: string;
198
216
  }, {}>;
199
217
  export default _sfc_main;
@@ -1,8 +1,9 @@
1
1
  import type { MixSelectArgs } from '../select';
2
2
  import type { TreeSelectPayload } from '../tree-select';
3
+ import type { CascaderOptionType } from 'ant-design-vue/lib/cascader';
3
4
  import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
4
5
  import type { PickerLocale } from 'ant-design-vue/es/date-picker/generatePicker';
5
- import type { RecordStringNumber } from '../select-modal';
6
+ import type { RecordString } from '../select-modal';
6
7
  import type { RuleObject } from 'ant-design-vue/es/form';
7
8
  import type { FormInstance } from 'ant-design-vue';
8
9
  import type { PageButton, FormFieldsItem, FormFieldsItemUpload } from '../edit-page-layout';
@@ -61,7 +62,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
61
62
  }>;
62
63
  noHiddenFieldFormFields: ComputedRef<FormFieldsItem[]>;
63
64
  rules: ComputedRef<Record<string, RuleObject[]>>;
64
- pageData: Ref<RecordStringNumber>;
65
+ pageData: Ref<RecordString>;
66
+ formData: Ref<RecordString>;
65
67
  locale: PickerLocale;
66
68
  getColConfig: (field: FormFieldsItem) => {
67
69
  xs: number;
@@ -73,12 +75,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
73
75
  xxxl: number;
74
76
  };
75
77
  handleProps: (field: FormFieldsItem) => {
76
- row: Ref<RecordStringNumber>;
78
+ row: Ref<RecordString>;
77
79
  rowIndex: number;
78
80
  columnItem: FormFieldsItem;
79
- uploadBtnStatus: {};
80
81
  groupType: string;
81
- operationBtn: unknown;
82
82
  };
83
83
  screens: Ref<Partial<Record<Breakpoint, boolean>>>;
84
84
  handleUploadData: (file: FormFieldsItemUpload) => {
@@ -88,16 +88,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
88
88
  resetForm: () => void;
89
89
  handleInputBlur: (event: Event, config: FormFieldsItem) => void;
90
90
  handleSwitchChange: (value: string, config: FormFieldsItem) => void;
91
- handleSelectChange: (value: string, config: FormFieldsItem) => void;
91
+ handleSelectChange: (value: string, selectedOptions: CascaderOptionType[] | undefined, config: FormFieldsItem) => void;
92
92
  handleTreeSelectChange: ({ value, label, extra }: TreeSelectPayload, config: FormFieldsItem) => void;
93
- handleMixSelectChange: ({ value }: MixSelectArgs, config: FormFieldsItem) => void;
93
+ handleMixSelectChange: ({ value, label }: MixSelectArgs, config: FormFieldsItem) => void;
94
94
  handleRadioChange: (value: string, config: FormFieldsItem) => void;
95
95
  handleUploadChange: (value: string, config: FormFieldsItem) => void;
96
96
  handleCurrencyChange: (value: string, config: FormFieldsItem) => void;
97
- handleRemoteSelectChange: (data: RecordStringNumber[], config: FormFieldsItem) => void;
98
- handleSelectModalChange: (data: RecordStringNumber[], config: FormFieldsItem) => void;
97
+ handleRemoteSelectChange: (data: RecordString[], config: FormFieldsItem) => void;
98
+ handleSelectModalChange: (data: RecordString[], config: FormFieldsItem) => void;
99
99
  handleCustomSelectModelClick: (config: FormFieldsItem) => void;
100
- handleLadderPriceAfterSelect: (data: RecordStringNumber[], config: FormFieldsItem) => void;
100
+ handleLadderPriceAfterSelect: (data: RecordString[], config: FormFieldsItem) => void;
101
101
  handleDateChange: (value: string, config: FormFieldsItem) => void;
102
102
  handleCodeChange: (value: string, config: FormFieldsItem) => void;
103
103
  filterOption: (input: string, option: any) => boolean;