@qqt-product/ui 0.0.21 → 0.0.22

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 (95) hide show
  1. package/dist/index.es.js +22166 -21219
  2. package/dist/index.umd.js +95 -95
  3. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +2 -1
  4. package/dist/lib/components/card-list-layout/index.d.ts +2 -1
  5. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +2 -1
  6. package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +2 -1
  7. package/dist/lib/components/checkbox/index.d.ts +3 -3
  8. package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -1
  9. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +3 -3
  10. package/dist/lib/components/currency/index.d.ts +3 -3
  11. package/dist/lib/components/currency/src/currency-type.d.ts +1 -1
  12. package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
  13. package/dist/lib/components/detail-form/index.d.ts +3 -3
  14. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +3 -3
  15. package/dist/lib/components/detail-grid/index.d.ts +3 -1
  16. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +3 -1
  17. package/dist/lib/components/detail-page-layout/index.d.ts +9 -0
  18. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +9 -0
  19. package/dist/lib/components/edit-form/index.d.ts +3 -3
  20. package/dist/lib/components/edit-form/src/edit-form-types.d.ts +1 -1
  21. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +3 -3
  22. package/dist/lib/components/edit-grid/index.d.ts +3 -1
  23. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +3 -1
  24. package/dist/lib/components/edit-page-layout/index.d.ts +9 -0
  25. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +7 -1
  26. package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +9 -0
  27. package/dist/lib/components/editor/index.d.ts +2 -1
  28. package/dist/lib/components/editor/src/index.vue.d.ts +2 -1
  29. package/dist/lib/components/import-modal/index.d.ts +2 -0
  30. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +2 -0
  31. package/dist/lib/components/item-wrap/index.d.ts +4 -4
  32. package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +1 -1
  33. package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +4 -4
  34. package/dist/lib/components/ladder-price/index.d.ts +11 -0
  35. package/dist/lib/components/ladder-price/src/ladder-price-types.d.ts +4 -0
  36. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +11 -0
  37. package/dist/lib/components/layout/src/header/index.vue.d.ts +6 -5
  38. package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +2 -1
  39. package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +2 -1
  40. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +5 -4
  41. package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +3 -2
  42. package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +2 -1
  43. package/dist/lib/components/layout/src/sider/index.vue.d.ts +2 -1
  44. package/dist/lib/components/layout/src/sider/search.vue.d.ts +2 -1
  45. package/dist/lib/components/layout-buttons/index.d.ts +2 -1
  46. package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +2 -1
  47. package/dist/lib/components/layout-pattern/index.d.ts +169 -2
  48. package/dist/lib/components/layout-pattern/src/components/master.vue.d.ts +31 -0
  49. package/dist/lib/components/layout-pattern/src/components/masterDetail.vue.d.ts +31 -0
  50. package/dist/lib/components/layout-pattern/src/components/tab.vue.d.ts +26 -0
  51. package/dist/lib/components/layout-pattern/src/components/tabDetail.vue.d.ts +26 -0
  52. package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +1 -163
  53. package/dist/lib/components/layout-pattern/src/components/verticalDetail.vue.d.ts +30 -0
  54. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +3 -3
  55. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +168 -2
  56. package/dist/lib/components/layout-pattern/src/use-layout-pattern.d.ts +3 -3
  57. package/dist/lib/components/list-page-layout/index.d.ts +1 -1
  58. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -0
  59. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/use-grid-slot-hook.d.ts +2 -2
  60. package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +2 -0
  61. package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +48 -44
  62. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +2 -1
  63. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +2 -0
  64. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/events-helper.d.ts +2 -2
  65. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +2 -0
  66. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +2 -0
  67. package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +2 -0
  68. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -0
  69. package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +2 -0
  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/hooks/use-button-function-hook.d.ts +1 -1
  72. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +1 -1
  73. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +2 -0
  74. package/dist/lib/components/radio/index.d.ts +3 -3
  75. package/dist/lib/components/radio/src/radio-types.d.ts +1 -1
  76. package/dist/lib/components/radio/src/radio.vue.d.ts +3 -3
  77. package/dist/lib/components/rich-editor-model/index.d.ts +2 -1
  78. package/dist/lib/components/rich-editor-model/src/rich-editor-model.vue.d.ts +2 -1
  79. package/dist/lib/components/sale-template/index.d.ts +2 -1
  80. package/dist/lib/components/sale-template/src/sale-template.vue.d.ts +2 -1
  81. package/dist/lib/components/switch/index.d.ts +5 -5
  82. package/dist/lib/components/switch/src/switch-types.d.ts +1 -1
  83. package/dist/lib/components/switch/src/switch.vue.d.ts +5 -5
  84. package/dist/lib/components/upload-file/index.d.ts +21 -1
  85. package/dist/lib/components/upload-file/src/upload-file-types.d.ts +8 -0
  86. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +21 -1
  87. package/dist/lib/components/upload-file-vxe/index.d.ts +2 -0
  88. package/dist/lib/components/upload-file-vxe/src/upload-file-vxe.vue.d.ts +2 -0
  89. package/dist/lib/components/upload-image/index.d.ts +3 -1
  90. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +3 -1
  91. package/dist/lib/index.d.ts +1 -0
  92. package/dist/lib/utils/token.d.ts +8 -0
  93. package/dist/lib/utils/type.d.ts +2 -0
  94. package/dist/style.css +1 -1
  95. package/package.json +8 -8
