@aitronos/freddy-plugins 0.4.59 → 0.4.61

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.
@@ -28,7 +28,197 @@ interface Props {
28
28
  newText?: string;
29
29
  tagsOnly?: boolean;
30
30
  }
31
- declare const _default: import('vue').DefineComponent<Props, {
31
+ declare function __VLS_template(): {
32
+ attrs: Partial<{}>;
33
+ slots: {
34
+ tooltip?(_: {}): any;
35
+ };
36
+ refs: {
37
+ textareaRef: HTMLTextAreaElement;
38
+ aiModalRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
39
+ isVisible: {
40
+ type: BooleanConstructor;
41
+ required: true;
42
+ };
43
+ title: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ description: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ initialContent: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ openaiApiKey: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ openaiModel: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ openaiOrganization: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ }>> & Readonly<{
68
+ onCancel?: ((...args: any[]) => any) | undefined;
69
+ onClose?: ((...args: any[]) => any) | undefined;
70
+ onSave?: ((...args: any[]) => any) | undefined;
71
+ onAskAI?: ((...args: any[]) => any) | undefined;
72
+ onToggleAI?: ((...args: any[]) => any) | undefined;
73
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
74
+ cancel: (...args: any[]) => void;
75
+ close: (...args: any[]) => void;
76
+ save: (...args: any[]) => void;
77
+ askAI: (...args: any[]) => void;
78
+ toggleAI: (...args: any[]) => void;
79
+ }, import('vue').PublicProps, {
80
+ title: string;
81
+ description: string;
82
+ openaiApiKey: string;
83
+ initialContent: string;
84
+ openaiModel: string;
85
+ openaiOrganization: string;
86
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
87
+ chatRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
88
+ placeholder?: string;
89
+ messages?: import('..').IChatMessage[];
90
+ enableAI?: boolean;
91
+ openaiApiKey?: string;
92
+ textBoxContent?: string;
93
+ }> & Readonly<{
94
+ onSend?: ((message: string) => any) | undefined;
95
+ onAcceptChanges?: ((message: import('..').IChatMessage) => any) | undefined;
96
+ onDenyChanges?: ((message: import('..').IChatMessage) => any) | undefined;
97
+ onTextReplacement?: ((data: {
98
+ original?: string;
99
+ improved: string;
100
+ stats?: any;
101
+ }) => any) | undefined;
102
+ onTextCompletion?: ((data: {
103
+ original?: string;
104
+ completion: string;
105
+ }) => any) | undefined;
106
+ }>, {
107
+ addAIResponse: (content: string, changes?: {
108
+ title?: string;
109
+ description: string;
110
+ added: number;
111
+ removed: number;
112
+ data?: any;
113
+ }) => void;
114
+ addAIResponseFromApi: (apiResponse: any) => void;
115
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
116
+ send: (message: string) => any;
117
+ acceptChanges: (message: import('..').IChatMessage) => any;
118
+ denyChanges: (message: import('..').IChatMessage) => any;
119
+ textReplacement: (data: {
120
+ original?: string;
121
+ improved: string;
122
+ stats?: any;
123
+ }) => any;
124
+ textCompletion: (data: {
125
+ original?: string;
126
+ completion: string;
127
+ }) => any;
128
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
129
+ messagesContainer: HTMLDivElement;
130
+ inputRef: HTMLTextAreaElement;
131
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
132
+ P: {};
133
+ B: {};
134
+ D: {};
135
+ C: {};
136
+ M: {};
137
+ Defaults: {};
138
+ }, Readonly<{
139
+ placeholder?: string;
140
+ messages?: import('..').IChatMessage[];
141
+ enableAI?: boolean;
142
+ openaiApiKey?: string;
143
+ textBoxContent?: string;
144
+ }> & Readonly<{
145
+ onSend?: ((message: string) => any) | undefined;
146
+ onAcceptChanges?: ((message: import('..').IChatMessage) => any) | undefined;
147
+ onDenyChanges?: ((message: import('..').IChatMessage) => any) | undefined;
148
+ onTextReplacement?: ((data: {
149
+ original?: string;
150
+ improved: string;
151
+ stats?: any;
152
+ }) => any) | undefined;
153
+ onTextCompletion?: ((data: {
154
+ original?: string;
155
+ completion: string;
156
+ }) => any) | undefined;
157
+ }>, {
158
+ addAIResponse: (content: string, changes?: {
159
+ title?: string;
160
+ description: string;
161
+ added: number;
162
+ removed: number;
163
+ data?: any;
164
+ }) => void;
165
+ addAIResponseFromApi: (apiResponse: any) => void;
166
+ }, {}, {}, {}, {}> | null;
167
+ }, any, import('vue').ComponentProvideOptions, {
168
+ P: {};
169
+ B: {};
170
+ D: {};
171
+ C: {};
172
+ M: {};
173
+ Defaults: {};
174
+ }, Readonly<import('vue').ExtractPropTypes<{
175
+ isVisible: {
176
+ type: BooleanConstructor;
177
+ required: true;
178
+ };
179
+ title: {
180
+ type: StringConstructor;
181
+ default: string;
182
+ };
183
+ description: {
184
+ type: StringConstructor;
185
+ default: string;
186
+ };
187
+ initialContent: {
188
+ type: StringConstructor;
189
+ default: string;
190
+ };
191
+ openaiApiKey: {
192
+ type: StringConstructor;
193
+ default: string;
194
+ };
195
+ openaiModel: {
196
+ type: StringConstructor;
197
+ default: string;
198
+ };
199
+ openaiOrganization: {
200
+ type: StringConstructor;
201
+ default: string;
202
+ };
203
+ }>> & Readonly<{
204
+ onCancel?: ((...args: any[]) => any) | undefined;
205
+ onClose?: ((...args: any[]) => any) | undefined;
206
+ onSave?: ((...args: any[]) => any) | undefined;
207
+ onAskAI?: ((...args: any[]) => any) | undefined;
208
+ onToggleAI?: ((...args: any[]) => any) | undefined;
209
+ }>, {}, {}, {}, {}, {
210
+ title: string;
211
+ description: string;
212
+ openaiApiKey: string;
213
+ initialContent: string;
214
+ openaiModel: string;
215
+ openaiOrganization: string;
216
+ }> | null;
217
+ };
218
+ rootEl: HTMLDivElement;
219
+ };
220
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
221
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
32
222
  focus: () => void;
33
223
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
224
  blur: (event: FocusEvent) => any;
@@ -263,4 +453,10 @@ declare const _default: import('vue').DefineComponent<Props, {
263
453
  openaiOrganization: string;
264
454
  }> | null;
265
455
  }, HTMLDivElement>;
456
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
266
457
  export default _default;
458
+ type __VLS_WithTemplateSlots<T, S> = T & {
459
+ new (): {
460
+ $slots: S;
461
+ };
462
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
2
+ export default _default;
@@ -54,6 +54,7 @@ export { default as IconEdit } from './IconEdit.vue';
54
54
  export { default as IconEditLinePath } from './IconEditLinePath.vue';
55
55
  export { default as IconEllipse } from './IconEllipse.vue';
56
56
  export { default as IconExcelThumbnail } from './IconExcelThumbnail.vue';
57
+ export { default as IconExpand } from './IconExpand.vue';
57
58
  export { default as IconEye } from './IconEye.vue';
58
59
  export { default as IconFacebook } from './IconFacebook.vue';
59
60
  export { default as IconFigma } from './IconFigma.vue';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aitronos/freddy-plugins",
3
- "version": "0.4.59",
3
+ "version": "0.4.61",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",