@knime/kds-rich-text-editor 2.3.0 → 2.5.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,4 +1,4 @@
1
- import { Ref, nextTick } from 'vue';
1
+ import { Ref } from 'vue';
2
2
  type Props = {
3
3
  text: Ref<string>;
4
4
  url: Ref<string>;
@@ -6,7 +6,7 @@ type Props = {
6
6
  isEdit: Ref<boolean>;
7
7
  urlValidator: (url: string) => boolean;
8
8
  };
9
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
10
  addLink: (text: string, url: string) => any;
11
11
  removeLink: () => any;
12
12
  cancelAddLink: () => any;
@@ -14,456 +14,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
14
14
  onAddLink?: ((text: string, url: string) => any) | undefined;
15
15
  onRemoveLink?: (() => any) | undefined;
16
16
  onCancelAddLink?: (() => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
- inputRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
19
- modelValue?: string;
20
- } & {
21
- description?: string;
22
- } & {
23
- label: string;
24
- ariaLabel?: never;
25
- } & {
26
- id?: string;
27
- } & {
28
- error?: boolean | undefined;
29
- subText?: string | undefined;
30
- validating?: boolean | undefined;
31
- preserveSubTextSpace?: boolean | undefined;
32
- } & {
33
- placeholder?: string;
34
- disabled?: boolean;
35
- autocomplete?: string;
36
- } & {
37
- suggestions?: string[];
38
- suggestionsHeadline?: string;
39
- }) | ({
40
- modelValue?: string;
41
- } & {
42
- description?: string;
43
- } & {
44
- label?: never;
45
- ariaLabel: string;
46
- } & {
47
- id?: string;
48
- } & {
49
- error?: boolean | undefined;
50
- subText?: string | undefined;
51
- validating?: boolean | undefined;
52
- preserveSubTextSpace?: boolean | undefined;
53
- } & {
54
- placeholder?: string;
55
- disabled?: boolean;
56
- autocomplete?: string;
57
- } & {
58
- suggestions?: string[];
59
- suggestionsHeadline?: string;
60
- })> & Readonly<{
61
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
62
- }>, {
63
- focus: (options?: FocusOptions) => void;
64
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
65
- "update:modelValue": (value: string) => any;
66
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
67
- baseInput: ({
68
- $: import('vue').ComponentInternalInstance;
69
- $data: {};
70
- $props: {
71
- readonly modelValue?: string | undefined;
72
- readonly id?: string | undefined;
73
- readonly type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search" | undefined;
74
- readonly min?: number | string | undefined;
75
- readonly max?: number | string | undefined;
76
- readonly ariaExpanded?: boolean | undefined;
77
- readonly step?: number | undefined;
78
- readonly placeholder?: string | undefined;
79
- readonly disabled?: boolean | undefined;
80
- readonly leadingIcon?: import('@knime/kds-components').KdsIconName | undefined;
81
- readonly trailingIcon?: import('@knime/kds-components').KdsIconName | undefined;
82
- readonly error?: boolean | undefined;
83
- readonly autocomplete?: string | undefined;
84
- readonly ariaLabel?: string | undefined;
85
- readonly ariaLabelledby?: string | undefined;
86
- readonly ariaDescribedby?: string | undefined;
87
- readonly ariaInvalid?: boolean | undefined;
88
- readonly role?: string | undefined;
89
- readonly ariaValuenow?: number | undefined;
90
- readonly ariaValuemin?: number | undefined;
91
- readonly ariaValuemax?: number | undefined;
92
- readonly ariaValuetext?: string | undefined;
93
- readonly ariaActivedescendant?: string | undefined;
94
- readonly ariaHaspopup?: "listbox" | "menu" | "dialog" | "grid" | "tree" | "true" | undefined;
95
- readonly ariaControls?: string | undefined;
96
- readonly ariaAutocomplete?: "none" | "inline" | "list" | "both" | undefined;
97
- readonly unit?: string | undefined;
98
- readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
99
- readonly clearable?: boolean | undefined;
100
- readonly pattern?: string | undefined;
101
- readonly segments?: import('packages/components/dist/src/forms/inputs/useInputSegments.helpers').KdsInputSegmentsConfig | undefined;
102
- readonly onInput?: ((event: Event) => any) | undefined;
103
- readonly onBlur?: ((event: FocusEvent) => any) | undefined;
104
- readonly onClick?: ((event: MouseEvent) => any) | undefined;
105
- readonly onFocus?: ((event: FocusEvent) => any) | undefined;
106
- readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
107
- readonly onPaste?: ((event: ClipboardEvent) => any) | undefined;
108
- readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
109
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
110
- $attrs: import('vue').Attrs;
111
- $refs: {
112
- [x: string]: unknown;
113
- } & {
114
- input: HTMLInputElement;
115
- };
116
- $slots: Readonly<{
117
- [name: string]: import('vue').Slot<any> | undefined;
118
- }>;
119
- $root: import('vue').ComponentPublicInstance | null;
120
- $parent: import('vue').ComponentPublicInstance | null;
121
- $host: Element | null;
122
- $emit: ((event: "input", event: Event) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "click", event: MouseEvent) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "paste", event: ClipboardEvent) => void) & ((event: "update:modelValue", value: string) => void);
123
- $el: HTMLDivElement;
124
- $options: import('vue').ComponentOptionsBase<Readonly<{
125
- modelValue?: string;
126
- } & {
127
- id?: string;
128
- type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
129
- min?: number | string;
130
- max?: number | string;
131
- ariaExpanded?: boolean;
132
- step?: number;
133
- placeholder?: string;
134
- disabled?: boolean;
135
- leadingIcon?: import('@knime/kds-components').KdsIconName;
136
- trailingIcon?: import('@knime/kds-components').KdsIconName;
137
- error?: boolean;
138
- autocomplete?: string;
139
- ariaLabel?: string;
140
- ariaLabelledby?: string;
141
- ariaDescribedby?: string;
142
- ariaInvalid?: boolean;
143
- role?: string;
144
- ariaValuenow?: number;
145
- ariaValuemin?: number;
146
- ariaValuemax?: number;
147
- ariaValuetext?: string;
148
- ariaActivedescendant?: string;
149
- ariaHaspopup?: "listbox" | "menu" | "dialog" | "grid" | "tree" | "true";
150
- ariaControls?: string;
151
- ariaAutocomplete?: "none" | "inline" | "list" | "both";
152
- unit?: string;
153
- inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
154
- clearable?: boolean;
155
- pattern?: string;
156
- segments?: import('packages/components/dist/src/forms/inputs/useInputSegments.helpers').KdsInputSegmentsConfig;
157
- }> & Readonly<{
158
- onInput?: ((event: Event) => any) | undefined;
159
- onBlur?: ((event: FocusEvent) => any) | undefined;
160
- onClick?: ((event: MouseEvent) => any) | undefined;
161
- onFocus?: ((event: FocusEvent) => any) | undefined;
162
- onKeydown?: ((event: KeyboardEvent) => any) | undefined;
163
- onPaste?: ((event: ClipboardEvent) => any) | undefined;
164
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
165
- }>, {
166
- focus: (options?: FocusOptions) => void;
167
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
168
- input: (event: Event) => any;
169
- blur: (event: FocusEvent) => any;
170
- click: (event: MouseEvent) => any;
171
- focus: (event: FocusEvent) => any;
172
- keydown: (event: KeyboardEvent) => any;
173
- paste: (event: ClipboardEvent) => any;
174
- "update:modelValue": (value: string) => any;
175
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
176
- beforeCreate?: (() => void) | (() => void)[];
177
- created?: (() => void) | (() => void)[];
178
- beforeMount?: (() => void) | (() => void)[];
179
- mounted?: (() => void) | (() => void)[];
180
- beforeUpdate?: (() => void) | (() => void)[];
181
- updated?: (() => void) | (() => void)[];
182
- activated?: (() => void) | (() => void)[];
183
- deactivated?: (() => void) | (() => void)[];
184
- beforeDestroy?: (() => void) | (() => void)[];
185
- beforeUnmount?: (() => void) | (() => void)[];
186
- destroyed?: (() => void) | (() => void)[];
187
- unmounted?: (() => void) | (() => void)[];
188
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
189
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
190
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
191
- };
192
- $forceUpdate: () => void;
193
- $nextTick: typeof import('vue').nextTick;
194
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
195
- } & Readonly<{}> & Omit<Readonly<{
196
- modelValue?: string;
197
- } & {
198
- id?: string;
199
- type?: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
200
- min?: number | string;
201
- max?: number | string;
202
- ariaExpanded?: boolean;
203
- step?: number;
204
- placeholder?: string;
205
- disabled?: boolean;
206
- leadingIcon?: import('@knime/kds-components').KdsIconName;
207
- trailingIcon?: import('@knime/kds-components').KdsIconName;
208
- error?: boolean;
209
- autocomplete?: string;
210
- ariaLabel?: string;
211
- ariaLabelledby?: string;
212
- ariaDescribedby?: string;
213
- ariaInvalid?: boolean;
214
- role?: string;
215
- ariaValuenow?: number;
216
- ariaValuemin?: number;
217
- ariaValuemax?: number;
218
- ariaValuetext?: string;
219
- ariaActivedescendant?: string;
220
- ariaHaspopup?: "listbox" | "menu" | "dialog" | "grid" | "tree" | "true";
221
- ariaControls?: string;
222
- ariaAutocomplete?: "none" | "inline" | "list" | "both";
223
- unit?: string;
224
- inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
225
- clearable?: boolean;
226
- pattern?: string;
227
- segments?: import('packages/components/dist/src/forms/inputs/useInputSegments.helpers').KdsInputSegmentsConfig;
228
- }> & Readonly<{
229
- onInput?: ((event: Event) => any) | undefined;
230
- onBlur?: ((event: FocusEvent) => any) | undefined;
231
- onClick?: ((event: MouseEvent) => any) | undefined;
232
- onFocus?: ((event: FocusEvent) => any) | undefined;
233
- onKeydown?: ((event: KeyboardEvent) => any) | undefined;
234
- onPaste?: ((event: ClipboardEvent) => any) | undefined;
235
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
236
- }>, "focus"> & {
237
- focus: (options?: FocusOptions) => void;
238
- } & {} & import('vue').ComponentCustomProperties & {} & {
239
- $slots: Readonly<{
240
- leading?(): unknown;
241
- trailing?(): unknown;
242
- }> & {
243
- leading?(): unknown;
244
- trailing?(): unknown;
245
- };
246
- }) | null;
247
- popoverRef: ({
248
- $: import('vue').ComponentInternalInstance;
249
- $data: {};
250
- $props: ({
251
- readonly modelValue?: boolean | undefined;
252
- readonly role?: import('@knime/kds-components').KdsPopoverRole | undefined;
253
- readonly popoverType?: import('@knime/kds-components').KdsPopoverType | undefined;
254
- readonly fullWidth?: boolean | undefined;
255
- readonly maxInlineSize?: string | undefined;
256
- readonly stretchInline?: boolean | undefined;
257
- readonly content?: string | undefined;
258
- readonly placement?: Exclude<import('@knime/kds-components').KdsPopoverPlacement, "custom"> | undefined;
259
- readonly customPlacementPosition?: never | undefined;
260
- readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
261
- } | {
262
- readonly modelValue?: boolean | undefined;
263
- readonly role?: import('@knime/kds-components').KdsPopoverRole | undefined;
264
- readonly popoverType?: import('@knime/kds-components').KdsPopoverType | undefined;
265
- readonly fullWidth?: boolean | undefined;
266
- readonly maxInlineSize?: string | undefined;
267
- readonly stretchInline?: boolean | undefined;
268
- readonly content?: string | undefined;
269
- readonly placement: "custom";
270
- readonly customPlacementPosition: {
271
- x: number;
272
- y: number;
273
- };
274
- readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
275
- }) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
276
- $attrs: import('vue').Attrs;
277
- $refs: {
278
- [x: string]: unknown;
279
- } & {
280
- popoverEl: HTMLDivElement;
281
- };
282
- $slots: Readonly<{
283
- [name: string]: import('vue').Slot<any> | undefined;
284
- }>;
285
- $root: import('vue').ComponentPublicInstance | null;
286
- $parent: import('vue').ComponentPublicInstance | null;
287
- $host: Element | null;
288
- $emit: (event: "update:modelValue", value: boolean) => void;
289
- $el: HTMLDivElement;
290
- $options: import('vue').ComponentOptionsBase<Readonly<({
291
- modelValue?: boolean;
292
- } & {
293
- role?: import('@knime/kds-components').KdsPopoverRole;
294
- popoverType?: import('@knime/kds-components').KdsPopoverType;
295
- fullWidth?: boolean;
296
- maxInlineSize?: string;
297
- stretchInline?: boolean;
298
- content?: string;
299
- } & {
300
- placement?: Exclude<import('@knime/kds-components').KdsPopoverPlacement, "custom">;
301
- customPlacementPosition?: never;
302
- }) | ({
303
- modelValue?: boolean;
304
- } & {
305
- role?: import('@knime/kds-components').KdsPopoverRole;
306
- popoverType?: import('@knime/kds-components').KdsPopoverType;
307
- fullWidth?: boolean;
308
- maxInlineSize?: string;
309
- stretchInline?: boolean;
310
- content?: string;
311
- } & {
312
- placement: "custom";
313
- customPlacementPosition: {
314
- x: number;
315
- y: number;
316
- };
317
- })> & Readonly<{
318
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
319
- }>, {
320
- anchorStyle: Record<string, string>;
321
- popoverId: string;
322
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
323
- "update:modelValue": (value: boolean) => any;
324
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
325
- beforeCreate?: (() => void) | (() => void)[];
326
- created?: (() => void) | (() => void)[];
327
- beforeMount?: (() => void) | (() => void)[];
328
- mounted?: (() => void) | (() => void)[];
329
- beforeUpdate?: (() => void) | (() => void)[];
330
- updated?: (() => void) | (() => void)[];
331
- activated?: (() => void) | (() => void)[];
332
- deactivated?: (() => void) | (() => void)[];
333
- beforeDestroy?: (() => void) | (() => void)[];
334
- beforeUnmount?: (() => void) | (() => void)[];
335
- destroyed?: (() => void) | (() => void)[];
336
- unmounted?: (() => void) | (() => void)[];
337
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
338
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
339
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
340
- };
341
- $forceUpdate: () => void;
342
- $nextTick: typeof import('vue').nextTick;
343
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
344
- } & Readonly<{}> & Omit<{} & (Readonly<({
345
- modelValue?: boolean;
346
- } & {
347
- role?: import('@knime/kds-components').KdsPopoverRole;
348
- popoverType?: import('@knime/kds-components').KdsPopoverType;
349
- fullWidth?: boolean;
350
- maxInlineSize?: string;
351
- stretchInline?: boolean;
352
- content?: string;
353
- } & {
354
- placement?: Exclude<import('@knime/kds-components').KdsPopoverPlacement, "custom">;
355
- customPlacementPosition?: never;
356
- }) | ({
357
- modelValue?: boolean;
358
- } & {
359
- role?: import('@knime/kds-components').KdsPopoverRole;
360
- popoverType?: import('@knime/kds-components').KdsPopoverType;
361
- fullWidth?: boolean;
362
- maxInlineSize?: string;
363
- stretchInline?: boolean;
364
- content?: string;
365
- } & {
366
- placement: "custom";
367
- customPlacementPosition: {
368
- x: number;
369
- y: number;
370
- };
371
- })> & Readonly<{
372
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
373
- }>), "anchorStyle" | "popoverId"> & {
374
- anchorStyle: Record<string, string>;
375
- popoverId: string;
376
- } & {} & import('vue').ComponentCustomProperties & {} & {
377
- $slots: Readonly<{
378
- default(): unknown;
379
- }> & {
380
- default(): unknown;
381
- };
382
- }) | null;
383
- listContainerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@knime/kds-components').KdsListContainerProps> & Readonly<{
384
- onItemClick?: ((id?: string | undefined) => any) | undefined;
385
- }>, {
386
- handleKeydown: (event: KeyboardEvent) => void;
387
- handleFocus: () => void;
388
- handleBlur: () => void;
389
- activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
390
- focus: () => void;
391
- scrollSelectedIntoView: () => void;
392
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
393
- itemClick: (id?: string | undefined) => any;
394
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
395
- containerEl: HTMLDivElement;
396
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
397
- P: {};
398
- B: {};
399
- D: {};
400
- C: {};
401
- M: {};
402
- Defaults: {};
403
- }, Readonly<import('@knime/kds-components').KdsListContainerProps> & Readonly<{
404
- onItemClick?: ((id?: string | undefined) => any) | undefined;
405
- }>, {
406
- handleKeydown: (event: KeyboardEvent) => void;
407
- handleFocus: () => void;
408
- handleBlur: () => void;
409
- activeDescendant: Readonly<import('vue').Ref<string | undefined>>;
410
- focus: () => void;
411
- scrollSelectedIntoView: () => void;
412
- }, {}, {}, {}, {}> | null;
413
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
414
- P: {};
415
- B: {};
416
- D: {};
417
- C: {};
418
- M: {};
419
- Defaults: {};
420
- }, {} & (Readonly<({
421
- modelValue?: string;
422
- } & {
423
- description?: string;
424
- } & {
425
- label: string;
426
- ariaLabel?: never;
427
- } & {
428
- id?: string;
429
- } & {
430
- error?: boolean | undefined;
431
- subText?: string | undefined;
432
- validating?: boolean | undefined;
433
- preserveSubTextSpace?: boolean | undefined;
434
- } & {
435
- placeholder?: string;
436
- disabled?: boolean;
437
- autocomplete?: string;
438
- } & {
439
- suggestions?: string[];
440
- suggestionsHeadline?: string;
441
- }) | ({
442
- modelValue?: string;
443
- } & {
444
- description?: string;
445
- } & {
446
- label?: never;
447
- ariaLabel: string;
448
- } & {
449
- id?: string;
450
- } & {
451
- error?: boolean | undefined;
452
- subText?: string | undefined;
453
- validating?: boolean | undefined;
454
- preserveSubTextSpace?: boolean | undefined;
455
- } & {
456
- placeholder?: string;
457
- disabled?: boolean;
458
- autocomplete?: string;
459
- } & {
460
- suggestions?: string[];
461
- suggestionsHeadline?: string;
462
- })> & Readonly<{
463
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
464
- }>), {
465
- focus: (options?: FocusOptions) => void;
466
- }, {}, {}, {}, {}> | null;
467
- }, any>;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: typeof __VLS_export;
468
19
  export default _default;
