@nexxtmove/ui 0.1.35 → 0.1.37
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
CHANGED
|
@@ -486,9 +486,15 @@ declare interface NexxtStepperHeaderProps {
|
|
|
486
486
|
|
|
487
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<{
|
|
488
488
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
489
|
-
readonly
|
|
490
|
-
readonly "onUpdate:
|
|
491
|
-
|
|
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;
|
|
492
498
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
493
499
|
attrs: any;
|
|
494
500
|
slots: Partial<Record<`cell-${TKey}`, (_: {
|
|
@@ -498,7 +504,7 @@ export declare const NexxtTable: <TKey extends string>(__VLS_props: NonNullable<
|
|
|
498
504
|
toolbar?(_: {}): any;
|
|
499
505
|
empty?(_: {}): any;
|
|
500
506
|
};
|
|
501
|
-
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));
|
|
502
508
|
}>) => VNode & {
|
|
503
509
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
504
510
|
};
|
|
@@ -506,10 +512,7 @@ export declare const NexxtTable: <TKey extends string>(__VLS_props: NonNullable<
|
|
|
506
512
|
declare interface NexxtTableProps<TKey extends string = string> {
|
|
507
513
|
columns: TableColumn<TKey>[];
|
|
508
514
|
rows: Record<TKey, unknown>[];
|
|
509
|
-
sortKey?: TKey;
|
|
510
|
-
sortDirection?: 'asc' | 'desc';
|
|
511
515
|
selectable?: boolean;
|
|
512
|
-
modelValue?: number[];
|
|
513
516
|
}
|
|
514
517
|
|
|
515
518
|
export declare const NexxtTimelineEvent: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {
|