@voicenter-team/voicenter-ui-plus 2.0.4 → 2.0.5
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/core/{entry-9waO-ii2.mjs → entry-CUnU_LTf.mjs} +1261 -222
- package/library/core/entry-CUnU_LTf.mjs.br +0 -0
- package/library/core/entry-CUnU_LTf.mjs.gz +0 -0
- package/library/core/{index-UOZNryNK.mjs → index-6fzTDgR0.mjs} +1 -1
- package/library/core/index-6fzTDgR0.mjs.br +0 -0
- package/library/core/index-6fzTDgR0.mjs.gz +0 -0
- package/library/core/{index-5XTYllf8.mjs → index-BHgTKNj6.mjs} +1 -1
- package/library/core/index-BHgTKNj6.mjs.br +0 -0
- package/library/core/index-BHgTKNj6.mjs.gz +0 -0
- package/library/core/{index-DAPqny2s.mjs → index-Bnbcgp45.mjs} +1 -1
- package/library/core/index-Bnbcgp45.mjs.br +0 -0
- package/library/core/index-Bnbcgp45.mjs.gz +0 -0
- package/library/core/{index-D4_mrv79.mjs → index-BnrhesCl.mjs} +1 -1
- package/library/core/index-BnrhesCl.mjs.br +0 -0
- package/library/core/index-BnrhesCl.mjs.gz +0 -0
- package/library/core/{index-CApVvY4i.mjs → index-C1SGZ0VB.mjs} +1 -1
- package/library/core/index-C1SGZ0VB.mjs.br +0 -0
- package/library/core/index-C1SGZ0VB.mjs.gz +0 -0
- package/library/core/{index-BW6WQkYN.mjs → index-C5fzTJu8.mjs} +1 -1
- package/library/core/index-C5fzTJu8.mjs.br +0 -0
- package/library/core/index-C5fzTJu8.mjs.gz +0 -0
- package/library/core/{index-Djf2HmOn.mjs → index-CToYp0ec.mjs} +1 -1
- package/library/core/index-CToYp0ec.mjs.br +0 -0
- package/library/core/index-CToYp0ec.mjs.gz +0 -0
- package/library/core/{index-D0jRT024.mjs → index-CYWz3-a9.mjs} +1 -1
- package/library/core/index-CYWz3-a9.mjs.br +0 -0
- package/library/core/{index-D0jRT024.mjs.gz → index-CYWz3-a9.mjs.gz} +0 -0
- package/library/core/{index-BIuNzHq0.mjs → index-C_0ohr-m.mjs} +1 -1
- package/library/core/index-C_0ohr-m.mjs.br +0 -0
- package/library/core/index-C_0ohr-m.mjs.gz +0 -0
- package/library/core/{index-D6ztvlVx.mjs → index-CanygYmA.mjs} +1 -1
- package/library/core/index-CanygYmA.mjs.br +0 -0
- package/library/core/index-CanygYmA.mjs.gz +0 -0
- package/library/core/{index-BvQvCT4b.mjs → index-ClO3w-PT.mjs} +1 -1
- package/library/core/index-ClO3w-PT.mjs.br +0 -0
- package/library/core/index-ClO3w-PT.mjs.gz +0 -0
- package/library/core/{index-D51jpGiF.mjs → index-DwlQlTDu.mjs} +1 -1
- package/library/core/index-DwlQlTDu.mjs.br +0 -0
- package/library/core/index-DwlQlTDu.mjs.gz +0 -0
- package/library/core/{index-wJLOQ-wI.mjs → index-Dz1n0irY.mjs} +1 -1
- package/library/core/index-Dz1n0irY.mjs.br +0 -0
- package/library/core/index-Dz1n0irY.mjs.gz +0 -0
- package/library/core/{index-BJJ7G1kH.mjs → index-KX4Bfsig.mjs} +1 -1
- package/library/core/index-KX4Bfsig.mjs.br +0 -0
- package/library/core/index-KX4Bfsig.mjs.gz +0 -0
- package/library/core/{index-BWexRHi1.mjs → index-o6T82tO9.mjs} +1 -1
- package/library/core/index-o6T82tO9.mjs.br +0 -0
- package/library/core/index-o6T82tO9.mjs.gz +0 -0
- package/library/core/index.mjs +32 -31
- package/library/core/index.mjs.br +0 -0
- package/library/core/index.mjs.gz +0 -0
- package/library/core/index.umd.js +5 -5
- package/library/core/index.umd.js.br +0 -0
- package/library/core/index.umd.js.gz +0 -0
- package/library/core/style.css +1 -1
- package/library/core/style.css.br +0 -0
- package/library/core/style.css.gz +0 -0
- package/library/core/types/components/VcMdEditor/VcMdEditor.vue.d.ts +51 -4
- package/library/core/types/components/VcMdEditor/VcMdEditorToolbar.vue.d.ts +3 -3
- package/library/core/types/types/VcMdEditor.types.d.ts +6 -0
- package/package.json +1 -1
- package/library/core/entry-9waO-ii2.mjs.br +0 -0
- package/library/core/entry-9waO-ii2.mjs.gz +0 -0
- package/library/core/index-5XTYllf8.mjs.br +0 -0
- package/library/core/index-5XTYllf8.mjs.gz +0 -0
- package/library/core/index-BIuNzHq0.mjs.br +0 -0
- package/library/core/index-BIuNzHq0.mjs.gz +0 -0
- package/library/core/index-BJJ7G1kH.mjs.br +0 -0
- package/library/core/index-BJJ7G1kH.mjs.gz +0 -0
- package/library/core/index-BW6WQkYN.mjs.br +0 -0
- package/library/core/index-BW6WQkYN.mjs.gz +0 -0
- package/library/core/index-BWexRHi1.mjs.br +0 -0
- package/library/core/index-BWexRHi1.mjs.gz +0 -0
- package/library/core/index-BvQvCT4b.mjs.br +0 -0
- package/library/core/index-BvQvCT4b.mjs.gz +0 -0
- package/library/core/index-CApVvY4i.mjs.br +0 -0
- package/library/core/index-CApVvY4i.mjs.gz +0 -0
- package/library/core/index-D0jRT024.mjs.br +0 -0
- package/library/core/index-D4_mrv79.mjs.br +0 -0
- package/library/core/index-D4_mrv79.mjs.gz +0 -0
- package/library/core/index-D51jpGiF.mjs.br +0 -0
- package/library/core/index-D51jpGiF.mjs.gz +0 -0
- package/library/core/index-D6ztvlVx.mjs.br +0 -0
- package/library/core/index-D6ztvlVx.mjs.gz +0 -0
- package/library/core/index-DAPqny2s.mjs.br +0 -0
- package/library/core/index-DAPqny2s.mjs.gz +0 -0
- package/library/core/index-Djf2HmOn.mjs.br +0 -0
- package/library/core/index-Djf2HmOn.mjs.gz +0 -0
- package/library/core/index-UOZNryNK.mjs.br +0 -0
- package/library/core/index-UOZNryNK.mjs.gz +0 -0
- package/library/core/index-wJLOQ-wI.mjs.br +0 -0
- package/library/core/index-wJLOQ-wI.mjs.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,10 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { TMDEditorParameterOption } from '../../types';
|
|
2
|
+
export interface IVcMdEditorProps {
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
html?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
useParameters?: boolean;
|
|
7
|
+
minHeight?: number | string;
|
|
8
|
+
maxHeight?: number | string;
|
|
9
|
+
parameters?: Array<TMDEditorParameterOption>;
|
|
10
|
+
isTeleported?: boolean;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
hideToolbar?: boolean;
|
|
13
|
+
}
|
|
2
14
|
type BlockValidationIssue = {
|
|
3
15
|
tag: string;
|
|
4
16
|
line: number;
|
|
5
17
|
type: 'unclosed' | 'unopened';
|
|
6
18
|
};
|
|
7
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<
|
|
19
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IVcMdEditorProps>, {
|
|
20
|
+
modelValue: string;
|
|
21
|
+
html: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
minHeight: number;
|
|
24
|
+
maxHeight: undefined;
|
|
25
|
+
parameters: undefined;
|
|
26
|
+
useParameters: boolean;
|
|
27
|
+
isTeleported: undefined;
|
|
28
|
+
}>>, {
|
|
8
29
|
validate: () => BlockValidationIssue[];
|
|
9
30
|
/**
|
|
10
31
|
* Get the HTML output from ProseMirror editor
|
|
@@ -14,10 +35,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
35
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
36
|
"update:modelValue": (pl: string) => void;
|
|
16
37
|
"update:html": (pl: string) => void;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IVcMdEditorProps>, {
|
|
39
|
+
modelValue: string;
|
|
40
|
+
html: string;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
minHeight: number;
|
|
43
|
+
maxHeight: undefined;
|
|
44
|
+
parameters: undefined;
|
|
45
|
+
useParameters: boolean;
|
|
46
|
+
isTeleported: undefined;
|
|
47
|
+
}>>> & Readonly<{
|
|
18
48
|
"onUpdate:modelValue"?: ((pl: string) => any) | undefined;
|
|
19
49
|
"onUpdate:html"?: ((pl: string) => any) | undefined;
|
|
20
|
-
}>, {
|
|
50
|
+
}>, {
|
|
51
|
+
html: string;
|
|
52
|
+
disabled: boolean;
|
|
53
|
+
modelValue: string;
|
|
54
|
+
maxHeight: string | number;
|
|
55
|
+
useParameters: boolean;
|
|
56
|
+
minHeight: string | number;
|
|
57
|
+
parameters: TMDEditorParameterOption[];
|
|
58
|
+
isTeleported: boolean;
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
60
|
export default _default;
|
|
22
61
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
62
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -28,3 +67,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
28
67
|
required: true;
|
|
29
68
|
};
|
|
30
69
|
};
|
|
70
|
+
type __VLS_WithDefaults<P, D> = {
|
|
71
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
72
|
+
default: D[K];
|
|
73
|
+
}> : P[K];
|
|
74
|
+
};
|
|
75
|
+
type __VLS_Prettify<T> = {
|
|
76
|
+
[K in keyof T]: T[K];
|
|
77
|
+
} & {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { TSetBlockTypeEvent } from './mdEditor.config';
|
|
2
|
-
import { TMDEditorParameterItem } from '../../types';
|
|
2
|
+
import type { TMDEditorParameterItem, TMDEditorParameterOption } from '../../types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
isTeleported?: boolean | undefined;
|
|
5
5
|
disabled?: boolean | undefined;
|
|
6
|
-
parameters?:
|
|
6
|
+
parameters?: TMDEditorParameterOption[] | undefined;
|
|
7
7
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"set-block-type": (pl: TSetBlockTypeEvent) => void;
|
|
9
9
|
"insert-parameter": (pl: TMDEditorParameterItem, state?: "opening" | "closing" | undefined) => void;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
isTeleported?: boolean | undefined;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
13
|
-
parameters?:
|
|
13
|
+
parameters?: TMDEditorParameterOption[] | undefined;
|
|
14
14
|
}>>> & Readonly<{
|
|
15
15
|
"onSet-block-type"?: ((pl: TSetBlockTypeEvent) => any) | undefined;
|
|
16
16
|
"onInsert-parameter"?: ((pl: TMDEditorParameterItem, state?: "opening" | "closing" | undefined) => any) | undefined;
|
|
@@ -5,8 +5,14 @@ export type TMDEditorParameterItem = {
|
|
|
5
5
|
description?: string;
|
|
6
6
|
schema?: ObjectAnyType;
|
|
7
7
|
};
|
|
8
|
+
export type TMDEditorGroupParameterItems = {
|
|
9
|
+
label: string;
|
|
10
|
+
options: Array<TMDEditorParameterItem>;
|
|
11
|
+
};
|
|
12
|
+
export type TMDEditorParameterOption = TMDEditorParameterItem | TMDEditorGroupParameterItems;
|
|
8
13
|
export type BlockValidationIssue = {
|
|
9
14
|
tag: string;
|
|
10
15
|
line: number;
|
|
11
16
|
type: 'unclosed' | 'unopened';
|
|
12
17
|
};
|
|
18
|
+
export declare function isGroupParameter(item: TMDEditorParameterOption): item is TMDEditorGroupParameterItems;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|