@wpic/ui 0.3.5 → 0.3.6
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/WDateRangePicker.vue.d.ts +1 -0
- package/dist/components/WSelect.vue.d.ts +1 -0
- package/dist/components/WSpreadsheet.vue.d.ts +8 -2
- package/dist/components/WTable.vue.d.ts +12 -10
- package/dist/wpic-ui.cjs +62 -62
- package/dist/wpic-ui.css +2 -7
- package/dist/wpic-ui.js +2844 -2825
- package/package.json +1 -1
- package/src/style.css +1 -6
|
@@ -13,6 +13,7 @@ type __VLS_Props = {
|
|
|
13
13
|
presets?: Preset[];
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
clearable?: boolean;
|
|
16
|
+
size?: 'sm' | 'md' | 'lg';
|
|
16
17
|
};
|
|
17
18
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
19
|
"update:modelValue": (value: DateRange | null) => any;
|
|
@@ -28,6 +28,7 @@ type __VLS_Props = {
|
|
|
28
28
|
variant?: 'default' | 'subtle' | 'plain';
|
|
29
29
|
popoverZIndex?: string | number;
|
|
30
30
|
popoverWidth?: string;
|
|
31
|
+
popoverPlacement?: 'top' | 'bottom' | 'left' | 'right' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
31
32
|
popoverFlip?: boolean;
|
|
32
33
|
popoverMaxHeight?: string;
|
|
33
34
|
};
|
|
@@ -41,6 +41,8 @@ type __VLS_Props = {
|
|
|
41
41
|
sortable?: boolean;
|
|
42
42
|
expandable?: boolean;
|
|
43
43
|
showExpandButton?: boolean;
|
|
44
|
+
/** Float spreadsheet actions over the top-right corner and reveal them on hover. */
|
|
45
|
+
actionsOnHover?: boolean;
|
|
44
46
|
downloadable?: boolean;
|
|
45
47
|
showDownloadButton?: boolean;
|
|
46
48
|
downloadFilename?: string;
|
|
@@ -50,7 +52,7 @@ type __VLS_Props = {
|
|
|
50
52
|
loading?: boolean;
|
|
51
53
|
};
|
|
52
54
|
declare function download(): void;
|
|
53
|
-
declare var __VLS_5: {}, __VLS_23: `cell-${string}`, __VLS_24: {
|
|
55
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_23: `cell-${string}`, __VLS_24: {
|
|
54
56
|
row: WSpreadsheetRow;
|
|
55
57
|
cell: WSpreadsheetCell;
|
|
56
58
|
rowIndex: number;
|
|
@@ -58,7 +60,11 @@ declare var __VLS_5: {}, __VLS_23: `cell-${string}`, __VLS_24: {
|
|
|
58
60
|
type __VLS_Slots = {} & {
|
|
59
61
|
[K in NonNullable<typeof __VLS_23>]?: (props: typeof __VLS_24) => any;
|
|
60
62
|
} & {
|
|
61
|
-
'expanded-header'?: (props: typeof
|
|
63
|
+
'expanded-header'?: (props: typeof __VLS_1) => any;
|
|
64
|
+
} & {
|
|
65
|
+
'toolbar-status'?: (props: typeof __VLS_3) => any;
|
|
66
|
+
} & {
|
|
67
|
+
toolbar?: (props: typeof __VLS_5) => any;
|
|
62
68
|
};
|
|
63
69
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
64
70
|
expand: () => void;
|
|
@@ -27,34 +27,35 @@ type __VLS_Props = {
|
|
|
27
27
|
rowStyle?: (row: Record<string, unknown>) => Record<string, string> | undefined;
|
|
28
28
|
summaryRow?: Record<string, unknown>;
|
|
29
29
|
compact?: boolean;
|
|
30
|
+
showFooter?: boolean;
|
|
30
31
|
};
|
|
31
32
|
declare function toggleSort(field: string): void;
|
|
32
|
-
declare var __VLS_4: {},
|
|
33
|
+
declare var __VLS_4: {}, __VLS_18: string, __VLS_19: {
|
|
33
34
|
col: WTableColumn;
|
|
34
35
|
sortField: string | null;
|
|
35
36
|
sortDir: "desc" | "asc";
|
|
36
37
|
toggleSort: typeof toggleSort;
|
|
37
|
-
},
|
|
38
|
+
}, __VLS_34: string, __VLS_35: {
|
|
38
39
|
row: Record<string, unknown>;
|
|
39
40
|
value: unknown;
|
|
40
|
-
},
|
|
41
|
+
}, __VLS_53: string, __VLS_54: {
|
|
41
42
|
row: Record<string, unknown>;
|
|
42
43
|
value: unknown;
|
|
43
|
-
},
|
|
44
|
+
}, __VLS_56: {
|
|
44
45
|
row: Record<string, unknown>;
|
|
45
|
-
},
|
|
46
|
+
}, __VLS_58: {};
|
|
46
47
|
type __VLS_Slots = {} & {
|
|
47
|
-
[K in NonNullable<typeof
|
|
48
|
+
[K in NonNullable<typeof __VLS_18>]?: (props: typeof __VLS_19) => any;
|
|
48
49
|
} & {
|
|
49
|
-
[K in NonNullable<typeof
|
|
50
|
+
[K in NonNullable<typeof __VLS_34>]?: (props: typeof __VLS_35) => any;
|
|
50
51
|
} & {
|
|
51
|
-
[K in NonNullable<typeof
|
|
52
|
+
[K in NonNullable<typeof __VLS_53>]?: (props: typeof __VLS_54) => any;
|
|
52
53
|
} & {
|
|
53
54
|
toolbar?: (props: typeof __VLS_4) => any;
|
|
54
55
|
} & {
|
|
55
|
-
expand?: (props: typeof
|
|
56
|
+
expand?: (props: typeof __VLS_56) => any;
|
|
56
57
|
} & {
|
|
57
|
-
'empty-icon'?: (props: typeof
|
|
58
|
+
'empty-icon'?: (props: typeof __VLS_58) => any;
|
|
58
59
|
};
|
|
59
60
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
60
61
|
filteredCount: import('vue').ComputedRef<number>;
|
|
@@ -77,6 +78,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
77
78
|
selectable: boolean;
|
|
78
79
|
rowKey: string;
|
|
79
80
|
flushEdges: boolean;
|
|
81
|
+
showFooter: boolean;
|
|
80
82
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
81
83
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
82
84
|
export default _default;
|