@davincihealthcare/elty-design-system-vue 1.43.1 → 1.44.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/ElCarousel.vue.d.ts +39 -0
- package/dist/ElContainerTemplate.vue.d.ts +12 -4
- package/dist/ElDropdown.vue.d.ts +12 -12
- package/dist/ElIconButton.vue.d.ts +1 -1
- package/dist/ElTab.vue.d.ts +13 -1
- package/dist/ElTabGroup.vue.d.ts +11 -4
- package/dist/ElTextCell.vue.d.ts +5 -0
- package/dist/index.js +4289 -4249
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +8 -8
- package/dist/index.umd.cjs.map +1 -1
- package/dist/table/ElTableCell.vue.d.ts +9 -7
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { default as ElDropdown } from '../ElDropdown.vue';
|
|
|
2
2
|
import { TextualValueType } from '../forms/input';
|
|
3
3
|
import { ElIconProps } from '../ElIcon.vue';
|
|
4
4
|
import { default as ElAvatar } from '../ElAvatar.vue';
|
|
5
|
-
import { ElTextCellStyle } from '../ElTextCell.vue';
|
|
5
|
+
import { ElTextCellColor, ElTextCellStyle } from '../ElTextCell.vue';
|
|
6
6
|
import { default as ElIconButton } from '../ElIconButton.vue';
|
|
7
7
|
import { default as ElButton } from '../ElButton.vue';
|
|
8
8
|
import { default as ElTag } from '../ElTag.vue';
|
|
@@ -11,14 +11,15 @@ export declare const dataCellTypes: readonly ["default", "tag", "action", "input
|
|
|
11
11
|
export type DataCellType = (typeof dataCellTypes)[number];
|
|
12
12
|
export type DataCell = TagCell | DefaultCell | ActionCell | InputCell;
|
|
13
13
|
interface BasicDataCell {
|
|
14
|
-
sortableAndFilterableValue
|
|
15
|
-
type
|
|
14
|
+
sortableAndFilterableValue?: string;
|
|
15
|
+
type?: DataCellType;
|
|
16
16
|
}
|
|
17
17
|
export interface DefaultCell extends BasicDataCell {
|
|
18
|
-
type
|
|
18
|
+
type?: 'default';
|
|
19
19
|
mainIcon?: ElIconProps;
|
|
20
20
|
mainText: string;
|
|
21
21
|
mainTextStyle?: ElTextCellStyle;
|
|
22
|
+
mainTextColor?: ElTextCellColor;
|
|
22
23
|
subIcon?: ElIconProps;
|
|
23
24
|
subText?: string;
|
|
24
25
|
avatar?: Pick<InstanceType<typeof ElAvatar>['$props'], 'picture' | 'label'>;
|
|
@@ -27,23 +28,24 @@ export interface DefaultCell extends BasicDataCell {
|
|
|
27
28
|
truncateSubText?: boolean;
|
|
28
29
|
}
|
|
29
30
|
export interface TagCell extends BasicDataCell {
|
|
30
|
-
type
|
|
31
|
+
type?: 'tag';
|
|
31
32
|
tag: InstanceType<typeof ElTag>['$props'];
|
|
32
33
|
subText?: string;
|
|
33
34
|
truncateSubText?: boolean;
|
|
34
35
|
}
|
|
35
36
|
export interface ActionCell extends BasicDataCell {
|
|
36
|
-
type
|
|
37
|
+
type?: 'action';
|
|
37
38
|
buttons?: InstanceType<typeof ElButton>['$props'][];
|
|
38
39
|
iconButtons?: InstanceType<typeof ElIconButton>['$props'][];
|
|
39
40
|
dropdown?: InstanceType<typeof ElDropdown>['$props'];
|
|
40
41
|
}
|
|
41
42
|
export interface InputCell extends BasicDataCell {
|
|
42
|
-
type
|
|
43
|
+
type?: 'input';
|
|
43
44
|
value?: string;
|
|
44
45
|
onUpdate?: (value: TextualValueType) => void;
|
|
45
46
|
}
|
|
46
47
|
export declare const getCellText: (cell: DataCell) => string | null;
|
|
48
|
+
export declare const getCellSortableAndFilterableValue: (cell: DataCell) => string;
|
|
47
49
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
48
50
|
cell: DataCell;
|
|
49
51
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|