@nmorph/nmorph-ui-kit 3.0.16 → 3.0.17
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/basic/nmorph-layout/NmorphLayout.vue.js +32 -29
- package/dist/components/basic/nmorph-layout/NmorphLayout.vue2.js +13 -11
- package/dist/components/basic/nmorph-space/NmorphSpace.vue.js +18 -15
- package/dist/components/basic/nmorph-space/NmorphSpace.vue2.js +19 -17
- package/dist/components/basic/nmorph-text/NmorphText.vue.js +21 -18
- package/dist/components/basic/nmorph-text/NmorphText.vue2.js +22 -14
- package/dist/components/data/nmorph-card/NmorphCard.vue.js +36 -33
- package/dist/components/data/nmorph-card/NmorphCard.vue2.js +22 -20
- package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.js +23 -26
- package/dist/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue2.js +21 -19
- package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue.js +40 -43
- package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue2.js +55 -54
- package/dist/components/feedback/nmorph-callout/NmorphCallout.vue.js +37 -34
- package/dist/components/feedback/nmorph-callout/NmorphCallout.vue2.js +22 -14
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue.js +21 -23
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue2.js +32 -30
- package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue.js +16 -18
- package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue2.js +32 -30
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue.js +37 -39
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue2.js +26 -21
- package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue.js +13 -14
- package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue2.js +34 -29
- package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.js +24 -29
- package/dist/components/others/nmorph-overlay/NmorphOverlay.vue2.js +38 -36
- package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.js +29 -32
- package/dist/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue2.js +47 -45
- package/dist/hooks/use-common-styles.js +16 -4
- package/dist/index.umd.js +39 -27
- package/dist/outside-hooks/use-nmorph-theme.js +1 -1
- package/dist/package.json.js +1 -1
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +6 -6
- package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +1 -1
- package/dist/src/components/basic/nmorph-layout/NmorphLayout.vue.d.ts +7 -1
- package/dist/src/components/basic/nmorph-link/NmorphLink.vue.d.ts +3 -3
- package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +3 -3
- package/dist/src/components/basic/nmorph-space/NmorphSpace.vue.d.ts +3 -3
- package/dist/src/components/basic/nmorph-text/NmorphText.vue.d.ts +6 -3
- package/dist/src/components/basic/nmorph-text/types.d.ts +3 -0
- package/dist/src/components/data/nmorph-audio-preview/NmorphAudioPreview.vue.d.ts +4 -4
- package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +4 -4
- package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +6 -2
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-emoji-picker/NmorphEmojiPicker.vue.d.ts +2 -2
- package/dist/src/components/data/nmorph-empty/NmorphEmpty.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-file-card/NmorphFileCard.vue.d.ts +4 -4
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-preview-portal/NmorphPreviewPortal.vue.d.ts +2 -2
- package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-video-preview/NmorphVideoPreview.vue.d.ts +4 -4
- package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-callout/NmorphCallout.vue.d.ts +7 -3
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +4 -1
- package/dist/src/components/feedback/nmorph-drawer/NmorphDrawer.vue.d.ts +6 -2
- package/dist/src/components/feedback/nmorph-guide/NmorphGuide.vue.d.ts +2 -2
- package/dist/src/components/feedback/nmorph-guide/NmorphGuideStep.vue.d.ts +2 -2
- package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-color-picker/NmorphColorPicker.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +3 -3
- package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-otp-input/NmorphOTPInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +3 -3
- package/dist/src/components/form/nmorph-select-button/NmorphSelectButton.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +9 -9
- package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-textarea/NmorphTextarea.vue.d.ts +1 -1
- package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-context-menu/NmorphContextMenu.vue.d.ts +3 -3
- package/dist/src/components/navigation/nmorph-stepper/NmorphStepper.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +1 -1
- package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +1 -1
- package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +1 -1
- package/dist/src/outside-hooks/use-nmorph-notification.d.ts +2 -2
- package/dist/src/utils/attrs.d.ts +5 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/utils/attrs.js +15 -0
- package/package.json +1 -1
package/dist/package.json.js
CHANGED
|
@@ -8,22 +8,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphButtonPr
|
|
|
8
8
|
"onUpdate:model-value"?: (val: boolean) => any;
|
|
9
9
|
}>, {
|
|
10
10
|
fill: boolean;
|
|
11
|
+
color: string;
|
|
12
|
+
text: string | number;
|
|
13
|
+
active: boolean;
|
|
14
|
+
disabled: boolean;
|
|
11
15
|
design: "nmorph" | "plain";
|
|
12
16
|
borderless: boolean;
|
|
13
|
-
color: string;
|
|
14
17
|
loading: boolean;
|
|
15
18
|
ripple: boolean;
|
|
16
|
-
type: "button" | "
|
|
17
|
-
text: string | number;
|
|
19
|
+
type: "button" | "reset" | "submit";
|
|
18
20
|
accentBgOnHover: boolean;
|
|
19
|
-
shape: "
|
|
21
|
+
shape: "round" | "default" | "square" | "circle";
|
|
20
22
|
tabindex: number;
|
|
21
23
|
toggle: boolean;
|
|
22
24
|
modelValue: boolean;
|
|
23
|
-
active: boolean;
|
|
24
25
|
danger: boolean;
|
|
25
26
|
thickness: "basic" | "thick" | "thin";
|
|
26
|
-
disabled: boolean;
|
|
27
27
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
28
28
|
buttonDOMElement: HTMLButtonElement;
|
|
29
29
|
}, HTMLDivElement>, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { INmorphIconProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphIconProps> & Readonly<{}>, {
|
|
4
|
-
size: "
|
|
4
|
+
size: "medium" | "large" | "small";
|
|
5
5
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
6
6
|
default?(_: {}): any;
|
|
7
7
|
}>;
|
|
@@ -6,7 +6,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphLayoutPr
|
|
|
6
6
|
asideWidth: string | number;
|
|
7
7
|
asidePosition: NmorphLayoutAsidePositionType;
|
|
8
8
|
fullHeight: boolean;
|
|
9
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>,
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
10
|
+
header?(_: {}): any;
|
|
11
|
+
aside?(_: {}): any;
|
|
12
|
+
aside?(_: {}): any;
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
footer?(_: {}): any;
|
|
15
|
+
}>;
|
|
10
16
|
export default _default;
|
|
11
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
18
|
new (): {
|
|
@@ -4,11 +4,11 @@ import { NmorphLinkReferrerPolicy } from '../..';
|
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphLinkProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphLinkProps> & Readonly<{}>, {
|
|
5
5
|
title: string;
|
|
6
6
|
color: string;
|
|
7
|
-
type: "error" | "accent" | "success" | "warning";
|
|
8
7
|
text: string;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
target: "self" | "blank" | "parent" | "top";
|
|
11
8
|
underline: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
type: "error" | "accent" | "success" | "warning";
|
|
11
|
+
target: "top" | "self" | "blank" | "parent";
|
|
12
12
|
href: string;
|
|
13
13
|
rel: string;
|
|
14
14
|
referrerpolicy: NmorphLinkReferrerPolicy;
|
|
@@ -16,9 +16,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphScrollPr
|
|
|
16
16
|
height: string;
|
|
17
17
|
gap: string | number;
|
|
18
18
|
maxHeight: string;
|
|
19
|
-
scrollYProp: "
|
|
20
|
-
scrollXProp: "
|
|
21
|
-
cssScrollBehavior: "
|
|
19
|
+
scrollYProp: "auto" | "hidden" | "scroll";
|
|
20
|
+
scrollXProp: "auto" | "hidden" | "scroll";
|
|
21
|
+
cssScrollBehavior: "inherit" | "initial" | "unset" | "auto" | "smooth";
|
|
22
22
|
scrollEndDelay: number;
|
|
23
23
|
updateOnlyOnScrollEnd: boolean;
|
|
24
24
|
yBarWidthInPx: number;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { INmorphSpaceProps, NmorphSpaceSizeType, NmorphSpaceDirectionType, NmorphSpaceAlignType
|
|
1
|
+
import { INmorphSpaceProps, NmorphSpaceSizeType, NmorphSpaceJustifyType, NmorphSpaceDirectionType, NmorphSpaceAlignType } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphSpaceProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphSpaceProps> & Readonly<{}>, {
|
|
4
4
|
inline: boolean;
|
|
5
5
|
fill: boolean;
|
|
6
6
|
size: NmorphSpaceSizeType;
|
|
7
|
+
wrap: boolean;
|
|
8
|
+
justify: NmorphSpaceJustifyType;
|
|
7
9
|
tag: string;
|
|
8
10
|
direction: NmorphSpaceDirectionType;
|
|
9
11
|
align: NmorphSpaceAlignType;
|
|
10
|
-
justify: NmorphSpaceJustifyType;
|
|
11
|
-
wrap: boolean;
|
|
12
12
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
13
13
|
default?(_: {}): any;
|
|
14
14
|
}>;
|
|
@@ -3,12 +3,15 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphTextProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphTextProps> & Readonly<{}>, {
|
|
4
4
|
color: string;
|
|
5
5
|
text: string | number;
|
|
6
|
-
|
|
6
|
+
nowrap: boolean;
|
|
7
|
+
italic: boolean;
|
|
8
|
+
weight: "medium" | "bold" | "regular" | "semibold" | "extrabold";
|
|
9
|
+
align: "inherit" | "center" | "left" | "right" | "justify";
|
|
7
10
|
as: NmorphTextTag;
|
|
8
11
|
variant: "body" | "caption" | "body-small" | "body-large" | "label" | "title-small" | "title" | "title-large" | "display-large" | "display-medium" | "control-large" | "control" | "control-small" | "control-tiny";
|
|
9
|
-
|
|
12
|
+
selectable: boolean;
|
|
13
|
+
noLineHeight: boolean;
|
|
10
14
|
truncate: boolean;
|
|
11
|
-
nowrap: boolean;
|
|
12
15
|
lineClamp: number;
|
|
13
16
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
14
17
|
default?(_: {}): any;
|
|
@@ -7,6 +7,9 @@ export interface INmorphTextProps {
|
|
|
7
7
|
weight?: NmorphTypographyWeightType;
|
|
8
8
|
color?: NmorphTypographyColorType | string;
|
|
9
9
|
align?: NmorphTextAlignType;
|
|
10
|
+
selectable?: boolean;
|
|
11
|
+
italic?: boolean;
|
|
12
|
+
noLineHeight?: boolean;
|
|
10
13
|
truncate?: boolean;
|
|
11
14
|
nowrap?: boolean;
|
|
12
15
|
lineClamp?: number;
|
|
@@ -4,19 +4,20 @@ import { NmorphAudioPreviewSurface } from '../..';
|
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphAudioPreviewProps, {
|
|
5
5
|
audioRef: Ref<HTMLAudioElement, HTMLAudioElement>;
|
|
6
6
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
|
+
open: () => any;
|
|
7
8
|
error: (val: Event) => any;
|
|
8
9
|
pause: (val: Event) => any;
|
|
9
10
|
play: (val: Event) => any;
|
|
10
11
|
download: () => any;
|
|
11
|
-
open: () => any;
|
|
12
12
|
}, string, PublicProps, Readonly<INmorphAudioPreviewProps> & Readonly<{
|
|
13
|
+
onOpen?: () => any;
|
|
13
14
|
onError?: (val: Event) => any;
|
|
14
15
|
onPause?: (val: Event) => any;
|
|
15
16
|
onPlay?: (val: Event) => any;
|
|
16
17
|
onDownload?: () => any;
|
|
17
|
-
onOpen?: () => any;
|
|
18
18
|
}>, {
|
|
19
19
|
name: string;
|
|
20
|
+
compact: boolean;
|
|
20
21
|
loading: boolean;
|
|
21
22
|
error: boolean;
|
|
22
23
|
width: string | number;
|
|
@@ -25,8 +26,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphAudioPre
|
|
|
25
26
|
embedded: boolean;
|
|
26
27
|
showIcon: boolean;
|
|
27
28
|
showHeader: boolean;
|
|
28
|
-
|
|
29
|
-
preload: "metadata" | "auto" | "none";
|
|
29
|
+
preload: "auto" | "none" | "metadata";
|
|
30
30
|
downloadHref: string;
|
|
31
31
|
errorText: string;
|
|
32
32
|
showPlaybackButton: boolean;
|
|
@@ -8,10 +8,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphAvatarPr
|
|
|
8
8
|
onLoad?: (event: Event) => any;
|
|
9
9
|
}>, {
|
|
10
10
|
name: string;
|
|
11
|
+
size: number;
|
|
11
12
|
design: "nmorph" | "plain";
|
|
12
13
|
borderless: boolean;
|
|
13
14
|
shape: "square" | "circle";
|
|
14
|
-
size: number;
|
|
15
15
|
src: string | string[];
|
|
16
16
|
frameBorder: number;
|
|
17
17
|
imagePadding: number;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { INmorphBadgeProps, INmorphBadgeSlots,
|
|
1
|
+
import { INmorphBadgeProps, INmorphBadgeSlots, NmorphBadgeSize, NmorphBadgeType, NmorphBadgeRibbonCorner } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphBadgeProps> & Readonly<{}>, {
|
|
4
4
|
value: string | number;
|
|
5
|
+
hidden: boolean;
|
|
5
6
|
color: string;
|
|
6
|
-
type: NmorphBadgeType;
|
|
7
|
-
disabled: boolean;
|
|
8
7
|
size: NmorphBadgeSize;
|
|
9
|
-
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
type: NmorphBadgeType;
|
|
10
10
|
zIndex: number;
|
|
11
11
|
max: number;
|
|
12
12
|
ribbonCorner: NmorphBadgeRibbonCorner;
|
|
@@ -8,10 +8,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCalendar
|
|
|
8
8
|
"onUpdate:model-value"?: (date: NmorphSelectedDateModelType) => any;
|
|
9
9
|
"onUpdate-initial-date"?: (date: Date) => any;
|
|
10
10
|
}>, {
|
|
11
|
+
range: [Date, Date];
|
|
11
12
|
design: "nmorph" | "plain";
|
|
12
13
|
type: "date" | "dates" | "daterange";
|
|
13
14
|
modelValue: NmorphSelectedDateModelType;
|
|
14
|
-
range: [Date, Date];
|
|
15
15
|
markToday: boolean;
|
|
16
16
|
initialDate: Date;
|
|
17
17
|
cellHeight: string | number;
|
|
@@ -2,6 +2,7 @@ import { INmorphCardProps } from './types';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphCardProps> & Readonly<{}>, {
|
|
4
4
|
fill: boolean;
|
|
5
|
+
padding: string | number;
|
|
5
6
|
design: "nmorph" | "plain";
|
|
6
7
|
tag: string;
|
|
7
8
|
contentClass: string;
|
|
@@ -9,10 +10,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCardProp
|
|
|
9
10
|
shadowType: "inset" | "outset" | "combined" | "not-defined";
|
|
10
11
|
combinedShadowBorderWidth: number;
|
|
11
12
|
cardPadding: string | number;
|
|
12
|
-
padding: string | number;
|
|
13
13
|
contentPadding: string | number;
|
|
14
14
|
paper: number;
|
|
15
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>,
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
16
|
+
header?(_: {}): any;
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
footer?(_: {}): any;
|
|
19
|
+
}>;
|
|
16
20
|
export default _default;
|
|
17
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
22
|
new (): {
|
|
@@ -13,8 +13,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCollapse
|
|
|
13
13
|
}>, {
|
|
14
14
|
block: boolean;
|
|
15
15
|
title: string;
|
|
16
|
-
thickness: "basic" | "thick" | "thin";
|
|
17
16
|
disabled: boolean;
|
|
17
|
+
thickness: "basic" | "thick" | "thin";
|
|
18
18
|
transitionSpeed: string | number;
|
|
19
19
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
20
20
|
collapseItemDOMElContent: HTMLDivElement;
|
|
@@ -2,13 +2,13 @@ import { INmorphEmojiPickerI18n, INmorphEmojiPickerProps } from './types';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { NmorphEmojiPickerDataSource } from '../..';
|
|
4
4
|
declare const _default: DefineComponent<INmorphEmojiPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5
|
+
collapse: () => any;
|
|
5
6
|
select: (val: string) => any;
|
|
6
7
|
expand: () => any;
|
|
7
|
-
collapse: () => any;
|
|
8
8
|
}, string, PublicProps, Readonly<INmorphEmojiPickerProps> & Readonly<{
|
|
9
|
+
onCollapse?: () => any;
|
|
9
10
|
onSelect?: (val: string) => any;
|
|
10
11
|
onExpand?: () => any;
|
|
11
|
-
onCollapse?: () => any;
|
|
12
12
|
}>, {
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
width: string | number;
|
|
@@ -2,12 +2,12 @@ import { INmorphEmptyProps } from './types';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphEmptyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphEmptyProps> & Readonly<{}>, {
|
|
4
4
|
title: string;
|
|
5
|
+
padding: string | number;
|
|
5
6
|
design: "nmorph" | "plain";
|
|
6
7
|
ariaLabel: string;
|
|
7
8
|
minHeight: string | number;
|
|
8
9
|
role: string;
|
|
9
10
|
shadowType: "inset" | "outset" | "combined" | "not-defined";
|
|
10
|
-
padding: string | number;
|
|
11
11
|
description: string;
|
|
12
12
|
iconSize: string | number;
|
|
13
13
|
hideIcon: boolean;
|
|
@@ -2,21 +2,21 @@ import { INmorphFileCardProps } from './types';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { NmorphFileCardSurface, NmorphFileCardPreviewMode, NmorphFileCardMediaPreview } from '../..';
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphFileCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
5
|
+
open: () => any;
|
|
5
6
|
error: () => any;
|
|
6
7
|
download: () => any;
|
|
7
|
-
open: () => any;
|
|
8
8
|
}, string, PublicProps, Readonly<INmorphFileCardProps> & Readonly<{
|
|
9
|
+
onOpen?: () => any;
|
|
9
10
|
onError?: () => any;
|
|
10
11
|
onDownload?: () => any;
|
|
11
|
-
onOpen?: () => any;
|
|
12
12
|
}>, {
|
|
13
|
+
size: number;
|
|
14
|
+
compact: boolean;
|
|
13
15
|
loading: boolean;
|
|
14
16
|
error: boolean;
|
|
15
|
-
size: number;
|
|
16
17
|
height: string | number;
|
|
17
18
|
previewSrc: string;
|
|
18
19
|
surface: NmorphFileCardSurface;
|
|
19
|
-
compact: boolean;
|
|
20
20
|
downloadHref: string;
|
|
21
21
|
errorText: string;
|
|
22
22
|
showPlaybackButton: boolean;
|
|
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphImagePro
|
|
|
11
11
|
width: string | number;
|
|
12
12
|
height: string | number;
|
|
13
13
|
alt: string;
|
|
14
|
-
fit: "fill" | "none" | "
|
|
14
|
+
fit: "fill" | "none" | "contain" | "cover" | "scale-down";
|
|
15
15
|
loadFailedText: string;
|
|
16
16
|
srcSet: string;
|
|
17
17
|
frameBorder: number;
|
|
@@ -5,10 +5,10 @@ declare const _default: DefineComponent<INmorphPaginationProps, {}, {}, {}, {},
|
|
|
5
5
|
}, string, PublicProps, Readonly<INmorphPaginationProps> & Readonly<{
|
|
6
6
|
"onUpdate:model-value"?: (currentPage: number) => any;
|
|
7
7
|
}>, {
|
|
8
|
+
disabled: boolean;
|
|
8
9
|
loading: boolean;
|
|
9
10
|
modelValue: number;
|
|
10
11
|
thickness: "basic" | "thick" | "thin";
|
|
11
|
-
disabled: boolean;
|
|
12
12
|
width: string | number;
|
|
13
13
|
minWidth: string | number;
|
|
14
14
|
elementsQuantityOnPage: number;
|
|
@@ -15,13 +15,13 @@ type __VLS_Props = {
|
|
|
15
15
|
showActionBar?: boolean;
|
|
16
16
|
};
|
|
17
17
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
18
|
+
next: () => any;
|
|
18
19
|
close: () => any;
|
|
19
20
|
previous: () => any;
|
|
20
|
-
next: () => any;
|
|
21
21
|
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onNext?: () => any;
|
|
22
23
|
onClose?: () => any;
|
|
23
24
|
onPrevious?: () => any;
|
|
24
|
-
onNext?: () => any;
|
|
25
25
|
}>, {
|
|
26
26
|
zIndex: number;
|
|
27
27
|
rootClass: string;
|
|
@@ -11,8 +11,8 @@ declare const _default: <TTagItem extends INmorphTagItemProps = INmorphTagItemPr
|
|
|
11
11
|
design?: "nmorph" | "plain";
|
|
12
12
|
color?: string;
|
|
13
13
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: {
|
|
14
|
-
slots: Readonly<INmorphTagListSlots<TTagItem>> & INmorphTagListSlots<TTagItem>;
|
|
15
14
|
attrs: any;
|
|
15
|
+
slots: Readonly<INmorphTagListSlots<TTagItem>> & INmorphTagListSlots<TTagItem>;
|
|
16
16
|
emit: INmorphTagListEmit<TTagItem>;
|
|
17
17
|
}, __VLS_expose?: (exposed: ShallowUnwrapRef<{}>) => void, __VLS_setup?: Promise<{
|
|
18
18
|
props: {
|
package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphTagItemC
|
|
|
7
7
|
onClick?: (val: string) => any;
|
|
8
8
|
onClose?: (val: string) => any;
|
|
9
9
|
}>, {
|
|
10
|
-
design: "nmorph" | "plain";
|
|
11
10
|
color: string;
|
|
12
11
|
text: string;
|
|
12
|
+
design: "nmorph" | "plain";
|
|
13
13
|
thickness: "basic" | "thick" | "thin";
|
|
14
14
|
removable: boolean;
|
|
15
15
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -4,23 +4,24 @@ import { NmorphVideoPreviewFit, NmorphVideoPreviewSurface, NmorphVideoPreviewPre
|
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphVideoPreviewProps, {
|
|
5
5
|
videoRef: Ref<HTMLVideoElement, HTMLVideoElement>;
|
|
6
6
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
|
+
open: () => any;
|
|
7
8
|
error: (val: Event) => any;
|
|
8
9
|
pause: (val: Event) => any;
|
|
9
10
|
play: (val: Event) => any;
|
|
10
11
|
download: () => any;
|
|
11
|
-
open: () => any;
|
|
12
12
|
preview: () => any;
|
|
13
13
|
fullscreen: () => any;
|
|
14
14
|
}, string, PublicProps, Readonly<INmorphVideoPreviewProps> & Readonly<{
|
|
15
|
+
onOpen?: () => any;
|
|
15
16
|
onError?: (val: Event) => any;
|
|
16
17
|
onPause?: (val: Event) => any;
|
|
17
18
|
onPlay?: (val: Event) => any;
|
|
18
19
|
onDownload?: () => any;
|
|
19
|
-
onOpen?: () => any;
|
|
20
20
|
onPreview?: () => any;
|
|
21
21
|
onFullscreen?: () => any;
|
|
22
22
|
}>, {
|
|
23
23
|
name: string;
|
|
24
|
+
compact: boolean;
|
|
24
25
|
loading: boolean;
|
|
25
26
|
error: boolean;
|
|
26
27
|
width: string | number;
|
|
@@ -31,8 +32,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphVideoPre
|
|
|
31
32
|
durationMs: number;
|
|
32
33
|
surface: NmorphVideoPreviewSurface;
|
|
33
34
|
embedded: boolean;
|
|
34
|
-
|
|
35
|
-
preload: "metadata" | "auto" | "none";
|
|
35
|
+
preload: "auto" | "none" | "metadata";
|
|
36
36
|
downloadHref: string;
|
|
37
37
|
errorText: string;
|
|
38
38
|
showPlaybackButton: boolean;
|
|
@@ -7,12 +7,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphAlertCom
|
|
|
7
7
|
}>, {
|
|
8
8
|
title: string;
|
|
9
9
|
fill: boolean;
|
|
10
|
+
content: string;
|
|
10
11
|
html: string;
|
|
11
12
|
type: "error" | "success" | "warning" | "info";
|
|
12
13
|
id: string;
|
|
13
14
|
showIcon: boolean;
|
|
14
15
|
bordered: boolean;
|
|
15
|
-
content: string;
|
|
16
16
|
backgroundColor: string;
|
|
17
17
|
closable: boolean;
|
|
18
18
|
closeIconPosition: string;
|
|
@@ -3,6 +3,8 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCalloutProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphCalloutProps> & Readonly<{}>, {
|
|
4
4
|
title: string;
|
|
5
5
|
color: string;
|
|
6
|
+
content: string;
|
|
7
|
+
padding: string | number;
|
|
6
8
|
type: NmorphCalloutType;
|
|
7
9
|
target: NmorphCalloutTarget;
|
|
8
10
|
href: string;
|
|
@@ -12,14 +14,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCalloutP
|
|
|
12
14
|
download: string | boolean;
|
|
13
15
|
ariaLabel: string;
|
|
14
16
|
as: keyof HTMLElementTagNameMap;
|
|
15
|
-
padding: string | number;
|
|
16
|
-
content: string;
|
|
17
17
|
borderRadius: string | number;
|
|
18
18
|
accentWidth: string | number;
|
|
19
19
|
titleGap: string | number;
|
|
20
20
|
titleFontSize: string | number;
|
|
21
21
|
contentFontSize: string | number;
|
|
22
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>,
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
23
|
+
header?(_: {}): any;
|
|
24
|
+
title?(_: {}): any;
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
}>;
|
|
23
27
|
export default _default;
|
|
24
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
29
|
new (): {
|
|
@@ -18,7 +18,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphDialogPr
|
|
|
18
18
|
closeDelay: number;
|
|
19
19
|
showClose: boolean;
|
|
20
20
|
closeOnOverlay: boolean;
|
|
21
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>,
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
22
|
+
header?(_: {}): any;
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
}>;
|
|
22
25
|
export default _default;
|
|
23
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
27
|
new (): {
|
|
@@ -9,8 +9,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphDrawerPr
|
|
|
9
9
|
"onOn-close"?: () => any;
|
|
10
10
|
}>, {
|
|
11
11
|
title: string;
|
|
12
|
-
modelValue: boolean;
|
|
13
12
|
size: string | number;
|
|
13
|
+
modelValue: boolean;
|
|
14
14
|
zIndex: number;
|
|
15
15
|
contentClass: string;
|
|
16
16
|
teleportTo: string | HTMLElement;
|
|
@@ -19,7 +19,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphDrawerPr
|
|
|
19
19
|
showClose: boolean;
|
|
20
20
|
closeOnOverlay: boolean;
|
|
21
21
|
placement: NmorphDrawerPlacementType;
|
|
22
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>,
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
23
|
+
header?(_: {}): any;
|
|
24
|
+
default?(_: {}): any;
|
|
25
|
+
footer?(_: {}): any;
|
|
26
|
+
}>;
|
|
23
27
|
export default _default;
|
|
24
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
29
|
new (): {
|
|
@@ -8,17 +8,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphGuidePro
|
|
|
8
8
|
goToStep: (name: NmorphGuideStepName) => void;
|
|
9
9
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
10
|
"update:model-value": (value: boolean) => any;
|
|
11
|
+
next: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
11
12
|
change: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
12
13
|
close: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
13
|
-
next: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
14
14
|
"update:active-step": (value: NmorphGuideStepName) => any;
|
|
15
15
|
back: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
16
16
|
finish: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
17
17
|
}, string, PublicProps, Readonly<INmorphGuideProps> & Readonly<{
|
|
18
18
|
"onUpdate:model-value"?: (value: boolean) => any;
|
|
19
|
+
onNext?: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
19
20
|
onChange?: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
20
21
|
onClose?: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
21
|
-
onNext?: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
22
22
|
"onUpdate:active-step"?: (value: NmorphGuideStepName) => any;
|
|
23
23
|
onBack?: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
24
24
|
onFinish?: (step: INmorphGuideResolvedStep, index: number) => any;
|
|
@@ -4,12 +4,12 @@ import { NmorphPlacementType } from '../../../types';
|
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphGuideStepProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphGuideStepProps> & Readonly<{}>, {
|
|
5
5
|
title: string;
|
|
6
6
|
text: string;
|
|
7
|
+
position: NmorphPlacementType;
|
|
7
8
|
disabled: boolean;
|
|
8
9
|
imageSrc: string;
|
|
9
10
|
order: number;
|
|
10
|
-
position: NmorphPlacementType;
|
|
11
11
|
imageAlt: string;
|
|
12
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
12
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, Readonly<INmorphGuideStepSlots> & INmorphGuideStepSlots>;
|
|
13
13
|
export default _default;
|
|
14
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
15
|
new (): {
|
|
@@ -8,6 +8,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphTooltipP
|
|
|
8
8
|
toggle: () => void;
|
|
9
9
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphTooltipProps> & Readonly<{}>, {
|
|
10
10
|
text: string;
|
|
11
|
+
position: NmorphPlacementType;
|
|
12
|
+
touch: NmorphTooltipTouchBehavior;
|
|
11
13
|
disabled: boolean;
|
|
12
14
|
width: string | number;
|
|
13
15
|
height: string | number;
|
|
@@ -15,8 +17,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphTooltipP
|
|
|
15
17
|
contentClass: any;
|
|
16
18
|
teleportTo: string | HTMLElement;
|
|
17
19
|
disabledTeleport: boolean;
|
|
18
|
-
position: NmorphPlacementType;
|
|
19
|
-
touch: NmorphTooltipTouchBehavior;
|
|
20
20
|
maxWidth: string | number;
|
|
21
21
|
openDelay: number;
|
|
22
22
|
closeDelay: number;
|
|
@@ -9,9 +9,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphAutocomp
|
|
|
9
9
|
onSelect?: (value: unknown) => any;
|
|
10
10
|
}>, {
|
|
11
11
|
list: INmorphAutocompleteListItem[];
|
|
12
|
+
disabled: boolean;
|
|
12
13
|
modelValue: string;
|
|
13
14
|
thickness: "basic" | "thick" | "thin";
|
|
14
|
-
disabled: boolean;
|
|
15
15
|
placeholder: string;
|
|
16
16
|
zIndex: number;
|
|
17
17
|
virtual: boolean;
|
|
@@ -11,9 +11,9 @@ declare const _default: DefineComponent<INmorphColorPickerProps, {
|
|
|
11
11
|
onBlur?: () => any;
|
|
12
12
|
onFocus?: () => any;
|
|
13
13
|
}>, {
|
|
14
|
+
disabled: boolean;
|
|
14
15
|
modelValue: string;
|
|
15
16
|
thickness: "basic" | "thick" | "thin";
|
|
16
|
-
disabled: boolean;
|
|
17
17
|
showValue: boolean;
|
|
18
18
|
displayFormat: "hex" | "rgb" | "hsl";
|
|
19
19
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
@@ -6,10 +6,10 @@ declare const _default: DefineComponent<INmorphDatePickerProps, {}, {}, {}, {},
|
|
|
6
6
|
}, string, PublicProps, Readonly<INmorphDatePickerProps> & Readonly<{
|
|
7
7
|
"onUpdate:model-value"?: (modelValue: NmorphSelectedDateModelType) => any;
|
|
8
8
|
}>, {
|
|
9
|
+
disabled: boolean;
|
|
9
10
|
type: "date" | "dates" | "daterange";
|
|
10
11
|
modelValue: NmorphSelectedDateModelType;
|
|
11
12
|
thickness: "basic" | "thick" | "thin";
|
|
12
|
-
disabled: boolean;
|
|
13
13
|
width: string | number;
|
|
14
14
|
placeholder: string;
|
|
15
15
|
zIndex: number;
|
|
@@ -12,11 +12,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphFileUplo
|
|
|
12
12
|
"onOn-unsupported-file-type-error"?: (val: string) => any;
|
|
13
13
|
"onOn-file-validation-error"?: (val: INmorphFileUploadValidationError) => any;
|
|
14
14
|
}>, {
|
|
15
|
-
modelValue: INmorphCustomFileData[];
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
compact: boolean;
|
|
18
15
|
layout: "list" | "grid" | "inline";
|
|
16
|
+
compact: boolean;
|
|
19
17
|
multiple: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
modelValue: INmorphCustomFileData[];
|
|
20
20
|
allowedTypes: string[];
|
|
21
21
|
photoWithPreview: boolean;
|
|
22
22
|
buttonText: string;
|
|
@@ -7,9 +7,9 @@ declare const _default: DefineComponent<INmorphNumberInputProps, {
|
|
|
7
7
|
}, string, PublicProps, Readonly<INmorphNumberInputProps> & Readonly<{
|
|
8
8
|
"onUpdate:model-value"?: (val: number) => any;
|
|
9
9
|
}>, {
|
|
10
|
+
disabled: boolean;
|
|
10
11
|
modelValue: number;
|
|
11
12
|
thickness: "basic" | "thick" | "thin";
|
|
12
|
-
disabled: boolean;
|
|
13
13
|
min: number;
|
|
14
14
|
max: number;
|
|
15
15
|
step: number;
|
|
@@ -16,9 +16,9 @@ declare const _default: DefineComponent<INmorphOTPInputProps, {
|
|
|
16
16
|
onComplete?: (val: string) => any;
|
|
17
17
|
}>, {
|
|
18
18
|
length: number;
|
|
19
|
+
disabled: boolean;
|
|
19
20
|
modelValue: string;
|
|
20
21
|
thickness: "basic" | "thick" | "thin";
|
|
21
|
-
disabled: boolean;
|
|
22
22
|
mode: NmorphOtpInputMode;
|
|
23
23
|
autofocus: boolean;
|
|
24
24
|
autocapitalize: string;
|