@jsg-developer/vue-pack 0.0.3 → 0.0.4
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/{TabelData-BPjJ27Uj.js → TabelData-CbLGhrj4.js} +847 -800
- package/dist/TabelData-DG4yH_Qq.cjs +1 -0
- package/dist/init.cjs.js +1 -1
- package/dist/init.es.js +1 -1
- package/dist/jsgd-vue-pack.cjs.js +1 -1
- package/dist/jsgd-vue-pack.es.js +2 -2
- package/dist/plugin/vue.cjs.js +1 -1
- package/dist/plugin/vue.es.js +2 -2
- package/dist/quill.snow-BmRPvQLR.cjs +15 -0
- package/dist/{quill.snow-DiPGvD5E.js → quill.snow-mC12o3kU.js} +642 -641
- package/dist/types/components/Tabel/composables/useDisplayHelpers.d.ts +21 -0
- package/dist/vue-pack.css +1 -1
- package/package.json +1 -1
- package/dist/TabelData-B6yN5ZQs.cjs +0 -1
- package/dist/quill.snow-BF_lta84.cjs +0 -15
|
@@ -1,8 +1,29 @@
|
|
|
1
1
|
import { Item } from '../../../configs/types';
|
|
2
|
+
/**
|
|
3
|
+
* Memeriksa apakah nilai adalah URL gambar atau objek File gambar.
|
|
4
|
+
*/
|
|
2
5
|
export declare function isImage(value: any): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Memeriksa apakah nilai adalah URL file (non-gambar) atau objek File.
|
|
8
|
+
*/
|
|
9
|
+
export declare function isFile(value: any): boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Mendapatkan sumber URL yang valid untuk gambar, baik dari string maupun objek File.
|
|
12
|
+
*/
|
|
3
13
|
export declare function getImageSource(value: any): string;
|
|
14
|
+
/**
|
|
15
|
+
* Mendapatkan nama file dari URL atau objek File.
|
|
16
|
+
*/
|
|
17
|
+
export declare function getFileName(value: string | File): string;
|
|
18
|
+
/**
|
|
19
|
+
* Memeriksa apakah nilai adalah array yang berisi gambar.
|
|
20
|
+
*/
|
|
4
21
|
export declare function isImageArray(value: any): boolean;
|
|
5
22
|
export declare function isColorArray(value: any): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Memeriksa apakah nilai adalah array yang berisi file.
|
|
25
|
+
*/
|
|
26
|
+
export declare function isFileArray(value: any): boolean;
|
|
6
27
|
export declare function isColor(value: any): boolean;
|
|
7
28
|
export declare function isHtml(value: string): boolean;
|
|
8
29
|
export declare function displayItem(item: Item): Record<string, any>;
|