@salesql/sql_components_vue3 3.29.1 → 3.31.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/composables/useOrganizerFields.d.ts +34 -0
- package/dist/constants/events.d.ts +28 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.es.js +5225 -3847
- 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/DsInput/DsInput.vue.d.ts +32 -0
- package/dist/ui/DsListRow/DsListRow.types.d.ts +19 -0
- package/dist/ui/DsListRow/DsListRow.vue.d.ts +78 -0
- package/dist/ui/DsListRow/index.d.ts +2 -0
- package/dist/ui/DsListRowAction/DsListRowAction.types.d.ts +25 -0
- package/dist/ui/DsListRowAction/DsListRowAction.vue.d.ts +68 -0
- package/dist/ui/DsListRowAction/index.d.ts +2 -0
- package/dist/ui/DsOrganizerDialog/DsOrganizerDialog.types.d.ts +41 -0
- package/dist/ui/DsOrganizerDialog/DsOrganizerDialog.vue.d.ts +182 -0
- package/dist/ui/DsOrganizerDialog/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/DsPickerRowActions/DsPickerRowActions.types.d.ts +30 -1
- package/dist/ui/DsPickerRowActions/DsPickerRowActions.vue.d.ts +90 -2
- package/dist/ui/DsSavedButton/DsSavedButton.vue.d.ts +1 -1
- package/dist/ui/DsSelect/DsSelect.vue.d.ts +1 -1
- package/dist/ui/DsSidePanel/DsSidePanel.types.d.ts +24 -0
- package/dist/ui/DsSidePanel/DsSidePanel.vue.d.ts +109 -0
- package/dist/ui/DsSidePanel/index.d.ts +2 -0
- package/llms-full.txt +414 -41
- package/llms.txt +7 -1
- package/package.json +1 -1
- package/src/icons/manifest.json +30 -0
|
@@ -2,3 +2,5 @@
|
|
|
2
2
|
export declare function deepActiveElement(root?: Document | ShadowRoot): Element | null;
|
|
3
3
|
/** The node an event started on, even after it crossed a shadow boundary. */
|
|
4
4
|
export declare function eventOrigin(event: Event): EventTarget | null;
|
|
5
|
+
/** The distinct shadow roots `nodes` live in: a non-composed event (`scroll`) never leaves them. */
|
|
6
|
+
export declare function shadowRootsOf(...nodes: Array<Node | null | undefined>): ShadowRoot[];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type ComponentPublicInstance } from 'vue';
|
|
2
|
+
export interface OrganizerFieldsSource {
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly color: string;
|
|
5
|
+
readonly colors: readonly string[];
|
|
6
|
+
readonly maxNameLength: number;
|
|
7
|
+
/** Edit mode: the baseline the form opened with. Unset = create mode. */
|
|
8
|
+
readonly originalName?: string;
|
|
9
|
+
readonly originalColor?: string;
|
|
10
|
+
readonly errorMissingName: string;
|
|
11
|
+
readonly errorTooLongName: string;
|
|
12
|
+
readonly errorMessage: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function useOrganizerFields(props: OrganizerFieldsSource): {
|
|
15
|
+
touched: import("vue").Ref<boolean, boolean>;
|
|
16
|
+
trimmedName: import("vue").ComputedRef<string>;
|
|
17
|
+
isValid: import("vue").ComputedRef<boolean>;
|
|
18
|
+
isChanged: import("vue").ComputedRef<boolean>;
|
|
19
|
+
canSubmit: import("vue").ComputedRef<boolean>;
|
|
20
|
+
shownError: import("vue").ComputedRef<string>;
|
|
21
|
+
};
|
|
22
|
+
/** Radio-group behaviour of a swatch palette: one tab stop, arrows move and pick, wrapping. */
|
|
23
|
+
export declare function useSwatchRadiogroup(props: {
|
|
24
|
+
readonly colors: readonly string[];
|
|
25
|
+
readonly color: string;
|
|
26
|
+
}, onPick: (color: string) => void): {
|
|
27
|
+
tabStop: import("vue").ComputedRef<number>;
|
|
28
|
+
setSwatchRef: (el: Element | ComponentPublicInstance | null, index: number) => void;
|
|
29
|
+
onSwatchKeydown: (event: KeyboardEvent, index: number) => void;
|
|
30
|
+
};
|
|
31
|
+
/** Contrast ratio of white against a hex colour (1 to 21). Unparseable = 21, so it keeps a white mark. */
|
|
32
|
+
export declare function whiteContrast(hex: string): number;
|
|
33
|
+
/** Whether a white check mark would fall under 3:1 on this swatch, so the mark must be dark. */
|
|
34
|
+
export declare function needsDarkMark(hex: string): boolean;
|
|
@@ -6,6 +6,8 @@ export declare const FOCUS: "focus";
|
|
|
6
6
|
export type FocusEventName = typeof FOCUS;
|
|
7
7
|
export declare const BLUR: "blur";
|
|
8
8
|
export type BlurEventName = typeof BLUR;
|
|
9
|
+
export declare const CLEAR: "clear";
|
|
10
|
+
export type ClearEventName = typeof CLEAR;
|
|
9
11
|
export declare const CHANGE: "change";
|
|
10
12
|
export type ChangeEventName = typeof CHANGE;
|
|
11
13
|
export declare const FIELD_BLUR: "field-blur";
|
|
@@ -84,7 +86,31 @@ export declare const SAVE: "save";
|
|
|
84
86
|
export type SaveEventName = typeof SAVE;
|
|
85
87
|
export declare const OPEN: "open";
|
|
86
88
|
export type OpenEventName = typeof OPEN;
|
|
87
|
-
export declare const
|
|
88
|
-
export type
|
|
89
|
+
export declare const CONNECT: "connect";
|
|
90
|
+
export type ConnectEventName = typeof CONNECT;
|
|
91
|
+
export declare const RECONNECT: "reconnect";
|
|
92
|
+
export type ReconnectEventName = typeof RECONNECT;
|
|
93
|
+
export declare const GET_STARTED: "get-started";
|
|
94
|
+
export type GetStartedEventName = typeof GET_STARTED;
|
|
95
|
+
export declare const BULK_SAVE: "bulk-save";
|
|
96
|
+
export type BulkSaveEventName = typeof BULK_SAVE;
|
|
97
|
+
export declare const LINKEDIN_ACCOUNTS: "linkedin-accounts";
|
|
98
|
+
export type LinkedinAccountsEventName = typeof LINKEDIN_ACCOUNTS;
|
|
99
|
+
export declare const LANGUAGE: "language";
|
|
100
|
+
export type LanguageEventName = typeof LANGUAGE;
|
|
101
|
+
export declare const HELP: "help";
|
|
102
|
+
export type HelpEventName = typeof HELP;
|
|
103
|
+
export declare const WHATS_NEW: "whats-new";
|
|
104
|
+
export type WhatsNewEventName = typeof WHATS_NEW;
|
|
105
|
+
export declare const LOGOUT: "logout";
|
|
106
|
+
export type LogoutEventName = typeof LOGOUT;
|
|
89
107
|
export declare const UPDATE_SELECTED: "update:selected";
|
|
90
108
|
export type UpdateSelectedEventName = typeof UPDATE_SELECTED;
|
|
109
|
+
export declare const FAVORITE: "favorite";
|
|
110
|
+
export type FavoriteEventName = typeof FAVORITE;
|
|
111
|
+
export declare const COPY_LINK: "copy-link";
|
|
112
|
+
export type CopyLinkEventName = typeof COPY_LINK;
|
|
113
|
+
export declare const UPDATE_PINNED: "update:pinned";
|
|
114
|
+
export type UpdatePinnedEventName = typeof UPDATE_PINNED;
|
|
115
|
+
export declare const PEEK_CHANGE: "peek-change";
|
|
116
|
+
export type PeekChangeEventName = typeof PEEK_CHANGE;
|