dolphin-components 2.2.9 → 2.2.11
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 +3259 -3234
- package/dist/dolphin-components.css +1 -1
- package/dist/dolphin-components.es.js +14785 -14609
- package/dist/dolphin-components.umd.js +3259 -3234
- package/dist/index.d.ts +15 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { AxiosInstance } from 'axios';
|
|
2
3
|
import { CellComponent } from 'tabulator-tables';
|
|
4
|
+
import { ColumnDefinition } from 'tabulator-tables';
|
|
3
5
|
import { ColumnDefinitionAlign } from 'tabulator-tables';
|
|
4
6
|
import { ComponentOptionsMixin } from 'vue';
|
|
5
7
|
import { ComponentProvideOptions } from 'vue';
|
|
@@ -142,6 +144,8 @@ declare interface CustomHTMLElement extends HTMLElement {
|
|
|
142
144
|
showTooltip: () => void;
|
|
143
145
|
hideTooltip: () => void;
|
|
144
146
|
clearShowTimeout: () => void;
|
|
147
|
+
createTooltip: () => void;
|
|
148
|
+
updateBinding: (binding: DirectiveBinding<TooltipBindingValue>) => void;
|
|
145
149
|
};
|
|
146
150
|
}
|
|
147
151
|
|
|
@@ -307,6 +311,9 @@ actionButtons: TabulatorAction_2[];
|
|
|
307
311
|
heightOffset: number;
|
|
308
312
|
actionMode: "frontend" | "api";
|
|
309
313
|
showOptions: boolean;
|
|
314
|
+
paginationType: "local" | "remote";
|
|
315
|
+
apiEndpoint: string;
|
|
316
|
+
queryParams: Record<string, any>;
|
|
310
317
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
311
318
|
|
|
312
319
|
export declare interface TabulatorAction {
|
|
@@ -337,6 +344,7 @@ export declare interface TabulatorHeader {
|
|
|
337
344
|
headerSort?: boolean;
|
|
338
345
|
formatter?: (cell: CellComponent) => string;
|
|
339
346
|
cellClick?: (e: UIEvent, cell: CellComponent) => void;
|
|
347
|
+
sorter?: ColumnDefinition['sorter'];
|
|
340
348
|
}
|
|
341
349
|
|
|
342
350
|
export declare interface TabulatorModalSettings {
|
|
@@ -351,7 +359,7 @@ export declare interface TabulatorModalSettings {
|
|
|
351
359
|
}
|
|
352
360
|
|
|
353
361
|
export declare interface TabulatorProps {
|
|
354
|
-
data
|
|
362
|
+
data?: TabulatorData[];
|
|
355
363
|
columns: TabulatorHeader[];
|
|
356
364
|
placeholder?: string;
|
|
357
365
|
paginationSize?: number;
|
|
@@ -361,6 +369,10 @@ export declare interface TabulatorProps {
|
|
|
361
369
|
heightOffset?: number;
|
|
362
370
|
actionMode?: "frontend" | "api";
|
|
363
371
|
showOptions?: boolean;
|
|
372
|
+
paginationType?: 'local' | 'remote';
|
|
373
|
+
apiEndpoint?: string;
|
|
374
|
+
apiInstance?: AxiosInstance;
|
|
375
|
+
queryParams?: Record<string, any>;
|
|
364
376
|
}
|
|
365
377
|
|
|
366
378
|
export declare const Toast: {
|
|
@@ -392,13 +404,14 @@ export declare interface ToggleProps {
|
|
|
392
404
|
|
|
393
405
|
export declare const Tooltip: {
|
|
394
406
|
mounted(el: CustomHTMLElement, binding: DirectiveBinding<TooltipBindingValue>): void;
|
|
407
|
+
updated(el: CustomHTMLElement, binding: DirectiveBinding<TooltipBindingValue>): void;
|
|
395
408
|
unmounted(el: CustomHTMLElement): void;
|
|
396
409
|
};
|
|
397
410
|
|
|
398
411
|
declare interface TooltipBindingValue {
|
|
399
412
|
content: string;
|
|
400
413
|
raw?: boolean;
|
|
401
|
-
preferredPosition?:
|
|
414
|
+
preferredPosition?: "top" | "bottom" | "left" | "right";
|
|
402
415
|
}
|
|
403
416
|
|
|
404
417
|
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.11",
|
|
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.513.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.30",
|
|
50
50
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
51
51
|
"@vue/tsconfig": "^0.7.0",
|
|
52
52
|
"path": "^0.12.7",
|