@pusdn/pgz-comp-elep 0.2.13 → 0.2.14

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 (118) hide show
  1. package/lib/adaptive-page/index.d.ts +17096 -0
  2. package/lib/adaptive-page/src/index.vue.d.ts +5731 -0
  3. package/lib/adaptive-page/src/type.d.ts +9 -0
  4. package/lib/button/index.d.ts +134 -0
  5. package/lib/button/src/index.vue.d.ts +67 -0
  6. package/lib/button/src/type.d.ts +10 -0
  7. package/lib/chart/index.d.ts +164 -0
  8. package/lib/chart/src/index.vue.d.ts +77 -0
  9. package/lib/chart/src/type.d.ts +7 -0
  10. package/lib/checkbox/index.d.ts +206 -0
  11. package/lib/checkbox/src/checkbox.d.ts +5 -0
  12. package/lib/checkbox/src/index.vue.d.ts +91 -0
  13. package/lib/components.d.ts +57 -0
  14. package/lib/date-picker/index.d.ts +170 -0
  15. package/lib/date-picker/src/index.vue.d.ts +77 -0
  16. package/lib/date-picker/src/type.d.ts +10 -0
  17. package/lib/detail/index.d.ts +182 -0
  18. package/lib/detail/src/index.vue.d.ts +88 -0
  19. package/lib/detail/src/renderLabel.vue.d.ts +8 -0
  20. package/lib/detail/src/renderTooltip.vue.d.ts +8 -0
  21. package/lib/detail/src/type.d.ts +27 -0
  22. package/lib/favicon.ico +0 -0
  23. package/lib/form/index.d.ts +308 -0
  24. package/lib/form/src/index.vue.d.ts +125 -0
  25. package/lib/form/src/renderBtn.vue.d.ts +8 -0
  26. package/lib/form/src/renderComp.vue.d.ts +8 -0
  27. package/lib/form/src/type.d.ts +26 -0
  28. package/lib/index.d.ts +42 -0
  29. package/lib/input/index.d.ts +215 -0
  30. package/lib/input/src/index.vue.d.ts +109 -0
  31. package/lib/input/src/type.d.ts +13 -0
  32. package/lib/layout-page/index.d.ts +114 -0
  33. package/lib/layout-page/src/index.vue.d.ts +62 -0
  34. package/lib/layout-page-item/index.d.ts +35 -0
  35. package/lib/layout-page-item/src/index.vue.d.ts +14 -0
  36. package/lib/module-form/index.d.ts +530 -0
  37. package/lib/module-form/src/index.vue.d.ts +243 -0
  38. package/lib/module-form/src/moduleDetail.vue.d.ts +30 -0
  39. package/lib/module-form/src/moduleForm.vue.d.ts +36 -0
  40. package/lib/module-form/src/type.d.ts +19 -0
  41. package/lib/pgz-checkbox/index.d.ts +149 -0
  42. package/lib/pgz-checkbox/src/index.vue.d.ts +65 -0
  43. package/lib/pgz-checkbox/src/type.d.ts +12 -0
  44. package/lib/pgz-comp-elep.es.js +39723 -0
  45. package/lib/pgz-comp-elep.es.js.gz +0 -0
  46. package/lib/pgz-comp-elep.umd.js +261 -0
  47. package/lib/pgz-comp-elep.umd.js.gz +0 -0
  48. package/lib/pgz-html-preview-modal/index.d.ts +77 -0
  49. package/lib/pgz-html-preview-modal/src/index.vue.d.ts +22 -0
  50. package/lib/pgz-html-preview-modal/src/type.d.ts +7 -0
  51. package/lib/pgz-search-select/index.d.ts +5 -0
  52. package/lib/pgz-search-select/src/index.vue.d.ts +194 -0
  53. package/lib/pgz-search-select/src/type.d.ts +16 -0
  54. package/lib/pgz-tdt-mark/index.d.ts +407 -0
  55. package/lib/pgz-tdt-mark/src/env.d.ts +7 -0
  56. package/lib/pgz-tdt-mark/src/index.vue.d.ts +167 -0
  57. package/lib/pgz-tdt-mark/src/props.d.ts +63 -0
  58. package/lib/pgz-tdt-mark/src/types/index.d.ts +1 -0
  59. package/lib/pgz-tdt-mark/src/types/tdt.d.ts +88 -0
  60. package/lib/pgz-tdt-ploygon/index.d.ts +401 -0
  61. package/lib/pgz-tdt-ploygon/src/env.d.ts +7 -0
  62. package/lib/pgz-tdt-ploygon/src/index.vue.d.ts +164 -0
  63. package/lib/pgz-tdt-ploygon/src/props.d.ts +35 -0
  64. package/lib/pgz-tdt-ploygon/src/tmp-fix.d.ts +10 -0
  65. package/lib/pgz-tdt-ploygon/src/types/index.d.ts +1 -0
  66. package/lib/pgz-tdt-ploygon/src/types/tdt.d.ts +120 -0
  67. package/lib/pgz-tdt-ploygon/src/types.d.ts +27 -0
  68. package/lib/pgz-video-xg-modal/index.d.ts +181 -0
  69. package/lib/pgz-video-xg-modal/src/env.d.ts +7 -0
  70. package/lib/pgz-video-xg-modal/src/index.vue.d.ts +73 -0
  71. package/lib/pgz-video-xg-modal/src/types/xgplayer.d.ts +59 -0
  72. package/lib/query-condition/index.d.ts +701 -0
  73. package/lib/query-condition/src/index.vue.d.ts +326 -0
  74. package/lib/query-condition/src/moreChoose.vue.d.ts +37 -0
  75. package/lib/query-condition/src/renderComp.vue.d.ts +8 -0
  76. package/lib/query-condition/src/type.d.ts +21 -0
  77. package/lib/query-condition/src/useComputed.d.ts +27 -0
  78. package/lib/radio/index.d.ts +206 -0
  79. package/lib/radio/src/index.vue.d.ts +91 -0
  80. package/lib/radio/src/radio.d.ts +12 -0
  81. package/lib/select/index.d.ts +371 -0
  82. package/lib/select/src/index.vue.d.ts +200 -0
  83. package/lib/select/src/type.d.ts +42 -0
  84. package/lib/select-icon/index.d.ts +174 -0
  85. package/lib/select-icon/src/index.vue.d.ts +89 -0
  86. package/lib/select-table/index.d.ts +2165 -0
  87. package/lib/select-table/src/index.vue.d.ts +963 -0
  88. package/lib/select-table/src/renderCol.vue.d.ts +20 -0
  89. package/lib/select-table/src/type.d.ts +56 -0
  90. package/lib/select-table/src/useVirtualized.d.ts +11 -0
  91. package/lib/step-wizard/index.d.ts +146 -0
  92. package/lib/step-wizard/src/index.vue.d.ts +71 -0
  93. package/lib/step-wizard/src/type.d.ts +25 -0
  94. package/lib/style.css +1 -0
  95. package/lib/style.css.gz +0 -0
  96. package/lib/table/index.d.ts +2540 -0
  97. package/lib/table/src/ColumnSet.vue.d.ts +148 -0
  98. package/lib/table/src/TTableColumn.vue.d.ts +173 -0
  99. package/lib/table/src/index.vue.d.ts +941 -0
  100. package/lib/table/src/operator.vue.d.ts +80 -0
  101. package/lib/table/src/renderCol.vue.d.ts +20 -0
  102. package/lib/table/src/renderHeader.vue.d.ts +16 -0
  103. package/lib/table/src/singleEdit.vue.d.ts +122 -0
  104. package/lib/table/src/singleEditCell.vue.d.ts +120 -0
  105. package/lib/table/src/tableProps.d.ts +100 -0
  106. package/lib/table/src/useExpose.d.ts +16 -0
  107. package/lib/table/src/useVirtualized.d.ts +9 -0
  108. package/lib/tabs/index.d.ts +69 -0
  109. package/lib/tabs/src/index.vue.d.ts +34 -0
  110. package/lib/timer-btn/index.d.ts +92 -0
  111. package/lib/timer-btn/src/index.vue.d.ts +43 -0
  112. package/lib/utils/directives/click-outside/index.d.ts +3 -0
  113. package/lib/utils/http/api.d.ts +76 -0
  114. package/lib/utils/http/index.d.ts +79 -0
  115. package/lib/utils/http/types.d.ts +13 -0
  116. package/lib/utils/index.d.ts +40 -0
  117. package/lib/withInstall.d.ts +4 -0
  118. package/package.json +1 -1
