@kg-ui/kg-ui-plus 0.1.20 → 0.1.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.
- package/dist/es/KgCopilot/CopiFooter/SearchInput/index.vue.mjs +1 -1
- package/dist/es/KgCopilot/CopiFooter/SearchInput/index.vue2.mjs +53 -34
- package/dist/es/KgCopilot/CopiFooter/SearchInput/index.vue3.mjs +2 -2
- package/dist/es/KgCopilot/dialogue/index.vue.mjs +1 -1
- package/dist/es/KgCopilot/dialogue/index.vue2.mjs +3 -2
- package/dist/es/KgCopilot/dialogue/index.vue3.mjs +2 -2
- package/dist/es/KgCopilot/dialogue/messageParse/index.vue.mjs +1 -1
- package/dist/es/KgCopilot/dialogue/messageParse/index.vue2.mjs +52 -42
- package/dist/es/KgCopilot/dialogue/messageParse/index.vue3.mjs +2 -2
- package/dist/es/KgCopilot/historyRecord/index.vue.mjs +7 -0
- package/dist/es/KgCopilot/historyRecord/index.vue2.mjs +142 -0
- package/dist/es/KgCopilot/historyRecord/index.vue3.mjs +4 -0
- package/dist/es/KgCopilot/index.vue.mjs +1 -1
- package/dist/es/KgCopilot/index.vue2.mjs +33 -7
- package/dist/es/KgCopilot/index.vue3.mjs +2 -2
- package/dist/es/api/copilot.mjs +55 -2
- package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/arrow-left.mjs +8 -0
- package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/arrow-right.mjs +8 -0
- package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/delete.mjs +8 -0
- package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/search.mjs +8 -0
- package/dist/es/store/modules/copilot.mjs +124 -7
- package/dist/es/style.css +1 -1
- package/dist/es/utils/copilot.mjs +2 -0
- package/dist/es/utils/home.mjs +1 -0
- package/dist/es/utils/http/index.mjs +7 -0
- package/package.json +123 -123
package/package.json
CHANGED
@@ -1,123 +1,123 @@
|
|
1
|
-
{
|
2
|
-
"name": "@kg-ui/kg-ui-plus",
|
3
|
-
"version": "0.1.
|
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
|
-
"preinstall": "npx only-allow pnpm"
|
28
|
-
},
|
29
|
-
"browserslist": [
|
30
|
-
"> 1%",
|
31
|
-
"not ie 11",
|
32
|
-
"not op_mini all"
|
33
|
-
],
|
34
|
-
"dependencies": {
|
35
|
-
"@microsoft/fetch-event-source": "^2.0.1",
|
36
|
-
"@pureadmin/utils": "1.8.5",
|
37
|
-
"@vueuse/core": "^9.13.0",
|
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
|
-
"@types/node": "18.11.9",
|
58
|
-
"@types/qs": "6.9.7",
|
59
|
-
"@typescript-eslint/eslint-plugin": "5.42.1",
|
60
|
-
"@typescript-eslint/parser": "5.42.1",
|
61
|
-
"@vitejs/plugin-vue": "4.0.0",
|
62
|
-
"@vitejs/plugin-vue-jsx": "3.0.0",
|
63
|
-
"@vue/eslint-config-prettier": "7.0.0",
|
64
|
-
"@vue/eslint-config-typescript": "11.0.2",
|
65
|
-
"autoprefixer": "10.4.13",
|
66
|
-
"cloc": "2.10.0",
|
67
|
-
"cssnano": "5.1.14",
|
68
|
-
"eslint": "8.8.0",
|
69
|
-
"eslint-plugin-prettier": "4.0.0",
|
70
|
-
"eslint-plugin-vue": "9.7.0",
|
71
|
-
"husky": "7.0.4",
|
72
|
-
"lint-staged": "11.1.2",
|
73
|
-
"picocolors": "1.0.0",
|
74
|
-
"postcss": "8.4.18",
|
75
|
-
"postcss-html": "1.5.0",
|
76
|
-
"postcss-import": "15.0.0",
|
77
|
-
"postcss-scss": "4.0.5",
|
78
|
-
"prettier": "2.5.1",
|
79
|
-
"pretty-quick": "3.1.1",
|
80
|
-
"rimraf": "3.0.2",
|
81
|
-
"rollup-plugin-visualizer": "5.8.3",
|
82
|
-
"sass": "^1.72.0",
|
83
|
-
"sass-loader": "^14.1.1",
|
84
|
-
"stylelint": "^14.16.1",
|
85
|
-
"stylelint-config-html": "^1.1.0",
|
86
|
-
"stylelint-config-prettier": "^9.0.5",
|
87
|
-
"stylelint-config-recommended": "^9.0.0",
|
88
|
-
"stylelint-config-standard": "^29.0.0",
|
89
|
-
"stylelint-order": "^5.0.0",
|
90
|
-
"svgo": "3.0.2",
|
91
|
-
"tailwindcss": "3.2.4",
|
92
|
-
"terser": "5.16.1",
|
93
|
-
"typescript": "4.9.3",
|
94
|
-
"unplugin-vue-define-options": "0.12.2",
|
95
|
-
"vite": "4.0.3",
|
96
|
-
"vite-plugin-cdn-import": "0.3.5",
|
97
|
-
"vite-plugin-compression": "0.5.1",
|
98
|
-
"vite-plugin-dts": "1.4.1",
|
99
|
-
"vite-plugin-remove-console": "1.3.0",
|
100
|
-
"vite-svg-loader": "3.6.0",
|
101
|
-
"vue": "3.2.45",
|
102
|
-
"vue-eslint-parser": "9.1.0",
|
103
|
-
"vue-tsc": "1.0.9",
|
104
|
-
"webpack": "^5.0.0"
|
105
|
-
},
|
106
|
-
"publishConfig": {
|
107
|
-
"access": "public",
|
108
|
-
"registry": "https://registry.npmjs.org/"
|
109
|
-
},
|
110
|
-
"pnpm": {
|
111
|
-
"peerDependencyRules": {
|
112
|
-
"ignoreMissing": [
|
113
|
-
"rollup",
|
114
|
-
"webpack"
|
115
|
-
]
|
116
|
-
}
|
117
|
-
},
|
118
|
-
"volta": {
|
119
|
-
"node": "16.13.1"
|
120
|
-
},
|
121
|
-
"author": "lyn",
|
122
|
-
"license": "MIT"
|
123
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@kg-ui/kg-ui-plus",
|
3
|
+
"version": "0.1.22",
|
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
|
+
"preinstall": "npx only-allow pnpm"
|
28
|
+
},
|
29
|
+
"browserslist": [
|
30
|
+
"> 1%",
|
31
|
+
"not ie 11",
|
32
|
+
"not op_mini all"
|
33
|
+
],
|
34
|
+
"dependencies": {
|
35
|
+
"@microsoft/fetch-event-source": "^2.0.1",
|
36
|
+
"@pureadmin/utils": "1.8.5",
|
37
|
+
"@vueuse/core": "^9.13.0",
|
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
|
+
"@types/node": "18.11.9",
|
58
|
+
"@types/qs": "6.9.7",
|
59
|
+
"@typescript-eslint/eslint-plugin": "5.42.1",
|
60
|
+
"@typescript-eslint/parser": "5.42.1",
|
61
|
+
"@vitejs/plugin-vue": "4.0.0",
|
62
|
+
"@vitejs/plugin-vue-jsx": "3.0.0",
|
63
|
+
"@vue/eslint-config-prettier": "7.0.0",
|
64
|
+
"@vue/eslint-config-typescript": "11.0.2",
|
65
|
+
"autoprefixer": "10.4.13",
|
66
|
+
"cloc": "2.10.0",
|
67
|
+
"cssnano": "5.1.14",
|
68
|
+
"eslint": "8.8.0",
|
69
|
+
"eslint-plugin-prettier": "4.0.0",
|
70
|
+
"eslint-plugin-vue": "9.7.0",
|
71
|
+
"husky": "7.0.4",
|
72
|
+
"lint-staged": "11.1.2",
|
73
|
+
"picocolors": "1.0.0",
|
74
|
+
"postcss": "8.4.18",
|
75
|
+
"postcss-html": "1.5.0",
|
76
|
+
"postcss-import": "15.0.0",
|
77
|
+
"postcss-scss": "4.0.5",
|
78
|
+
"prettier": "2.5.1",
|
79
|
+
"pretty-quick": "3.1.1",
|
80
|
+
"rimraf": "3.0.2",
|
81
|
+
"rollup-plugin-visualizer": "5.8.3",
|
82
|
+
"sass": "^1.72.0",
|
83
|
+
"sass-loader": "^14.1.1",
|
84
|
+
"stylelint": "^14.16.1",
|
85
|
+
"stylelint-config-html": "^1.1.0",
|
86
|
+
"stylelint-config-prettier": "^9.0.5",
|
87
|
+
"stylelint-config-recommended": "^9.0.0",
|
88
|
+
"stylelint-config-standard": "^29.0.0",
|
89
|
+
"stylelint-order": "^5.0.0",
|
90
|
+
"svgo": "3.0.2",
|
91
|
+
"tailwindcss": "3.2.4",
|
92
|
+
"terser": "5.16.1",
|
93
|
+
"typescript": "4.9.3",
|
94
|
+
"unplugin-vue-define-options": "0.12.2",
|
95
|
+
"vite": "4.0.3",
|
96
|
+
"vite-plugin-cdn-import": "0.3.5",
|
97
|
+
"vite-plugin-compression": "0.5.1",
|
98
|
+
"vite-plugin-dts": "1.4.1",
|
99
|
+
"vite-plugin-remove-console": "1.3.0",
|
100
|
+
"vite-svg-loader": "3.6.0",
|
101
|
+
"vue": "3.2.45",
|
102
|
+
"vue-eslint-parser": "9.1.0",
|
103
|
+
"vue-tsc": "1.0.9",
|
104
|
+
"webpack": "^5.0.0"
|
105
|
+
},
|
106
|
+
"publishConfig": {
|
107
|
+
"access": "public",
|
108
|
+
"registry": "https://registry.npmjs.org/"
|
109
|
+
},
|
110
|
+
"pnpm": {
|
111
|
+
"peerDependencyRules": {
|
112
|
+
"ignoreMissing": [
|
113
|
+
"rollup",
|
114
|
+
"webpack"
|
115
|
+
]
|
116
|
+
}
|
117
|
+
},
|
118
|
+
"volta": {
|
119
|
+
"node": "16.13.1"
|
120
|
+
},
|
121
|
+
"author": "lyn",
|
122
|
+
"license": "MIT"
|
123
|
+
}
|