dolphin-components 2.2.25 → 2.2.26

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/index.d.ts CHANGED
@@ -5,14 +5,10 @@ import { ColumnDefinition } from 'tabulator-tables';
5
5
  import { ColumnDefinitionAlign } from 'tabulator-tables';
6
6
  import { ComponentOptionsMixin } from 'vue';
7
7
  import { ComponentProvideOptions } from 'vue';
8
- import { ContentTitle as ContentTitle_2 } from '..';
9
8
  import { DefineComponent } from 'vue';
10
9
  import { DirectiveBinding } from 'vue';
11
10
  import { Editor } from 'tabulator-tables';
12
- import { ModalTitle as ModalTitle_2 } from '..';
13
11
  import { PublicProps } from 'vue';
14
- import { TabulatorAction as TabulatorAction_2 } from '..';
15
- import { TabulatorData as TabulatorData_2 } from '..';
16
12
  import { VerticalAlign } from 'tabulator-tables';
17
13
 
18
14
  declare const __VLS_component: DefineComponent<ContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -20,7 +16,7 @@ declare const __VLS_component: DefineComponent<ContentProps, {}, {}, {}, {}, Com
20
16
  }, string, PublicProps, Readonly<ContentProps> & Readonly<{
21
17
  [x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
22
18
  }>, {
23
- title: ContentTitle_2[];
19
+ title: ContentTitle[];
24
20
  bodyClass: string;
25
21
  titleClass: string;
26
22
  disableMinHeight: boolean;
@@ -31,7 +27,7 @@ declare const __VLS_component_2: DefineComponent<ModalProps, {}, {}, {}, {}, Com
31
27
  }, string, PublicProps, Readonly<ModalProps> & Readonly<{
32
28
  [x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
33
29
  }>, {
34
- title: ModalTitle_2[];
30
+ title: ModalTitle[];
35
31
  actions: ModalAction[];
36
32
  width: string;
37
33
  show: boolean;
@@ -135,13 +131,17 @@ export declare const CreateShortCutKey: (keyStructure: string, callback: (e: Key
135
131
  destroy(): void;
136
132
  };
137
133
 
138
- export declare const CurrencyFormatter: (value: number | string, withDisplayCurrency?: boolean, displayCurrency?: string, format?: FormatType, structure?: StructureType) => string;
134
+ export declare const currencyFormatter: (value: number | string, withDisplayCurrency?: boolean, displayCurrency?: string, format?: FormatType, structure?: StructureType) => string;
135
+
136
+ export declare const CurrencyFormatterPlugin: {
137
+ install(app: App): void;
138
+ };
139
139
 
140
140
  declare interface CurrencyInputElement extends HTMLInputElement {
141
141
  eventCleanUp?: () => void;
142
142
  }
143
143
 
144
- export declare const CurrencyUnformatter: (formattedValue: string, withDisplayCurrency?: boolean, displayCurrency?: string, format?: FormatType, structure?: StructureType) => number;
144
+ export declare const currencyUnformatter: (formattedValue: string, withDisplayCurrency?: boolean, displayCurrency?: string, format?: FormatType) => number;
145
145
 
146
146
  declare interface CustomHTMLElement extends HTMLElement {
147
147
  __tooltipHandlers?: {
@@ -207,7 +207,9 @@ declare type DebounceHandler<T> = {
207
207
  cancel: () => void;
208
208
  };
209
209
 
210
- export declare const FocusNext: {
210
+ export declare const focusNext: (nextElementId: string) => void;
211
+
212
+ export declare const FocusNextPlugin: {
211
213
  install(app: App): void;
212
214
  };
213
215
 
@@ -280,6 +282,12 @@ export declare interface ModalTitle {
280
282
  link?: string;
281
283
  }
282
284
 
285
+ export declare const NumbertoWordPlugin: {
286
+ install(app: App): void;
287
+ };
288
+
289
+ export declare const numToWord: (input: number | string, nepali?: boolean, currencyConverter?: boolean) => string;
290
+
283
291
  export declare const ScrollbarAnimateDropdown: {
284
292
  mounted(el: HTMLElementWithState): void;
285
293
  unmounted(el: HTMLElementWithState): void;
@@ -318,12 +326,12 @@ exportTable: () => void;
318
326
  [x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
319
327
  }>, {
320
328
  action: boolean;
321
- data: TabulatorData_2[];
329
+ data: TabulatorData[];
322
330
  placeholder: string;
323
331
  columns: TabulatorHeader[];
324
332
  paginationSize: number;
325
333
  paginationSizeSelector: number[];
326
- actionButtons: TabulatorAction_2[];
334
+ actionButtons: TabulatorAction[];
327
335
  heightOffset: number;
328
336
  actionMode: "frontend" | "api";
329
337
  showOptions: boolean;
@@ -409,13 +417,17 @@ export declare interface TabulatorProps {
409
417
  enableFooterBlock?: boolean;
410
418
  }
411
419
 
412
- export declare const Toast: {
420
+ export declare const toast: {
413
421
  error(msg: string, delay?: number): void;
414
422
  warn(msg: string, delay?: number): void;
415
423
  success(msg: string, delay?: number): void;
416
424
  info(msg: string, delay?: number): void;
417
425
  };
418
426
 
427
+ export declare const ToastPlugin: {
428
+ install(app: App): void;
429
+ };
430
+
419
431
  export declare const Toggle: DefineComponent<ToggleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
420
432
  "update:modelValue": (value: boolean) => any;
421
433
  }, string, PublicProps, Readonly<ToggleProps> & Readonly<{
@@ -527,6 +539,10 @@ export { }
527
539
 
528
540
  declare module "@vue/runtime-core" {
529
541
  interface ComponentCustomProperties {
530
- $focusNext: (nextElementId: string) => void;
542
+ $focusNext: focusNext;
543
+ $currencyFormatter: typeof currencyFormatter;
544
+ $currencyUnformatter: typeof currencyUnformatter;
545
+ $numToWords: typeof numToWord;
546
+ $toast: typeof toast;
531
547
  }
532
548
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dolphin-components",
3
3
  "private": false,
4
- "version": "2.2.25",
4
+ "version": "2.2.26",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -28,36 +28,36 @@
28
28
  "preview": "vite preview"
29
29
  },
30
30
  "dependencies": {
31
- "@tailwindcss/vite": "^4.1.12",
32
- "@types/tabulator-tables": "^6.2.10",
33
- "axios": "^1.11.0",
34
- "lucide-vue-next": "^0.542.0",
31
+ "@tailwindcss/vite": "^4.1.18",
32
+ "@types/tabulator-tables": "^6.3.0",
33
+ "axios": "^1.13.2",
34
+ "lucide-vue-next": "^0.561.0",
35
35
  "moment": "^2.30.1",
36
- "nepali-date-library": "^1.1.9",
37
- "nepali-datepicker-vue": "^1.0.10",
38
- "sweetalert2": "^11.22.5",
36
+ "nepali-date-library": "^1.1.11",
37
+ "nepali-datepicker-vue": "^1.0.12",
38
+ "sweetalert2": "^11.26.10",
39
39
  "tabulator-tables": "^6.3.1",
40
- "tailwindcss": "^4.1.12",
40
+ "tailwindcss": "^4.1.18",
41
41
  "utility-types": "^3.11.0",
42
- "vue": "^3.5.20",
42
+ "vue": "^3.5.25",
43
43
  "vue-datepicker-next": "^1.0.3",
44
- "vue-multiselect": "^3.3.1",
44
+ "vue-multiselect": "^3.4.0",
45
45
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "vue-router": "^4.5.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@types/node": "^24.3.0",
52
- "@vitejs/plugin-vue": "^6.0.1",
51
+ "@types/node": "^25.0.2",
52
+ "@vitejs/plugin-vue": "^6.0.3",
53
53
  "@vue/tsconfig": "^0.8.1",
54
54
  "path": "^0.12.7",
55
55
  "prettier": "3.6.2",
56
56
  "rollup-plugin-typescript2": "^0.36.0",
57
- "typescript": "~5.9.2",
58
- "vite": "^7.1.3",
57
+ "typescript": "~5.9.3",
58
+ "vite": "^7.2.7",
59
59
  "vite-plugin-dts": "^4.5.4",
60
- "vue-tsc": "^3.0.6"
60
+ "vue-tsc": "^3.1.8"
61
61
  },
62
62
  "keywords": [
63
63
  "mavorion",