@webx-ui/core 0.3.0 → 0.3.1
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/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/dist/components/Table/Table.d.ts +49 -3
- package/dist/components/TimePicker/TimePicker.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ type __VLS_PublicProps = {
|
|
|
5
5
|
} & __VLS_Props;
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
attrs: Partial<{}>;
|
|
8
|
-
slots:
|
|
8
|
+
slots: Readonly<Record<string, (props: Record<string, unknown>) => unknown>> & Record<string, (props: Record<string, unknown>) => unknown>;
|
|
9
9
|
refs: {};
|
|
10
10
|
rootEl: any;
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ type __VLS_PublicProps = {
|
|
|
5
5
|
} & __VLS_Props;
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
attrs: Partial<{}>;
|
|
8
|
-
slots:
|
|
8
|
+
slots: Readonly<Record<string, (props: Record<string, unknown>) => unknown>> & Record<string, (props: Record<string, unknown>) => unknown>;
|
|
9
9
|
refs: {};
|
|
10
10
|
rootEl: any;
|
|
11
11
|
};
|
|
@@ -12,7 +12,7 @@ type __VLS_PublicProps = {
|
|
|
12
12
|
} & __VLS_Props;
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
14
|
attrs: Partial<{}>;
|
|
15
|
-
slots:
|
|
15
|
+
slots: Readonly<Record<string, (props: Record<string, unknown>) => unknown>> & Record<string, (props: Record<string, unknown>) => unknown>;
|
|
16
16
|
refs: {};
|
|
17
17
|
rootEl: any;
|
|
18
18
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RowKey, TableProps, TableRow, TableSort, TableState } from './types';
|
|
1
|
+
import { RowKey, TableColumn, TableProps, TableRow, TableSort, TableState, TableSummaryRow } from './types';
|
|
2
2
|
declare const _default: <T extends TableRow = TableRow>(__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<{
|
|
3
3
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
4
|
readonly onSearch?: ((term: string) => any) | undefined;
|
|
@@ -20,10 +20,56 @@ declare const _default: <T extends TableRow = TableRow>(__VLS_props: NonNullable
|
|
|
20
20
|
search?: string;
|
|
21
21
|
page?: number;
|
|
22
22
|
perPage?: number;
|
|
23
|
-
} & TableProps<T>) &
|
|
23
|
+
} & TableProps<T>) & Partial<{}>> & import('vue').PublicProps;
|
|
24
24
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
25
25
|
attrs: any;
|
|
26
|
-
slots:
|
|
26
|
+
slots: Readonly<{
|
|
27
|
+
[key: `header-${string}`]: ((props: {
|
|
28
|
+
column: TableColumn<T>;
|
|
29
|
+
}) => unknown) | undefined;
|
|
30
|
+
[key: `cell-${string}`]: ((props: {
|
|
31
|
+
row: T;
|
|
32
|
+
value: unknown;
|
|
33
|
+
index: number;
|
|
34
|
+
column: TableColumn<T>;
|
|
35
|
+
}) => unknown) | undefined;
|
|
36
|
+
[key: `summary-${string}`]: ((props: {
|
|
37
|
+
row: TableSummaryRow;
|
|
38
|
+
value: unknown;
|
|
39
|
+
}) => unknown) | undefined;
|
|
40
|
+
title?: () => unknown;
|
|
41
|
+
actions?: () => unknown;
|
|
42
|
+
empty?: () => unknown;
|
|
43
|
+
footer?: () => unknown;
|
|
44
|
+
loading?: () => unknown;
|
|
45
|
+
expanded?: (props: {
|
|
46
|
+
row: T;
|
|
47
|
+
index: number;
|
|
48
|
+
}) => unknown;
|
|
49
|
+
}> & {
|
|
50
|
+
[key: `header-${string}`]: ((props: {
|
|
51
|
+
column: TableColumn<T>;
|
|
52
|
+
}) => unknown) | undefined;
|
|
53
|
+
[key: `cell-${string}`]: ((props: {
|
|
54
|
+
row: T;
|
|
55
|
+
value: unknown;
|
|
56
|
+
index: number;
|
|
57
|
+
column: TableColumn<T>;
|
|
58
|
+
}) => unknown) | undefined;
|
|
59
|
+
[key: `summary-${string}`]: ((props: {
|
|
60
|
+
row: TableSummaryRow;
|
|
61
|
+
value: unknown;
|
|
62
|
+
}) => unknown) | undefined;
|
|
63
|
+
title?: () => unknown;
|
|
64
|
+
actions?: () => unknown;
|
|
65
|
+
empty?: () => unknown;
|
|
66
|
+
footer?: () => unknown;
|
|
67
|
+
loading?: () => unknown;
|
|
68
|
+
expanded?: (props: {
|
|
69
|
+
row: T;
|
|
70
|
+
index: number;
|
|
71
|
+
}) => unknown;
|
|
72
|
+
};
|
|
27
73
|
emit: (((evt: "search", term: string) => void) & ((evt: "row-click", row: T, index: number, event: MouseEvent) => void) & ((evt: "sort-change", sort: TableSort | null) => void) & ((evt: "selection-change", keys: RowKey[], rows: T[]) => void) & ((evt: "expand-change", keys: RowKey[], rows: T[]) => void) & ((evt: "state-change", state: TableState) => void)) & (((evt: "update:page", value: number) => void) & ((evt: "update:perPage", value: number) => void) & ((evt: "update:selected", value: RowKey[]) => void) & ((evt: "update:expanded", value: RowKey[]) => void) & ((evt: "update:sort", value: TableSort | null) => void) & ((evt: "update:search", value: string) => void));
|
|
28
74
|
}>) => import('vue').VNode & {
|
|
29
75
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -12,7 +12,7 @@ type __VLS_PublicProps = {
|
|
|
12
12
|
} & __VLS_Props;
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
14
|
attrs: Partial<{}>;
|
|
15
|
-
slots:
|
|
15
|
+
slots: Readonly<Record<string, (props: Record<string, unknown>) => unknown>> & Record<string, (props: Record<string, unknown>) => unknown>;
|
|
16
16
|
refs: {};
|
|
17
17
|
rootEl: any;
|
|
18
18
|
};
|
package/dist/index.js
CHANGED
|
@@ -4248,7 +4248,7 @@ const Ul = /* @__PURE__ */ U({
|
|
|
4248
4248
|
])) : w("", !0)
|
|
4249
4249
|
], 2));
|
|
4250
4250
|
}
|
|
4251
|
-
}), dn = /* @__PURE__ */ Z(un, [["__scopeId", "data-v-
|
|
4251
|
+
}), dn = /* @__PURE__ */ Z(un, [["__scopeId", "data-v-9ce966c8"]]), rn = ["aria-label", "onClick"], cn = ["id", "value", "placeholder", "disabled", "aria-label", "aria-describedby", "aria-invalid", "aria-expanded"], fn = {
|
|
4252
4252
|
key: 0,
|
|
4253
4253
|
class: "wx-tags-input__list",
|
|
4254
4254
|
role: "listbox"
|