@kg-ui/kg-ui-plus 0.0.0

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 (156) hide show
  1. package/README.md +39 -0
  2. package/dist/es/KgCopilot/CopiContent/AnswerHead.vue.mjs +16 -0
  3. package/dist/es/KgCopilot/CopiContent/AnswerHead.vue2.mjs +4 -0
  4. package/dist/es/KgCopilot/CopiContent/UserHead.vue.mjs +26 -0
  5. package/dist/es/KgCopilot/CopiContent/UserHead.vue2.mjs +4 -0
  6. package/dist/es/KgCopilot/CopiFooter/components/NewTheme.vue.mjs +7 -0
  7. package/dist/es/KgCopilot/CopiFooter/components/NewTheme.vue2.mjs +49 -0
  8. package/dist/es/KgCopilot/CopiFooter/components/NewTheme.vue3.mjs +4 -0
  9. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SelectPlugin.vue.mjs +7 -0
  10. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SelectPlugin.vue2.mjs +94 -0
  11. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SelectPlugin.vue3.mjs +4 -0
  12. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SpeechControl.vue.mjs +7 -0
  13. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SpeechControl.vue2.mjs +33 -0
  14. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/SpeechControl.vue3.mjs +4 -0
  15. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/Upload.vue.mjs +7 -0
  16. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/Upload.vue2.mjs +140 -0
  17. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/Upload.vue3.mjs +4 -0
  18. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/index.vue.mjs +7 -0
  19. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/index.vue2.mjs +131 -0
  20. package/dist/es/KgCopilot/CopiFooter/components/SearchInput/index.vue3.mjs +4 -0
  21. package/dist/es/KgCopilot/CopiFooter/index.vue.mjs +7 -0
  22. package/dist/es/KgCopilot/CopiFooter/index.vue2.mjs +21 -0
  23. package/dist/es/KgCopilot/CopiFooter/index.vue3.mjs +4 -0
  24. package/dist/es/KgCopilot/dialogue.vue.mjs +7 -0
  25. package/dist/es/KgCopilot/dialogue.vue2.mjs +131 -0
  26. package/dist/es/KgCopilot/dialogue.vue3.mjs +4 -0
  27. package/dist/es/KgCopilot/index.vue.mjs +7 -0
  28. package/dist/es/KgCopilot/index.vue2.mjs +49 -0
  29. package/dist/es/KgCopilot/index.vue3.mjs +4 -0
  30. package/dist/es/KgCopilot/mdInCode.mjs +56 -0
  31. package/dist/es/KgCopilot/readMd.vue.mjs +7 -0
  32. package/dist/es/KgCopilot/readMd.vue2.mjs +87 -0
  33. package/dist/es/KgCopilot/readMd.vue3.mjs +4 -0
  34. package/dist/es/ReIcon/index.mjs +11 -0
  35. package/dist/es/ReIcon/src/iconfont.mjs +46 -0
  36. package/dist/es/ReIcon/src/iconifyIconOffline.mjs +30 -0
  37. package/dist/es/ReIcon/src/iconifyIconOnline.mjs +29 -0
  38. package/dist/es/_virtual/___vite-browser-external.mjs +6 -0
  39. package/dist/es/_virtual/__vite-browser-external.mjs +4 -0
  40. package/dist/es/_virtual/_commonjsHelpers.mjs +34 -0
  41. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
  42. package/dist/es/_virtual/index.mjs +13 -0
  43. package/dist/es/api/project.mjs +51 -0
  44. package/dist/es/directives/heighlight/index.mjs +69 -0
  45. package/dist/es/directives/index.mjs +4 -0
  46. package/dist/es/home/LFilter/FilterArea.vue.mjs +7 -0
  47. package/dist/es/home/LFilter/FilterArea.vue2.mjs +507 -0
  48. package/dist/es/home/LFilter/FilterArea.vue3.mjs +4 -0
  49. package/dist/es/home/LFilter/FilterHead.vue.mjs +129 -0
  50. package/dist/es/home/LFilter/FilterHead.vue2.mjs +4 -0
  51. package/dist/es/home/LFilter/FilterItem.vue.mjs +7 -0
  52. package/dist/es/home/LFilter/FilterItem.vue2.mjs +114 -0
  53. package/dist/es/home/LFilter/FilterItem.vue3.mjs +4 -0
  54. package/dist/es/home/LFilter/FilterItemIcon.vue.mjs +7 -0
  55. package/dist/es/home/LFilter/FilterItemIcon.vue2.mjs +171 -0
  56. package/dist/es/home/LFilter/FilterItemIcon.vue3.mjs +4 -0
  57. package/dist/es/home/LFilter/index.vue.mjs +17 -0
  58. package/dist/es/home/LFilter/index.vue2.mjs +4 -0
  59. package/dist/es/home/LProject/index.vue.mjs +7 -0
  60. package/dist/es/home/LProject/index.vue2.mjs +70 -0
  61. package/dist/es/home/LProject/index.vue3.mjs +4 -0
  62. package/dist/es/home/index.vue.mjs +7 -0
  63. package/dist/es/home/index.vue2.mjs +80 -0
  64. package/dist/es/home/index.vue3.mjs +4 -0
  65. package/dist/es/index.mjs +36 -0
  66. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/check.mjs +8 -0
  67. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/circle-plus.mjs +8 -0
  68. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/close.mjs +8 -0
  69. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/microphone.mjs +8 -0
  70. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/paperclip.mjs +8 -0
  71. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/promotion.mjs +8 -0
  72. package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/upload.mjs +8 -0
  73. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/copy-simple.mjs +8 -0
  74. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/speaker-high-light.mjs +8 -0
  75. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/thumbs-down-thin.mjs +8 -0
  76. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/thumbs-up-thin.mjs +8 -0
  77. package/dist/es/node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/warning-bold.mjs +8 -0
  78. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/add-line.mjs +8 -0
  79. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/arrow-down-s-line.mjs +8 -0
  80. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/arrow-up-s-line.mjs +8 -0
  81. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/check-fill.mjs +8 -0
  82. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/download-line.mjs +8 -0
  83. package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/more-2-fill.mjs +8 -0
  84. package/dist/es/node_modules/.pnpm/@iconify_vue@4.0.0_vue@3.2.45/node_modules/@iconify/vue/dist/iconify.mjs +1702 -0
  85. package/dist/es/node_modules/.pnpm/@iconify_vue@4.0.0_vue@3.2.45/node_modules/@iconify/vue/dist/offline.mjs +436 -0
  86. package/dist/es/node_modules/.pnpm/@pureadmin_utils@1.8.5_vue@3.2.45/node_modules/@pureadmin/utils/dist/index.mjs +70 -0
  87. package/dist/es/node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/callBound.mjs +16 -0
  88. package/dist/es/node_modules/.pnpm/call-bind@1.0.7/node_modules/call-bind/index.mjs +36 -0
  89. package/dist/es/node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.mjs +48 -0
  90. package/dist/es/node_modules/.pnpm/dompurify@3.0.10/node_modules/dompurify/dist/purify.es.mjs +949 -0
  91. package/dist/es/node_modules/.pnpm/es-define-property@1.0.0/node_modules/es-define-property/index.mjs +22 -0
  92. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.mjs +4 -0
  93. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.mjs +4 -0
  94. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.mjs +4 -0
  95. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.mjs +4 -0
  96. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.mjs +4 -0
  97. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.mjs +4 -0
  98. package/dist/es/node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.mjs +4 -0
  99. package/dist/es/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.mjs +72 -0
  100. package/dist/es/node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.mjs +6 -0
  101. package/dist/es/node_modules/.pnpm/get-intrinsic@1.2.4/node_modules/get-intrinsic/index.mjs +320 -0
  102. package/dist/es/node_modules/.pnpm/gopd@1.0.1/node_modules/gopd/index.mjs +14 -0
  103. package/dist/es/node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.mjs +19 -0
  104. package/dist/es/node_modules/.pnpm/has-proto@1.0.3/node_modules/has-proto/index.mjs +11 -0
  105. package/dist/es/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/index.mjs +21 -0
  106. package/dist/es/node_modules/.pnpm/has-symbols@1.0.3/node_modules/has-symbols/shams.mjs +48 -0
  107. package/dist/es/node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.mjs +8 -0
  108. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/core.mjs +5 -0
  109. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/apache.mjs +91 -0
  110. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/bash.mjs +377 -0
  111. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/basic.mjs +221 -0
  112. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/c.mjs +280 -0
  113. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/css.mjs +732 -0
  114. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dart.mjs +247 -0
  115. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/django.mjs +47 -0
  116. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dns.mjs +71 -0
  117. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dos.mjs +160 -0
  118. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dust.mjs +38 -0
  119. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/erlang.mjs +176 -0
  120. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/go.mjs +135 -0
  121. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/http.mjs +89 -0
  122. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/java.mjs +254 -0
  123. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/javascript.mjs +698 -0
  124. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/json.mjs +40 -0
  125. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/markdown.mjs +227 -0
  126. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/nginx.mjs +144 -0
  127. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/php.mjs +589 -0
  128. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/python.mjs +414 -0
  129. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/ruby.mjs +414 -0
  130. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/stylus.mjs +766 -0
  131. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/swift.mjs +832 -0
  132. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/typescript.mjs +788 -0
  133. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/xml.mjs +227 -0
  134. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/lib/core.mjs +1580 -0
  135. package/dist/es/node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/styles/paraiso-light.css.mjs +4 -0
  136. package/dist/es/node_modules/.pnpm/marked@12.0.1/node_modules/marked/lib/marked.esm.mjs +2045 -0
  137. package/dist/es/node_modules/.pnpm/object-inspect@1.13.1/node_modules/object-inspect/index.mjs +514 -0
  138. package/dist/es/node_modules/.pnpm/pinyin-match@1.2.4/node_modules/pinyin-match/es/main.mjs +124 -0
  139. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/formats.mjs +22 -0
  140. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/index.mjs +14 -0
  141. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/parse.mjs +199 -0
  142. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/stringify.mjs +262 -0
  143. package/dist/es/node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/utils.mjs +196 -0
  144. package/dist/es/node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.mjs +54 -0
  145. package/dist/es/node_modules/.pnpm/side-channel@1.0.6/node_modules/side-channel/index.mjs +115 -0
  146. package/dist/es/store/index.mjs +8 -0
  147. package/dist/es/store/modules/copilot.mjs +108 -0
  148. package/dist/es/store/modules/filters.mjs +346 -0
  149. package/dist/es/store/modules/types.mjs +19 -0
  150. package/dist/es/style/index.scss.mjs +4 -0
  151. package/dist/es/style/tailwind.css.mjs +4 -0
  152. package/dist/es/style.css +1 -0
  153. package/dist/es/utils/home.mjs +129 -0
  154. package/dist/es/utils/http/index.mjs +90 -0
  155. package/dist/es/utils/message.mjs +42 -0
  156. package/package.json +124 -0
