@selfeesas/shared-components 1.8.0 → 1.9.1
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/assets/shared-components.css +1 -1
- package/dist/shared-components.cjs.js +23 -23
- package/dist/shared-components.cjs.js.map +1 -1
- package/dist/shared-components.d.ts +70 -0
- package/dist/shared-components.es.js +11098 -10386
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -13,8 +13,10 @@ import { Router } from 'vue-router';
|
|
|
13
13
|
|
|
14
14
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption_6<SelfeeHeaderProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
15
|
"project-change": (...args: any[]) => void;
|
|
16
|
+
"menu-toggle": (...args: any[]) => void;
|
|
16
17
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption_6<SelfeeHeaderProps>>> & Readonly<{
|
|
17
18
|
"onProject-change"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
"onMenu-toggle"?: ((...args: any[]) => any) | undefined;
|
|
18
20
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
19
21
|
|
|
20
22
|
declare const __VLS_component_2: DefineComponent<ExtractPropTypes<__VLS_TypePropsToOption_9<LayoutProps>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption_9<LayoutProps>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -271,6 +273,8 @@ declare type __VLS_NonUndefinedable_26<T> = T extends undefined ? never : T;
|
|
|
271
273
|
|
|
272
274
|
declare type __VLS_NonUndefinedable_27<T> = T extends undefined ? never : T;
|
|
273
275
|
|
|
276
|
+
declare type __VLS_NonUndefinedable_28<T> = T extends undefined ? never : T;
|
|
277
|
+
|
|
274
278
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
275
279
|
|
|
276
280
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -341,6 +345,10 @@ declare type __VLS_PrettifyLocal_21<T> = {
|
|
|
341
345
|
[K in keyof T]: T[K];
|
|
342
346
|
} & {};
|
|
343
347
|
|
|
348
|
+
declare type __VLS_PrettifyLocal_22<T> = {
|
|
349
|
+
[K in keyof T]: T[K];
|
|
350
|
+
} & {};
|
|
351
|
+
|
|
344
352
|
declare type __VLS_PrettifyLocal_3<T> = {
|
|
345
353
|
[K in keyof T]: T[K];
|
|
346
354
|
} & {};
|
|
@@ -685,6 +693,15 @@ declare type __VLS_TypePropsToOption_27<T> = {
|
|
|
685
693
|
};
|
|
686
694
|
};
|
|
687
695
|
|
|
696
|
+
declare type __VLS_TypePropsToOption_28<T> = {
|
|
697
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
698
|
+
type: PropType<__VLS_NonUndefinedable_28<T[K]>>;
|
|
699
|
+
} : {
|
|
700
|
+
type: PropType<T[K]>;
|
|
701
|
+
required: true;
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
|
|
688
705
|
declare type __VLS_TypePropsToOption_3<T> = {
|
|
689
706
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
690
707
|
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
@@ -832,6 +849,12 @@ declare type __VLS_WithDefaults_21<P, D> = {
|
|
|
832
849
|
}> : P[K];
|
|
833
850
|
};
|
|
834
851
|
|
|
852
|
+
declare type __VLS_WithDefaults_22<P, D> = {
|
|
853
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_22<P[K] & {
|
|
854
|
+
default: D[K];
|
|
855
|
+
}> : P[K];
|
|
856
|
+
};
|
|
857
|
+
|
|
835
858
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
836
859
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_3<P[K] & {
|
|
837
860
|
default: D[K];
|
|
@@ -2002,6 +2025,7 @@ export declare interface SelfeeHeaderProps {
|
|
|
2002
2025
|
}>;
|
|
2003
2026
|
currentPath?: string;
|
|
2004
2027
|
environment?: string;
|
|
2028
|
+
showMenuToggle?: boolean;
|
|
2005
2029
|
}
|
|
2006
2030
|
|
|
2007
2031
|
export declare const SelfeeLoader: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToOption_16<SelfeeLoaderProps>, {
|
|
@@ -2032,8 +2056,54 @@ export declare interface SelfeeLoaderProps {
|
|
|
2032
2056
|
speed?: number;
|
|
2033
2057
|
}
|
|
2034
2058
|
|
|
2059
|
+
export declare const SelfeeSidebar: DefineComponent<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToOption_28<SelfeeSidebarProps>, {
|
|
2060
|
+
modelValue: boolean;
|
|
2061
|
+
activeKey: undefined;
|
|
2062
|
+
width: number;
|
|
2063
|
+
miniWidth: number;
|
|
2064
|
+
expandLabel: string;
|
|
2065
|
+
collapseLabel: string;
|
|
2066
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2067
|
+
"update:modelValue": (value: boolean) => void;
|
|
2068
|
+
"item-click": (item: SidebarMenuItem) => void;
|
|
2069
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToOption_28<SelfeeSidebarProps>, {
|
|
2070
|
+
modelValue: boolean;
|
|
2071
|
+
activeKey: undefined;
|
|
2072
|
+
width: number;
|
|
2073
|
+
miniWidth: number;
|
|
2074
|
+
expandLabel: string;
|
|
2075
|
+
collapseLabel: string;
|
|
2076
|
+
}>>> & Readonly<{
|
|
2077
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2078
|
+
"onItem-click"?: ((item: SidebarMenuItem) => any) | undefined;
|
|
2079
|
+
}>, {
|
|
2080
|
+
modelValue: boolean;
|
|
2081
|
+
width: number;
|
|
2082
|
+
activeKey: string;
|
|
2083
|
+
miniWidth: number;
|
|
2084
|
+
expandLabel: string;
|
|
2085
|
+
collapseLabel: string;
|
|
2086
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2087
|
+
|
|
2088
|
+
export declare interface SelfeeSidebarProps {
|
|
2089
|
+
items: SidebarMenuItem[];
|
|
2090
|
+
modelValue?: boolean;
|
|
2091
|
+
activeKey?: string;
|
|
2092
|
+
width?: number;
|
|
2093
|
+
miniWidth?: number;
|
|
2094
|
+
expandLabel?: string;
|
|
2095
|
+
collapseLabel?: string;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2035
2098
|
export declare const SelfeeTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2036
2099
|
|
|
2100
|
+
export declare interface SidebarMenuItem {
|
|
2101
|
+
key: string;
|
|
2102
|
+
label: string;
|
|
2103
|
+
icon?: string;
|
|
2104
|
+
children?: SidebarMenuItem[];
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2037
2107
|
declare type Size = 'sm' | 'md' | 'lg';
|
|
2038
2108
|
|
|
2039
2109
|
export declare const SmartFilters: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|