@nmorph/nmorph-ui-kit 0.0.1 → 0.0.2
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/index.es.js +3897 -3912
- package/dist/style.css +1 -1
- package/dist/styles/base/_animation.scss +8 -0
- package/dist/styles/base/_basic.scss +43 -0
- package/dist/styles/base/_colors.scss +14 -5
- package/dist/styles/base/_common-mixins.scss +12 -5
- package/dist/styles/base/_dimensions.scss +18 -8
- package/dist/styles/base/_theme-mixin.scss +12 -10
- package/dist/styles/base/_typography.scss +29 -132
- package/dist/styles/base/style.scss +3 -7
- package/dist/styles/main.scss +1 -2
- package/dist/types/components/form/nmorph-form/NmorphForm.vue.d.ts +56 -0
- package/dist/types/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +58 -0
- package/dist/types/components/form/nmorph-form/components/nmorph-form-item/components/index.d.ts +3 -0
- package/dist/types/components/form/nmorph-form/components/nmorph-form-item/components/nmorph-error-box/NmorphErrorBox.vue.d.ts +38 -0
- package/dist/types/components/form/nmorph-form/components/nmorph-form-item/components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +30 -0
- package/dist/types/components/form/types.d.ts +7 -0
- package/dist/types/components/inputs/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +6 -3
- package/dist/types/components/inputs/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +4 -22
- package/dist/types/components/inputs/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +72 -0
- package/dist/types/components/inputs/nmorph-autocomplete/types.d.ts +5 -0
- package/dist/types/components/inputs/nmorph-clear-button/NmorphClearButton.vue.d.ts +7 -0
- package/dist/types/components/inputs/nmorph-date-picker/NmorphDatePicker.vue.d.ts +70 -0
- package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +40 -0
- package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +43 -0
- package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +38 -0
- package/dist/types/components/inputs/nmorph-date-picker/components/types.d.ts +6 -0
- package/dist/types/components/inputs/nmorph-file-upload/NmorphFileUpload.vue.d.ts +18 -3
- package/dist/types/components/inputs/nmorph-number-input/NmorphNumberInput.vue.d.ts +12 -27
- package/dist/types/components/inputs/nmorph-select/NmorphSelect.vue.d.ts +19 -8
- package/dist/types/components/inputs/nmorph-select-option/NmorphSelectOption.vue.d.ts +4 -4
- package/dist/types/components/inputs/nmorph-slider/NmorphSlider.vue.d.ts +4 -4
- package/dist/types/components/inputs/nmorph-switch/NmorphSwitch.vue.d.ts +7 -5
- package/dist/types/components/inputs/nmorph-text-input/NmorphTextInput.vue.d.ts +16 -30
- package/dist/types/components/inputs/nmorph-time-picker/NmorphTimePicker.vue.d.ts +65 -0
- package/dist/types/components/inputs/nmorph-time-picker/components/NmorphTimeRoller.vue.d.ts +46 -0
- package/dist/types/components/inputs/nmorph-time-picker/types.d.ts +3 -0
- package/dist/types/components/inputs/nmorph-time-picker/utils.d.ts +3 -0
- package/dist/types/components/inputs/radio/nmorph-radio/NmorphRadio.vue.d.ts +48 -0
- package/dist/types/components/inputs/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +7 -20
- package/dist/types/components/nmorph-alert/NmorphAlert.vue.d.ts +67 -0
- package/dist/types/components/nmorph-alert/types.d.ts +6 -0
- package/dist/types/components/nmorph-avatar/NmorphAvatar.vue.d.ts +62 -0
- package/dist/types/components/nmorph-avatar/type.d.ts +1 -0
- package/dist/types/components/nmorph-backtop/NmorphBacktop.vue.d.ts +48 -0
- package/dist/types/components/nmorph-badge/NmorphBadge.vue.d.ts +60 -0
- package/dist/types/components/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +36 -0
- package/dist/types/components/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +40 -0
- package/dist/types/components/nmorph-breadcrumb/types.d.ts +13 -0
- package/dist/types/components/nmorph-button/NmorphButton.vue.d.ts +14 -21
- package/dist/types/components/nmorph-calendar/NmorphCalendar.vue.d.ts +75 -0
- package/dist/types/components/nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +42 -0
- package/dist/types/components/nmorph-calendar/locale.d.ts +1 -0
- package/dist/types/components/nmorph-calendar/types.d.ts +12 -0
- package/dist/types/components/nmorph-calendar/utils.d.ts +9 -0
- package/dist/types/components/nmorph-card/NmorphCard.vue.d.ts +4 -4
- package/dist/types/components/nmorph-carousel/NmorphCarousel.vue.d.ts +39 -2
- package/dist/types/components/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +30 -0
- package/dist/types/components/nmorph-carousel/types.d.ts +5 -0
- package/dist/types/components/nmorph-collapse/NmorphCollapse.vue.d.ts +42 -0
- package/dist/types/components/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +55 -0
- package/dist/types/components/nmorph-collapse/types.d.ts +6 -0
- package/dist/types/components/nmorph-dialog/NmorphDialog.vue.d.ts +47 -0
- package/dist/types/components/{inputs/common/NmorphValidationIcon.vue.d.ts → nmorph-divider/NmorphDivider.vue.d.ts} +5 -5
- package/dist/types/components/nmorph-divider/types.d.ts +1 -0
- package/dist/types/components/nmorph-dropdown/NmorphDropdown.vue.d.ts +55 -0
- package/dist/types/components/nmorph-icon/NmorphIcon.vue.d.ts +15 -15
- package/dist/types/components/nmorph-icon/NmorphIconsMap.d.ts +2 -4
- package/dist/types/components/nmorph-icon/types.d.ts +3 -3
- package/dist/types/components/nmorph-image/NmorphImage.vue.d.ts +6 -8
- package/dist/types/components/nmorph-link/NmorphLink.vue.d.ts +9 -9
- package/dist/types/components/nmorph-overlay/NmorphOverlay.vue.d.ts +2 -1
- package/dist/types/components/nmorph-pagination/NmorphPagination.vue.d.ts +56 -0
- package/dist/types/components/nmorph-progress/NmorphProgress.vue.d.ts +66 -0
- package/dist/types/components/nmorph-progress/types.d.ts +6 -0
- package/dist/types/components/nmorph-scroll/NmorphScroll.vue.d.ts +69 -0
- package/dist/types/components/nmorph-skeleton/NmorphSkeleton.vue.d.ts +45 -0
- package/dist/types/components/{nmorph-error-box/NmorphErrorBox.vue.d.ts → nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts} +5 -9
- package/dist/types/components/nmorph-skeleton/types.d.ts +1 -0
- package/dist/types/components/nmorph-sort-button/NmorphSortButton.vue.d.ts +28 -0
- package/dist/types/components/nmorph-tabs/NmorphTabs.vue.d.ts +47 -0
- package/dist/types/components/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +40 -0
- package/dist/types/components/nmorph-tabs/type.d.ts +11 -0
- package/dist/types/components/nmorph-tabs/utils.d.ts +3 -0
- package/dist/types/components/nmorph-tag/NmorphTag.vue.d.ts +5 -5
- package/dist/types/components/nmorph-tooltip/NmorphTooltip.vue.d.ts +5 -23
- package/dist/types/components/table/nmorph-table/NmorphTable.vue.d.ts +59 -0
- package/dist/types/components/table/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +30 -0
- package/dist/types/components/table/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +48 -0
- package/dist/types/components/table/types.d.ts +19 -0
- package/dist/types/components.d.ts +32 -2
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/useFieldValidation.d.ts +53 -0
- package/dist/types/hooks/useFormValidation.d.ts +10 -0
- package/dist/types/hooks/usePlacement.d.ts +17 -0
- package/dist/types/types/common.d.ts +77 -0
- package/dist/types/utils/create-modifiers.d.ts +4 -1
- package/dist/types/utils/deep-clone.d.ts +1 -0
- package/dist/types/utils/generateUUID.d.ts +1 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/dist/types/utils/is-string-html.d.ts +1 -0
- package/package.json +1 -1
- package/dist/styles/base/_transition.scss +0 -6
- package/dist/types/hooks/useValidation.d.ts +0 -55
- package/dist/types/types/common.enums.d.ts +0 -46
- /package/dist/types/components/inputs/nmorph-select-option/{types/index.d.ts → types.d.ts} +0 -0
- /package/dist/{styles/packages/style.scss → types/hooks/useEventManager.d.ts} +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
interface IProps {
|
|
3
|
+
right?: number;
|
|
4
|
+
bottom?: number;
|
|
5
|
+
visibilityHeight?: number;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
8
|
+
right: number;
|
|
9
|
+
bottom: number;
|
|
10
|
+
visibilityHeight: number;
|
|
11
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
click: () => void;
|
|
13
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
14
|
+
right: number;
|
|
15
|
+
bottom: number;
|
|
16
|
+
visibilityHeight: number;
|
|
17
|
+
}>>> & {
|
|
18
|
+
onClick?: (() => any) | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
right: number;
|
|
21
|
+
bottom: number;
|
|
22
|
+
visibilityHeight: number;
|
|
23
|
+
}, {}>, {
|
|
24
|
+
default?(_: {}): any;
|
|
25
|
+
}>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type __VLS_WithDefaults<P, D> = {
|
|
37
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
+
default: D[K];
|
|
39
|
+
}> : P[K];
|
|
40
|
+
};
|
|
41
|
+
type __VLS_Prettify<T> = {
|
|
42
|
+
[K in keyof T]: T[K];
|
|
43
|
+
} & {};
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
interface IProps {
|
|
3
|
+
value?: number | string;
|
|
4
|
+
max?: number;
|
|
5
|
+
isDot?: boolean;
|
|
6
|
+
hidden?: boolean;
|
|
7
|
+
color?: string;
|
|
8
|
+
offsetY?: number;
|
|
9
|
+
offsetX?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
12
|
+
value: string;
|
|
13
|
+
max: number;
|
|
14
|
+
isDot: boolean;
|
|
15
|
+
hidden: boolean;
|
|
16
|
+
color: string;
|
|
17
|
+
offsetX: number;
|
|
18
|
+
offsetY: number;
|
|
19
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
20
|
+
value: string;
|
|
21
|
+
max: number;
|
|
22
|
+
isDot: boolean;
|
|
23
|
+
hidden: boolean;
|
|
24
|
+
color: string;
|
|
25
|
+
offsetX: number;
|
|
26
|
+
offsetY: number;
|
|
27
|
+
}>>>, {
|
|
28
|
+
value: string | number;
|
|
29
|
+
color: string;
|
|
30
|
+
hidden: boolean;
|
|
31
|
+
max: number;
|
|
32
|
+
isDot: boolean;
|
|
33
|
+
offsetY: number;
|
|
34
|
+
offsetX: number;
|
|
35
|
+
}, {}>, {
|
|
36
|
+
default?(_: {}): any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type __VLS_WithDefaults<P, D> = {
|
|
49
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
50
|
+
default: D[K];
|
|
51
|
+
}> : P[K];
|
|
52
|
+
};
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
interface IProps {
|
|
3
|
+
separator?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
6
|
+
separator: string;
|
|
7
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
8
|
+
separator: string;
|
|
9
|
+
}>>>, {
|
|
10
|
+
separator: string;
|
|
11
|
+
}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { RouteLocationRaw } from 'vue-router';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { NmorphBreadcrumbItemProps } from '../../types';
|
|
4
|
+
interface IProps extends NmorphBreadcrumbItemProps {
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
7
|
+
to: string;
|
|
8
|
+
replace: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
10
|
+
to: string;
|
|
11
|
+
replace: boolean;
|
|
12
|
+
}>>>, {
|
|
13
|
+
replace: boolean;
|
|
14
|
+
to: RouteLocationRaw;
|
|
15
|
+
}, {}>, {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
export interface NmorphBreadcrumbItemProps {
|
|
4
|
+
to?: string | RouteLocationRaw;
|
|
5
|
+
replace?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface NmorphBreadcrumbInjectionItemWithId extends NmorphBreadcrumbItemProps {
|
|
8
|
+
itemId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface NmorphBreadcrumbInjection {
|
|
11
|
+
breadcrumbs: Ref<NmorphBreadcrumbInjectionItemWithId[]>;
|
|
12
|
+
breadcrumbId: string;
|
|
13
|
+
}
|
|
@@ -1,54 +1,47 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { NmorphCommonInputProps } from '../../types/common';
|
|
3
3
|
import { NmorphButtonType, NmorphButtonStyle } from './types';
|
|
4
|
-
interface IProps {
|
|
4
|
+
interface IProps extends NmorphCommonInputProps {
|
|
5
5
|
type?: keyof typeof NmorphButtonType;
|
|
6
|
-
|
|
7
|
-
fill?: boolean;
|
|
8
|
-
text?: string;
|
|
9
|
-
disabled?: boolean;
|
|
6
|
+
text?: string | number;
|
|
10
7
|
loading?: boolean;
|
|
11
8
|
styleType?: keyof typeof NmorphButtonStyle;
|
|
12
|
-
height?: keyof typeof ControlComponentHeight;
|
|
13
9
|
bgTransparentOnHover?: boolean;
|
|
14
10
|
ripple?: boolean;
|
|
15
11
|
}
|
|
16
12
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
17
|
-
type:
|
|
18
|
-
width: string;
|
|
13
|
+
type: string;
|
|
19
14
|
fill: boolean;
|
|
20
15
|
text: string;
|
|
21
16
|
disabled: boolean;
|
|
22
17
|
loading: boolean;
|
|
23
|
-
styleType:
|
|
24
|
-
height:
|
|
18
|
+
styleType: string;
|
|
19
|
+
height: string;
|
|
25
20
|
bgTransparentOnHover: boolean;
|
|
26
21
|
ripple: boolean;
|
|
27
22
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
23
|
click: () => void;
|
|
29
24
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
30
|
-
type:
|
|
31
|
-
width: string;
|
|
25
|
+
type: string;
|
|
32
26
|
fill: boolean;
|
|
33
27
|
text: string;
|
|
34
28
|
disabled: boolean;
|
|
35
29
|
loading: boolean;
|
|
36
|
-
styleType:
|
|
37
|
-
height:
|
|
30
|
+
styleType: string;
|
|
31
|
+
height: string;
|
|
38
32
|
bgTransparentOnHover: boolean;
|
|
39
33
|
ripple: boolean;
|
|
40
34
|
}>>> & {
|
|
41
35
|
onClick?: (() => any) | undefined;
|
|
42
36
|
}, {
|
|
37
|
+
fill: boolean;
|
|
38
|
+
type: "button" | "submit" | "reset";
|
|
39
|
+
text: string | number;
|
|
40
|
+
height: "thick" | "default" | "thin";
|
|
43
41
|
disabled: boolean;
|
|
42
|
+
loading: boolean;
|
|
44
43
|
styleType: "default" | "transparent";
|
|
45
|
-
fill: boolean;
|
|
46
|
-
type: "button" | "reset" | "submit";
|
|
47
|
-
text: string;
|
|
48
|
-
height: "default" | "thick" | "thin";
|
|
49
|
-
width: string;
|
|
50
44
|
bgTransparentOnHover: boolean;
|
|
51
|
-
loading: boolean;
|
|
52
45
|
ripple: boolean;
|
|
53
46
|
}, {}>, {
|
|
54
47
|
default?(_: {}): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { NmorphCalendarDateType, NmorphCalendarRange, NmorphDate, NmorphSelectedDateModel } from './types';
|
|
3
|
+
import { NmorphSelectionDateType } from '../inputs/nmorph-date-picker/components/types';
|
|
4
|
+
interface IProps {
|
|
5
|
+
markToday?: boolean;
|
|
6
|
+
initialDate?: Date;
|
|
7
|
+
modelValue?: NmorphDate;
|
|
8
|
+
range?: NmorphCalendarRange;
|
|
9
|
+
type?: keyof typeof NmorphSelectionDateType;
|
|
10
|
+
selectedValues?: NmorphSelectedDateModel;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
13
|
+
markToday: boolean;
|
|
14
|
+
initialDate: () => Date;
|
|
15
|
+
modelValue: null;
|
|
16
|
+
range: undefined;
|
|
17
|
+
type: string;
|
|
18
|
+
selectedValues: null;
|
|
19
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (date: NmorphDate) => void;
|
|
21
|
+
"update-initial-date": (date: Date) => void;
|
|
22
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
23
|
+
markToday: boolean;
|
|
24
|
+
initialDate: () => Date;
|
|
25
|
+
modelValue: null;
|
|
26
|
+
range: undefined;
|
|
27
|
+
type: string;
|
|
28
|
+
selectedValues: null;
|
|
29
|
+
}>>> & {
|
|
30
|
+
"onUpdate:modelValue"?: ((date: NmorphDate) => any) | undefined;
|
|
31
|
+
"onUpdate-initial-date"?: ((date: Date) => any) | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
type: "date" | "dates" | "daterange";
|
|
34
|
+
modelValue: NmorphDate;
|
|
35
|
+
range: [Date, Date];
|
|
36
|
+
initialDate: Date;
|
|
37
|
+
selectedValues: NmorphSelectedDateModel;
|
|
38
|
+
markToday: boolean;
|
|
39
|
+
}, {}>, {
|
|
40
|
+
header?(_: {}): any;
|
|
41
|
+
content?(_: {}): any;
|
|
42
|
+
"date-cell"?(_: {
|
|
43
|
+
scope: {
|
|
44
|
+
selected: boolean;
|
|
45
|
+
monthType: NmorphCalendarDateType;
|
|
46
|
+
value: number;
|
|
47
|
+
isToday: boolean;
|
|
48
|
+
date: Date;
|
|
49
|
+
hidden: boolean;
|
|
50
|
+
};
|
|
51
|
+
}): any;
|
|
52
|
+
}>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
56
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
58
|
+
} : {
|
|
59
|
+
type: PropType<T[K]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
type __VLS_WithDefaults<P, D> = {
|
|
64
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
65
|
+
default: D[K];
|
|
66
|
+
}> : P[K];
|
|
67
|
+
};
|
|
68
|
+
type __VLS_Prettify<T> = {
|
|
69
|
+
[K in keyof T]: T[K];
|
|
70
|
+
} & {};
|
|
71
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
interface IProps {
|
|
3
|
+
year: number;
|
|
4
|
+
month: number;
|
|
5
|
+
showPreviousMonthButton: boolean;
|
|
6
|
+
showNextMonthButton: boolean;
|
|
7
|
+
showTodayButton: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
+
"click-previous-month": () => void;
|
|
11
|
+
"click-today": () => void;
|
|
12
|
+
"click-next-month": () => void;
|
|
13
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {}>>> & {
|
|
14
|
+
"onClick-previous-month"?: (() => any) | undefined;
|
|
15
|
+
"onClick-today"?: (() => any) | undefined;
|
|
16
|
+
"onClick-next-month"?: (() => any) | undefined;
|
|
17
|
+
}, {}, {}>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const monthNames: string[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type NmorphCalendarDateType = 'current' | 'previous' | 'next';
|
|
2
|
+
export interface NmorphCalendarDate {
|
|
3
|
+
monthType: NmorphCalendarDateType;
|
|
4
|
+
value: number;
|
|
5
|
+
isToday: boolean;
|
|
6
|
+
date: Date;
|
|
7
|
+
hidden: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type NmorphCalendarRange = [Date, Date] | undefined;
|
|
10
|
+
export type NmorphCalendarDates = NmorphCalendarDate[];
|
|
11
|
+
export type NmorphDate = Date | null;
|
|
12
|
+
export type NmorphSelectedDateModel = NmorphDate | NmorphDate[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NmorphCalendarDates, NmorphCalendarRange, NmorphSelectedDateModel } from './types';
|
|
2
|
+
import { Ref } from 'vue';
|
|
3
|
+
export declare const getDecadeYears: (year: number) => number[];
|
|
4
|
+
export declare const formatDateIntl: (date: NmorphSelectedDateModel) => string | (string | null)[] | undefined;
|
|
5
|
+
export declare const hasAnyRangeDateInPrevMonth: (currentDate: Date, prevMonthRange: Date) => boolean;
|
|
6
|
+
export declare const hasAnyRangeDateInNextMonth: (currentDate: Date, nextMonthRange: Date) => boolean;
|
|
7
|
+
export declare const isTodayInRange: (range: NmorphCalendarRange) => boolean;
|
|
8
|
+
export declare const getMonthName: (monthIndex: number) => string;
|
|
9
|
+
export declare const getMonthDaysByWeek: (selectedDate: Ref<Date>, range: NmorphCalendarRange | undefined) => NmorphCalendarDates[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { NmorphShadowType } from '../../types/common';
|
|
3
3
|
interface IProps {
|
|
4
|
-
shadowType?: keyof typeof
|
|
4
|
+
shadowType?: keyof typeof NmorphShadowType;
|
|
5
5
|
}
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
7
|
-
shadowType:
|
|
7
|
+
shadowType: NmorphShadowType;
|
|
8
8
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
9
|
-
shadowType:
|
|
9
|
+
shadowType: NmorphShadowType;
|
|
10
10
|
}>>>, {
|
|
11
11
|
shadowType: "inset" | "outset" | "combined";
|
|
12
12
|
}, {}>, {
|
|
@@ -1,3 +1,40 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
interface IProps {
|
|
3
|
+
loop?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
6
|
+
loop: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
change: (value: number) => void;
|
|
9
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
10
|
+
loop: boolean;
|
|
11
|
+
}>>> & {
|
|
12
|
+
onChange?: ((value: number) => any) | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
loop: boolean;
|
|
15
|
+
}, {}>, {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
}>;
|
|
3
18
|
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
interface IProps {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {}>>>, {}, {}>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_WithDefaults<P, D> = {
|
|
19
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
20
|
+
default: D[K];
|
|
21
|
+
}> : P[K];
|
|
22
|
+
};
|
|
23
|
+
type __VLS_Prettify<T> = {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} & {};
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { NmorphCollapseModel } from './types';
|
|
3
|
+
interface IProps {
|
|
4
|
+
modelValue: NmorphCollapseModel;
|
|
5
|
+
accordion?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
8
|
+
accordion: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: NmorphCollapseModel) => void;
|
|
11
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
12
|
+
accordion: boolean;
|
|
13
|
+
}>>> & {
|
|
14
|
+
"onUpdate:modelValue"?: ((value: NmorphCollapseModel) => any) | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
accordion: boolean;
|
|
17
|
+
}, {}>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { NmorphCollapseItemProps } from '../../types';
|
|
3
|
+
import { NmorphComponentHeight } from '../../../../types/common';
|
|
4
|
+
interface IProps extends NmorphCollapseItemProps {
|
|
5
|
+
height?: keyof typeof NmorphComponentHeight;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
8
|
+
height: string;
|
|
9
|
+
title: string;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
"click-item": (data: {
|
|
13
|
+
id: string;
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
}) => void;
|
|
16
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
17
|
+
height: string;
|
|
18
|
+
title: string;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
}>>> & {
|
|
21
|
+
"onClick-item"?: ((data: {
|
|
22
|
+
id: string;
|
|
23
|
+
isOpen: boolean;
|
|
24
|
+
}) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
title: string;
|
|
27
|
+
height: "thick" | "default" | "thin";
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
}, {}>, {
|
|
30
|
+
title?(_: {}): any;
|
|
31
|
+
default?(_: {}): any;
|
|
32
|
+
}>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
interface IProps {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
7
|
+
modelValue: boolean;
|
|
8
|
+
title: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
+
"on-close": () => void;
|
|
11
|
+
"update:modelValue": (value: boolean) => void;
|
|
12
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
13
|
+
modelValue: boolean;
|
|
14
|
+
title: string;
|
|
15
|
+
}>>> & {
|
|
16
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
"onOn-close"?: (() => any) | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
title: string;
|
|
20
|
+
modelValue: boolean;
|
|
21
|
+
}, {}>, {
|
|
22
|
+
header?(_: {}): any;
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|