@@ -0,0 +1,90 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => {
4
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
+ return value;
6
+ };
7
+ import Axios from "axios";
8
+ import lib from "../../node_modules/.pnpm/qs@6.11.0/node_modules/qs/lib/index.mjs";
9
+ const defaultConfig = {
10
+ // 请求超时时间
11
+ timeout: 1e4,
12
+ headers: {
13
+ Accept: "application/json, text/plain, */*",
14
+ "Content-Type": "application/json",
15
+ "X-Requested-With": "XMLHttpRequest"
16
+ },
17
+ // 数组格式参数序列化(https://github.com/axios/axios/issues/5142)
18
+ paramsSerializer: {
19
+ serialize: lib.stringify
20
+ }
21
+ };
22
+ const _PureHttp = class {
23
+ constructor() {
24
+ this.httpInterceptorsRequest();
25
+ this.httpInterceptorsResponse();
26
+ }
27
+ /** 请求拦截 */
28
+ httpInterceptorsRequest() {
29
+ _PureHttp.axiosInstance.interceptors.request.use(
30
+ async (config) => {
31
+ config.headers["accessToken"] = window["know_token"];
32
+ return config;
33
+ },
34
+ (error) => {
35
+ return Promise.reject(error);
36
+ }
37
+ );
38
+ }
39
+ /** 响应拦截 */
40
+ httpInterceptorsResponse() {
41
+ const instance = _PureHttp.axiosInstance;
42
+ instance.interceptors.response.use(
43
+ (response) => {
44
+ var _a;
45
+ if (((_a = response == null ? void 0 : response.data) == null ? void 0 : _a.status) === -1e3) {
46
+ console.error("用户未登录");
47
+ alert("token失效");
48
+ return response.data;
49
+ }
50
+ return response.data;
51
+ },
52
+ (error) => {
53
+ const $error = error;
54
+ $error.isCancelRequest = Axios.isCancel($error);
55
+ return Promise.reject($error);
56
+ }
57
+ );
58
+ }
59
+ /** 通用请求工具函数 */
60
+ request(method, url, param, axiosConfig) {
61
+ const config = {
62
+ method,
63
+ url,
64
+ ...param,
65
+ ...axiosConfig
66
+ };
67
+ return new Promise((resolve, reject) => {
68
+ _PureHttp.axiosInstance.request(config).then((response) => {
69
+ resolve(response);
70
+ }).catch((error) => {
71
+ reject(error);
72
+ });
73
+ });
74
+ }
75
+ /** 单独抽离的post工具函数 */
76
+ post(url, params, config) {
77
+ return this.request("post", url, params, config);
78
+ }
79
+ /** 单独抽离的get工具函数 */
80
+ get(url, params, config) {
81
+ return this.request("get", url, params, config);
82
+ }
83
+ };
84
+ let PureHttp = _PureHttp;
85
+ /** 保存当前Axios实例对象 */
86
+ __publicField(PureHttp, "axiosInstance", Axios.create(defaultConfig));
87
+ const http = new PureHttp();
88
+ export {
89
+ http
90
+ };
@@ -0,0 +1,42 @@
1
+ import { isFunction as mt } from "../node_modules/.pnpm/@pureadmin_utils@1.8.5_vue@3.2.45/node_modules/@pureadmin/utils/dist/index.mjs";
2
+ import { ElMessage } from "element-plus";
3
+ const message = (message2, params) => {
4
+ if (!params) {
5
+ return ElMessage({
6
+ message: message2,
7
+ customClass: "pure-message"
8
+ });
9
+ } else {
10
+ const {
11
+ icon,
12
+ type = "info",
13
+ dangerouslyUseHTMLString = false,
14
+ customClass = "antd",
15
+ duration = 2e3,
16
+ showClose = false,
17
+ center = false,
18
+ offset = 20,
19
+ appendTo = document.body,
20
+ grouping = false,
21
+ onClose
22
+ } = params;
23
+ return ElMessage({
24
+ message: message2,
25
+ type,
26
+ icon,
27
+ dangerouslyUseHTMLString,
28
+ duration,
29
+ showClose,
30
+ center,
31
+ offset,
32
+ appendTo,
33
+ grouping,
34
+ // 全局搜 pure-message 即可知道该类的样式位置
35
+ customClass: customClass === "antd" ? "pure-message" : "",
36
+ onClose: () => mt(onClose) ? onClose() : null
37
+ });
38
+ }
39
+ };
40
+ export {
41
+ message
42
+ };
package/package.json ADDED
@@ -0,0 +1,124 @@
1
+ {
2
+ "name": "@kg-ui/kg-ui-plus",
3
+ "version": "0.0.0",
4
+ "description": "A Component Library for Vue 3",
5
+ "private": false,
6
+ "main": "dist/es/index.mjs",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "scripts": {
11
+ "dev": "NODE_OPTIONS=--max-old-space-size=4096 vite",
12
+ "serve": "pnpm dev",
13
+ "build": "rimraf dist && NODE_OPTIONS=--max-old-space-size=8192 vite build",
14
+ "report": "rimraf dist && vite build",
15
+ "preview": "vite preview",
16
+ "preview:build": "pnpm build && vite preview",
17
+ "typecheck": "tsc --noEmit && vue-tsc --noEmit --skipLibCheck",
18
+ "svgo": "svgo -f src/assets/svg -o src/assets/svg",
19
+ "cloc": "NODE_OPTIONS=--max-old-space-size=4096 cloc . --exclude-dir=node_modules --exclude-lang=YAML",
20
+ "clean:cache": "rm -rf node_modules && rm -rf .eslintcache && pnpm install",
21
+ "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock,build}/**/*.{vue,js,ts,tsx}\" --fix",
22
+ "lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,less,scss,vue,html,md}\"",
23
+ "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,css,scss,postcss,less}\" --cache --cache-location node_modules/.cache/stylelint/",
24
+ "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
25
+ "lint:pretty": "pretty-quick --staged",
26
+ "lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
27
+ "postinstall": "cd .. && cd .. && husky install packages/kg_tags_v3/.husky",
28
+ "prepare": "cd .. && cd .. && husky install packages/kg_tags_v3/.husky",
29
+ "preinstall": "npx only-allow pnpm"
30
+ },
31
+ "browserslist": [
32
+ "> 1%",
33
+ "not ie 11",
34
+ "not op_mini all"
35
+ ],
36
+ "dependencies": {
37
+ "@pureadmin/utils": "1.8.5",
38
+ "axios": "1.2.0",
39
+ "dayjs": "1.11.6",
40
+ "dompurify": "^3.0.10",
41
+ "element-plus": "2.2.27",
42
+ "highlight.js": "^11.9.0",
43
+ "marked": "^12.0.1",
44
+ "path": "0.12.7",
45
+ "pinia": "2.0.28",
46
+ "pinyin-match": "1.2.4",
47
+ "qs": "6.11.0"
48
+ },
49
+ "devDependencies": {
50
+ "@babel/core": ">=7.0.0-0 <8.0.0",
51
+ "@commitlint/cli": "13.1.0",
52
+ "@commitlint/config-conventional": "13.1.0",
53
+ "@iconify-icons/ep": "1.2.7",
54
+ "@iconify-icons/ph": "^1.2.5",
55
+ "@iconify-icons/ri": "1.2.3",
56
+ "@iconify/vue": "4.0.0",
57
+ "@kg-ui/kg_copilot_vue3": "workspace:^0.0.22",
58
+ "@types/node": "18.11.9",
59
+ "@types/qs": "6.9.7",
60
+ "@typescript-eslint/eslint-plugin": "5.42.1",
61
+ "@typescript-eslint/parser": "5.42.1",
62
+ "@vitejs/plugin-vue": "4.0.0",
63
+ "@vitejs/plugin-vue-jsx": "3.0.0",
64
+ "@vue/eslint-config-prettier": "7.0.0",
65
+ "@vue/eslint-config-typescript": "11.0.2",
66
+ "autoprefixer": "10.4.13",
67
+ "cloc": "2.10.0",
68
+ "cssnano": "5.1.14",
69
+ "eslint": "8.8.0",
70
+ "eslint-plugin-prettier": "4.0.0",
71
+ "eslint-plugin-vue": "9.7.0",
72
+ "husky": "7.0.4",
73
+ "lint-staged": "11.1.2",
74
+ "picocolors": "1.0.0",
75
+ "postcss": "8.4.18",
76
+ "postcss-html": "1.5.0",
77
+ "postcss-import": "15.0.0",
78
+ "postcss-scss": "4.0.5",
79
+ "prettier": "2.5.1",
80
+ "pretty-quick": "3.1.1",
81
+ "rimraf": "3.0.2",
82
+ "rollup-plugin-visualizer": "5.8.3",
83
+ "sass": "^1.72.0",
84
+ "sass-loader": "^14.1.1",
85
+ "stylelint": "^14.16.1",
86
+ "stylelint-config-html": "^1.1.0",
87
+ "stylelint-config-prettier": "^9.0.5",
88
+ "stylelint-config-recommended": "^9.0.0",
89
+ "stylelint-config-standard": "^29.0.0",
90
+ "stylelint-order": "^5.0.0",
91
+ "svgo": "3.0.2",
92
+ "tailwindcss": "3.2.4",
93
+ "terser": "5.16.1",
94
+ "typescript": "4.9.3",
95
+ "unplugin-vue-define-options": "0.12.2",
96
+ "vite": "4.0.3",
97
+ "vite-plugin-cdn-import": "0.3.5",
98
+ "vite-plugin-compression": "0.5.1",
99
+ "vite-plugin-dts": "1.4.1",
100
+ "vite-plugin-remove-console": "1.3.0",
101
+ "vite-svg-loader": "3.6.0",
102
+ "vue": "3.2.45",
103
+ "vue-eslint-parser": "9.1.0",
104
+ "vue-tsc": "1.0.9",
105
+ "webpack": "^5.0.0"
106
+ },
107
+ "publishConfig": {
108
+ "access": "public",
109
+ "registry": "https://registry.npmjs.org/"
110
+ },
111
+ "pnpm": {
112
+ "peerDependencyRules": {
113
+ "ignoreMissing": [
114
+ "rollup",
115
+ "webpack"
116
+ ]
117
+ }
118
+ },
119
+ "volta": {
120
+ "node": "16.13.1"
121
+ },
122
+ "author": "lyn",
123
+ "license": "MIT"
124
+ }