@qqt-product/system 0.0.2 → 0.0.16

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 (105) hide show
  1. package/dist/index.es.js +53240 -10634
  2. package/dist/index.umd.js +94 -21
  3. package/dist/lib/components/QAccountList/src/QAccountCreate.vue.d.ts +2878 -0
  4. package/dist/lib/components/QAccountList/src/QAccountDetail.vue.d.ts +2871 -0
  5. package/dist/lib/components/QAccountList/src/QAccountEdit.vue.d.ts +2878 -0
  6. package/dist/lib/components/QAccountList/src/QAccountList.vue.d.ts +23 -4
  7. package/dist/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue.d.ts +9 -4
  8. package/dist/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue.d.ts +9 -4
  9. package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordDetail.vue.d.ts +2864 -0
  10. package/dist/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue.d.ts +2 -3
  11. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsDetail.vue.d.ts +2864 -0
  12. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue.d.ts +2876 -0
  13. package/dist/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue.d.ts +29 -14
  14. package/dist/lib/components/QI18nList/src/QI18nList.vue.d.ts +2 -6
  15. package/dist/lib/components/QImChatGroupList/src/QImChatGroupList.vue.d.ts +5 -8
  16. package/dist/lib/components/QMqRecordList/src/QMqRecordList.vue.d.ts +9 -4
  17. package/dist/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue.d.ts +2872 -0
  18. package/dist/lib/components/QPermissionDataList/src/QPermissionDataList.vue.d.ts +126 -0
  19. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue.d.ts +2864 -0
  20. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue.d.ts +2887 -0
  21. package/dist/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue.d.ts +25 -5
  22. package/dist/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.d.ts +7 -0
  23. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue.d.ts +221 -28
  24. package/dist/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue.d.ts +45 -0
  25. package/dist/lib/components/QQuartzJobList/src/QQuartzJobList.vue.d.ts +24 -5
  26. package/dist/lib/components/QRoleList/src/QRoleList.vue.d.ts +23 -7
  27. package/dist/lib/components/QRoleList/src/useConfigData.d.ts +1 -11
  28. package/dist/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue.d.ts +7 -3
  29. package/dist/lib/components/QUsageList/src/QUsageList.vue.d.ts +15 -35
  30. package/dist/lib/components/QUsageList/src/useConfigData.d.ts +111 -10
  31. package/dist/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue.d.ts +25 -0
  32. package/dist/lib/components/QcustomConfigEdit/component/regexComponent.d.ts +9 -10
  33. package/dist/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue.d.ts +1209 -0
  34. package/dist/lib/components/QcustomConfigEdit/src/useConfigData.d.ts +1 -1
  35. package/dist/lib/components/QcustomConfigList/src/QcustomConfigList.vue.d.ts +8 -7
  36. package/dist/lib/components/QsysConfigList/src/QsysConfigList.vue.d.ts +2 -3
  37. package/dist/lib/components/index.d.ts +2 -2
  38. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesDetail.vue.d.ts +2863 -0
  39. package/dist/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue.d.ts +2872 -0
  40. package/dist/lib/components/integratedNodesList/src/index.vue.d.ts +8 -11
  41. package/dist/lib/components/integratedReportSearchList/src/index.vue.d.ts +16 -10
  42. package/dist/lib/components/loginAbnormalLogList/src/index.vue.d.ts +2 -9
  43. package/dist/lib/components/loginLogList/src/index.vue.d.ts +2 -8
  44. package/dist/lib/components/loginSupplierLogList/src/index.vue.d.ts +2 -12
  45. package/dist/lib/components/operateLogList/src/index.vue.d.ts +2 -13
  46. package/dist/style.css +1 -1
  47. package/dist/vite-env.d.ts +13 -13
  48. package/package.json +13 -11
  49. package/src/lib/components/QAccountList/src/QAccountCreate.vue +272 -0
  50. package/src/lib/components/QAccountList/src/QAccountDetail.vue +82 -14
  51. package/src/lib/components/QAccountList/src/QAccountEdit.vue +65 -33
  52. package/src/lib/components/QAccountList/src/QAccountList.vue +532 -530
  53. package/src/lib/components/QBackgroundFileTaskList/src/QBackgroundFileTaskList.vue +143 -137
  54. package/src/lib/components/QElsEmailSendLogList/src/QElsEmailSendLogList.vue +172 -166
  55. package/src/lib/components/QElsMsgRecordList/src/QElsMsgRecordList.vue +123 -124
  56. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsEdit.vue +66 -18
  57. package/src/lib/components/QElsTenantPortalNewsList/src/QElsTenantPortalNewsList.vue +151 -122
  58. package/src/lib/components/QI18nList/src/QI18nList.vue +365 -361
  59. package/src/lib/components/QImChatGroupList/src/QImChatGroupList.vue +103 -94
  60. package/src/lib/components/QMqRecordList/src/QMqRecordList.vue +109 -105
  61. package/src/lib/components/QPermissionDataList/src/QPermissionDataAuth.vue +3 -3
  62. package/src/lib/components/QPermissionDataList/src/QPermissionDataEdit.vue +218 -221
  63. package/src/lib/components/QPermissionDataList/src/QPermissionDataList.vue +110 -117
  64. package/src/lib/components/QPermissionDataList/src/form.vue +109 -109
  65. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeDetail.vue +1 -1
  66. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeEdit.vue +120 -32
  67. package/src/lib/components/QPurchaseNoticeList/src/QPurchaseNoticeList.vue +189 -163
  68. package/src/lib/components/QPurchaseNoticeList/src/use-field-select-modal-hook.ts +84 -0
  69. package/src/lib/components/QPurchaseNoticeList/src/useConfigData.ts +22 -22
  70. package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateList.vue +134 -85
  71. package/src/lib/components/QPurchaseNoticeTemplateList/src/QPurchaseNoticeTemplateModal.vue +91 -0
  72. package/src/lib/components/QQuartzJobList/src/QQuartzJobList.vue +276 -263
  73. package/src/lib/components/QRoleList/src/QRoleList.vue +332 -288
  74. package/src/lib/components/QRoleList/src/useConfigData.ts +1 -6
  75. package/src/lib/components/QSupplierAccountList/src/QSupplierAccountList.vue +304 -302
  76. package/src/lib/components/QUsageList/src/QUsageList.vue +287 -82
  77. package/src/lib/components/QUsageList/src/useConfigData.ts +147 -13
  78. package/src/lib/components/QcustomConfigEdit/component/AddDictCodeModal.vue +140 -140
  79. package/src/lib/components/QcustomConfigEdit/component/regexComponent.tsx +28 -28
  80. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigEdit.vue +130 -42
  81. package/src/lib/components/QcustomConfigEdit/src/QcustomConfigRender.tsx +2 -2
  82. package/src/lib/components/QcustomConfigEdit/src/useConfigData.ts +2 -2
  83. package/src/lib/components/QcustomConfigEdit/src/useConstant.ts +12 -12
  84. package/src/lib/components/QcustomConfigList/src/QcustomConfigList.vue +276 -268
  85. package/src/lib/components/QcustomConfigList/src/useConfigData.ts +1 -1
  86. package/src/lib/components/QsysConfigList/src/QsysConfigList.vue +124 -125
  87. package/src/lib/components/index.ts +78 -78
  88. package/src/lib/components/integratedNodesList/src/QIntegratedNodesEdit.vue +2 -10
  89. package/src/lib/components/integratedNodesList/src/index.vue +130 -136
  90. package/src/lib/components/integratedReportList/src/index.vue +55 -30
  91. package/src/lib/components/integratedReportSearchList/src/index.vue +106 -66
  92. package/src/lib/components/loginAbnormalLogList/src/index.vue +43 -50
  93. package/src/lib/components/loginLogList/src/index.vue +51 -57
  94. package/src/lib/components/loginSupplierLogList/src/index.vue +53 -63
  95. package/src/lib/components/operateLogList/src/index.vue +46 -57
  96. package/src/vite-env.d.ts +13 -13
  97. package/tsconfig.json +24 -24
  98. package/vite.config.ts +1 -1
  99. package/dist/lib/components/QCompanyermissionList/src/form.vue.d.ts +0 -80
  100. package/dist/lib/components/QCompanyermissionList/src/types.d.ts +0 -44
  101. package/dist/lib/components/integratedReportList/src/index.vue.d.ts +0 -70
  102. package/src/lib/components/QCompanyermissionList/src/editTree.vue +0 -291
  103. package/src/lib/components/QCompanyermissionList/src/form.vue +0 -238
  104. package/src/lib/components/QCompanyermissionList/src/index.vue +0 -309
  105. package/src/lib/components/QCompanyermissionList/src/types.ts +0 -44
