bkui-vue 0.0.1-beta.30 → 0.0.1-beta.31

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.
@@ -1,6 +1,142 @@
1
- import CodeDiff, { DiffFormatType, LanguagesUnion, ThemesUnion } from './code-diff';
2
- import './code-diff.less';
3
- export default CodeDiff;
1
+ import { DiffFormatType, LanguagesUnion, ThemesUnion } from './code-diff';
2
+ declare const BkCodeDiff: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{
7
+ theme: "dark" | "light";
8
+ oldContent: string;
9
+ newContent: string;
10
+ diffFormat: "side-by-side" | "line-by-line";
11
+ language: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
12
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
13
+ oldContent: import("vue-types").VueTypeValidableDef<string> & {
14
+ default: string;
15
+ };
16
+ newContent: import("vue-types").VueTypeValidableDef<string> & {
17
+ default: string;
18
+ };
19
+ diffFormat: import("vue-types").VueTypeValidableDef<"side-by-side" | "line-by-line"> & {
20
+ default: "side-by-side" | "line-by-line";
21
+ };
22
+ diffContext: import("vue-types").VueTypeValidableDef<number>;
23
+ theme: import("vue-types").VueTypeValidableDef<"dark" | "light"> & {
24
+ default: "dark" | "light";
25
+ };
26
+ language: import("vue-types").VueTypeValidableDef<"ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile"> & {
27
+ default: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
28
+ };
29
+ }>> & {
30
+ [x: string & `on${any}`]: (...args: any[]) => any;
31
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "oldContent" | "newContent" | "diffFormat" | "language">;
32
+ $attrs: {
33
+ [x: string]: unknown;
34
+ };
35
+ $refs: {
36
+ [x: string]: unknown;
37
+ };
38
+ $slots: Readonly<{
39
+ [name: string]: import("vue").Slot;
40
+ }>;
41
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
42
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
43
+ $emit: (event: any, ...args: any[]) => void;
44
+ $el: any;
45
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
46
+ oldContent: import("vue-types").VueTypeValidableDef<string> & {
47
+ default: string;
48
+ };
49
+ newContent: import("vue-types").VueTypeValidableDef<string> & {
50
+ default: string;
51
+ };
52
+ diffFormat: import("vue-types").VueTypeValidableDef<"side-by-side" | "line-by-line"> & {
53
+ default: "side-by-side" | "line-by-line";
54
+ };
55
+ diffContext: import("vue-types").VueTypeValidableDef<number>;
56
+ theme: import("vue-types").VueTypeValidableDef<"dark" | "light"> & {
57
+ default: "dark" | "light";
58
+ };
59
+ language: import("vue-types").VueTypeValidableDef<"ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile"> & {
60
+ default: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
61
+ };
62
+ }>> & {
63
+ [x: string & `on${any}`]: (...args: any[]) => any;
64
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], string, {
65
+ theme: "dark" | "light";
66
+ oldContent: string;
67
+ newContent: string;
68
+ diffFormat: "side-by-side" | "line-by-line";
69
+ language: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
70
+ }> & {
71
+ beforeCreate?: (() => void) | (() => void)[];
72
+ created?: (() => void) | (() => void)[];
73
+ beforeMount?: (() => void) | (() => void)[];
74
+ mounted?: (() => void) | (() => void)[];
75
+ beforeUpdate?: (() => void) | (() => void)[];
76
+ updated?: (() => void) | (() => void)[];
77
+ activated?: (() => void) | (() => void)[];
78
+ deactivated?: (() => void) | (() => void)[];
79
+ beforeDestroy?: (() => void) | (() => void)[];
80
+ beforeUnmount?: (() => void) | (() => void)[];
81
+ destroyed?: (() => void) | (() => void)[];
82
+ unmounted?: (() => void) | (() => void)[];
83
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
84
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
85
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
86
+ };
87
+ $forceUpdate: () => void;
88
+ $nextTick: typeof import("vue").nextTick;
89
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
90
+ } & Readonly<import("vue").ExtractPropTypes<{
91
+ oldContent: import("vue-types").VueTypeValidableDef<string> & {
92
+ default: string;
93
+ };
94
+ newContent: import("vue-types").VueTypeValidableDef<string> & {
95
+ default: string;
96
+ };
97
+ diffFormat: import("vue-types").VueTypeValidableDef<"side-by-side" | "line-by-line"> & {
98
+ default: "side-by-side" | "line-by-line";
99
+ };
100
+ diffContext: import("vue-types").VueTypeValidableDef<number>;
101
+ theme: import("vue-types").VueTypeValidableDef<"dark" | "light"> & {
102
+ default: "dark" | "light";
103
+ };
104
+ language: import("vue-types").VueTypeValidableDef<"ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile"> & {
105
+ default: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
106
+ };
107
+ }>> & {
108
+ [x: string & `on${any}`]: (...args: any[]) => any;
109
+ } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
110
+ __isFragment?: never;
111
+ __isTeleport?: never;
112
+ __isSuspense?: never;
113
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
114
+ oldContent: import("vue-types").VueTypeValidableDef<string> & {
115
+ default: string;
116
+ };
117
+ newContent: import("vue-types").VueTypeValidableDef<string> & {
118
+ default: string;
119
+ };
120
+ diffFormat: import("vue-types").VueTypeValidableDef<"side-by-side" | "line-by-line"> & {
121
+ default: "side-by-side" | "line-by-line";
122
+ };
123
+ diffContext: import("vue-types").VueTypeValidableDef<number>;
124
+ theme: import("vue-types").VueTypeValidableDef<"dark" | "light"> & {
125
+ default: "dark" | "light";
126
+ };
127
+ language: import("vue-types").VueTypeValidableDef<"ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile"> & {
128
+ default: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
129
+ };
130
+ }>> & {
131
+ [x: string & `on${any}`]: (...args: any[]) => any;
132
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, {
133
+ theme: "dark" | "light";
134
+ oldContent: string;
135
+ newContent: string;
136
+ diffFormat: "side-by-side" | "line-by-line";
137
+ language: "ruby" | "css" | "java" | "javascript" | "json" | "scss" | "less" | "stylus" | "shell" | "bash" | "cpp" | "go" | "xml" | "python" | "typescript" | "sql" | "vim" | "php" | "perl" | "powershell" | "makefile";
138
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
4
139
  export declare type ThemesUnionType = ThemesUnion;
5
140
  export declare type DiffFormatUnionType = DiffFormatType;
6
141
  export declare type LanguagesUnionType = LanguagesUnion;
142
+ export default BkCodeDiff;