@@ -2,7 +2,7 @@ import type { requiredValidator } from './item-wrap-types';
2
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  readonly required: {
5
- readonly type: PropType<"1" | "0">;
5
+ readonly type: PropType<"0" | "1">;
6
6
  readonly default: "0";
7
7
  readonly validator: typeof requiredValidator;
8
8
  };
@@ -24,11 +24,11 @@ declare const _sfc_main: DefineComponent<{
24
24
  }>;
25
25
  label: Ref<string>;
26
26
  helpText: Ref<string>;
27
- required: Ref<"1" | "0">;
27
+ required: Ref<"0" | "1">;
28
28
  disabled: Ref<boolean>;
29
29
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
30
30
  readonly required: {
31
- readonly type: PropType<"1" | "0">;
31
+ readonly type: PropType<"0" | "1">;
32
32
  readonly default: "0";
33
33
  readonly validator: typeof requiredValidator;
34
34
  };
@@ -47,7 +47,7 @@ declare const _sfc_main: DefineComponent<{
47
47
  }>>, {
48
48
  readonly disabled: boolean;
49
49
  readonly label: string;
50
- readonly required: "1" | "0";
50
+ readonly required: "0" | "1";
51
51
  readonly helpText: string;
52
52
  }, {}>;
53
53
  export default _sfc_main;
@@ -20,6 +20,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
20
20
  type: PropType<Row>;
21
21
  default(): {};
22
22
  };
