@knime/scripting-editor 0.0.103 → 0.0.104

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,2 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
2
  export default _default;
@@ -58,22 +58,15 @@ export type InputOutputModel = {
58
58
  };
59
59
  export declare const INPUT_OUTPUT_DRAG_EVENT_ID = "input_output_drag_event";
60
60
  export declare const COLUMN_INSERTION_EVENT = "columnInsertion";
61
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
61
+ declare const _default: import('vue').DefineComponent<{
62
62
  inputOutputItem: InputOutputModel;
63
- }>, {
63
+ }, {
64
64
  toggleExpansion: () => void;
65
65
  setExpanded: (b: boolean) => void;
66
66
  isExpanded: () => any;
67
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
67
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
68
68
  inputOutputItem: InputOutputModel;
69
- }>>>, {}, {}>;
69
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
70
+ collapserRef: any;
71
+ }, any>;
70
72
  export default _default;
71
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
72
- type __VLS_TypePropsToOption<T> = {
73
- [K in keyof T]-?: {} extends Pick<T, K> ? {
74
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
75
- } : {
76
- type: import('vue').PropType<T[K]>;
77
- required: true;
78
- };
79
- };
@@ -1,36 +1,37 @@
1
1
  import { InputOutputModel } from './InputOutputItem.vue';
2
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
- inputOutputItems: InputOutputModel[];
4
- }>, {
5
- inputOutputItems: () => never[];
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- "drop-event-handler-created": (dropEventHandler: (payload: DragEvent) => void) => void;
8
- "input-output-item-insertion": (codeToInsert: string, requiredImport: string | undefined) => void;
9
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
10
- inputOutputItems: InputOutputModel[];
11
- }>, {
12
- inputOutputItems: () => never[];
13
- }>>> & {
2
+ type Props = {
3
+ inputOutputItems?: InputOutputModel[];
4
+ };
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ "drop-event-handler-created": (dropEventHandler: (payload: DragEvent) => void) => any;
7
+ "input-output-item-insertion": (codeToInsert: string, requiredImport: string | undefined) => any;
8
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
14
9
  "onDrop-event-handler-created"?: ((dropEventHandler: (payload: DragEvent) => void) => any) | undefined;
15
10
  "onInput-output-item-insertion"?: ((codeToInsert: string, requiredImport: string | undefined) => any) | undefined;
16
- }, {
11
+ }>, {
17
12
  inputOutputItems: InputOutputModel[];
18
- }, {}>;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
14
+ selectableItems: (import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
15
+ inputOutputItem: InputOutputModel;
16
+ }> & Readonly<{}>, {
17
+ toggleExpansion: () => void;
18
+ setExpanded: (b: boolean) => void;
19
+ isExpanded: () => any;
20
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
21
+ collapserRef: any;
22
+ }, any, import('vue').ComponentProvideOptions, {
23
+ P: {};
24
+ B: {};
25
+ D: {};
26
+ C: {};
27
+ M: {};
28
+ Defaults: {};
29
+ }, Readonly<{
30
+ inputOutputItem: InputOutputModel;
31
+ }> & Readonly<{}>, {
32
+ toggleExpansion: () => void;
33
+ setExpanded: (b: boolean) => void;
34
+ isExpanded: () => any;
35
+ }, {}, {}, {}, {}> | null)[];
36
+ }, HTMLDivElement>;
19
37
  export default _default;
20
- type __VLS_WithDefaults<P, D> = {
21
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
22
- default: D[K];
23
- }> : P[K];
24
- };
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToOption<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
- type __VLS_PrettifyLocal<T> = {
35
- [K in keyof T]: T[K];
36
- } & {};
@@ -3,22 +3,5 @@ interface Props {
3
3
  portIdx: number;
4
4
  viewIdx: number;
5
5
  }
6
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>>>, {}, {}>;
6
+ 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>;
7
7
  export default _default;
8
- type __VLS_WithDefaults<P, D> = {
9
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
10
- default: D[K];
11
- }> : P[K];
12
- };
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToOption<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
22
- type __VLS_PrettifyLocal<T> = {
23
- [K in keyof T]: T[K];
24
- } & {};
@@ -4,22 +4,5 @@ interface Props {
4
4
  portIdx: number;
5
5
  portViewConfigs: PortViewConfig[];
6
6
  }
7
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {}>>>, {}, {}>;
7
+ 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>;
8
8
  export default _default;
9
- type __VLS_WithDefaults<P, D> = {
10
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
11
- default: D[K];
12
- }> : P[K];
13
- };
14
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToOption<T> = {
16
- [K in keyof T]-?: {} extends Pick<T, K> ? {
17
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
- } : {
19
- type: import('vue').PropType<T[K]>;
20
- required: true;
21
- };
22
- };
23
- type __VLS_PrettifyLocal<T> = {
24
- [K in keyof T]: T[K];
25
- } & {};
@@ -7,31 +7,10 @@ interface Props {
7
7
  dropEventHandler?: (event: DragEvent) => void;
8
8
  modelOrView: "model" | "view";
9
9
  }
