@nexxtmove/ui 0.1.38 → 0.1.39
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.d.ts +71 -25
- package/dist/index.js +2303 -1771
- package/package.json +2 -1
- package/src/components/AnimatedNumber/AnimatedNumber.vue +4 -48
- package/src/components/CustomerJourneyTile/CustomerJourneyTile.vue +39 -14
- package/src/components/DropdownButton/DropdownButton.vue +31 -19
- package/src/components/Header/Header.vue +3 -1
- package/src/components/InputField/InputField.vue +6 -5
- package/src/components/Table/Table.vue +37 -7
- package/src/components/TimelineEvent/TimelineTypes.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -22,8 +22,8 @@ declare const __VLS_component_3: DefineComponent<__VLS_PublicProps_3, {}, {}, {}
|
|
|
22
22
|
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
|
23
23
|
"onUpdate:modelValue"?: ((value: Date | null) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
-
anchor: CalendarAnchor;
|
|
26
25
|
placeholder: string;
|
|
26
|
+
anchor: CalendarAnchor;
|
|
27
27
|
autoClose: boolean;
|
|
28
28
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
29
29
|
wrapperRef: HTMLDivElement;
|
|
@@ -35,13 +35,19 @@ declare const __VLS_component_4: DefineComponent<NexxtHeaderProps, {}, {}, {}, {
|
|
|
35
35
|
|
|
36
36
|
declare const __VLS_component_5: DefineComponent<NexxtInfoBlockProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtInfoBlockProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
37
37
|
|
|
38
|
-
declare const __VLS_component_6: DefineComponent<
|
|
38
|
+
declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
39
|
+
"update:modelValue": (value: string) => any;
|
|
40
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
42
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
43
|
+
|
|
44
|
+
declare const __VLS_component_7: DefineComponent<NexxtStepperHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
39
45
|
"update:currentStep": (...args: any[]) => void;
|
|
40
46
|
}, string, PublicProps, Readonly<NexxtStepperHeaderProps> & Readonly<{
|
|
41
47
|
"onUpdate:currentStep"?: ((...args: any[]) => any) | undefined;
|
|
42
48
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
43
49
|
|
|
44
|
-
declare const
|
|
50
|
+
declare const __VLS_component_8: DefineComponent<NexxtTooltip_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtTooltip_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
45
51
|
|
|
46
52
|
declare type __VLS_PrettifyLocal<T> = {
|
|
47
53
|
[K in keyof T]: T[K];
|
|
@@ -50,7 +56,7 @@ declare type __VLS_PrettifyLocal<T> = {
|
|
|
50
56
|
declare type __VLS_Props = {
|
|
51
57
|
value: number;
|
|
52
58
|
duration?: number;
|
|
53
|
-
|
|
59
|
+
delay?: number;
|
|
54
60
|
};
|
|
55
61
|
|
|
56
62
|
declare type __VLS_Props_2 = NexxtCalendarProps;
|
|
@@ -154,13 +160,22 @@ declare function __VLS_template_5(): {
|
|
|
154
160
|
declare function __VLS_template_6(): {
|
|
155
161
|
attrs: Partial<{}>;
|
|
156
162
|
slots: {
|
|
157
|
-
|
|
163
|
+
right?(_: {}): any;
|
|
158
164
|
};
|
|
159
165
|
refs: {};
|
|
160
166
|
rootEl: HTMLDivElement;
|
|
161
167
|
};
|
|
162
168
|
|
|
163
169
|
declare function __VLS_template_7(): {
|
|
170
|
+
attrs: Partial<{}>;
|
|
171
|
+
slots: {
|
|
172
|
+
default?(_: {}): any;
|
|
173
|
+
};
|
|
174
|
+
refs: {};
|
|
175
|
+
rootEl: HTMLDivElement;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
declare function __VLS_template_8(): {
|
|
164
179
|
attrs: Partial<{}>;
|
|
165
180
|
slots: {
|
|
166
181
|
default?(_: {}): any;
|
|
@@ -184,6 +199,8 @@ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
|
184
199
|
|
|
185
200
|
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
186
201
|
|
|
202
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
203
|
+
|
|
187
204
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
188
205
|
new (): {
|
|
189
206
|
$slots: S;
|
|
@@ -226,6 +243,12 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
|
226
243
|
};
|
|
227
244
|
};
|
|
228
245
|
|
|
246
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
247
|
+
new (): {
|
|
248
|
+
$slots: S;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
|
|
229
252
|
declare type CalendarAnchor = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
230
253
|
|
|
231
254
|
declare interface CalendarDayViewProps {
|
|
@@ -238,8 +261,6 @@ declare interface CalendarDayViewProps {
|
|
|
238
261
|
timezone: string;
|
|
239
262
|
}
|
|
240
263
|
|
|
241
|
-
declare type EasingFunction = 'ease-linear' | 'ease-in' | 'ease-out' | 'ease-in-out';
|
|
242
|
-
|
|
243
264
|
declare type IconType = 'regular' | 'solid' | 'light' | 'duotone' | 'brands';
|
|
244
265
|
|
|
245
266
|
export declare const NexxtAnimatedNumber: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -323,11 +344,14 @@ declare interface NexxtChipProps {
|
|
|
323
344
|
variant?: 'default' | 'warning' | 'success' | 'danger' | 'ghost';
|
|
324
345
|
}
|
|
325
346
|
|
|
326
|
-
export declare const NexxtCustomerJourneyTile: DefineComponent<NexxtCustomerJourneyTileProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtCustomerJourneyTileProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
347
|
+
export declare const NexxtCustomerJourneyTile: DefineComponent<NexxtCustomerJourneyTileProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NexxtCustomerJourneyTileProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
327
348
|
|
|
328
349
|
declare interface NexxtCustomerJourneyTileProps {
|
|
350
|
+
as?: keyof HTMLElementTagNameMap;
|
|
329
351
|
title?: string;
|
|
330
352
|
amount?: number;
|
|
353
|
+
animated?: boolean;
|
|
354
|
+
delay?: number;
|
|
331
355
|
percentage?: number;
|
|
332
356
|
percentageExplanaition?: string;
|
|
333
357
|
}
|
|
@@ -340,9 +364,25 @@ declare interface NexxtDatePickerProps extends NexxtCalendarProps {
|
|
|
340
364
|
autoClose?: boolean;
|
|
341
365
|
}
|
|
342
366
|
|
|
343
|
-
export declare const NexxtDropdownButton: DefineComponent<
|
|
367
|
+
export declare const NexxtDropdownButton: DefineComponent<(NexxtDropdownButtonBase & {
|
|
368
|
+
iconOnly?: false;
|
|
369
|
+
label: string;
|
|
370
|
+
action: string | (() => void);
|
|
371
|
+
}) | (NexxtDropdownButtonBase & {
|
|
372
|
+
iconOnly: true;
|
|
373
|
+
label?: string;
|
|
374
|
+
action?: string | (() => void);
|
|
375
|
+
}), {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
344
376
|
navigate: (url: string) => any;
|
|
345
|
-
}, string, PublicProps, Readonly<
|
|
377
|
+
}, string, PublicProps, Readonly<(NexxtDropdownButtonBase & {
|
|
378
|
+
iconOnly?: false;
|
|
379
|
+
label: string;
|
|
380
|
+
action: string | (() => void);
|
|
381
|
+
}) | (NexxtDropdownButtonBase & {
|
|
382
|
+
iconOnly: true;
|
|
383
|
+
label?: string;
|
|
384
|
+
action?: string | (() => void);
|
|
385
|
+
})> & Readonly<{
|
|
346
386
|
onNavigate?: ((url: string) => any) | undefined;
|
|
347
387
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
348
388
|
wrapperRef: HTMLDivElement;
|
|
@@ -352,18 +392,22 @@ declare interface NexxtDropdownButton_2 {
|
|
|
352
392
|
label: string;
|
|
353
393
|
action: string | (() => void);
|
|
354
394
|
icon?: InstanceType<typeof NexxtIcon>['name'];
|
|
395
|
+
selected?: boolean;
|
|
355
396
|
}
|
|
356
397
|
|
|
357
|
-
declare
|
|
398
|
+
declare type NexxtDropdownButtonBase = {
|
|
358
399
|
variant?: 'primary' | 'secondary';
|
|
359
400
|
options: NexxtDropdownButton_2[];
|
|
360
401
|
placement?: 'left' | 'right';
|
|
361
|
-
|
|
402
|
+
triggerIcon?: InstanceType<typeof NexxtIcon>['name'];
|
|
403
|
+
icon?: InstanceType<typeof NexxtIcon>['name'];
|
|
404
|
+
};
|
|
362
405
|
|
|
363
406
|
export declare const NexxtHeader: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
364
407
|
|
|
365
408
|
declare interface NexxtHeaderProps {
|
|
366
409
|
title: string;
|
|
410
|
+
headingType?: 'heading-1' | 'heading-2' | 'heading-3' | 'heading-4';
|
|
367
411
|
backButtonText?: string;
|
|
368
412
|
backButtonAction?: () => void;
|
|
369
413
|
}
|
|
@@ -382,11 +426,7 @@ declare interface NexxtInfoBlockProps {
|
|
|
382
426
|
color?: 'green' | 'purple' | 'blue' | 'rose';
|
|
383
427
|
}
|
|
384
428
|
|
|
385
|
-
export declare const NexxtInputField:
|
|
386
|
-
"update:modelValue": (value: string) => any;
|
|
387
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
388
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
389
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
429
|
+
export declare const NexxtInputField: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
390
430
|
|
|
391
431
|
declare interface NexxtInputFieldProps {
|
|
392
432
|
placeholder?: string;
|
|
@@ -473,7 +513,7 @@ declare interface NexxtSocialMediaTypeProps {
|
|
|
473
513
|
icons?: SocialPlatform[];
|
|
474
514
|
}
|
|
475
515
|
|
|
476
|
-
export declare const NexxtStepperHeader:
|
|
516
|
+
export declare const NexxtStepperHeader: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
477
517
|
|
|
478
518
|
declare interface NexxtStepperHeaderProps {
|
|
479
519
|
title: string;
|
|
@@ -496,12 +536,16 @@ export declare const NexxtTable: <TKey extends string, TRow extends Record<TKey,
|
|
|
496
536
|
} & NexxtTableProps<TKey, TRow>) & Partial<{}>> & PublicProps;
|
|
497
537
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
498
538
|
attrs: any;
|
|
499
|
-
slots:
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
539
|
+
slots: Readonly<{ [K in TKey as `cell-${K}`]?: ((props: {
|
|
540
|
+
row: TRow;
|
|
541
|
+
value: TRow[K];
|
|
542
|
+
}) => unknown) | undefined; } & {
|
|
543
|
+
[key: string]: ((props: Record<string, unknown>) => unknown) | undefined;
|
|
544
|
+
}> & { [K in TKey as `cell-${K}`]?: ((props: {
|
|
545
|
+
row: TRow;
|
|
546
|
+
value: TRow[K];
|
|
547
|
+
}) => unknown) | undefined; } & {
|
|
548
|
+
[key: string]: ((props: Record<string, unknown>) => unknown) | undefined;
|
|
505
549
|
};
|
|
506
550
|
emit: ((evt: "row-click", row: TRow) => void) & (((evt: "update:modelValue", value: TRow[]) => void) & ((evt: "update:sortKey", value: TKey) => void) & ((evt: "update:sortDirection", value: "desc" | "asc") => void));
|
|
507
551
|
}>) => VNode & {
|
|
@@ -512,6 +556,7 @@ declare interface NexxtTableProps<TKey extends string = string, TRow extends Rec
|
|
|
512
556
|
columns: TableColumn<TKey>[];
|
|
513
557
|
rows: TRow[];
|
|
514
558
|
selectable?: boolean;
|
|
559
|
+
loading?: boolean;
|
|
515
560
|
}
|
|
516
561
|
|
|
517
562
|
export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {
|
|
@@ -520,7 +565,7 @@ splitView: boolean;
|
|
|
520
565
|
|
|
521
566
|
export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
522
567
|
|
|
523
|
-
export declare const NexxtTooltip:
|
|
568
|
+
export declare const NexxtTooltip: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
524
569
|
|
|
525
570
|
declare interface NexxtTooltip_2 {
|
|
526
571
|
delay?: number;
|
|
@@ -537,6 +582,7 @@ declare interface TableColumn<K extends string = string> {
|
|
|
537
582
|
label: string;
|
|
538
583
|
sortable?: boolean;
|
|
539
584
|
width?: string;
|
|
585
|
+
minCellWidth?: number;
|
|
540
586
|
}
|
|
541
587
|
|
|
542
588
|
declare interface TimelineEvent {
|