@davincihealthcare/elty-design-system-vue 1.47.3 → 1.49.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/dist/ElAccordion.vue.d.ts +4 -4
- package/dist/ElActionButton.vue.d.ts +3 -3
- package/dist/ElAvatar.vue.d.ts +4 -4
- package/dist/ElBadge.vue.d.ts +2 -2
- package/dist/ElButton.vue.d.ts +22 -22
- package/dist/ElCalendarCard.vue.d.ts +15 -15
- package/dist/ElCalendarCell.vue.d.ts +8 -8
- package/dist/ElClipToAnchor.vue.d.ts +4 -4
- package/dist/ElContainerTemplate.vue.d.ts +12 -48
- package/dist/ElDrawer.vue.d.ts +21 -16
- package/dist/ElDropdown.vue.d.ts +20 -262
- package/dist/ElFile.vue.d.ts +2 -2
- package/dist/ElIcon.vue.d.ts +4 -4
- package/dist/ElIconButton.vue.d.ts +1 -1
- package/dist/ElInlineBanner.vue.d.ts +12 -187
- package/dist/ElItem.vue.d.ts +15 -15
- package/dist/ElLogo.vue.d.ts +4 -4
- package/dist/ElModal.vue.d.ts +34 -182
- package/dist/ElSpinner.vue.d.ts +6 -6
- package/dist/ElSuggestionChip.vue.d.ts +2 -2
- package/dist/ElTab.vue.d.ts +6 -6
- package/dist/ElTabGroup.vue.d.ts +4 -2
- package/dist/ElTableHead.vue.d.ts +6 -6
- package/dist/ElTag.vue.d.ts +10 -10
- package/dist/ElTextCell.vue.d.ts +4 -4
- package/dist/ElTooltip.vue.d.ts +2 -2
- package/dist/ElVerticalTab.vue.d.ts +22 -114
- package/dist/_CustomTransition.vue.d.ts +8 -6
- package/dist/forms/ElInputCheckbox.vue.d.ts +6 -6
- package/dist/forms/ElInputContainer.vue.d.ts +15 -13
- package/dist/forms/ElInputDate.vue.d.ts +2 -2
- package/dist/forms/ElInputFile.vue.d.ts +2 -2
- package/dist/forms/ElInputRadioButton.vue.d.ts +6 -4
- package/dist/forms/ElInputSearch.vue.d.ts +24 -323
- package/dist/forms/ElInputSelect.vue.d.ts +3 -2
- package/dist/forms/ElInputSwitch.vue.d.ts +8 -8
- package/dist/forms/ElInputText.vue.d.ts +2 -2
- package/dist/forms/input.d.ts +1 -1
- package/dist/index.js +2185 -2163
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +12 -12
- package/dist/index.umd.cjs.map +1 -1
- package/dist/table/ElServerSideTable.vue.d.ts +11 -3
- package/dist/table/ElTable.vue.d.ts +2 -2
- package/dist/tailwind.plugin.d.ts +2 -2
- package/package.json +3 -4
- package/dist/table/ElTablePagination.vue.d.ts +0 -61
|
@@ -4,11 +4,17 @@ import { default as ElInputSelect } from '../forms/ElInputSelect.vue';
|
|
|
4
4
|
export interface TableColumn {
|
|
5
5
|
title: string;
|
|
6
6
|
filter?: {
|
|
7
|
-
type:
|
|
7
|
+
type: Extract<FilterType, 'FREE_SEARCH'>;
|
|
8
8
|
placeholder?: string;
|
|
9
|
+
initialValue?: string;
|
|
10
|
+
} | {
|
|
11
|
+
type: Extract<FilterType, 'DATE_RANGE'>;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
initialValue?: number;
|
|
9
14
|
} | {
|
|
10
15
|
type: Extract<FilterType, 'MULTI_VALUE'>;
|
|
11
16
|
selectOptions: InstanceType<typeof ElInputSelect>['$props']['options'];
|
|
17
|
+
initialValue?: string;
|
|
12
18
|
} | {
|
|
13
19
|
type: 'RESET_FILTERS_BUTTON';
|
|
14
20
|
};
|
|
@@ -42,8 +48,10 @@ export interface ServerSideTableProps {
|
|
|
42
48
|
}
|
|
43
49
|
type FilterStatus = {
|
|
44
50
|
textSearch: string;
|
|
51
|
+
type: Extract<FilterType, 'FREE_SEARCH' | 'MULTI_VALUE'>;
|
|
52
|
+
} | {
|
|
45
53
|
dateFrom: number;
|
|
46
|
-
|
|
54
|
+
type: Extract<FilterType, 'DATE_RANGE'>;
|
|
47
55
|
};
|
|
48
56
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ServerSideTableProps>, {
|
|
49
57
|
sortByCol: number;
|
|
@@ -72,7 +80,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
72
80
|
rowsPerPage: number;
|
|
73
81
|
sortByCol: number;
|
|
74
82
|
sortByColAsc: boolean;
|
|
75
|
-
rowsSelectionMode: "
|
|
83
|
+
rowsSelectionMode: "single" | "multiple";
|
|
76
84
|
}, {}>;
|
|
77
85
|
export default _default;
|
|
78
86
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -47,10 +47,10 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
47
47
|
}>>> & {
|
|
48
48
|
"onRows-selected"?: ((rows: DataRow<any>[]) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
tableId:
|
|
50
|
+
tableId: number | string;
|
|
51
51
|
sortByCol: number;
|
|
52
52
|
sortByColAsc: boolean;
|
|
53
|
-
rowsSelectionMode: "
|
|
53
|
+
rowsSelectionMode: "single" | "multiple";
|
|
54
54
|
initialRows: number;
|
|
55
55
|
}, {}>;
|
|
56
56
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const defaultPlugin: {
|
|
2
2
|
handler: import('tailwindcss/types/config').PluginCreator;
|
|
3
|
-
config?: Partial<import('tailwindcss/types/config').Config
|
|
3
|
+
config?: Partial<import('tailwindcss/types/config').Config>;
|
|
4
4
|
};
|
|
5
5
|
export declare const pluginWithoutStyles: {
|
|
6
6
|
handler: import('tailwindcss/types/config').PluginCreator;
|
|
7
|
-
config?: Partial<import('tailwindcss/types/config').Config
|
|
7
|
+
config?: Partial<import('tailwindcss/types/config').Config>;
|
|
8
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@davincihealthcare/elty-design-system-vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.49.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"main": "dist/index.umd.cjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -56,7 +56,6 @@
|
|
|
56
56
|
"husky": ">=6",
|
|
57
57
|
"lint-staged": ">=10",
|
|
58
58
|
"node-gyp": "^10.0.1",
|
|
59
|
-
"nx": "17.1.3",
|
|
60
59
|
"pinia": "^2.1.7",
|
|
61
60
|
"postcss": "^8.4.35",
|
|
62
61
|
"postcss-cli": "^11.0.0",
|
|
@@ -65,13 +64,13 @@
|
|
|
65
64
|
"prettier": "^3.1.0",
|
|
66
65
|
"semantic-release": "^23.0.0",
|
|
67
66
|
"tailwindcss": "^3.4.1",
|
|
68
|
-
"typescript": "^5.3
|
|
67
|
+
"typescript": "^5.6.3",
|
|
69
68
|
"vee-validate": "^4.12.6",
|
|
70
69
|
"vite": "^5.0.12",
|
|
71
70
|
"vite-plugin-dts": "^3.6.3",
|
|
72
71
|
"vitest": "^0.34.6",
|
|
73
72
|
"vue": "^3.4.21",
|
|
74
|
-
"vue-tsc": "^2.
|
|
73
|
+
"vue-tsc": "^2.1.10"
|
|
75
74
|
},
|
|
76
75
|
"dependencies": {
|
|
77
76
|
"@faker-js/faker": "^8.4.1",
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
declare const _default: <T>(__VLS_props: {
|
|
2
|
-
onChange?: ((page: number) => any) | undefined;
|
|
3
|
-
"onUpdate:currentTabRows"?: ((rows: T[]) => any) | undefined;
|
|
4
|
-
"onUpdate:currentPage"?: ((page: number) => any) | undefined;
|
|
5
|
-
rows: T[];
|
|
6
|
-
rowsPerPage?: number | undefined;
|
|
7
|
-
pagesBeforeDots?: number | undefined;
|
|
8
|
-
hideFooter?: boolean | undefined;
|
|
9
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
|
|
10
|
-
attrs: any;
|
|
11
|
-
slots: {};
|
|
12
|
-
emit: {
|
|
13
|
-
(event: 'update:currentTabRows', rows: T[]): void;
|
|
14
|
-
(event: 'update:currentPage', page: number): void;
|
|
15
|
-
(event: 'change', page: number): void;
|
|
16
|
-
};
|
|
17
|
-
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
18
|
-
props: {
|
|
19
|
-
onChange?: ((page: number) => any) | undefined;
|
|
20
|
-
"onUpdate:currentTabRows"?: ((rows: T[]) => any) | undefined;
|
|
21
|
-
"onUpdate:currentPage"?: ((page: number) => any) | undefined;
|
|
22
|
-
rows: T[];
|
|
23
|
-
rowsPerPage?: number | undefined;
|
|
24
|
-
pagesBeforeDots?: number | undefined;
|
|
25
|
-
hideFooter?: boolean | undefined;
|
|
26
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
27
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
28
|
-
attrs: any;
|
|
29
|
-
slots: {};
|
|
30
|
-
emit: {
|
|
31
|
-
(event: 'update:currentTabRows', rows: T[]): void;
|
|
32
|
-
(event: 'update:currentPage', page: number): void;
|
|
33
|
-
(event: 'change', page: number): void;
|
|
34
|
-
};
|
|
35
|
-
}>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
}> & {
|
|
38
|
-
__ctx?: {
|
|
39
|
-
props: {
|
|
40
|
-
onChange?: ((page: number) => any) | undefined;
|
|
41
|
-
"onUpdate:currentTabRows"?: ((rows: T[]) => any) | undefined;
|
|
42
|
-
"onUpdate:currentPage"?: ((page: number) => any) | undefined;
|
|
43
|
-
rows: T[];
|
|
44
|
-
rowsPerPage?: number | undefined;
|
|
45
|
-
pagesBeforeDots?: number | undefined;
|
|
46
|
-
hideFooter?: boolean | undefined;
|
|
47
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
48
|
-
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
49
|
-
attrs: any;
|
|
50
|
-
slots: {};
|
|
51
|
-
emit: {
|
|
52
|
-
(event: 'update:currentTabRows', rows: T[]): void;
|
|
53
|
-
(event: 'update:currentPage', page: number): void;
|
|
54
|
-
(event: 'change', page: number): void;
|
|
55
|
-
};
|
|
56
|
-
} | undefined;
|
|
57
|
-
};
|
|
58
|
-
export default _default;
|
|
59
|
-
type __VLS_Prettify<T> = {
|
|
60
|
-
[K in keyof T]: T[K];
|
|
61
|
-
} & {};
|