@davincihealthcare/elty-design-system-vue 1.28.0 → 1.30.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.
@@ -0,0 +1,82 @@
1
+ export declare const elContainerTemplateVariants: readonly ["table", "drawer"];
2
+ export type ElContainerTemplateVariant = (typeof elContainerTemplateVariants)[number];
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ title: string;
5
+ description: string;
6
+ tabs?: (Partial<{}> & Omit<{
7
+ readonly modelValue: string;
8
+ readonly tabs: import('./ElTabGroup.vue').ElTabs;
9
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
10
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
11
+ modelValue: {
12
+ type: import('vue').PropType<string>;
13
+ required: true;
14
+ };
15
+ tabs: {
16
+ type: import('vue').PropType<import('./ElTabGroup.vue').ElTabs>;
17
+ required: true;
18
+ };
19
+ }>> & {
20
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
21
+ }, never>) | undefined;
22
+ selectedTab?: string | undefined;
23
+ variant: {
24
+ name: 'table';
25
+ } | {
26
+ name: 'drawer';
27
+ drawerTitle: string;
28
+ };
29
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
+ onTabChange: (tab: string) => void;
31
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
32
+ title: string;
33
+ description: string;
34
+ tabs?: (Partial<{}> & Omit<{
35
+ readonly modelValue: string;
36
+ readonly tabs: import('./ElTabGroup.vue').ElTabs;
37
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
38
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
39
+ modelValue: {
40
+ type: import('vue').PropType<string>;
41
+ required: true;
42
+ };
43
+ tabs: {
44
+ type: import('vue').PropType<import('./ElTabGroup.vue').ElTabs>;
45
+ required: true;
46
+ };
47
+ }>> & {
48
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
49
+ }, never>) | undefined;
50
+ selectedTab?: string | undefined;
51
+ variant: {
52
+ name: 'table';
53
+ } | {
54
+ name: 'drawer';
55
+ drawerTitle: string;
56
+ };
57
+ }>>> & {
58
+ onOnTabChange?: ((tab: string) => any) | undefined;
59
+ }, {}, {}>, {
60
+ "input-select"?(_: {}): any;
61
+ "secondary-button"?(_: {}): any;
62
+ "primary-button"?(_: {}): any;
63
+ "icon-button"?(_: {}): any;
64
+ table?(_: {}): any;
65
+ "drawer-content"?(_: {}): any;
66
+ "content-slot"?(_: {}): any;
67
+ }>;
68
+ export default _default;
69
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
+ type __VLS_TypePropsToRuntimeProps<T> = {
71
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
72
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
73
+ } : {
74
+ type: import('vue').PropType<T[K]>;
75
+ required: true;
76
+ };
77
+ };
78
+ type __VLS_WithTemplateSlots<T, S> = T & {
79
+ new (): {
80
+ $slots: S;
81
+ };
82
+ };
@@ -1,10 +1,10 @@
1
1
  import { default as ElItem } from './ElItem.vue';
2
2
 
3
- type Item = {
3
+ export type DropdownItem = {
4
4
  onClick?: () => void;
5
5
  } & InstanceType<typeof ElItem>['$props'];
6
6
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
- items: Item[];
7
+ items: DropdownItem[];
8
8
  title?: string | undefined;
9
9
  action?: Omit<Partial<{
10
10
  disabled: boolean;
@@ -100,7 +100,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
100
100
  "click:action": () => void;
101
101
  "update:is-open": (isOpen: boolean) => void;
102
102
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
103
- items: Item[];
103
+ items: DropdownItem[];
104
104
  title?: string | undefined;
105
105
  action?: Omit<Partial<{
106
106
  disabled: boolean;
package/dist/index.d.ts CHANGED
@@ -82,3 +82,5 @@ export * from './ElModal.vue';
82
82
  export { default as ElModal } from './ElModal.vue';
83
83
  export * from './ElVerticalTab.vue';
84
84
  export { default as ElVerticalTab } from './ElVerticalTab.vue';
85
+ export * from './ElContainerTemplate.vue';
86
+ export { default as ElContainerTemplate } from './ElContainerTemplate.vue';