@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
@@ -0,0 +1,103 @@
1
+ import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
2
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
3
+ declare const emptyProps: {
4
+ readonly noMsg: {
5
+ readonly type: PropType<string>;
6
+ readonly default: "暂无数据";
7
+ };
8
+ readonly size: {
9
+ readonly type: PropType<string>;
10
+ readonly default: "60";
11
+ };
12
+ readonly color: {
13
+ readonly type: PropType<string>;
14
+ readonly default: "#667187";
15
+ };
16
+ readonly mode: {
17
+ readonly type: PropType<"vertical" | "horizontal">;
18
+ readonly default: "horizontal";
19
+ };
20
+ };
21
+ export type EmptyProps = ExtractPropTypes<typeof emptyProps>;
22
+ declare const Empty: DefineComponent<{
23
+ readonly noMsg: {
24
+ readonly type: PropType<string>;
25
+ readonly default: "暂无数据";
26
+ };
27
+ readonly size: {
28
+ readonly type: PropType<string>;
29
+ readonly default: "60";
30
+ };
31
+ readonly color: {
32
+ readonly type: PropType<string>;
33
+ readonly default: "#667187";
34
+ };
35
+ readonly mode: {
36
+ readonly type: PropType<"vertical" | "horizontal">;
37
+ readonly default: "horizontal";
38
+ };
39
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
40
+ readonly noMsg: {
41
+ readonly type: PropType<string>;
42
+ readonly default: "暂无数据";
43
+ };
44
+ readonly size: {
45
+ readonly type: PropType<string>;
46
+ readonly default: "60";
47
+ };
48
+ readonly color: {
49
+ readonly type: PropType<string>;
50
+ readonly default: "#667187";
51
+ };
52
+ readonly mode: {
53
+ readonly type: PropType<"vertical" | "horizontal">;
54
+ readonly default: "horizontal";
55
+ };
56
+ }>>, {
57
+ readonly mode: "vertical" | "horizontal";
58
+ readonly size: string;
59
+ readonly color: string;
60
+ readonly noMsg: string;
61
+ }, {}>;
62
+ export { Empty };
63
+ declare const _default: SFCWithInstall<DefineComponent<{
64
+ readonly noMsg: {
65
+ readonly type: PropType<string>;
66
+ readonly default: "暂无数据";
67
+ };
68
+ readonly size: {
69
+ readonly type: PropType<string>;
70
+ readonly default: "60";
71
+ };
72
+ readonly color: {
73
+ readonly type: PropType<string>;
74
+ readonly default: "#667187";
75
+ };
76
+ readonly mode: {
77
+ readonly type: PropType<"vertical" | "horizontal">;
78
+ readonly default: "horizontal";
79
+ };
80
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
81
+ readonly noMsg: {
82
+ readonly type: PropType<string>;
83
+ readonly default: "暂无数据";
84
+ };
85
+ readonly size: {
86
+ readonly type: PropType<string>;
87
+ readonly default: "60";
88
+ };
89
+ readonly color: {
90
+ readonly type: PropType<string>;
91
+ readonly default: "#667187";
92
+ };
93
+ readonly mode: {
94
+ readonly type: PropType<"vertical" | "horizontal">;
95
+ readonly default: "horizontal";
96
+ };
97
+ }>>, {
98
+ readonly mode: "vertical" | "horizontal";
99
+ readonly size: string;
100
+ readonly color: string;
101
+ readonly noMsg: string;
102
+ }, {}>>;
103
+ export default _default;
@@ -85,6 +85,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
85
85
  perfect?: boolean | undefined;
86
86
  };
87
87
  tableData: Ref<Record<string, unknown>[]>;
