@v1nt1248/3nclient-lib 0.2.16 → 0.2.18
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/components/index.d.ts +2 -2
- package/dist/ui3n-utils.js +2747 -1520
- package/dist/utils/files/file-to-uint8array.d.ts +1 -0
- package/dist/utils/files/is-file-image.d.ts +4 -1
- package/dist/utils/files/is-file-video.d.ts +4 -1
- package/dist/utils/files/mime-types.d.ts +1 -0
- package/dist/utils/for-we3n.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/index.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function fileToUint8Array(file: File): Promise<Uint8Array | undefined | null>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const mimeTypes: Record<string, string>;
|
package/dist/utils/for-we3n.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare function getDeliveryErrors(progress: web3n.asmail.DeliveryProgress): Record<string, string>;
|
|
2
2
|
export declare function transformFileToWeb3NFile(file: File): Promise<web3n.files.File | undefined>;
|
|
3
|
+
export declare function transformWeb3nFileToFile(file: web3n.files.File): Promise<File | null>;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export * from './files/blob-to-b64';
|
|
|
22
22
|
export * from './files/b64-to-blob';
|
|
23
23
|
export * from './files/uint8-to-b64';
|
|
24
24
|
export * from './files/resize-image';
|
|
25
|
+
export * from './files/file-to-uint8array';
|
|
25
26
|
export * from './files/create-video-thumbnail';
|
|
27
|
+
export * from './files/mime-types';
|
|
26
28
|
export { SQLiteOn3NStorage } from './sqlite-on-3nstorage';
|
|
27
29
|
export type { BindParams, Database, QueryExecResult } from './sqlite-on-3nstorage';
|
package/package.json
CHANGED
package/src/components/index.ts
CHANGED
|
@@ -35,6 +35,7 @@ import type {
|
|
|
35
35
|
Ui3nTableSlots,
|
|
36
36
|
Ui3nTableProps,
|
|
37
37
|
Ui3nTableEmits,
|
|
38
|
+
Ui3nTableExpose,
|
|
38
39
|
} from './ui3n-table/types';
|
|
39
40
|
import Ui3nDialog from './ui3n-dialog/ui3n-dialog.vue';
|
|
40
41
|
import type {
|
|
@@ -140,6 +141,7 @@ export {
|
|
|
140
141
|
Ui3nTableSlots,
|
|
141
142
|
Ui3nTableProps,
|
|
142
143
|
Ui3nTableEmits,
|
|
144
|
+
Ui3nTableExpose,
|
|
143
145
|
Ui3nDialog,
|
|
144
146
|
Ui3nDialogComponentProps,
|
|
145
147
|
Ui3nDialogComponentEmits,
|