dolphin-components 2.2.8 → 2.2.10
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 +3254 -3234
- package/dist/dolphin-components.css +1 -1
- package/dist/dolphin-components.es.js +14907 -14755
- package/dist/dolphin-components.umd.js +3254 -3234
- package/dist/index.d.ts +12 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
2
3
|
import { CellComponent } from 'tabulator-tables';
|
|
3
4
|
import { ColumnDefinitionAlign } from 'tabulator-tables';
|
|
4
5
|
import { ComponentOptionsMixin } from 'vue';
|
|
@@ -142,6 +143,8 @@ declare interface CustomHTMLElement extends HTMLElement {
|
|
|
142
143
|
showTooltip: () => void;
|
|
143
144
|
hideTooltip: () => void;
|
|
144
145
|
clearShowTimeout: () => void;
|
|
146
|
+
createTooltip: () => void;
|
|
147
|
+
updateBinding: (binding: DirectiveBinding<TooltipBindingValue>) => void;
|
|
145
148
|
};
|
|
146
149
|
}
|
|
147
150
|
|
|
@@ -307,6 +310,9 @@ actionButtons: TabulatorAction_2[];
|
|
|
307
310
|
heightOffset: number;
|
|
308
311
|
actionMode: "frontend" | "api";
|
|
309
312
|
showOptions: boolean;
|
|
313
|
+
paginationType: "local" | "remote";
|
|
314
|
+
apiEndpoint: string;
|
|
315
|
+
queryParams: Record<string, any>;
|
|
310
316
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
311
317
|
|
|
312
318
|
export declare interface TabulatorAction {
|
|
@@ -361,6 +367,10 @@ export declare interface TabulatorProps {
|
|
|
361
367
|
heightOffset?: number;
|
|
362
368
|
actionMode?: "frontend" | "api";
|
|
363
369
|
showOptions?: boolean;
|
|
370
|
+
paginationType?: 'local' | 'remote';
|
|
371
|
+
apiEndpoint?: string;
|
|
372
|
+
apiInstance?: AxiosInstance;
|
|
373
|
+
queryParams?: Record<string, any>;
|
|
364
374
|
}
|
|
365
375
|
|
|
366
376
|
export declare const Toast: {
|
|
@@ -392,13 +402,14 @@ export declare interface ToggleProps {
|
|
|
392
402
|
|
|
393
403
|
export declare const Tooltip: {
|
|
394
404
|
mounted(el: CustomHTMLElement, binding: DirectiveBinding<TooltipBindingValue>): void;
|
|
405
|
+
updated(el: CustomHTMLElement, binding: DirectiveBinding<TooltipBindingValue>): void;
|
|
395
406
|
unmounted(el: CustomHTMLElement): void;
|
|
396
407
|
};
|
|
397
408
|
|
|
398
409
|
declare interface TooltipBindingValue {
|
|
399
410
|
content: string;
|
|
400
411
|
raw?: boolean;
|
|
401
|
-
preferredPosition?:
|
|
412
|
+
preferredPosition?: "top" | "bottom" | "left" | "right";
|
|
402
413
|
}
|
|
403
414
|
|
|
404
415
|
export declare const Towser: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
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.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@tailwindcss/vite": "^4.1.8",
|
|
32
32
|
"@types/tabulator-tables": "^6.2.6",
|
|
33
33
|
"axios": "^1.9.0",
|
|
34
|
-
"lucide-vue-next": "^0.
|
|
34
|
+
"lucide-vue-next": "^0.512.0",
|
|
35
35
|
"moment": "^2.30.1",
|
|
36
36
|
"nepali-datepicker-vue": "^1.0.7",
|
|
37
37
|
"sweetalert2": "^11.22.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"vue-router": "^4.5.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@types/node": "^22.15.
|
|
49
|
+
"@types/node": "^22.15.29",
|
|
50
50
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
51
51
|
"@vue/tsconfig": "^0.7.0",
|
|
52
52
|
"path": "^0.12.7",
|