@nexxtmove/ui 1.2.4 → 1.2.5
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/Header/Header.vue.d.ts +7 -4
- package/dist/components/StepperHeader/StepperHeader.vue.d.ts +8 -3
- package/dist/components/TimelineEvent/TimelineTypes.d.ts +16 -9
- package/dist/components/TimelineLanes/TimelineLanes.vue.d.ts +16 -0
- package/dist/components/TimelineTrack/TimelineTrack.vue.d.ts +36 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +971 -856
- package/dist/nuxt.js +3 -1
- package/package.json +1 -1
- package/src/components/Header/Header.vue +8 -2
- package/src/components/StepperHeader/StepperHeader.vue +8 -1
- package/src/components/TimelineEvent/TimelineEvent.vue +13 -2
- package/src/components/TimelineEvent/TimelineTypes.ts +41 -9
- package/src/components/TimelineLanes/TimelineLanes.vue +50 -0
- package/src/components/TimelinePhaseblock/TimelinePhaseblock.vue +2 -21
- package/src/components/TimelineTrack/TimelineTrack.vue +67 -0
- package/src/components.json +2 -0
- package/src/index.ts +10 -0
- package/src/nuxt.ts +6 -3
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
interface NexxtHeaderProps {
|
|
2
|
-
title
|
|
2
|
+
/** Optional when the title slot is used. */
|
|
3
|
+
title?: string;
|
|
3
4
|
headingType?: 'heading-1' | 'heading-2' | 'heading-3' | 'heading-4';
|
|
4
5
|
backButtonText?: string;
|
|
5
6
|
backButtonAction?: () => void;
|
|
6
7
|
}
|
|
7
|
-
declare var __VLS_1: {}, __VLS_11: {}, __VLS_13: {};
|
|
8
|
+
declare var __VLS_1: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
|
|
8
9
|
type __VLS_Slots = {} & {
|
|
9
10
|
'back-button'?: (props: typeof __VLS_1) => any;
|
|
10
11
|
} & {
|
|
11
|
-
|
|
12
|
+
title?: (props: typeof __VLS_11) => any;
|
|
12
13
|
} & {
|
|
13
|
-
|
|
14
|
+
center?: (props: typeof __VLS_13) => any;
|
|
15
|
+
} & {
|
|
16
|
+
right?: (props: typeof __VLS_15) => any;
|
|
14
17
|
};
|
|
15
18
|
declare const __VLS_base: import('vue').DefineComponent<NexxtHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NexxtHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { default as Header } from '../Header/Header.vue';
|
|
2
2
|
import { default as ProgressBar } from '../ProgressBar/ProgressBar.vue';
|
|
3
3
|
interface NexxtStepperHeaderProps {
|
|
4
|
-
title
|
|
4
|
+
/** Optional when the title slot is used. */
|
|
5
|
+
title?: string;
|
|
5
6
|
currentStep: InstanceType<typeof ProgressBar>['currentStep'];
|
|
6
7
|
steps: InstanceType<typeof ProgressBar>['stepTitles'];
|
|
7
8
|
backButtonText?: InstanceType<typeof Header>['backButtonText'];
|
|
8
9
|
backButtonAction: InstanceType<typeof Header>['backButtonAction'];
|
|
9
10
|
}
|
|
10
|
-
declare var
|
|
11
|
+
declare var __VLS_9: {}, __VLS_12: {}, __VLS_23: {};
|
|
11
12
|
type __VLS_Slots = {} & {
|
|
12
|
-
|
|
13
|
+
'back-button'?: (props: typeof __VLS_9) => any;
|
|
14
|
+
} & {
|
|
15
|
+
title?: (props: typeof __VLS_12) => any;
|
|
16
|
+
} & {
|
|
17
|
+
default?: (props: typeof __VLS_23) => any;
|
|
13
18
|
};
|
|
14
19
|
declare const __VLS_base: import('vue').DefineComponent<NexxtStepperHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
20
|
"update:currentStep": (...args: any[]) => void;
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
export interface TimelineEvent {
|
|
2
|
-
id: number;
|
|
2
|
+
id: string | number;
|
|
3
3
|
type: string;
|
|
4
4
|
happened_at: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
/** Required when the event is rendered in split view ('outbound' | 'inbound'). */
|
|
6
|
+
direction?: string;
|
|
7
|
+
medium_type?: string | null;
|
|
8
|
+
url?: string | null;
|
|
9
|
+
page_title?: string | null;
|
|
10
|
+
request_reason?: string | null;
|
|
11
|
+
agenda_item_type?: string | null;
|
|
12
|
+
source?: string;
|
|
13
|
+
description?: string | null;
|
|
14
|
+
/** Overrides the label from EVENT_CONFIG_MAP. Use for dynamic labels. */
|
|
15
|
+
label?: string | null;
|
|
16
|
+
/** Overrides the icon from EVENT_CONFIG_MAP. */
|
|
17
|
+
icon?: string | null;
|
|
18
|
+
/** Overrides the background color class from EVENT_CONFIG_MAP. */
|
|
19
|
+
color?: string | null;
|
|
13
20
|
}
|
|
14
21
|
export interface TimelinePhase {
|
|
15
22
|
phase: {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
leftLabel?: string;
|
|
3
|
+
rightLabel?: string;
|
|
4
|
+
/** Tooltip next to the left label. Omit or pass an empty string to hide it. */
|
|
5
|
+
leftTooltip?: string;
|
|
6
|
+
/** Tooltip next to the right label. Omit or pass an empty string to hide it. */
|
|
7
|
+
rightTooltip?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
leftLabel: string;
|
|
11
|
+
rightLabel: string;
|
|
12
|
+
leftTooltip: string;
|
|
13
|
+
rightTooltip: string;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { TimelineEvent as Event } from '../TimelineEvent/TimelineTypes';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Events, newest first. Ignored when the default slot is used. */
|
|
4
|
+
events?: Event[];
|
|
5
|
+
splitView?: boolean;
|
|
6
|
+
/** Border color class for the vertical timeline lines. */
|
|
7
|
+
color?: string;
|
|
8
|
+
/** Set to false to hide the lane headers in split view. */
|
|
9
|
+
showLanes?: boolean;
|
|
10
|
+
leftLabel?: string;
|
|
11
|
+
rightLabel?: string;
|
|
12
|
+
leftTooltip?: string;
|
|
13
|
+
rightTooltip?: string;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_6: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
default?: (props: typeof __VLS_6) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
color: string;
|
|
21
|
+
splitView: boolean;
|
|
22
|
+
leftLabel: string;
|
|
23
|
+
rightLabel: string;
|
|
24
|
+
leftTooltip: string;
|
|
25
|
+
rightTooltip: string;
|
|
26
|
+
events: Event[];
|
|
27
|
+
showLanes: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type { Placement } from '@floating-ui/vue';
|
|
2
|
+
export { EVENT_CONFIG_MAP, PHASE_MAP } from './components/TimelineEvent/TimelineTypes';
|
|
3
|
+
export type { TimelineEvent, TimelinePhase, TimelineResponse, } from './components/TimelineEvent/TimelineTypes';
|
|
2
4
|
export { default as NexxtAnimatedNumber } from './components/AnimatedNumber/AnimatedNumber.vue';
|
|
3
5
|
export { default as NexxtAnnouncement } from './components/Announcement/Announcement.vue';
|
|
4
6
|
export { default as NexxtAvatar } from './components/Avatar/Avatar.vue';
|
|
@@ -48,7 +50,9 @@ export { default as NexxtTable } from './components/Table/Table.vue';
|
|
|
48
50
|
export { default as NexxtTabs } from './components/Tabs/Tabs.vue';
|
|
49
51
|
export { default as NexxtTemplateCard } from './components/TemplateCard/TemplateCard.vue';
|
|
50
52
|
export { default as NexxtTimelineEvent } from './components/TimelineEvent/TimelineEvent.vue';
|
|
53
|
+
export { default as NexxtTimelineLanes } from './components/TimelineLanes/TimelineLanes.vue';
|
|
51
54
|
export { default as NexxtTimelinePhaseblock } from './components/TimelinePhaseblock/TimelinePhaseblock.vue';
|
|
55
|
+
export { default as NexxtTimelineTrack } from './components/TimelineTrack/TimelineTrack.vue';
|
|
52
56
|
export { default as NexxtToast } from './components/Toast/Toast.vue';
|
|
53
57
|
export { default as NexxtToaster } from './components/Toaster/Toaster.vue';
|
|
54
58
|
export { default as NexxtToggleGroup } from './components/ToggleGroup/ToggleGroup.vue';
|