@amirjalili1374/ui-kit 1.7.1 → 1.8.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amirjalili1374/ui-kit",
3
- "version": "1.7.1",
3
+ "version": "1.8.0",
4
4
  "description": "A reusable UI component library built with Vue 3, Vuetify, and TypeScript",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -77,8 +77,7 @@
77
77
  }
78
78
  },
79
79
  "optionalDependencies": {
80
- "xlsx": "^0.20.3",
81
- "xlsx-js-style": "^1.2.0"
80
+ "xlsx": "^0.20.3"
82
81
  },
83
82
  "devDependencies": {
84
83
  "@eslint/js": "^9.39.4",
@@ -105,7 +104,6 @@
105
104
  "vitest": "^2.1.9",
106
105
  "vue-router": "^4.6.4",
107
106
  "vue-tsc": "^3.3.5",
108
- "xlsx": "^0.18.5",
109
- "xlsx-js-style": "^1.2.0"
107
+ "xlsx": "^0.18.5"
110
108
  }
111
109
  }
@@ -1,81 +0,0 @@
1
- import { type Ref } from 'vue';
2
- import type { DataTableProps, TableItem } from '@/types/componentTypes/DataTableTypes';
3
- /**
4
- * Component props - using proper types from DataTableTypes
5
- */
6
- interface Props extends Omit<DataTableProps, 'routes'> {
7
- routes?: Record<string, string> | ((item: TableItem) => Record<string, string>);
8
- enableGroupDelete?: boolean;
9
- }
10
- declare var __VLS_192: {
11
- applyFilter: () => void;
12
- resetFilter: () => void;
13
- hasActiveFilters: boolean;
14
- filterModel: Record<string, any>;
15
- };
16
- type __VLS_Slots = {} & {
17
- 'inline-filter-actions'?: (props: typeof __VLS_192) => any;
18
- };
19
- declare const __VLS_base: import("vue").DefineComponent<Props, {
20
- fetchData: (queryParams?: Record<string, unknown>) => Promise<void>;
21
- getItems: () => {
22
- [x: string]: unknown;
23
- id?: string | number | null;
24
- }[];
25
- getSelectedItems: () => TableItem[];
26
- clearSelection: () => void;
27
- groupedItems: Ref<{
28
- groupKey: string | number;
29
- groupLabel: string;
30
- items: any[];
31
- isExpanded: boolean;
32
- count: number;
33
- }[], {
34
- groupKey: string | number;
35
- groupLabel: string;
36
- items: any[];
37
- isExpanded: boolean;
38
- count: number;
39
- }[]>;
40
- toggleGroup: (groupKey: string | number) => void;
41
- expandAllGroups: () => void;
42
- collapseAllGroups: () => void;
43
- formModel: Ref<Record<string, any>, Record<string, any>>;
44
- getFilters: () => Record<string, any>;
45
- setCriteria: (criteria: Record<string, any>) => void;
46
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
47
- "update:selectedItems": (items: TableItem[]) => any;
48
- "selection-change": (items: TableItem[]) => any;
49
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
50
- "onUpdate:selectedItems"?: (items: TableItem[]) => any;
51
- "onSelection-change"?: (items: TableItem[]) => any;
52
- }>, {
53
- items: TableItem[];
54
- selectable: boolean;
55
- autoFetch: boolean;
56
- showPagination: boolean;
57
- showRefreshButton: boolean;
58
- globalFetch: boolean;
59
- multiSelect: boolean;
60
- selectedItems: TableItem[];
61
- uniqueKey: string | ((item: TableItem) => string | number);
62
- pageSize: number;
63
- defaultExpanded: boolean;
64
- dateWithTimezone: boolean;
65
- bulkMode: boolean;
66
- enableTextTruncation: boolean;
67
- maxTextLength: number;
68
- inlineFilter: boolean;
69
- enableExport: boolean;
70
- exportUrl: string;
71
- exportFileName: string;
72
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
73
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
74
- declare const _default: typeof __VLS_export;
75
- export default _default;
76
- type __VLS_WithSlots<T, S> = T & {
77
- new (): {
78
- $slots: S;
79
- };
80
- };
81
- //# sourceMappingURL=CustomDataTable.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomDataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/shared/CustomDataTable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