@aitronos/freddy-plugins 0.1.38 → 0.1.39

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.
package/dist/index.d.ts CHANGED
@@ -131,6 +131,34 @@ export declare const calculatePercentage: (partialValue: number, totalValue: num
131
131
  */
132
132
  export declare function cloneDeepSafe<T>(value: T): T;
133
133
 
134
+ export declare const ConfirmationModal: DefineComponent<ExtractPropTypes< {
135
+ title: {
136
+ type: StringConstructor;
137
+ required: true;
138
+ };
139
+ description: {
140
+ type: StringConstructor;
141
+ default: string;
142
+ };
143
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
144
+ close: (...args: any[]) => void;
145
+ confirmDeletion: (...args: any[]) => void;
146
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
147
+ title: {
148
+ type: StringConstructor;
149
+ required: true;
150
+ };
151
+ description: {
152
+ type: StringConstructor;
153
+ default: string;
154
+ };
155
+ }>> & Readonly<{
156
+ onClose?: ((...args: any[]) => any) | undefined;
157
+ onConfirmDeletion?: ((...args: any[]) => any) | undefined;
158
+ }>, {
159
+ description: string;
160
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
161
+
134
162
  /**
135
163
  * Copies the provided text to the clipboard and shows a toast notification.
136
164
  * @param textToCopy - The text to copy to the clipboard.
@@ -167,6 +195,34 @@ export declare function deepEqual<T>(a: T, b: T): boolean;
167
195
 
168
196
  export declare const defaultImageSrc = "https://img.freepik.com/premium-vector/default-image-icon-vector-missing-picture-page-website-design-mobile-app-no-photo-available_87543-11093.jpg";
169
197
 
198
+ export declare const DeleteConfirmationModal: DefineComponent<ExtractPropTypes< {
199
+ title: {
200
+ type: StringConstructor;
201
+ required: true;
202
+ };
203
+ description: {
204
+ type: StringConstructor;
205
+ default: string;
206
+ };
207
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
208
+ close: (...args: any[]) => void;
209
+ confirmDeletion: (...args: any[]) => void;
210
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
211
+ title: {
212
+ type: StringConstructor;
213
+ required: true;
214
+ };
215
+ description: {
216
+ type: StringConstructor;
217
+ default: string;
218
+ };
219
+ }>> & Readonly<{
220
+ onClose?: ((...args: any[]) => any) | undefined;
221
+ onConfirmDeletion?: ((...args: any[]) => any) | undefined;
222
+ }>, {
223
+ description: string;
224
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
225
+
170
226
  /**
171
227
  * Formats a file size in bytes into a human-readable string.
172
228
  * @param bytes - The file size in bytes.