@@ -0,0 +1,43 @@
1
+ export interface TTimerBtnProps {
2
+ second?: number;
3
+ className?: string;
4
+ }
5
+ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
+ second: {
7
+ type: NumberConstructor;
8
+ required: false;
9
+ default: number;
10
+ };
11
+ className: {
12
+ type: StringConstructor;
13
+ required: false;
14
+ default: string;
15
+ };
16
+ }>, {
17
+ props: any;
18
+ time: import("vue").Ref<number, number>;
19
+ disabled: import("vue").Ref<boolean, boolean>;
20
+ text: import("vue").ComputedRef<string>;
21
+ emits: (event: "click", ...args: any[]) => void;
22
+ run: () => void;
23
+ reset: () => void;
24
+ start: () => void;
25
+ timer: () => void;
26
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
+ second: {
28
+ type: NumberConstructor;
29
+ required: false;
30
+ default: number;
31
+ };
32
+ className: {
33
+ type: StringConstructor;
34
+ required: false;
35
+ default: string;
36
+ };
37
+ }>> & Readonly<{
38
+ onClick?: ((...args: any[]) => any) | undefined;
39
+ }>, {
40
+ className: string;
41
+ second: number;
42
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
+ export default _sfc_main;
@@ -0,0 +1,3 @@
1
+ import type { ObjectDirective } from "vue";
2
+ declare const ClickOutside: ObjectDirective;
3
+ export default ClickOutside;
@@ -0,0 +1,76 @@
1
+ export interface ApiResponse<T = any> {
2
+ success: boolean;
3
+ message: string;
4
+ code: number;
5
+ result: T;
6
+ timestamp: number;
7
+ }
8
+ export interface OptionItem {
9
+ value: string | number;
10
+ text: string;
11
+ title?: string;
12
+ [key: string]: any;
13
+ }
14
+ declare const addRole: (params: any) => Promise<any>;
15
+ declare const editRole: (params: any) => Promise<any>;
16
+ declare const checkRoleCode: (params: any) => Promise<any>;
17
+ declare const queryall: (params: any) => Promise<any>;
18
+ declare const addUser: (params: any) => Promise<any>;
19
+ declare const editUser: (params: any) => Promise<any>;
20
+ declare const queryUserRole: (params: any) => Promise<any>;
21
+ declare const getUserList: (params: any) => Promise<any>;
22
+ declare const frozenBatch: (params: any) => Promise<any>;
23
+ declare const checkOnlyUser: (params: any) => Promise<any>;
24
+ declare const changePassword: (params: any) => Promise<any>;
25
+ declare const addPermission: (params: any) => Promise<any>;
26
+ declare const editPermission: (params: any) => Promise<any>;
27
+ declare const getPermissionList: (params: any) => Promise<any>;
28
+ declare const getSystemMenuList: (params: any) => Promise<any>;
29
+ declare const getSystemSubmenu: (params: any) => Promise<any>;
30
+ declare const getSystemSubmenuBatch: (params: any) => Promise<any>;
31
+ declare const queryTreeList: (params: any) => Promise<any>;
32
+ declare const queryTreeListForRole: (params: any) => Promise<any>;
33
+ declare const queryListAsync: (params: any) => Promise<any>;
34
+ declare const queryRolePermission: (params: any) => Promise<any>;
35
+ declare const saveRolePermission: (params: any) => Promise<any>;
36
+ declare const queryPermissionsByUser: () => Promise<any>;
37
+ declare const loadAllRoleIds: (params: any) => Promise<any>;
38
+ declare const getPermissionRuleList: (params: any) => Promise<any>;
39
+ declare const queryPermissionRule: (params: any) => Promise<any>;
40
+ declare const queryDepartTreeList: (params: any) => Promise<any>;
41
+ declare const queryDepartTreeSync: (params: any) => Promise<any>;
42
+ declare const queryIdTree: (params: any) => Promise<any>;
43
+ declare const queryParentName: (params: any) => Promise<any>;
44
+ declare const searchByKeywords: (params: any) => Promise<any>;
45
+ declare const deleteByDepartId: (params: any) => Promise<any>;
46
+ declare const queryDepartPermission: (params: any) => Promise<any>;
47
+ declare const saveDepartPermission: (params: any) => Promise<any>;
48
+ declare const queryTreeListForDeptRole: (params: any) => Promise<any>;
49
+ declare const queryDeptRolePermission: (params: any) => Promise<any>;
50
+ declare const saveDeptRolePermission: (params: any) => Promise<any>;
51
+ declare const queryMyDepartTreeList: (params: any) => Promise<any>;
52
+ declare const deleteLog: (params: any) => Promise<any>;
53
+ declare const deleteLogList: (params: any) => Promise<any>;
54
+ declare const addDict: (params: any) => Promise<any>;
55
+ declare const editDict: (params: any) => Promise<any>;
56
+ declare const treeList: (params: any) => Promise<any>;
57
+ declare const addDictItem: (params: any) => Promise<any>;
58
+ declare const editDictItem: (params: any) => Promise<any>;
59
+ export declare const ajaxGetDictItems: <T = OptionItem[]>(code: any, params: any) => Promise<ApiResponse<T>>;
60
+ export declare function getDictItemsFromCache(dictCode: any): any;
61
+ declare const doReleaseData: (params: any) => Promise<any>;
62
+ declare const doReovkeData: (params: any) => Promise<any>;
63
+ declare const getLoginfo: (params: any) => Promise<any>;
64
+ declare const getVisitInfo: (params: any) => Promise<any>;
65
+ declare const queryUserByDepId: (params: any) => Promise<any>;
66
+ declare const duplicateCheck: (params: any) => Promise<any>;
67
+ declare const loadCategoryData: (params: any) => Promise<any>;
68
+ declare const checkRuleByCode: (params: any) => Promise<any>;
69
+ declare const getUserNoticeInfo: (params: any) => Promise<any>;
70
+ export declare const transitRESTful: {
71
+ get: (url: any, parameter: any) => Promise<any>;
72
+ post: (url: any, parameter: any) => Promise<any>;
73
+ put: (url: any, parameter: any) => Promise<any>;
74
+ http: (url: any, parameter: any) => Promise<any>;
75
+ };
76
+ export { addRole, editRole, checkRoleCode, addUser, editUser, queryUserRole, getUserList, queryall, frozenBatch, checkOnlyUser, changePassword, getPermissionList, addPermission, editPermission, queryTreeList, queryListAsync, queryRolePermission, saveRolePermission, queryPermissionsByUser, loadAllRoleIds, getPermissionRuleList, queryPermissionRule, queryDepartTreeList, queryDepartTreeSync, queryIdTree, queryParentName, searchByKeywords, deleteByDepartId, deleteLog, deleteLogList, addDict, editDict, treeList, addDictItem, editDictItem, doReleaseData, doReovkeData, getLoginfo, getVisitInfo, queryUserByDepId, duplicateCheck, queryTreeListForRole, getSystemMenuList, getSystemSubmenu, getSystemSubmenuBatch, loadCategoryData, checkRuleByCode, queryDepartPermission, saveDepartPermission, queryTreeListForDeptRole, queryDeptRolePermission, saveDeptRolePermission, queryMyDepartTreeList, getUserNoticeInfo };
@@ -0,0 +1,79 @@
1
+ /**
2
+ * 获取Token
3
+ */
4
+ export declare const getToken: () => string | null;
5
+ /**
6
+ * 设置Token
7
+ */
8
+ export declare const setToken: (access_token: string) => string;
9
+ /**
10
+ * 移除Token
11
+ */
12
+ export declare const removeToken: () => null;
13
+ /**
14
+ * 获取当前语言
15
+ */
16
+ export declare const getLanguage: () => string;
17
+ /**
18
+ * 获取全局请求头
19
+ */
20
+ export declare const globalHeaders: () => {
21
+ Authorization: string;
22
+ clientid: string;
23
+ };
24
+ export declare function setupHttp(options: {
25
+ baseURL?: string;
26
+ timeout?: number;
27
+ clientId?: string;
28
+ }): void;
29
+ declare let service: any;
30
+ /**
31
+ * POST请求方法
32
+ * @param url 请求地址
33
+ * @param parameter 请求参数
34
+ */
35
+ export declare function postAction<T = any>(url: string, parameter: any): Promise<T>;
36
+ /**
37
+ * 通用HTTP请求方法
38
+ * @param url 请求地址
39
+ * @param parameter 请求参数
40
+ * @param method 请求方法
41
+ */
42
+ export declare function httpAction<T = any>(url: string, parameter: any, method: string): Promise<T>;
43
+ /**
44
+ * PUT请求方法
45
+ * @param url 请求地址
46
+ * @param parameter 请求参数
47
+ */
48
+ export declare function putAction<T = any>(url: string, parameter: any): Promise<T>;
49
+ /**
50
+ * GET请求方法
51
+ * @param url 请求地址
52
+ * @param parameter 请求参数
53
+ */
54
+ export declare function getAction<T = any>(url: string, parameter: any): Promise<T>;
55
+ /**
56
+ * DELETE请求方法
57
+ * @param url 请求地址
58
+ * @param parameter 请求参数
59
+ */
60
+ export declare function deleteAction<T = any>(url: string, parameter: any): Promise<T>;
61
+ /**
62
+ * 下载文件请求方法
63
+ * @param url 请求地址
64
+ * @param parameter 请求参数
65
+ */
66
+ export declare function downloadFile<T = any>(url: string, parameter: any): Promise<T>;
67
+ /**
68
+ * 上传文件请求方法
69
+ * @param url 请求地址
70
+ * @param parameter 请求参数
71
+ */
72
+ export declare function uploadFile<T = any>(url: string, parameter: any): Promise<T>;
73
+ export declare const get: typeof getAction;
74
+ export declare const post: typeof postAction;
75
+ export declare const put: typeof putAction;
76
+ export declare const del: typeof deleteAction;
77
+ export declare const download: typeof downloadFile;
78
+ export declare const upload: typeof uploadFile;
79
+ export default service;
@@ -0,0 +1,13 @@
1
+ export interface ApiResponse<T = any> {
2
+ success: boolean;
3
+ message: string;
4
+ code: number;
5
+ result: T;
6
+ timestamp: number;
7
+ }
8
+ export interface OptionItem {
9
+ value: string | number;
10
+ text: string;
11
+ title?: string;
12
+ [key: string]: any;
13
+ }
@@ -0,0 +1,40 @@
1
+ type Func = (...args: any[]) => any;
2
+ /**
3
+ * 防抖函数
4
+ * @param { Function } func 函数
5
+ * @param { Number } delay 防抖时间
6
+ * @param { Boolean } immediate 是否立即执行
7
+ * @param { Function } resultCallback
8
+ */
9
+ export declare function debounce(func: Func, delay?: number, immediate?: boolean, resultCallback?: Func): {
10
+ (this: unknown, ...args: any[]): Promise<unknown>;
11
+ cancel(): void;
12
+ };
13
+ /**
14
+ * 节流函数
15
+ * @param { Function } func
16
+ * @param { Boolean } interval
17
+ * @param { Object } options
18
+ * leading:初始 trailing:结尾
19
+ */
20
+ export declare function throttle(func: Func, interval: number, options?: {
21
+ leading: boolean;
22
+ trailing: boolean;
23
+ }): {
24
+ (this: unknown, ...args: any[]): void;
25
+ cancel(): void;
26
+ };
27
+ /**
28
+ * 驼峰转换下划线
29
+ * @param { String } name
30
+ */
31
+ export declare function toLine(name: string): string;
32
+ export declare function formatNumber(value: number | string, precision?: number, separator?: string, decimal?: string, prefix?: string, suffix?: string): string;
33
+ export * from './http';
34
+ declare const _default: {
35
+ debounce: typeof debounce;
36
+ throttle: typeof throttle;
37
+ toLine: typeof toLine;
38
+ formatNumber: typeof formatNumber;
39
+ };
40
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { Plugin } from "vue";
2
+ type SFCWithInstall<T> = T & Plugin;
3
+ export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E | undefined) => SFCWithInstall<T> & E;
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pusdn/pgz-comp-elep",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "PGZ组件库,Vue3 中基于Element-Plus二次封装基础组件文档",
5
5
  "author": "JaneYork",
6
6
  "license": "PGZ-LIC",