g-ui-web 0.8.23

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 (186) hide show
  1. package/README.md +118 -0
  2. package/global.d.ts +111 -0
  3. package/lib/bar/index.d.ts +71 -0
  4. package/lib/bar/src/chart.d.ts +2 -0
  5. package/lib/bar/src/index.vue.d.ts +32 -0
  6. package/lib/bar/src/options.d.ts +20 -0
  7. package/lib/bar-compare/index.d.ts +65 -0
  8. package/lib/bar-compare/src/chart.d.ts +2 -0
  9. package/lib/bar-compare/src/index.vue.d.ts +30 -0
  10. package/lib/bar-compare/src/options.d.ts +32 -0
  11. package/lib/bar-conv/index.d.ts +59 -0
  12. package/lib/bar-conv/src/index.vue.d.ts +26 -0
  13. package/lib/bar-line/index.d.ts +59 -0
  14. package/lib/bar-line/src/chart.d.ts +2 -0
  15. package/lib/bar-line/src/index.vue.d.ts +26 -0
  16. package/lib/bar-line/src/options.d.ts +36 -0
  17. package/lib/box/index.d.ts +211 -0
  18. package/lib/box/src/index.vue.d.ts +131 -0
  19. package/lib/cashflow/index.d.ts +68 -0
  20. package/lib/cashflow/src/cash-flow-curve.d.ts +1 -0
  21. package/lib/cashflow/src/cash-line.d.ts +1 -0
  22. package/lib/cashflow/src/index.vue.d.ts +29 -0
  23. package/lib/cashflow/src/time-formatter.d.ts +2 -0
  24. package/lib/chart/index.d.ts +23 -0
  25. package/lib/chart/src/index.vue.d.ts +58 -0
  26. package/lib/datatable/index.d.ts +72 -0
  27. package/lib/datatable/src/index.vue.d.ts +48 -0
  28. package/lib/ele/button/index.d.ts +18 -0
  29. package/lib/ele/button/src/index.vue.d.ts +16 -0
  30. package/lib/ele/button-group/index.d.ts +18 -0
  31. package/lib/ele/button-group/src/index.vue.d.ts +16 -0
  32. package/lib/ele/card/index.d.ts +16 -0
  33. package/lib/ele/card/src/index.vue.d.ts +14 -0
  34. package/lib/ele/carousel/index.d.ts +18 -0
  35. package/lib/ele/carousel/src/index.vue.d.ts +16 -0
  36. package/lib/ele/carousel-item/index.d.ts +18 -0
  37. package/lib/ele/carousel-item/src/index.vue.d.ts +16 -0
  38. package/lib/ele/cascader/index.d.ts +14 -0
  39. package/lib/ele/cascader/src/index.vue.d.ts +2 -0
  40. package/lib/ele/cascader-panel/index.d.ts +14 -0
  41. package/lib/ele/cascader-panel/src/index.vue.d.ts +2 -0
  42. package/lib/ele/check-tag/index.d.ts +18 -0
  43. package/lib/ele/check-tag/src/index.vue.d.ts +16 -0
  44. package/lib/ele/checkbox/index.d.ts +16 -0
  45. package/lib/ele/checkbox/src/index.vue.d.ts +14 -0
  46. package/lib/ele/checkbox-button/index.d.ts +18 -0
  47. package/lib/ele/checkbox-button/src/index.vue.d.ts +16 -0
  48. package/lib/ele/checkbox-group/index.d.ts +18 -0
  49. package/lib/ele/checkbox-group/src/index.vue.d.ts +16 -0
  50. package/lib/ele/col/index.d.ts +18 -0
  51. package/lib/ele/col/src/index.vue.d.ts +16 -0
  52. package/lib/ele/date-picker/index.d.ts +18 -0
  53. package/lib/ele/date-picker/src/index.vue.d.ts +16 -0
  54. package/lib/ele/dialog/index.d.ts +16 -0
  55. package/lib/ele/dialog/src/index.vue.d.ts +14 -0
  56. package/lib/ele/form/index.d.ts +18 -0
  57. package/lib/ele/form/src/index.vue.d.ts +16 -0
  58. package/lib/ele/form-item/index.d.ts +18 -0
  59. package/lib/ele/form-item/src/index.vue.d.ts +16 -0
  60. package/lib/ele/input/index.d.ts +16 -0
  61. package/lib/ele/input/src/index.vue.d.ts +14 -0
  62. package/lib/ele/option/index.d.ts +69 -0
  63. package/lib/ele/option/src/index.vue.d.ts +46 -0
  64. package/lib/ele/option-group/index.d.ts +18 -0
  65. package/lib/ele/option-group/src/index.vue.d.ts +16 -0
  66. package/lib/ele/pagination/index.d.ts +18 -0
  67. package/lib/ele/pagination/src/index.vue.d.ts +16 -0
  68. package/lib/ele/progress/index.d.ts +16 -0
  69. package/lib/ele/progress/src/index.vue.d.ts +14 -0
  70. package/lib/ele/radio/index.d.ts +16 -0
  71. package/lib/ele/radio/src/index.vue.d.ts +14 -0
  72. package/lib/ele/radio-button/index.d.ts +18 -0
  73. package/lib/ele/radio-button/src/index.vue.d.ts +16 -0
  74. package/lib/ele/radio-group/index.d.ts +18 -0
  75. package/lib/ele/radio-group/src/index.vue.d.ts +16 -0
  76. package/lib/ele/row/index.d.ts +18 -0
  77. package/lib/ele/row/src/index.vue.d.ts +16 -0
  78. package/lib/ele/select/index.d.ts +18 -0
  79. package/lib/ele/select/src/index.vue.d.ts +16 -0
  80. package/lib/ele/switch/index.d.ts +16 -0
  81. package/lib/ele/switch/src/index.vue.d.ts +14 -0
  82. package/lib/ele/tab-pane/index.d.ts +18 -0
  83. package/lib/ele/tab-pane/src/index.vue.d.ts +16 -0
  84. package/lib/ele/table/index.d.ts +22 -0
  85. package/lib/ele/table/src/index.vue.d.ts +431 -0
  86. package/lib/ele/table-column/index.d.ts +16 -0
  87. package/lib/ele/table-column/src/index.vue.d.ts +14 -0
  88. package/lib/ele/tabs/index.d.ts +18 -0
  89. package/lib/ele/tabs/src/index.vue.d.ts +16 -0
  90. package/lib/ele/tag/index.d.ts +18 -0
  91. package/lib/ele/tag/src/index.vue.d.ts +16 -0
  92. package/lib/ele/tooltip/index.d.ts +16 -0
  93. package/lib/ele/tooltip/src/index.vue.d.ts +14 -0
  94. package/lib/ele/tree/index.d.ts +16 -0
  95. package/lib/ele/tree/src/index.vue.d.ts +14 -0
  96. package/lib/ele/tree-select/index.d.ts +16 -0
  97. package/lib/ele/tree-select/src/index.vue.d.ts +14 -0
  98. package/lib/ele/upload/index.d.ts +16 -0
  99. package/lib/ele/upload/src/index.vue.d.ts +14 -0
  100. package/lib/ele/watermark/index.d.ts +18 -0
  101. package/lib/ele/watermark/src/index.vue.d.ts +16 -0
  102. package/lib/favicon.ico +0 -0
  103. package/lib/funnel/index.d.ts +59 -0
  104. package/lib/funnel/src/chart.d.ts +2 -0
  105. package/lib/funnel/src/index.vue.d.ts +26 -0
  106. package/lib/funnel/src/options.d.ts +43 -0
  107. package/lib/g-ui-web.js +115737 -0
  108. package/lib/g-ui-web.js.gz +0 -0
  109. package/lib/g-ui-web.umd.cjs +190 -0
  110. package/lib/heatmap/src/index.vue.d.ts +100 -0
  111. package/lib/index.d.ts +85 -0
  112. package/lib/line/index.d.ts +65 -0
  113. package/lib/line/src/chart.d.ts +2 -0
  114. package/lib/line/src/index.vue.d.ts +28 -0
  115. package/lib/line/src/options.d.ts +38 -0
  116. package/lib/map/index.d.ts +59 -0
  117. package/lib/map/src/chart.d.ts +2 -0
  118. package/lib/map/src/index.vue.d.ts +26 -0
  119. package/lib/map/src/options.d.ts +21 -0
  120. package/lib/node-achievement/index.d.ts +59 -0
  121. package/lib/node-achievement/src/index.vue.d.ts +26 -0
  122. package/lib/pie/index.d.ts +80 -0
  123. package/lib/pie/src/chart.d.ts +2 -0
  124. package/lib/pie/src/index.vue.d.ts +37 -0
  125. package/lib/pie/src/options.d.ts +13 -0
  126. package/lib/pie-distri/index.d.ts +89 -0
  127. package/lib/pie-distri/src/chart.d.ts +2 -0
  128. package/lib/pie-distri/src/index.vue.d.ts +44 -0
  129. package/lib/pie-distri/src/options.d.ts +60 -0
  130. package/lib/pie-level/index.d.ts +86 -0
  131. package/lib/pie-level/src/chart.d.ts +9 -0
  132. package/lib/pie-level/src/index.vue.d.ts +43 -0
  133. package/lib/pie-level/src/options.d.ts +16 -0
  134. package/lib/pie-table/index.d.ts +122 -0
  135. package/lib/pie-table/src/chart.d.ts +2 -0
  136. package/lib/pie-table/src/index.vue.d.ts +59 -0
  137. package/lib/pie-table/src/options.d.ts +13 -0
  138. package/lib/plan/index.d.ts +44 -0
  139. package/lib/plan/src/index.vue.d.ts +17 -0
  140. package/lib/radar/index.d.ts +59 -0
  141. package/lib/radar/src/chart.d.ts +2 -0
  142. package/lib/radar/src/index.vue.d.ts +26 -0
  143. package/lib/radar/src/options.d.ts +23 -0
  144. package/lib/ranking-list/index.d.ts +122 -0
  145. package/lib/ranking-list/src/index.vue.d.ts +59 -0
  146. package/lib/ranking-table/index.d.ts +122 -0
  147. package/lib/ranking-table/src/index.vue.d.ts +59 -0
  148. package/lib/reserve/index.d.ts +68 -0
  149. package/lib/reserve/src/index.vue.d.ts +29 -0
  150. package/lib/store/index.d.ts +2 -0
  151. package/lib/store/saveInLocal.d.ts +2 -0
  152. package/lib/style.css +1 -0
  153. package/lib/style.css.gz +0 -0
  154. package/lib/target-achievement/index.d.ts +131 -0
  155. package/lib/target-achievement/src/index.vue.d.ts +65 -0
  156. package/lib/target-achievement/src/options.d.ts +68 -0
  157. package/lib/target-current/index.d.ts +114 -0
  158. package/lib/target-current/src/index.vue.d.ts +57 -0
  159. package/lib/target-m/index.d.ts +159 -0
  160. package/lib/target-m/src/index.vue.d.ts +84 -0
  161. package/lib/target-r/index.d.ts +167 -0
  162. package/lib/target-r/src/index.vue.d.ts +90 -0
  163. package/lib/target-s/index.d.ts +150 -0
  164. package/lib/target-s/src/index.vue.d.ts +77 -0
  165. package/lib/target-struct/index.d.ts +141 -0
  166. package/lib/target-struct/src/index.vue.d.ts +69 -0
  167. package/lib/utils/DataSource/index.d.ts +23 -0
  168. package/lib/utils/api/index.d.ts +4 -0
  169. package/lib/utils/api/load.d.ts +1 -0
  170. package/lib/utils/directives/click-outside/index.d.ts +3 -0
  171. package/lib/utils/index.d.ts +37 -0
  172. package/lib/utils/request/interface/config.d.ts +93 -0
  173. package/lib/utils/request/interface/index.d.ts +3 -0
  174. package/lib/utils/request/interface/interface.d.ts +3 -0
  175. package/lib/utils/request/utils/code.d.ts +6 -0
  176. package/lib/utils/request/utils/filter.d.ts +2 -0
  177. package/lib/utils/request/utils/loading.d.ts +14 -0
  178. package/lib/utils/storage.d.ts +27 -0
  179. package/lib/utils/theme/config/black-blue.d.ts +114 -0
  180. package/lib/utils/theme/config/black-gold.d.ts +111 -0
  181. package/lib/utils/theme/config/black-green.d.ts +111 -0
  182. package/lib/utils/theme/config/white-blue.d.ts +114 -0
  183. package/lib/utils/theme/config/white-green.d.ts +111 -0
  184. package/lib/utils/theme/index.d.ts +7 -0
  185. package/lib/withInstall.d.ts +4 -0
  186. package/package.json +96 -0
