@nexxtmove/ui 0.1.34 → 0.1.36
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 +40 -15
- package/dist/index.js +1118 -1050
- package/dist/nuxt.js +15 -14
- package/package.json +1 -1
- package/src/components/InputField/InputField.vue +84 -0
- package/src/components/Pagination/Pagination.vue +2 -0
- package/src/components/Table/Table.vue +30 -31
- package/src/components.json +1 -0
- package/src/index.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -59,14 +59,16 @@ declare type __VLS_Props_3 = NexxtCheckboxProps;
|
|
|
59
59
|
|
|
60
60
|
declare type __VLS_Props_4 = NexxtDatePickerProps;
|
|
61
61
|
|
|
62
|
-
declare type __VLS_Props_5 =
|
|
62
|
+
declare type __VLS_Props_5 = NexxtInputFieldProps;
|
|
63
63
|
|
|
64
|
-
declare type __VLS_Props_6 =
|
|
64
|
+
declare type __VLS_Props_6 = NexxtPaginationProps;
|
|
65
|
+
|
|
66
|
+
declare type __VLS_Props_7 = {
|
|
65
67
|
event: TimelineEvent;
|
|
66
68
|
splitView?: boolean;
|
|
67
69
|
};
|
|
68
70
|
|
|
69
|
-
declare type
|
|
71
|
+
declare type __VLS_Props_8 = {
|
|
70
72
|
phase: TimelinePhase;
|
|
71
73
|
/** Index within the filtered phases array (used to determine phase direction/date). */
|
|
72
74
|
index: number;
|
|
@@ -89,9 +91,13 @@ declare type __VLS_PublicProps_3 = {
|
|
|
89
91
|
} & __VLS_Props_4;
|
|
90
92
|
|
|
91
93
|
declare type __VLS_PublicProps_4 = {
|
|
92
|
-
|
|
94
|
+
modelValue?: string;
|
|
93
95
|
} & __VLS_Props_5;
|
|
94
96
|
|
|
97
|
+
declare type __VLS_PublicProps_5 = {
|
|
98
|
+
'page'?: number;
|
|
99
|
+
} & __VLS_Props_6;
|
|
100
|
+
|
|
95
101
|
declare function __VLS_template(): {
|
|
96
102
|
attrs: Partial<{}>;
|
|
97
103
|
slots: {
|
|
@@ -376,9 +382,25 @@ declare interface NexxtInfoBlockProps {
|
|
|
376
382
|
color?: 'green' | 'purple' | 'blue' | 'rose';
|
|
377
383
|
}
|
|
378
384
|
|
|
379
|
-
export declare const
|
|
380
|
-
"update:
|
|
385
|
+
export declare const NexxtInputField: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
386
|
+
"update:modelValue": (value: string) => any;
|
|
381
387
|
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
388
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
389
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
390
|
+
|
|
391
|
+
declare interface NexxtInputFieldProps {
|
|
392
|
+
placeholder?: string;
|
|
393
|
+
label?: string;
|
|
394
|
+
error?: boolean;
|
|
395
|
+
errorMessage?: string;
|
|
396
|
+
focused?: boolean;
|
|
397
|
+
leftIcon?: InstanceType<typeof NexxtIcon>['name'];
|
|
398
|
+
rightIcon?: InstanceType<typeof NexxtIcon>['name'];
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export declare const NexxtPagination: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
402
|
+
"update:page": (value: number) => any;
|
|
403
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
382
404
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
383
405
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
384
406
|
|
|
@@ -464,9 +486,15 @@ declare interface NexxtStepperHeaderProps {
|
|
|
464
486
|
|
|
465
487
|
export declare const NexxtTable: <TKey extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
466
488
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
467
|
-
readonly
|
|
468
|
-
readonly "onUpdate:
|
|
469
|
-
|
|
489
|
+
readonly "onUpdate:modelValue"?: ((value: Record<TKey, unknown>[]) => any) | undefined;
|
|
490
|
+
readonly "onUpdate:sortKey"?: ((value: TKey) => any) | undefined;
|
|
491
|
+
readonly "onUpdate:sortDirection"?: ((value: "desc" | "asc") => any) | undefined;
|
|
492
|
+
readonly "onRow-click"?: ((row: Record<TKey, unknown>) => any) | undefined;
|
|
493
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:sortKey" | "onUpdate:sortDirection" | "onRow-click"> & ({
|
|
494
|
+
modelValue?: Record<TKey, unknown>[];
|
|
495
|
+
sortKey?: TKey;
|
|
496
|
+
sortDirection?: "asc" | "desc";
|
|
497
|
+
} & NexxtTableProps<TKey>) & Partial<{}>> & PublicProps;
|
|
470
498
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
471
499
|
attrs: any;
|
|
472
500
|
slots: Partial<Record<`cell-${TKey}`, (_: {
|
|
@@ -476,7 +504,7 @@ export declare const NexxtTable: <TKey extends string>(__VLS_props: NonNullable<
|
|
|
476
504
|
toolbar?(_: {}): any;
|
|
477
505
|
empty?(_: {}): any;
|
|
478
506
|
};
|
|
479
|
-
emit: ((evt: "
|
|
507
|
+
emit: ((evt: "row-click", row: Record<TKey, unknown>) => void) & (((evt: "update:modelValue", value: Record<TKey, unknown>[]) => void) & ((evt: "update:sortKey", value: TKey) => void) & ((evt: "update:sortDirection", value: "desc" | "asc") => void));
|
|
480
508
|
}>) => VNode & {
|
|
481
509
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
482
510
|
};
|
|
@@ -484,17 +512,14 @@ export declare const NexxtTable: <TKey extends string>(__VLS_props: NonNullable<
|
|
|
484
512
|
declare interface NexxtTableProps<TKey extends string = string> {
|
|
485
513
|
columns: TableColumn<TKey>[];
|
|
486
514
|
rows: Record<TKey, unknown>[];
|
|
487
|
-
sortKey?: TKey;
|
|
488
|
-
sortDirection?: 'asc' | 'desc';
|
|
489
515
|
selectable?: boolean;
|
|
490
|
-
modelValue?: number[];
|
|
491
516
|
}
|
|
492
517
|
|
|
493
|
-
export declare const NexxtTimelineEvent: DefineComponent<
|
|
518
|
+
export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {
|
|
494
519
|
splitView: boolean;
|
|
495
520
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
496
521
|
|
|
497
|
-
export declare const NexxtTimelinePhaseblock: DefineComponent<
|
|
522
|
+
export declare const NexxtTimelinePhaseblock: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
498
523
|
|
|
499
524
|
export declare const NexxtTooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
500
525
|
|