10
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
- toSettings: (settings: GenericNodeSettings) => GenericNodeSettings;
12
- dropEventHandler: () => void;
13
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
- toSettings: (settings: GenericNodeSettings) => GenericNodeSettings;
15
- dropEventHandler: () => void;
16
- }>>>, {
10
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
17
11
  toSettings: (settings: GenericNodeSettings) => GenericNodeSettings;
18
12
  dropEventHandler: (event: DragEvent) => void;
19
- }, {}>;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
14
+ editorRef: HTMLDivElement;
15
+ }, HTMLDivElement>;
20
16
  export default _default;
21
- type __VLS_WithDefaults<P, D> = {
22
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
23
- default: D[K];
24
- }> : P[K];
25
- };
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToOption<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
35
- type __VLS_PrettifyLocal<T> = {
36
- [K in keyof T]: T[K];
37
- } & {};
@@ -11,9 +11,11 @@ export type ConsoleHandler = {
11
11
  write: (text: ConsoleText) => void;
12
12
  clear: () => void;
13
13
  };
14
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- "console-created": (handler: ConsoleHandler) => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
14
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
15
+ "console-created": (handler: ConsoleHandler) => any;
16
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
17
17
  "onConsole-created"?: ((handler: ConsoleHandler) => any) | undefined;
18
- }, {}, {}>;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
19
+ termRef: HTMLDivElement;
20
+ }, HTMLDivElement>;
19
21
  export default _default;
@@ -1,6 +1,6 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
2
  "output-table-updated": (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onOutput-table-updated"?: ((...args: any[]) => any) | undefined;
5
- }, {}, {}>;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
6
  export default _default;
@@ -6,54 +6,34 @@ export type SlottedTab = {
6
6
  associatedControlsSlotName?: BottomPaneTabControlsSlotName;
7
7
  };
8
8
  type PropsType = {
9
- slottedTabs: SlottedTab[];
9
+ slottedTabs?: SlottedTab[];
10
10
  };
11
- declare let __VLS_typeProps: PropsType;
11
+ type __VLS_Props = PropsType;
12
12
  type __VLS_PublicProps = {
13
13
  modelValue?: string;
14
- } & typeof __VLS_typeProps;
14
+ } & __VLS_Props;
15
15
  declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
16
17
  slots: Partial<Record<`bottomPaneControlsTabSlot:${string}`, (_: {}) => any>> & Partial<Record<`bottomPaneTabSlot:${string}`, (_: {
17
18
  grabFocus: () => void;
18
19
  }) => any>> & {
19
- "status-label"?(_: {}): any;
20
+ 'status-label'?(_: {}): any;
20
21
  };
21
22
  refs: {};
22
- attrs: Partial<{}>;
23
+ rootEl: HTMLDivElement;
23
24
  };
24
25
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
26
- slottedTabs: () => SlottedTab[];
27
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
- "update:modelValue": (modelValue: string) => void;
29
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
30
- slottedTabs: () => SlottedTab[];
31
- }>>> & {
32
- "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
33
- }, {
26
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
+ "update:modelValue": (value: string) => any;
28
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
30
+ }>, {
34
31
  slottedTabs: SlottedTab[];
35
- }, {}>;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
36
33
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
37
34
  export default _default;
38
- type __VLS_WithDefaults<P, D> = {
39
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
40
- default: D[K];
41
- }> : P[K];
42
- };
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToOption<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: import('vue').PropType<T[K]>;
49
- required: true;
50
- };
51
- };
52
35
  type __VLS_WithTemplateSlots<T, S> = T & {
53
36
  new (): {
54
37
  $slots: S;
55
38
  };
56
39
  };
57
- type __VLS_PrettifyLocal<T> = {
58
- [K in keyof T]: T[K];
59
- } & {};
@@ -3,19 +3,20 @@ export interface SettingsMenuItem extends MenuItem {
3
3
  showSettingsPage?: boolean;
4
4
  }
5
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
6
7
  slots: {
7
- "settings-title"?(_: {}): any;
8
- "settings-content"?(_: {}): any;
8
+ 'settings-title'?(_: {}): any;
9
+ 'settings-content'?(_: {}): any;
9
10
  };
10
11
  refs: {};
11
- attrs: Partial<{}>;
12
+ rootEl: any;
12
13
  };
13
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- "close-settings-page": () => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
15
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ "close-settings-page": () => any;
17
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
17
18
  "onClose-settings-page"?: (() => any) | undefined;