@@ -0,0 +1,111 @@
1
+ declare const theme: {
2
+ name: string;
3
+ bgColor: string;
4
+ boxColor: string;
5
+ textFontColor: string;
6
+ backColor: string;
7
+ backBorderColor: string;
8
+ primary: string;
9
+ primary1: string;
10
+ primary2: string;
11
+ primary3: string;
12
+ primary4: string;
13
+ primary5: string;
14
+ primary6: string;
15
+ primary7: string;
16
+ primaryLight: string;
17
+ primaryLight1: string;
18
+ primaryLight2: string;
19
+ primaryLight3: string;
20
+ primaryLight4: string;
21
+ primaryLight5: string;
22
+ primaryLight6: string;
23
+ primaryLight7: string;
24
+ success: string;
25
+ success1: string;
26
+ success2: string;
27
+ success3: string;
28
+ success4: string;
29
+ success5: string;
30
+ success6: string;
31
+ success7: string;
32
+ warning: string;
33
+ warning1: string;
34
+ warning2: string;
35
+ warning3: string;
36
+ warning4: string;
37
+ warning5: string;
38
+ warning6: string;
39
+ warning7: string;
40
+ danger: string;
41
+ danger1: string;
42
+ danger2: string;
43
+ danger3: string;
44
+ danger4: string;
45
+ danger5: string;
46
+ danger6: string;
47
+ danger7: string;
48
+ error: string;
49
+ info: string;
50
+ info1: string;
51
+ info2: string;
52
+ info3: string;
53
+ info4: string;
54
+ info5: string;
55
+ info6: string;
56
+ info7: string;
57
+ text: {
58
+ primary: string;
59
+ regular: string;
60
+ secondary: string;
61
+ placeholder: string;
62
+ disabled: string;
63
+ };
64
+ border: {
65
+ border: string;
66
+ light: string;
67
+ lighter: string;
68
+ extraLight: string;
69
+ dark: string;
70
+ darker: string;
71
+ };
72
+ fill: {
73
+ fill: string;
74
+ light: string;
75
+ lighter: string;
76
+ extraLight: string;
77
+ dark: string;
78
+ darker: string;
79
+ blank: string;
80
+ };
81
+ bg: {
82
+ bg: string;
83
+ page: string;
84
+ overlay: string;
85
+ };
86
+ chartOption: {
87
+ fontSize: number;
88
+ barWidth: number;
89
+ symbolSize: number;
90
+ backgroundColor: string;
91
+ padding: number[];
92
+ margin: number;
93
+ grid: {
94
+ top: string;
95
+ left: string;
96
+ right: string;
97
+ bottom: string;
98
+ };
99
+ colors: string[];
100
+ auxiliaryColors: string[];
101
+ chartTitleColor: string;
102
+ chartSubtitleColor: string;
103
+ chartMarkTextColor: string;
104
+ chartLegendTextColor: string;
105
+ chartAxisLineColor: string;
106
+ chartAxisTickColor: string;
107
+ chartAxisLabelColor: string;
108
+ };
109
+ aMapStyle: string;
110
+ };
111
+ export default theme;
@@ -0,0 +1,7 @@
1
+ export declare const setTheme: (theme: string) => void;
2
+ export declare const getThemeList: () => {
3
+ name: string;
4
+ value: string;
5
+ }[];
6
+ export declare const getThemeConfig: () => any;
7
+ export declare const getTheme: () => any;
@@ -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) => SFCWithInstall<T> & E;
4
+ export {};
package/package.json ADDED
@@ -0,0 +1,96 @@
1
+ {
2
+ "name": "g-ui-web",
3
+ "private": false,
4
+ "description": "可视化组件库",
5
+ "version": "0.8.23",
6
+ "author": "wyu",
7
+ "license": "MIT",
8
+ "type": "module",
9
+ "main": "lib/g-ui-web.umd.cjs",
10
+ "module": "lib/g-ui-web.umd.cjs",
11
+ "types": "lib/index.d.ts",
12
+ "files": [
13
+ "package.json",
14
+ "README.md",
15
+ "lib",
16
+ "global.d.ts"
17
+ ],
18
+ "scripts": {
19
+ "dev": "vite",
20
+ "type-check": "vue-tsc --noEmit",
21
+ "build": "vite build",
22
+ "build:browser": "vite -f iife build",
23
+ "lib:prettier": "prettier --write \"packages/**/*.{js,ts,json,css,less,scss,vue,html,md}\"",
24
+ "docs:prettier": "prettier --write \"docs/**/*.{js,ts,json,css,less,scss,vue,html,md}\"",
25
+ "docs": "vitepress dev docs",
26
+ "docs:build": "vitepress build docs"
27
+ },
28
+ "devDependencies": {
29
+ "@amap/amap-jsapi-loader": "^1.0.1",
30
+ "@element-plus/icons-vue": "^2.3.1",
31
+ "@rollup/plugin-replace": "^5.0.7",
32
+ "@rollup/plugin-terser": "^0.4.4",
33
+ "@types/lodash-es": "^4.17.12",
34
+ "@types/node": "^20.14.11",
35
+ "@types/path-browserify": "^1.0.2",
36
+ "@typescript-eslint/eslint-plugin": "^7.16.1",
37
+ "@typescript-eslint/parser": "^7.16.1",
38
+ "@vitejs/plugin-vue": "^5.0.5",
39
+ "@vitejs/plugin-vue-jsx": "^4.0.1",
40
+ "@vue/shared": "^3.4.33",
41
+ "@vueuse/core": "^10.11.1",
42
+ "axios": "^1.7.5",
43
+ "chalk": "^5.3.0",
44
+ "consola": "^3.2.3",
45
+ "echarts": "^5.5.1",
46
+ "element-plus": "^2.8.0",
47
+ "escape-html": "^1.0.3",
48
+ "eslint": "^9.7.0",
49
+ "eslint-config-prettier": "^9.1.0",
50
+ "eslint-plugin-prettier": "^5.2.1",
51
+ "eslint-plugin-vue": "^9.27.0",
52
+ "lodash-es": "^4.17.21",
53
+ "markdown-it": "^14.1.0",
54
+ "markdown-it-container": "^4.0.0",
55
+ "minimist": "^1.2.8",
56
+ "normalize.css": "^8.0.1",
57
+ "npm-run-all": "^4.1.5",
58
+ "path-browserify": "^1.0.1",
59
+ "prettier": "^3.3.3",
60
+ "prismjs": "^1.29.0",
61
+ "querystring": "^0.2.1",
62
+ "sass": "1.77.6",
63
+ "sass-loader": "^14.2.1",
64
+ "typescript": "^5.2.2",
65
+ "unplugin-vue-components": "^0.27.4",
66
+ "vite": "^5.3.4",
67
+ "vite-plugin-compression": "^0.5.1",
68
+ "vite-plugin-dts": "^4.0.2",
69
+ "vite-plugin-vue-setup-extend": "^0.4.0",
70
+ "vitepress": "^1.3.3",
71
+ "vue": "^3.4.33",
72
+ "vue-baidu-map-3x": "^1.0.39",
73
+ "vue-tsc": "^2.0.24",
74
+ "vuex": "^4.1.0",
75
+ "vxe-table": "^4.7.63"
76
+ },
77
+ "repository": {
78
+ "type": "git",
79
+ "url": "https://git.gtcloud.cn/tech-mgmt/ui/gt-ui"
80
+ },
81
+ "homepage": "https://viz-ui.gtcloud.cn/web-ui/",
82
+ "keywords": [
83
+ "element-ui",
84
+ "element-plus",
85
+ "vite",
86
+ "vite3",
87
+ "vitepress",
88
+ "vue",
89
+ "vue3",
90
+ "g-ui",
91
+ "g-ui-web",
92
+ "二次封装组件",
93
+ "封装组件",
94
+ "components"
95
+ ]
96
+ }