@voicenter-team/voicenter-ui-plus 3.3.4 → 3.4.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.
- package/README.md +502 -502
- package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
- package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
- package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
- package/library/components/VcForm/VcForm.vue.mjs +1 -1
- package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
- package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
- package/library/components/VcInput/VcInput.vue.mjs +1 -1
- package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
- package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
- package/library/components/VcPdfViewer/VcPdfDocument.vue.mjs +2 -2
- package/library/components/VcPdfViewer/VcPdfDocumentPage.vue.mjs +3 -3
- package/library/components/VcPdfViewer/pdf.worker.min.js +4 -4
- package/library/components/VcPdfViewer/pdfjslib.mjs +2 -2
- package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
- package/library/components/VcSelect/VcSelect.vue.mjs +1 -1
- package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
- package/library/index.mjs.gz +0 -0
- package/library/localization/index.mjs.gz +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs.gz +0 -0
- package/library/types/components/VcPdfViewer/VcPdfDocument.vue.d.ts +2 -2
- package/library/types/components/VcPdfViewer/VcPdfDocumentPage.vue.d.ts +1 -1
- package/library/types/components/VcPdfViewer/pdfjslib.d.ts +2 -2
- package/library/utils/jsonSchema/index.mjs.gz +0 -0
- package/package.json +185 -185
- package/tailwind.config.js +192 -192
- /package/library/assets/node_modules/element-plus/theme-chalk/src/{tooltip.css → date-picker.css} +0 -0
|
@@ -2,8 +2,8 @@ let pdfPromise = null;
|
|
|
2
2
|
function loadPdf() {
|
|
3
3
|
if (!pdfPromise) {
|
|
4
4
|
pdfPromise = (async () => {
|
|
5
|
-
const pdfImport = import("pdfjs-dist/
|
|
6
|
-
const viewerImport = import("pdfjs-dist/
|
|
5
|
+
const pdfImport = import("pdfjs-dist/build/pdf.js");
|
|
6
|
+
const viewerImport = import("pdfjs-dist/web/pdf_viewer");
|
|
7
7
|
const [pdf, viewer] = await Promise.all([pdfImport, viewerImport]);
|
|
8
8
|
pdf.GlobalWorkerOptions.workerSrc = new URL("./pdf.worker.min.js", import.meta.url).toString();
|
|
9
9
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, normalizeClass, withCtx, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { ElRadio } from "element-plus";
|
|
3
|
-
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcRadio/VcRadio.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, markRaw, h, watch, openBlock, createBlock, unref, mergeProps, isRef, createSlots, withCtx, renderSlot, createElementBlock, Fragment, createVNode, createTextVNode, toDisplayString, createCommentVNode, renderList, createElementVNode, normalizeStyle, normalizeClass } from "vue";
|
|
2
2
|
import { ElSelect } from "element-plus";
|
|
3
|
-
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/components/VcIcon/VcIcon.css';import '../../assets/components/VcForm/VcFormItem.css';import '../../assets/components/VcCheckbox/VcCheckbox.css';import '../../assets/components/VcSelect/VcSelectOption.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popover.css';import '../../assets/node_modules/element-plus/theme-chalk/src/transfer.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tree.css';import '../../assets/node_modules/element-plus/theme-chalk/src/text.css';import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/color-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker-panel.css';import '../../assets/node_modules/element-plus/theme-chalk/src/button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/checkbox.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-button.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/radio.css';import '../../assets/node_modules/element-plus/theme-chalk/src/select.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option-group.css';import '../../assets/node_modules/element-plus/theme-chalk/src/option.css';import '../../assets/node_modules/element-plus/theme-chalk/src/tag.css';import '../../assets/node_modules/element-plus/theme-chalk/src/autocomplete.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/scrollbar.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form-item.css';import '../../assets/node_modules/element-plus/theme-chalk/src/form.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcSelect/VcSelect.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps } from "vue";
|
|
2
2
|
import { ElSlider } from "element-plus";
|
|
3
|
-
import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/
|
|
3
|
+
import '../../assets/node_modules/element-plus/theme-chalk/src/slider.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input-number.css';import '../../assets/node_modules/element-plus/theme-chalk/src/input.css';import '../../assets/node_modules/element-plus/theme-chalk/src/date-picker.css';import '../../assets/node_modules/element-plus/theme-chalk/src/popper.css';import '../../assets/node_modules/element-plus/theme-chalk/src/base.css';
|
|
4
4
|
import '../../assets/components/VcSlider/VcSlider.css';/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
/* empty css */
|
package/library/index.mjs.gz
CHANGED
|
Binary file
|
|
Binary file
|
package/library/plugin.mjs.gz
CHANGED
|
Binary file
|
package/library/style.css.gz
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PDFDocumentProxy } from 'pdfjs-dist/types/display/api';
|
|
1
|
+
import { PDFDocumentProxy } from 'pdfjs-dist/types/src/display/api';
|
|
2
2
|
declare function downloadPdfFile(): Promise<Blob | undefined>;
|
|
3
3
|
declare function openFile(): Promise<void>;
|
|
4
4
|
declare function onPrintDocument(dpi?: number, pageNumberOnly?: Array<number>): Promise<void> | undefined;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
9
|
id: undefined;
|
|
10
10
|
document: string;
|
|
11
11
|
}>>, {
|
|
12
|
-
pdfDocument: import("vue").
|
|
12
|
+
pdfDocument: import("vue").ShallowRef<PDFDocumentProxy | undefined, PDFDocumentProxy | undefined>;
|
|
13
13
|
pageCount: import("vue").Ref<number, number>;
|
|
14
14
|
currentPage: import("vue").Ref<number, number>;
|
|
15
15
|
isOpenPreview: import("vue").Ref<boolean, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type * as PdfNs from 'pdfjs-dist
|
|
2
|
-
import type { PDFLinkService as PDFLinkServiceCtor } from 'pdfjs-dist/
|
|
1
|
+
import type * as PdfNs from 'pdfjs-dist';
|
|
2
|
+
import type { PDFLinkService as PDFLinkServiceCtor } from 'pdfjs-dist/web/pdf_viewer';
|
|
3
3
|
export type PdfLib = typeof PdfNs;
|
|
4
4
|
export type PdfLinkServiceCtor = typeof PDFLinkServiceCtor;
|
|
5
5
|
export declare function loadPdf(): Promise<{
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,185 +1,185 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@voicenter-team/voicenter-ui-plus",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"dev": "vite",
|
|
6
|
-
"build": "vite build",
|
|
7
|
-
"analyze": "cross-env ANALYZE=true vite build",
|
|
8
|
-
"build:documentation": "npm run build && cross-env TARGET=doc vite build",
|
|
9
|
-
"ts-check": "vue-tsc --noEmit -p tsconfig.prod.json",
|
|
10
|
-
"ts-check-all": "vue-tsc --noEmit",
|
|
11
|
-
"generate-icon-list": "node ./script/generate/generateIconList.js",
|
|
12
|
-
"generate:entries": "node ./script/generate-entries.mjs",
|
|
13
|
-
"verify:entries": "node ./script/verify-entries.mjs",
|
|
14
|
-
"preview": "vite preview",
|
|
15
|
-
"test": "vitest",
|
|
16
|
-
"test:ui": "vitest --ui",
|
|
17
|
-
"test:coverage": "vitest run --coverage",
|
|
18
|
-
"test:coverage:watch": "vitest --coverage",
|
|
19
|
-
"test:coverage:ui": "vitest --coverage --ui",
|
|
20
|
-
"upload-icons": "node ./script/icons-publish/index.js",
|
|
21
|
-
"scan-for-remote": "npm run build && node ./script/scan-for-remote-sources.js",
|
|
22
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts --fix --ignore-path .gitignore",
|
|
23
|
-
"mcp:install": "cd mcp-server && npm install",
|
|
24
|
-
"mcp:generate": "cd mcp-server && npm run generate:all",
|
|
25
|
-
"mcp:dev": "cd mcp-server && npm run dev",
|
|
26
|
-
"mcp:build": "cd mcp-server && npm run build",
|
|
27
|
-
"mcp:start": "cd mcp-server && npm start",
|
|
28
|
-
"release": "npm ci && npm run build && npm publish",
|
|
29
|
-
"prepare": "husky"
|
|
30
|
-
},
|
|
31
|
-
"lint-staged": {
|
|
32
|
-
"*.{vue,js,jsx,cjs,mjs,ts}": "eslint --fix"
|
|
33
|
-
},
|
|
34
|
-
"main": "./library/index.mjs",
|
|
35
|
-
"module": "./library/index.mjs",
|
|
36
|
-
"types": "./library/types/index.d.ts",
|
|
37
|
-
"sideEffects": [
|
|
38
|
-
"**/*.css",
|
|
39
|
-
"./library/plugin.mjs"
|
|
40
|
-
],
|
|
41
|
-
"typesVersions": {
|
|
42
|
-
"*": {
|
|
43
|
-
"plugin": [
|
|
44
|
-
"./library/types/plugin.d.ts"
|
|
45
|
-
],
|
|
46
|
-
"services": [
|
|
47
|
-
"./library/types/services/index.d.ts"
|
|
48
|
-
],
|
|
49
|
-
"theme": [
|
|
50
|
-
"./library/types/theme/index.d.ts"
|
|
51
|
-
],
|
|
52
|
-
"font": [
|
|
53
|
-
"./library/types/font/index.d.ts"
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"exports": {
|
|
58
|
-
".": {
|
|
59
|
-
"types": "./library/types/index.d.ts",
|
|
60
|
-
"import": "./library/index.mjs",
|
|
61
|
-
"default": "./library/index.mjs"
|
|
62
|
-
},
|
|
63
|
-
"./plugin": {
|
|
64
|
-
"types": "./library/types/plugin.d.ts",
|
|
65
|
-
"import": "./library/plugin.mjs",
|
|
66
|
-
"default": "./library/plugin.mjs"
|
|
67
|
-
},
|
|
68
|
-
"./services": {
|
|
69
|
-
"types": "./library/types/services/index.d.ts",
|
|
70
|
-
"import": "./library/services/index.mjs",
|
|
71
|
-
"default": "./library/services/index.mjs"
|
|
72
|
-
},
|
|
73
|
-
"./theme": {
|
|
74
|
-
"types": "./library/types/theme/index.d.ts",
|
|
75
|
-
"import": "./library/theme/index.mjs",
|
|
76
|
-
"default": "./library/theme/index.mjs"
|
|
77
|
-
},
|
|
78
|
-
"./font": {
|
|
79
|
-
"types": "./library/types/font/index.d.ts",
|
|
80
|
-
"import": "./library/font/index.mjs",
|
|
81
|
-
"default": "./library/font/index.mjs"
|
|
82
|
-
},
|
|
83
|
-
"./style.css": "./library/style.css",
|
|
84
|
-
"./base.css": "./library/assets/assets/sass/main.css",
|
|
85
|
-
"./src/theme/*": "./src/theme/*",
|
|
86
|
-
"./src/theme/tailwindScheme": "./src/theme/tailwindScheme.js",
|
|
87
|
-
"./src/theme/themes.json": "./src/theme/themes.json",
|
|
88
|
-
"./tailwind.config": "./tailwind.config.js",
|
|
89
|
-
"./library/types/*": "./library/types/*.d.ts"
|
|
90
|
-
},
|
|
91
|
-
"files": [
|
|
92
|
-
"library",
|
|
93
|
-
"src/theme",
|
|
94
|
-
"tailwind.config.js",
|
|
95
|
-
"tailwind.config.d.ts"
|
|
96
|
-
],
|
|
97
|
-
"engines": {
|
|
98
|
-
"node": ">= 20"
|
|
99
|
-
},
|
|
100
|
-
"peerDependencies": {
|
|
101
|
-
"@codemirror/lang-html": "^6.0.0",
|
|
102
|
-
"@codemirror/lang-json": "^6.0.1",
|
|
103
|
-
"@codemirror/lang-markdown": "^6.0.0",
|
|
104
|
-
"@lucide/vue": "^1.16.0",
|
|
105
|
-
"@milkdown/crepe": "^7.15.5",
|
|
106
|
-
"@milkdown/kit": "^7.15.5",
|
|
107
|
-
"@milkdown/utils": "^7.15.5",
|
|
108
|
-
"@milkdown/vue": "^7.15.5",
|
|
109
|
-
"@prosemirror-adapter/vue": "^0.4.1",
|
|
110
|
-
"@vueuse/core": ">=10.7.2",
|
|
111
|
-
"codemirror": "^6.0.1",
|
|
112
|
-
"dayjs": "^1.11.19",
|
|
113
|
-
"element-plus": "^2.11.3",
|
|
114
|
-
"highlight.js": "^11.6.0",
|
|
115
|
-
"libphonenumber-js": "^1.10.13",
|
|
116
|
-
"lodash-es": "^4.17.21",
|
|
117
|
-
"maska": "^3.2.0",
|
|
118
|
-
"pdfjs-dist": "^2.
|
|
119
|
-
"vue": "^3.5.13",
|
|
120
|
-
"vue-advanced-cropper": "^2.8.3",
|
|
121
|
-
"vue-codemirror6": "^1.3.12",
|
|
122
|
-
"wavesurfer.js": "^7.7.15",
|
|
123
|
-
"xlsx": "^0.18.5"
|
|
124
|
-
},
|
|
125
|
-
"devDependencies": {
|
|
126
|
-
"@codemirror/lang-json": "^6.0.1",
|
|
127
|
-
"@fullhuman/postcss-purgecss": "^7.0.2",
|
|
128
|
-
"@highlightjs/vue-plugin": "^2.1.0",
|
|
129
|
-
"@lucide/vue": "^1.16.0",
|
|
130
|
-
"@milkdown/crepe": "7.15.5",
|
|
131
|
-
"@milkdown/kit": "7.15.5",
|
|
132
|
-
"@milkdown/utils": "7.15.5",
|
|
133
|
-
"@milkdown/vue": "7.15.5",
|
|
134
|
-
"@prosemirror-adapter/vue": "^0.4.1",
|
|
135
|
-
"@types/json-schema": "^7.0.15",
|
|
136
|
-
"@types/lodash-es": "^4.17.12",
|
|
137
|
-
"@types/node": "^18.7.6",
|
|
138
|
-
"@types/wavesurfer.js": "^6.0.3",
|
|
139
|
-
"@types/webfontloader": "^1.6.38",
|
|
140
|
-
"@vitejs/plugin-vue": "5.2.4",
|
|
141
|
-
"@vitest/coverage-v8": "3.2.7",
|
|
142
|
-
"@vitest/ui": "3.2.7",
|
|
143
|
-
"@voicenter-team/aws-uploader": "^1.0.10",
|
|
144
|
-
"@voicenter-team/eslint-config-vue": "^1.0.21",
|
|
145
|
-
"@vue/server-renderer": "^3.5.13",
|
|
146
|
-
"@vue/test-utils": "^2.4.6",
|
|
147
|
-
"@vueuse/core": "10.7.2",
|
|
148
|
-
"autoprefixer": "10.4.17",
|
|
149
|
-
"axios": "^1.6.0",
|
|
150
|
-
"chalk": "4.1.2",
|
|
151
|
-
"codemirror": "^6.0.1",
|
|
152
|
-
"cross-env": "^7.0.3",
|
|
153
|
-
"dotenv": "^16.4.7",
|
|
154
|
-
"eslint": "^8.57.1",
|
|
155
|
-
"eslint-plugin-standard": "^5.0.0",
|
|
156
|
-
"eslint-plugin-vue": "9.21.1",
|
|
157
|
-
"highlight.js": "^11.6.0",
|
|
158
|
-
"husky": "^9.1.7",
|
|
159
|
-
"jsdom": "^26.1.0",
|
|
160
|
-
"lint-staged": "^17.3.0",
|
|
161
|
-
"pdfjs-dist": "2.
|
|
162
|
-
"postcss": "8.5.24",
|
|
163
|
-
"readline-sync": "^1.4.10",
|
|
164
|
-
"sass": "1.93.3",
|
|
165
|
-
"tailwindcss": "^3.1.8",
|
|
166
|
-
"terser": "^5.44.0",
|
|
167
|
-
"typescript": "5.3.3",
|
|
168
|
-
"unplugin-element-plus": "^0.4.1",
|
|
169
|
-
"vite": "^5.4.6",
|
|
170
|
-
"vite-bundle-analyzer": "^0.15.2",
|
|
171
|
-
"vite-plugin-compression": "^0.5.1",
|
|
172
|
-
"vite-plugin-dts": "3.7.2",
|
|
173
|
-
"vite-plugin-inspect": "0.8.9",
|
|
174
|
-
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
175
|
-
"vite-plugin-static-copy": "0.17.1",
|
|
176
|
-
"vitest": "^3.2.4",
|
|
177
|
-
"vue-advanced-cropper": "^2.8.3",
|
|
178
|
-
"vue-codemirror6": "^1.3.12",
|
|
179
|
-
"vue-component-type-helpers": "^1.8.27",
|
|
180
|
-
"vue-router": "4.2.5",
|
|
181
|
-
"vue-tsc": "1.8.27",
|
|
182
|
-
"wavesurfer.js": "^7.7.15",
|
|
183
|
-
"xlsx": "0.18.5"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@voicenter-team/voicenter-ui-plus",
|
|
3
|
+
"version": "3.4.0",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"dev": "vite",
|
|
6
|
+
"build": "vite build",
|
|
7
|
+
"analyze": "cross-env ANALYZE=true vite build",
|
|
8
|
+
"build:documentation": "npm run build && cross-env TARGET=doc vite build",
|
|
9
|
+
"ts-check": "vue-tsc --noEmit -p tsconfig.prod.json",
|
|
10
|
+
"ts-check-all": "vue-tsc --noEmit",
|
|
11
|
+
"generate-icon-list": "node ./script/generate/generateIconList.js",
|
|
12
|
+
"generate:entries": "node ./script/generate-entries.mjs",
|
|
13
|
+
"verify:entries": "node ./script/verify-entries.mjs",
|
|
14
|
+
"preview": "vite preview",
|
|
15
|
+
"test": "vitest",
|
|
16
|
+
"test:ui": "vitest --ui",
|
|
17
|
+
"test:coverage": "vitest run --coverage",
|
|
18
|
+
"test:coverage:watch": "vitest --coverage",
|
|
19
|
+
"test:coverage:ui": "vitest --coverage --ui",
|
|
20
|
+
"upload-icons": "node ./script/icons-publish/index.js",
|
|
21
|
+
"scan-for-remote": "npm run build && node ./script/scan-for-remote-sources.js",
|
|
22
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts --fix --ignore-path .gitignore",
|
|
23
|
+
"mcp:install": "cd mcp-server && npm install",
|
|
24
|
+
"mcp:generate": "cd mcp-server && npm run generate:all",
|
|
25
|
+
"mcp:dev": "cd mcp-server && npm run dev",
|
|
26
|
+
"mcp:build": "cd mcp-server && npm run build",
|
|
27
|
+
"mcp:start": "cd mcp-server && npm start",
|
|
28
|
+
"release": "npm ci && npm run build && npm publish",
|
|
29
|
+
"prepare": "husky"
|
|
30
|
+
},
|
|
31
|
+
"lint-staged": {
|
|
32
|
+
"*.{vue,js,jsx,cjs,mjs,ts}": "eslint --fix"
|
|
33
|
+
},
|
|
34
|
+
"main": "./library/index.mjs",
|
|
35
|
+
"module": "./library/index.mjs",
|
|
36
|
+
"types": "./library/types/index.d.ts",
|
|
37
|
+
"sideEffects": [
|
|
38
|
+
"**/*.css",
|
|
39
|
+
"./library/plugin.mjs"
|
|
40
|
+
],
|
|
41
|
+
"typesVersions": {
|
|
42
|
+
"*": {
|
|
43
|
+
"plugin": [
|
|
44
|
+
"./library/types/plugin.d.ts"
|
|
45
|
+
],
|
|
46
|
+
"services": [
|
|
47
|
+
"./library/types/services/index.d.ts"
|
|
48
|
+
],
|
|
49
|
+
"theme": [
|
|
50
|
+
"./library/types/theme/index.d.ts"
|
|
51
|
+
],
|
|
52
|
+
"font": [
|
|
53
|
+
"./library/types/font/index.d.ts"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"exports": {
|
|
58
|
+
".": {
|
|
59
|
+
"types": "./library/types/index.d.ts",
|
|
60
|
+
"import": "./library/index.mjs",
|
|
61
|
+
"default": "./library/index.mjs"
|
|
62
|
+
},
|
|
63
|
+
"./plugin": {
|
|
64
|
+
"types": "./library/types/plugin.d.ts",
|
|
65
|
+
"import": "./library/plugin.mjs",
|
|
66
|
+
"default": "./library/plugin.mjs"
|
|
67
|
+
},
|
|
68
|
+
"./services": {
|
|
69
|
+
"types": "./library/types/services/index.d.ts",
|
|
70
|
+
"import": "./library/services/index.mjs",
|
|
71
|
+
"default": "./library/services/index.mjs"
|
|
72
|
+
},
|
|
73
|
+
"./theme": {
|
|
74
|
+
"types": "./library/types/theme/index.d.ts",
|
|
75
|
+
"import": "./library/theme/index.mjs",
|
|
76
|
+
"default": "./library/theme/index.mjs"
|
|
77
|
+
},
|
|
78
|
+
"./font": {
|
|
79
|
+
"types": "./library/types/font/index.d.ts",
|
|
80
|
+
"import": "./library/font/index.mjs",
|
|
81
|
+
"default": "./library/font/index.mjs"
|
|
82
|
+
},
|
|
83
|
+
"./style.css": "./library/style.css",
|
|
84
|
+
"./base.css": "./library/assets/assets/sass/main.css",
|
|
85
|
+
"./src/theme/*": "./src/theme/*",
|
|
86
|
+
"./src/theme/tailwindScheme": "./src/theme/tailwindScheme.js",
|
|
87
|
+
"./src/theme/themes.json": "./src/theme/themes.json",
|
|
88
|
+
"./tailwind.config": "./tailwind.config.js",
|
|
89
|
+
"./library/types/*": "./library/types/*.d.ts"
|
|
90
|
+
},
|
|
91
|
+
"files": [
|
|
92
|
+
"library",
|
|
93
|
+
"src/theme",
|
|
94
|
+
"tailwind.config.js",
|
|
95
|
+
"tailwind.config.d.ts"
|
|
96
|
+
],
|
|
97
|
+
"engines": {
|
|
98
|
+
"node": ">= 20"
|
|
99
|
+
},
|
|
100
|
+
"peerDependencies": {
|
|
101
|
+
"@codemirror/lang-html": "^6.0.0",
|
|
102
|
+
"@codemirror/lang-json": "^6.0.1",
|
|
103
|
+
"@codemirror/lang-markdown": "^6.0.0",
|
|
104
|
+
"@lucide/vue": "^1.16.0",
|
|
105
|
+
"@milkdown/crepe": "^7.15.5",
|
|
106
|
+
"@milkdown/kit": "^7.15.5",
|
|
107
|
+
"@milkdown/utils": "^7.15.5",
|
|
108
|
+
"@milkdown/vue": "^7.15.5",
|
|
109
|
+
"@prosemirror-adapter/vue": "^0.4.1",
|
|
110
|
+
"@vueuse/core": ">=10.7.2",
|
|
111
|
+
"codemirror": "^6.0.1",
|
|
112
|
+
"dayjs": "^1.11.19",
|
|
113
|
+
"element-plus": "^2.11.3",
|
|
114
|
+
"highlight.js": "^11.6.0",
|
|
115
|
+
"libphonenumber-js": "^1.10.13",
|
|
116
|
+
"lodash-es": "^4.17.21",
|
|
117
|
+
"maska": "^3.2.0",
|
|
118
|
+
"pdfjs-dist": "^2.16.105",
|
|
119
|
+
"vue": "^3.5.13",
|
|
120
|
+
"vue-advanced-cropper": "^2.8.3",
|
|
121
|
+
"vue-codemirror6": "^1.3.12",
|
|
122
|
+
"wavesurfer.js": "^7.7.15",
|
|
123
|
+
"xlsx": "^0.18.5"
|
|
124
|
+
},
|
|
125
|
+
"devDependencies": {
|
|
126
|
+
"@codemirror/lang-json": "^6.0.1",
|
|
127
|
+
"@fullhuman/postcss-purgecss": "^7.0.2",
|
|
128
|
+
"@highlightjs/vue-plugin": "^2.1.0",
|
|
129
|
+
"@lucide/vue": "^1.16.0",
|
|
130
|
+
"@milkdown/crepe": "7.15.5",
|
|
131
|
+
"@milkdown/kit": "7.15.5",
|
|
132
|
+
"@milkdown/utils": "7.15.5",
|
|
133
|
+
"@milkdown/vue": "7.15.5",
|
|
134
|
+
"@prosemirror-adapter/vue": "^0.4.1",
|
|
135
|
+
"@types/json-schema": "^7.0.15",
|
|
136
|
+
"@types/lodash-es": "^4.17.12",
|
|
137
|
+
"@types/node": "^18.7.6",
|
|
138
|
+
"@types/wavesurfer.js": "^6.0.3",
|
|
139
|
+
"@types/webfontloader": "^1.6.38",
|
|
140
|
+
"@vitejs/plugin-vue": "5.2.4",
|
|
141
|
+
"@vitest/coverage-v8": "3.2.7",
|
|
142
|
+
"@vitest/ui": "3.2.7",
|
|
143
|
+
"@voicenter-team/aws-uploader": "^1.0.10",
|
|
144
|
+
"@voicenter-team/eslint-config-vue": "^1.0.21",
|
|
145
|
+
"@vue/server-renderer": "^3.5.13",
|
|
146
|
+
"@vue/test-utils": "^2.4.6",
|
|
147
|
+
"@vueuse/core": "10.7.2",
|
|
148
|
+
"autoprefixer": "10.4.17",
|
|
149
|
+
"axios": "^1.6.0",
|
|
150
|
+
"chalk": "4.1.2",
|
|
151
|
+
"codemirror": "^6.0.1",
|
|
152
|
+
"cross-env": "^7.0.3",
|
|
153
|
+
"dotenv": "^16.4.7",
|
|
154
|
+
"eslint": "^8.57.1",
|
|
155
|
+
"eslint-plugin-standard": "^5.0.0",
|
|
156
|
+
"eslint-plugin-vue": "9.21.1",
|
|
157
|
+
"highlight.js": "^11.6.0",
|
|
158
|
+
"husky": "^9.1.7",
|
|
159
|
+
"jsdom": "^26.1.0",
|
|
160
|
+
"lint-staged": "^17.3.0",
|
|
161
|
+
"pdfjs-dist": "2.16.105",
|
|
162
|
+
"postcss": "8.5.24",
|
|
163
|
+
"readline-sync": "^1.4.10",
|
|
164
|
+
"sass": "1.93.3",
|
|
165
|
+
"tailwindcss": "^3.1.8",
|
|
166
|
+
"terser": "^5.44.0",
|
|
167
|
+
"typescript": "5.3.3",
|
|
168
|
+
"unplugin-element-plus": "^0.4.1",
|
|
169
|
+
"vite": "^5.4.6",
|
|
170
|
+
"vite-bundle-analyzer": "^0.15.2",
|
|
171
|
+
"vite-plugin-compression": "^0.5.1",
|
|
172
|
+
"vite-plugin-dts": "3.7.2",
|
|
173
|
+
"vite-plugin-inspect": "0.8.9",
|
|
174
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
175
|
+
"vite-plugin-static-copy": "0.17.1",
|
|
176
|
+
"vitest": "^3.2.4",
|
|
177
|
+
"vue-advanced-cropper": "^2.8.3",
|
|
178
|
+
"vue-codemirror6": "^1.3.12",
|
|
179
|
+
"vue-component-type-helpers": "^1.8.27",
|
|
180
|
+
"vue-router": "4.2.5",
|
|
181
|
+
"vue-tsc": "1.8.27",
|
|
182
|
+
"wavesurfer.js": "^7.7.15",
|
|
183
|
+
"xlsx": "0.18.5"
|
|
184
|
+
}
|
|
185
|
+
}
|