dolphin-components 2.2.12 → 2.2.13
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/dolphin-components.cjs.js +3278 -3233
- package/dist/dolphin-components.css +1 -1
- package/dist/dolphin-components.es.js +17011 -16467
- package/dist/dolphin-components.umd.js +3282 -3237
- package/dist/index.d.ts +28 -5
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ title: ModalTitle_2[];
|
|
|
35
35
|
actions: ModalAction[];
|
|
36
36
|
width: string;
|
|
37
37
|
show: boolean;
|
|
38
|
+
showClose: boolean;
|
|
38
39
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
39
40
|
dynamicDiv: HTMLDivElement;
|
|
40
41
|
}, any>;
|
|
@@ -125,6 +126,7 @@ export declare interface ContentProps {
|
|
|
125
126
|
export declare interface ContentTitle {
|
|
126
127
|
name: string;
|
|
127
128
|
link?: string;
|
|
129
|
+
count?: number;
|
|
128
130
|
}
|
|
129
131
|
|
|
130
132
|
export declare const createShortCutKey: (keyStructure: string, callback: (e: KeyboardEvent) => void) => {
|
|
@@ -258,9 +260,10 @@ export declare interface ModalAction {
|
|
|
258
260
|
|
|
259
261
|
export declare interface ModalProps {
|
|
260
262
|
title: ModalTitle[];
|
|
261
|
-
actions
|
|
263
|
+
actions?: ModalAction[];
|
|
262
264
|
show: boolean;
|
|
263
265
|
width?: string;
|
|
266
|
+
showClose?: boolean;
|
|
264
267
|
}
|
|
265
268
|
|
|
266
269
|
export declare interface ModalTitle {
|
|
@@ -288,7 +291,7 @@ export declare const Switch: DefineComponent<SwitchProps, {}, {}, {}, {}, Compon
|
|
|
288
291
|
modelValue: boolean;
|
|
289
292
|
background: string;
|
|
290
293
|
disable: boolean;
|
|
291
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
294
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
292
295
|
|
|
293
296
|
export declare interface SwitchProps {
|
|
294
297
|
modelValue: boolean;
|
|
@@ -296,7 +299,9 @@ export declare interface SwitchProps {
|
|
|
296
299
|
disable?: boolean;
|
|
297
300
|
}
|
|
298
301
|
|
|
299
|
-
export declare const Tabulator: DefineComponent<TabulatorProps, {
|
|
302
|
+
export declare const Tabulator: DefineComponent<TabulatorProps, {
|
|
303
|
+
reInitializeTabulator: () => void;
|
|
304
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
300
305
|
[x: string]: never;
|
|
301
306
|
}, string, PublicProps, Readonly<TabulatorProps> & Readonly<{
|
|
302
307
|
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
@@ -344,7 +349,7 @@ export declare interface TabulatorHeader {
|
|
|
344
349
|
headerSort?: boolean;
|
|
345
350
|
formatter?: (cell: CellComponent) => string;
|
|
346
351
|
cellClick?: (e: UIEvent, cell: CellComponent) => void;
|
|
347
|
-
sorter?: ColumnDefinition[
|
|
352
|
+
sorter?: ColumnDefinition["sorter"];
|
|
348
353
|
}
|
|
349
354
|
|
|
350
355
|
export declare interface TabulatorModalSettings {
|
|
@@ -369,7 +374,7 @@ export declare interface TabulatorProps {
|
|
|
369
374
|
heightOffset?: number;
|
|
370
375
|
actionMode?: "frontend" | "api";
|
|
371
376
|
showOptions?: boolean;
|
|
372
|
-
paginationType?:
|
|
377
|
+
paginationType?: "local" | "remote";
|
|
373
378
|
apiEndpoint?: string;
|
|
374
379
|
apiInstance?: AxiosInstance;
|
|
375
380
|
queryParams?: Record<string, any>;
|
|
@@ -436,6 +441,24 @@ export declare interface TowserTitle {
|
|
|
436
441
|
link?: string;
|
|
437
442
|
}
|
|
438
443
|
|
|
444
|
+
export declare const UploadImage: DefineComponent<UploadImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
445
|
+
[x: string]: never;
|
|
446
|
+
}, string, PublicProps, Readonly<UploadImageProps> & Readonly<{
|
|
447
|
+
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
448
|
+
}>, {
|
|
449
|
+
show: boolean;
|
|
450
|
+
uploadSize: number;
|
|
451
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
452
|
+
fileInput: HTMLInputElement;
|
|
453
|
+
cropperContainer: HTMLDivElement;
|
|
454
|
+
cropperImage: HTMLImageElement;
|
|
455
|
+
}, any>;
|
|
456
|
+
|
|
457
|
+
export declare interface UploadImageProps {
|
|
458
|
+
show: boolean;
|
|
459
|
+
uploadSize: number;
|
|
460
|
+
}
|
|
461
|
+
|
|
439
462
|
export declare class WebSocketWrapper {
|
|
440
463
|
private socket;
|
|
441
464
|
private url;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dolphin-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.13",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
"preview": "vite preview"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@tailwindcss/vite": "^4.1.
|
|
31
|
+
"@tailwindcss/vite": "^4.1.10",
|
|
32
32
|
"@types/tabulator-tables": "^6.2.6",
|
|
33
|
-
"axios": "^1.
|
|
34
|
-
"lucide-vue-next": "^0.
|
|
33
|
+
"axios": "^1.10.0",
|
|
34
|
+
"lucide-vue-next": "^0.522.0",
|
|
35
35
|
"moment": "^2.30.1",
|
|
36
36
|
"nepali-datepicker-vue": "^1.0.7",
|
|
37
|
-
"sweetalert2": "^11.22.
|
|
37
|
+
"sweetalert2": "^11.22.1",
|
|
38
38
|
"tabulator-tables": "^6.3.1",
|
|
39
|
-
"tailwindcss": "^4.1.
|
|
39
|
+
"tailwindcss": "^4.1.10",
|
|
40
40
|
"utility-types": "^3.11.0",
|
|
41
|
-
"vue": "^3.5.
|
|
41
|
+
"vue": "^3.5.17",
|
|
42
42
|
"vue-datepicker-next": "^1.0.3",
|
|
43
43
|
"vue-multiselect": "^3.2.0"
|
|
44
44
|
},
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"vue-router": "^4.5.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@types/node": "^
|
|
49
|
+
"@types/node": "^24.0.3",
|
|
50
50
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
51
51
|
"@vue/tsconfig": "^0.7.0",
|
|
52
52
|
"path": "^0.12.7",
|
|
53
|
-
"prettier": "3.
|
|
53
|
+
"prettier": "3.6.0",
|
|
54
54
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
55
55
|
"typescript": "~5.8.3",
|
|
56
56
|
"vite": "^6.3.5",
|