23
+ disabled: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
23
27
  }, {
24
28
  classes: ComputedRef<{
25
29
  [x: string]: boolean;
@@ -35,6 +39,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
35
39
  getRowLadder: (jsonData: any) => string;
36
40
  isRebateLadder: boolean;
37
41
  isQuotePriceLadder: boolean;
42
+ isRequestLadder: boolean;
43
+ isEdit: boolean;
38
44
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
39
45
  value: {
40
46
  type: StringConstructor;
@@ -52,7 +58,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
52
58
  type: PropType<Row>;
53
59
  default(): {};
54
60
  };
61
+ disabled: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
55
65
  }>>, {
66
+ disabled: boolean;
56
67
  row: Row;
57
68
  value: string;
58
69
  config: Config;
@@ -31,5 +31,9 @@ export declare const ladderPriceProps: {
31
31
  type: PropType<Row>;
32
32
  default(): {};
33
33
  };
34
+ disabled: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
34
38
  };
35
39
  export type LadderPriceProps = ExtractPropTypes<typeof ladderPriceProps>;
@@ -18,6 +18,10 @@ declare const _sfc_main: DefineComponent<{
18
18
  type: PropType<Row>;
19
19
  default(): {};
20
20
  };
21
+ disabled: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
21
25
  }, {
22
26
  classes: ComputedRef<{
23
27
  [x: string]: boolean;
@@ -33,6 +37,8 @@ declare const _sfc_main: DefineComponent<{
33
37
  getRowLadder: (jsonData: any) => string;
34
38
  isRebateLadder: boolean;
35
39
  isQuotePriceLadder: boolean;
40
+ isRequestLadder: boolean;
41
+ isEdit: boolean;
36
42
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
37
43
  value: {
38
44
  type: StringConstructor;
@@ -50,7 +56,12 @@ declare const _sfc_main: DefineComponent<{
50
56
  type: PropType<Row>;
51
57
  default(): {};
52
58
  };
59
+ disabled: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
53
63
  }>>, {
64
+ disabled: boolean;
54
65
  row: Row;
55
66
  value: string;
56
67
  config: Config;
@@ -4,9 +4,10 @@ import type { LogoutOutlinedIconType } from '@ant-design/icons-vue/lib/icons/Log
4
4
  import type { SettingOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SettingOutlined';
5
5
  import type { DefaultOptionType } from 'ant-design-vue/lib/select';
6
6
  import type { Request } from '@qqt-product/api/dist/utils/request';
7
+ import type { SrmI18n } from '../../../../utils/type';
7
8
  import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
8
9
  declare const _sfc_main: DefineComponent<{}, {
9
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
10
+ srmI18n: SrmI18n;
10
11
  tanentPageHome: () => void;
11
12
  shoppingMall: () => void;
12
13
  webFinancialCloud: () => void;
@@ -63,7 +64,7 @@ declare const _sfc_main: DefineComponent<{}, {
63
64
  theme: string;
64
65
  };
65
66
  handleChat: () => void;
66
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
67
+ srmI18n: SrmI18n;
67
68
  handleKefu: () => void;
68
69
  theme: string;
69
70
  updateTheme: () => void;
@@ -107,7 +108,7 @@ declare const _sfc_main: DefineComponent<{}, {
107
108
  }, {}>;
108
109
  message: DefineComponent<{}, {
109
110
  handleMsgRecord: () => void;
110
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
111
+ srmI18n: SrmI18n;
111
112
  msgTotal: Ref<number>;
112
113
  toElsMsgRecord: () => void;
113
114
  readonly QSymbolIcon: DefineComponent<{
@@ -168,7 +169,7 @@ declare const _sfc_main: DefineComponent<{}, {
168
169
  changeLangHandle: () => void;
169
170
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
170
171
  customPerson: DefineComponent<{}, {
171
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
172
+ srmI18n: SrmI18n;
172
173
  userInfo: {
173
174
  token: string;
174
175
  srmVersion: string;
@@ -194,7 +195,7 @@ declare const _sfc_main: DefineComponent<{}, {
194
195
  required: true;
195
196
  };
196
197
  }, {
197
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
198
+ srmI18n: SrmI18n;
198
199
  props: any;
199
200
  emit: (event: "handleClosed", ...args: any[]) => void;
200
201
  drawerVisible: any;
@@ -1,7 +1,8 @@
1
+ import type { SrmI18n } from '../../../../../utils/type';
1
2
  import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
3
  declare const _sfc_main: DefineComponent<{}, {
3
4
  handleMsgRecord: () => void;
4
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
5
+ srmI18n: SrmI18n;
5
6
  msgTotal: Ref<number>;
6
7
  toElsMsgRecord: () => void;
7
8
  readonly QSymbolIcon: DefineComponent<{
@@ -1,8 +1,9 @@
1
1
  import type { LogoutOutlinedIconType } from '@ant-design/icons-vue/lib/icons/LogoutOutlined';
2
2
  import type { SettingOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SettingOutlined';
3
+ import type { SrmI18n } from '../../../../../utils/type';
3
4
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
5
  declare const _sfc_main: DefineComponent<{}, {
5
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
6
+ srmI18n: SrmI18n;
6
7
  userInfo: {
7
8
  token: string;
8
9
  srmVersion: string;
@@ -4,6 +4,7 @@ import type { LogoutOutlinedIconType } from '@ant-design/icons-vue/lib/icons/Log
4
4
  import type { SettingOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SettingOutlined';
5
5
  import type { DefaultOptionType } from 'ant-design-vue/lib/select';
6
6
  import type { Request } from '@qqt-product/api/dist/utils/request';
7
+ import type { SrmI18n } from '../../../../../utils/type';
7
8
  import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
8
9
  declare const _sfc_main: DefineComponent<{}, {
9
10
  showDrawer: Ref<boolean>;
@@ -17,7 +18,7 @@ declare const _sfc_main: DefineComponent<{}, {
17
18
  theme: string;
18
19
  };
19
20
  handleChat: () => void;
20
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
21
+ srmI18n: SrmI18n;
21
22
  handleKefu: () => void;
22
23
  theme: string;
23
24
  updateTheme: () => void;
@@ -61,7 +62,7 @@ declare const _sfc_main: DefineComponent<{}, {
61
62
  }, {}>;
62
63
  message: DefineComponent<{}, {
63
64
  handleMsgRecord: () => void;
64
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
65
+ srmI18n: SrmI18n;
65
66
  msgTotal: Ref<number>;
66
67
  toElsMsgRecord: () => void;
67
68
  readonly QSymbolIcon: DefineComponent<{
@@ -122,7 +123,7 @@ declare const _sfc_main: DefineComponent<{}, {
122
123
  changeLangHandle: () => void;
123
124
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
124
125
  customPerson: DefineComponent<{}, {
125
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
126
+ srmI18n: SrmI18n;
126
127
  userInfo: {
127
128
  token: string;
128
129
  srmVersion: string;
@@ -148,7 +149,7 @@ declare const _sfc_main: DefineComponent<{}, {
148
149
  required: true;
149
150
  };
150
151
  }, {
151
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
152
+ srmI18n: SrmI18n;
152
153
  props: any;
153
154
  emit: (event: "handleClosed", ...args: any[]) => void;
154
155
  drawerVisible: any;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../../../utils/type';
1
2
  import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
3
  type ThemeNameType = 'light' | 'dark';
3
4
  declare const _sfc_main: DefineComponent<{}, {
@@ -8,7 +9,7 @@ declare const _sfc_main: DefineComponent<{}, {
8
9
  theme: string;
9
10
  };
10
11
  handleChat: () => void;
11
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
12
+ srmI18n: SrmI18n;
12
13
  handleKefu: () => void;
13
14
  theme: string;
14
15
  updateTheme: () => void;
@@ -52,7 +53,7 @@ declare const _sfc_main: DefineComponent<{}, {
52
53
  }, {}>;
53
54
  message: DefineComponent<{}, {
54
55
  handleMsgRecord: () => void;
55
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
56
+ srmI18n: SrmI18n;
56
57
  msgTotal: Ref<number>;
57
58
  toElsMsgRecord: () => void;
58
59
  readonly QSymbolIcon: DefineComponent<{
@@ -1,4 +1,5 @@
1
1
  import type { CheckOutlinedIconType } from '@ant-design/icons-vue/lib/icons/CheckOutlined';
2
+ import type { SrmI18n } from '../../../../../utils/type';
2
3
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
4
  import type { ColorListType } from '../../types';
4
5
  declare const _sfc_main: DefineComponent<{
@@ -7,7 +8,7 @@ declare const _sfc_main: DefineComponent<{
7
8
  required: true;
8
9
  };
9
10
  }, {
10
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
11
+ srmI18n: SrmI18n;
11
12
  props: any;
12
13
  emit: (event: "handleClosed", ...args: any[]) => void;
13
14
  drawerVisible: any;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../../utils/type';
1
2
  import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
3
  import type { Menu } from '../types';
3
4
  declare const _sfc_main: DefineComponent<{
@@ -70,7 +71,7 @@ declare const _sfc_main: DefineComponent<{
70
71
  servicesImg: Ref<string>;
71
72
  unfoldImg: Ref<string>;
72
73
  foldImg: Ref<string>;
73
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
74
+ srmI18n: SrmI18n;
74
75
  userInfo: {
75
76
  token: string;
76
77
  srmVersion: string;
@@ -1,5 +1,6 @@
1
1
  import type { CloseCircleOutlinedIconType } from '@ant-design/icons-vue/lib/icons/CloseCircleOutlined';
2
2
  import type { SearchOutlinedIconType } from '@ant-design/icons-vue/lib/icons/SearchOutlined';
3
+ import type { SrmI18n } from '../../../../utils/type';
3
4
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
5
  import type { ExtendMenu, RouterPropsType } from '../types';
5
6
  declare const _sfc_main: DefineComponent<{
@@ -15,7 +16,7 @@ declare const _sfc_main: DefineComponent<{
15
16
  router: {
16
17
  push: (obj: RouterPropsType) => void;
17
18
  };
18
- srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
19
+ srmI18n: SrmI18n;
19
20
  userInfo: {
20
21
  token: string;
21
22
  srmVersion: string;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../utils/type';
1
2
  import type { RecordString } from '../select-modal';
2
3
  import type { PageButton } from '../edit-page-layout';
3
4
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
@@ -30,11 +31,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
30
31
  classes: ComputedRef<{
31
32
  [key: string]: string | boolean;
32
33
  }>;
33
- buttons: Ref<PageButton[]>;
34
34
  pageButtons: ComputedRef<PageButton[]>;
35
35
  dropdownBtns: ComputedRef<PageButton[]>;
36
36
  pageData: Ref<RecordString>;
37
37
  onClick: (btn: PageButton) => void;
38
+ srmI18n: SrmI18n;
38
39
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
39
40
  buttons: {
40
41
  type: PropType<PageButton[]>;
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../utils/type';
1
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
3
  import type { RecordString, PageButton } from '../../edit-page-layout';
3
4
  declare const _sfc_main: DefineComponent<{
@@ -25,11 +26,11 @@ declare const _sfc_main: DefineComponent<{
25
26
  classes: ComputedRef<{
26
27
  [key: string]: string | boolean;
27
28
  }>;
28
- buttons: Ref<PageButton[]>;
29
29
  pageButtons: ComputedRef<PageButton[]>;
30
30
  dropdownBtns: ComputedRef<PageButton[]>;
31
31
  pageData: Ref<RecordString>;
32
32
  onClick: (btn: PageButton) => void;
33
+ srmI18n: SrmI18n;
33
34
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
34
35
  buttons: {
35
36
  type: PropType<PageButton[]>;
@@ -1,4 +1,6 @@
1
- import type { Pattern, LayoutConfig, ComputedFormFieldsItem } from '../edit-page-layout';
1
+ import type { ObjectMap } from '../list-page-layout';
2
+ import type { RecordString } from '../select-modal';
3
+ import type { Pattern, LayoutConfig, ComputedFormFieldsItem, CurrentRow, Role, PageButtonArgsFunctionType, ExposeWithPageButtons, PageButtonPayload } from '../edit-page-layout';
2
4
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
5
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
6
  import QPageLayoutMode from './src/layout-pattern.vue';
@@ -14,7 +16,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
14
16
  [key: string]: string | boolean;
15
17
  }>;
16
18
  pattern: Pattern;
17
- componentName: ComputedRef<Pattern>;
19
+ componentName: ComputedRef<string>;
18
20
  layoutConfig: Ref<LayoutConfig>;
19
21
  patternNamedSlots: ComputedRef<{
20
22
  prepend: string;
@@ -25,6 +27,171 @@ declare const _default: SFCWithInstall<DefineComponent<{
25
27
  patternAppend: string;
26
28
  }[]>;
27
29
  computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
30
+ currentRow: CurrentRow;
31
+ fileVisible: Ref<boolean>;
32
+ fileProps: Ref<{
33
+ readonly data?: {
34
+ [x: string]: unknown;
35
+ businessType: string;
36
+ headId: string;
37
+ } | undefined;
38
+ readonly 'onUpdate:visible'?: ((value: boolean) => void) | ((value: boolean) => void)[] | undefined;
39
+ readonly visible?: boolean | undefined;
40
+ readonly currentRow?: {
41
+ [x: string]: unknown;
42
+ templateNumber: string;
43
+ templateVersion: number;
44
+ templateAccount: string;
45
+ busAccount: string;
46
+ elsAccount: string;
47
+ } | undefined;
48
+ readonly action?: string | undefined;
49
+ readonly accept?: string | undefined;
50
+ readonly dictCode?: string | undefined;
51
+ readonly role?: Role | undefined;
52
+ readonly userInfo?: {
53
+ [x: string]: unknown;
54
+ elsAccount: string;
55
+ subAccount: string;
56
+ serivceUrl: string;
57
+ } | undefined;
58
+ readonly property?: string | undefined;
59
+ readonly requiredFileType?: boolean | undefined;
60
+ readonly attrCheck?: string | undefined;
61
+ readonly limitSize?: number | undefined;
62
+ readonly acceptDictCode?: string | undefined;
63
+ readonly maxCount?: number | undefined;
64
+ readonly isOss?: boolean | undefined;
65
+ readonly isGridUpload?: boolean | undefined;
66
+ readonly itemNumberKey?: string | undefined;
67
+ readonly itemNumberLabel?: string | undefined;
68
+ readonly itemNumbeValueProp?: string | undefined;
69
+ readonly itemNumberDefaultValue?: string | undefined;
70
+ readonly itemNumberSelectIndex?: boolean | undefined;
71
+ readonly disabledItemNumber?: boolean | undefined;
72
+ readonly itemInfo?: RecordString[] | undefined;
73
+ readonly fileTypeList?: {
74
+ [x: string]: unknown;
75
+ title: string;
76
+ value: string;
77
+ }[] | undefined;
78
+ readonly actionRoutePath?: string | undefined;
79
+ readonly sourceNumberType?: string | undefined;
80
+ }>;
81
+ handleChangeFiles: (fileResult: RecordString[]) => void;
82
+ importVisible: Ref<boolean>;
83
+ importProps: Ref<{
84
+ button: {
85
+ title: string;
86
+ i18nKey?: string | undefined;
87
+ key: string | symbol;
88
+ args: PageButtonArgsFunctionType | {
89
+ [x: string]: unknown;
90
+ url: string;
91
+ };
92
+ authorityCode?: string | undefined;
93
+ attrs?: RecordString | undefined;
94
+ icon?: {
95
+ type: string;
96
+ size: number;
97
+ color?: string | undefined;
98
+ } | undefined;
99
+ emit?: boolean | undefined;
100
+ emitKey?: string | undefined;
101
+ showMessage?: boolean | undefined;
102
+ checkBefore?: boolean | undefined;
103
+ confirm?: {
104
+ title: string;
105
+ content: string;
106
+ } | undefined;
107
+ dropdown?: boolean | undefined;
108
+ isExistFrozenSource?: boolean | undefined;
109
+ isExistFrozenSourceUrl?: string | undefined;
110
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
111
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
112
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
113
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
114
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
115
+ };
116
+ isEditPage: boolean;
117
+ token: string;
118
+ }>;
119
+ auditModalVisible: Ref<boolean>;
120
+ approvalModalVisible: Ref<boolean>;
121
+ nodeHistoryModalVisible: Ref<boolean>;
122
+ auditModalProps: Ref<{
123
+ title?: string | undefined;
124
+ form?: {
125
+ [x: string]: unknown;
126
+ type: string;
127
+ label: string;
128
+ fieldName: string;
129
+ required?: string | undefined;
130
+ attrs?: ObjectMap | undefined;
131
+ extends?: ObjectMap | undefined;
132
+ dictCode?: string | undefined;
133
+ options?: any[] | undefined;
134
+ click?: ((args: object, formState?: ObjectMap | undefined) => void) | undefined;
135
+ }[] | undefined;
136
+ 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
137
+ visible?: boolean | undefined;
138
+ currentRow?: any;
139
+ businessType?: string | undefined;
140
+ token?: string | undefined;
141
+ busAccount?: string | undefined;
142
+ width?: string | undefined;
143
+ taskAction?: string | undefined;
144
+ needFlow?: string | undefined;
145
+ flowIframeUrl?: string | undefined;
146
+ customParams?: Record<string, any> | undefined;
147
+ }>;
148
+ auditModalConfirm: Ref<any>;
149
+ auditModalCancel: Ref<any>;
150
+ flowVisible: Ref<boolean>;
151
+ flowProps: Ref<{
152
+ button?: {
153
+ title: string;
154
+ i18nKey?: string | undefined;
155
+ key: string | symbol;
156
+ args: PageButtonArgsFunctionType | {
157
+ [x: string]: unknown;
158
+ url: string;
159
+ };
160
+ authorityCode?: string | undefined;
161
+ attrs?: RecordString | undefined;
162
+ icon?: {
163
+ type: string;
164
+ size: number;
165
+ color?: string | undefined;
166
+ } | undefined;
167
+ emit?: boolean | undefined;
168
+ emitKey?: string | undefined;
169
+ showMessage?: boolean | undefined;
170
+ checkBefore?: boolean | undefined;
171
+ confirm?: {
172
+ title: string;
173
+ content: string;
174
+ } | undefined;
175
+ dropdown?: boolean | undefined;
176
+ isExistFrozenSource?: boolean | undefined;
177
+ isExistFrozenSourceUrl?: string | undefined;
178
+ isExistFrozenSourceParams?: ((pageData: RecordString) => RecordString) | undefined;
179
+ disabled?: ((pageData: RecordString) => boolean) | undefined;
180
+ handleBefore?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
181
+ handleAfter?: ((args: ExposeWithPageButtons) => Promise<ExposeWithPageButtons>) | undefined;
182
+ callback?: ((payload: PageButtonPayload) => void) | undefined;
183
+ } | undefined;
184
+ title?: string | undefined;
185
+ onChange?: ((args: any) => void) | ((args: any) => void)[] | undefined;
186
+ 'onUpdate:visible'?: ((value: string) => void) | ((value: string) => void)[] | undefined;
187
+ visible?: boolean | undefined;
188
+ currentRow?: any;
189
+ token?: string | undefined;
190
+ width?: string | undefined;
191
+ flowId?: string | undefined;
192
+ isDesign?: boolean | undefined;
193
+ workFlowType?: string | undefined;
194
+ }>;
28
195
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
29
196
  title: {
30
197
  type: PropType<string>;
@@ -0,0 +1,31 @@
1
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, CSSProperties } from 'vue';
2
+ import type { PageButton, LayoutConfig, CurrentRow, ComputedFormFieldsItem, GroupItem } from '../../../edit-page-layout';
3
+ declare const _sfc_main: DefineComponent<{
4
+ title: {
5
+ type: PropType<string>;
6
+ default: string;
7
+ };
8
+ }, {
9
+ pageButtons: PageButton[];
10
+ layoutConfig: Ref<LayoutConfig>;
11
+ collapseActiveKey: Ref<string>;
12
+ tabActiveKey: Ref<string>;
13
+ customStyle: CSSProperties;
14
+ computedGroups: ComputedRef<GroupItem[]>;
15
+ masterGroups: ComputedRef<GroupItem[]>;
16
+ othersGroups: ComputedRef<GroupItem[]>;
17
+ showPageHeader: boolean;
18
+ currentRow: CurrentRow;
19
+ showBackIcon: boolean;
20
+ computedMasterCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
21
+ computedOthersCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
22
+ pageTitleName: ComputedRef<string>;
23
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
24
+ title: {
25
+ type: PropType<string>;
26
+ default: string;
27
+ };
28
+ }>>, {
29
+ title: string;
30
+ }, {}>;
31
+ export default _sfc_main;
@@ -0,0 +1,31 @@
1
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, CSSProperties } from 'vue';
2
+ import type { PageButton, LayoutConfig, CurrentRow, ComputedFormFieldsItem, GroupItem } from '../../../edit-page-layout';
3
+ declare const _sfc_main: DefineComponent<{
4
+ title: {
5
+ type: PropType<string>;
6
+ default: string;
7
+ };
8
+ }, {
9
+ pageButtons: PageButton[];
10
+ layoutConfig: Ref<LayoutConfig>;
11
+ collapseActiveKey: Ref<string>;
12
+ tabActiveKey: Ref<string>;
13
+ customStyle: CSSProperties;
14
+ computedGroups: ComputedRef<GroupItem[]>;
15
+ masterGroups: ComputedRef<GroupItem[]>;
16
+ othersGroups: ComputedRef<GroupItem[]>;
17
+ showPageHeader: boolean;
18
+ currentRow: CurrentRow;
19
+ showBackIcon: boolean;
20
+ computedMasterCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
21
+ computedOthersCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
22
+ pageTitleName: ComputedRef<string>;
23
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
24
+ title: {
25
+ type: PropType<string>;
26
+ default: string;
27
+ };
28
+ }>>, {
29
+ title: string;
30
+ }, {}>;
31
+ export default _sfc_main;
@@ -0,0 +1,26 @@
1
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import type { PageButton, LayoutConfig, GroupItem, CurrentRow, ComputedFormFieldsItem } from '../../../edit-page-layout';
3
+ declare const _sfc_main: DefineComponent<{
4
+ title: {
5
+ type: PropType<string>;
6
+ default: string;
7
+ };
8
+ }, {
9
+ pageButtons: PageButton[];
10
+ layoutConfig: Ref<LayoutConfig>;
11
+ current: Ref<number>;
12
+ computedGroups: ComputedRef<GroupItem[]>;
13
+ showPageHeader: boolean;
14
+ currentRow: CurrentRow;
15
+ showBackIcon: boolean;
16
+ computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
17
+ pageTitleName: ComputedRef<string>;
18
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
19
+ title: {
20
+ type: PropType<string>;
21
+ default: string;
22
+ };
23
+ }>>, {
24
+ title: string;
25
+ }, {}>;
26
+ export default _sfc_main;
@@ -0,0 +1,26 @@
1
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import type { PageButton, LayoutConfig, GroupItem, CurrentRow, ComputedFormFieldsItem } from '../../../edit-page-layout';
3
+ declare const _sfc_main: DefineComponent<{
4
+ title: {
5
+ type: PropType<string>;
6
+ default: string;
7
+ };
8
+ }, {
9
+ pageButtons: PageButton[];
10
+ layoutConfig: Ref<LayoutConfig>;
11
+ activeKey: Ref<string>;
12
+ computedGroups: ComputedRef<GroupItem[]>;
13
+ showPageHeader: boolean;
14
+ currentRow: CurrentRow;
15
+ showBackIcon: boolean;
16
+ computedCustomSlotFields: ComputedRef<ComputedFormFieldsItem[]>;
17
+ pageTitleName: ComputedRef<string>;
18
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
19
+ title: {
20
+ type: PropType<string>;
21
+ default: string;
22
+ };
23
+ }>>, {
24
+ title: string;
25
+ }, {}>;
26
+ export default _sfc_main;