@salesql/sql_components_vue3 3.30.0 → 3.32.0
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/composables/shadowDom.d.ts +2 -0
- package/dist/constants/events.d.ts +18 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/index.es.js +5051 -3978
- package/dist/index.es.js.map +1 -1
- package/dist/sql_components_vue3.css +1 -1
- package/dist/ui/DsAccountMenu/DsAccountMenu.types.d.ts +94 -0
- package/dist/ui/DsAccountMenu/DsAccountMenu.vue.d.ts +136 -0
- package/dist/ui/DsAccountMenu/index.d.ts +2 -0
- package/dist/ui/DsAccountMenu/providerLogos.d.ts +10 -0
- package/dist/ui/DsFilterChip/DsFilterChip.types.d.ts +11 -0
- package/dist/ui/DsFilterChip/DsFilterChip.vue.d.ts +43 -0
- package/dist/ui/DsFilterChip/index.d.ts +2 -0
- package/dist/ui/DsInput/DsInput.types.d.ts +2 -0
- package/dist/ui/DsInput/DsInput.vue.d.ts +15 -0
- package/dist/ui/DsMenuBackRow/DsMenuBackRow.types.d.ts +6 -0
- package/dist/ui/DsMenuBackRow/DsMenuBackRow.vue.d.ts +26 -0
- package/dist/ui/DsMenuBackRow/index.d.ts +2 -0
- package/dist/ui/DsMenuDrillRow/DsMenuDrillRow.types.d.ts +8 -0
- package/dist/ui/DsMenuDrillRow/DsMenuDrillRow.vue.d.ts +35 -0
- package/dist/ui/DsMenuDrillRow/index.d.ts +2 -0
- package/dist/ui/DsMenuEmpty/DsMenuEmpty.types.d.ts +4 -0
- package/dist/ui/DsMenuEmpty/DsMenuEmpty.vue.d.ts +24 -0
- package/dist/ui/DsMenuEmpty/index.d.ts +2 -0
- package/dist/ui/DsMenuOption/DsMenuOption.types.d.ts +20 -0
- package/dist/ui/DsMenuOption/DsMenuOption.vue.d.ts +77 -0
- package/dist/ui/DsMenuOption/index.d.ts +2 -0
- package/dist/ui/DsMenuSectionLabel/DsMenuSectionLabel.types.d.ts +6 -0
- package/dist/ui/DsMenuSectionLabel/DsMenuSectionLabel.vue.d.ts +26 -0
- package/dist/ui/DsMenuSectionLabel/index.d.ts +2 -0
- package/dist/ui/DsPanelHeader/DsPanelHeader.types.d.ts +3 -3
- package/dist/ui/DsPanelHeader/DsPanelHeader.vue.d.ts +18 -7
- package/dist/ui/DsPanelHeader/panelHeaderContext.d.ts +5 -0
- package/dist/ui/DsToolbarButton/DsToolbarButton.types.d.ts +37 -0
- package/dist/ui/DsToolbarButton/DsToolbarButton.vue.d.ts +117 -0
- package/dist/ui/DsToolbarButton/index.d.ts +2 -0
- package/llms-full.txt +410 -62
- package/llms.txt +9 -1
- package/package.json +1 -1
- package/src/icons/manifest.json +18 -0
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare var __VLS_5: {}, __VLS_23: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
usage?: (props: typeof __VLS_5) => any;
|
|
4
|
+
} & {
|
|
5
|
+
account?: (props: typeof __VLS_23) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
8
|
logoLabel: {
|
|
3
9
|
type: StringConstructor;
|
|
4
10
|
default: string;
|
|
@@ -7,13 +13,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
13
|
type: StringConstructor;
|
|
8
14
|
required: true;
|
|
9
15
|
};
|
|
10
|
-
|
|
16
|
+
openTooltip: {
|
|
11
17
|
type: StringConstructor;
|
|
12
|
-
|
|
18
|
+
default: string;
|
|
13
19
|
};
|
|
14
20
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
21
|
open: (...args: any[]) => void;
|
|
16
|
-
minimize: (...args: any[]) => void;
|
|
17
22
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
23
|
logoLabel: {
|
|
19
24
|
type: StringConstructor;
|
|
@@ -23,14 +28,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
28
|
type: StringConstructor;
|
|
24
29
|
required: true;
|
|
25
30
|
};
|
|
26
|
-
|
|
31
|
+
openTooltip: {
|
|
27
32
|
type: StringConstructor;
|
|
28
|
-
|
|
33
|
+
default: string;
|
|
29
34
|
};
|
|
30
35
|
}>> & Readonly<{
|
|
31
36
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
onMinimize?: ((...args: any[]) => any) | undefined;
|
|
33
37
|
}>, {
|
|
34
38
|
logoLabel: string;
|
|
39
|
+
openTooltip: string;
|
|
35
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
36
42
|
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { DsTooltipPlacement } from '../../ui/DsTooltip';
|
|
2
|
+
export declare const DS_TOOLBAR_BUTTON_VARIANTS: {
|
|
3
|
+
readonly OUTLINE: "outline";
|
|
4
|
+
readonly PRIMARY: "primary";
|
|
5
|
+
};
|
|
6
|
+
export type DsToolbarButtonVariant = (typeof DS_TOOLBAR_BUTTON_VARIANTS)[keyof typeof DS_TOOLBAR_BUTTON_VARIANTS];
|
|
7
|
+
export interface DsToolbarButtonProps {
|
|
8
|
+
/** The visible text. In `compact` it is not drawn and becomes the accessible name instead. App copy. */
|
|
9
|
+
label: string;
|
|
10
|
+
/** Material Symbols name of the leading glyph (18px). The `icon` slot replaces it. */
|
|
11
|
+
icon?: string;
|
|
12
|
+
variant?: DsToolbarButtonVariant;
|
|
13
|
+
/** A trailing `keyboard_arrow_down`, for a button that opens a menu. */
|
|
14
|
+
caret?: boolean;
|
|
15
|
+
/** Its filter or sort is in effect: accent fill, `accent-mid` border, `accent-shadow` text. */
|
|
16
|
+
applied?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether the panel it opens is showing. Left out, the button is a plain action: no `aria-expanded`
|
|
19
|
+
* or `aria-haspopup`. Passed (even `false`), it is a disclosure for a `dialog` panel (DsPopover).
|
|
20
|
+
*/
|
|
21
|
+
open?: boolean;
|
|
22
|
+
/** Icon (+ caret) only: the label is not drawn, a tooltip names the button. */
|
|
23
|
+
compact?: boolean;
|
|
24
|
+
/** A pill with the number of filters in effect. Zero draws nothing. */
|
|
25
|
+
count?: number;
|
|
26
|
+
/** The tooltip text. In `compact` it falls back to the label. */
|
|
27
|
+
tooltip?: string;
|
|
28
|
+
/** Keep the tooltip on a full button too (text that adds information, e.g. an export's progress). */
|
|
29
|
+
tooltipAlways?: boolean;
|
|
30
|
+
/** Side of the button where the tooltip opens. Default `bottom`. */
|
|
31
|
+
tooltipPlacement?: DsTooltipPlacement;
|
|
32
|
+
/** Accessible name when it must differ from the label («Filters (3)»). */
|
|
33
|
+
ariaLabel?: string;
|
|
34
|
+
/** Max width of the label before it ellipsizes. A number is px. */
|
|
35
|
+
labelMaxWidth?: number | string | null;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import { type DsTooltipPlacement } from '../../ui/DsTooltip';
|
|
3
|
+
import { type DsToolbarButtonVariant } from './DsToolbarButton.types';
|
|
4
|
+
declare var __VLS_6: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
icon?: (props: typeof __VLS_6) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
+
label: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
icon: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
variant: {
|
|
18
|
+
type: PropType<DsToolbarButtonVariant>;
|
|
19
|
+
default: "outline";
|
|
20
|
+
};
|
|
21
|
+
caret: BooleanConstructor;
|
|
22
|
+
applied: BooleanConstructor;
|
|
23
|
+
open: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
compact: BooleanConstructor;
|
|
28
|
+
count: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
tooltip: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
tooltipAlways: BooleanConstructor;
|
|
37
|
+
tooltipPlacement: {
|
|
38
|
+
type: PropType<DsTooltipPlacement>;
|
|
39
|
+
default: "bottom";
|
|
40
|
+
};
|
|
41
|
+
ariaLabel: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
labelMaxWidth: {
|
|
46
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
47
|
+
default: null;
|
|
48
|
+
};
|
|
49
|
+
disabled: BooleanConstructor;
|
|
50
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
|
+
click: (...args: any[]) => void;
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
label: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
icon: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
variant: {
|
|
62
|
+
type: PropType<DsToolbarButtonVariant>;
|
|
63
|
+
default: "outline";
|
|
64
|
+
};
|
|
65
|
+
caret: BooleanConstructor;
|
|
66
|
+
applied: BooleanConstructor;
|
|
67
|
+
open: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
compact: BooleanConstructor;
|
|
72
|
+
count: {
|
|
73
|
+
type: NumberConstructor;
|
|
74
|
+
default: number;
|
|
75
|
+
};
|
|
76
|
+
tooltip: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
tooltipAlways: BooleanConstructor;
|
|
81
|
+
tooltipPlacement: {
|
|
82
|
+
type: PropType<DsTooltipPlacement>;
|
|
83
|
+
default: "bottom";
|
|
84
|
+
};
|
|
85
|
+
ariaLabel: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
labelMaxWidth: {
|
|
90
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
91
|
+
default: null;
|
|
92
|
+
};
|
|
93
|
+
disabled: BooleanConstructor;
|
|
94
|
+
}>> & Readonly<{
|
|
95
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
}>, {
|
|
97
|
+
open: boolean;
|
|
98
|
+
variant: DsToolbarButtonVariant;
|
|
99
|
+
ariaLabel: string;
|
|
100
|
+
disabled: boolean;
|
|
101
|
+
compact: boolean;
|
|
102
|
+
applied: boolean;
|
|
103
|
+
icon: string;
|
|
104
|
+
caret: boolean;
|
|
105
|
+
tooltip: string;
|
|
106
|
+
labelMaxWidth: string | number;
|
|
107
|
+
tooltipPlacement: DsTooltipPlacement;
|
|
108
|
+
count: number;
|
|
109
|
+
tooltipAlways: boolean;
|
|
110
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
111
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
112
|
+
export default _default;
|
|
113
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
114
|
+
new (): {
|
|
115
|
+
$slots: S;
|
|
116
|
+
};
|
|
117
|
+
};
|