469
20
  //# sourceMappingURL=KdsCreateLinkModal.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KdsCreateLinkModal.vue.d.ts","sourceRoot":"","sources":["../../../src/toolbar/KdsCreateLinkModal.vue"],"names":[],"mappings":"AA2JA,OAAO,EAAE,KAAK,GAAG,EAAY,QAAQ,EAAc,MAAM,KAAK,CAAC;AAI/D,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAClB,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACjB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACvB,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACrB,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,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CAAC,CAAC;IACjB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACvB,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACrB,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACxC,CAAC;AAiSF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -9,38 +9,35 @@ type Props = {
9
9
  };
10
10
  linkToolOptions: KdsLinkToolOptions;
11
11
  };
12
- declare function __VLS_template(): {
13
- attrs: Partial<{}>;
14
- slots: {
15
- default?(_: {
16
- tools: EditorTools;
17
- }): any;
18
- linkModal?(_: {
19
- linkTool: {
20
- onLinkToolClick: () => void;
21
- props: {
22
- url: import('vue').Ref<string, string>;
23
- text: import('vue').Ref<string, string>;
24
- isActive: import('vue').Ref<boolean, boolean>;
25
- isEdit: import('vue').ComputedRef<boolean>;
26
- urlValidator: (url: string) => boolean;
27
- };
28
- events: {
29
- addLink: (text: string, urlText: string) => void;
30
- removeLink: () => void;
31
- cancelAddLink: () => void;
32
- };
33
- } | null;
34
- }): any;
35
- };
36
- refs: {};
37
- rootEl: any;
12
+ declare var __VLS_1: {
13
+ tools: EditorTools;
14
+ }, __VLS_3: {
15
+ linkTool: {
16
+ onLinkToolClick: () => void;
17
+ props: {
18
+ url: import('vue').Ref<string, string>;
19
+ text: import('vue').Ref<string, string>;
20
+ isActive: import('vue').Ref<boolean, boolean>;
21
+ isEdit: import('vue').ComputedRef<boolean>;
22
+ urlValidator: (url: string) => boolean;
23
+ };
24
+ events: {
25
+ addLink: (text: string, urlText: string) => void;
26
+ removeLink: () => void;
27
+ cancelAddLink: () => void;
28
+ };
29
+ } | null;
30
+ };
31
+ type __VLS_Slots = {} & {
32
+ default?: (props: typeof __VLS_1) => any;
33
+ } & {
34
+ linkModal?: (props: typeof __VLS_3) => any;
38
35
  };
39
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
40
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ declare const __VLS_base: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
+ declare const _default: typeof __VLS_export;
42
39
  export default _default;
43
- type __VLS_WithTemplateSlots<T, S> = T & {
40
+ type __VLS_WithSlots<T, S> = T & {
44
41
  new (): {
45
42
  $slots: S;
46
43
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RichTextEditorBaseToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/toolbar/RichTextEditorBaseToolbar.vue"],"names":[],"mappings":"AAgNA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG/D,OAAO,KAAK,EAAkB,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3D,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,uBAAuB,GAAG;QAAE,GAAG,EAAE,IAAI,CAAA;KAAE,CAAC;IACxD,eAAe,EAAE,kBAAkB,CAAC;CACrC,CAAC;AA8LF,iBAAS,cAAc;WAyBT,OAAO,IAA6B;;;;YAXrB,GAAG;;;;;;;;;;;;;;;;;YACD,GAAG;;;;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wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -6,6 +6,7 @@ type Props = {
6
6
  tools: EditorTools;
7
7
  hotkeyFormatter: (hotkey: Array<Hotkey>) => string;
8
8
  };
9
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
10
11
  export default _default;
11
12
  //# sourceMappingURL=RichTextEditorToolbar.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RichTextEditorToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/toolbar/RichTextEditorToolbar.vue"],"names":[],"mappings":"AAoHA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAO5C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,KAAK,EAGV,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,WAAW,CAAC;IACnB,eAAe,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC;CACpD,CAAC;;AAoKF,wBAOG"}
1
+ {"version":3,"file":"RichTextEditorToolbar.vue.d.ts","sourceRoot":"","sources":["../../../src/toolbar/RichTextEditorToolbar.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAO5C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAE3C,OAAO,KAAK,EAGV,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,WAAW,CAAC;IACnB,eAAe,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC;CACpD,CAAC;AAkKF,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-rich-text-editor",
3
- "version": "2.3.0",
3
+ "version": "2.5.0",
4
4
  "description": "Package containing the RichTextEditor component which follows the KNIME Design System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,8 +43,8 @@
43
43
  "@tiptap/pm": "^3.27.1",
44
44
  "@tiptap/starter-kit": "^3.27.1",
45
45
  "@tiptap/vue-3": "^3.27.1",
46
- "@knime/kds-components": "^2.3.0",
47
- "@knime/kds-styles": "^2.3.0",
46
+ "@knime/kds-components": "^2.5.0",
47
+ "@knime/kds-styles": "^2.5.0",
48
48
  "@knime/utils": "^1.12.1"
49
49
  },
50
50
  "devDependencies": {
@@ -54,8 +54,8 @@
54
54
  "@vue/tsconfig": "^0.9.1",
55
55
  "storybook": "^10.4.6",
56
56
  "ts-morph": "^28.0.0",
57
- "vite": "^7.3.2",
58
- "vite-plugin-dts": "^4.5.4",
57
+ "vite": "^8.1.3",
58
+ "vite-plugin-dts": "^5.0.3",
59
59
  "vite-plugin-lib-inject-css": "^2.2.2",
60
60
  "vite-svg-loader": "^5.1.1",
61
61
  "vue": "3.5.39",