@@ -1,20 +1,23 @@
1
1
  import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import qqtApi from '@qqt-product/api';
3
+ import type { GlobalPageLayoutTypes } from '@qqt-product/ui';
2
4
  declare const _sfc_main: DefineComponent<{}, {
5
+ qHttp: qqtApi.Request;
3
6
  listLayoutRef: Ref<any>;
4
- emit: (event: "create" | "edit" | "detail" | "delete" | "publish", ...args: any[]) => void;
7
+ emit: (event: "create" | "edit" | "detail", ...args: any[]) => void;
5
8
  srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
6
9
  apiUrls: {
7
10
  list: string;
8
11
  columnsCode: string;
9
12
  };
13
+ handleDelete: (row: GlobalPageLayoutTypes.CurrentRow) => Promise<void>;
14
+ handlePublish: (row: GlobalPageLayoutTypes.CurrentRow) => Promise<void>;
10
15
  pageData: {
11
16
  statusConfig: {
12
17
  show: boolean;
13
18
  };
14
- optColumn: {
15
- attrs: {};
16
- extend: {};
17
- optColumnList: ({
19
+ optionConfig: {
20
+ options: ({
18
21
  type: string;
19
22
  title: string;
20
23
  click: ({ row }: {
@@ -30,16 +33,33 @@ declare const _sfc_main: DefineComponent<{}, {
30
33
  disabled: ({ row }: {
31
34
  row: any;
32
35
  }) => boolean;
36
+ } | {
37
+ type: string;
38
+ title: string;
39
+ click: ({ row }: {
40
+ row?: GlobalPageLayoutTypes.CurrentRow | undefined;
41
+ }) => void;
42
+ disabled?: undefined;
43
+ } | {
44
+ type: string;
45
+ title: string;
46
+ disabled: ({ row }: {
47
+ row: any;
48
+ }) => boolean;
49
+ click: ({ row }: {
50
+ row?: GlobalPageLayoutTypes.CurrentRow | undefined;
51
+ }) => void;
33
52
  })[];
34
53
  };
35
54
  buttonConfig: {
36
- attrs: {};
37
- extend: {};
38
55
  buttons: ({
39
56
  label: string;
40
57
  icon: {
41
58
  type: string;
42
59
  };
60
+ attrs: {
61
+ type: string;
62
+ };
43
63
  type: string;
44
64
  click: () => void;
45
65
  } | {
@@ -48,28 +68,23 @@ declare const _sfc_main: DefineComponent<{}, {
48
68
  type: string;
49
69
  };
50
70
  type: string;
71
+ attrs?: undefined;
51
72
  click?: undefined;
52
73
  })[];
53
74
  };
54
75
  queryConfig: {
55
- attrs: {};
56
- extend: {};
57
76
  form: {
58
77
  type: string;
59
78
  label: string;
60
79
  fieldName: string;
61
80
  placeholder: string;
62
81
  }[];
63
- formState: {};
64
82
  };
65
83
  pagerConfig: {};
66
84
  };
67
- refresh: () => void;
68
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("create" | "edit" | "detail" | "delete" | "publish")[], "create" | "edit" | "detail" | "delete" | "publish", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
85
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("create" | "edit" | "detail")[], "create" | "edit" | "detail", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
69
86
  onCreate?: ((...args: any[]) => any) | undefined;
70
87
  onEdit?: ((...args: any[]) => any) | undefined;
71
88
  onDetail?: ((...args: any[]) => any) | undefined;
72
- onDelete?: ((...args: any[]) => any) | undefined;
73
- onPublish?: ((...args: any[]) => any) | undefined;
74
89
  }, {}, {}>;
75
90
  export default _sfc_main;
@@ -31,10 +31,10 @@ declare const _sfc_main: DefineComponent<{
31
31
  statusConfig: {
32
32
  show: boolean;
33
33
  };
34
- optColumn: {
34
+ optionConfig: {
35
35
  attrs: {};
36
36
  extend: {};
37
- optColumnList: {
37
+ options: {
38
38
  authorityCode: string;
39
39
  type: string;
40
40
  title: string;
@@ -113,10 +113,6 @@ declare const _sfc_main: DefineComponent<{
113
113
  fieldName: string;
114
114
  placeholder: string;
115
115
  }[];
116
- formState: {
117
- i18nKey: string;
118
- chinese: string;
119
- };
120
116
  };
121
117
  pagerConfig: {};
122
118
  };
@@ -14,14 +14,15 @@ declare const _sfc_main: DefineComponent<{
14
14
  statusConfig: {
15
15
  show: boolean;
16
16
  };
17
- optColumn: {
17
+ optionConfig: {
18
18
  attrs: {};
19
19
  extend: {};
20
- optColumnList: {
20
+ options: {
21
21
  type: string;
22
22
  title: string;
23
- authorityCode: string;
24
- action: string;
23
+ click: ({ row }: {
24
+ row: any;
25
+ }) => void;
25
26
  }[];
26
27
  };
27
28
  buttonConfig: {
@@ -45,10 +46,6 @@ declare const _sfc_main: DefineComponent<{
45
46
  dictCode: string;
46
47
  placeholder: string;
47
48
  })[];
48
- formState: {
49
- keyWord: string;
50
- recordType: string;
51
- };
52
49
  };
53
50
  pagerConfig: {};
54
51
  };
@@ -16,10 +16,10 @@ declare const _sfc_main: DefineComponent<{
16
16
  statusConfig: {
17
17
  show: boolean;
18
18
  };
19
- optColumn: {
19
+ optionConfig: {
20
20
  attrs: {};
21
21
  extend: {};
22
- optColumnList: {
22
+ options: {
23
23
  authorityCode: string;
24
24
  type: string;
25
25
  title: string;
@@ -34,7 +34,13 @@ declare const _sfc_main: DefineComponent<{
34
34
  buttonConfig: {
35
35
  attrs: {};
36
36
  extend: {};
37
- buttons: never[];
37
+ buttons: {
38
+ label: string;
39
+ icon: {
40
+ type: string;
41
+ };
42
+ type: string;
43
+ }[];
38
44
  };
39
45
  queryConfig: {
40
46
  attrs: {};
@@ -46,7 +52,6 @@ declare const _sfc_main: DefineComponent<{
46
52
  fieldName: string;
47
53
  placeholder: string;
48
54
  }[];
49
- formState: {};
50
55
  };
51
56
  pagerConfig: {};
52
57
  };