18
- }, {}, {}>;
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
20
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
21
  export default _default;
21
22
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,20 +2,211 @@ import { PaneSizes } from '../utils/paneSizes';
2
2
  /**
3
3
  * Component that includes the button that pops up the AI, and also holds the AI popup container.
4
4
  */
5
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
5
+ declare const _default: import('vue').DefineComponent<{
6
6
  currentPaneSizes: PaneSizes;
7
7
  showButtonText: boolean;
8
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
9
9
  currentPaneSizes: PaneSizes;
10
10
  showButtonText: boolean;
11
- }>>>, {}, {}>;
11
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
12
+ aiBarPopupRef: HTMLDivElement;
13
+ aiButtonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
14
+ withBorder: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ onDark: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ primary: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ compact: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ withWarning: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ disabled: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ }>> & Readonly<{}>, {}, {}, {
39
+ classes(): (string | {
40
+ primary: boolean;
41
+ "with-border"?: undefined;
42
+ "with-warning"?: undefined;
43
+ "on-dark"?: undefined;
44
+ compact?: undefined;
45
+ } | {
46
+ "with-border": boolean;
47
+ primary?: undefined;
48
+ "with-warning"?: undefined;
49
+ "on-dark"?: undefined;
50
+ compact?: undefined;
51
+ } | {
52
+ "with-warning": boolean;
53
+ primary?: undefined;
54
+ "with-border"?: undefined;
55
+ "on-dark"?: undefined;
56
+ compact?: undefined;
57
+ } | {
58
+ "on-dark": boolean;
59
+ primary?: undefined;
60
+ "with-border"?: undefined;
61
+ "with-warning"?: undefined;
62
+ compact?: undefined;
63
+ } | {
64
+ compact: boolean;
65
+ primary?: undefined;
66
+ "with-border"?: undefined;
67
+ "with-warning"?: undefined;
68
+ "on-dark"?: undefined;
69
+ })[];
70
+ }, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
71
+ withBorder: boolean;
72
+ compact: boolean;
73
+ disabled: boolean;
74
+ onDark: boolean;
75
+ primary: boolean;
76
+ withWarning: boolean;
77
+ }, true, {}, {}, {
78
+ BaseButton: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
79
+ href: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ to: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ preventDefault: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ disabled: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ }>, {}, {}, {
96
+ component(): import('vue').Component<any, any, any, import('vue').ComputedOptions, import('vue').MethodOptions, {}, any> | "button" | "a";
97
+ dynamicProps(): {
98
+ to: string;
99
+ event: string | never[];
100
+ href?: undefined;
101
+ } | {
102
+ href: string;
103
+ to?: undefined;
104
+ event?: undefined;
105
+ } | {
106
+ to?: undefined;
107
+ event?: undefined;
108
+ href?: undefined;
109
+ };
110
+ }, {
111
+ onClick(e: MouseEvent): void;
112
+ focus(): void;
113
+ getComponent(): HTMLButtonElement;
114
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
115
+ href: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ to: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ preventDefault: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ };
127
+ disabled: {
128
+ type: BooleanConstructor;
129
+ default: boolean;
130
+ };
131
+ }>> & Readonly<{
132
+ onClick?: ((...args: any[]) => any) | undefined;
133
+ }>, {
134
+ to: string;
135
+ href: string;
136
+ preventDefault: boolean;
137
+ disabled: boolean;
138
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
139
+ } & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
140
+ P: {};
141
+ B: {};
142
+ D: {};
143
+ C: {};
144
+ M: {};
145
+ Defaults: {};
146
+ }, Readonly<import('vue').ExtractPropTypes<{
147
+ withBorder: {
148
+ type: BooleanConstructor;
149
+ default: boolean;
150
+ };
151
+ onDark: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ primary: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ compact: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ };
163
+ withWarning: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ disabled: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ };
171
+ }>> & Readonly<{}>, {}, {}, {
172
+ classes(): (string | {
173
+ primary: boolean;
174
+ "with-border"?: undefined;
175
+ "with-warning"?: undefined;
176
+ "on-dark"?: undefined;
177
+ compact?: undefined;
178
+ } | {
179
+ "with-border": boolean;
180
+ primary?: undefined;
181
+ "with-warning"?: undefined;
182
+ "on-dark"?: undefined;
183
+ compact?: undefined;
184
+ } | {
185
+ "with-warning": boolean;
186
+ primary?: undefined;
187
+ "with-border"?: undefined;
188
+ "on-dark"?: undefined;
189
+ compact?: undefined;
190
+ } | {
191
+ "on-dark": boolean;
192
+ primary?: undefined;
193
+ "with-border"?: undefined;
194
+ "with-warning"?: undefined;
195
+ compact?: undefined;
196
+ } | {
197
+ compact: boolean;
198
+ primary?: undefined;
199
+ "with-border"?: undefined;
200
+ "with-warning"?: undefined;
201
+ "on-dark"?: undefined;
202
+ })[];
203
+ }, {}, {
204
+ withBorder: boolean;
205
+ compact: boolean;
206
+ disabled: boolean;
207
+ onDark: boolean;
208
+ primary: boolean;
209
+ withWarning: boolean;
210
+ }> | null;
211
+ }, HTMLDivElement>;
12
212
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToOption<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -1,10 +1,6 @@
1
- /**
2
- * Component that contains the KAi disclaimer text and a button to accept it.
3
- * Saves quite a lot of lines of code in the AiPopupContent!
4
- */
5
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
2
  "accept-disclaimer": (...args: any[]) => void;
