@selfeesas/shared-components 1.9.0 → 1.10.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/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 +67 -0
- package/dist/shared-components.es.js +11047 -10345
- package/dist/shared-components.es.js.map +1 -1
- package/package.json +2 -2
|
@@ -273,6 +273,8 @@ declare type __VLS_NonUndefinedable_26<T> = T extends undefined ? never : T;
|
|
|
273
273
|
|
|
274
274
|
declare type __VLS_NonUndefinedable_27<T> = T extends undefined ? never : T;
|
|
275
275
|
|
|
276
|
+
declare type __VLS_NonUndefinedable_28<T> = T extends undefined ? never : T;
|
|
277
|
+
|
|
276
278
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
277
279
|
|
|
278
280
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -343,6 +345,10 @@ declare type __VLS_PrettifyLocal_21<T> = {
|
|
|
343
345
|
[K in keyof T]: T[K];
|
|
344
346
|
} & {};
|
|
345
347
|
|
|
348
|
+
declare type __VLS_PrettifyLocal_22<T> = {
|
|
349
|
+
[K in keyof T]: T[K];
|
|
350
|
+
} & {};
|
|
351
|
+
|
|
346
352
|
declare type __VLS_PrettifyLocal_3<T> = {
|
|
347
353
|
[K in keyof T]: T[K];
|
|
348
354
|
} & {};
|
|
@@ -687,6 +693,15 @@ declare type __VLS_TypePropsToOption_27<T> = {
|
|
|
687
693
|
};
|
|
688
694
|
};
|
|
689
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
|
+
|
|
690
705
|
declare type __VLS_TypePropsToOption_3<T> = {
|
|
691
706
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
692
707
|
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
@@ -834,6 +849,12 @@ declare type __VLS_WithDefaults_21<P, D> = {
|
|
|
834
849
|
}> : P[K];
|
|
835
850
|
};
|
|
836
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
|
+
|
|
837
858
|
declare type __VLS_WithDefaults_3<P, D> = {
|
|
838
859
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal_3<P[K] & {
|
|
839
860
|
default: D[K];
|
|
@@ -2035,8 +2056,54 @@ export declare interface SelfeeLoaderProps {
|
|
|
2035
2056
|
speed?: number;
|
|
2036
2057
|
}
|
|
2037
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
|
+
|
|
2038
2098
|
export declare const SelfeeTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2039
2099
|
|
|
2100
|
+
export declare interface SidebarMenuItem {
|
|
2101
|
+
key: string;
|
|
2102
|
+
label: string;
|
|
2103
|
+
icon?: string;
|
|
2104
|
+
children?: SidebarMenuItem[];
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2040
2107
|
declare type Size = 'sm' | 'md' | 'lg';
|
|
2041
2108
|
|
|
2042
2109
|
export declare const SmartFilters: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|