@voicenter-team/voicenter-ui-plus 3.0.13 → 3.1.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/library/assets/assets/sass/main.css +1 -1
- package/library/assets/components/VcCodeBlock/VcCodeBlock.css +1 -0
- package/library/components/VcCodeBlock/VcCodeBlock.vue.mjs +243 -0
- package/library/components/VcCodeBlock/VcCodeBlock.vue3.mjs +5 -0
- package/library/index.mjs +169 -167
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/plugin.mjs +186 -182
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +8 -6
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/types/components/VcCodeBlock/VcCodeBlock.vue.d.ts +92 -0
- package/library/types/components/exports.d.ts +3 -1
- package/library/types/directives/click-outside.d.ts +7 -0
- package/library/types/directives/input-mask.d.ts +8 -0
- package/library/types/directives/long-press.d.ts +8 -0
- package/library/types/directives/resize.d.ts +10 -0
- package/library/types/index.d.ts +1 -0
- package/package.json +156 -153
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
interface ICodeBlockProps {
|
|
2
|
+
/**
|
|
3
|
+
* @description Source code to display. Leading blank lines and trailing
|
|
4
|
+
* whitespace are stripped.
|
|
5
|
+
*/
|
|
6
|
+
code?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @description highlight.js language name or alias (e.g. 'ts', 'html',
|
|
9
|
+
* 'bash'). Case-insensitive. Unknown or empty values fall back to
|
|
10
|
+
* auto-detection.
|
|
11
|
+
*/
|
|
12
|
+
language?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @description Optional label rendered in a header bar above the code
|
|
15
|
+
* (commonly a file name). Without it the copy button and language label
|
|
16
|
+
* float over the code and appear on hover.
|
|
17
|
+
*/
|
|
18
|
+
title?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @description Show the resolved language label.
|
|
21
|
+
*/
|
|
22
|
+
showLanguageLabel?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @description Show the copy-to-clipboard button.
|
|
25
|
+
*/
|
|
26
|
+
copyable?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @description Render a line-number gutter. Disables soft wrapping to
|
|
29
|
+
* keep numbers aligned to lines.
|
|
30
|
+
*/
|
|
31
|
+
lineNumbers?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @description Soft-wrap long lines instead of horizontal scrolling.
|
|
34
|
+
* Ignored when `lineNumbers` is enabled.
|
|
35
|
+
*/
|
|
36
|
+
wrap?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @description Max height of the code area (number of px or any CSS
|
|
39
|
+
* size). Content beyond it scrolls vertically.
|
|
40
|
+
*/
|
|
41
|
+
maxHeight?: string | number;
|
|
42
|
+
}
|
|
43
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICodeBlockProps>, {
|
|
44
|
+
code: string;
|
|
45
|
+
language: string;
|
|
46
|
+
title: string;
|
|
47
|
+
showLanguageLabel: boolean;
|
|
48
|
+
copyable: boolean;
|
|
49
|
+
lineNumbers: boolean;
|
|
50
|
+
wrap: boolean;
|
|
51
|
+
maxHeight: string;
|
|
52
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
|
+
copy: (code: string) => void;
|
|
54
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICodeBlockProps>, {
|
|
55
|
+
code: string;
|
|
56
|
+
language: string;
|
|
57
|
+
title: string;
|
|
58
|
+
showLanguageLabel: boolean;
|
|
59
|
+
copyable: boolean;
|
|
60
|
+
lineNumbers: boolean;
|
|
61
|
+
wrap: boolean;
|
|
62
|
+
maxHeight: string;
|
|
63
|
+
}>>> & Readonly<{
|
|
64
|
+
onCopy?: ((code: string) => any) | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
code: string;
|
|
67
|
+
title: string;
|
|
68
|
+
maxHeight: string | number;
|
|
69
|
+
language: string;
|
|
70
|
+
showLanguageLabel: boolean;
|
|
71
|
+
copyable: boolean;
|
|
72
|
+
lineNumbers: boolean;
|
|
73
|
+
wrap: boolean;
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
|
+
export default _default;
|
|
76
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
77
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
78
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
79
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
80
|
+
} : {
|
|
81
|
+
type: import('vue').PropType<T[K]>;
|
|
82
|
+
required: true;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
type __VLS_WithDefaults<P, D> = {
|
|
86
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
87
|
+
default: D[K];
|
|
88
|
+
}> : P[K];
|
|
89
|
+
};
|
|
90
|
+
type __VLS_Prettify<T> = {
|
|
91
|
+
[K in keyof T]: T[K];
|
|
92
|
+
} & {};
|
|
@@ -30,6 +30,7 @@ import VcTagInput from './VcTagInput/VcTagInput.vue';
|
|
|
30
30
|
import VcOtpInput from './VcOtpInput/VcOtpInput.vue';
|
|
31
31
|
import VcFileUploader from './VcFileUploader/VcFileUploader.vue';
|
|
32
32
|
import VcCard from './VcCard/VcCard.vue';
|
|
33
|
+
import VcCodeBlock from './VcCodeBlock/VcCodeBlock.vue';
|
|
33
34
|
import VcModal from './VcModal/VcModal.vue';
|
|
34
35
|
import VcConfirmModal from './VcModal/VcConfirmModal.vue';
|
|
35
36
|
import VcPopover from './VcPopover/VcPopover.vue';
|
|
@@ -79,7 +80,7 @@ import VcExcelFileUploader from './VcExcelUploader/VcExcelFileUploader.vue';
|
|
|
79
80
|
import VcImageUploader from './VcImageUploader/VcImageUploader.vue';
|
|
80
81
|
import VcTour from './VcTour/VcTour.vue';
|
|
81
82
|
import VcSipFlow from './VcSipFlow/VcSipFlow.vue';
|
|
82
|
-
export { VcButton, VcButtonIcon, VcToggleButton, VcInput, VcInputNumber, VcInputError, VcInputLabel, VcSelect, VcSelectGrouped, VcSelectOption, VcInfiniteScrollSelect, VcAutocomplete, VcCheckbox, VcCheckboxGroup, VcCheckboxButton, VcCheckboxButtonGroup, VcRadio, VcRadioGroup, VcRadioButtonsGroup, VcSwitch, VcSlider, VcColorPicker, VcDatePicker, VcDatePickerPanel, VcDatetimeRangePicker, VcExtendedDatetimeRangePicker, VcTimeInput, VcPhoneInput, VcTagInput, VcOtpInput, VcFileUploader, VcCard, VcModal, VcConfirmModal, VcPopover, VcConfirmPopover, VcSelectPopover, VcTabs, VcTabNav, VcTabPane, VcVerticalTabs, VcRadioTabs, VcRadioTabsNav, VcCollapse, VcCollapseItem, VcWizard, VcDropdown, VcDropdownItem, VcTable, VcPagination, VcTree, VcTreeSelect, VcTransfer, VcTag, VcDelimitedList, VcSparkline, VcViewSwitcher, VcSegmented, VcLoading, VcProgress, VcProgressCircular, VcSkeletonLoader, VcNotification, VcForm, VcFormItem, VcSplitButton, VcHyperLink, VcIcon, VcIconPicker, VcMeterGroup, VcMeterGroupLabel, VcMdEditor, VcSystemUserPrompt, VcSoundPlayer, VcJsonSchema, VcHtmlEditor, VcPdfDocument, VcExcelFileUploader, VcImageUploader, VcTour, VcSipFlow, };
|
|
83
|
+
export { VcButton, VcButtonIcon, VcToggleButton, VcInput, VcInputNumber, VcInputError, VcInputLabel, VcSelect, VcSelectGrouped, VcSelectOption, VcInfiniteScrollSelect, VcAutocomplete, VcCheckbox, VcCheckboxGroup, VcCheckboxButton, VcCheckboxButtonGroup, VcRadio, VcRadioGroup, VcRadioButtonsGroup, VcSwitch, VcSlider, VcColorPicker, VcDatePicker, VcDatePickerPanel, VcDatetimeRangePicker, VcExtendedDatetimeRangePicker, VcTimeInput, VcPhoneInput, VcTagInput, VcOtpInput, VcFileUploader, VcCard, VcCodeBlock, VcModal, VcConfirmModal, VcPopover, VcConfirmPopover, VcSelectPopover, VcTabs, VcTabNav, VcTabPane, VcVerticalTabs, VcRadioTabs, VcRadioTabsNav, VcCollapse, VcCollapseItem, VcWizard, VcDropdown, VcDropdownItem, VcTable, VcPagination, VcTree, VcTreeSelect, VcTransfer, VcTag, VcDelimitedList, VcSparkline, VcViewSwitcher, VcSegmented, VcLoading, VcProgress, VcProgressCircular, VcSkeletonLoader, VcNotification, VcForm, VcFormItem, VcSplitButton, VcHyperLink, VcIcon, VcIconPicker, VcMeterGroup, VcMeterGroupLabel, VcMdEditor, VcSystemUserPrompt, VcSoundPlayer, VcJsonSchema, VcHtmlEditor, VcPdfDocument, VcExcelFileUploader, VcImageUploader, VcTour, VcSipFlow, };
|
|
83
84
|
declare module '@vue/runtime-core' {
|
|
84
85
|
interface GlobalComponents {
|
|
85
86
|
VcButton: typeof VcButton;
|
|
@@ -114,6 +115,7 @@ declare module '@vue/runtime-core' {
|
|
|
114
115
|
VcOtpInput: typeof VcOtpInput;
|
|
115
116
|
VcFileUploader: typeof VcFileUploader;
|
|
116
117
|
VcCard: typeof VcCard;
|
|
118
|
+
VcCodeBlock: typeof VcCodeBlock;
|
|
117
119
|
VcModal: typeof VcModal;
|
|
118
120
|
VcConfirmModal: typeof VcConfirmModal;
|
|
119
121
|
VcPopover: typeof VcPopover;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import { ClickOutside } from 'element-plus';
|
|
2
|
+
/**
|
|
3
|
+
* Detect clicks outside an element. Re-exported from Element Plus.
|
|
4
|
+
*
|
|
5
|
+
* @directive v-click-outside
|
|
6
|
+
* @usage <div v-click-outside="handleClickOutside">...</div>
|
|
7
|
+
* @option handler - Function to call when clicking outside
|
|
8
|
+
*/
|
|
2
9
|
export default ClickOutside;
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
import { vMaska } from 'maska/vue';
|
|
2
|
+
/**
|
|
3
|
+
* Input masking directive using Maska library. Supports phone numbers, dates, credit cards, etc.
|
|
4
|
+
*
|
|
5
|
+
* @directive v-input-mask
|
|
6
|
+
* @usage <input v-input-mask data-maska="#-###-###-####" />
|
|
7
|
+
* @option data-maska - Mask pattern (# = digit, @ = letter, * = any)
|
|
8
|
+
* @option data-maska-tokens - Custom token definitions
|
|
9
|
+
*/
|
|
2
10
|
export default vMaska;
|
|
@@ -2,6 +2,14 @@ interface ValueObjType {
|
|
|
2
2
|
repeat?: boolean;
|
|
3
3
|
functionToCall: () => unknown;
|
|
4
4
|
}
|
|
5
|
+
/**
|
|
6
|
+
* Detect long press (300ms) on an element. Supports repeat mode for continuous triggers.
|
|
7
|
+
*
|
|
8
|
+
* @directive v-long-press
|
|
9
|
+
* @usage <button v-long-press="{ functionToCall: handler, repeat: true }">Hold me</button>
|
|
10
|
+
* @option functionToCall - Function to execute on long press
|
|
11
|
+
* @option repeat - Boolean - if true, continues calling every 100ms while held
|
|
12
|
+
*/
|
|
5
13
|
export declare const longPress: {
|
|
6
14
|
beforeMount(el: HTMLElement, { value }: {
|
|
7
15
|
value: ValueObjType;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { DirectiveBinding, RendererNode } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Observe element resize using ResizeObserver. Supports debounce/throttle modes.
|
|
4
|
+
*
|
|
5
|
+
* @directive v-resize
|
|
6
|
+
* @usage <div v-resize:debounce="{ event: handleResize, delay: 200 }">...</div>
|
|
7
|
+
* @option :debounce - Use debounced resize (default)
|
|
8
|
+
* @option :throttle - Use throttled resize
|
|
9
|
+
* @option event - Handler function receiving { detail: { width, height } }
|
|
10
|
+
* @option delay - Debounce/throttle delay in ms (default: 100)
|
|
11
|
+
*/
|
|
2
12
|
export declare const resize: {
|
|
3
13
|
mounted(el: HTMLElement, binding: DirectiveBinding, vNode: RendererNode): void;
|
|
4
14
|
beforeUnmount(el: HTMLElement): void;
|
package/library/types/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export { default as VcTagInput } from './components/VcTagInput/VcTagInput.vue';
|
|
|
28
28
|
export { default as VcOtpInput } from './components/VcOtpInput/VcOtpInput.vue';
|
|
29
29
|
export { default as VcFileUploader } from './components/VcFileUploader/VcFileUploader.vue';
|
|
30
30
|
export { default as VcCard } from './components/VcCard/VcCard.vue';
|
|
31
|
+
export { default as VcCodeBlock } from './components/VcCodeBlock/VcCodeBlock.vue';
|
|
31
32
|
export { default as VcModal } from './components/VcModal/VcModal.vue';
|
|
32
33
|
export { default as VcConfirmModal } from './components/VcModal/VcConfirmModal.vue';
|
|
33
34
|
export { default as VcPopover } from './components/VcPopover/VcPopover.vue';
|
package/package.json
CHANGED
|
@@ -1,153 +1,156 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@voicenter-team/voicenter-ui-plus",
|
|
3
|
-
"version": "3.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
|
-
"preview": "vite preview",
|
|
13
|
-
"test": "vitest",
|
|
14
|
-
"test:ui": "vitest --ui",
|
|
15
|
-
"test:coverage": "vitest run --coverage",
|
|
16
|
-
"test:coverage:watch": "vitest --coverage",
|
|
17
|
-
"test:coverage:ui": "vitest --coverage --ui",
|
|
18
|
-
"upload-icons": "node ./script/icons-publish/index.js",
|
|
19
|
-
"scan-for-remote": "npm run build && node ./script/scan-for-remote-sources.js",
|
|
20
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts --fix --ignore-path .gitignore",
|
|
21
|
-
"mcp:install": "cd mcp-server && npm install",
|
|
22
|
-
"mcp:generate": "cd mcp-server && npm run generate:all",
|
|
23
|
-
"mcp:dev": "cd mcp-server && npm run dev",
|
|
24
|
-
"mcp:build": "cd mcp-server && npm run build",
|
|
25
|
-
"mcp:start": "cd mcp-server && npm start",
|
|
26
|
-
"release": "npm ci && npm run build && npm publish"
|
|
27
|
-
},
|
|
28
|
-
"main": "./library/index.mjs",
|
|
29
|
-
"module": "./library/index.mjs",
|
|
30
|
-
"types": "./library/types/index.d.ts",
|
|
31
|
-
"sideEffects": [
|
|
32
|
-
"**/*.css",
|
|
33
|
-
"./library/plugin.mjs"
|
|
34
|
-
],
|
|
35
|
-
"exports": {
|
|
36
|
-
".": {
|
|
37
|
-
"types": "./library/types/index.d.ts",
|
|
38
|
-
"import": "./library/index.mjs",
|
|
39
|
-
"default": "./library/index.mjs"
|
|
40
|
-
},
|
|
41
|
-
"./plugin": {
|
|
42
|
-
"types": "./library/types/plugin.d.ts",
|
|
43
|
-
"import": "./library/plugin.mjs",
|
|
44
|
-
"default": "./library/plugin.mjs"
|
|
45
|
-
},
|
|
46
|
-
"./services": {
|
|
47
|
-
"types": "./library/types/services/index.d.ts",
|
|
48
|
-
"import": "./library/services/index.mjs",
|
|
49
|
-
"default": "./library/services/index.mjs"
|
|
50
|
-
},
|
|
51
|
-
"./theme": {
|
|
52
|
-
"types": "./library/types/theme/index.d.ts",
|
|
53
|
-
"import": "./library/theme/index.mjs",
|
|
54
|
-
"default": "./library/theme/index.mjs"
|
|
55
|
-
},
|
|
56
|
-
"./style.css": "./library/style.css",
|
|
57
|
-
"./
|
|
58
|
-
"./src/theme
|
|
59
|
-
"./src/theme/
|
|
60
|
-
"./
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"@codemirror/lang-
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
77
|
-
"@
|
|
78
|
-
"@milkdown/
|
|
79
|
-
"@milkdown/
|
|
80
|
-
"@
|
|
81
|
-
"@
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"@
|
|
100
|
-
"@
|
|
101
|
-
"@
|
|
102
|
-
"@
|
|
103
|
-
"@milkdown/
|
|
104
|
-
"@
|
|
105
|
-
"@
|
|
106
|
-
"@
|
|
107
|
-
"@
|
|
108
|
-
"@types/
|
|
109
|
-
"@types/
|
|
110
|
-
"@
|
|
111
|
-
"@
|
|
112
|
-
"@
|
|
113
|
-
"@
|
|
114
|
-
"@
|
|
115
|
-
"@
|
|
116
|
-
"@
|
|
117
|
-
"@
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"vite
|
|
141
|
-
"vite-
|
|
142
|
-
"vite-plugin-
|
|
143
|
-
"vite-plugin-
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"vue-
|
|
149
|
-
"vue-
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@voicenter-team/voicenter-ui-plus",
|
|
3
|
+
"version": "3.1.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
|
+
"preview": "vite preview",
|
|
13
|
+
"test": "vitest",
|
|
14
|
+
"test:ui": "vitest --ui",
|
|
15
|
+
"test:coverage": "vitest run --coverage",
|
|
16
|
+
"test:coverage:watch": "vitest --coverage",
|
|
17
|
+
"test:coverage:ui": "vitest --coverage --ui",
|
|
18
|
+
"upload-icons": "node ./script/icons-publish/index.js",
|
|
19
|
+
"scan-for-remote": "npm run build && node ./script/scan-for-remote-sources.js",
|
|
20
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts --fix --ignore-path .gitignore",
|
|
21
|
+
"mcp:install": "cd mcp-server && npm install",
|
|
22
|
+
"mcp:generate": "cd mcp-server && npm run generate:all",
|
|
23
|
+
"mcp:dev": "cd mcp-server && npm run dev",
|
|
24
|
+
"mcp:build": "cd mcp-server && npm run build",
|
|
25
|
+
"mcp:start": "cd mcp-server && npm start",
|
|
26
|
+
"release": "npm ci && npm run build && npm publish"
|
|
27
|
+
},
|
|
28
|
+
"main": "./library/index.mjs",
|
|
29
|
+
"module": "./library/index.mjs",
|
|
30
|
+
"types": "./library/types/index.d.ts",
|
|
31
|
+
"sideEffects": [
|
|
32
|
+
"**/*.css",
|
|
33
|
+
"./library/plugin.mjs"
|
|
34
|
+
],
|
|
35
|
+
"exports": {
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./library/types/index.d.ts",
|
|
38
|
+
"import": "./library/index.mjs",
|
|
39
|
+
"default": "./library/index.mjs"
|
|
40
|
+
},
|
|
41
|
+
"./plugin": {
|
|
42
|
+
"types": "./library/types/plugin.d.ts",
|
|
43
|
+
"import": "./library/plugin.mjs",
|
|
44
|
+
"default": "./library/plugin.mjs"
|
|
45
|
+
},
|
|
46
|
+
"./services": {
|
|
47
|
+
"types": "./library/types/services/index.d.ts",
|
|
48
|
+
"import": "./library/services/index.mjs",
|
|
49
|
+
"default": "./library/services/index.mjs"
|
|
50
|
+
},
|
|
51
|
+
"./theme": {
|
|
52
|
+
"types": "./library/types/theme/index.d.ts",
|
|
53
|
+
"import": "./library/theme/index.mjs",
|
|
54
|
+
"default": "./library/theme/index.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./style.css": "./library/style.css",
|
|
57
|
+
"./base.css": "./library/assets/assets/sass/main.css",
|
|
58
|
+
"./src/theme/*": "./src/theme/*",
|
|
59
|
+
"./src/theme/tailwindScheme": "./src/theme/tailwindScheme.js",
|
|
60
|
+
"./src/theme/themes.json": "./src/theme/themes.json",
|
|
61
|
+
"./tailwind.config": "./tailwind.config.js",
|
|
62
|
+
"./library/types/*": "./library/types/*.d.ts"
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"library",
|
|
66
|
+
"src/theme",
|
|
67
|
+
"tailwind.config.js",
|
|
68
|
+
"tailwind.config.d.ts"
|
|
69
|
+
],
|
|
70
|
+
"engines": {
|
|
71
|
+
"node": ">= 20"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"@codemirror/lang-html": "^6.0.0",
|
|
75
|
+
"@codemirror/lang-json": "^6.0.1",
|
|
76
|
+
"@codemirror/lang-markdown": "^6.0.0",
|
|
77
|
+
"@lucide/vue": "^1.16.0",
|
|
78
|
+
"@milkdown/crepe": "^7.15.5",
|
|
79
|
+
"@milkdown/kit": "^7.15.5",
|
|
80
|
+
"@milkdown/utils": "^7.15.5",
|
|
81
|
+
"@milkdown/vue": "^7.15.5",
|
|
82
|
+
"@prosemirror-adapter/vue": "^0.4.1",
|
|
83
|
+
"@vueuse/core": ">=10.7.2",
|
|
84
|
+
"codemirror": "^6.0.1",
|
|
85
|
+
"dayjs": "^1.11.19",
|
|
86
|
+
"element-plus": "^2.11.3",
|
|
87
|
+
"highlight.js": "^11.6.0",
|
|
88
|
+
"libphonenumber-js": "^1.10.13",
|
|
89
|
+
"lodash-es": "^4.17.21",
|
|
90
|
+
"maska": "^3.2.0",
|
|
91
|
+
"pdfjs-dist": "^2.9.359",
|
|
92
|
+
"vue": "^3.5.13",
|
|
93
|
+
"vue-advanced-cropper": "^2.8.3",
|
|
94
|
+
"vue-codemirror6": "^1.3.12",
|
|
95
|
+
"wavesurfer.js": "^7.7.15",
|
|
96
|
+
"xlsx": "^0.18.5"
|
|
97
|
+
},
|
|
98
|
+
"devDependencies": {
|
|
99
|
+
"@codemirror/lang-json": "^6.0.1",
|
|
100
|
+
"@fullhuman/postcss-purgecss": "^7.0.2",
|
|
101
|
+
"@highlightjs/vue-plugin": "^2.1.0",
|
|
102
|
+
"@lucide/vue": "^1.16.0",
|
|
103
|
+
"@milkdown/crepe": "7.15.5",
|
|
104
|
+
"@milkdown/kit": "7.15.5",
|
|
105
|
+
"@milkdown/utils": "7.15.5",
|
|
106
|
+
"@milkdown/vue": "7.15.5",
|
|
107
|
+
"@prosemirror-adapter/vue": "^0.4.1",
|
|
108
|
+
"@types/json-schema": "^7.0.15",
|
|
109
|
+
"@types/lodash-es": "^4.17.12",
|
|
110
|
+
"@types/node": "^18.7.6",
|
|
111
|
+
"@types/wavesurfer.js": "^6.0.3",
|
|
112
|
+
"@types/webfontloader": "^1.6.38",
|
|
113
|
+
"@vitejs/plugin-vue": "5.0.3",
|
|
114
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
115
|
+
"@vitest/ui": "3.2.4",
|
|
116
|
+
"@voicenter-team/aws-uploader": "^1.0.10",
|
|
117
|
+
"@voicenter-team/eslint-config-vue": "^1.0.21",
|
|
118
|
+
"@vue/server-renderer": "^3.5.13",
|
|
119
|
+
"@vue/test-utils": "^2.4.6",
|
|
120
|
+
"@vueuse/core": "10.7.2",
|
|
121
|
+
"autoprefixer": "10.4.17",
|
|
122
|
+
"axios": "^1.6.0",
|
|
123
|
+
"chalk": "4.1.2",
|
|
124
|
+
"codemirror": "^6.0.1",
|
|
125
|
+
"cross-env": "^7.0.3",
|
|
126
|
+
"dotenv": "^16.4.7",
|
|
127
|
+
"eslint": "^8.57.1",
|
|
128
|
+
"eslint-plugin-standard": "^5.0.0",
|
|
129
|
+
"eslint-plugin-vue": "9.21.1",
|
|
130
|
+
"highlight.js": "^11.6.0",
|
|
131
|
+
"jsdom": "^26.1.0",
|
|
132
|
+
"pdfjs-dist": "2.9.359",
|
|
133
|
+
"postcss": "8.4.34",
|
|
134
|
+
"readline-sync": "^1.4.10",
|
|
135
|
+
"sass": "1.93.3",
|
|
136
|
+
"tailwindcss": "^3.1.8",
|
|
137
|
+
"terser": "^5.44.0",
|
|
138
|
+
"typescript": "5.3.3",
|
|
139
|
+
"unplugin-element-plus": "^0.4.1",
|
|
140
|
+
"vite": "^5.4.6",
|
|
141
|
+
"vite-bundle-analyzer": "^0.15.2",
|
|
142
|
+
"vite-plugin-compression": "^0.5.1",
|
|
143
|
+
"vite-plugin-dts": "3.7.2",
|
|
144
|
+
"vite-plugin-inspect": "0.8.1",
|
|
145
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
146
|
+
"vite-plugin-static-copy": "0.17.1",
|
|
147
|
+
"vitest": "^3.2.4",
|
|
148
|
+
"vue-advanced-cropper": "^2.8.3",
|
|
149
|
+
"vue-codemirror6": "^1.3.12",
|
|
150
|
+
"vue-component-type-helpers": "^1.8.27",
|
|
151
|
+
"vue-router": "4.2.5",
|
|
152
|
+
"vue-tsc": "1.8.27",
|
|
153
|
+
"wavesurfer.js": "^7.7.15",
|
|
154
|
+
"xlsx": "0.18.5"
|
|
155
|
+
}
|
|
156
|
+
}
|