7
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
8
4
  "onAccept-disclaimer"?: ((...args: any[]) => any) | undefined;
9
- }, {}, {}>;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
10
6
  export default _default;
@@ -4,7 +4,11 @@
4
4
  */
5
5
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
6
  "request-close": (...args: any[]) => void;
7
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
7
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
8
8
  "onRequest-close"?: ((...args: any[]) => any) | undefined;
9
- }, {}, {}>;
9
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
10
+ textarea: HTMLTextAreaElement;
11
+ sendButton: any;
12
+ abortButton: any;
13
+ }, HTMLDivElement>;
10
14
  export default _default;
@@ -1,6 +1,8 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- "accept-suggestion": (acceptedCode: string) => void;
3
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
2
+ "accept-suggestion": (acceptedCode: string) => any;
3
+ }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
4
  "onAccept-suggestion"?: ((acceptedCode: string) => any) | undefined;
5
- }, {}, {}>;
5
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
6
+ diffEditorContainer: HTMLDivElement;
7
+ }, HTMLDivElement>;
6
8
  export default _default;
@@ -3,5 +3,5 @@
3
3
  * painting on when the document is navigated using key presses, and off again
4
4
  * when the document is clicked.
5
5
  */
6
- declare const useShouldFocusBePainted: () => import('vue').Ref<boolean>;
6
+ declare const useShouldFocusBePainted: () => import('vue').Ref<boolean, boolean>;
7
7
  export default useShouldFocusBePainted;
@@ -7,4 +7,4 @@
7
7
  * The initial value of `displayMode` is dynamically set based on the user's UI configuration.
8
8
  * It automatically updates whenever the display mode changes within the `DialogService`.
9
9
  */
10
- export declare const displayMode: import('vue').Ref<"small" | "large">;
10
+ export declare const displayMode: import('vue').Ref<"small" | "large", "small" | "large">;
@@ -68,11 +68,11 @@ export type UseDiffEditorReturn = {
68
68
  };
69
69
  export declare const useCodeEditor: (params: UseCodeEditorParams) => UseCodeEditorReturn;
70
70
  export declare const useDiffEditor: (params: UseDiffEditorParams) => UseDiffEditorReturn;
71
- export declare const useMainCodeEditorStore: () => import('vue').ShallowRef<UseCodeEditorReturn | undefined>;
71
+ export declare const useMainCodeEditorStore: () => import('vue').ShallowRef<UseCodeEditorReturn | undefined, UseCodeEditorReturn | undefined>;
72
72
  export declare const useMainCodeEditor: (params: UseCodeEditorParams) => UseCodeEditorReturn;
73
73
  declare const _default: {
74
74
  useCodeEditor: (params: UseCodeEditorParams) => UseCodeEditorReturn;
75
75
  useDiffEditor: (params: UseDiffEditorParams) => UseDiffEditorReturn;
76
- useMainCodeEditorStore: () => import('vue').ShallowRef<UseCodeEditorReturn | undefined>;
76
+ useMainCodeEditorStore: () => import('vue').ShallowRef<UseCodeEditorReturn | undefined, UseCodeEditorReturn | undefined>;
77
77
  };
78
78
  export default _default;
@@ -14,7 +14,7 @@ export type PromptResponseStore = {
14
14
  };
15
15
  export declare const usePromptResponseStore: () => PromptResponseStore;
16
16
  export declare const clearPromptResponseStore: () => void;
17
- export declare const showDisclaimer: Ref<boolean>;
18
- export declare const activeEditorStore: import('vue').ShallowRef<UseCodeEditorReturn | undefined>;
17
+ export declare const showDisclaimer: Ref<boolean, boolean>;
18
+ export declare const activeEditorStore: import('vue').ShallowRef<UseCodeEditorReturn | undefined, UseCodeEditorReturn | undefined>;
19
19
  export declare const setActiveEditorStoreForAi: (store: UseCodeEditorReturn | undefined) => void;
20
20
  export declare const currentInputOutputItems: Ref<InputOutputModel[]>;