88
+ tbData: Ref<Record<string, unknown>[]>;
88
89
  columns: Ref<{
89
90
  type?: string | undefined;
90
91
  field?: string | undefined;
@@ -103,9 +104,13 @@ declare const _default: SFCWithInstall<DefineComponent<{
103
104
  onSearch: () => void;
104
105
  handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
105
106
  selectedOk: () => void;
107
+ dblSelectedOk: ({ row }: any) => void;
106
108
  loadData: (extend?: {
107
109
  action: string;
108
110
  } | undefined) => void;
111
+ beforeHideMethod: ({ type }: {
112
+ type: string;
113
+ }) => Promise<never> | undefined;
109
114
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
110
115
  modalTitle: {
111
116
  type: StringConstructor;
@@ -81,6 +81,7 @@ declare const _sfc_main: DefineComponent<{
81
81
  perfect?: boolean | undefined;
82
82
  };
83
83
  tableData: Ref<Record<string, unknown>[]>;
84
+ tbData: Ref<Record<string, unknown>[]>;
84
85
  columns: Ref<{
85
86
  type?: string | undefined;
86
87
  field?: string | undefined;
@@ -99,9 +100,13 @@ declare const _sfc_main: DefineComponent<{
99
100
  onSearch: () => void;
100
101
  handlePageChange: ({ currentPage, pageSize }: TablePage) => void;
101
102
  selectedOk: () => void;
103
+ dblSelectedOk: ({ row }: any) => void;
102
104
  loadData: (extend?: {
103
105
  action: string;
104
106
  }) => void;
107
+ beforeHideMethod: ({ type }: {
108
+ type: string;
109
+ }) => Promise<never> | undefined;
105
110
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
106
111
  modalTitle: {
107
112
  type: StringConstructor;
@@ -1,11 +1,13 @@
1
1
  import * as QLayout from './layout';
2
2
  import * as QSwitch from './switch';
3
3
  import * as QSelect from './select';
4
+ import * as QMenu from './menu';
4
5
  import * as QTreeSelect from './tree-select';
5
6
  import * as QVxeSelect from './vxe-select';
6
7
  import * as QCascader from './cascader';
7
8
  import * as QBreadcrumb from './breadcrumb';
8
9
  import * as QCountdown from './countdown';
10
+ import * as QEmpty from './empty';
9
11
  import * as QCollapseTransition from './collapse-transition';
10
12
  import * as QFieldSelectModal from './field-select-modal';
11
13
  import * as QSelectModal from './select-modal';
@@ -39,4 +41,5 @@ import * as QSelectTemplate from './select-template/index';
39
41
  import * as QImportModal from './import-modal/index';
40
42
  import * as QRelationGraph from './relation-graph/index';
41
43
  import * as QAuditModal from './audit-modal/index';
42
- export { QLayout, QSwitch, QSelect, QTreeSelect, QVxeSelect, QCascader, QBreadcrumb, QCountdown, QCollapseTransition, QEditPageLayout, QDetailPageLayout, QPageLayout, QLayoutPattern, QLayoutButtons, QLayoutAnchor, QEditForm, QDetailForm, QEditGrid, QDetailGrid, QItemWrap, QListLayout, QRadio, QFieldSelectModal, QCodeEditorModel, QCheckBox, QCurrency, QSelectModal, QUploadImage, QRemoteSelect, QEditor, QSaleTemplate, QLadderPrice, FlowViewModal, QUploadFile, QCoutdown, QCardListLayout, QUploadFileVxe, QSelectTemplate, QImportModal, QRelationGraph, QAuditModal, };
44
+ import * as QRichEditorModel from './rich-editor-model/index';
45
+ export { QLayout, QSwitch, QSelect, QMenu, QTreeSelect, QVxeSelect, QCascader, QBreadcrumb, QCountdown, QEmpty, QCollapseTransition, QEditPageLayout, QDetailPageLayout, QPageLayout, QLayoutPattern, QLayoutButtons, QLayoutAnchor, QEditForm, QDetailForm, QEditGrid, QDetailGrid, QItemWrap, QListLayout, QRadio, QFieldSelectModal, QCodeEditorModel, QCheckBox, QCurrency, QSelectModal, QUploadImage, QRemoteSelect, QEditor, QSaleTemplate, QLadderPrice, FlowViewModal, QUploadFile, QCoutdown, QCardListLayout, QUploadFileVxe, QSelectTemplate, QImportModal, QRelationGraph, QAuditModal, QRichEditorModel, };
@@ -7,7 +7,7 @@ export { QItemWrap };
7
7
  declare const _default: SFCWithInstall<DefineComponent<{
8
8
  readonly required: {
9
9
  readonly type: PropType<"0" | "1">;
10
- readonly default: "";
10
+ readonly default: "0";
11
11
  readonly validator: typeof requiredValidator;
12
12
  };
13
13
  readonly disabled: {
@@ -33,7 +33,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
33
33
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
34
34
  readonly required: {
35
35
  readonly type: PropType<"0" | "1">;
36
- readonly default: "";
36
+ readonly default: "0";
37
37
  readonly validator: typeof requiredValidator;
38
38
  };
39
39
  readonly disabled: {
@@ -3,7 +3,7 @@ export declare function requiredValidator(val: string): boolean;
3
3
  export declare const itemWrapProps: {
4
4
  readonly required: {
5
5
  readonly type: PropType<"0" | "1">;
6
- readonly default: "";
6
+ readonly default: "0";
7
7
  readonly validator: typeof requiredValidator;
8
8
  };
9
9
  readonly disabled: {
@@ -3,7 +3,7 @@ import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  readonly required: {
5
5
  readonly type: PropType<"0" | "1">;
6
- readonly default: "";
6
+ readonly default: "0";
7
7
  readonly validator: typeof requiredValidator;
8
8
  };
9
9
  readonly disabled: {
@@ -29,7 +29,7 @@ declare const _sfc_main: DefineComponent<{
29
29
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
30
30
  readonly required: {
31
31
  readonly type: PropType<"0" | "1">;
32
- readonly default: "";
32
+ readonly default: "0";
33
33
  readonly validator: typeof requiredValidator;
34
34
  };
35
35
  readonly disabled: {
@@ -1,4 +1,4 @@
1
- import type { RecordStringNumber } from '../select-modal';
1
+ import type { RecordString } from '../select-modal';
2
2
  import type { Config, Row } from './src/ladder-price-types';
3
3
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
4
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
@@ -30,7 +30,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
30
30
  clearInputValue: () => void;
31
31
  ladderPriceModal: Ref<any>;
32
32
  ladderNotPriceModal: Ref<any>;
33
- handleOk: (itemList: RecordStringNumber[]) => void;
33
+ handleOk: (itemList: RecordString[]) => void;
34
+ initRowLadderJson: (jsonData: any) => any;
35
+ getRowLadder: (jsonData: any) => string;
36
+ isRebateLadder: boolean;
37
+ isQuotePriceLadder: boolean;
34
38
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
35
39
  value: {
36
40
  type: StringConstructor;
@@ -20,9 +20,13 @@ declare const _sfc_main: DefineComponent<{
20
20
  showFooter: boolean;
21
21
  showClose: boolean;
22
22
  };
23
- open: (row: Row, curFieldValue: string) => void;
24
- addLadderQuantity: () => void;
25
- deleteLadder: () => void;
23
+ currency: Ref<string>;
24
+ taxCode: Ref<string>;
25
+ taxRate: Ref<string>;
26
+ open: ({ row, pageData }: {
27
+ row: Row;
28
+ pageData: any;
29
+ }) => void;
26
30
  setLadderOk: () => void;
27
31
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
28
32
  isEmit: {
@@ -19,10 +19,12 @@ declare const _sfc_main: DefineComponent<{
19
19
  showFooter: boolean;
20
20
  showClose: boolean;
21
21
  };
22
- open: ({ row, columns, value }: {
22
+ open: ({ pageData, row, columns, value, type }: {
23
+ pageData: any;
23
24
  row: Row;
24
25
  columns: any;
25
26
  value: string;
27
+ type: string;
26
28
  }) => void;
27
29
  addLadderQuantity: () => void;
28
30
  deleteLadder: () => void;
@@ -0,0 +1,9 @@
1
+ import type { VxeColumnSlotTypes, VxeTableDataRow } from 'vxe-table';
2
+ export default function useType(): {
3
+ field: string;
4
+ title: string;
5
+ width: number;
6
+ slots: {
7
+ default({ row }: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>): JSX.Element[];
8
+ };
9
+ };
@@ -1,6 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import type { FormFieldsItem, RecordStringNumber } from '../../edit-page-layout';
3
- export type HandleBefore = (value?: RecordStringNumber) => Promise<string | boolean | void>;
2
+ import type { FormFieldsItem, RecordString } from '../../edit-page-layout';
3
+ export type HandleBefore = (value?: RecordString) => Promise<string | boolean | void>;
4
4
  export interface Extend {
5
5
  current?: number;
6
6
  modalConfigs?: unknown[];
@@ -1,6 +1,6 @@
1
1
  import type { Config, Row } from './ladder-price-types';
2
2
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
3
- import { RecordStringNumber } from '../../edit-page-layout';
3
+ import { RecordString } from '../../edit-page-layout';
4
4
  declare const _sfc_main: DefineComponent<{
5
5
  value: {
6
6
  type: StringConstructor;
@@ -28,7 +28,11 @@ declare const _sfc_main: DefineComponent<{
28
28
  clearInputValue: () => void;
29
29
  ladderPriceModal: Ref<any>;
30
30
  ladderNotPriceModal: Ref<any>;
31
- handleOk: (itemList: RecordStringNumber[]) => void;
31
+ handleOk: (itemList: RecordString[]) => void;
32
+ initRowLadderJson: (jsonData: any) => any;
33
+ getRowLadder: (jsonData: any) => string;
34
+ isRebateLadder: boolean;
35
+ isQuotePriceLadder: boolean;
32
36
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
33
37
  value: {
34
38
  type: StringConstructor;
@@ -1,4 +1,4 @@
1
- import type { RecordStringNumber } from '../select-modal';
1
+ import type { RecordString } from '../select-modal';
2
2
  import type { PageButton } from '../edit-page-layout';
3
3
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
4
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
@@ -31,7 +31,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
31
31
  [key: string]: string | boolean;
32
32
  }>;
33
33
  buttons: Ref<PageButton[]>;
34
- pageData: Ref<RecordStringNumber>;
34
+ pageButtons: ComputedRef<PageButton[]>;
35
+ dropdownBtns: ComputedRef<PageButton[]>;
36
+ pageData: Ref<RecordString>;
35
37
  onClick: (btn: PageButton) => void;
36
38
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
37
39
  buttons: {
@@ -1,5 +1,5 @@
1
1
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { RecordStringNumber, PageButton } from '../../edit-page-layout';
2
+ import type { RecordString, PageButton } from '../../edit-page-layout';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  buttons: {
5
5
  type: PropType<PageButton[]>;
@@ -26,7 +26,9 @@ declare const _sfc_main: DefineComponent<{
26
26
  [key: string]: string | boolean;
27
27
  }>;
28
28
  buttons: Ref<PageButton[]>;
29
- pageData: Ref<RecordStringNumber>;
29
+ pageButtons: ComputedRef<PageButton[]>;
30
+ dropdownBtns: ComputedRef<PageButton[]>;
31
+ pageData: Ref<RecordString>;
30
32
  onClick: (btn: PageButton) => void;
31
33
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
32
34
  buttons: {
@@ -1,4 +1,4 @@
1
- import type { Pattern, LayoutConfig, ComputedFieldType } from '../edit-page-layout';
1
+ import type { Pattern, LayoutConfig, ComputedFormFieldsItem } from '../edit-page-layout';
2
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
4
  import QPageLayoutMode from './src/layout-pattern.vue';
@@ -24,7 +24,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
24
24
  append: string;
25
25
  patternAppend: string;
26
26
  }[]>;
27
- computedFieldSlots: ComputedRef<ComputedFieldType[]>;
27
+ computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
28
28
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
29
29
  title: {
30
30
  type: PropType<string>;
@@ -1,6 +1,6 @@
1
1
  import type { ObjectMap } from '../../../list-page-layout';
2
2
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
- import type { LayoutConfig, GroupItem, CurrentRow, Role, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordStringNumber, PageButton, ComputedFieldType } from '../../../edit-page-layout';
3
+ import type { LayoutConfig, GroupItem, CurrentRow, Role, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload, RecordString, PageButton, ComputedFormFieldsItem } from '../../../edit-page-layout';
4
4
  declare const _sfc_main: DefineComponent<{
5
5
  title: {
6
6
  type: PropType<string>;
@@ -10,13 +10,12 @@ declare const _sfc_main: DefineComponent<{
10
10
  pageButtons: PageButton[];
11
11
  layoutConfig: Ref<LayoutConfig>;
12
12
  computedGroups: ComputedRef<GroupItem[]>;
13
- title: Ref<string>;
14
- isDetail: boolean;
13
+ showPageHeader: boolean;
15
14
  fileVisible: Ref<boolean>;
16
15
  auditModalVisble: Ref<boolean>;
17
16
  approvalModalVisble: Ref<boolean>;
18
17
  nodeHistroyModalVisble: Ref<boolean>;
19
- currentRow: Ref<CurrentRow>;
18
+ currentRow: CurrentRow;
20
19
  fileProps: Ref<{
21
20
  readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
22
21
  readonly visible?: boolean | undefined;
@@ -56,14 +55,14 @@ declare const _sfc_main: DefineComponent<{
56
55
  readonly itemNumberDefaultValue?: string | undefined;
57
56
  readonly itemNumberSelectIndex?: boolean | undefined;
58
57
  readonly disabledItemNumber?: boolean | undefined;
59
- readonly itemInfo?: RecordStringNumber[] | undefined;
58
+ readonly itemInfo?: RecordString[] | undefined;
60
59
  readonly fileTypeList?: {
61
60
  [x: string]: unknown;
62
61
  title: string;
63
62
  value: string;
64
63
  }[] | undefined;
65
64
  }>;
66
- handleChangeFiles: (fileResult: RecordStringNumber[]) => void;
65
+ handleChangeFiles: (fileResult: RecordString[]) => void;
67
66
  auditModalConfirm: Ref<any>;
68
67
  auditModalCancel: Ref<any>;
69
68
  showBackIcon: boolean;
@@ -81,7 +80,7 @@ declare const _sfc_main: DefineComponent<{
81
80
  url: string;
82
81
  };
83
82
  authorityCode?: string | undefined;
84
- attrs?: RecordStringNumber | undefined;
83
+ attrs?: RecordString | undefined;
85
84
  icon?: {
86
85
  type: string;
87
86
  size: number;
@@ -95,10 +94,11 @@ declare const _sfc_main: DefineComponent<{
95
94
  title: string;
96
95
  content: string;
97
96
  } | undefined;
97
+ dropdown?: boolean | undefined;
98
98
  isExistFrozenSource?: boolean | undefined;
99
99
  isExistFrozenSourceUrl?: string | undefined;
100
- isExistFrozenSourceParams?: ((pageData: RecordStringNumber) => RecordStringNumber) | undefined;
101
- disabled?: ((pageData: RecordStringNumber) => boolean) | undefined;
100
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
101
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
102
102
  handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
103
103
  handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
104
104
  callback?: ((payload: PageButtonPayload) => void) | undefined;
@@ -116,7 +116,7 @@ declare const _sfc_main: DefineComponent<{
116
116
  url: string;
117
117
  };
118
118
  authorityCode?: string | undefined;
119
- attrs?: RecordStringNumber | undefined;
119
+ attrs?: RecordString | undefined;
120
120
  icon?: {
121
121
  type: string;
122
122
  size: number;
@@ -130,10 +130,11 @@ declare const _sfc_main: DefineComponent<{
130
130
  title: string;
131
131
  content: string;
132
132
  } | undefined;
133
+ dropdown?: boolean | undefined;
133
134
  isExistFrozenSource?: boolean | undefined;
134
135
  isExistFrozenSourceUrl?: string | undefined;
135
- isExistFrozenSourceParams?: ((pageData: RecordStringNumber) => RecordStringNumber) | undefined;
136
- disabled?: ((pageData: RecordStringNumber) => boolean) | undefined;
136
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
137
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
137
138
  handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
138
139
  handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
139
140
  callback?: ((payload: PageButtonPayload) => void) | undefined;
@@ -173,8 +174,11 @@ declare const _sfc_main: DefineComponent<{
173
174
  taskAction?: string | undefined;
174
175
  needFlow?: string | undefined;
175
176
  flowIframeUrl?: string | undefined;
177
+ customParams?: Record<string, any> | undefined;
176
178
  }>;
177
- computedFieldSlots: ComputedRef<ComputedFieldType[]>;
179
+ computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
180
+ pageTitleName: ComputedRef<string>;
181
+ isDetail: boolean;
178
182
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
179
183
  title: {
180
184
  type: PropType<string>;
@@ -1,8 +1,8 @@
1
1
  import type { ObjectMap } from '../../../list-page-layout';
2
- import { Ref } from 'vue';
2
+ import type { Ref } from 'vue';
3
3
  import type { PageButton, CurrentRow } from '../../../edit-page-layout';
4
4
  interface auditOption {
5
- currentRow: Ref<CurrentRow>;
5
+ currentRow: CurrentRow;
6
6
  businessType: string;
7
7
  layoutExtraInfo: {
8
8
  token: string;
@@ -35,6 +35,7 @@ export default function useAuditButtonHook({ currentRow, businessType, layoutExt
35
35
  taskAction?: string | undefined;
36
36
  needFlow?: string | undefined;
37
37
  flowIframeUrl?: string | undefined;
38
+ customParams?: Record<string, any> | undefined;
38
39
  }>;
39
40
  auditModalVisble: Ref<boolean>;
40
41
  approvalModalVisble: Ref<boolean>;
@@ -1,5 +1,5 @@
1
1
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { Pattern, LayoutConfig, ComputedFieldType } from '../../edit-page-layout';
2
+ import type { Pattern, LayoutConfig, ComputedFormFieldsItem } from '../../edit-page-layout';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  title: {
5
5
  type: PropType<string>;
@@ -20,7 +20,7 @@ declare const _sfc_main: DefineComponent<{
20
20
  append: string;
21
21
  patternAppend: string;
22
22
  }[]>;
23
- computedFieldSlots: ComputedRef<ComputedFieldType[]>;
23
+ computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
24
24
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
25
25
  title: {
26
26
  type: PropType<string>;
@@ -28,6 +28,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
28
28
  beforeHandleData: {
29
29
  type: PropType<(column: GridColumn[]) => void>;
30
30
  };
31
+ afterHandleData: {
32
+ type: PropType<(tableData: ObjectMap[]) => void>;
33
+ };
31
34
  localColumnGroup: {
32
35
  type: PropType<(column: GridColumn[]) => GridColumn[]>;
33
36
  };
@@ -89,7 +92,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
89
92
  loading: boolean;
90
93
  extraListConfig: ObjectMap;
91
94
  pageData: {
92
- [x: string]: unknown;
95
+ [x: string]: any;
93
96
  onlyShowNav?: boolean | undefined;
94
97
  isAggregate?: "0" | "1" | undefined;
95
98
  isUseLocalColumns?: boolean | undefined;
@@ -243,8 +246,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
243
246
  iconNextPage?: string | undefined;
244
247
  iconJumpMore?: string | undefined;
245
248
  } | undefined;
249
+ cacheParams?: ObjectMap | undefined;
246
250
  };
247
251
  beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
252
+ afterHandleData?: ((tableData: ObjectMap[]) => void) | undefined;
248
253
  localColumnGroup?: ((column: GridColumn[]) => GridColumn[]) | undefined;
249
254
  };
250
255
  };
@@ -286,6 +291,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
286
291
  beforeHandleData: {
287
292
  type: PropType<(column: GridColumn[]) => void>;
288
293
  };
294
+ afterHandleData: {
295
+ type: PropType<(tableData: ObjectMap[]) => void>;
296
+ };
289
297
  localColumnGroup: {
290
298
  type: PropType<(column: GridColumn[]) => GridColumn[]>;
291
299
  };
@@ -1,6 +1,7 @@
1
1
  import type { DefineComponent, PropType, Ref, ShallowRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, ComputedRef } from 'vue';
2
- import type { PageData, TabsData, ApiUrls, ObjectMap, OptColumnListItem, OptionsButtonsCallBack } from '../../list-page-layout-types';
3
- import type { VxeGridPropTypes, VxeTableDataRow, VxeGridListeners, VxeGridProps } from 'vxe-table';
2
+ import type { PageData, TabsData, ApiUrls, GridColumn, ObjectMap, OptColumnListItem, OptionsButtonsCallBack } from '../../list-page-layout-types';
3
+ import type { VxeTableDataRow, VxeGridListeners, VxeGridProps } from 'vxe-table';
4
+ import { VxeGridPropTypes } from 'vxe-table';
4
5
  declare const _sfc_main: DefineComponent<{
5
6
  loading: {
6
7
  type: BooleanConstructor;
@@ -26,6 +27,9 @@ declare const _sfc_main: DefineComponent<{
26
27
  type: PropType<ApiUrls>;
27
28
  default: () => {};
28
29
  };
30
+ afterHandleData: {
31
+ type: PropType<(column: GridColumn[]) => void>;
32
+ };
29
33
  filterList: never[];
30
34
  }, {
31
35
  ns: {
@@ -48,7 +52,7 @@ declare const _sfc_main: DefineComponent<{
48
52
  };
49
53
  pageData: PageData;
50
54
  gridConfig: ComputedRef<VxeGridProps<VxeTableDataRow>>;
51
- tableColumns: Ref<VxeGridPropTypes.Columns<VxeTableDataRow>>;
55
+ computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
52
56
  groupColumns: Ref<VxeGridPropTypes.Columns<VxeTableDataRow>>;
53
57
  isAggregate: ComputedRef<boolean>;
54
58
  options: ComputedRef<OptColumnListItem[]>;
@@ -58,8 +62,13 @@ declare const _sfc_main: DefineComponent<{
58
62
  gridEvent: VxeGridListeners<VxeTableDataRow>;
59
63
  loading: ShallowRef<boolean>;
60
64
  listGridRef: Ref<any>;
65
+ seqConfig: ComputedRef<{
66
+ startIndex: number;
67
+ }>;
61
68
  disableHandle: (item: OptColumnListItem, row: ObjectMap) => boolean | undefined;
62
69
  optionsButtonsCallBack: ({ row, column, $rowIndex, optionItem, $columnIndex, click }: OptionsButtonsCallBack) => Promise<false | undefined>;
70
+ initRowLadderJson: (jsonData: any) => any;
71
+ defaultRowLadderJson: (jsonData: any) => string;
63
72
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
64
73
  loading: {
65
74
  type: BooleanConstructor;
@@ -85,6 +94,9 @@ declare const _sfc_main: DefineComponent<{
85
94
  type: PropType<ApiUrls>;
86
95
  default: () => {};
87
96
  };
97
+ afterHandleData: {
98
+ type: PropType<(column: GridColumn[]) => void>;
99
+ };
88
100
  filterList: never[];
89
101
  }>>, {
90
102
  apiUrls: ApiUrls;
@@ -9,6 +9,7 @@ declare const _sfc_main: DefineComponent<{}, {
9
9
  isShowQuery: ComputedRef<any>;
10
10
  container: Ref<any>;
11
11
  isExpand: Ref<boolean>;
12
+ superQueryNumber: Ref<number>;
12
13
  pageData: PageData;
13
14
  statusNav: TabListItem[];
14
15
  containerStyle: {
@@ -20,10 +21,11 @@ declare const _sfc_main: DefineComponent<{}, {
20
21
  mergeChange: (event: Event) => void;
21
22
  searchExtendRef: Ref<any>;
22
23
  superQueryShow: Ref<boolean>;
23
- queryParamsModelLength: () => void;
24
+ queryParamsModelLength: (value: number) => void;
24
25
  handleSuperQuery: (arg: QueryParamsItem, superQueryMatchType: string) => void;
26
+ synQueryParams: (args: QueryParamsItem, superQueryMatchType: string) => void;
25
27
  apiUrls: ApiUrls;
26
28
  superQueryClose: () => void;
27
- handleFold: () => void;
29
+ handleFold: (value?: boolean) => void;
28
30
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
29
31
  export default _sfc_main;
@@ -1,5 +1,5 @@
1
1
  import type { UseNamespace } from '../../../../../../shared/hooks/use-namespace';
2
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Ref } from 'vue';
3
3
  import type { PageData, TabListItem } from '../../../../list-page-layout-types';
4
4
  declare const _sfc_main: DefineComponent<{
5
5
  tabsData: {
@@ -24,7 +24,7 @@ declare const _sfc_main: DefineComponent<{
24
24
  showMoreBtn: () => void;
25
25
  otabsData: Ref<TabListItem[]>;
26
26
  statusData: Ref<TabListItem[]>;
27
- activeKey: Ref<string>;
27
+ activeKey: Ref<string | null>;
28
28
  pageData: PageData;
29
29
  visible: Ref<boolean>;
30
30
  checkValue: Ref<boolean>;
@@ -0,0 +1,7 @@
1
+ import { TabListItem } from '../list-page-layout-types';
2
+ declare const _default: () => {
3
+ getStatusParams: (tabsData: TabListItem[], activeKey: string) => {
4
+ [key: string]: unknown;
5
+ };
6
+ };
7
+ export default _default;