sep-yui 0.1.83 → 0.1.85
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/components/Calendar/PopoverWrapper.vue.d.ts +44 -0
- package/dist/components/Calendar/date-utils.d.ts +8 -0
- package/dist/components/Calendar/interfaces/interfaces.d.ts +7 -0
- package/dist/components/FilterTag/FilterTag.vue.d.ts +1 -1
- package/dist/components/Input/Input.vue.d.ts +1 -1
- package/dist/components/Popover/Popover.vue.d.ts +1 -1
- package/dist/sep-yui.es.ts +46764 -13053
- package/dist/sep-yui.umd.ts +778 -26
- package/dist/style.css +1 -1
- package/package.json +75 -74
@@ -0,0 +1,44 @@
|
|
1
|
+
import { IPopoverWrapperProps } from './interfaces/interfaces';
|
2
|
+
|
3
|
+
declare function __VLS_template(): {
|
4
|
+
trigger?(_: {}): any;
|
5
|
+
default?(_: {}): any;
|
6
|
+
};
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPopoverWrapperProps>, {
|
8
|
+
placement: string;
|
9
|
+
open: boolean;
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
11
|
+
"unmount-close": () => void;
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPopoverWrapperProps>, {
|
13
|
+
placement: string;
|
14
|
+
open: boolean;
|
15
|
+
}>>> & {
|
16
|
+
"onUnmount-close"?: (() => any) | undefined;
|
17
|
+
}, {
|
18
|
+
placement: "top-start" | "bottom-start";
|
19
|
+
open: boolean;
|
20
|
+
}, {}>;
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
22
|
+
export default _default;
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
27
|
+
} : {
|
28
|
+
type: import('vue').PropType<T[K]>;
|
29
|
+
required: true;
|
30
|
+
};
|
31
|
+
};
|
32
|
+
type __VLS_WithDefaults<P, D> = {
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
34
|
+
default: D[K];
|
35
|
+
}> : P[K];
|
36
|
+
};
|
37
|
+
type __VLS_Prettify<T> = {
|
38
|
+
[K in keyof T]: T[K];
|
39
|
+
} & {};
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
41
|
+
new (): {
|
42
|
+
$slots: S;
|
43
|
+
};
|
44
|
+
};
|
@@ -7,3 +7,11 @@ export declare const getDate: (dateObject?: Partial<{
|
|
7
7
|
export declare const isValidDate: (value: unknown) => boolean;
|
8
8
|
export declare const getLastTime: (date: Date | null) => Date;
|
9
9
|
export declare const getFirstTime: (date: Date) => Date;
|
10
|
+
/**
|
11
|
+
* Converts a Date object to a string in the format `MMMM DD, YYYY`.
|
12
|
+
*
|
13
|
+
* @param {Date | null} date - The Date object to be converted.
|
14
|
+
* @param {string} locale - locale of return dates
|
15
|
+
* @returns {string} The formatted date string in the format `MMMM DD, YYYY`.
|
16
|
+
*/
|
17
|
+
export declare const formatDates: (date: Date | null, locale: string) => string;
|
@@ -26,4 +26,11 @@ export interface IRangeForDatePickerState {
|
|
26
26
|
date: IRangeForDatePicker;
|
27
27
|
isActive: boolean;
|
28
28
|
}
|
29
|
+
export interface IPopoverWrapperProps {
|
30
|
+
placement?: 'top-start' | 'bottom-start';
|
31
|
+
open?: boolean;
|
32
|
+
}
|
33
|
+
export interface PopoverWrapperInstance {
|
34
|
+
close: () => void;
|
35
|
+
}
|
29
36
|
export {};
|
@@ -25,8 +25,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
25
25
|
onChange?: ((value: string[]) => any) | undefined;
|
26
26
|
}, {
|
27
27
|
dataTestid: string;
|
28
|
-
iconName: IconNameEnum;
|
29
28
|
options: IFilterTagOption[];
|
29
|
+
iconName: IconNameEnum;
|
30
30
|
multiply: boolean;
|
31
31
|
selectedValues: string[];
|
32
32
|
maxShowCount: number;
|
@@ -26,9 +26,9 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
26
26
|
type: TextFieldEnum;
|
27
27
|
required: boolean;
|
28
28
|
modelValue: string;
|
29
|
-
modelModifiers: object;
|
30
29
|
inputMessage: string;
|
31
30
|
hideClearButton: boolean;
|
31
|
+
modelModifiers: object;
|
32
32
|
}, {}>;
|
33
33
|
export default _default;
|
34
34
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
@@ -19,8 +19,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
19
19
|
onClose?: (() => any) | undefined;
|
20
20
|
}, {
|
21
21
|
dataTestid: string;
|
22
|
-
iconName: IconNameEnum;
|
23
22
|
options: IPopoverOption[];
|
23
|
+
iconName: IconNameEnum;
|
24
24
|
tooltip: string;
|
25
25
|
tooltipPosition: import('../Tooltip/interface/interface').TTooltipPosition;
|
26
26
|
}, {}>;
|