@webx-ui/core 0.41.0 → 0.43.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.
@@ -1,2 +1,124 @@
1
- export { default as WxRichText } from './RichText';
1
+ export declare const WxRichText: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
3
+ modelValue?: import('./types').RichTextModelValue;
4
+ } & import('./types').RichTextProps> & Readonly<{
5
+ onChange?: ((html: string) => any) | undefined;
6
+ "onUpdate:modelValue"?: ((value: import('./types').RichTextModelValue) => any) | undefined;
7
+ onBlur?: (() => any) | undefined;
8
+ onFocus?: (() => any) | undefined;
9
+ onUploadError?: ((error: unknown, file: File) => any) | undefined;
10
+ }>, {
11
+ editor: import('vue').ShallowRef<import('@tiptap/vue-3').Editor | undefined, import('@tiptap/vue-3').Editor | undefined>;
12
+ focus: () => boolean | undefined;
13
+ clear: () => boolean | undefined;
14
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ change: (html: string) => any;
16
+ "update:modelValue": (value: import('./types').RichTextModelValue) => any;
17
+ blur: () => any;
18
+ focus: () => any;
19
+ uploadError: (error: unknown, file: File) => any;
20
+ }, import('vue').PublicProps, {
21
+ size: import('../..').ControlSize;
22
+ disabled: boolean;
23
+ placeholder: string;
24
+ upload: import('./types').RichTextUpload;
25
+ ariaLabel: string;
26
+ status: import('../..').ControlStatus;
27
+ id: string;
28
+ inline: boolean;
29
+ readonly: boolean;
30
+ minHeight: string;
31
+ localized: boolean;
32
+ tokens: import('../..').TokenOption[];
33
+ tokensTitle: string;
34
+ tokensLabel: string;
35
+ tools: import('./types').RichTextTool[];
36
+ pickImage: import('./types').RichTextImagePicker;
37
+ accept: string[];
38
+ labels: import('./types').RichTextLabels;
39
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
40
+ rootRef: HTMLDivElement;
41
+ fileInput: HTMLInputElement;
42
+ }, any, import('vue').ComponentProvideOptions, {
43
+ P: {};
44
+ B: {};
45
+ D: {};
46
+ C: {};
47
+ M: {};
48
+ Defaults: {};
49
+ }, Readonly<{
50
+ modelValue?: import('./types').RichTextModelValue;
51
+ } & import('./types').RichTextProps> & Readonly<{
52
+ onChange?: ((html: string) => any) | undefined;
53
+ "onUpdate:modelValue"?: ((value: import('./types').RichTextModelValue) => any) | undefined;
54
+ onBlur?: (() => any) | undefined;
55
+ onFocus?: (() => any) | undefined;
56
+ onUploadError?: ((error: unknown, file: File) => any) | undefined;
57
+ }>, {
58
+ editor: import('vue').ShallowRef<import('@tiptap/vue-3').Editor | undefined, import('@tiptap/vue-3').Editor | undefined>;
59
+ focus: () => boolean | undefined;
60
+ clear: () => boolean | undefined;
61
+ }, {}, {}, {}, {
62
+ size: import('../..').ControlSize;
63
+ disabled: boolean;
64
+ placeholder: string;
65
+ upload: import('./types').RichTextUpload;
66
+ ariaLabel: string;
67
+ status: import('../..').ControlStatus;
68
+ id: string;
69
+ inline: boolean;
70
+ readonly: boolean;
71
+ minHeight: string;
72
+ localized: boolean;
73
+ tokens: import('../..').TokenOption[];
74
+ tokensTitle: string;
75
+ tokensLabel: string;
76
+ tools: import('./types').RichTextTool[];
77
+ pickImage: import('./types').RichTextImagePicker;
78
+ accept: string[];
79
+ labels: import('./types').RichTextLabels;
80
+ }>;
81
+ __isFragment?: never;
82
+ __isTeleport?: never;
83
+ __isSuspense?: never;
84
+ } & import('vue').ComponentOptionsBase<Readonly<{
85
+ modelValue?: import('./types').RichTextModelValue;
86
+ } & import('./types').RichTextProps> & Readonly<{
87
+ onChange?: ((html: string) => any) | undefined;
88
+ "onUpdate:modelValue"?: ((value: import('./types').RichTextModelValue) => any) | undefined;
89
+ onBlur?: (() => any) | undefined;
90
+ onFocus?: (() => any) | undefined;
91
+ onUploadError?: ((error: unknown, file: File) => any) | undefined;
92
+ }>, {
93
+ editor: import('vue').ShallowRef<import('@tiptap/vue-3').Editor | undefined, import('@tiptap/vue-3').Editor | undefined>;
94
+ focus: () => boolean | undefined;
95
+ clear: () => boolean | undefined;
96
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
97
+ change: (html: string) => any;
98
+ "update:modelValue": (value: import('./types').RichTextModelValue) => any;
99
+ blur: () => any;
100
+ focus: () => any;
101
+ uploadError: (error: unknown, file: File) => any;
102
+ }, string, {
103
+ size: import('../..').ControlSize;
104
+ disabled: boolean;
105
+ placeholder: string;
106
+ upload: import('./types').RichTextUpload;
107
+ ariaLabel: string;
108
+ status: import('../..').ControlStatus;
109
+ id: string;
110
+ inline: boolean;
111
+ readonly: boolean;
112
+ minHeight: string;
113
+ localized: boolean;
114
+ tokens: import('../..').TokenOption[];
115
+ tokensTitle: string;
116
+ tokensLabel: string;
117
+ tools: import('./types').RichTextTool[];
118
+ pickImage: import('./types').RichTextImagePicker;
119
+ accept: string[];
120
+ labels: import('./types').RichTextLabels;
121
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
122
+ name: string;
123
+ };
2
124
  export type * from './types';
@@ -18,8 +18,8 @@ declare const __VLS_component: import('vue').DefineComponent<StatisticProps, {},
18
18
  value: number | string;
19
19
  align: import('..').TextAlign;
20
20
  tone: import('..').TextTone;
21
- precision: number;
22
21
  locale: string;
22
+ precision: number;
23
23
  grouping: boolean;
24
24
  prefix: string;
25
25
  suffix: string;
@@ -30,9 +30,9 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
30
30
  id: string;
31
31
  resize: "none" | "vertical" | "both";
32
32
  readonly: boolean;
33
+ localized: boolean;
33
34
  maxlength: number;
34
35
  showCount: boolean;
35
- localized: boolean;
36
36
  tokens: TokenOption[];
37
37
  tokensTitle: string;
38
38
  tokensLabel: string;
@@ -31,9 +31,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
31
31
  clearable: boolean;
32
32
  status: import('../..').ControlStatus;
33
33
  id: string;
34
- readonly: boolean;
35
- format: string;
36
34
  locale: string | import('../..').DateFnsLocale;
35
+ format: string;
36
+ readonly: boolean;
37
37
  valueFormat: string;
38
38
  minDate: string | Date;
39
39
  maxDate: string | Date;